From 5c28a64e5714918b9067b6146671ec85de4c414f Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 23 Jan 2013 13:54:08 +0100 Subject: configure: use XC_CONFIGURE_PREAMBLE early checks Some basic checks we make were placed early enough in generated configure script when using autoconf 2.5X versions. Newer autoconf versions expand these checks much further into the configure script, rendering them useless. Using XC_CONFIGURE_PREAMBLE fixes placement of early intended checks across all our autoconf supported versions. --- m4/curl-override.m4 | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'm4/curl-override.m4') diff --git a/m4/curl-override.m4 b/m4/curl-override.m4 index 263d7de38..a35d3b2f1 100644 --- a/m4/curl-override.m4 +++ b/m4/curl-override.m4 @@ -2,7 +2,7 @@ #*************************************************************************** # File version for 'aclocal' use. Keep it a single number. -# serial 6 +# serial 7 dnl CURL_OVERRIDE_AUTOCONF dnl ------------------------------------------------- @@ -74,18 +74,3 @@ 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_defun([_AS_PATH_SEPARATOR_PREPARE], -[CURL_CHECK_PATH_SEPARATOR -m4_define([$0],[])]) - -m4_defun([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR], -[CURL_CHECK_PATH_SEPARATOR -m4_define([$0],[])]) - -- cgit v1.2.3