diff options
author | Yang Tse <yangsita@gmail.com> | 2008-11-18 19:29:31 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-11-18 19:29:31 +0000 |
commit | 4e4b6de5ce284c006782fd065390f4252cb58532 (patch) | |
tree | ab1c5d8c7759ef4274ab6300615dc55173e878b1 /m4/curl-override.m4 | |
parent | 9aac2328c6544ac794571759621cf262cd5d8a29 (diff) | |
download | curl-4e4b6de5ce284c006782fd065390f4252cb58532.tar.gz |
provide a common PATH_SEPARATOR check method which is required by
upcomming work to support the broadest range of Autoconf versions
Diffstat (limited to 'm4/curl-override.m4')
-rw-r--r-- | m4/curl-override.m4 | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/m4/curl-override.m4 b/m4/curl-override.m4 index 6770088dd..4092d9ab5 100644 --- a/m4/curl-override.m4 +++ b/m4/curl-override.m4 @@ -3,7 +3,7 @@ #*************************************************************************** # File version for 'aclocal' use. Keep it a single number. -# serial 1 +# serial 2 dnl CURL_OVERRIDE_AUTOCONF dnl ------------------------------------------------- @@ -39,7 +39,8 @@ m4_define([AC_LANG_PROGRAM(C)], int main (void) { $2 -; return 0; + ; + return 0; }]) dnl Override Autoconf's AC_LANG_CALL (C) @@ -84,4 +85,19 @@ choke me #endif ], [return $1 ();])]) +dnl Override Autoconf's PATH_SEPARATOR check +dnl ------------------------------------------------- +dnl This is done to ensure that the same check is +dnl used across different Autoconf versions and to +dnl allow us to use this macro early enough in the +dnl configure script. + +m4_define([_AS_PATH_SEPARATOR_PREPARE], +[CURL_CHECK_PATH_SEPARATOR +m4_define([$0],[])]) + +m4_define([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR], +[CURL_CHECK_PATH_SEPARATOR +m4_define([$0],[])]) + |