[nagiosplug] Replace Gnulib's "getopt" module with "getopt-gnu"

Nagios Plugin Development nagios-plugins at users.sourceforge.net
Mon Aug 19 23:40:14 CEST 2013


 Module: nagiosplug
 Branch: master
 Commit: a15b062e44ae0da805d5569f25015e28dd8552fd
 Author: Holger Weiss <holger at zedat.fu-berlin.de>
   Date: Mon Aug 19 23:38:06 2013 +0200
    URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=a15b062

Replace Gnulib's "getopt" module with "getopt-gnu"

The "getopt" module is marked as deprecated, these days we're supposed
to choose either "getopt-posix" or "getopt-gnu".

---

 gl/Makefile.am        |    2 +-
 gl/m4/gnulib-cache.m4 |    4 ++--
 gl/m4/gnulib-comp.m4  |    1 -
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/gl/Makefile.am b/gl/Makefile.am
index d3a6450..c2e8e5a 100644
--- a/gl/Makefile.am
+++ b/gl/Makefile.am
@@ -21,7 +21,7 @@
 # the same distribution terms as the rest of that program.
 #
 # Generated by gnulib-tool.
-# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files base64 crypto/sha1 dirname environ floorf fsusage getaddrinfo gethostname getloadavg getopt gettext mountlist regex setenv strsep timegm unsetenv vasprintf vsnprintf
+# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files base64 crypto/sha1 dirname environ floorf fsusage getaddrinfo gethostname getloadavg getopt-gnu gettext mountlist regex setenv strsep timegm unsetenv vasprintf vsnprintf
 
 AUTOMAKE_OPTIONS = 1.9.6 gnits subdir-objects
 
diff --git a/gl/m4/gnulib-cache.m4 b/gl/m4/gnulib-cache.m4
index 0e1e87d..2ed3509 100644
--- a/gl/m4/gnulib-cache.m4
+++ b/gl/m4/gnulib-cache.m4
@@ -27,7 +27,7 @@
 
 
 # Specification in the form of a command-line invocation:
-#   gnulib-tool --import --dir=. --lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files base64 crypto/sha1 dirname environ floorf fsusage getaddrinfo gethostname getloadavg getopt gettext mountlist regex setenv strsep timegm unsetenv vasprintf vsnprintf
+#   gnulib-tool --import --dir=. --lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files base64 crypto/sha1 dirname environ floorf fsusage getaddrinfo gethostname getloadavg getopt-gnu gettext mountlist regex setenv strsep timegm unsetenv vasprintf vsnprintf
 
 # Specification in the form of a few gnulib-tool.m4 macro invocations:
 gl_LOCAL_DIR([])
@@ -41,7 +41,7 @@ gl_MODULES([
   getaddrinfo
   gethostname
   getloadavg
-  getopt
+  getopt-gnu
   gettext
   mountlist
   regex
diff --git a/gl/m4/gnulib-comp.m4 b/gl/m4/gnulib-comp.m4
index c6cc73a..f23f769 100644
--- a/gl/m4/gnulib-comp.m4
+++ b/gl/m4/gnulib-comp.m4
@@ -64,7 +64,6 @@ AC_DEFUN([gl_EARLY],
   # Code from module getaddrinfo:
   # Code from module gethostname:
   # Code from module getloadavg:
-  # Code from module getopt:
   # Code from module getopt-gnu:
   # Code from module getopt-posix:
   # Code from module gettext:





More information about the Commits mailing list