diff options
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r-- | gdb/configure.ac | 6 |
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. # # ------------------------- # |