|
|
| version 1.119, 2009/10/06 00:38:48 | version 1.125, 2009/12/04 04:20:45 |
|---|---|
| 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.4.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 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" | |
| ]) | |
| 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 |