configure: fix libtool warning
authorYang Tse <yangsita@gmail.com>
Sun, 27 Mar 2011 02:36:14 +0000 (04:36 +0200)
committerYang Tse <yangsita@gmail.com>
Sun, 27 Mar 2011 02:36:14 +0000 (04:36 +0200)
configure.ac
m4/curl-override.m4

index dc861b8..343ac0d 100644 (file)
@@ -35,6 +35,7 @@ terms of the curl license; see COPYING for more details])
 
 AC_CONFIG_SRCDIR([lib/urldata.h])
 AM_CONFIG_HEADER(lib/curl_config.h src/curl_config.h include/curl/curlbuild.h)
+AC_CONFIG_MACRO_DIR([m4])
 AM_MAINTAINER_MODE
 
 CURL_CHECK_OPTION_DEBUG
index 326c59c..5a14190 100644 (file)
@@ -2,7 +2,7 @@
 #***************************************************************************
 
 # File version for 'aclocal' use. Keep it a single number.
-# serial 3
+# serial 4
 
 dnl CURL_OVERRIDE_AUTOCONF
 dnl -------------------------------------------------
@@ -99,3 +99,12 @@ m4_defun([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR],
 [CURL_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],[:])
+