Commit 2882db5e authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Remove all remnants of the purify support, since it was broken when we

switched to automake.  Added valgrind support.
parent 4f562229
dnl $Id: configure.in,v 1.82 2002/06/13 22:47:53 ceder Exp $
dnl $Id: configure.in,v 1.83 2002/08/02 12:05:24 ceder Exp $
dnl Configuration for LysKOM
dnl Copyright (C) 1993-2002 Lysator Academic Computer Association.
dnl
......@@ -18,7 +18,7 @@ dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
dnl
dnl Please mail bug reports to bug-lyskom@lysator.liu.se.
dnl
AC_REVISION($Revision: 1.82 $)
AC_REVISION($Revision: 1.83 $)
AC_PREREQ(2.53)
AC_INIT([lyskom-server], [2.0.6])
AC_CONFIG_SRCDIR([src/server/lyskomd.h])
......@@ -47,10 +47,11 @@ AC_ARG_WITH([checker],
[use_checker=$withval],
[use_checker=no])
AC_ARG_WITH([purify],
AC_HELP_STRING([--with-purify], [link with Purify]),
[use_purify=$withval],
[use_purify=no])
AC_ARG_WITH([valgrind],
AC_HELP_STRING([--with-valgrind[=PATH]],
[use valgrind when running tests]),
[use_valgrind=$withval],
[use_valgrind=no])
AC_ARG_WITH([gcov],
AC_HELP_STRING([--with-gcov], [instrument for gcov (requires gcc)]),
......@@ -81,6 +82,20 @@ AC_SUBST(LANGUAGE_SUFFIX)
*) AC_MSG_ERROR(bad value $language for --with-language)[;;
esac]
AC_SUBST(VALGRIND)
[if test "$use_valgrind" = "yes"
then
VALGRIND=valgrind
elif test "$use_valgrind" = "no"
then
VALGRIND=
else
case "$use_valgrind" in
/*) VALGRIND="$use_valgrind";;
*) ] AC_MSG_ERROR([invalid --with-valgrind argument $use_valgrind]) [ ;;
esac
fi]
AC_PREFIX_DEFAULT(/usr/lyskom)
AC_PROG_CC
AC_AIX
......@@ -114,11 +129,6 @@ AM_C_PROTOTYPES
dnl
CMOD_CHECK_CC_OPT([-pipe], [pipe]) [
fi]
AC_SUBST(PURIFY)
[if test "$use_purify" = "yes"
then
PURIFY=purify
fi]
AC_SUBST(EFENCE)
[if test "$use_efence" = "yes"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment