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