diff options
author | Yang Tse <yangsita@gmail.com> | 2011-03-25 13:13:55 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-03-25 13:13:55 +0100 |
commit | e49ce8f97330789dc74d7e32d5d7b8828a7d557f (patch) | |
tree | 1eb353b09e51e93bb14b5e3e0ac12d8569d0ec4d /m4 | |
parent | 2c2e2d839e61e44dd6ddbff45a5ba49329c0602a (diff) | |
download | c-ares-e49ce8f97330789dc74d7e32d5d7b8828a7d557f.tar.gz c-ares-e49ce8f97330789dc74d7e32d5d7b8828a7d557f.tar.bz2 c-ares-e49ce8f97330789dc74d7e32d5d7b8828a7d557f.zip |
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.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/cares-override.m4 | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/m4/cares-override.m4 b/m4/cares-override.m4 index b29c960..101ca61 100644 --- a/m4/cares-override.m4 +++ b/m4/cares-override.m4 @@ -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],[:]) + |