aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac1
-rw-r--r--m4/curl-override.m411
2 files changed, 11 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index dc861b88b..343ac0d83 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
diff --git a/m4/curl-override.m4 b/m4/curl-override.m4
index 326c59cef..5a141903e 100644
--- a/m4/curl-override.m4
+++ b/m4/curl-override.m4
@@ -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],[:])
+