aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.ac
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2010-11-23 14:39:16 +0000
committerTom Tromey <tromey@redhat.com>2010-11-23 14:39:16 +0000
commit39037522c862528df367aaa40015fdf9641b8d19 (patch)
treee38d7430c8e63632731bec1fec9685d3d013b2ce /gdb/configure.ac
parent5ae98d2512a3d327aed9e66fc065e010e38379f9 (diff)
downloadgdb-39037522c862528df367aaa40015fdf9641b8d19.zip
gdb-39037522c862528df367aaa40015fdf9641b8d19.tar.gz
gdb-39037522c862528df367aaa40015fdf9641b8d19.tar.bz2
gdb
* configure: Rebuild. * configure.ac (READLINE_TEXI_INCFLAG): New subst. gdb/doc * gdb.texinfo (Top): Check SYSTEM_READLINE. (Editing): Likewise. (Command History): Likewise. (TUI Keys): Likewise. (Bug Reporting): Conditionally include rluser.texi and inc-history.texinfo. * Makefile.in (READLINE_TEXI_INCFLAG): New variable. (GDB_DOC_SOURCE_INCLUDES): Add comment. (GDBvn.texi): Set SYSTEM_READLINE when appropriate. (gdb.dvi): Use READLINE_TEXI_INCFLAG. (gdb.pdf): Likewise. (gdb.info): Likewise. (gdb/index.html): Likewise.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r--gdb/configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac
index 230b128..cc750dc 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -538,6 +538,7 @@ if test "$with_system_readline" = yes; then
READLINE=-lreadline
READLINE_DEPS=
READLINE_CFLAGS=
+ READLINE_TEXI_INCFLAG=
# readline-6.0 started to use the name `_rl_echoing_p'.
# `$(READLINE_DIR)/' of bundled readline would not resolve in configure.
@@ -557,10 +558,12 @@ else
READLINE='$(READLINE_DIR)/libreadline.a'
READLINE_DEPS='$(READLINE)'
READLINE_CFLAGS='-I$(READLINE_SRC)/..'
+ READLINE_TEXI_INCFLAG='-I $(READLINE_DIR)'
fi
AC_SUBST(READLINE)
AC_SUBST(READLINE_DEPS)
AC_SUBST(READLINE_CFLAGS)
+AC_SUBST(READLINE_TEXI_INCFLAG)
AC_ARG_WITH(expat,
AS_HELP_STRING([--with-expat], [include expat support (auto/yes/no)]),