|
|
| version 1.75, 2004/02/27 11:03:34 | version 1.83.6.1, 2005/11/22 16:14:52 |
|---|---|
| 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.1.2prerelease, nodefine) | AM_INIT_AUTOMAKE(parser, 3.1.5beta, nodefine) |
| dnl expand srcdir | dnl expand srcdir |
| P3S=`cd $srcdir/src ; pwd` | P3S=`cd $srcdir/src ; pwd` |
| AC_SUBST(P3S) | AC_SUBST(P3S) |
| PARSER_VERSION=$VERSION | dnl AC_CANONICAL_SYSTEM |
| AC_CANONICAL_HOST | |
| PARSER_VERSION="$VERSION (compiled on $host)" | |
| echo "/* automatically generated by configure */" > $srcdir/src/include/pa_version.h.new | echo "/* automatically generated by configure */" > $srcdir/src/include/pa_version.h.new |
| echo "/* edit configure.in to change version number */" >> $srcdir/src/include/pa_version.h.new | echo "/* edit configure.in to change version number */" >> $srcdir/src/include/pa_version.h.new |
| echo "#define PARSER_VERSION \"$PARSER_VERSION\"" >> $srcdir/src/include/pa_version.h.new | echo "#define PARSER_VERSION \"$PARSER_VERSION\"" >> $srcdir/src/include/pa_version.h.new |
| Line 22 fi | Line 25 fi |
| dnl AC_CANONICAL_SYSTEM | |
| AC_CANONICAL_HOST | |
| AC_SUBST(host_os) | AC_SUBST(host_os) |
| case $host_os in | case $host_os in |
| *cygwin* ) AC_DEFINE(CYGWIN,,using cygwin building environment);; | *cygwin* ) AC_DEFINE(CYGWIN,,using cygwin building environment);; |
| Line 106 for c in $CHARSETS_REQUESTED; do | Line 107 for c in $CHARSETS_REQUESTED; do |
| done | done |
| # Switching on commentcharset_XXX='#' | # Switching on commentcharset_XXX='#' |
| AC_DEFUN(PA_SUBSTCHARSET, [ | AC_DEFUN([PA_SUBSTCHARSET], [ |
| commentcharset_$2='#' | commentcharset_$2='#' |
| for c in $CHARSETS_REQUESTED; do | for c in $CHARSETS_REQUESTED; do |
| if test "$1" = "$c"; then | if test "$1" = "$c"; then |
| Line 420 AC_SUBST(LIBADD_DL) | Line 421 AC_SUBST(LIBADD_DL) |
| dnl Checks for typedefs, structures, and compiler characteristics. | dnl Checks for typedefs, structures, and compiler characteristics. |
| AC_C_BIGENDIAN( | |
| AC_DEFINE(PA_BIG_ENDIAN,,compile for sparc processor) | |
| , | |
| AC_DEFINE(PA_LITTLE_ENDIAN,,compile for intel processor or compatible) | |
| , | |
| AC_MSG_ERROR(word endianness not determined for some obscure reason) | |
| ) | |
| AC_TYPE_SIZE_T | AC_TYPE_SIZE_T |
| dnl gmime | dnl gmime |
| AC_CHECK_TYPE(off_t, long) | AC_CHECK_TYPE(off_t, long) |
| Line 502 ftruncate \ | Line 511 ftruncate \ |
| getrusage \ | getrusage \ |
| gettimeofday \ | gettimeofday \ |
| crypt \ | crypt \ |
| sigsetjmp \ | |
| siglongjmp | siglongjmp |
| ) | ) |