1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 13:00:26 +02:00

* configure.in: Allow tabs and whitespace between `void' and

`usleep'.  (Thanks to Harvey J. Stein.)
* configure: Regenerated.
This commit is contained in:
Jim Blandy 1998-10-14 08:22:00 +00:00
parent 731a0a688a
commit c43f86c124
2 changed files with 2 additions and 2 deletions

2
configure vendored
View file

@ -3199,7 +3199,7 @@ else
#include </usr/include/unistd.h> #include </usr/include/unistd.h>
EOF EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 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* rm -rf conftest*
guile_cv_func_usleep_return_type=void guile_cv_func_usleep_return_type=void
else else

View file

@ -136,7 +136,7 @@ GUILE_FUNC_DECLARED(usleep, unistd.h)
### On some systems usleep has no return value. If it does have one, ### On some systems usleep has no return value. If it does have one,
### we'd like to return it; otherwise, we'll fake it. ### 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_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, /usr/include/unistd.h,
[guile_cv_func_usleep_return_type=void], [guile_cv_func_usleep_return_type=void],
[guile_cv_func_usleep_return_type=int])]) [guile_cv_func_usleep_return_type=int])])