--- parser3/Attic/configure.in 2008/04/10 14:31:27 1.97.2.2 +++ parser3/Attic/configure.in 2009/11/16 23:39:50 1.122 @@ -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.1b, 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 @@ -496,6 +513,9 @@ dnl Checks for libraries. dnl Some systems (Solaris 2.x) require libnsl (Network Services Library) case "$host" in + *-freebsd4*) + AC_DEFINE(FREEBSD4,,FreeBSD4X target platform) + ;; *-sunos5.6* | *-solaris2.6*) AC_CHECK_LIB(xnet, main) ;; @@ -529,6 +549,7 @@ _locking \ fcntl \ lockf \ ftruncate \ +fchmod \ getrusage \ gettimeofday \ crypt \ @@ -648,11 +669,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