projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
freopen-safer: Move AC_LIBOBJ invocations to module description.
[pspp]
/
modules
/
readline
diff --git
a/modules/readline
b/modules/readline
index dc324016c1ab87031982268c754b98f6f6fbce53..9cee3bb27113e2633b9555ae738005ee15558c37 100644
(file)
--- a/
modules/readline
+++ b/
modules/readline
@@
-7,18
+7,24
@@
lib/readline.c
m4/readline.m4
Depends-on:
m4/readline.m4
Depends-on:
-getline
havelib
havelib
+getline [test "$gl_cv_lib_readline" = no]
configure.ac:
gl_FUNC_READLINE
configure.ac:
gl_FUNC_READLINE
+if test "$gl_cv_lib_readline" = no; then
+ AC_LIBOBJ([readline])
+ gl_PREREQ_READLINE
+fi
Makefile.am:
Makefile.am:
-EXTRA_DIST += readline.h readline.c
Include:
"readline.h"
Include:
"readline.h"
+Link:
+$(LTLIBREADLINE) when linking with libtool, $(LIBREADLINE) otherwise
+
License:
GPL
License:
GPL