diff options
Diffstat (limited to 'lib/make/configure.in')
-rw-r--r-- | lib/make/configure.in | 23 |
1 files changed, 4 insertions, 19 deletions
diff --git a/lib/make/configure.in b/lib/make/configure.in index 3d7f41f4..050ffabb 100644 --- a/lib/make/configure.in +++ b/lib/make/configure.in @@ -194,25 +194,9 @@ AC_CHECK_SIZEOF(float) # Check for sizes of pointers. AC_CHECK_SIZEOF(char *) -# This may look bizarre, but the cygwin environment -# emulates /dev/null -AC_MSG_CHECKING(the NULL device) - -if test -d /dev ; then - NULL_DEVICE="/dev/null" -else - cat > NUL <<EOF -test -EOF - - if `cat NUL > /dev/null 2>/dev/null` ; then - NULL_DEVICE="NUL" - else - echo "Can't find NULL device !" - fi -fi +# See if there's a null device, and what it's called -AC_MSG_RESULT($NULL_DEVICE) +CCTK_FIND_NULLDEVICE # Various flags @@ -232,8 +216,9 @@ AC_CHECK_FUNCS(mkdir gettimeofday getrusage _ftime) dnl Include file stuff +CCTK_CHECK_HEADERS(sys/time.h) +CCTK_CHECK_HEADERS(unistd.h) AC_HEADER_TIME -AC_CHECK_HEADERS(sys/time.h) dnl Misc stuff |