X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fgetopt;h=fa01d90d1d1a85d7b557c5aa6591d947db6b6cd0;hb=d86a29da8c531f7419d39a98e36100a94aca6fd0;hp=22d71db6d4a3ba4b88bf83ffc6d4f27ee03e2f92;hpb=740e9a30efda7c5323b31860c249b2d9f778209c;p=gnulib.git diff --git a/modules/getopt b/modules/getopt index 22d71db6d..fa01d90d1 100644 --- a/modules/getopt +++ b/modules/getopt @@ -1,20 +1,37 @@ Description: +Process command line arguments. Files: -lib/getopt.h +lib/getopt_.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 +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_.h + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/getopt_.h; \ + } > $@-t + mv -f $@-t $@ +MOSTLYCLEANFILES += getopt.h getopt.h-t Include: -"getopt.h" + + +License: +LGPL +Maintainer: +all, glibc