From f7dc7c17af52e8300cb188c4fb3e4a8b1638e8f9 Mon Sep 17 00:00:00 2001 From: Jonas Suhr Christensen Date: Thu, 22 Mar 2012 16:31:28 +0100 Subject: Fixed order of task in init. Now are tasks only (hopefully) added after its parent. Added write and read. --- configure.in | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 4a9e870..476ebf7 100644 --- a/configure.in +++ b/configure.in @@ -33,6 +33,31 @@ dnl Check for getopt dnl ====================== AC_HAVE_HEADERS(getopt.h) +dnl ====================== +dnl Check for eXpat library +dnl ====================== +tmp_CXXFLAGS="$CXXFLAGS" +tmp_CPPFLAGS="$CPPFLAGS" +tmp_CFLAGS="$CFLAGS" +tmp_LDFLAGS="$LDFLAGS" +tmp_LIBS="$LIBS" +CXXFLAGS="" +CPPFLAGS="" +CFLAGS="" +LDFLAGS="" +LIBS="" +AC_CHECK_HEADER(expat.h, , AC_MSG_ERROR([*** eXpat header file not found!])) +AC_CHECK_LIB(expat, XML_ParserCreate, , AC_MSG_ERROR([*** eXpat library not found!])) +EXPAT_CFLAGS="$CXXFLAGS $CPPFLAGS $CFLAGS" +EXPAT_LIBS="$LDFLAGS $LIBS" +CXXFLAGS="$tmp_CXXFLAGS" +CPPFLAGS="$tmp_CPPFLAGS" +CFLAGS="$tmp_CFLAGS" +LDFLAGS="$tmp_LDFLAGS" +LIBS="$tmp_LIBS" +AC_SUBST(EXPAT_CFLAGS) +AC_SUBST(EXPAT_LIBS) + dnl ====================== dnl Check for libwebsockets library dnl ====================== -- cgit v1.2.3