68e2f2a3ed
- Run autoreconf before configure - git rm obsolete patches
50 lines
1.8 KiB
Diff
50 lines
1.8 KiB
Diff
From 70ac469a0c138eff5c0678fcb753d56710f589ec Mon Sep 17 00:00:00 2001
|
|
From: Yang Tse <yangsita@gmail.com>
|
|
Date: Tue, 1 Jan 2013 18:21:34 +0100
|
|
Subject: [PATCH] cares-override.m4: provide AC_CONFIG_MACRO_DIR definition
|
|
conditionally
|
|
|
|
Provide a 'traceable' AC_CONFIG_MACRO_DIR definition only when using
|
|
an autoconf version that does not provide it, instead of what we were
|
|
doing up to now of providing and overriding AC_CONFIG_MACRO_DIR for
|
|
all autoconf versions.
|
|
---
|
|
m4/cares-override.m4 | 14 +++++++-------
|
|
1 file changed, 7 insertions(+), 7 deletions(-)
|
|
|
|
diff --git a/m4/cares-override.m4 b/m4/cares-override.m4
|
|
index afd7aeedf3db9da6fda6da1a95e2cc019c0184e6..72f486e8e0e3f0b1feb3ae6a1aa8929026d2056d 100644
|
|
--- a/m4/cares-override.m4
|
|
+++ b/m4/cares-override.m4
|
|
@@ -2,7 +2,7 @@
|
|
#***************************************************************************
|
|
|
|
# File version for 'aclocal' use. Keep it a single number.
|
|
-# serial 5
|
|
+# serial 6
|
|
|
|
dnl CARES_OVERRIDE_AUTOCONF
|
|
dnl -------------------------------------------------
|
|
@@ -89,12 +89,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 Provide 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.
|
|
+dnl Allow usage of mentioned macro in configure.ac
|
|
+dnl even with ancient Autoconf versions, such as 2.57,
|
|
+dnl that do not provide a definition for this macro.
|
|
|
|
-AC_DEFUN([AC_CONFIG_MACRO_DIR],[:])
|
|
+m4_ifndef([AC_CONFIG_MACRO_DIR],
|
|
+[AC_DEFUN([AC_CONFIG_MACRO_DIR],[:])])
|
|
|
|
--
|
|
1.8.1.4
|
|
|