X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/aed41cf9a0dde045bf93c9241dfdd62d75fe3d18..ee52f6ec6ba94a9e8bdb99f5c456bd8b6bce37ba:/configure.ac diff --git a/configure.ac b/configure.ac index 0facd4ab..328d9294 100644 --- a/configure.ac +++ b/configure.ac @@ -170,6 +170,16 @@ AC_CONFIG_TESTDIR(tests) AC_CONFIG_FILES([tests/atlocal]) AC_CONFIG_FILES([tests/bison], [chmod +x tests/bison]) AC_CHECK_PROGS([VALGRIND], [valgrind]) +case $VALGRIND:$host_os in + '':*) ;; + *:darwin*) + # See README-hacking. + # VALGRIND+=' --suppressions=$(abs_top_srcdir)/build-aux/darwin11.4.0.valgrind' + VALGRIND=;; + *:*) + AC_SUBST([VALGRIND_PREBISON], ["$VALGRIND -q"]);; +esac + AM_MISSING_PROG([AUTOM4TE], [autom4te]) # Needed by tests/atlocal.in. AC_SUBST([GCC])