summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.in1
-rw-r--r--config.hin25
-rw-r--r--doc/Makefile.in1
-rw-r--r--lib/Makefile.in56
-rw-r--r--man/Makefile.in1
-rw-r--r--src/Makefile.in1
-rw-r--r--tests/Makefile.in1
-rw-r--r--tests/basename/Makefile.in1
-rw-r--r--tests/chgrp/Makefile.in1
-rw-r--r--tests/chmod/Makefile.in1
-rw-r--r--tests/chown/Makefile.in1
-rw-r--r--tests/cp/Makefile.in1
-rw-r--r--tests/cut/Makefile.in1
-rw-r--r--tests/date/Makefile.in1
-rw-r--r--tests/dd/Makefile.in1
-rw-r--r--tests/dircolors/Makefile.in1
-rw-r--r--tests/du/Makefile.in1
-rw-r--r--tests/expr/Makefile.in1
-rw-r--r--tests/factor/Makefile.in1
-rw-r--r--tests/fmt/Makefile.in1
-rw-r--r--tests/head/Makefile.in1
-rw-r--r--tests/install/Makefile.in1
-rw-r--r--tests/join/Makefile.in1
-rw-r--r--tests/ln/Makefile.in1
-rw-r--r--tests/ls-2/Makefile.in1
-rw-r--r--tests/ls/Makefile.in1
-rw-r--r--tests/md5sum/Makefile.in1
-rw-r--r--tests/misc/Makefile.in1
-rw-r--r--tests/mkdir/Makefile.in1
-rw-r--r--tests/mv/Makefile.in1
-rw-r--r--tests/od/Makefile.in1
-rw-r--r--tests/pr/Makefile.in1
-rw-r--r--tests/readlink/Makefile.in1
-rw-r--r--tests/rm/Makefile.in1
-rw-r--r--tests/rmdir/Makefile.in1
-rw-r--r--tests/seq/Makefile.in1
-rw-r--r--tests/sha1sum/Makefile.in1
-rw-r--r--tests/shred/Makefile.in1
-rw-r--r--tests/sort/Makefile.in1
-rw-r--r--tests/stty/Makefile.in1
-rw-r--r--tests/sum/Makefile.in1
-rw-r--r--tests/tac/Makefile.in1
-rw-r--r--tests/tail-2/Makefile.in1
-rw-r--r--tests/tail/Makefile.in1
-rw-r--r--tests/test/Makefile.in1
-rw-r--r--tests/touch/Makefile.in1
-rw-r--r--tests/tr/Makefile.in1
-rw-r--r--tests/tsort/Makefile.in1
-rw-r--r--tests/unexpand/Makefile.in1
-rw-r--r--tests/uniq/Makefile.in1
-rw-r--r--tests/wc/Makefile.in1
51 files changed, 106 insertions, 24 deletions
diff --git a/Makefile.in b/Makefile.in
index 618cdcb50..1458b91b2 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -200,6 +200,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/config.hin b/config.hin
index da160bd04..ee7f5eea0 100644
--- a/config.hin
+++ b/config.hin
@@ -461,6 +461,12 @@
/* Define to 1 if you have the `getmntinfo' function. */
#undef HAVE_GETMNTINFO
+/* Define to 1 if you have the <getopt.h> header file. */
+#undef HAVE_GETOPT_H
+
+/* Define to 1 if you have the `getopt_long_only' function. */
+#undef HAVE_GETOPT_LONG_ONLY
+
/* Define to 1 if you have the `getpagesize' function. */
#undef HAVE_GETPAGESIZE
@@ -1474,6 +1480,16 @@
/* Define to a replacement function name for getline(). */
#undef getline
+/* Define to rpl_getopt if the replacement function should be used. */
+#undef getopt
+
+/* Define to rpl_getopt_long if the replacement function should be used. */
+#undef getopt_long
+
+/* Define to rpl_getopt_long_only if the replacement function should be used.
+ */
+#undef getopt_long_only
+
/* Define to rpl_gettimeofday if the replacement function should be used. */
#undef gettimeofday
@@ -1534,6 +1550,15 @@
/* Define to `long' if <sys/types.h> does not define. */
#undef off_t
+/* Define to rpl_optarg if the replacement variable should be used. */
+#undef optarg
+
+/* Define to rpl_optind if the replacement variable should be used. */
+#undef optind
+
+/* Define to rpl_optopt if the replacement variable should be used. */
+#undef optopt
+
/* Define to `int' if <sys/types.h> does not define. */
#undef pid_t
diff --git a/doc/Makefile.in b/doc/Makefile.in
index 3ccb80edd..f9503ffe1 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -188,6 +188,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/lib/Makefile.in b/lib/Makefile.in
index b186e4abc..29f523c0c 100644
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -47,16 +47,17 @@ DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
euidaccess.c fchdir-stub.c fchown-stub.c fileblocks.c \
fnmatch.c free.c fsusage.c ftruncate.c getcwd.c getdate.c \
getgroups.c gethostname.c getline.c getloadavg.c getndelim2.c \
- getpass.c gettimeofday.c getusershell.c group-member.c \
- lchown.c lstat.c malloc.c memchr.c memcmp.c memcpy.c memmove.c \
- memrchr.c memset.c mkdir.c mkstemp.c mktime.c mountlist.c \
- nanosleep.c obstack.c obstack.h printf-args.c printf-parse.c \
- putenv.c raise.c readlink.c readutmp.c realloc.c regex.c \
- rename.c rmdir.c rpmatch.c sig2str.c stat.c stpcpy.c \
- strcasecmp.c strcspn.c strdup.c strncasecmp.c strndup.c \
- strnlen.c strpbrk.c strstr.c strtod.c strtoimax.c strtol.c \
- strtoll.c strtoul.c strtoull.c strtoumax.c strverscmp.c \
- tempname.c utime.c vasnprintf.c vasprintf.c
+ getopt.c getopt1.c getpass.c gettimeofday.c getusershell.c \
+ group-member.c lchown.c lstat.c malloc.c memchr.c memcmp.c \
+ memcpy.c memmove.c memrchr.c memset.c mkdir.c mkstemp.c \
+ mktime.c mountlist.c nanosleep.c obstack.c obstack.h \
+ printf-args.c printf-parse.c putenv.c raise.c readlink.c \
+ readutmp.c realloc.c regex.c rename.c rmdir.c rpmatch.c \
+ sig2str.c stat.c stpcpy.c strcasecmp.c strcspn.c strdup.c \
+ strncasecmp.c strndup.c strnlen.c strpbrk.c strstr.c strtod.c \
+ strtoimax.c strtol.c strtoll.c strtoul.c strtoull.c \
+ strtoumax.c strverscmp.c tempname.c utime.c vasnprintf.c \
+ vasprintf.c
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/acl.m4 $(top_srcdir)/m4/afs.m4 \
$(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/allocsa.m4 \
@@ -170,10 +171,9 @@ am__DEPENDENCIES_1 = @LIBOBJS@
am__DEPENDENCIES_2 = @ALLOCA@
am_libfetish_a_OBJECTS = acl.$(OBJEXT) getdate.$(OBJEXT) \
posixtm.$(OBJEXT) posixver.$(OBJEXT) strftime.$(OBJEXT) \
- getopt.$(OBJEXT) getopt1.$(OBJEXT) hash.$(OBJEXT) \
- hash-pjw.$(OBJEXT) allocsa.$(OBJEXT) argmatch.$(OBJEXT) \
- backupfile.$(OBJEXT) basename.$(OBJEXT) c-strtod.$(OBJEXT) \
- c-strtold.$(OBJEXT) canon-host.$(OBJEXT) \
+ hash.$(OBJEXT) hash-pjw.$(OBJEXT) allocsa.$(OBJEXT) \
+ argmatch.$(OBJEXT) backupfile.$(OBJEXT) basename.$(OBJEXT) \
+ c-strtod.$(OBJEXT) c-strtold.$(OBJEXT) canon-host.$(OBJEXT) \
canonicalize.$(OBJEXT) cloexec.$(OBJEXT) closeout.$(OBJEXT) \
cycle-check.$(OBJEXT) diacrit.$(OBJEXT) dirname.$(OBJEXT) \
dup-safer.$(OBJEXT) exclude.$(OBJEXT) exitfail.$(OBJEXT) \
@@ -240,6 +240,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
@@ -336,11 +337,10 @@ target_alias = @target_alias@
noinst_LIBRARIES = libfetish.a
AM_CPPFLAGS = -I.. -I$(srcdir)
libfetish_a_SOURCES = acl.h acl.c getdate.h getdate.y posixtm.c \
- posixtm.h posixver.c posixver.h strftime.c strftime.h getopt.c \
- getopt.h getopt1.c getopt_int.h hash.c hash.h hash-pjw.c \
- hash-pjw.h __fpending.h allocsa.c allocsa.h argmatch.c \
- argmatch.h backupfile.c backupfile.h basename.c c-strtod.c \
- c-strtod.h c-strtold.c canon-host.c canonicalize.c \
+ posixtm.h posixver.c posixver.h strftime.c strftime.h hash.c \
+ hash.h hash-pjw.c hash-pjw.h __fpending.h allocsa.c allocsa.h \
+ argmatch.c argmatch.h backupfile.c backupfile.h basename.c \
+ c-strtod.c c-strtod.h c-strtold.c canon-host.c canonicalize.c \
canonicalize.h cloexec.c cloexec.h closeout.c closeout.h \
cycle-check.c cycle-check.h dev-ino.h diacrit.c diacrit.h \
dirname.c dirname.h dirfd.h dup-safer.c euidaccess.h exclude.c \
@@ -374,15 +374,16 @@ libfetish_a_SOURCES = acl.h acl.c getdate.h getdate.y posixtm.c \
libfetish_a_LIBADD = $(LIBOBJS) $(ALLOCA)
libfetish_a_DEPENDENCIES = $(libfetish_a_LIBADD)
lib_OBJECTS = $(libfetish_a_OBJECTS)
-BUILT_SOURCES = getdate.c $(STDBOOL_H) $(ALLOCA_H) $(FNMATCH_H)
+BUILT_SOURCES = getdate.c $(STDBOOL_H) $(ALLOCA_H) $(FNMATCH_H) \
+ $(GETOPT_H)
CLEANFILES = charset.alias ref-add.sed ref-del.sed
MAINTAINERCLEANFILES = $(BUILT_SOURCES)
MOSTLYCLEANFILES = stdbool.h stdbool.ht alloca.h alloca.h-t fnmatch.h \
- fnmatch.h-t
+ fnmatch.h-t getopt.h getopt.h-t
SUFFIXES = .sed .sin
EXTRA_DIST = config.charset ref-add.sin ref-del.sin getndelim2.c \
getndelim2.h inttostr.c inttostr.h stdbool_.h alloca_.h \
- fnmatch_.h fnmatch_loop.c
+ fnmatch_.h fnmatch_loop.c getopt_.h getopt_int.h
charset_alias = $(DESTDIR)$(libdir)/charset.alias
charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
all: $(BUILT_SOURCES)
@@ -457,6 +458,8 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/getline.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/getloadavg.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/getndelim2.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/getopt.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/getopt1.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/getpass.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/gettimeofday.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/getusershell.Po@am__quote@
@@ -534,8 +537,6 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/full-read.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/full-write.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getdate.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt1.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gettime.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getugroups.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hard-locale.Po@am__quote@
@@ -862,6 +863,13 @@ all-local $(lib_OBJECTS): $(FNMATCH_H)
fnmatch.h: fnmatch_.h
cp $(srcdir)/fnmatch_.h $@-t
mv $@-t $@
+
+# We need the following in order to create an <getopt.h> when the system
+# doesn't have one that works with the given compiler.
+all-local $(lib_OBJECTS): $(GETOPT_H)
+getopt.h: getopt_.h
+ cp $(srcdir)/getopt_.h $@-t
+ mv $@-t $@
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
diff --git a/man/Makefile.in b/man/Makefile.in
index 6e1228698..995076f99 100644
--- a/man/Makefile.in
+++ b/man/Makefile.in
@@ -178,6 +178,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/src/Makefile.in b/src/Makefile.in
index 3c2e188a3..e131c494e 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -669,6 +669,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/Makefile.in b/tests/Makefile.in
index 0c9ef4fee..b5886aece 100644
--- a/tests/Makefile.in
+++ b/tests/Makefile.in
@@ -182,6 +182,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/basename/Makefile.in b/tests/basename/Makefile.in
index 73c13913e..048d353a3 100644
--- a/tests/basename/Makefile.in
+++ b/tests/basename/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/chgrp/Makefile.in b/tests/chgrp/Makefile.in
index bf8952701..fdf5b3d0e 100644
--- a/tests/chgrp/Makefile.in
+++ b/tests/chgrp/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/chmod/Makefile.in b/tests/chmod/Makefile.in
index 63dfa4e56..e8408e9cb 100644
--- a/tests/chmod/Makefile.in
+++ b/tests/chmod/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/chown/Makefile.in b/tests/chown/Makefile.in
index b69e90a29..9586f0cfd 100644
--- a/tests/chown/Makefile.in
+++ b/tests/chown/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/cp/Makefile.in b/tests/cp/Makefile.in
index c7380e4c6..f87078f6d 100644
--- a/tests/cp/Makefile.in
+++ b/tests/cp/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/cut/Makefile.in b/tests/cut/Makefile.in
index e7e46849f..2f8d41210 100644
--- a/tests/cut/Makefile.in
+++ b/tests/cut/Makefile.in
@@ -175,6 +175,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/date/Makefile.in b/tests/date/Makefile.in
index 9355f96af..22e38f6aa 100644
--- a/tests/date/Makefile.in
+++ b/tests/date/Makefile.in
@@ -175,6 +175,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/dd/Makefile.in b/tests/dd/Makefile.in
index 072012c3a..5093f8a8c 100644
--- a/tests/dd/Makefile.in
+++ b/tests/dd/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/dircolors/Makefile.in b/tests/dircolors/Makefile.in
index fa5b09b21..fe67f6021 100644
--- a/tests/dircolors/Makefile.in
+++ b/tests/dircolors/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/du/Makefile.in b/tests/du/Makefile.in
index 9c034ba65..04a795839 100644
--- a/tests/du/Makefile.in
+++ b/tests/du/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/expr/Makefile.in b/tests/expr/Makefile.in
index 199cdefb4..f91ef8fc0 100644
--- a/tests/expr/Makefile.in
+++ b/tests/expr/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/factor/Makefile.in b/tests/factor/Makefile.in
index bca076ed8..86a9d5c74 100644
--- a/tests/factor/Makefile.in
+++ b/tests/factor/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/fmt/Makefile.in b/tests/fmt/Makefile.in
index d0e10ebdb..610e298d2 100644
--- a/tests/fmt/Makefile.in
+++ b/tests/fmt/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/head/Makefile.in b/tests/head/Makefile.in
index 44b1b06b6..b597def21 100644
--- a/tests/head/Makefile.in
+++ b/tests/head/Makefile.in
@@ -175,6 +175,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/install/Makefile.in b/tests/install/Makefile.in
index 44d25d6ff..3c7536a8a 100644
--- a/tests/install/Makefile.in
+++ b/tests/install/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/join/Makefile.in b/tests/join/Makefile.in
index 3fba7c333..f63ec07c3 100644
--- a/tests/join/Makefile.in
+++ b/tests/join/Makefile.in
@@ -175,6 +175,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/ln/Makefile.in b/tests/ln/Makefile.in
index 76c48354b..0a961f8bc 100644
--- a/tests/ln/Makefile.in
+++ b/tests/ln/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/ls-2/Makefile.in b/tests/ls-2/Makefile.in
index ecf1d93ae..b0915f553 100644
--- a/tests/ls-2/Makefile.in
+++ b/tests/ls-2/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/ls/Makefile.in b/tests/ls/Makefile.in
index a46832f51..25b2a9758 100644
--- a/tests/ls/Makefile.in
+++ b/tests/ls/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/md5sum/Makefile.in b/tests/md5sum/Makefile.in
index 144e08420..64ae9a031 100644
--- a/tests/md5sum/Makefile.in
+++ b/tests/md5sum/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/misc/Makefile.in b/tests/misc/Makefile.in
index 724bf3ab5..b925ff74c 100644
--- a/tests/misc/Makefile.in
+++ b/tests/misc/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/mkdir/Makefile.in b/tests/mkdir/Makefile.in
index 458a2878a..e4f033d15 100644
--- a/tests/mkdir/Makefile.in
+++ b/tests/mkdir/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/mv/Makefile.in b/tests/mv/Makefile.in
index 26a642da5..7bcc378fa 100644
--- a/tests/mv/Makefile.in
+++ b/tests/mv/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/od/Makefile.in b/tests/od/Makefile.in
index 82d057ccc..1fd951b00 100644
--- a/tests/od/Makefile.in
+++ b/tests/od/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/pr/Makefile.in b/tests/pr/Makefile.in
index 2d8eee83c..93dd572eb 100644
--- a/tests/pr/Makefile.in
+++ b/tests/pr/Makefile.in
@@ -175,6 +175,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/readlink/Makefile.in b/tests/readlink/Makefile.in
index 6d78e97b5..7d4f1d242 100644
--- a/tests/readlink/Makefile.in
+++ b/tests/readlink/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/rm/Makefile.in b/tests/rm/Makefile.in
index b7259a53f..56536be5e 100644
--- a/tests/rm/Makefile.in
+++ b/tests/rm/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/rmdir/Makefile.in b/tests/rmdir/Makefile.in
index 82e1e3a43..c847721c0 100644
--- a/tests/rmdir/Makefile.in
+++ b/tests/rmdir/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/seq/Makefile.in b/tests/seq/Makefile.in
index f0ecf06af..c621ce7f4 100644
--- a/tests/seq/Makefile.in
+++ b/tests/seq/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/sha1sum/Makefile.in b/tests/sha1sum/Makefile.in
index 5b35bcb02..b70b2c058 100644
--- a/tests/sha1sum/Makefile.in
+++ b/tests/sha1sum/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/shred/Makefile.in b/tests/shred/Makefile.in
index 63196efb3..36c9f4c6f 100644
--- a/tests/shred/Makefile.in
+++ b/tests/shred/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/sort/Makefile.in b/tests/sort/Makefile.in
index 0a20c7b36..279fe5b8c 100644
--- a/tests/sort/Makefile.in
+++ b/tests/sort/Makefile.in
@@ -175,6 +175,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/stty/Makefile.in b/tests/stty/Makefile.in
index 76a5610e2..228883acc 100644
--- a/tests/stty/Makefile.in
+++ b/tests/stty/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/sum/Makefile.in b/tests/sum/Makefile.in
index 40876a75e..942fab46a 100644
--- a/tests/sum/Makefile.in
+++ b/tests/sum/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/tac/Makefile.in b/tests/tac/Makefile.in
index 87671ff00..3028d0ace 100644
--- a/tests/tac/Makefile.in
+++ b/tests/tac/Makefile.in
@@ -175,6 +175,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/tail-2/Makefile.in b/tests/tail-2/Makefile.in
index 137fcefba..44bf1246c 100644
--- a/tests/tail-2/Makefile.in
+++ b/tests/tail-2/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/tail/Makefile.in b/tests/tail/Makefile.in
index f2d60e2bb..7771e318b 100644
--- a/tests/tail/Makefile.in
+++ b/tests/tail/Makefile.in
@@ -175,6 +175,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/test/Makefile.in b/tests/test/Makefile.in
index b92c8dfc0..f86983e59 100644
--- a/tests/test/Makefile.in
+++ b/tests/test/Makefile.in
@@ -175,6 +175,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/touch/Makefile.in b/tests/touch/Makefile.in
index b8537601f..2e8882de4 100644
--- a/tests/touch/Makefile.in
+++ b/tests/touch/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/tr/Makefile.in b/tests/tr/Makefile.in
index 0cb60ec19..4ad1aa4ed 100644
--- a/tests/tr/Makefile.in
+++ b/tests/tr/Makefile.in
@@ -175,6 +175,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/tsort/Makefile.in b/tests/tsort/Makefile.in
index 9670ef00c..58d43cd7f 100644
--- a/tests/tsort/Makefile.in
+++ b/tests/tsort/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/unexpand/Makefile.in b/tests/unexpand/Makefile.in
index f3fc5cf47..509b818f5 100644
--- a/tests/unexpand/Makefile.in
+++ b/tests/unexpand/Makefile.in
@@ -173,6 +173,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/uniq/Makefile.in b/tests/uniq/Makefile.in
index 8e7afbc50..4894bee8f 100644
--- a/tests/uniq/Makefile.in
+++ b/tests/uniq/Makefile.in
@@ -175,6 +175,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@
diff --git a/tests/wc/Makefile.in b/tests/wc/Makefile.in
index b7f75d1e4..d3fb53f47 100644
--- a/tests/wc/Makefile.in
+++ b/tests/wc/Makefile.in
@@ -175,6 +175,7 @@ EXEEXT = @EXEEXT@
FESETROUND_LIBM = @FESETROUND_LIBM@
FNMATCH_H = @FNMATCH_H@
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
+GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNU_PACKAGE = @GNU_PACKAGE@