]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Minor AC_FUNC_SELECT_ARGTYPES speedups
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 6 Aug 2024 06:05:53 +0000 (23:05 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 7 Aug 2024 00:59:36 +0000 (17:59 -0700)
* lib/autoconf/functions.m4 (AC_FUNC_SELECT_ARGTYPES):
Don’t use ‘sed 's/\*/\*/g'’, which is a no-op.
Don’t use ‘echo’ either.

lib/autoconf/functions.m4

index ad11576d66838d190305c1c8fdcfd7f32fe5f663..38f1cdffa62b1abc706787c4335cb3db6a1ce1ac 100644 (file)
@@ -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],