gdb/
[deliverable/binutils-gdb.git] / gdb / configure.ac
index 906c9166c1289f8988c700e5232192478ef4c9e2..9b09b94ccb1e936c53ebf3f23e8cac8c0386f4bb 100644 (file)
@@ -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.  #
 # ------------------------- #
This page took 0.03535 seconds and 4 git commands to generate.