aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure.ac
diff options
context:
space:
mode:
authorGravatar Simon Marlow <marlowsd@gmail.com>2009-12-21 11:06:34 +0000
committerGravatar Simon Marlow <marlowsd@gmail.com>2009-12-21 11:06:34 +0000
commit271a35ed571bd13ccd55ff2318f5be02a67a4cd6 (patch)
tree2801b998a4a73daa924e529d88c3c0ece54a89ad /configure.ac
parentb0a5151c26e038e60a5d7c96f8eb86d7c80d2917 (diff)
Don't use absolute paths to headers (#3728)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index f2e1c39..bb171d2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,13 +66,12 @@ AC_DEFINE([HAVE_SC_GETPW_R_SIZE_MAX], [1], [Define to 1 if <unistd.h> defines _S
dnl ---------- usleep ----------
dnl --- stolen from guile configure ---
-dnl --- FIXME: /usr/include/unistd.h can't be right?
### 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], fptools_cv_func_usleep_return_type,
[AC_EGREP_HEADER(changequote(<, >)<void[ ]+usleep>changequote([, ]),
- /usr/include/unistd.h,
+ unistd.h,
[fptools_cv_func_usleep_return_type=void],
[fptools_cv_func_usleep_return_type=int])])
case "$fptools_cv_func_usleep_return_type" in
@@ -85,7 +84,7 @@ esac
### in common use return void.
AC_CACHE_CHECK([return type of unsetenv], fptools_cv_func_unsetenv_return_type,
[AC_EGREP_HEADER(changequote(<, >)<void[ ]+unsetenv>changequote([, ]),
- /usr/include/stdlib.h,
+ stdlib.h,
[fptools_cv_func_unsetenv_return_type=void],
[fptools_cv_func_unsetenv_return_type=int])])
case "$fptools_cv_func_unsetenv_return_type" in