From 4913a08cb6cfe653b1b2ee6c6dacb9408e9be4f0 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sun, 27 Mar 2011 04:36:14 +0200 Subject: [PATCH] configure: fix libtool warning --- configure.ac | 1 + m4/curl-override.m4 | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) 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],[:]) +