|
|
| version 1.103, 2008/08/15 16:38:48 | version 1.132, 2010/11/24 16:49:47 |
|---|---|
| Line 2 dnl Process this file with autoconf to p | Line 2 dnl Process this file with autoconf to p |
| AC_INIT(README) | AC_INIT(README) |
| AC_PREREQ(2.57) | AC_PREREQ(2.57) |
| AM_INIT_AUTOMAKE(parser, 3.3.0b, nodefine) | AM_INIT_AUTOMAKE(parser, 3.4.1b, nodefine) |
| dnl expand srcdir | dnl expand srcdir |
| P3S=`cd $srcdir/src ; pwd` | P3S=`cd $srcdir/src ; pwd` |
| Line 266 AC_ARG_WITH(shared-gc,[ --with-shared-g | Line 266 AC_ARG_WITH(shared-gc,[ --with-shared-g |
| ]) | ]) |
| AC_ARG_WITH(static-gc,[ --with-static-gc[=D] D is the directory where | AC_ARG_WITH(static-gc,[ --with-static-gc[=D] D is the directory where |
| Boehm garbage collecting library is installed (static lib)],[ | Boehm garbage collecting library is installed (static lib)],[ |
| GC_LIBS="-L$withval -Wl,-Bstatic -l$GC_LIB_NAME -Wl,-Bdynamic" | GC_LIBS="$withval/lib$GC_LIB_NAME.a" |
| ]) | ]) |
| if test -z "$GC_LIBS"; then | if test -z "$GC_LIBS"; then |
| #undefined? use any found in system | #undefined? use any found in system |
| Line 291 AC_SUBST(GC_LIBS) | Line 291 AC_SUBST(GC_LIBS) |
| LIBS=$SAVE_LIBS | LIBS=$SAVE_LIBS |
| AC_ARG_WITH(static-pcre,[ --with-static-pcre=D D is the directory where | AC_ARG_WITH(static-pcre,[ --with-static-pcre=D D is the directory where |
| PCRE library is installed (static lib)],[ | PCRE library is installed (static lib)],[ |
| PCRE=$withval | PCRE=$withval |
| PCREINC="$PCRE/include" | PCREINC="$PCRE/include" |
| Line 350 AC_ARG_WITH(static-xml,[ --with-static- | Line 350 AC_ARG_WITH(static-xml,[ --with-static- |
| AC_SUBST(XML_INCLUDES) | AC_SUBST(XML_INCLUDES) |
| AC_SUBST(XML_LIBS) | AC_SUBST(XML_LIBS) |
| AC_ARG_WITH(curl,[ --with-curl=D D is the curl includes directory],[ | |
| CURLINC=$withval | |
| if test \! -d $CURLINC -o \! -r $CURLINC/curl.h; then | |
| AC_MSG_ERROR($CURLINC does not seem to be valid curl includes directory) | |
| fi | |
| AC_DEFINE(HAVE_CURL,,curl enabled parser) | |
| CURL_INCLUDES="-I$CURLINC -I$CURLINC/../" | |
| ]) | |
| AC_SUBST(CURL_INCLUDES) | |
| AC_ARG_WITH(glib-config,[ --with-glib-config=FILE FILE is glib library | AC_ARG_WITH(glib-config,[ --with-glib-config=FILE FILE is glib library |
| configuration file (search for glib*-config)], | configuration file (search for glib*-config)], |
| GLIB_CONFIG=$withval | GLIB_CONFIG=$withval |
| Line 431 AC_ARG_WITH(sendmail,[ \"--with-sendmai | Line 444 AC_ARG_WITH(sendmail,[ \"--with-sendmai |
| ) | ) |
| AC_ARG_WITH(apache13,[ --with-apache13=D D is the Apache13 source distribution directory | AC_ARG_WITH(apache,[ --with-apache=FILE is the full path for APXS |
| builds library for apache_module using that dir | builds apache DSO module using apxs],[ |
| (do not add /src)], | APXS=$withval |
| APACHE13=$withval | |
| if test \! -f "$APACHE13/src/include/httpd.h"; then | if test -z "$APXS" -o "$APXS" = "yes"; then |
| AC_MSG_ERROR($APACHE13 does not seem to be valid Apache13 source distribution directory) | APXS=`which apxs 2>/dev/null` |
| fi; | |
| APACHE=`$APXS -q TARGET 2>/dev/null` | |
| if test -z "$APACHE"; then | |
| AC_MSG_ERROR($APXS does not seem to be valid apache apxs utility path) | |
| fi | fi |
| ) | |
| AC_SUBST(APACHE13) | APACHE_MAIN_INC=`$APXS -q INCLUDEDIR` |
| AM_CONDITIONAL(COMPILE_APACHE13_MODULE, test -n "$APACHE13") | APACHE_EXTRA_INC=`$APXS -q EXTRA_INCLUDES 2>/dev/null` |
| APACHE_INC="-I$APACHE_MAIN_INC $APACHE_EXTRA_INC" | |
| APACHE_CFLAGS=`$APXS -q CFLAGS` | |
| ]) | |
| AC_SUBST(APACHE) | |
| AC_SUBST(APACHE_INC) | |
| AC_SUBST(APACHE_CFLAGS) | |
| AM_CONDITIONAL(COMPILE_APACHE_MODULE, test -n "$APACHE") | |
| dnl Enable building of the convenience library | dnl Enable building of the convenience library |
| Line 513 dnl Checks for libraries. | Line 539 dnl Checks for libraries. |
| dnl Some systems (Solaris 2.x) require libnsl (Network Services Library) | dnl Some systems (Solaris 2.x) require libnsl (Network Services Library) |
| case "$host" in | case "$host" in |
| *-freebsd4*) | |
| AC_DEFINE(FREEBSD4,,FreeBSD4X target platform) | |
| ;; | |
| *-sunos5.6* | *-solaris2.6*) | *-sunos5.6* | *-solaris2.6*) |
| AC_CHECK_LIB(xnet, main) | AC_CHECK_LIB(xnet, main) |
| ;; | ;; |
| Line 546 _locking \ | Line 575 _locking \ |
| fcntl \ | fcntl \ |
| lockf \ | lockf \ |
| ftruncate \ | ftruncate \ |
| fchmod \ | |
| getrusage \ | getrusage \ |
| gettimeofday \ | gettimeofday \ |
| crypt \ | crypt \ |
| Line 665 AC_OUTPUT( | Line 695 AC_OUTPUT( |
| src/lib/smtp/Makefile | src/lib/smtp/Makefile |
| src/lib/gc/Makefile | src/lib/gc/Makefile |
| src/lib/gc/include/Makefile | src/lib/gc/include/Makefile |
| src/lib/pcre/Makefile | |
| src/lib/cord/Makefile | src/lib/cord/Makefile |
| src/lib/cord/include/Makefile | src/lib/cord/include/Makefile |
| src/lib/cord/include/private/Makefile | src/lib/cord/include/private/Makefile |
| Line 672 AC_OUTPUT( | Line 703 AC_OUTPUT( |
| src/lib/md5/Makefile | src/lib/md5/Makefile |
| src/lib/sdbm/Makefile | src/lib/sdbm/Makefile |
| src/lib/sdbm/apr-include/Makefile | src/lib/sdbm/apr-include/Makefile |
| src/lib/json/Makefile | |
| src/targets/Makefile | src/targets/Makefile |
| src/targets/cgi/Makefile | src/targets/cgi/Makefile |
| src/targets/apache13core/Makefile | src/targets/apache/Makefile |
| src/targets/apache13/Makefile | |
| src/targets/apache13/p3runConfigure | |
| src/targets/isapi/Makefile | src/targets/isapi/Makefile |
| etc/Makefile | etc/Makefile |
| etc/parser3.charsets/Makefile | etc/parser3.charsets/Makefile |