cvs-cvs
[Top][All Lists]
Advanced

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

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


From: Derek Robert Price
Subject: [Cvs-cvs] Changes to ccvs/m4/getopt.m4
Date: Sun, 04 Sep 2005 01:58:38 -0400

Index: ccvs/m4/getopt.m4
diff -u ccvs/m4/getopt.m4:1.9 ccvs/m4/getopt.m4:1.10
--- ccvs/m4/getopt.m4:1.9       Fri Aug 12 20:57:46 2005
+++ ccvs/m4/getopt.m4   Sun Sep  4 05:58:36 2005
@@ -1,4 +1,4 @@
-# getopt.m4 serial 10
+# getopt.m4 serial 11
 dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -27,8 +27,10 @@
 
 AC_DEFUN([gl_GETOPT_CHECK_HEADERS],
 [
-  GETOPT_H=
-  AC_CHECK_HEADERS([getopt.h], [], [GETOPT_H=getopt.h])
+  if test -z "$GETOPT_H"; then
+    AC_CHECK_HEADERS([getopt.h], [], [GETOPT_H=getopt.h])
+  fi
+
   if test -z "$GETOPT_H"; then
     AC_CHECK_FUNCS([getopt_long_only], [], [GETOPT_H=getopt.h])
   fi




reply via email to

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