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 <eblake@redhat.com>
This commit is contained in:
Eric Blake 2010-08-26 11:54:11 -06:00
parent b292f282e2
commit 092a8b3848
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,10 @@
2010-08-26 Eric Blake <eblake@redhat.com>
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.

View File

@ -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'`