1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-12-09 12:30:07 +00:00

configure: fix libtool warning

Recent versions of libtool are now tracing usage of AC_CONFIG_MACRO_DIR
macro and warn heavily when not used in configure script along with
ACLOCAL_AMFLAGS in Makefile.am.  So in order to make libtool happy
while keeping backwards compatibility this is added.
This commit is contained in:
Yang Tse
2011-03-25 13:13:55 +01:00
parent 2c2e2d839e
commit e49ce8f973
2 changed files with 11 additions and 1 deletions

View File

@ -3,7 +3,7 @@
#***************************************************************************
# File version for 'aclocal' use. Keep it a single number.
# serial 3
# serial 4
dnl CARES_OVERRIDE_AUTOCONF
dnl -------------------------------------------------
@ -100,3 +100,12 @@ m4_defun([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR],
[CARES_CHECK_PATH_SEPARATOR
m4_define([$0],[])])
dnl Override Autoconf's AC_CONFIG_MACRO_DIR (DIR)
dnl -------------------------------------------------
dnl This is an emulation of Autoconf's 2.61 macro.
dnl This is done to use fixed macro across Autoconf
dnl versions, and avoid warnings from modern libtool
dnl which traces usage of this macro.
AC_DEFUN([AC_CONFIG_MACRO_DIR],[:])