diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2017-04-06 15:41:05 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-04-06 15:42:05 -0700 |
commit | 28ac412baf1c48b73ebc6057879626b0b1aa2a59 (patch) | |
tree | da43d23de2fb0f5da148e9054b34b7ad91bab458 /m4/getopt.m4 | |
parent | bd98e2e72d2c8edeb16192d182daea915d35da3a (diff) | |
download | gnulib-28ac412baf1c48b73ebc6057879626b0b1aa2a59.tar.gz |
getopt-gnu: omit some duplicate code
* m4/getopt.m4 (gl_FUNC_GETOPT_GNU): Don’t require
gl_FUNC_GETOPT_POSIX, as the configure.ac code generated by
gnulib-tool already does this.
* modules/getopt-gnu (configure.ac): Omit code duplicated from
getopt-posix, which we depend on.
Diffstat (limited to 'm4/getopt.m4')
-rw-r--r-- | m4/getopt.m4 | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/m4/getopt.m4 b/m4/getopt.m4 index 139a814c6b..d90076922b 100644 --- a/m4/getopt.m4 +++ b/m4/getopt.m4 @@ -1,4 +1,4 @@ -# getopt.m4 serial 44 +# getopt.m4 serial 45 dnl Copyright (C) 2002-2006, 2008-2017 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -33,8 +33,6 @@ AC_DEFUN([gl_FUNC_GETOPT_POSIX], AC_DEFUN([gl_FUNC_GETOPT_GNU], [ m4_divert_text([INIT_PREPARE], [gl_getopt_required=GNU]) - - AC_REQUIRE([gl_FUNC_GETOPT_POSIX]) ]) # Determine whether to replace the entire getopt facility. |