From 2de529274cd527a2bd61844cb3e52148693ce8bb Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Mon, 5 Dec 2016 20:19:40 +0100 Subject: [PATCH] Fix autoreconf error on Mac OS autoreconf: running: /usr/local/Cellar/autoconf/2.69/bin/autoconf --force configure.ac:39: error: possibly undefined macro: AC_DISABLE_STATIC If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: /usr/local/Cellar/autoconf/2.69/bin/autoconf failed with exit status: 1 --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 3ef5f824..d1c28b56 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ dnl we don't really need the 'u' even in older toolchains. Then there is dnl older libtool, which spelled it AR_FLAGS m4_divert_text([DEFAULTS], [: "${ARFLAGS=cr} ${AR_FLAGS=cr}"]) -LT_INIT([dlopen]) +LT_INIT([dlopen disable-static]) AM_INIT_AUTOMAKE([subdir-objects tar-pax dist-bzip2 no-dist-gzip foreign]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) @@ -36,7 +36,6 @@ AC_PROG_MAKE_SET AM_PROG_CC_C_O AM_CONDITIONAL(COMPILER_IS_GCC, test "x$GCC" = "xyes") -AC_DISABLE_STATIC AC_PROG_LEX AC_PROG_YACC -- 2.11.0