cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] Changes to ccvs/m4/getcwd.m4


From: Derek Robert Price
Subject: [Cvs-cvs] Changes to ccvs/m4/getcwd.m4
Date: Mon, 03 Oct 2005 22:33:38 -0400

Index: ccvs/m4/getcwd.m4
diff -u ccvs/m4/getcwd.m4:1.4 ccvs/m4/getcwd.m4:1.5
--- ccvs/m4/getcwd.m4:1.4       Fri Aug 12 20:57:46 2005
+++ ccvs/m4/getcwd.m4   Tue Oct  4 02:33:12 2005
@@ -11,15 +11,12 @@
   [
    AC_LIBSOURCES([getcwd.c, getcwd.h])
 
-   AC_CHECK_HEADERS_ONCE(unistd.h)
    AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result],
      [gl_cv_func_getcwd_null],
      [AC_TRY_RUN(
         [
 #       include <stdlib.h>
-#       ifdef HAVE_UNISTD_H
-#        include <unistd.h>
-#       endif
+#       include <unistd.h>
 #       ifndef getcwd
         char *getcwd ();
 #       endif




reply via email to

[Prev in Thread] Current Thread [Next in Thread]