aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2007-09-03 19:00:16 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2007-09-03 19:00:16 +0000
commit6a30b0a545185ae9b6b69744a64f3ff76312470a (patch)
tree0e9f7d88eb6fd4faa0a611b3ae55d0be9adf4444 /gdb/Makefile.in
parentedff0c0a1d4dfa3bbad4a8f3bf954e86419e8067 (diff)
downloadgdb-6a30b0a545185ae9b6b69744a64f3ff76312470a.zip
gdb-6a30b0a545185ae9b6b69744a64f3ff76312470a.tar.gz
gdb-6a30b0a545185ae9b6b69744a64f3ff76312470a.tar.bz2
* configure.ac: Accept --with-system-readline.
(READLINE, READLINE_DEPS, READLINE_CFLAGS): Define and substitute. * configure: Regenerate. * Makefile.in (READLINE, READLINE_DEPS, READLINE_CFLAGS): Use substituted values. (CDEPS): Use $(READLINE_DEPS) instead of $(READLINE).
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 7349156..95e38bf 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -127,9 +127,10 @@ BFD_CFLAGS = -I$(BFD_DIR) -I$(BFD_SRC)
# Where is the READLINE library? Typically in ../readline.
READLINE_DIR = ../readline
-READLINE = $(READLINE_DIR)/libreadline.a
READLINE_SRC = $(srcdir)/$(READLINE_DIR)
-READLINE_CFLAGS = -I$(READLINE_SRC)/..
+READLINE = @READLINE@
+READLINE_DEPS = @READLINE_DEPS@
+READLINE_CFLAGS = @READLINE_CFLAGS@
# Where is expat? This will be empty if expat was not available.
LIBEXPAT = @LIBEXPAT@
@@ -387,7 +388,7 @@ CLIBS = $(SIM) $(READLINE) $(OPCODES) $(BFD) $(INTL) $(LIBIBERTY) \
$(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \
$(LIBICONV) $(LIBEXPAT) \
$(LIBIBERTY) $(WIN32LIBS)
-CDEPS = $(XM_CDEPS) $(TM_CDEPS) $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE) \
+CDEPS = $(XM_CDEPS) $(TM_CDEPS) $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE_DEPS) \
$(OPCODES) $(INTL_DEPS) $(LIBIBERTY) $(CONFIG_DEPS)
ADD_FILES = $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)