From: Ruben Kerkhof Date: Mon, 5 Dec 2016 19:19:40 +0000 (+0100) Subject: Fix autoreconf error on Mac OS X-Git-Tag: collectd-5.8.0~289 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2de529274cd527a2bd61844cb3e52148693ce8bb;p=collectd.git 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 --- 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