| 1 | *** libraries/unix/configure.ac.orig Sat Nov 21 10:19:03 2009 |
|---|
| 2 | --- libraries/unix/configure.ac Thu Dec 3 22:00:29 2009 |
|---|
| 3 | *************** |
|---|
| 4 | *** 66,78 **** |
|---|
| 5 | |
|---|
| 6 | dnl ---------- usleep ---------- |
|---|
| 7 | dnl --- stolen from guile configure --- |
|---|
| 8 | - dnl --- FIXME: /usr/include/unistd.h can't be right? |
|---|
| 9 | |
|---|
| 10 | ### On some systems usleep has no return value. If it does have one, |
|---|
| 11 | ### we'd like to return it; otherwise, we'll fake it. |
|---|
| 12 | AC_CACHE_CHECK([return type of usleep], fptools_cv_func_usleep_return_type, |
|---|
| 13 | [AC_EGREP_HEADER(changequote(<, >)<void[ ]+usleep>changequote([, ]), |
|---|
| 14 | ! /usr/include/unistd.h, |
|---|
| 15 | [fptools_cv_func_usleep_return_type=void], |
|---|
| 16 | [fptools_cv_func_usleep_return_type=int])]) |
|---|
| 17 | case "$fptools_cv_func_usleep_return_type" in |
|---|
| 18 | --- 66,77 ---- |
|---|
| 19 | |
|---|
| 20 | dnl ---------- usleep ---------- |
|---|
| 21 | dnl --- stolen from guile configure --- |
|---|
| 22 | |
|---|
| 23 | ### On some systems usleep has no return value. If it does have one, |
|---|
| 24 | ### we'd like to return it; otherwise, we'll fake it. |
|---|
| 25 | AC_CACHE_CHECK([return type of usleep], fptools_cv_func_usleep_return_type, |
|---|
| 26 | [AC_EGREP_HEADER(changequote(<, >)<void[ ]+usleep>changequote([, ]), |
|---|
| 27 | ! unistd.h, |
|---|
| 28 | [fptools_cv_func_usleep_return_type=void], |
|---|
| 29 | [fptools_cv_func_usleep_return_type=int])]) |
|---|
| 30 | case "$fptools_cv_func_usleep_return_type" in |
|---|
| 31 | *************** |
|---|
| 32 | *** 85,91 **** |
|---|
| 33 | ### in common use return void. |
|---|
| 34 | AC_CACHE_CHECK([return type of unsetenv], fptools_cv_func_unsetenv_return_type, |
|---|
| 35 | [AC_EGREP_HEADER(changequote(<, >)<void[ ]+unsetenv>changequote([, ]), |
|---|
| 36 | ! /usr/include/stdlib.h, |
|---|
| 37 | [fptools_cv_func_unsetenv_return_type=void], |
|---|
| 38 | [fptools_cv_func_unsetenv_return_type=int])]) |
|---|
| 39 | case "$fptools_cv_func_unsetenv_return_type" in |
|---|
| 40 | --- 84,90 ---- |
|---|
| 41 | ### in common use return void. |
|---|
| 42 | AC_CACHE_CHECK([return type of unsetenv], fptools_cv_func_unsetenv_return_type, |
|---|
| 43 | [AC_EGREP_HEADER(changequote(<, >)<void[ ]+unsetenv>changequote([, ]), |
|---|
| 44 | ! stdlib.h, |
|---|
| 45 | [fptools_cv_func_unsetenv_return_type=void], |
|---|
| 46 | [fptools_cv_func_unsetenv_return_type=int])]) |
|---|
| 47 | case "$fptools_cv_func_unsetenv_return_type" in |
|---|