gsasl-commit
[Top][All Lists]
Advanced

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

CVS gsasl/gl/m4


From: gsasl-commit
Subject: CVS gsasl/gl/m4
Date: Sun, 28 Nov 2004 07:04:25 +0100

Update of /home/cvs/gsasl/gl/m4
In directory dopio:/tmp/cvs-serv2007/gl/m4

Modified Files:
        getopt.m4 
Log Message:
Update.

--- /home/cvs/gsasl/gl/m4/getopt.m4     2004/11/19 02:21:33     1.10
+++ /home/cvs/gsasl/gl/m4/getopt.m4     2004/11/28 06:04:25     1.11
@@ -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]