X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=modules%2Fgetopt-posix;h=5da0b472ea752597c6de34b6001235113f1728a9;hb=13ebbbd5b53127e51b34532465119c97ec6c23ca;hp=c99f8a4feb687b39fc26815234b67263c239e0bc;hpb=0ab583c0eaeb5d9c18a6ce0fcdd4f0cd95a581da;p=pspp diff --git a/modules/getopt-posix b/modules/getopt-posix index c99f8a4feb..5da0b472ea 100644 --- a/modules/getopt-posix +++ b/modules/getopt-posix @@ -13,10 +13,15 @@ unistd extensions include_next arg-nonnull -gettext-h [test $GNULIB_UNISTD_H_GETOPT = 1] +gettext-h [test $REPLACE_GETOPT = 1] configure.ac: gl_FUNC_GETOPT_POSIX +if test $REPLACE_GETOPT = 1; then + AC_LIBOBJ([getopt]) + AC_LIBOBJ([getopt1]) + gl_PREREQ_GETOPT +fi Makefile.am: BUILT_SOURCES += $(GETOPT_H)