aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2013-01-23 16:06:35 +0100
committerYang Tse <yangsita@gmail.com>2013-01-23 16:08:31 +0100
commitc527759701d3583b2c2117b50a92ec067f180adc (patch)
treeaf4e6cc5e6f23db1d6928f0ad1566c3ebcd9a1dd
parent5c28a64e5714918b9067b6146671ec85de4c414f (diff)
zz60-xc-ovr.m4: tighten XC_OVR_ZZ60 macro placement requirements
-rw-r--r--m4/zz60-xc-ovr.m415
1 files changed, 12 insertions, 3 deletions
diff --git a/m4/zz60-xc-ovr.m4 b/m4/zz60-xc-ovr.m4
index 2122f5a31..959f11883 100644
--- a/m4/zz60-xc-ovr.m4
+++ b/m4/zz60-xc-ovr.m4
@@ -38,7 +38,9 @@ dnl this macro is used in configure.ac, with autoconf
dnl 2.57 or older.
m4_ifdef([AC_CONFIG_MACRO_DIR],
- [m4_undefine([AC_CONFIG_MACRO_DIR])])
+[dnl
+m4_undefine([AC_CONFIG_MACRO_DIR])dnl
+])
m4_define([AC_CONFIG_MACRO_DIR],[])
@@ -50,6 +52,13 @@ dnl used for same configure script, overriding those
dnl provided elsewhere.
AC_DEFUN([XC_OVR_ZZ60],
- [AC_BEFORE([$0],[AC_PROG_LIBTOOL])
- AC_BEFORE([$0],[AM_INIT_AUTOMAKE])])
+[dnl
+AC_BEFORE([$0],[LT_INIT])dnl
+AC_BEFORE([$0],[AM_INIT_AUTOMAKE])dnl
+AC_BEFORE([$0],[AC_LIBTOOL_WIN32_DLL])dnl
+AC_BEFORE([$0],[AC_PROG_LIBTOOL])dnl
+dnl
+AC_BEFORE([$0],[AC_CONFIG_MACRO_DIR])dnl
+AC_BEFORE([$0],[AC_CONFIG_MACRO_DIRS])dnl
+])