configure: fix libtool warning

This commit is contained in:
Yang Tse 2011-03-27 04:36:14 +02:00
parent 2531cd94a5
commit 4913a08cb6
2 changed files with 11 additions and 1 deletions

View File

@ -35,6 +35,7 @@ terms of the curl license; see COPYING for more details])
AC_CONFIG_SRCDIR([lib/urldata.h]) AC_CONFIG_SRCDIR([lib/urldata.h])
AM_CONFIG_HEADER(lib/curl_config.h src/curl_config.h include/curl/curlbuild.h) AM_CONFIG_HEADER(lib/curl_config.h src/curl_config.h include/curl/curlbuild.h)
AC_CONFIG_MACRO_DIR([m4])
AM_MAINTAINER_MODE AM_MAINTAINER_MODE
CURL_CHECK_OPTION_DEBUG CURL_CHECK_OPTION_DEBUG

View File

@ -2,7 +2,7 @@
#*************************************************************************** #***************************************************************************
# File version for 'aclocal' use. Keep it a single number. # File version for 'aclocal' use. Keep it a single number.
# serial 3 # serial 4
dnl CURL_OVERRIDE_AUTOCONF dnl CURL_OVERRIDE_AUTOCONF
dnl ------------------------------------------------- dnl -------------------------------------------------
@ -99,3 +99,12 @@ m4_defun([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR],
[CURL_CHECK_PATH_SEPARATOR [CURL_CHECK_PATH_SEPARATOR
m4_define([$0],[])]) 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],[:])