aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.ac
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-08-08 20:26:23 +0000
committerDaniel Jacobowitz <drow@false.org>2006-08-08 20:26:23 +0000
commit7fa2210be82679231faa15c25827d212ab5de60e (patch)
treef2774fd1ef684abeedd0259122fc82f26b40eebe /gdb/configure.ac
parent1737851b2005af535e44e89a4e7f341eddddd0f0 (diff)
downloadgdb-7fa2210be82679231faa15c25827d212ab5de60e.zip
gdb-7fa2210be82679231faa15c25827d212ab5de60e.tar.gz
gdb-7fa2210be82679231faa15c25827d212ab5de60e.tar.bz2
gdb/
* configure.ac: Check for expat. * acinclude.m4: Include AC_LIB_HAVE_LINKFLAGS dependencies. * Makefile.in (LIBEXPAT): New. (CLIBS): Include $(LIBEXPAT). * README: Mention expat. * configure, config.in: Regenerated. gdb/doc/ * gdb.texinfo (Installing GDB): Update menu. Move text to... (Running Configure): ...here. (Requirements): New node. Mention expat.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r--gdb/configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac
index 906c916..9b09b94 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -315,6 +315,12 @@ if test "$ac_cv_search_tgetent" = no; then
AC_MSG_ERROR([no termcap library found])
fi
+AC_LIB_HAVE_LINKFLAGS([expat], [], [#include "expat.h"],
+ [XML_Parser p = XML_ParserCreate (0);])
+if test "$HAVE_LIBEXPAT" != yes; then
+ AC_MSG_WARN([expat is missing or unusable; some features may be disabled.])
+fi
+
# ------------------------- #
# Checks for header files. #
# ------------------------- #