projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lchown: Move AC_LIBOBJ invocations to module description.
[gnulib.git]
/
modules
/
getopt-posix
diff --git
a/modules/getopt-posix
b/modules/getopt-posix
index
c99f8a4
..
5da0b47
100644
(file)
--- a/
modules/getopt-posix
+++ b/
modules/getopt-posix
@@
-13,10
+13,15
@@
unistd
extensions
include_next
arg-nonnull
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
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)
Makefile.am:
BUILT_SOURCES += $(GETOPT_H)