From: Paul Eggert Date: Tue, 6 Aug 2024 06:05:53 +0000 (-0700) Subject: Minor AC_FUNC_SELECT_ARGTYPES speedups X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2160962cf72db8e9f27d8cf42e4145efb2148337;p=thirdparty%2Fautoconf.git Minor AC_FUNC_SELECT_ARGTYPES speedups * lib/autoconf/functions.m4 (AC_FUNC_SELECT_ARGTYPES): Don’t use ‘sed 's/\*/\*/g'’, which is a no-op. Don’t use ‘echo’ either. --- diff --git a/lib/autoconf/functions.m4 b/lib/autoconf/functions.m4 index ad11576d6..38f1cdffa 100644 --- a/lib/autoconf/functions.m4 +++ b/lib/autoconf/functions.m4 @@ -1547,7 +1547,7 @@ for ac_arg234 in 'fd_set *' 'int *' 'void *'; do done ]) ac_save_IFS=$IFS; IFS=',' -set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'` +set x $ac_cv_func_select_args IFS=$ac_save_IFS shift AC_DEFINE_UNQUOTED(SELECT_TYPE_ARG1, $[1],