changeset 5423:a317f6d7d38b

Replace opterr.
author Simon Josefsson <simon@josefsson.org>
date Thu, 11 Nov 2004 15:32:19 +0000
parents b0a448a68499
children 70defb094eb7
files m4/ChangeLog m4/getopt.m4
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -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.
--- a/m4/getopt.m4
+++ b/m4/getopt.m4
@@ -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 @@
     [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],