1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 19:50:24 +02:00

Do not use an absolute path for <unistd.h> when checking for return

type of usleep.  Thanks to Michael Carmack.
This commit is contained in:
Marius Vollmer 2001-10-14 20:08:08 +00:00
parent 89759084ab
commit 4874dfc849

View file

@ -272,7 +272,7 @@ GUILE_FUNC_DECLARED(usleep, unistd.h)
### 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([, ]),
/usr/include/unistd.h,
unistd.h,
[guile_cv_func_usleep_return_type=void],
[guile_cv_func_usleep_return_type=int])])
case "$guile_cv_func_usleep_return_type" in