X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/7e3510e6dd3baa34fcb985173befdafbbf3569a5..43ca804096bad13b12d0933d14499c142f451af9:/configure.ac?ds=inline diff --git a/configure.ac b/configure.ac index 6a75d7b4..b9d2ea69 100644 --- a/configure.ac +++ b/configure.ac @@ -163,6 +163,16 @@ AC_CONFIG_TESTDIR(tests) AC_CONFIG_FILES([tests/Makefile 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])