Annotation of parser3/configure.in, revision 1.145
1.142 moko 1: dnl Autoconf initialisation
2: AC_PREREQ(2.59)
3: AC_INIT(parser, 3.4.2b)
4: AC_CONFIG_SRCDIR(README)
1.59 paf 5:
1.1 paf 6:
1.142 moko 7: dnl Automake Initialisation
8: AM_INIT_AUTOMAKE
9:
10:
11: dnl Expand srcdir
1.14 paf 12: P3S=`cd $srcdir/src ; pwd`
1.1 paf 13: AC_SUBST(P3S)
14:
1.142 moko 15:
16: dnl Update pa_version.h
1.81 paf 17: AC_CANONICAL_HOST
18:
19: PARSER_VERSION="$VERSION (compiled on $host)"
1.8 paf 20: echo "/* automatically generated by configure */" > $srcdir/src/include/pa_version.h.new
21: echo "/* edit configure.in to change version number */" >> $srcdir/src/include/pa_version.h.new
22: echo "#define PARSER_VERSION \"$PARSER_VERSION\"" >> $srcdir/src/include/pa_version.h.new
23: cmp $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h >/dev/null 2>&1
1.1 paf 24: if test $? -ne 0 ; then
1.63 paf 25: rm -f $srcdir/src/include/pa_version.h && mv $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h && \
26: echo Updated $srcdir/src/include/pa_version.h
1.1 paf 27: else
1.8 paf 28: rm -f $srcdir/src/include/pa_version.h.new
1.1 paf 29: fi
30:
1.41 paf 31: AC_SUBST(host_os)
1.63 paf 32: case $host_os in
33: *cygwin* ) AC_DEFINE(CYGWIN,,using cygwin building environment);;
34: esac
1.41 paf 35:
1.142 moko 36:
37: dnl Checks for programs
1.1 paf 38: AC_PROG_INSTALL
1.41 paf 39: AC_PROG_AWK
40:
41: AC_PROG_YACC
42: if test "$YACC" != "bison -y"; then
1.63 paf 43: AC_MSG_WARN(to regenerate Parser grammar YOU WOULD NEED BISON)
1.41 paf 44: else
1.63 paf 45: AC_MSG_CHECKING(bison version)
46: oldIFS=$IFS; IFS=.
47: set `bison -V | sed -e 's/^GNU Bison version //' -e 's/^bison (GNU Bison) //' -e 's/$/./'`
48: IFS=$oldIFS
49: if test "$1" = "1" -a "$2" -lt "25"; then
50: AC_MSG_WARN(Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2).)
51: fi
52: AC_MSG_RESULT($1.$2 (ok))
1.41 paf 53: fi
54:
1.62 paf 55: AC_PROG_CXX
1.1 paf 56: AC_PROG_CC
1.142 moko 57:
1.63 paf 58: dnl most tests should be compiled with C compiler [especially qsort test]
1.142 moko 59: AC_LANG_C
60:
1.1 paf 61:
1.141 moko 62: dnl Dll extension
63: AC_MSG_CHECKING(for dynamic-link library extension)
64: case "$host_os" in
65: cygwin)
66: dll_extension=dll
67: ;;
68: *)
69: dll_extension=so
70: esac
71: AC_MSG_RESULT($dll_extension)
72: AC_SUBST(dll_extension)
1.1 paf 73:
1.141 moko 74:
75: dnl Misc arguments
1.69 paf 76: AC_ARG_WITH(build-warnings, [ --with-build-warnings to enable build-time compiler warnings if gcc is used],
77: AC_MSG_WARN(enabling compiler warnings)
78: CXXFLAGS="$CXXFLAGS -W -Wall -Wstrict-prototypes -Wmissing-prototypes"
79: )
80:
1.63 paf 81: AC_ARG_WITH(assertions, [ --with-assertions to enable assertions],
82: AC_MSG_WARN(enabling assertions)
83: ,
84: AC_DEFINE(NDEBUG,,assertions disabled)
85: )
86:
1.141 moko 87: AC_ARG_WITH(pathlink,[ --with-pathlink=LKEY put dynamic libraries paths to binary
88: using linker key (-R, -rpath-link)],
89: LD_PATHLINK=$withval
90: )
91:
92: AC_ARG_WITH(sjlj-exceptions,[ --with-sjlj-exceptions enable simple 'throw' from dynamic library],
93: AC_DEFINE(PA_WITH_SJLJ_EXCEPTIONS,,one can throw from dynamic library)
94: )
1.96 misha 95:
1.141 moko 96:
97: dnl Safe mode argument
1.63 paf 98: AC_ARG_ENABLE(safe-mode, [ --disable-safe-mode to enable reading and executing
1.56 paf 99: files belonging to group+user other then effective],
1.1 paf 100: [
1.63 paf 101: SAFE_MODE=$enableval
1.1 paf 102: ]
103: )
1.141 moko 104:
1.56 paf 105: if test "$SAFE_MODE" = "no"; then
106: AC_MSG_WARN(enabling reading of files belonging to group+user other then effective)
107: else
1.57 paf 108: AC_DEFINE(PA_SAFE_MODE,,disabled reading of files belonging to group+user other then effective)
1.56 paf 109: fi
1.1 paf 110:
1.96 misha 111:
1.141 moko 112: dnl Disable execs argument
1.96 misha 113: AC_ARG_ENABLE(execs, [ --disable-execs to disable any execs
1.15 paf 114: (file::exec, file::cgi, unix mail:send)],
115: [
116: if test "$enableval" = "no"; then
1.16 paf 117: AC_MSG_WARN(disabling file execs)
1.15 paf 118: AC_DEFINE(NO_PA_EXECS,,pa_exec disabled)
1.16 paf 119: fi
120: ]
121: )
122:
1.56 paf 123:
1.141 moko 124: dnl String stream argument
1.96 misha 125: AC_ARG_ENABLE(stringstream, [ --disable-stringstream to disable stringstream usage.
126: when disabled table.save use more memory but it's safer on freebsd 4.x],
127: [
128: if test "$enableval" = "no"; then
129: AC_MSG_WARN(disabling stringstream usage)
130: AC_DEFINE(NO_STRINGSTREAM,,stringstream disabled)
131: fi
132: ]
133: )
134:
135:
1.141 moko 136: dnl Dynamic libstdc++ argument
1.63 paf 137: AC_ARG_WITH(dynamic-stdcpp, [ --with-dynamic-stdcpp link libstdc++ dynamically
138: by default, libstdc++ is linked statically],[
1.139 moko 139: AC_MSG_WARN(libstdc++ will be linked dynamically)
1.63 paf 140: CPP_LIBS="-lstdc++"
141: ],[
142: CPP_LIBS="-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic"
143: ])
144: AC_SUBST(CPP_LIBS)
145:
1.55 paf 146:
1.141 moko 147: dnl GC argument
1.63 paf 148: GC_LIB_NAME=gc
149: AC_ARG_WITH(shared-gc,[ --with-shared-gc[=D] D is the directory where
150: Boehm garbage collecting library is installed (shared lib)],[
151: GC_LIBS="-L$withval -l$GC_LIB_NAME"
152: ])
153: AC_ARG_WITH(static-gc,[ --with-static-gc[=D] D is the directory where
154: Boehm garbage collecting library is installed (static lib)],[
1.131 moko 155: GC_LIBS="$withval/lib$GC_LIB_NAME.a"
1.63 paf 156: ])
157: if test -z "$GC_LIBS"; then
158: #undefined? use any found in system
159: GC_LIBS="-l$GC_LIB_NAME"
160: AC_MSG_WARN([neither --with-shared/static-gc were specified, hoping linker would find it])
161: fi
1.55 paf 162:
1.63 paf 163: AC_MSG_CHECKING(for libgc)
164: SAVE_LIBS=$LIBS
165: LIBS="$LIBS $GC_LIBS"
166: AC_TRY_LINK([
167: extern int GC_dont_gc;
168: ],[
169: GC_dont_gc=0;
170: ],
171: AC_MSG_RESULT(yes)
172: ,
173: AC_MSG_RESULT(no)
174: AC_MSG_ERROR(please specify path to libgc: --with-shared-gc OR --with-static-gc)
1.38 paf 175: )
1.63 paf 176: AC_SUBST(GC_LIBS)
177: LIBS=$SAVE_LIBS
1.1 paf 178:
1.17 paf 179:
1.141 moko 180: dnl PCRE argument
1.125 misha 181: AC_ARG_WITH(static-pcre,[ --with-static-pcre=D D is the directory where
1.103 misha 182: PCRE library is installed (static lib)],[
183: PCRE=$withval
184: PCREINC="$PCRE/include"
185: PCRELIB="$PCRE/lib"
186:
187: if test \! -d $PCREINC -o \! -d $PCRELIB; then
188: AC_MSG_ERROR($PCRE does not seem to be valid PCRE installation directory)
189: fi
190:
191: PCRE_INCLUDES="-I$PCREINC"
192: PCRE_LIBS="$PCRELIB/libpcre.a"
193: ])
194: AC_SUBST(PCRE_INCLUDES)
195: AC_SUBST(PCRE_LIBS)
196:
197:
1.141 moko 198: dnl XML/XSLT argument
1.12 paf 199: AC_ARG_WITH(shared-xml,[ --with-shared-xml=D D is the directory where
200: Gnome XML libraries are installed (shared libs)],[
1.63 paf 201: GNOME_XML=$withval
202: XMLBIN="$GNOME_XML/bin"
203: XMLINC="$GNOME_XML/include"
204: XMLLIB="$GNOME_XML/lib"
205:
206: if test \! -d $XMLBIN -o \! -d $XMLINC -o \! -d $XMLLIB; then
207: AC_MSG_ERROR($GNOME_XML does not seem to be valid Gnome installation directory)
208: fi
209:
210: AC_DEFINE(XML,,xml-abled parser (uses shared library))
211:
212: LIBXML2_SO_NAME=`cd $XMLLIB ; ls libxml2.?? libxml2.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
213: LIBXSLT_SO_NAME=`cd $XMLLIB ; ls libxslt.?? libxslt.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
214: LIBEXSLT_SO_NAME=`cd $XMLLIB ; ls libexslt.?? libexslt.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
215:
1.91 paf 216: XML_INCLUDES="$GLIB_CFLAGS -I$XMLINC -I$XMLINC/libxml2"
217: XML_LIBS="-L$XMLLIB -l$LIBXML2_SO_NAME -l$LIBXSLT_SO_NAME -l$LIBEXSLT_SO_NAME"
1.63 paf 218: if test \! -z "$LD_PATHLINK"; then
1.13 paf 219: XML_LIBS="$XML_LIBS -Wl,$LD_PATHLINK -Wl,$XMLLIB"
1.63 paf 220: fi
1.1 paf 221: ])
1.12 paf 222: AC_ARG_WITH(static-xml,[ --with-static-xml=D D is the directory where
223: Gnome XML libraries are installed (static libs)],[
1.63 paf 224: GNOME_XML=$withval
225: XMLBIN="$GNOME_XML/bin"
226: XMLINC="$GNOME_XML/include"
227: XMLLIB="$GNOME_XML/lib"
228:
229: if test \! -d $XMLBIN -o \! -d $XMLINC -o \! -d $XMLLIB; then
230: AC_MSG_ERROR($GNOME_XML does not seem to be valid Gnome installation directory)
231: fi
232:
233: AC_DEFINE(XML,,xml-abled parser (uses static library))
234:
1.91 paf 235: XML_INCLUDES="$GLIB_CFLAGS -I$XMLINC -I$XMLINC/libxml2"
236: XML_LIBS="$XMLLIB/libxslt.a $XMLLIB/libexslt.a $XMLLIB/libxml2.a"
1.12 paf 237: ])
1.1 paf 238: AC_SUBST(XML_INCLUDES)
239: AC_SUBST(XML_LIBS)
1.33 paf 240:
1.141 moko 241: dnl Mail receive argument
1.91 paf 242: AC_ARG_WITH(glib-config,[ --with-glib-config=FILE FILE is glib library
243: configuration file (search for glib*-config)],
244: GLIB_CONFIG=$withval
245: )
246:
1.33 paf 247: AC_ARG_WITH(shared-mailreceive,[ --with-shared-mailreceive=D is the directory where
1.63 paf 248: Gnome MIME library is installed (shared lib)],[
249: GNOME_MIME=$withval
250: MIMEBIN="$GNOME_MIME/bin"
251: MIMEINC="$GNOME_MIME/include"
252: MIMELIB="$GNOME_MIME/lib"
253:
254: if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then
255: AC_MSG_ERROR($GNOME_MIME does not seem to be valid Gnome installation directory)
256: fi
257:
258: AC_DEFINE(WITH_MAILRECEIVE,,has \$mail:received (uses shared library))
259:
260: LIBMIME_SO_NAME=`cd $MIMELIB ; ls libgmime.?? libgmime.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
261:
262: if test -z "$GLIB_CONFIG"; then
1.91 paf 263: GLIB_CONFIG=$XMLBIN/glib-config
1.63 paf 264: if test \! -x $GLIB_CONFIG; then
1.91 paf 265: GLIB_CONFIG=$XMLBIN/glib2-config
266: if test \! -x $GLIB_CONFIG; then
267: GLIB_CONFIG=glib-config
268: fi
1.63 paf 269: fi
270: fi
271: GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
272: GLIB_LIBS=`$GLIB_CONFIG --libs`
273:
274: MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime"
275: MIME_LIBS="$GLIB_LIBS -L$MIMELIB -l$LIBMIME_SO_NAME"
276: if test \! -z "$LD_PATHLINK"; then
1.33 paf 277: MIME_LIBS="$MIME_LIBS -Wl,$LD_PATHLINK -Wl,$MIMELIB"
1.63 paf 278: fi
1.33 paf 279: ])
280: AC_ARG_WITH(static-mailreceive,[ --with-static-mailreceive=D is the directory where
281: Gnome MIME library is installed (static lib)],[
1.63 paf 282: GNOME_MIME=$withval
283: MIMEBIN="$GNOME_MIME/bin"
284: MIMEINC="$GNOME_MIME/include"
285: MIMELIB="$GNOME_MIME/lib"
286:
287: if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then
288: AC_MSG_ERROR($GNOME_MIME does not seem to be valid Gnome installation directory)
289: fi
290:
291: AC_DEFINE(WITH_MAILRECEIVE,,has \$mail:received (uses static library))
292:
293: if test -z "$GLIB_CONFIG"; then
1.91 paf 294: GLIB_CONFIG=$XMLBIN/glib-config
1.63 paf 295: if test \! -x $GLIB_CONFIG; then
1.91 paf 296: GLIB_CONFIG=$XMLBIN/glib2-config
297: if test \! -x $GLIB_CONFIG; then
298: GLIB_CONFIG=glib-config
299: fi
1.63 paf 300: fi
301: fi
302: GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
1.33 paf 303:
304: dnl '-L/usr/local/lib -lglib' -> /usr/local/lib
305: changequote(, )dnl
1.63 paf 306: GLIB_DIR=`$GLIB_CONFIG --libs | sed 's/.*-L\([^ ]*\).*/\1/'`
307: GLIB_NAME=`$GLIB_CONFIG --libs | sed 's/.*-l\([^ ]*\).*/\1/'`
1.33 paf 308: changequote([, ])dnl
1.63 paf 309: MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime"
310: MIME_LIBS="$MIMELIB/libgmime.a $GLIB_DIR/lib$GLIB_NAME.a"
1.33 paf 311: ])
312: AC_SUBST(MIME_INCLUDES)
313: AC_SUBST(MIME_LIBS)
1.18 paf 314:
315:
1.141 moko 316: dnl Sendmail argument
1.18 paf 317: AC_ARG_WITH(sendmail,[ \"--with-sendmail=COMMAND\" forces this command to send mail.
318: example: \"--with-sendmail=/usr/sbin/sendmail -t\"
319: (makes parser ignore user-defined sendmail commands)],
320: AC_DEFINE_UNQUOTED(PA_FORCED_SENDMAIL,"$withval",parser uses this command instead of user-defined sendmail commands)
321: )
322:
1.14 paf 323:
1.141 moko 324: dnl Apache module argument
1.131 moko 325: AC_ARG_WITH(apache,[ --with-apache=FILE is the full path for APXS
326: builds apache DSO module using apxs],[
327: APXS=$withval
328:
329: if test -z "$APXS" -o "$APXS" = "yes"; then
330: APXS=`which apxs 2>/dev/null`
331: fi;
332:
333: APACHE=`$APXS -q TARGET 2>/dev/null`
334:
335: if test -z "$APACHE"; then
336: AC_MSG_ERROR($APXS does not seem to be valid apache apxs utility path)
1.63 paf 337: fi
1.131 moko 338:
339: APACHE_MAIN_INC=`$APXS -q INCLUDEDIR`
340: APACHE_EXTRA_INC=`$APXS -q EXTRA_INCLUDES 2>/dev/null`
341: APACHE_INC="-I$APACHE_MAIN_INC $APACHE_EXTRA_INC"
342: APACHE_CFLAGS=`$APXS -q CFLAGS`
343: ])
344: AC_SUBST(APACHE)
345: AC_SUBST(APACHE_INC)
346: AC_SUBST(APACHE_CFLAGS)
347: AM_CONDITIONAL(COMPILE_APACHE_MODULE, test -n "$APACHE")
1.14 paf 348:
1.1 paf 349:
350: dnl Enable building of the convenience library
1.142 moko 351: LT_CONFIG_LTDL_DIR(src/lib/ltdl)
352: LT_INIT(dlopen win32-dll)
353: LTDL_INIT
1.1 paf 354:
1.60 paf 355:
1.142 moko 356: dnl Configure libtool
357: AC_DISABLE_STATIC
1.141 moko 358:
1.1 paf 359:
360: dnl Checks for typedefs, structures, and compiler characteristics.
1.79 paf 361: AC_C_BIGENDIAN(
362: AC_DEFINE(PA_BIG_ENDIAN,,compile for sparc processor)
363: ,
364: AC_DEFINE(PA_LITTLE_ENDIAN,,compile for intel processor or compatible)
365: ,
366: AC_MSG_ERROR(word endianness not determined for some obscure reason)
367: )
368:
1.1 paf 369: AC_TYPE_SIZE_T
1.141 moko 370:
1.142 moko 371:
1.34 paf 372: dnl gmime
373: AC_CHECK_TYPE(off_t, long)
374: AC_CHECK_TYPE(ssize_t, int)
375:
1.1 paf 376:
1.62 paf 377: dnl Checks for C header files.
1.10 paf 378: AC_HEADER_TIME
379:
1.1 paf 380: AC_CHECK_HEADERS(
1.63 paf 381: assert.h \
1.48 paf 382: signal.h \
1.1 paf 383: unistd.h \
384: process.h \
385: stddef.h \
386: stdarg.h \
387: fcntl.h \
388: sys/stat.h \
389: io.h \
390: stdio.h \
391: errno.h \
392: ctype.h \
393: math.h \
1.35 paf 394: crypt.h \
1.3 paf 395: time.h sys/time.h \
1.1 paf 396: string.h \
397: direct.h \
398: setjmp.h \
399: memory.h \
1.140 moko 400: limits.h \
1.1 paf 401: sys/file.h \
402: sys/locking.h \
1.3 paf 403: sys/types.h \
1.5 paf 404: sys/select.h \
1.39 paf 405: sys/resource.h \
1.49 paf 406: winsock.h \
407: sys/socket.h \
408: netinet/in.h \
409: arpa/inet.h \
410: netdb.h
1.1 paf 411: )
412:
1.142 moko 413:
414: dnl Checks for libraries
415:
1.1 paf 416:
417: dnl Some systems (Solaris 2.x) require libnsl (Network Services Library)
418: case "$host" in
1.114 misha 419: *-freebsd4*)
420: AC_DEFINE(FREEBSD4,,FreeBSD4X target platform)
421: ;;
1.1 paf 422: *-sunos5.6* | *-solaris2.6*)
1.63 paf 423: AC_CHECK_LIB(xnet, main)
1.1 paf 424: ;;
425: *-sunos5* | *-solaris2*)
1.63 paf 426: AC_CHECK_LIB(socket, main)
427: AC_CHECK_LIB(nsl, main)
1.1 paf 428: ;;
429: *-nec-sysv4*)
1.63 paf 430: AC_CHECK_LIB(nsl, gethostbyname)
431: AC_CHECK_LIB(socket, socket)
1.1 paf 432: ;;
433: *-cygwin*)
1.63 paf 434: AC_DEFINE(WIN32,,Windows32 target platform)
435: AC_CHECK_LIB(wsock32, socket)
1.1 paf 436: ;;
437: esac
438:
439: AC_CHECK_LIB(m, sin)
1.35 paf 440: AC_CHECK_LIB(crypt, crypt)
441:
1.1 paf 442: dnl Checks for functions.
443:
444: AC_CHECK_FUNCS(
445: flock \
446: _locking \
1.7 paf 447: fcntl \
1.4 paf 448: lockf \
1.53 paf 449: ftruncate \
1.119 misha 450: fchmod \
1.35 paf 451: getrusage \
1.47 paf 452: gettimeofday \
1.49 paf 453: crypt \
1.80 paf 454: sigsetjmp \
1.94 misha 455: siglongjmp \
456: unsetenv
1.63 paf 457: )
458:
1.142 moko 459: dnl on some linux[seen on 2.4] it's a macro
1.63 paf 460: PA_CHECK_SIGSETJMP
461:
462: dnl see comment above
463: AC_LANG_PUSH(C++)
464: PA_CHECK_MATH_FUNCS_ONE_ARG(
465: trunc \
466: round \
467: sign
1.1 paf 468: )
1.63 paf 469: AC_LANG_POP
1.3 paf 470:
1.75 paf 471: dnl We require qsort(3)
1.3 paf 472:
473: AC_CHECK_FUNCS(qsort, , AC_MSG_ERROR([No qsort library function.]))
1.1 paf 474:
1.46 paf 475: dnl For correct mail receiving we need to know local offset from GMT
476: dnl it be timezone+(daylight?60*60*sign(timezone):0)
477: dnl or it can be tm.tm_gmtoff
478: dnl or it can be tm.tm_tzadj
479:
480: AC_MSG_CHECKING(for timezone variable)
1.141 moko 481: AC_TRY_COMPILE([#include <time.h>],
1.46 paf 482: [
483: time_t test=timezone;
1.141 moko 484: ],
485: AC_DEFINE(HAVE_TIMEZONE)
486: AC_MSG_RESULT(yes),
487: AC_MSG_RESULT(no))
1.46 paf 488:
489: AC_MSG_CHECKING(for daylight variable)
1.141 moko 490: AC_TRY_COMPILE([#include <time.h>],
1.46 paf 491: [
492: int test=daylight;
1.141 moko 493: ],
494: AC_DEFINE(HAVE_DAYLIGHT)
495: AC_MSG_RESULT(yes),
496: AC_MSG_RESULT(no))
1.46 paf 497:
498: AC_MSG_CHECKING(for tm_gmtoff in struct tm)
1.141 moko 499: AC_TRY_COMPILE([#include <time.h>],
500: [struct tm tm;
501: tm.tm_gmtoff=0;
502: ],
503: AC_DEFINE(HAVE_TM_GMTOFF)
504: AC_MSG_RESULT(yes),
505: AC_MSG_RESULT(no))
1.46 paf 506:
507: AC_MSG_CHECKING(for tm_tzadj in struct tm)
1.141 moko 508: AC_TRY_COMPILE([#include <time.h>],
509: [struct tm tm;
510: tm.tm_tzadj=0;
511: ],
512: AC_DEFINE(HAVE_TM_TZADJ)
513: AC_MSG_RESULT(yes),
514: AC_MSG_RESULT(no))
515:
1.17 paf 516:
1.58 paf 517: dnl Output header and makefiles
518: AH_TEMPLATE([HAVE_DLD],[Define if you have the GNU dld library])
519:
520: AH_TEMPLATE([HAVE_LIBDL],
521: [Define if you have the libdl library or equivalent.])
522:
523: AH_TEMPLATE([HAVE_SHL_LOAD],
524: [Define if you have the shl_load function. ])
525:
526:
527: AH_TEMPLATE([size_t],
528: [Define to `unsigned int' if <sys/types.h> does not define.])
529:
530: AH_TEMPLATE([ssize_t],
531: [Define to `int' if <sys/types.h> does not define.])
532:
533: AH_TEMPLATE([HAVE_DAYLIGHT],
534: [Define if you have daylight external variable in <time.h>])
535:
536: AH_TEMPLATE([HAVE_TIMEZONE],
537: [Define if you have timezone external variable in <time.h>])
538:
539: AH_TEMPLATE([HAVE_TM_GMTOFF],
540: [Define if you have tm_gmtoff member of tm structure in <time.h>])
541:
542: AH_TEMPLATE([HAVE_TM_TZADJ],
543: [Define if you have tm_tzadj member of tm structure in <time.h>])
544:
1.1 paf 545:
546: AM_CONFIG_HEADER(src/include/pa_config_auto.h)
1.141 moko 547:
1.66 paf 548: AC_OUTPUT(
549: Makefile
550: src/Makefile
551: src/types/Makefile
552: src/classes/Makefile
553: src/include/Makefile
554: src/main/Makefile
555: src/sql/Makefile
556: src/lib/Makefile
1.71 paf 557: src/lib/gd/Makefile
558: src/lib/smtp/Makefile
1.66 paf 559: src/lib/gc/Makefile
560: src/lib/gc/include/Makefile
1.108 misha 561: src/lib/pcre/Makefile
1.66 paf 562: src/lib/cord/Makefile
563: src/lib/cord/include/Makefile
564: src/lib/cord/include/private/Makefile
565: src/lib/md5/Makefile
566: src/lib/sdbm/Makefile
1.133 moko 567: src/lib/sdbm/pa-include/Makefile
1.128 misha 568: src/lib/json/Makefile
1.137 moko 569: src/lib/memcached/Makefile
1.138 moko 570: src/lib/curl/Makefile
1.66 paf 571: src/targets/Makefile
572: src/targets/cgi/Makefile
1.131 moko 573: src/targets/apache/Makefile
1.66 paf 574: src/targets/isapi/Makefile
575: etc/Makefile
576: etc/parser3.charsets/Makefile
1.67 paf 577: bin/Makefile
578: bin/auto.p.dist)
E-mail: