Replace opterr.
authorSimon Josefsson <simon@josefsson.org>
Thu, 11 Nov 2004 15:32:19 +0000 (15:32 +0000)
committerSimon Josefsson <simon@josefsson.org>
Thu, 11 Nov 2004 15:32:19 +0000 (15:32 +0000)
m4/ChangeLog
m4/getopt.m4

index 84cc6c0..6ba2b9d 100644 (file)
@@ -1,3 +1,7 @@
+2004-11-11  Simon Josefsson  <jas@extundo.com>
+
+       * getopt.m4: Replace opterr.
+
 2004-11-10  Paul Eggert  <eggert@cs.ucla.edu>
 
        * prereq.m4 (gl_PREREQ): Require gt_FUNC_SETENV.
index c3cf647..d796148 100644 (file)
@@ -1,4 +1,4 @@
-# getopt.m4 serial 4
+# getopt.m4 serial 5
 dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
 dnl This file is free software, distributed under the terms of the GNU
 dnl General Public License.  As a special exception to the GNU General
@@ -19,6 +19,8 @@ AC_DEFUN([gl_GETOPT_SUBSTITUTE],
     [Define to rpl_optarg if the replacement variable should be used.])
   AC_DEFINE([optind], [rpl_optind],
     [Define to rpl_optind if the replacement variable should be used.])
+  AC_DEFINE([opterr], [rpl_opterr],
+    [Define to rpl_opterr if the replacement variable should be used.])
   AC_DEFINE([optopt], [rpl_optopt],
     [Define to rpl_optopt if the replacement variable should be used.])
   AC_DEFINE([getopt], [rpl_getopt],