to cope with broken valgrind implementations
+Mon Feb 21 15:04:55 WST 2005 John Darrington <john@darrington.wattle.id.au>
+
+ * configure.ac: Added a --without-valgrind option to cope with
+ building on machines with a broken valgrind installation
+
Fri Jan 7 08:01:02 WST 2005 John Darrington <john@darrington.wattle.id.au>
* configure.ac pref.h.orig: Compilation with libplot is now optional
fi
dnl Checks for header files.
+AC_ARG_WITH(valgrind, [ --without-valgrind don't compile in valgrind])
+if test "x$with_valgrind" != x"no"; then
+ AC_CHECK_HEADERS([valgrind/valgrind.h])
+fi
AC_CHECK_HEADERS([limits.h memory.h sys/stat.h sys/time.h sys/types.h \
- fpu_control.h sys/mman.h sys/wait.h ieeefp.h fenv.h \
- valgrind/valgrind.h])
+ fpu_control.h sys/mman.h sys/wait.h ieeefp.h fenv.h] )
+
AC_HEADER_STAT
AC_HEADER_STDC
AC_HEADER_TIME