X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fgetopt;h=39751bf331a2f088303549ae6abe6c9067f3b308;hb=e349e3d9c187700b118e0bac80aedd2ea8e764bc;hp=149146c91d6f12f24ed7673b41e4b4080487b4bd;hpb=c6a7fec473ffec1058e6f5c4ca52cae7fff94f72;p=gnulib.git diff --git a/modules/getopt b/modules/getopt index 149146c91..39751bf33 100644 --- a/modules/getopt +++ b/modules/getopt @@ -2,24 +2,36 @@ Description: Process command line arguments. Files: -lib/getopt.h +lib/getopt.in.h lib/getopt.c lib/getopt1.c lib/getopt_int.h m4/getopt.m4 Depends-on: -gettext +gettext-h +unistd configure.ac: gl_GETOPT Makefile.am: -lib_SOURCES += getopt.h getopt.c getopt1.c getopt_int.h +BUILT_SOURCES += $(GETOPT_H) + +# We need the following in order to create when the system +# doesn't have one that works with the given compiler. +getopt.h: getopt.in.h + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/getopt.in.h; \ + } > $@-t + mv -f $@-t $@ +MOSTLYCLEANFILES += getopt.h getopt.h-t Include: -"getopt.h" + + +License: +LGPL Maintainer: all, glibc -