From 4e4b6de5ce284c006782fd065390f4252cb58532 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 18 Nov 2008 19:29:31 +0000 Subject: provide a common PATH_SEPARATOR check method which is required by upcomming work to support the broadest range of Autoconf versions --- m4/curl-override.m4 | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'm4/curl-override.m4') 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],[])]) + -- cgit v1.2.1