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:
parent
89759084ab
commit
4874dfc849
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ GUILE_FUNC_DECLARED(usleep, unistd.h)
|
||||||
### 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,
|
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])])
|
||||||
case "$guile_cv_func_usleep_return_type" in
|
case "$guile_cv_func_usleep_return_type" in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue