--- parser3/Attic/configure.in 2008/04/10 14:33:41 1.97.2.3 +++ parser3/Attic/configure.in 2009/05/15 07:16:20 1.113 @@ -2,7 +2,7 @@ dnl Process this file with autoconf to p AC_INIT(README) AC_PREREQ(2.57) -AM_INIT_AUTOMAKE(parser, 3.2.3, nodefine) +AM_INIT_AUTOMAKE(parser, 3.4.0b, nodefine) dnl expand srcdir P3S=`cd $srcdir/src ; pwd` @@ -291,6 +291,23 @@ AC_SUBST(GC_LIBS) LIBS=$SAVE_LIBS +AC_ARG_WITH(static-pcre,[ --with-static-pcre=D D is the directory where + PCRE library is installed (static lib)],[ + PCRE=$withval + PCREINC="$PCRE/include" + PCRELIB="$PCRE/lib" + + if test \! -d $PCREINC -o \! -d $PCRELIB; then + AC_MSG_ERROR($PCRE does not seem to be valid PCRE installation directory) + fi + + PCRE_INCLUDES="-I$PCREINC" + PCRE_LIBS="$PCRELIB/libpcre.a" +]) +AC_SUBST(PCRE_INCLUDES) +AC_SUBST(PCRE_LIBS) + + AC_ARG_WITH(shared-xml,[ --with-shared-xml=D D is the directory where Gnome XML libraries are installed (shared libs)],[ GNOME_XML=$withval @@ -648,11 +665,11 @@ AC_OUTPUT( src/lib/smtp/Makefile src/lib/gc/Makefile src/lib/gc/include/Makefile + src/lib/pcre/Makefile src/lib/cord/Makefile src/lib/cord/include/Makefile src/lib/cord/include/private/Makefile src/lib/ltdl/Makefile - src/lib/pcre/Makefile src/lib/md5/Makefile src/lib/sdbm/Makefile src/lib/sdbm/apr-include/Makefile