|
|
| version 1.62.2.5.2.2, 2003/03/27 15:45:21 | version 1.70, 2003/11/21 12:36:12 |
|---|---|
| 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.0.HEAD, nodefine) | AM_INIT_AUTOMAKE(parser, 3.1.2beta, nodefine) |
| dnl expand srcdir | dnl expand srcdir |
| P3S=`cd $srcdir/src ; pwd` | P3S=`cd $srcdir/src ; pwd` |
| Line 57 AC_C_INLINE | Line 57 AC_C_INLINE |
| dnl Arguments | dnl Arguments |
| AC_ARG_WITH(build-warnings, [ --with-build-warnings to enable build-time compiler warnings if gcc is used], | |
| AC_MSG_WARN(enabling compiler warnings) | |
| CXXFLAGS="$CXXFLAGS -W -Wall -Wstrict-prototypes -Wmissing-prototypes" | |
| ) | |
| AC_ARG_WITH(assertions, [ --with-assertions to enable assertions], | |
| AC_MSG_WARN(enabling assertions) | |
| , | |
| AC_DEFINE(NDEBUG,,assertions disabled) | |
| ) | |
| AC_ARG_ENABLE(safe-mode, [ --disable-safe-mode to enable reading and executing | AC_ARG_ENABLE(safe-mode, [ --disable-safe-mode to enable reading and executing |
| files belonging to group+user other then effective], | files belonging to group+user other then effective], |
| [ | [ |
| Line 419 dnl Checks for C header files. | Line 431 dnl Checks for C header files. |
| AC_HEADER_TIME | AC_HEADER_TIME |
| AC_CHECK_HEADERS( | AC_CHECK_HEADERS( |
| assert.h \ | |
| signal.h \ | signal.h \ |
| unistd.h \ | unistd.h \ |
| process.h \ | process.h \ |
| Line 489 ftruncate \ | Line 502 ftruncate \ |
| getrusage \ | getrusage \ |
| gettimeofday \ | gettimeofday \ |
| crypt \ | crypt \ |
| sigsetjmp siglongjmp | siglongjmp |
| ) | ) |
| dnl on some linux[seen on 2.4] it's a macro | |
| PA_CHECK_SIGSETJMP | |
| dnl see comment above | dnl see comment above |
| AC_LANG_PUSH(C++) | AC_LANG_PUSH(C++) |
| PA_CHECK_MATH_FUNCS_ONE_ARG( | PA_CHECK_MATH_FUNCS_ONE_ARG( |
| Line 504 AC_LANG_POP | Line 520 AC_LANG_POP |
| dnl We require qsort(3) and select(2). | dnl We require qsort(3) and select(2). |
| AC_CHECK_FUNCS(qsort, , AC_MSG_ERROR([No qsort library function.])) | AC_CHECK_FUNCS(qsort, , AC_MSG_ERROR([No qsort library function.])) |
| AC_CHECK_FUNCS(select, , AC_MSG_ERROR([No select library function.])) | |
| AC_MSG_CHECKING(for select) | |
| AC_TRY_RUN([ | |
| #ifdef HAVE_SYS_SELECT_H | |
| # include <sys/select.h> | |
| #endif | |
| #ifdef HAVE_SYS_SOCKET_H | |
| # include <sys/socket.h> | |
| #endif | |
| #if TIME_WITH_SYS_TIME | |
| # include <sys/time.h> | |
| # include <time.h> | |
| #else | |
| # ifdef HAVE_SYS_TIME_H | |
| # include <sys/time.h> | |
| # else | |
| # include <time.h> | |
| # endif | |
| #endif | |
| #ifdef __STDC__ | |
| int (*f)(int, fd_set *, fd_set *, fd_set *, struct timeval *)=select; | |
| #else | |
| int (*f)()=select; | |
| #endif /* __STDC__ */ | |
| int | |
| main () | |
| { | |
| return f != select; | |
| } | |
| ], | |
| AC_DEFINE(HAVE_SELECT,,have 'select' library function) | |
| AC_MSG_RESULT(yes), | |
| AC_MSG_ERROR([No select library function.]) | |
| ) | |
| dnl For correct mail receiving we need to know local offset from GMT | dnl For correct mail receiving we need to know local offset from GMT |
| dnl it be timezone+(daylight?60*60*sign(timezone):0) | dnl it be timezone+(daylight?60*60*sign(timezone):0) |
| Line 618 AH_TEMPLATE([HAVE_TM_TZADJ], | Line 672 AH_TEMPLATE([HAVE_TM_TZADJ], |
| AM_CONFIG_HEADER(src/include/pa_config_auto.h) | AM_CONFIG_HEADER(src/include/pa_config_auto.h) |
| AC_OUTPUT(Makefile src/Makefile src/types/Makefile src/classes/Makefile src/classes/gd/Makefile src/classes/smtp/Makefile src/include/Makefile src/main/Makefile src/sql/Makefile src/lib/Makefile src/lib/patches/Makefile src/lib/gc/Makefile src/lib/gc/include/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/targets/Makefile src/targets/cgi/Makefile src/targets/apache13/Makefile src/targets/apache13/hook/Makefile src/targets/apache13/p3runConfigure src/targets/isapi/Makefile etc/Makefile etc/parser3.charsets/Makefile bin/Makefile bin/auto.p.dist) | AC_OUTPUT( |
| Makefile | |
| src/Makefile | |
| src/types/Makefile | |
| src/classes/Makefile | |
| src/classes/gd/Makefile | |
| src/classes/smtp/Makefile | |
| src/include/Makefile | |
| src/main/Makefile | |
| src/sql/Makefile | |
| src/lib/Makefile | |
| src/lib/patches/Makefile | |
| src/lib/gc/Makefile | |
| src/lib/gc/include/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 | |
| src/targets/Makefile | |
| src/targets/cgi/Makefile | |
| src/targets/apache13core/Makefile | |
| src/targets/apache13/Makefile | |
| src/targets/apache13/p3runConfigure | |
| src/targets/isapi/Makefile | |
| etc/Makefile | |
| etc/parser3.charsets/Makefile | |
| bin/Makefile | |
| bin/auto.p.dist) |