mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 04:10:18 +02:00
* configure.in: Allow tabs and whitespace between `void' and
`usleep'. (Thanks to Harvey J. Stein.) * configure: Regenerated.
This commit is contained in:
parent
731a0a688a
commit
c43f86c124
2 changed files with 2 additions and 2 deletions
2
configure
vendored
2
configure
vendored
|
@ -3199,7 +3199,7 @@ else
|
|||
#include </usr/include/unistd.h>
|
||||
EOF
|
||||
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
||||
egrep "void[ ][ ]*usleep" >/dev/null 2>&1; then
|
||||
egrep "void[ ]+usleep" >/dev/null 2>&1; then
|
||||
rm -rf conftest*
|
||||
guile_cv_func_usleep_return_type=void
|
||||
else
|
||||
|
|
|
@ -136,7 +136,7 @@ GUILE_FUNC_DECLARED(usleep, unistd.h)
|
|||
### On some systems usleep has no return value. If it does have one,
|
||||
### we'd like to return it; otherwise, we'll fake it.
|
||||
AC_CACHE_CHECK([return type of usleep], guile_cv_func_usleep_return_type,
|
||||
[AC_EGREP_HEADER(changequote(<, >)<void[ ][ ]*usleep>changequote([, ]),
|
||||
[AC_EGREP_HEADER(changequote(<, >)<void[ ]+usleep>changequote([, ]),
|
||||
/usr/include/unistd.h,
|
||||
[guile_cv_func_usleep_return_type=void],
|
||||
[guile_cv_func_usleep_return_type=int])])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue