-rw-r--r-- | configure.ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 48a5efb..2b94b41 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -68,2 +68,15 @@ LIBCURL_CHECK_CONFIG(,,,[ | |||
68 | 68 | ||
69 | AC_CHECK_HEADER([expat.h],[ | ||
70 | AC_CHECK_LIB([expat],[XML_ParserCreate],[ | ||
71 | EXPAT_LIBS=-lexpat | ||
72 | EXPAT_CFLAGS= | ||
73 | AC_SUBST([EXPAT_LIBS]) | ||
74 | AC_SUBST([EXPAT_CFLAGS]) | ||
75 | ],[ | ||
76 | AC_MSG_ERROR([no required expat library. get one from http://expat.sourceforge.net/]) | ||
77 | ]) | ||
78 | ],[ | ||
79 | AC_MSG_ERROR([no required expat library. get one from http://expat.sourceforge.net/]) | ||
80 | ]) | ||
81 | |||
69 | if test -n "$PCRE_LIBS" -a -n "$PCRE_CFLAGS" ; then | 82 | if test -n "$PCRE_LIBS" -a -n "$PCRE_CFLAGS" ; then |