diff options
Diffstat (limited to 'gnulib/modules/getopt-posix')
m--------- | gnulib | 0 | ||||
-rw-r--r-- | gnulib/modules/getopt-posix | 46 |
2 files changed, 46 insertions, 0 deletions
diff --git a/gnulib b/gnulib deleted file mode 160000 -Subproject 4fc10daa05477586fea99b6b3ca02a87d1102fa diff --git a/gnulib/modules/getopt-posix b/gnulib/modules/getopt-posix new file mode 100644 index 00000000..a3ae9f13 --- /dev/null +++ b/gnulib/modules/getopt-posix @@ -0,0 +1,46 @@ +Description: +getopt() function: process command line arguments. + +Files: +lib/getopt.in.h +lib/getopt.c +lib/getopt1.c +lib/getopt_int.h +m4/getopt.m4 + +Depends-on: +gettext-h +unistd +extensions +include_next +arg-nonnull + +configure.ac: +gl_FUNC_GETOPT_POSIX + +Makefile.am: +BUILT_SOURCES += $(GETOPT_H) + +# We need the following in order to create <getopt.h> when the system +# doesn't have one that works with the given compiler. +getopt.h: getopt.in.h $(ARG_NONNULL_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + < $(srcdir)/getopt.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +MOSTLYCLEANFILES += getopt.h getopt.h-t + +Include: +<unistd.h> + +License: +LGPL + +Maintainer: +all, glibc |