gss-commit
[Top][All Lists]
Advanced

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

CVS gss/gl/m4


From: gss-commit
Subject: CVS gss/gl/m4
Date: Thu, 16 Dec 2004 03:00:49 +0100

Update of /home/cvs/gss/gl/m4
In directory dopio:/tmp/cvs-serv10696/gl/m4

Modified Files:
        getopt.m4 
Log Message:
Update.

--- /home/cvs/gss/gl/m4/getopt.m4       2004/11/19 13:46:50     1.4
+++ /home/cvs/gss/gl/m4/getopt.m4       2004/12/16 02:00:48     1.5
@@ -25,16 +25,18 @@
 [
   gl_PREREQ_GETOPT
 
-  GETOPT_H=
-  AC_CHECK_HEADERS([getopt.h], [], [GETOPT_H=getopt.h])
-  AC_CHECK_FUNCS([getopt_long_only], [], [GETOPT_H=getopt.h])
+  if test -z "$GETOPT_H"; then
+    GETOPT_H=
+    AC_CHECK_HEADERS([getopt.h], [], [GETOPT_H=getopt.h])
+    AC_CHECK_FUNCS([getopt_long_only], [], [GETOPT_H=getopt.h])
 
-  dnl BSD getopt_long uses an incompatible method to reset option processing,
-  dnl and (as of 2004-10-15) mishandles optional option-arguments.
-  AC_CHECK_DECL([optreset], [GETOPT_H=getopt.h], [], [#include <getopt.h>])
+    dnl BSD getopt_long uses an incompatible method to reset option processing,
+    dnl and (as of 2004-10-15) mishandles optional option-arguments.
+    AC_CHECK_DECL([optreset], [GETOPT_H=getopt.h], [], [#include <getopt.h>])
 
-  if test -n "$GETOPT_H"; then
-     gl_GETOPT_SUBSTITUTE
+    if test -n "$GETOPT_H"; then
+      gl_GETOPT_SUBSTITUTE
+    fi
   fi
 ])
 





reply via email to

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