diff options
author | Yang Tse <yangsita@gmail.com> | 2013-01-25 16:34:13 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2013-01-25 19:18:14 +0100 |
commit | 593f2428034a4b4f3125a82d01b341b68d8ecce4 (patch) | |
tree | 1ffa4f8ccb548ae62255e729698fe0505a3a340d | |
parent | a76ea8b79aee7e934761149512d166fa52b53ae7 (diff) |
zz40-xc-ovr.m4: truly do version conditional overriding
- version conditional overriding
- catch unexpanded XC macros
- fix double words in comments
-rw-r--r-- | m4/zz40-xc-ovr.m4 | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/m4/zz40-xc-ovr.m4 b/m4/zz40-xc-ovr.m4 index e4c46415a..567a10fa7 100644 --- a/m4/zz40-xc-ovr.m4 +++ b/m4/zz40-xc-ovr.m4 @@ -249,7 +249,7 @@ dnl the user has already set it with a non-empty value. dnl dnl This path separator is the symbol used to separate dnl or diferentiate paths inside the 'PATH' environment -dnl environment variable. +dnl variable. dnl dnl Non-empty user provided 'PATH_SEPARATOR' always dnl overrides the auto-detected one. @@ -355,7 +355,7 @@ dnl XC_CONFIGURE_PREAMBLE dnl ------------------------------------------------- dnl Public macro. dnl -dnl This macro macro emits shell code which does some +dnl This macro emits shell code which does some dnl very basic checks related with the availability dnl of some commands and utilities needed to allow dnl configure script bootstrapping itself when using @@ -408,32 +408,44 @@ dnl dnl Override when using autoconf 2.53 and newer. dnl +m4_ifdef([_AS_PATH_SEPARATOR_PREPARE], +[dnl +m4_undefine([_AS_PATH_SEPARATOR_PREPARE])dnl m4_defun([_AS_PATH_SEPARATOR_PREPARE], [dnl AC_REQUIRE([XC_CONFIGURE_PREAMBLE])dnl m4_define([$0],[])dnl +])dnl ]) dnl dnl Override when using autoconf 2.50 to 2.52 dnl +m4_ifdef([_AC_INIT_PREPARE_FS_SEPARATORS], +[dnl +m4_undefine([_AC_INIT_PREPARE_FS_SEPARATORS])dnl m4_defun([_AC_INIT_PREPARE_FS_SEPARATORS], [dnl AC_REQUIRE([XC_CONFIGURE_PREAMBLE])dnl ac_path_separator=$PATH_SEPARATOR m4_define([$0],[])dnl +])dnl ]) dnl dnl Override when using libtool 1.4.2 dnl +m4_ifdef([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR], +[dnl +m4_undefine([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl m4_defun([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR], [dnl AC_REQUIRE([XC_CONFIGURE_PREAMBLE])dnl lt_cv_sys_path_separator=$PATH_SEPARATOR m4_define([$0],[])dnl +])dnl ]) @@ -475,6 +487,7 @@ AC_BEFORE([$0],[AC_CONFIG_HEADERS])dnl AC_BEFORE([$0],[AC_CONFIG_MACRO_DIR])dnl AC_BEFORE([$0],[AC_CONFIG_MACRO_DIRS])dnl dnl +m4_pattern_forbid([^_*XC])dnl m4_define([$0],[])dnl ]) |