From: Eric Blake Date: Thu, 26 Aug 2010 17:54:11 +0000 (-0600) Subject: autoconf: fix regression in AC_FUNC_SELECT_ARGTYPES X-Git-Tag: v2.68~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=092a8b384812afab930f1e42c6dc213e0b32bdd2;p=thirdparty%2Fautoconf.git autoconf: fix regression in AC_FUNC_SELECT_ARGTYPES * lib/autoconf/functions.m4 (AC_FUNC_SELECT_ARGTYPES): Fix quoting; regression from yesteray leaked '' into default value. Reported by Ralf Wildenhues. Signed-off-by: Eric Blake --- diff --git a/ChangeLog b/ChangeLog index 8097db5b..6ff1bc38 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2010-08-26 Eric Blake + autoconf: fix regression in AC_FUNC_SELECT_ARGTYPES + * lib/autoconf/functions.m4 (AC_FUNC_SELECT_ARGTYPES): Fix + quoting; regression from yesteray leaked '' into default value. + Reported by Ralf Wildenhues. + docs: mention another issue with variable expansion In particular, see http://austingroupbugs.net/view.php?id=221 and http://austingroupbugs.net/view.php?id=255. diff --git a/lib/autoconf/functions.m4 b/lib/autoconf/functions.m4 index 7e69d461..235def3f 100644 --- a/lib/autoconf/functions.m4 +++ b/lib/autoconf/functions.m4 @@ -1453,7 +1453,7 @@ AC_CACHE_CHECK([types of arguments for select], done done # Provide a safe default value. -: "${ac_cv_func_select_args='int,int *,struct timeval *'}" +: "${ac_cv_func_select_args=int,int *,struct timeval *}" ]) ac_save_IFS=$IFS; IFS=',' set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`