Annotation of parser3/configure, revision 1.66.2.5.2.3
1.1 paf 1: #! /bin/sh
2: # Guess values for system-dependent variables and create Makefiles.
1.62 paf 3: # Generated by GNU Autoconf 2.57.
1.1 paf 4: #
1.62 paf 5: # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6: # Free Software Foundation, Inc.
1.1 paf 7: # This configure script is free software; the Free Software Foundation
8: # gives unlimited permission to copy, distribute and modify it.
1.62 paf 9: ## --------------------- ##
10: ## M4sh Initialization. ##
11: ## --------------------- ##
12:
13: # Be Bourne compatible
14: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15: emulate sh
16: NULLCMD=:
17: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18: # is contrary to our usage. Disable this feature.
19: alias -g '${1+"$@"}'='"$@"'
20: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21: set -o posix
22: fi
23:
24: # Support unset when possible.
25: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
26: as_unset=unset
27: else
28: as_unset=false
29: fi
30:
31:
32: # Work around bugs in pre-3.0 UWIN ksh.
33: $as_unset ENV MAIL MAILPATH
34: PS1='$ '
35: PS2='> '
36: PS4='+ '
37:
38: # NLS nuisances.
39: for as_var in \
40: LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41: LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42: LC_TELEPHONE LC_TIME
43: do
44: if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45: eval $as_var=C; export $as_var
46: else
47: $as_unset $as_var
48: fi
49: done
50:
51: # Required to use basename.
52: if expr a : '\(a\)' >/dev/null 2>&1; then
53: as_expr=expr
54: else
55: as_expr=false
56: fi
57:
58: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59: as_basename=basename
60: else
61: as_basename=false
62: fi
63:
64:
65: # Name of the executable.
66: as_me=`$as_basename "$0" ||
67: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68: X"$0" : 'X\(//\)$' \| \
69: X"$0" : 'X\(/\)$' \| \
70: . : '\(.\)' 2>/dev/null ||
71: echo X/"$0" |
72: sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73: /^X\/\(\/\/\)$/{ s//\1/; q; }
74: /^X\/\(\/\).*/{ s//\1/; q; }
75: s/.*/./; q'`
76:
77:
78: # PATH needs CR, and LINENO needs CR and PATH.
79: # Avoid depending upon Character Ranges.
80: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83: as_cr_digits='0123456789'
84: as_cr_alnum=$as_cr_Letters$as_cr_digits
85:
86: # The user is always right.
87: if test "${PATH_SEPARATOR+set}" != set; then
88: echo "#! /bin/sh" >conf$$.sh
89: echo "exit 0" >>conf$$.sh
90: chmod +x conf$$.sh
91: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92: PATH_SEPARATOR=';'
93: else
94: PATH_SEPARATOR=:
95: fi
96: rm -f conf$$.sh
97: fi
98:
99:
100: as_lineno_1=$LINENO
101: as_lineno_2=$LINENO
102: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103: test "x$as_lineno_1" != "x$as_lineno_2" &&
104: test "x$as_lineno_3" = "x$as_lineno_2" || {
105: # Find who we are. Look in the path if we contain no path at all
106: # relative or not.
107: case $0 in
108: *[\\/]* ) as_myself=$0 ;;
109: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110: for as_dir in $PATH
111: do
112: IFS=$as_save_IFS
113: test -z "$as_dir" && as_dir=.
114: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115: done
116:
117: ;;
118: esac
119: # We did not find ourselves, most probably we were run as `sh COMMAND'
120: # in which case we are not to be found in the path.
121: if test "x$as_myself" = x; then
122: as_myself=$0
123: fi
124: if test ! -f "$as_myself"; then
125: { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126: { (exit 1); exit 1; }; }
127: fi
128: case $CONFIG_SHELL in
129: '')
130: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132: do
133: IFS=$as_save_IFS
134: test -z "$as_dir" && as_dir=.
135: for as_base in sh bash ksh sh5; do
136: case $as_dir in
137: /*)
138: if ("$as_dir/$as_base" -c '
139: as_lineno_1=$LINENO
140: as_lineno_2=$LINENO
141: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142: test "x$as_lineno_1" != "x$as_lineno_2" &&
143: test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144: $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145: $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146: CONFIG_SHELL=$as_dir/$as_base
147: export CONFIG_SHELL
148: exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149: fi;;
150: esac
151: done
152: done
153: ;;
154: esac
155:
156: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157: # uniformly replaced by the line number. The first 'sed' inserts a
158: # line-number line before each line; the second 'sed' does the real
159: # work. The second script uses 'N' to pair each line-number line
160: # with the numbered line, and appends trailing '-' during
161: # substitution so that $LINENO is not a special case at line end.
162: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163: # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164: sed '=' <$as_myself |
165: sed '
166: N
167: s,$,-,
168: : loop
169: s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170: t loop
171: s,-$,,
172: s,^['$as_cr_digits']*\n,,
173: ' >$as_me.lineno &&
174: chmod +x $as_me.lineno ||
175: { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176: { (exit 1); exit 1; }; }
177:
178: # Don't try to exec as it changes $[0], causing all sort of problems
179: # (the dirname of $[0] is not the place where we might find the
180: # original and so on. Autoconf is especially sensible to this).
181: . ./$as_me.lineno
182: # Exit status is that of the last command.
183: exit
184: }
185:
186:
187: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188: *c*,-n*) ECHO_N= ECHO_C='
189: ' ECHO_T=' ' ;;
190: *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191: *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192: esac
193:
194: if expr a : '\(a\)' >/dev/null 2>&1; then
195: as_expr=expr
196: else
197: as_expr=false
198: fi
199:
200: rm -f conf$$ conf$$.exe conf$$.file
201: echo >conf$$.file
202: if ln -s conf$$.file conf$$ 2>/dev/null; then
203: # We could just check for DJGPP; but this test a) works b) is more generic
204: # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205: if test -f conf$$.exe; then
206: # Don't use ln at all; we don't have any links
207: as_ln_s='cp -p'
208: else
209: as_ln_s='ln -s'
210: fi
211: elif ln conf$$.file conf$$ 2>/dev/null; then
212: as_ln_s=ln
213: else
214: as_ln_s='cp -p'
215: fi
216: rm -f conf$$ conf$$.exe conf$$.file
217:
218: if mkdir -p . 2>/dev/null; then
219: as_mkdir_p=:
220: else
221: as_mkdir_p=false
222: fi
223:
224: as_executable_p="test -f"
225:
226: # Sed expression to map a string onto a valid CPP name.
227: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
228:
229: # Sed expression to map a string onto a valid variable name.
230: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
231:
232:
233: # IFS
234: # We need space, tab and new line, in precisely that order.
235: as_nl='
236: '
237: IFS=" $as_nl"
238:
239: # CDPATH.
240: $as_unset CDPATH
241:
1.1 paf 242:
1.62 paf 243: # Name of the host.
244: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245: # so uname gets run too.
246: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
247:
248: exec 6>&1
249:
250: #
251: # Initializations.
252: #
1.1 paf 253: ac_default_prefix=/usr/local
1.62 paf 254: ac_config_libobj_dir=.
255: cross_compiling=no
256: subdirs=
257: MFLAGS=
258: MAKEFLAGS=
259: SHELL=${CONFIG_SHELL-/bin/sh}
260:
261: # Maximum number of lines to put in a shell here document.
262: # This variable seems obsolete. It should probably be removed, and
263: # only ac_max_sed_lines should be used.
264: : ${ac_max_here_lines=38}
265:
266: # Identity of this package.
267: PACKAGE_NAME=
268: PACKAGE_TARNAME=
269: PACKAGE_VERSION=
270: PACKAGE_STRING=
271: PACKAGE_BUGREPORT=
272:
273: ac_unique_file="README"
274: ac_subdirs_all="$ac_subdirs_all src/lib/ltdl"
275: # Factoring default headers for most tests.
276: ac_includes_default="\
277: #include <stdio.h>
278: #if HAVE_SYS_TYPES_H
279: # include <sys/types.h>
280: #endif
281: #if HAVE_SYS_STAT_H
282: # include <sys/stat.h>
283: #endif
284: #if STDC_HEADERS
285: # include <stdlib.h>
286: # include <stddef.h>
287: #else
288: # if HAVE_STDLIB_H
289: # include <stdlib.h>
290: # endif
291: #endif
292: #if HAVE_STRING_H
293: # if !STDC_HEADERS && HAVE_MEMORY_H
294: # include <memory.h>
295: # endif
296: # include <string.h>
297: #endif
298: #if HAVE_STRINGS_H
299: # include <strings.h>
300: #endif
301: #if HAVE_INTTYPES_H
302: # include <inttypes.h>
303: #else
304: # if HAVE_STDINT_H
305: # include <stdint.h>
306: # endif
307: #endif
308: #if HAVE_UNISTD_H
309: # include <unistd.h>
310: #endif"
311:
1.66.2.5.2.1 paf 312: ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE P3S build build_cpu build_vendor build_os host host_cpu host_vendor host_os RANLIB ac_ct_RANLIB YACC CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE commentcharset_windows1251 commentcharset_windows1250 commentcharset_windows1257 commentcharset_koi8r dll_extension mysql_client pgsql_client oracle_client CPP_LIBS GC_LIBS XML_INCLUDES XML_LIBS MIME_INCLUDES MIME_LIBS APACHE13 COMPILE_APACHE13_MODULE_TRUE COMPILE_APACHE13_MODULE_FALSE INCLTDL LIBLTDL subdirs LIBADD_DL CPP EGREP charsetsdir sqldriversdir LIBOBJS LTLIBOBJS'
1.62 paf 313: ac_subst_files=''
1.1 paf 314:
315: # Initialize some variables set by options.
1.62 paf 316: ac_init_help=
317: ac_init_version=false
1.1 paf 318: # The variables have the same names as the options, with
319: # dashes changed to underlines.
1.62 paf 320: cache_file=/dev/null
1.1 paf 321: exec_prefix=NONE
322: no_create=
323: no_recursion=
324: prefix=NONE
325: program_prefix=NONE
326: program_suffix=NONE
327: program_transform_name=s,x,x,
328: silent=
329: site=
330: srcdir=
331: verbose=
332: x_includes=NONE
333: x_libraries=NONE
1.62 paf 334:
335: # Installation directory options.
336: # These are left unexpanded so users can "make install exec_prefix=/foo"
337: # and all the variables that are supposed to be based on exec_prefix
338: # by default will actually change.
339: # Use braces instead of parens because sh, perl, etc. also accept them.
1.1 paf 340: bindir='${exec_prefix}/bin'
341: sbindir='${exec_prefix}/sbin'
342: libexecdir='${exec_prefix}/libexec'
343: datadir='${prefix}/share'
344: sysconfdir='${prefix}/etc'
345: sharedstatedir='${prefix}/com'
346: localstatedir='${prefix}/var'
347: libdir='${exec_prefix}/lib'
348: includedir='${prefix}/include'
349: oldincludedir='/usr/include'
350: infodir='${prefix}/info'
351: mandir='${prefix}/man'
352:
353: ac_prev=
354: for ac_option
355: do
356: # If the previous option needs an argument, assign it.
357: if test -n "$ac_prev"; then
358: eval "$ac_prev=\$ac_option"
359: ac_prev=
360: continue
361: fi
362:
1.62 paf 363: ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1.1 paf 364:
365: # Accept the important Cygnus configure options, so we can diagnose typos.
366:
1.62 paf 367: case $ac_option in
1.1 paf 368:
369: -bindir | --bindir | --bindi | --bind | --bin | --bi)
370: ac_prev=bindir ;;
371: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.62 paf 372: bindir=$ac_optarg ;;
1.1 paf 373:
374: -build | --build | --buil | --bui | --bu)
1.62 paf 375: ac_prev=build_alias ;;
1.1 paf 376: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.62 paf 377: build_alias=$ac_optarg ;;
1.1 paf 378:
379: -cache-file | --cache-file | --cache-fil | --cache-fi \
380: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381: ac_prev=cache_file ;;
382: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.62 paf 384: cache_file=$ac_optarg ;;
385:
386: --config-cache | -C)
387: cache_file=config.cache ;;
1.1 paf 388:
389: -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390: ac_prev=datadir ;;
391: -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392: | --da=*)
1.62 paf 393: datadir=$ac_optarg ;;
1.1 paf 394:
395: -disable-* | --disable-*)
1.62 paf 396: ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1 paf 397: # Reject names that are not valid shell variable names.
1.62 paf 398: expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399: { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400: { (exit 1); exit 1; }; }
401: ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402: eval "enable_$ac_feature=no" ;;
1.1 paf 403:
404: -enable-* | --enable-*)
1.62 paf 405: ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1 paf 406: # Reject names that are not valid shell variable names.
1.62 paf 407: expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408: { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409: { (exit 1); exit 1; }; }
410: ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411: case $ac_option in
412: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1 paf 413: *) ac_optarg=yes ;;
414: esac
1.62 paf 415: eval "enable_$ac_feature='$ac_optarg'" ;;
1.1 paf 416:
417: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419: | --exec | --exe | --ex)
420: ac_prev=exec_prefix ;;
421: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423: | --exec=* | --exe=* | --ex=*)
1.62 paf 424: exec_prefix=$ac_optarg ;;
1.1 paf 425:
426: -gas | --gas | --ga | --g)
427: # Obsolete; use --with-gas.
428: with_gas=yes ;;
429:
1.62 paf 430: -help | --help | --hel | --he | -h)
431: ac_init_help=long ;;
432: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433: ac_init_help=recursive ;;
434: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435: ac_init_help=short ;;
1.1 paf 436:
437: -host | --host | --hos | --ho)
1.62 paf 438: ac_prev=host_alias ;;
1.1 paf 439: -host=* | --host=* | --hos=* | --ho=*)
1.62 paf 440: host_alias=$ac_optarg ;;
1.1 paf 441:
442: -includedir | --includedir | --includedi | --included | --include \
443: | --includ | --inclu | --incl | --inc)
444: ac_prev=includedir ;;
445: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446: | --includ=* | --inclu=* | --incl=* | --inc=*)
1.62 paf 447: includedir=$ac_optarg ;;
1.1 paf 448:
449: -infodir | --infodir | --infodi | --infod | --info | --inf)
450: ac_prev=infodir ;;
451: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.62 paf 452: infodir=$ac_optarg ;;
1.1 paf 453:
454: -libdir | --libdir | --libdi | --libd)
455: ac_prev=libdir ;;
456: -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.62 paf 457: libdir=$ac_optarg ;;
1.1 paf 458:
459: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460: | --libexe | --libex | --libe)
461: ac_prev=libexecdir ;;
462: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463: | --libexe=* | --libex=* | --libe=*)
1.62 paf 464: libexecdir=$ac_optarg ;;
1.1 paf 465:
466: -localstatedir | --localstatedir | --localstatedi | --localstated \
467: | --localstate | --localstat | --localsta | --localst \
468: | --locals | --local | --loca | --loc | --lo)
469: ac_prev=localstatedir ;;
470: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471: | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472: | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1.62 paf 473: localstatedir=$ac_optarg ;;
1.1 paf 474:
475: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476: ac_prev=mandir ;;
477: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.62 paf 478: mandir=$ac_optarg ;;
1.1 paf 479:
480: -nfp | --nfp | --nf)
481: # Obsolete; use --without-fp.
482: with_fp=no ;;
483:
484: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.62 paf 485: | --no-cr | --no-c | -n)
1.1 paf 486: no_create=yes ;;
487:
488: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490: no_recursion=yes ;;
491:
492: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494: | --oldin | --oldi | --old | --ol | --o)
495: ac_prev=oldincludedir ;;
496: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.62 paf 499: oldincludedir=$ac_optarg ;;
1.1 paf 500:
501: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502: ac_prev=prefix ;;
503: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.62 paf 504: prefix=$ac_optarg ;;
1.1 paf 505:
506: -program-prefix | --program-prefix | --program-prefi | --program-pref \
507: | --program-pre | --program-pr | --program-p)
508: ac_prev=program_prefix ;;
509: -program-prefix=* | --program-prefix=* | --program-prefi=* \
510: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.62 paf 511: program_prefix=$ac_optarg ;;
1.1 paf 512:
513: -program-suffix | --program-suffix | --program-suffi | --program-suff \
514: | --program-suf | --program-su | --program-s)
515: ac_prev=program_suffix ;;
516: -program-suffix=* | --program-suffix=* | --program-suffi=* \
517: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.62 paf 518: program_suffix=$ac_optarg ;;
1.1 paf 519:
520: -program-transform-name | --program-transform-name \
521: | --program-transform-nam | --program-transform-na \
522: | --program-transform-n | --program-transform- \
523: | --program-transform | --program-transfor \
524: | --program-transfo | --program-transf \
525: | --program-trans | --program-tran \
526: | --progr-tra | --program-tr | --program-t)
527: ac_prev=program_transform_name ;;
528: -program-transform-name=* | --program-transform-name=* \
529: | --program-transform-nam=* | --program-transform-na=* \
530: | --program-transform-n=* | --program-transform-=* \
531: | --program-transform=* | --program-transfor=* \
532: | --program-transfo=* | --program-transf=* \
533: | --program-trans=* | --program-tran=* \
534: | --progr-tra=* | --program-tr=* | --program-t=*)
1.62 paf 535: program_transform_name=$ac_optarg ;;
1.1 paf 536:
537: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538: | -silent | --silent | --silen | --sile | --sil)
539: silent=yes ;;
540:
541: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542: ac_prev=sbindir ;;
543: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544: | --sbi=* | --sb=*)
1.62 paf 545: sbindir=$ac_optarg ;;
1.1 paf 546:
547: -sharedstatedir | --sharedstatedir | --sharedstatedi \
548: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549: | --sharedst | --shareds | --shared | --share | --shar \
550: | --sha | --sh)
551: ac_prev=sharedstatedir ;;
552: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555: | --sha=* | --sh=*)
1.62 paf 556: sharedstatedir=$ac_optarg ;;
1.1 paf 557:
558: -site | --site | --sit)
559: ac_prev=site ;;
560: -site=* | --site=* | --sit=*)
1.62 paf 561: site=$ac_optarg ;;
1.1 paf 562:
563: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564: ac_prev=srcdir ;;
565: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.62 paf 566: srcdir=$ac_optarg ;;
1.1 paf 567:
568: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569: | --syscon | --sysco | --sysc | --sys | --sy)
570: ac_prev=sysconfdir ;;
571: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.62 paf 573: sysconfdir=$ac_optarg ;;
1.1 paf 574:
575: -target | --target | --targe | --targ | --tar | --ta | --t)
1.62 paf 576: ac_prev=target_alias ;;
1.1 paf 577: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.62 paf 578: target_alias=$ac_optarg ;;
1.1 paf 579:
580: -v | -verbose | --verbose | --verbos | --verbo | --verb)
581: verbose=yes ;;
582:
1.62 paf 583: -version | --version | --versio | --versi | --vers | -V)
584: ac_init_version=: ;;
1.1 paf 585:
586: -with-* | --with-*)
1.62 paf 587: ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1 paf 588: # Reject names that are not valid shell variable names.
1.62 paf 589: expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590: { echo "$as_me: error: invalid package name: $ac_package" >&2
591: { (exit 1); exit 1; }; }
1.1 paf 592: ac_package=`echo $ac_package| sed 's/-/_/g'`
1.62 paf 593: case $ac_option in
594: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1 paf 595: *) ac_optarg=yes ;;
596: esac
1.62 paf 597: eval "with_$ac_package='$ac_optarg'" ;;
1.1 paf 598:
599: -without-* | --without-*)
1.62 paf 600: ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1 paf 601: # Reject names that are not valid shell variable names.
1.62 paf 602: expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603: { echo "$as_me: error: invalid package name: $ac_package" >&2
604: { (exit 1); exit 1; }; }
605: ac_package=`echo $ac_package | sed 's/-/_/g'`
606: eval "with_$ac_package=no" ;;
1.1 paf 607:
608: --x)
609: # Obsolete; use --with-x.
610: with_x=yes ;;
611:
612: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613: | --x-incl | --x-inc | --x-in | --x-i)
614: ac_prev=x_includes ;;
615: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.62 paf 617: x_includes=$ac_optarg ;;
1.1 paf 618:
619: -x-libraries | --x-libraries | --x-librarie | --x-librari \
620: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621: ac_prev=x_libraries ;;
622: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.62 paf 624: x_libraries=$ac_optarg ;;
1.1 paf 625:
1.62 paf 626: -*) { echo "$as_me: error: unrecognized option: $ac_option
627: Try \`$0 --help' for more information." >&2
628: { (exit 1); exit 1; }; }
1.1 paf 629: ;;
630:
1.62 paf 631: *=*)
632: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633: # Reject names that are not valid shell variable names.
634: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635: { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636: { (exit 1); exit 1; }; }
637: ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638: eval "$ac_envvar='$ac_optarg'"
639: export $ac_envvar ;;
640:
1.1 paf 641: *)
1.62 paf 642: # FIXME: should be removed in autoconf 3.0.
643: echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645: echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1.1 paf 647: ;;
648:
649: esac
650: done
651:
652: if test -n "$ac_prev"; then
1.62 paf 653: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654: { echo "$as_me: error: missing argument to $ac_option" >&2
655: { (exit 1); exit 1; }; }
1.1 paf 656: fi
657:
1.62 paf 658: # Be sure to have absolute paths.
659: for ac_var in exec_prefix prefix
660: do
661: eval ac_val=$`echo $ac_var`
662: case $ac_val in
663: [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664: *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665: { (exit 1); exit 1; }; };;
666: esac
667: done
1.1 paf 668:
1.62 paf 669: # Be sure to have absolute paths.
670: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671: localstatedir libdir includedir oldincludedir infodir mandir
1.1 paf 672: do
1.62 paf 673: eval ac_val=$`echo $ac_var`
674: case $ac_val in
675: [\\/$]* | ?:[\\/]* ) ;;
676: *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677: { (exit 1); exit 1; }; };;
1.1 paf 678: esac
679: done
680:
1.62 paf 681: # There might be people who depend on the old broken behavior: `$host'
682: # used to hold the argument of --host etc.
683: # FIXME: To remove some day.
684: build=$build_alias
685: host=$host_alias
686: target=$target_alias
687:
688: # FIXME: To remove some day.
689: if test "x$host_alias" != x; then
690: if test "x$build_alias" = x; then
691: cross_compiling=maybe
692: echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693: If a cross compiler is detected then cross compile mode will be used." >&2
694: elif test "x$build_alias" != "x$host_alias"; then
695: cross_compiling=yes
696: fi
697: fi
698:
699: ac_tool_prefix=
700: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1 paf 701:
1.62 paf 702: test "$silent" = yes && exec 6>/dev/null
1.1 paf 703:
704:
705: # Find the source files, if location was not specified.
706: if test -z "$srcdir"; then
707: ac_srcdir_defaulted=yes
708: # Try the directory containing this script, then its parent.
1.62 paf 709: ac_confdir=`(dirname "$0") 2>/dev/null ||
710: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711: X"$0" : 'X\(//\)[^/]' \| \
712: X"$0" : 'X\(//\)$' \| \
713: X"$0" : 'X\(/\)' \| \
714: . : '\(.\)' 2>/dev/null ||
715: echo X"$0" |
716: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718: /^X\(\/\/\)$/{ s//\1/; q; }
719: /^X\(\/\).*/{ s//\1/; q; }
720: s/.*/./; q'`
1.1 paf 721: srcdir=$ac_confdir
722: if test ! -r $srcdir/$ac_unique_file; then
723: srcdir=..
724: fi
725: else
726: ac_srcdir_defaulted=no
727: fi
728: if test ! -r $srcdir/$ac_unique_file; then
729: if test "$ac_srcdir_defaulted" = yes; then
1.62 paf 730: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731: { (exit 1); exit 1; }; }
1.1 paf 732: else
1.62 paf 733: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734: { (exit 1); exit 1; }; }
1.1 paf 735: fi
736: fi
1.62 paf 737: (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738: { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739: { (exit 1); exit 1; }; }
740: srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741: ac_env_build_alias_set=${build_alias+set}
742: ac_env_build_alias_value=$build_alias
743: ac_cv_env_build_alias_set=${build_alias+set}
744: ac_cv_env_build_alias_value=$build_alias
745: ac_env_host_alias_set=${host_alias+set}
746: ac_env_host_alias_value=$host_alias
747: ac_cv_env_host_alias_set=${host_alias+set}
748: ac_cv_env_host_alias_value=$host_alias
749: ac_env_target_alias_set=${target_alias+set}
750: ac_env_target_alias_value=$target_alias
751: ac_cv_env_target_alias_set=${target_alias+set}
752: ac_cv_env_target_alias_value=$target_alias
1.66 paf 753: ac_env_CXX_set=${CXX+set}
754: ac_env_CXX_value=$CXX
755: ac_cv_env_CXX_set=${CXX+set}
756: ac_cv_env_CXX_value=$CXX
757: ac_env_CXXFLAGS_set=${CXXFLAGS+set}
758: ac_env_CXXFLAGS_value=$CXXFLAGS
759: ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
760: ac_cv_env_CXXFLAGS_value=$CXXFLAGS
761: ac_env_LDFLAGS_set=${LDFLAGS+set}
762: ac_env_LDFLAGS_value=$LDFLAGS
763: ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764: ac_cv_env_LDFLAGS_value=$LDFLAGS
765: ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766: ac_env_CPPFLAGS_value=$CPPFLAGS
767: ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768: ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1.62 paf 769: ac_env_CC_set=${CC+set}
770: ac_env_CC_value=$CC
771: ac_cv_env_CC_set=${CC+set}
772: ac_cv_env_CC_value=$CC
773: ac_env_CFLAGS_set=${CFLAGS+set}
774: ac_env_CFLAGS_value=$CFLAGS
775: ac_cv_env_CFLAGS_set=${CFLAGS+set}
776: ac_cv_env_CFLAGS_value=$CFLAGS
1.66 paf 777: ac_env_CPP_set=${CPP+set}
778: ac_env_CPP_value=$CPP
779: ac_cv_env_CPP_set=${CPP+set}
780: ac_cv_env_CPP_value=$CPP
1.62 paf 781:
782: #
783: # Report the --help message.
784: #
785: if test "$ac_init_help" = "long"; then
786: # Omit some internal or obsolete options to make the list less imposing.
787: # This message is too long to be a string in the A/UX 3.1 sh.
788: cat <<_ACEOF
789: \`configure' configures this package to adapt to many kinds of systems.
790:
791: Usage: $0 [OPTION]... [VAR=VALUE]...
792:
793: To assign environment variables (e.g., CC, CFLAGS...), specify them as
794: VAR=VALUE. See below for descriptions of some of the useful variables.
795:
796: Defaults for the options are specified in brackets.
797:
798: Configuration:
799: -h, --help display this help and exit
800: --help=short display options specific to this package
801: --help=recursive display the short help of all the included packages
802: -V, --version display version information and exit
803: -q, --quiet, --silent do not print \`checking...' messages
804: --cache-file=FILE cache test results in FILE [disabled]
805: -C, --config-cache alias for \`--cache-file=config.cache'
806: -n, --no-create do not create output files
807: --srcdir=DIR find the sources in DIR [configure dir or \`..']
808:
809: _ACEOF
810:
811: cat <<_ACEOF
812: Installation directories:
813: --prefix=PREFIX install architecture-independent files in PREFIX
814: [$ac_default_prefix]
815: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
816: [PREFIX]
817:
818: By default, \`make install' will install all the files in
819: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
820: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
821: for instance \`--prefix=\$HOME'.
822:
823: For better control, use the options below.
824:
825: Fine tuning of the installation directories:
826: --bindir=DIR user executables [EPREFIX/bin]
827: --sbindir=DIR system admin executables [EPREFIX/sbin]
828: --libexecdir=DIR program executables [EPREFIX/libexec]
829: --datadir=DIR read-only architecture-independent data [PREFIX/share]
830: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
831: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
832: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
833: --libdir=DIR object code libraries [EPREFIX/lib]
834: --includedir=DIR C header files [PREFIX/include]
835: --oldincludedir=DIR C header files for non-gcc [/usr/include]
836: --infodir=DIR info documentation [PREFIX/info]
837: --mandir=DIR man documentation [PREFIX/man]
838: _ACEOF
839:
840: cat <<\_ACEOF
841:
842: Program names:
843: --program-prefix=PREFIX prepend PREFIX to installed program names
844: --program-suffix=SUFFIX append SUFFIX to installed program names
845: --program-transform-name=PROGRAM run sed PROGRAM on installed program names
846:
847: System types:
848: --build=BUILD configure for building on BUILD [guessed]
849: --host=HOST cross-compile to build programs to run on HOST [BUILD]
850: _ACEOF
851: fi
852:
853: if test -n "$ac_init_help"; then
854:
855: cat <<\_ACEOF
856:
857: Optional Features:
858: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
859: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
860: --disable-dependency-tracking Speeds up one-time builds
861: --enable-dependency-tracking Do not reject slow dependency extractors
1.66.2.5.2.3! paf 862: --enable-assertions to enable assertions
1.66.2.3 paf 863: --disable-safe-mode to enable reading and executing
1.62 paf 864: files belonging to group+user other then effective
1.66.2.3 paf 865: --disable-execs to disable any execs
1.62 paf 866: (file::exec, file::cgi, unix mail:send)
867:
868: Optional Packages:
869: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
870: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
871: --with-charsets=CHARSET,CHARSET,... Enables charsets in root config (windows-1251,
872: windows-1250 windows-1257 koi8-r; Default is windows-1251)
873: --with-mysql-client=mysqlclientlib?withparams
874: MySQL client dynamic library to root config
875: --with-pgsql-client=pgsqlclientlib?withparams
876: PgSQL client dynamic library to root config
877: --with-oracle-client=oracleclientlib?withparams
878: Oracle client dynamic library
879: --with-pathlink=LKEY put dynamic libraries paths to binary
880: using linker key (-R, -rpath-link)
1.66.2.3 paf 881: --with-dynamic-stdcpp link libstdc++ dynamically
882: by default, libstdc++ is linked statically
1.62 paf 883: --with-sjlj-exceptions enable simple 'throw' from dynamic library
1.66.2.5.2.1 paf 884: --with-shared-gc=D D is the directory where
885: Boehm garbage collecting library is installed (shared lib)
886: --with-static-gc=D D is the directory where
887: Boehm garbage collecting library is installed (static lib)
1.62 paf 888: --with-glib-config=FILE FILE is glib library
889: configuration file (search for glib*-config)
890: --with-shared-xml=D D is the directory where
891: Gnome XML libraries are installed (shared libs)
892: --with-static-xml=D D is the directory where
893: Gnome XML libraries are installed (static libs)
894: --with-shared-mailreceive=D is the directory where
1.66.2.3 paf 895: Gnome MIME library is installed (shared lib)
1.62 paf 896: --with-static-mailreceive=D is the directory where
897: Gnome MIME library is installed (static lib)
898: \"--with-sendmail=COMMAND\" forces this command to send mail.
899: example: \"--with-sendmail=/usr/sbin/sendmail -t\"
900: (makes parser ignore user-defined sendmail commands)
901: --with-apache13=D D is the Apache13 source distribution directory
902: builds library for apache_module using that dir
903: (do not add /src)
904:
905: Some influential environment variables:
1.66 paf 906: CXX C++ compiler command
907: CXXFLAGS C++ compiler flags
1.62 paf 908: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
909: nonstandard directory <lib dir>
910: CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
911: headers in a nonstandard directory <include dir>
1.66 paf 912: CC C compiler command
913: CFLAGS C compiler flags
914: CPP C preprocessor
1.62 paf 915:
916: Use these variables to override the choices made by `configure' or to help
917: it to find libraries and programs with nonstandard names/locations.
918:
919: _ACEOF
920: fi
921:
922: if test "$ac_init_help" = "recursive"; then
923: # If there are subdirs, report their specific --help.
924: ac_popdir=`pwd`
925: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
926: test -d $ac_dir || continue
927: ac_builddir=.
928:
929: if test "$ac_dir" != .; then
930: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
931: # A "../" for each directory in $ac_dir_suffix.
932: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
933: else
934: ac_dir_suffix= ac_top_builddir=
935: fi
936:
937: case $srcdir in
938: .) # No --srcdir option. We are building in place.
939: ac_srcdir=.
940: if test -z "$ac_top_builddir"; then
941: ac_top_srcdir=.
942: else
943: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
944: fi ;;
945: [\\/]* | ?:[\\/]* ) # Absolute path.
946: ac_srcdir=$srcdir$ac_dir_suffix;
947: ac_top_srcdir=$srcdir ;;
948: *) # Relative path.
949: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
950: ac_top_srcdir=$ac_top_builddir$srcdir ;;
951: esac
952: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
953: # absolute.
954: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
955: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
956: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
957: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
958:
959: cd $ac_dir
960: # Check for guested configure; otherwise get Cygnus style configure.
961: if test -f $ac_srcdir/configure.gnu; then
962: echo
963: $SHELL $ac_srcdir/configure.gnu --help=recursive
964: elif test -f $ac_srcdir/configure; then
965: echo
966: $SHELL $ac_srcdir/configure --help=recursive
967: elif test -f $ac_srcdir/configure.ac ||
968: test -f $ac_srcdir/configure.in; then
969: echo
970: $ac_configure --help
971: else
972: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
973: fi
974: cd $ac_popdir
975: done
976: fi
977:
978: test -n "$ac_init_help" && exit 0
979: if $ac_init_version; then
980: cat <<\_ACEOF
981:
982: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
983: Free Software Foundation, Inc.
984: This configure script is free software; the Free Software Foundation
985: gives unlimited permission to copy, distribute and modify it.
986: _ACEOF
987: exit 0
988: fi
989: exec 5>config.log
990: cat >&5 <<_ACEOF
991: This file contains any messages produced by compilers while
992: running configure, to aid debugging if configure makes a mistake.
993:
994: It was created by $as_me, which was
995: generated by GNU Autoconf 2.57. Invocation command line was
996:
997: $ $0 $@
998:
999: _ACEOF
1000: {
1001: cat <<_ASUNAME
1002: ## --------- ##
1003: ## Platform. ##
1004: ## --------- ##
1005:
1006: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1007: uname -m = `(uname -m) 2>/dev/null || echo unknown`
1008: uname -r = `(uname -r) 2>/dev/null || echo unknown`
1009: uname -s = `(uname -s) 2>/dev/null || echo unknown`
1010: uname -v = `(uname -v) 2>/dev/null || echo unknown`
1011:
1012: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1013: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1014:
1015: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1016: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1017: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1018: hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1019: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1020: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1021: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1022:
1023: _ASUNAME
1024:
1025: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1026: for as_dir in $PATH
1027: do
1028: IFS=$as_save_IFS
1029: test -z "$as_dir" && as_dir=.
1030: echo "PATH: $as_dir"
1031: done
1.1 paf 1032:
1.62 paf 1033: } >&5
1034:
1035: cat >&5 <<_ACEOF
1036:
1037:
1038: ## ----------- ##
1039: ## Core tests. ##
1040: ## ----------- ##
1041:
1042: _ACEOF
1043:
1044:
1045: # Keep a trace of the command line.
1046: # Strip out --no-create and --no-recursion so they do not pile up.
1047: # Strip out --silent because we don't want to record it for future runs.
1048: # Also quote any args containing shell meta-characters.
1049: # Make two passes to allow for proper duplicate-argument suppression.
1050: ac_configure_args=
1051: ac_configure_args0=
1052: ac_configure_args1=
1053: ac_sep=
1054: ac_must_keep_next=false
1055: for ac_pass in 1 2
1056: do
1057: for ac_arg
1058: do
1059: case $ac_arg in
1060: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1061: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062: | -silent | --silent | --silen | --sile | --sil)
1063: continue ;;
1064: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1065: ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1066: esac
1067: case $ac_pass in
1068: 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1069: 2)
1070: ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1071: if test $ac_must_keep_next = true; then
1072: ac_must_keep_next=false # Got value, back to normal.
1073: else
1074: case $ac_arg in
1075: *=* | --config-cache | -C | -disable-* | --disable-* \
1076: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1077: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1078: | -with-* | --with-* | -without-* | --without-* | --x)
1079: case "$ac_configure_args0 " in
1080: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1081: esac
1082: ;;
1083: -* ) ac_must_keep_next=true ;;
1084: esac
1085: fi
1086: ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1087: # Get rid of the leading space.
1088: ac_sep=" "
1089: ;;
1090: esac
1091: done
1092: done
1093: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1094: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1095:
1096: # When interrupted or exit'd, cleanup temporary files, and complete
1097: # config.log. We remove comments because anyway the quotes in there
1098: # would cause problems or look ugly.
1099: # WARNING: Be sure not to use single quotes in there, as some shells,
1100: # such as our DU 5.0 friend, will then `close' the trap.
1101: trap 'exit_status=$?
1102: # Save into config.log some information that might help in debugging.
1103: {
1104: echo
1105:
1106: cat <<\_ASBOX
1107: ## ---------------- ##
1108: ## Cache variables. ##
1109: ## ---------------- ##
1110: _ASBOX
1111: echo
1112: # The following way of writing the cache mishandles newlines in values,
1113: {
1114: (set) 2>&1 |
1115: case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1116: *ac_space=\ *)
1117: sed -n \
1118: "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1119: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1120: ;;
1121: *)
1122: sed -n \
1123: "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1124: ;;
1125: esac;
1126: }
1127: echo
1128:
1129: cat <<\_ASBOX
1130: ## ----------------- ##
1131: ## Output variables. ##
1132: ## ----------------- ##
1133: _ASBOX
1134: echo
1135: for ac_var in $ac_subst_vars
1136: do
1137: eval ac_val=$`echo $ac_var`
1138: echo "$ac_var='"'"'$ac_val'"'"'"
1139: done | sort
1140: echo
1141:
1142: if test -n "$ac_subst_files"; then
1143: cat <<\_ASBOX
1144: ## ------------- ##
1145: ## Output files. ##
1146: ## ------------- ##
1147: _ASBOX
1148: echo
1149: for ac_var in $ac_subst_files
1150: do
1151: eval ac_val=$`echo $ac_var`
1152: echo "$ac_var='"'"'$ac_val'"'"'"
1153: done | sort
1154: echo
1155: fi
1156:
1157: if test -s confdefs.h; then
1158: cat <<\_ASBOX
1159: ## ----------- ##
1160: ## confdefs.h. ##
1161: ## ----------- ##
1162: _ASBOX
1163: echo
1164: sed "/^$/d" confdefs.h | sort
1165: echo
1166: fi
1167: test "$ac_signal" != 0 &&
1168: echo "$as_me: caught signal $ac_signal"
1169: echo "$as_me: exit $exit_status"
1170: } >&5
1171: rm -f core core.* *.core &&
1172: rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1173: exit $exit_status
1174: ' 0
1175: for ac_signal in 1 2 13 15; do
1176: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1177: done
1178: ac_signal=0
1179:
1180: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1181: rm -rf conftest* confdefs.h
1182: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1183: echo >confdefs.h
1184:
1185: # Predefined preprocessor variables.
1186:
1187: cat >>confdefs.h <<_ACEOF
1188: #define PACKAGE_NAME "$PACKAGE_NAME"
1189: _ACEOF
1190:
1191:
1192: cat >>confdefs.h <<_ACEOF
1193: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1194: _ACEOF
1195:
1196:
1197: cat >>confdefs.h <<_ACEOF
1198: #define PACKAGE_VERSION "$PACKAGE_VERSION"
1199: _ACEOF
1200:
1201:
1202: cat >>confdefs.h <<_ACEOF
1203: #define PACKAGE_STRING "$PACKAGE_STRING"
1204: _ACEOF
1205:
1206:
1207: cat >>confdefs.h <<_ACEOF
1208: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1209: _ACEOF
1210:
1211:
1212: # Let the site file select an alternate cache file if it wants to.
1.1 paf 1213: # Prefer explicitly selected file to automatically selected ones.
1214: if test -z "$CONFIG_SITE"; then
1215: if test "x$prefix" != xNONE; then
1216: CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1217: else
1218: CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1219: fi
1220: fi
1221: for ac_site_file in $CONFIG_SITE; do
1222: if test -r "$ac_site_file"; then
1.62 paf 1223: { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1224: echo "$as_me: loading site script $ac_site_file" >&6;}
1225: sed 's/^/| /' "$ac_site_file" >&5
1.1 paf 1226: . "$ac_site_file"
1227: fi
1228: done
1229:
1230: if test -r "$cache_file"; then
1.62 paf 1231: # Some versions of bash will fail to source /dev/null (special
1232: # files actually), so we avoid doing that.
1233: if test -f "$cache_file"; then
1234: { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1235: echo "$as_me: loading cache $cache_file" >&6;}
1236: case $cache_file in
1237: [\\/]* | ?:[\\/]* ) . $cache_file;;
1238: *) . ./$cache_file;;
1239: esac
1240: fi
1.1 paf 1241: else
1.62 paf 1242: { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1243: echo "$as_me: creating cache $cache_file" >&6;}
1244: >$cache_file
1245: fi
1246:
1247: # Check that the precious variables saved in the cache have kept the same
1248: # value.
1249: ac_cache_corrupted=false
1250: for ac_var in `(set) 2>&1 |
1251: sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1252: eval ac_old_set=\$ac_cv_env_${ac_var}_set
1253: eval ac_new_set=\$ac_env_${ac_var}_set
1254: eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1255: eval ac_new_val="\$ac_env_${ac_var}_value"
1256: case $ac_old_set,$ac_new_set in
1257: set,)
1258: { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1259: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1260: ac_cache_corrupted=: ;;
1261: ,set)
1262: { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1263: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1264: ac_cache_corrupted=: ;;
1265: ,);;
1266: *)
1267: if test "x$ac_old_val" != "x$ac_new_val"; then
1268: { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1269: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1270: { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1271: echo "$as_me: former value: $ac_old_val" >&2;}
1272: { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1273: echo "$as_me: current value: $ac_new_val" >&2;}
1274: ac_cache_corrupted=:
1275: fi;;
1276: esac
1277: # Pass precious variables to config.status.
1278: if test "$ac_new_set" = set; then
1279: case $ac_new_val in
1280: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281: ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1282: *) ac_arg=$ac_var=$ac_new_val ;;
1283: esac
1284: case " $ac_configure_args " in
1285: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1286: *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1287: esac
1288: fi
1289: done
1290: if $ac_cache_corrupted; then
1291: { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1292: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1293: { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1294: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1295: { (exit 1); exit 1; }; }
1.1 paf 1296: fi
1297:
1298: ac_ext=c
1299: ac_cpp='$CPP $CPPFLAGS'
1.62 paf 1300: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1301: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1302: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1303:
1304:
1305:
1306:
1307:
1308:
1309:
1310:
1311:
1312:
1313:
1.1 paf 1314:
1315:
1.62 paf 1316:
1317:
1318:
1319:
1320:
1321:
1.63 paf 1322:
1323:
1.62 paf 1324: am__api_version="1.7"
1.1 paf 1325: ac_aux_dir=
1326: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1327: if test -f $ac_dir/install-sh; then
1328: ac_aux_dir=$ac_dir
1329: ac_install_sh="$ac_aux_dir/install-sh -c"
1330: break
1331: elif test -f $ac_dir/install.sh; then
1332: ac_aux_dir=$ac_dir
1333: ac_install_sh="$ac_aux_dir/install.sh -c"
1334: break
1.62 paf 1335: elif test -f $ac_dir/shtool; then
1336: ac_aux_dir=$ac_dir
1337: ac_install_sh="$ac_aux_dir/shtool install -c"
1338: break
1.1 paf 1339: fi
1340: done
1341: if test -z "$ac_aux_dir"; then
1.62 paf 1342: { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1343: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1344: { (exit 1); exit 1; }; }
1345: fi
1346: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1347: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1348: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1.1 paf 1349:
1350: # Find a good install program. We prefer a C program (faster),
1351: # so one script is as good as another. But avoid the broken or
1352: # incompatible versions:
1353: # SysV /etc/install, /usr/sbin/install
1354: # SunOS /usr/etc/install
1355: # IRIX /sbin/install
1356: # AIX /bin/install
1.62 paf 1357: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1 paf 1358: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1359: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1360: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1361: # ./install, which can be erroneously created by make from ./install.sh.
1.62 paf 1362: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1363: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1 paf 1364: if test -z "$INSTALL"; then
1.62 paf 1365: if test "${ac_cv_path_install+set}" = set; then
1366: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 paf 1367: else
1.62 paf 1368: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1369: for as_dir in $PATH
1370: do
1371: IFS=$as_save_IFS
1372: test -z "$as_dir" && as_dir=.
1373: # Account for people who put trailing slashes in PATH elements.
1374: case $as_dir/ in
1375: ./ | .// | /cC/* | \
1376: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1377: /usr/ucb/* ) ;;
1378: *)
1379: # OSF1 and SCO ODT 3.0 have their own names for install.
1380: # Don't use installbsd from OSF since it installs stuff as root
1381: # by default.
1382: for ac_prog in ginstall scoinst install; do
1383: for ac_exec_ext in '' $ac_executable_extensions; do
1384: if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1385: if test $ac_prog = install &&
1386: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1387: # AIX install. It has an incompatible calling convention.
1388: :
1389: elif test $ac_prog = install &&
1390: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1391: # program-specific install script used by HP pwplus--don't use.
1392: :
1393: else
1394: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1395: break 3
1396: fi
1397: fi
1.1 paf 1398: done
1.62 paf 1399: done
1400: ;;
1401: esac
1402: done
1403:
1.1 paf 1404:
1405: fi
1406: if test "${ac_cv_path_install+set}" = set; then
1.62 paf 1407: INSTALL=$ac_cv_path_install
1.1 paf 1408: else
1409: # As a last resort, use the slow shell script. We don't cache a
1410: # path for INSTALL within a source directory, because that will
1411: # break other packages using the cache if that directory is
1412: # removed, or if the path is relative.
1.62 paf 1413: INSTALL=$ac_install_sh
1.1 paf 1414: fi
1415: fi
1.62 paf 1416: echo "$as_me:$LINENO: result: $INSTALL" >&5
1417: echo "${ECHO_T}$INSTALL" >&6
1.1 paf 1418:
1419: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1420: # It thinks the first close brace ends the variable substitution.
1421: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1422:
1.62 paf 1423: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1 paf 1424:
1425: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1426:
1.62 paf 1427: echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1428: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1.1 paf 1429: # Just in case
1430: sleep 1
1.62 paf 1431: echo timestamp > conftest.file
1.1 paf 1432: # Do `set' in a subshell so we don't clobber the current shell's
1433: # arguments. Must try -L first in case configure is actually a
1434: # symlink; some systems play weird games with the mod time of symlinks
1435: # (eg FreeBSD returns the mod time of the symlink's containing
1436: # directory).
1437: if (
1.62 paf 1438: set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1.1 paf 1439: if test "$*" = "X"; then
1440: # -L didn't work.
1.62 paf 1441: set X `ls -t $srcdir/configure conftest.file`
1.1 paf 1442: fi
1.62 paf 1443: rm -f conftest.file
1444: if test "$*" != "X $srcdir/configure conftest.file" \
1445: && test "$*" != "X conftest.file $srcdir/configure"; then
1.1 paf 1446:
1447: # If neither matched, then we have a broken ls. This can happen
1448: # if, for instance, CONFIG_SHELL is bash and it inherits a
1449: # broken ls alias from the environment. This has actually
1450: # happened. Such a system could not be considered "sane".
1.62 paf 1451: { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1452: alias in your environment" >&5
1453: echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1454: alias in your environment" >&2;}
1455: { (exit 1); exit 1; }; }
1.1 paf 1456: fi
1457:
1.62 paf 1458: test "$2" = conftest.file
1.1 paf 1459: )
1460: then
1461: # Ok.
1462: :
1463: else
1.62 paf 1464: { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1465: Check your system clock" >&5
1466: echo "$as_me: error: newly created file is older than distributed files!
1467: Check your system clock" >&2;}
1468: { (exit 1); exit 1; }; }
1.1 paf 1469: fi
1.62 paf 1470: echo "$as_me:$LINENO: result: yes" >&5
1471: echo "${ECHO_T}yes" >&6
1.1 paf 1472: test "$program_prefix" != NONE &&
1.62 paf 1473: program_transform_name="s,^,$program_prefix,;$program_transform_name"
1.1 paf 1474: # Use a double $ so make ignores it.
1475: test "$program_suffix" != NONE &&
1.62 paf 1476: program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1477: # Double any \ or $. echo might interpret backslashes.
1478: # By default was `s,x,x', remove it if useless.
1479: cat <<\_ACEOF >conftest.sed
1480: s/[\\$]/&&/g;s/;s,x,x,$//
1481: _ACEOF
1482: program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1483: rm conftest.sed
1484:
1485:
1486: # expand $ac_aux_dir to an absolute path
1487: am_aux_dir=`cd $ac_aux_dir && pwd`
1488:
1489: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1490: # Use eval to expand $SHELL
1491: if eval "$MISSING --run true"; then
1492: am_missing_run="$MISSING --run "
1493: else
1494: am_missing_run=
1495: { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1496: echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1497: fi
1498:
1499: for ac_prog in gawk mawk nawk awk
1500: do
1501: # Extract the first word of "$ac_prog", so it can be a program name with args.
1502: set dummy $ac_prog; ac_word=$2
1503: echo "$as_me:$LINENO: checking for $ac_word" >&5
1504: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1505: if test "${ac_cv_prog_AWK+set}" = set; then
1506: echo $ECHO_N "(cached) $ECHO_C" >&6
1507: else
1508: if test -n "$AWK"; then
1509: ac_cv_prog_AWK="$AWK" # Let the user override the test.
1510: else
1511: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1512: for as_dir in $PATH
1513: do
1514: IFS=$as_save_IFS
1515: test -z "$as_dir" && as_dir=.
1516: for ac_exec_ext in '' $ac_executable_extensions; do
1517: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1518: ac_cv_prog_AWK="$ac_prog"
1519: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1520: break 2
1521: fi
1522: done
1523: done
1524:
1525: fi
1526: fi
1527: AWK=$ac_cv_prog_AWK
1528: if test -n "$AWK"; then
1529: echo "$as_me:$LINENO: result: $AWK" >&5
1530: echo "${ECHO_T}$AWK" >&6
1531: else
1532: echo "$as_me:$LINENO: result: no" >&5
1533: echo "${ECHO_T}no" >&6
1534: fi
1.1 paf 1535:
1.62 paf 1536: test -n "$AWK" && break
1537: done
1.1 paf 1538:
1.62 paf 1539: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1540: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1541: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1542: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1543: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 paf 1544: else
1.62 paf 1545: cat >conftest.make <<\_ACEOF
1.1 paf 1546: all:
1.62 paf 1547: @echo 'ac_maketemp="$(MAKE)"'
1548: _ACEOF
1.1 paf 1549: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.62 paf 1550: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.1 paf 1551: if test -n "$ac_maketemp"; then
1552: eval ac_cv_prog_make_${ac_make}_set=yes
1553: else
1554: eval ac_cv_prog_make_${ac_make}_set=no
1555: fi
1.62 paf 1556: rm -f conftest.make
1.1 paf 1557: fi
1558: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.62 paf 1559: echo "$as_me:$LINENO: result: yes" >&5
1560: echo "${ECHO_T}yes" >&6
1.1 paf 1561: SET_MAKE=
1562: else
1.62 paf 1563: echo "$as_me:$LINENO: result: no" >&5
1564: echo "${ECHO_T}no" >&6
1.1 paf 1565: SET_MAKE="MAKE=${MAKE-make}"
1566: fi
1567:
1.62 paf 1568: # test to see if srcdir already configured
1569: if test "`cd $srcdir && pwd`" != "`pwd`" &&
1570: test -f $srcdir/config.status; then
1571: { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1572: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1573: { (exit 1); exit 1; }; }
1574: fi
1575:
1576: # test whether we have cygpath
1577: if test -z "$CYGPATH_W"; then
1578: if (cygpath --version) >/dev/null 2>/dev/null; then
1579: CYGPATH_W='cygpath -w'
1580: else
1581: CYGPATH_W=echo
1582: fi
1583: fi
1584:
1585:
1586: # Define the identity of the package.
1587: PACKAGE=parser
1588: VERSION=3.0.HEAD
1.1 paf 1589:
1590:
1.62 paf 1591: # Some tools Automake needs.
1592:
1593: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1594:
1595:
1596: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1597:
1598:
1599: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1600:
1601:
1602: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1603:
1604:
1605: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1 paf 1606:
1607:
1.62 paf 1608: AMTAR=${AMTAR-"${am_missing_run}tar"}
1.1 paf 1609:
1.62 paf 1610: install_sh=${install_sh-"$am_aux_dir/install-sh"}
1.1 paf 1611:
1.62 paf 1612: # Installed binaries are usually stripped using `strip' when the user
1613: # run `make install-strip'. However `strip' might not be the right
1614: # tool to use in cross-compilation environments, therefore Automake
1615: # will honor the `STRIP' environment variable to overrule this program.
1616: if test "$cross_compiling" != no; then
1617: if test -n "$ac_tool_prefix"; then
1618: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1619: set dummy ${ac_tool_prefix}strip; ac_word=$2
1620: echo "$as_me:$LINENO: checking for $ac_word" >&5
1621: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1622: if test "${ac_cv_prog_STRIP+set}" = set; then
1623: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 paf 1624: else
1.62 paf 1625: if test -n "$STRIP"; then
1626: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1627: else
1628: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1629: for as_dir in $PATH
1630: do
1631: IFS=$as_save_IFS
1632: test -z "$as_dir" && as_dir=.
1633: for ac_exec_ext in '' $ac_executable_extensions; do
1634: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1635: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1636: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1637: break 2
1638: fi
1639: done
1640: done
1641:
1642: fi
1643: fi
1644: STRIP=$ac_cv_prog_STRIP
1645: if test -n "$STRIP"; then
1646: echo "$as_me:$LINENO: result: $STRIP" >&5
1647: echo "${ECHO_T}$STRIP" >&6
1648: else
1649: echo "$as_me:$LINENO: result: no" >&5
1650: echo "${ECHO_T}no" >&6
1.1 paf 1651: fi
1652:
1.62 paf 1653: fi
1654: if test -z "$ac_cv_prog_STRIP"; then
1655: ac_ct_STRIP=$STRIP
1656: # Extract the first word of "strip", so it can be a program name with args.
1657: set dummy strip; ac_word=$2
1658: echo "$as_me:$LINENO: checking for $ac_word" >&5
1659: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1660: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1661: echo $ECHO_N "(cached) $ECHO_C" >&6
1662: else
1663: if test -n "$ac_ct_STRIP"; then
1664: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.1 paf 1665: else
1.62 paf 1666: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1667: for as_dir in $PATH
1668: do
1669: IFS=$as_save_IFS
1670: test -z "$as_dir" && as_dir=.
1671: for ac_exec_ext in '' $ac_executable_extensions; do
1672: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1673: ac_cv_prog_ac_ct_STRIP="strip"
1674: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1675: break 2
1676: fi
1677: done
1678: done
1679:
1680: test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1681: fi
1.1 paf 1682: fi
1.62 paf 1683: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1684: if test -n "$ac_ct_STRIP"; then
1685: echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1686: echo "${ECHO_T}$ac_ct_STRIP" >&6
1.1 paf 1687: else
1.62 paf 1688: echo "$as_me:$LINENO: result: no" >&5
1689: echo "${ECHO_T}no" >&6
1.1 paf 1690: fi
1691:
1.62 paf 1692: STRIP=$ac_ct_STRIP
1.1 paf 1693: else
1.62 paf 1694: STRIP="$ac_cv_prog_STRIP"
1.1 paf 1695: fi
1696:
1697: fi
1.62 paf 1698: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1699:
1700: # We need awk for the "check" target. The system "awk" is bad on
1701: # some platforms.
1702:
1.1 paf 1703:
1704:
1705:
1.12 paf 1706: P3S=`cd $srcdir/src ; pwd`
1.1 paf 1707:
1708:
1709: PARSER_VERSION=$VERSION
1.6 paf 1710: echo "/* automatically generated by configure */" > $srcdir/src/include/pa_version.h.new
1711: echo "/* edit configure.in to change version number */" >> $srcdir/src/include/pa_version.h.new
1712: echo "#define PARSER_VERSION \"$PARSER_VERSION\"" >> $srcdir/src/include/pa_version.h.new
1713: cmp $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h >/dev/null 2>&1
1.1 paf 1714: if test $? -ne 0 ; then
1.66.2.3 paf 1715: rm -f $srcdir/src/include/pa_version.h && mv $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h && \
1716: echo Updated $srcdir/src/include/pa_version.h
1.1 paf 1717: else
1.6 paf 1718: rm -f $srcdir/src/include/pa_version.h.new
1.1 paf 1719: fi
1720:
1.41 paf 1721:
1.66.2.5.2.1 paf 1722:
1.41 paf 1723: # Make sure we can run config.sub.
1.62 paf 1724: $ac_config_sub sun4 >/dev/null 2>&1 ||
1725: { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1726: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1727: { (exit 1); exit 1; }; }
1728:
1729: echo "$as_me:$LINENO: checking build system type" >&5
1730: echo $ECHO_N "checking build system type... $ECHO_C" >&6
1731: if test "${ac_cv_build+set}" = set; then
1732: echo $ECHO_N "(cached) $ECHO_C" >&6
1733: else
1734: ac_cv_build_alias=$build_alias
1735: test -z "$ac_cv_build_alias" &&
1736: ac_cv_build_alias=`$ac_config_guess`
1737: test -z "$ac_cv_build_alias" &&
1738: { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1739: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1740: { (exit 1); exit 1; }; }
1741: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1742: { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1743: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1744: { (exit 1); exit 1; }; }
1745:
1746: fi
1747: echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1748: echo "${ECHO_T}$ac_cv_build" >&6
1749: build=$ac_cv_build
1750: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1751: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1752: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1753:
1754:
1755: echo "$as_me:$LINENO: checking host system type" >&5
1756: echo $ECHO_N "checking host system type... $ECHO_C" >&6
1757: if test "${ac_cv_host+set}" = set; then
1758: echo $ECHO_N "(cached) $ECHO_C" >&6
1759: else
1760: ac_cv_host_alias=$host_alias
1761: test -z "$ac_cv_host_alias" &&
1762: ac_cv_host_alias=$ac_cv_build_alias
1763: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1764: { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1765: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1766: { (exit 1); exit 1; }; }
1767:
1768: fi
1769: echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1770: echo "${ECHO_T}$ac_cv_host" >&6
1771: host=$ac_cv_host
1772: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1773: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1774: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1.41 paf 1775:
1776:
1777:
1.66.2.2 paf 1778: case $host_os in
1779: *cygwin* )
1780: cat >>confdefs.h <<\_ACEOF
1781: #define CYGWIN
1782: _ACEOF
1783: ;;
1784: esac
1.41 paf 1785:
1.1 paf 1786: # Find a good install program. We prefer a C program (faster),
1787: # so one script is as good as another. But avoid the broken or
1788: # incompatible versions:
1789: # SysV /etc/install, /usr/sbin/install
1790: # SunOS /usr/etc/install
1791: # IRIX /sbin/install
1792: # AIX /bin/install
1.62 paf 1793: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1 paf 1794: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1795: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1796: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1797: # ./install, which can be erroneously created by make from ./install.sh.
1.62 paf 1798: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1799: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1 paf 1800: if test -z "$INSTALL"; then
1.62 paf 1801: if test "${ac_cv_path_install+set}" = set; then
1802: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 paf 1803: else
1.62 paf 1804: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1805: for as_dir in $PATH
1806: do
1807: IFS=$as_save_IFS
1808: test -z "$as_dir" && as_dir=.
1809: # Account for people who put trailing slashes in PATH elements.
1810: case $as_dir/ in
1811: ./ | .// | /cC/* | \
1812: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1813: /usr/ucb/* ) ;;
1814: *)
1815: # OSF1 and SCO ODT 3.0 have their own names for install.
1816: # Don't use installbsd from OSF since it installs stuff as root
1817: # by default.
1818: for ac_prog in ginstall scoinst install; do
1819: for ac_exec_ext in '' $ac_executable_extensions; do
1820: if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1821: if test $ac_prog = install &&
1822: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1823: # AIX install. It has an incompatible calling convention.
1824: :
1825: elif test $ac_prog = install &&
1826: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1827: # program-specific install script used by HP pwplus--don't use.
1828: :
1829: else
1830: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1831: break 3
1832: fi
1833: fi
1.1 paf 1834: done
1.62 paf 1835: done
1836: ;;
1837: esac
1838: done
1839:
1.1 paf 1840:
1841: fi
1842: if test "${ac_cv_path_install+set}" = set; then
1.62 paf 1843: INSTALL=$ac_cv_path_install
1.1 paf 1844: else
1845: # As a last resort, use the slow shell script. We don't cache a
1846: # path for INSTALL within a source directory, because that will
1847: # break other packages using the cache if that directory is
1848: # removed, or if the path is relative.
1.62 paf 1849: INSTALL=$ac_install_sh
1.1 paf 1850: fi
1851: fi
1.62 paf 1852: echo "$as_me:$LINENO: result: $INSTALL" >&5
1853: echo "${ECHO_T}$INSTALL" >&6
1.1 paf 1854:
1855: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1856: # It thinks the first close brace ends the variable substitution.
1857: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1858:
1.62 paf 1859: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1 paf 1860:
1861: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1862:
1.62 paf 1863: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1864: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1865: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1866: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1867: echo $ECHO_N "(cached) $ECHO_C" >&6
1.41 paf 1868: else
1.62 paf 1869: cat >conftest.make <<\_ACEOF
1.41 paf 1870: all:
1.62 paf 1871: @echo 'ac_maketemp="$(MAKE)"'
1872: _ACEOF
1.41 paf 1873: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.62 paf 1874: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.41 paf 1875: if test -n "$ac_maketemp"; then
1876: eval ac_cv_prog_make_${ac_make}_set=yes
1877: else
1878: eval ac_cv_prog_make_${ac_make}_set=no
1879: fi
1.62 paf 1880: rm -f conftest.make
1.41 paf 1881: fi
1882: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.62 paf 1883: echo "$as_me:$LINENO: result: yes" >&5
1884: echo "${ECHO_T}yes" >&6
1.41 paf 1885: SET_MAKE=
1886: else
1.62 paf 1887: echo "$as_me:$LINENO: result: no" >&5
1888: echo "${ECHO_T}no" >&6
1.41 paf 1889: SET_MAKE="MAKE=${MAKE-make}"
1890: fi
1891:
1.62 paf 1892: if test -n "$ac_tool_prefix"; then
1893: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1894: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1895: echo "$as_me:$LINENO: checking for $ac_word" >&5
1896: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1897: if test "${ac_cv_prog_RANLIB+set}" = set; then
1898: echo $ECHO_N "(cached) $ECHO_C" >&6
1.41 paf 1899: else
1900: if test -n "$RANLIB"; then
1901: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1902: else
1.62 paf 1903: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1904: for as_dir in $PATH
1905: do
1906: IFS=$as_save_IFS
1907: test -z "$as_dir" && as_dir=.
1908: for ac_exec_ext in '' $ac_executable_extensions; do
1909: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1910: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1911: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1912: break 2
1913: fi
1914: done
1915: done
1916:
1.41 paf 1917: fi
1918: fi
1.62 paf 1919: RANLIB=$ac_cv_prog_RANLIB
1.41 paf 1920: if test -n "$RANLIB"; then
1.62 paf 1921: echo "$as_me:$LINENO: result: $RANLIB" >&5
1922: echo "${ECHO_T}$RANLIB" >&6
1923: else
1924: echo "$as_me:$LINENO: result: no" >&5
1925: echo "${ECHO_T}no" >&6
1926: fi
1927:
1928: fi
1929: if test -z "$ac_cv_prog_RANLIB"; then
1930: ac_ct_RANLIB=$RANLIB
1931: # Extract the first word of "ranlib", so it can be a program name with args.
1932: set dummy ranlib; ac_word=$2
1933: echo "$as_me:$LINENO: checking for $ac_word" >&5
1934: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1935: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
1936: echo $ECHO_N "(cached) $ECHO_C" >&6
1937: else
1938: if test -n "$ac_ct_RANLIB"; then
1939: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
1940: else
1941: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1942: for as_dir in $PATH
1943: do
1944: IFS=$as_save_IFS
1945: test -z "$as_dir" && as_dir=.
1946: for ac_exec_ext in '' $ac_executable_extensions; do
1947: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1948: ac_cv_prog_ac_ct_RANLIB="ranlib"
1949: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1950: break 2
1951: fi
1952: done
1953: done
1954:
1955: test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
1956: fi
1957: fi
1958: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
1959: if test -n "$ac_ct_RANLIB"; then
1960: echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
1961: echo "${ECHO_T}$ac_ct_RANLIB" >&6
1962: else
1963: echo "$as_me:$LINENO: result: no" >&5
1964: echo "${ECHO_T}no" >&6
1965: fi
1966:
1967: RANLIB=$ac_ct_RANLIB
1.41 paf 1968: else
1.62 paf 1969: RANLIB="$ac_cv_prog_RANLIB"
1.41 paf 1970: fi
1971:
1.62 paf 1972: for ac_prog in gawk mawk nawk awk
1.41 paf 1973: do
1.62 paf 1974: # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41 paf 1975: set dummy $ac_prog; ac_word=$2
1.62 paf 1976: echo "$as_me:$LINENO: checking for $ac_word" >&5
1977: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1978: if test "${ac_cv_prog_AWK+set}" = set; then
1979: echo $ECHO_N "(cached) $ECHO_C" >&6
1.41 paf 1980: else
1981: if test -n "$AWK"; then
1982: ac_cv_prog_AWK="$AWK" # Let the user override the test.
1983: else
1.62 paf 1984: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1985: for as_dir in $PATH
1986: do
1987: IFS=$as_save_IFS
1988: test -z "$as_dir" && as_dir=.
1989: for ac_exec_ext in '' $ac_executable_extensions; do
1990: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1991: ac_cv_prog_AWK="$ac_prog"
1992: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1993: break 2
1994: fi
1995: done
1996: done
1997:
1.41 paf 1998: fi
1999: fi
1.62 paf 2000: AWK=$ac_cv_prog_AWK
1.41 paf 2001: if test -n "$AWK"; then
1.62 paf 2002: echo "$as_me:$LINENO: result: $AWK" >&5
2003: echo "${ECHO_T}$AWK" >&6
1.41 paf 2004: else
1.62 paf 2005: echo "$as_me:$LINENO: result: no" >&5
2006: echo "${ECHO_T}no" >&6
1.41 paf 2007: fi
2008:
1.62 paf 2009: test -n "$AWK" && break
1.41 paf 2010: done
2011:
2012:
2013: for ac_prog in 'bison -y' byacc
2014: do
1.62 paf 2015: # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41 paf 2016: set dummy $ac_prog; ac_word=$2
1.62 paf 2017: echo "$as_me:$LINENO: checking for $ac_word" >&5
2018: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2019: if test "${ac_cv_prog_YACC+set}" = set; then
2020: echo $ECHO_N "(cached) $ECHO_C" >&6
1.41 paf 2021: else
2022: if test -n "$YACC"; then
2023: ac_cv_prog_YACC="$YACC" # Let the user override the test.
2024: else
1.62 paf 2025: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2026: for as_dir in $PATH
2027: do
2028: IFS=$as_save_IFS
2029: test -z "$as_dir" && as_dir=.
2030: for ac_exec_ext in '' $ac_executable_extensions; do
2031: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2032: ac_cv_prog_YACC="$ac_prog"
2033: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2034: break 2
2035: fi
2036: done
2037: done
2038:
1.41 paf 2039: fi
2040: fi
1.62 paf 2041: YACC=$ac_cv_prog_YACC
1.41 paf 2042: if test -n "$YACC"; then
1.62 paf 2043: echo "$as_me:$LINENO: result: $YACC" >&5
2044: echo "${ECHO_T}$YACC" >&6
1.41 paf 2045: else
1.62 paf 2046: echo "$as_me:$LINENO: result: no" >&5
2047: echo "${ECHO_T}no" >&6
1.41 paf 2048: fi
2049:
1.62 paf 2050: test -n "$YACC" && break
1.41 paf 2051: done
2052: test -n "$YACC" || YACC="yacc"
2053:
2054: if test "$YACC" != "bison -y"; then
1.66.2.3 paf 2055: { echo "$as_me:$LINENO: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&5
1.62 paf 2056: echo "$as_me: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&2;}
1.41 paf 2057: else
1.66.2.3 paf 2058: echo "$as_me:$LINENO: checking bison version" >&5
1.62 paf 2059: echo $ECHO_N "checking bison version... $ECHO_C" >&6
1.66.2.3 paf 2060: oldIFS=$IFS; IFS=.
2061: set `bison -V | sed -e 's/^GNU Bison version //' -e 's/^bison (GNU Bison) //' -e 's/$/./'`
2062: IFS=$oldIFS
2063: if test "$1" = "1" -a "$2" -lt "25"; then
2064: { echo "$as_me:$LINENO: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&5
1.62 paf 2065: echo "$as_me: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&2;}
1.66.2.3 paf 2066: fi
2067: echo "$as_me:$LINENO: result: $1.$2 (ok)" >&5
1.62 paf 2068: echo "${ECHO_T}$1.$2 (ok)" >&6
2069: fi
2070:
1.66 paf 2071: ac_ext=cc
2072: ac_cpp='$CXXCPP $CPPFLAGS'
2073: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2074: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2075: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.62 paf 2076: if test -n "$ac_tool_prefix"; then
1.66 paf 2077: for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2078: do
2079: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2080: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.62 paf 2081: echo "$as_me:$LINENO: checking for $ac_word" >&5
2082: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66 paf 2083: if test "${ac_cv_prog_CXX+set}" = set; then
1.62 paf 2084: echo $ECHO_N "(cached) $ECHO_C" >&6
2085: else
1.66 paf 2086: if test -n "$CXX"; then
2087: ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.62 paf 2088: else
2089: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2090: for as_dir in $PATH
2091: do
2092: IFS=$as_save_IFS
2093: test -z "$as_dir" && as_dir=.
2094: for ac_exec_ext in '' $ac_executable_extensions; do
2095: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66 paf 2096: ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.62 paf 2097: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2098: break 2
2099: fi
2100: done
2101: done
2102:
2103: fi
2104: fi
1.66 paf 2105: CXX=$ac_cv_prog_CXX
2106: if test -n "$CXX"; then
2107: echo "$as_me:$LINENO: result: $CXX" >&5
2108: echo "${ECHO_T}$CXX" >&6
1.62 paf 2109: else
2110: echo "$as_me:$LINENO: result: no" >&5
2111: echo "${ECHO_T}no" >&6
1.41 paf 2112: fi
2113:
1.66 paf 2114: test -n "$CXX" && break
2115: done
1.62 paf 2116: fi
1.66 paf 2117: if test -z "$CXX"; then
2118: ac_ct_CXX=$CXX
2119: for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2120: do
2121: # Extract the first word of "$ac_prog", so it can be a program name with args.
2122: set dummy $ac_prog; ac_word=$2
1.62 paf 2123: echo "$as_me:$LINENO: checking for $ac_word" >&5
2124: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66 paf 2125: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1.62 paf 2126: echo $ECHO_N "(cached) $ECHO_C" >&6
2127: else
1.66 paf 2128: if test -n "$ac_ct_CXX"; then
2129: ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1.62 paf 2130: else
2131: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2132: for as_dir in $PATH
2133: do
2134: IFS=$as_save_IFS
2135: test -z "$as_dir" && as_dir=.
2136: for ac_exec_ext in '' $ac_executable_extensions; do
2137: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66 paf 2138: ac_cv_prog_ac_ct_CXX="$ac_prog"
1.62 paf 2139: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2140: break 2
2141: fi
2142: done
2143: done
2144:
2145: fi
2146: fi
1.66 paf 2147: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2148: if test -n "$ac_ct_CXX"; then
2149: echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2150: echo "${ECHO_T}$ac_ct_CXX" >&6
1.62 paf 2151: else
2152: echo "$as_me:$LINENO: result: no" >&5
2153: echo "${ECHO_T}no" >&6
2154: fi
2155:
1.66 paf 2156: test -n "$ac_ct_CXX" && break
2157: done
2158: test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2159:
2160: CXX=$ac_ct_CXX
1.62 paf 2161: fi
2162:
1.66 paf 2163:
2164: # Provide some information about the compiler.
2165: echo "$as_me:$LINENO:" \
2166: "checking for C++ compiler version" >&5
2167: ac_compiler=`set X $ac_compile; echo $2`
2168: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2169: (eval $ac_compiler --version </dev/null >&5) 2>&5
2170: ac_status=$?
2171: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2172: (exit $ac_status); }
2173: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2174: (eval $ac_compiler -v </dev/null >&5) 2>&5
2175: ac_status=$?
2176: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2177: (exit $ac_status); }
2178: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2179: (eval $ac_compiler -V </dev/null >&5) 2>&5
2180: ac_status=$?
2181: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2182: (exit $ac_status); }
2183:
2184: cat >conftest.$ac_ext <<_ACEOF
2185: #line $LINENO "configure"
2186: /* confdefs.h. */
2187: _ACEOF
2188: cat confdefs.h >>conftest.$ac_ext
2189: cat >>conftest.$ac_ext <<_ACEOF
2190: /* end confdefs.h. */
2191:
2192: int
2193: main ()
2194: {
2195:
2196: ;
2197: return 0;
2198: }
2199: _ACEOF
2200: ac_clean_files_save=$ac_clean_files
2201: ac_clean_files="$ac_clean_files a.out a.exe b.out"
2202: # Try to create an executable without -o first, disregard a.out.
2203: # It will help us diagnose broken compilers, and finding out an intuition
2204: # of exeext.
2205: echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2206: echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2207: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2208: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2209: (eval $ac_link_default) 2>&5
2210: ac_status=$?
2211: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2212: (exit $ac_status); }; then
2213: # Find the output, starting from the most likely. This scheme is
2214: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2215: # resort.
2216:
2217: # Be careful to initialize this variable, since it used to be cached.
2218: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2219: ac_cv_exeext=
2220: # b.out is created by i960 compilers.
2221: for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1.62 paf 2222: do
1.66 paf 2223: test -f "$ac_file" || continue
2224: case $ac_file in
2225: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2226: ;;
2227: conftest.$ac_ext )
2228: # This is the source file.
2229: ;;
2230: [ab].out )
2231: # We found the default executable, but exeext='' is most
2232: # certainly right.
2233: break;;
2234: *.* )
2235: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2236: # FIXME: I believe we export ac_cv_exeext for Libtool,
2237: # but it would be cool to find out if it's true. Does anybody
2238: # maintain Libtool? --akim.
2239: export ac_cv_exeext
2240: break;;
2241: * )
2242: break;;
2243: esac
1.62 paf 2244: done
1.66 paf 2245: else
2246: echo "$as_me: failed program was:" >&5
2247: sed 's/^/| /' conftest.$ac_ext >&5
1.62 paf 2248:
1.66 paf 2249: { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2250: See \`config.log' for more details." >&5
2251: echo "$as_me: error: C++ compiler cannot create executables
2252: See \`config.log' for more details." >&2;}
2253: { (exit 77); exit 77; }; }
1.1 paf 2254: fi
1.66 paf 2255:
2256: ac_exeext=$ac_cv_exeext
2257: echo "$as_me:$LINENO: result: $ac_file" >&5
2258: echo "${ECHO_T}$ac_file" >&6
2259:
2260: # Check the compiler produces executables we can run. If not, either
2261: # the compiler is broken, or we cross compile.
2262: echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2263: echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2264: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2265: # If not cross compiling, check that we can run a simple program.
2266: if test "$cross_compiling" != yes; then
2267: if { ac_try='./$ac_file'
2268: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2269: (eval $ac_try) 2>&5
2270: ac_status=$?
2271: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2272: (exit $ac_status); }; }; then
2273: cross_compiling=no
2274: else
2275: if test "$cross_compiling" = maybe; then
2276: cross_compiling=yes
2277: else
2278: { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2279: If you meant to cross compile, use \`--host'.
2280: See \`config.log' for more details." >&5
2281: echo "$as_me: error: cannot run C++ compiled programs.
2282: If you meant to cross compile, use \`--host'.
2283: See \`config.log' for more details." >&2;}
2284: { (exit 1); exit 1; }; }
2285: fi
2286: fi
1.1 paf 2287: fi
1.66 paf 2288: echo "$as_me:$LINENO: result: yes" >&5
2289: echo "${ECHO_T}yes" >&6
1.62 paf 2290:
1.66 paf 2291: rm -f a.out a.exe conftest$ac_cv_exeext b.out
2292: ac_clean_files=$ac_clean_files_save
2293: # Check the compiler produces executables we can run. If not, either
1.62 paf 2294: # the compiler is broken, or we cross compile.
2295: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2296: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2297: echo "$as_me:$LINENO: result: $cross_compiling" >&5
2298: echo "${ECHO_T}$cross_compiling" >&6
2299:
2300: echo "$as_me:$LINENO: checking for suffix of executables" >&5
2301: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2302: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2303: (eval $ac_link) 2>&5
2304: ac_status=$?
2305: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2306: (exit $ac_status); }; then
2307: # If both `conftest.exe' and `conftest' are `present' (well, observable)
2308: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2309: # work properly (i.e., refer to `conftest.exe'), while it won't with
2310: # `rm'.
2311: for ac_file in conftest.exe conftest conftest.*; do
2312: test -f "$ac_file" || continue
2313: case $ac_file in
2314: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2315: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2316: export ac_cv_exeext
2317: break;;
2318: * ) break;;
2319: esac
2320: done
2321: else
2322: { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2323: See \`config.log' for more details." >&5
2324: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2325: See \`config.log' for more details." >&2;}
2326: { (exit 1); exit 1; }; }
2327: fi
2328:
2329: rm -f conftest$ac_cv_exeext
2330: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2331: echo "${ECHO_T}$ac_cv_exeext" >&6
2332:
2333: rm -f conftest.$ac_ext
2334: EXEEXT=$ac_cv_exeext
2335: ac_exeext=$EXEEXT
2336: echo "$as_me:$LINENO: checking for suffix of object files" >&5
2337: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2338: if test "${ac_cv_objext+set}" = set; then
2339: echo $ECHO_N "(cached) $ECHO_C" >&6
2340: else
2341: cat >conftest.$ac_ext <<_ACEOF
2342: #line $LINENO "configure"
2343: /* confdefs.h. */
2344: _ACEOF
2345: cat confdefs.h >>conftest.$ac_ext
2346: cat >>conftest.$ac_ext <<_ACEOF
2347: /* end confdefs.h. */
2348:
2349: int
2350: main ()
2351: {
2352:
2353: ;
2354: return 0;
2355: }
2356: _ACEOF
2357: rm -f conftest.o conftest.obj
2358: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2359: (eval $ac_compile) 2>&5
2360: ac_status=$?
2361: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362: (exit $ac_status); }; then
2363: for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2364: case $ac_file in
2365: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2366: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2367: break;;
2368: esac
2369: done
2370: else
2371: echo "$as_me: failed program was:" >&5
2372: sed 's/^/| /' conftest.$ac_ext >&5
2373:
2374: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2375: See \`config.log' for more details." >&5
2376: echo "$as_me: error: cannot compute suffix of object files: cannot compile
2377: See \`config.log' for more details." >&2;}
2378: { (exit 1); exit 1; }; }
2379: fi
2380:
2381: rm -f conftest.$ac_cv_objext conftest.$ac_ext
2382: fi
1.66 paf 2383: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2384: echo "${ECHO_T}$ac_cv_objext" >&6
2385: OBJEXT=$ac_cv_objext
2386: ac_objext=$OBJEXT
2387: echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2388: echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2389: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1.62 paf 2390: echo $ECHO_N "(cached) $ECHO_C" >&6
2391: else
1.66 paf 2392: cat >conftest.$ac_ext <<_ACEOF
1.62 paf 2393: #line $LINENO "configure"
2394: /* confdefs.h. */
2395: _ACEOF
2396: cat confdefs.h >>conftest.$ac_ext
2397: cat >>conftest.$ac_ext <<_ACEOF
2398: /* end confdefs.h. */
1.66 paf 2399:
1.62 paf 2400: int
2401: main ()
2402: {
1.66 paf 2403: #ifndef __GNUC__
2404: choke me
2405: #endif
2406:
1.62 paf 2407: ;
2408: return 0;
2409: }
2410: _ACEOF
1.66 paf 2411: rm -f conftest.$ac_objext
1.62 paf 2412: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2413: (eval $ac_compile) 2>&5
2414: ac_status=$?
2415: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416: (exit $ac_status); } &&
2417: { ac_try='test -s conftest.$ac_objext'
2418: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2419: (eval $ac_try) 2>&5
2420: ac_status=$?
2421: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422: (exit $ac_status); }; }; then
1.66 paf 2423: ac_compiler_gnu=yes
1.62 paf 2424: else
2425: echo "$as_me: failed program was:" >&5
2426: sed 's/^/| /' conftest.$ac_ext >&5
1.1 paf 2427:
1.66 paf 2428: ac_compiler_gnu=no
1.1 paf 2429: fi
1.66 paf 2430: rm -f conftest.$ac_objext conftest.$ac_ext
2431: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.1 paf 2432:
2433: fi
1.66 paf 2434: echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2435: echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2436: GXX=`test $ac_compiler_gnu = yes && echo yes`
2437: ac_test_CXXFLAGS=${CXXFLAGS+set}
2438: ac_save_CXXFLAGS=$CXXFLAGS
2439: CXXFLAGS="-g"
2440: echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2441: echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2442: if test "${ac_cv_prog_cxx_g+set}" = set; then
2443: echo $ECHO_N "(cached) $ECHO_C" >&6
2444: else
2445: cat >conftest.$ac_ext <<_ACEOF
2446: #line $LINENO "configure"
2447: /* confdefs.h. */
2448: _ACEOF
2449: cat confdefs.h >>conftest.$ac_ext
2450: cat >>conftest.$ac_ext <<_ACEOF
2451: /* end confdefs.h. */
1.1 paf 2452:
1.66 paf 2453: int
2454: main ()
2455: {
1.1 paf 2456:
1.66 paf 2457: ;
2458: return 0;
2459: }
1.62 paf 2460: _ACEOF
2461: rm -f conftest.$ac_objext
2462: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2463: (eval $ac_compile) 2>&5
2464: ac_status=$?
2465: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466: (exit $ac_status); } &&
2467: { ac_try='test -s conftest.$ac_objext'
2468: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2469: (eval $ac_try) 2>&5
2470: ac_status=$?
2471: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472: (exit $ac_status); }; }; then
1.66 paf 2473: ac_cv_prog_cxx_g=yes
2474: else
2475: echo "$as_me: failed program was:" >&5
2476: sed 's/^/| /' conftest.$ac_ext >&5
2477:
2478: ac_cv_prog_cxx_g=no
2479: fi
2480: rm -f conftest.$ac_objext conftest.$ac_ext
2481: fi
2482: echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2483: echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2484: if test "$ac_test_CXXFLAGS" = set; then
2485: CXXFLAGS=$ac_save_CXXFLAGS
2486: elif test $ac_cv_prog_cxx_g = yes; then
2487: if test "$GXX" = yes; then
2488: CXXFLAGS="-g -O2"
2489: else
2490: CXXFLAGS="-g"
2491: fi
2492: else
2493: if test "$GXX" = yes; then
2494: CXXFLAGS="-O2"
2495: else
2496: CXXFLAGS=
2497: fi
2498: fi
2499: for ac_declaration in \
1.62 paf 2500: ''\
2501: '#include <stdlib.h>' \
2502: 'extern "C" void std::exit (int) throw (); using std::exit;' \
2503: 'extern "C" void std::exit (int); using std::exit;' \
2504: 'extern "C" void exit (int) throw ();' \
2505: 'extern "C" void exit (int);' \
2506: 'void exit (int);'
1.1 paf 2507: do
1.62 paf 2508: cat >conftest.$ac_ext <<_ACEOF
2509: #line $LINENO "configure"
2510: /* confdefs.h. */
2511: _ACEOF
2512: cat confdefs.h >>conftest.$ac_ext
2513: cat >>conftest.$ac_ext <<_ACEOF
2514: /* end confdefs.h. */
2515: #include <stdlib.h>
2516: $ac_declaration
2517: int
2518: main ()
2519: {
2520: exit (42);
2521: ;
2522: return 0;
2523: }
2524: _ACEOF
2525: rm -f conftest.$ac_objext
2526: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2527: (eval $ac_compile) 2>&5
2528: ac_status=$?
2529: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2530: (exit $ac_status); } &&
2531: { ac_try='test -s conftest.$ac_objext'
2532: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2533: (eval $ac_try) 2>&5
2534: ac_status=$?
2535: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536: (exit $ac_status); }; }; then
2537: :
1.1 paf 2538: else
1.62 paf 2539: echo "$as_me: failed program was:" >&5
2540: sed 's/^/| /' conftest.$ac_ext >&5
2541:
2542: continue
2543: fi
2544: rm -f conftest.$ac_objext conftest.$ac_ext
2545: cat >conftest.$ac_ext <<_ACEOF
2546: #line $LINENO "configure"
2547: /* confdefs.h. */
2548: _ACEOF
2549: cat confdefs.h >>conftest.$ac_ext
2550: cat >>conftest.$ac_ext <<_ACEOF
2551: /* end confdefs.h. */
2552: $ac_declaration
2553: int
2554: main ()
2555: {
2556: exit (42);
2557: ;
2558: return 0;
2559: }
2560: _ACEOF
2561: rm -f conftest.$ac_objext
2562: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2563: (eval $ac_compile) 2>&5
2564: ac_status=$?
2565: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566: (exit $ac_status); } &&
2567: { ac_try='test -s conftest.$ac_objext'
2568: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2569: (eval $ac_try) 2>&5
2570: ac_status=$?
2571: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572: (exit $ac_status); }; }; then
2573: break
1.1 paf 2574: else
1.62 paf 2575: echo "$as_me: failed program was:" >&5
2576: sed 's/^/| /' conftest.$ac_ext >&5
2577:
1.1 paf 2578: fi
1.62 paf 2579: rm -f conftest.$ac_objext conftest.$ac_ext
2580: done
2581: rm -f conftest*
2582: if test -n "$ac_declaration"; then
2583: echo '#ifdef __cplusplus' >>confdefs.h
2584: echo $ac_declaration >>confdefs.h
2585: echo '#endif' >>confdefs.h
1.1 paf 2586: fi
1.62 paf 2587:
2588: ac_ext=c
2589: ac_cpp='$CPP $CPPFLAGS'
2590: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2591: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2592: ac_compiler_gnu=$ac_cv_c_compiler_gnu
2593: rm -f .deps 2>/dev/null
2594: mkdir .deps 2>/dev/null
2595: if test -d .deps; then
2596: DEPDIR=.deps
2597: else
2598: # MS-DOS does not allow filenames that begin with a dot.
2599: DEPDIR=_deps
2600: fi
2601: rmdir .deps 2>/dev/null
2602:
2603:
2604: ac_config_commands="$ac_config_commands depfiles"
2605:
2606:
2607: am_make=${MAKE-make}
2608: cat > confinc << 'END'
2609: doit:
2610: @echo done
2611: END
2612: # If we don't find an include directive, just comment out the code.
2613: echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2614: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2615: am__include="#"
2616: am__quote=
2617: _am_result=none
2618: # First try GNU make style include.
2619: echo "include confinc" > confmf
2620: # We grep out `Entering directory' and `Leaving directory'
2621: # messages which can occur if `w' ends up in MAKEFLAGS.
2622: # In particular we don't look at `^make:' because GNU make might
2623: # be invoked under some other name (usually "gmake"), in which
2624: # case it prints its new name instead of `make'.
2625: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2626: am__include=include
2627: am__quote=
2628: _am_result=GNU
2629: fi
2630: # Now try BSD make style include.
2631: if test "$am__include" = "#"; then
2632: echo '.include "confinc"' > confmf
2633: if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2634: am__include=.include
2635: am__quote="\""
2636: _am_result=BSD
2637: fi
2638: fi
2639:
2640:
2641: echo "$as_me:$LINENO: result: $_am_result" >&5
2642: echo "${ECHO_T}$_am_result" >&6
2643: rm -f confinc confmf
2644:
2645: # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2646: if test "${enable_dependency_tracking+set}" = set; then
2647: enableval="$enable_dependency_tracking"
2648:
2649: fi;
2650: if test "x$enable_dependency_tracking" != xno; then
2651: am_depcomp="$ac_aux_dir/depcomp"
2652: AMDEPBACKSLASH='\'
1.1 paf 2653: fi
2654:
1.62 paf 2655:
2656: if test "x$enable_dependency_tracking" != xno; then
2657: AMDEP_TRUE=
2658: AMDEP_FALSE='#'
2659: else
2660: AMDEP_TRUE='#'
2661: AMDEP_FALSE=
2662: fi
1.1 paf 2663:
2664:
2665:
2666:
1.66 paf 2667: depcc="$CXX" am_compiler_list=
1.1 paf 2668:
1.62 paf 2669: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2670: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
1.66 paf 2671: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
1.62 paf 2672: echo $ECHO_N "(cached) $ECHO_C" >&6
2673: else
2674: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2675: # We make a subdir and do the tests there. Otherwise we can end up
2676: # making bogus files that we don't know about and never remove. For
2677: # instance it was reported that on HP-UX the gcc test will end up
2678: # making a dummy file named `D' -- because `-MD' means `put the output
2679: # in D'.
2680: mkdir conftest.dir
2681: # Copy depcomp to subdir because otherwise we won't find it if we're
2682: # using a relative directory.
2683: cp "$am_depcomp" conftest.dir
2684: cd conftest.dir
1.1 paf 2685:
1.66 paf 2686: am_cv_CXX_dependencies_compiler_type=none
1.62 paf 2687: if test "$am_compiler_list" = ""; then
2688: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.1 paf 2689: fi
1.62 paf 2690: for depmode in $am_compiler_list; do
2691: # We need to recreate these files for each test, as the compiler may
2692: # overwrite some of them when testing with obscure command lines.
2693: # This happens at least with the AIX C compiler.
2694: echo '#include "conftest.h"' > conftest.c
2695: echo 'int i;' > conftest.h
2696: echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2697:
2698: case $depmode in
2699: nosideeffect)
2700: # after this tag, mechanisms are not by side-effect, so they'll
2701: # only be used when explicitly requested
2702: if test "x$enable_dependency_tracking" = xyes; then
2703: continue
2704: else
2705: break
2706: fi
2707: ;;
2708: none) break ;;
2709: esac
2710: # We check with `-c' and `-o' for the sake of the "dashmstdout"
2711: # mode. It turns out that the SunPro C++ compiler does not properly
2712: # handle `-M -o', and we need to detect this.
2713: if depmode=$depmode \
2714: source=conftest.c object=conftest.o \
2715: depfile=conftest.Po tmpdepfile=conftest.TPo \
2716: $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 &&
2717: grep conftest.h conftest.Po > /dev/null 2>&1 &&
2718: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.66 paf 2719: am_cv_CXX_dependencies_compiler_type=$depmode
2720: break
2721: fi
2722: done
2723:
2724: cd ..
2725: rm -rf conftest.dir
2726: else
2727: am_cv_CXX_dependencies_compiler_type=none
2728: fi
2729:
2730: fi
2731: echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2732: echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2733: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
2734:
2735:
2736:
2737: if
2738: test "x$enable_dependency_tracking" != xno \
2739: && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
2740: am__fastdepCXX_TRUE=
2741: am__fastdepCXX_FALSE='#'
2742: else
2743: am__fastdepCXX_TRUE='#'
2744: am__fastdepCXX_FALSE=
2745: fi
2746:
2747:
2748: ac_ext=c
2749: ac_cpp='$CPP $CPPFLAGS'
2750: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2751: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2752: ac_compiler_gnu=$ac_cv_c_compiler_gnu
2753: if test -n "$ac_tool_prefix"; then
2754: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2755: set dummy ${ac_tool_prefix}gcc; ac_word=$2
2756: echo "$as_me:$LINENO: checking for $ac_word" >&5
2757: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2758: if test "${ac_cv_prog_CC+set}" = set; then
2759: echo $ECHO_N "(cached) $ECHO_C" >&6
2760: else
2761: if test -n "$CC"; then
2762: ac_cv_prog_CC="$CC" # Let the user override the test.
2763: else
2764: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2765: for as_dir in $PATH
2766: do
2767: IFS=$as_save_IFS
2768: test -z "$as_dir" && as_dir=.
2769: for ac_exec_ext in '' $ac_executable_extensions; do
2770: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2771: ac_cv_prog_CC="${ac_tool_prefix}gcc"
2772: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2773: break 2
2774: fi
2775: done
2776: done
2777:
2778: fi
2779: fi
2780: CC=$ac_cv_prog_CC
2781: if test -n "$CC"; then
2782: echo "$as_me:$LINENO: result: $CC" >&5
2783: echo "${ECHO_T}$CC" >&6
2784: else
2785: echo "$as_me:$LINENO: result: no" >&5
2786: echo "${ECHO_T}no" >&6
2787: fi
2788:
2789: fi
2790: if test -z "$ac_cv_prog_CC"; then
2791: ac_ct_CC=$CC
2792: # Extract the first word of "gcc", so it can be a program name with args.
2793: set dummy gcc; ac_word=$2
2794: echo "$as_me:$LINENO: checking for $ac_word" >&5
2795: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2796: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2797: echo $ECHO_N "(cached) $ECHO_C" >&6
2798: else
2799: if test -n "$ac_ct_CC"; then
2800: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2801: else
2802: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2803: for as_dir in $PATH
2804: do
2805: IFS=$as_save_IFS
2806: test -z "$as_dir" && as_dir=.
2807: for ac_exec_ext in '' $ac_executable_extensions; do
2808: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2809: ac_cv_prog_ac_ct_CC="gcc"
2810: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2811: break 2
2812: fi
2813: done
2814: done
2815:
2816: fi
2817: fi
2818: ac_ct_CC=$ac_cv_prog_ac_ct_CC
2819: if test -n "$ac_ct_CC"; then
2820: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2821: echo "${ECHO_T}$ac_ct_CC" >&6
1.1 paf 2822: else
1.66 paf 2823: echo "$as_me:$LINENO: result: no" >&5
2824: echo "${ECHO_T}no" >&6
1.62 paf 2825: fi
2826:
1.66 paf 2827: CC=$ac_ct_CC
2828: else
2829: CC="$ac_cv_prog_CC"
1.1 paf 2830: fi
1.62 paf 2831:
1.66 paf 2832: if test -z "$CC"; then
2833: if test -n "$ac_tool_prefix"; then
2834: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2835: set dummy ${ac_tool_prefix}cc; ac_word=$2
2836: echo "$as_me:$LINENO: checking for $ac_word" >&5
2837: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2838: if test "${ac_cv_prog_CC+set}" = set; then
2839: echo $ECHO_N "(cached) $ECHO_C" >&6
2840: else
2841: if test -n "$CC"; then
2842: ac_cv_prog_CC="$CC" # Let the user override the test.
2843: else
2844: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2845: for as_dir in $PATH
2846: do
2847: IFS=$as_save_IFS
2848: test -z "$as_dir" && as_dir=.
2849: for ac_exec_ext in '' $ac_executable_extensions; do
2850: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2851: ac_cv_prog_CC="${ac_tool_prefix}cc"
2852: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2853: break 2
2854: fi
2855: done
2856: done
1.62 paf 2857:
1.66 paf 2858: fi
2859: fi
2860: CC=$ac_cv_prog_CC
2861: if test -n "$CC"; then
2862: echo "$as_me:$LINENO: result: $CC" >&5
2863: echo "${ECHO_T}$CC" >&6
1.62 paf 2864: else
1.66 paf 2865: echo "$as_me:$LINENO: result: no" >&5
2866: echo "${ECHO_T}no" >&6
1.1 paf 2867: fi
2868:
1.66 paf 2869: fi
2870: if test -z "$ac_cv_prog_CC"; then
2871: ac_ct_CC=$CC
2872: # Extract the first word of "cc", so it can be a program name with args.
2873: set dummy cc; ac_word=$2
2874: echo "$as_me:$LINENO: checking for $ac_word" >&5
2875: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2876: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2877: echo $ECHO_N "(cached) $ECHO_C" >&6
2878: else
2879: if test -n "$ac_ct_CC"; then
2880: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2881: else
2882: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2883: for as_dir in $PATH
2884: do
2885: IFS=$as_save_IFS
2886: test -z "$as_dir" && as_dir=.
2887: for ac_exec_ext in '' $ac_executable_extensions; do
2888: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2889: ac_cv_prog_ac_ct_CC="cc"
2890: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2891: break 2
2892: fi
2893: done
2894: done
1.62 paf 2895:
1.66 paf 2896: fi
2897: fi
2898: ac_ct_CC=$ac_cv_prog_ac_ct_CC
2899: if test -n "$ac_ct_CC"; then
2900: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2901: echo "${ECHO_T}$ac_ct_CC" >&6
1.1 paf 2902: else
1.66 paf 2903: echo "$as_me:$LINENO: result: no" >&5
2904: echo "${ECHO_T}no" >&6
2905: fi
1.62 paf 2906:
1.66 paf 2907: CC=$ac_ct_CC
1.1 paf 2908: else
1.66 paf 2909: CC="$ac_cv_prog_CC"
2910: fi
1.62 paf 2911:
1.1 paf 2912: fi
1.66 paf 2913: if test -z "$CC"; then
2914: # Extract the first word of "cc", so it can be a program name with args.
2915: set dummy cc; ac_word=$2
2916: echo "$as_me:$LINENO: checking for $ac_word" >&5
2917: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2918: if test "${ac_cv_prog_CC+set}" = set; then
2919: echo $ECHO_N "(cached) $ECHO_C" >&6
2920: else
2921: if test -n "$CC"; then
2922: ac_cv_prog_CC="$CC" # Let the user override the test.
2923: else
2924: ac_prog_rejected=no
2925: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2926: for as_dir in $PATH
2927: do
2928: IFS=$as_save_IFS
2929: test -z "$as_dir" && as_dir=.
2930: for ac_exec_ext in '' $ac_executable_extensions; do
2931: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2932: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2933: ac_prog_rejected=yes
2934: continue
2935: fi
2936: ac_cv_prog_CC="cc"
2937: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2938: break 2
2939: fi
2940: done
1.62 paf 2941: done
2942:
1.66 paf 2943: if test $ac_prog_rejected = yes; then
2944: # We found a bogon in the path, so make sure we never use it.
2945: set dummy $ac_cv_prog_CC
2946: shift
2947: if test $# != 0; then
2948: # We chose a different compiler from the bogus one.
2949: # However, it has the same basename, so the bogon will be chosen
2950: # first if we set CC to just the basename; use the full file name.
2951: shift
2952: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2953: fi
2954: fi
2955: fi
2956: fi
2957: CC=$ac_cv_prog_CC
2958: if test -n "$CC"; then
2959: echo "$as_me:$LINENO: result: $CC" >&5
2960: echo "${ECHO_T}$CC" >&6
2961: else
2962: echo "$as_me:$LINENO: result: no" >&5
2963: echo "${ECHO_T}no" >&6
1.1 paf 2964: fi
2965:
1.66 paf 2966: fi
2967: if test -z "$CC"; then
2968: if test -n "$ac_tool_prefix"; then
2969: for ac_prog in cl
1.62 paf 2970: do
2971: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2972: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2973: echo "$as_me:$LINENO: checking for $ac_word" >&5
2974: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66 paf 2975: if test "${ac_cv_prog_CC+set}" = set; then
1.62 paf 2976: echo $ECHO_N "(cached) $ECHO_C" >&6
2977: else
1.66 paf 2978: if test -n "$CC"; then
2979: ac_cv_prog_CC="$CC" # Let the user override the test.
1.62 paf 2980: else
2981: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2982: for as_dir in $PATH
2983: do
2984: IFS=$as_save_IFS
2985: test -z "$as_dir" && as_dir=.
2986: for ac_exec_ext in '' $ac_executable_extensions; do
2987: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66 paf 2988: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.62 paf 2989: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2990: break 2
2991: fi
2992: done
2993: done
1.1 paf 2994:
1.62 paf 2995: fi
2996: fi
1.66 paf 2997: CC=$ac_cv_prog_CC
2998: if test -n "$CC"; then
2999: echo "$as_me:$LINENO: result: $CC" >&5
3000: echo "${ECHO_T}$CC" >&6
1.1 paf 3001: else
1.62 paf 3002: echo "$as_me:$LINENO: result: no" >&5
3003: echo "${ECHO_T}no" >&6
1.1 paf 3004: fi
3005:
1.66 paf 3006: test -n "$CC" && break
1.62 paf 3007: done
3008: fi
1.66 paf 3009: if test -z "$CC"; then
3010: ac_ct_CC=$CC
3011: for ac_prog in cl
1.62 paf 3012: do
3013: # Extract the first word of "$ac_prog", so it can be a program name with args.
3014: set dummy $ac_prog; ac_word=$2
3015: echo "$as_me:$LINENO: checking for $ac_word" >&5
3016: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66 paf 3017: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.62 paf 3018: echo $ECHO_N "(cached) $ECHO_C" >&6
3019: else
1.66 paf 3020: if test -n "$ac_ct_CC"; then
3021: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1 paf 3022: else
1.62 paf 3023: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3024: for as_dir in $PATH
3025: do
3026: IFS=$as_save_IFS
3027: test -z "$as_dir" && as_dir=.
3028: for ac_exec_ext in '' $ac_executable_extensions; do
3029: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66 paf 3030: ac_cv_prog_ac_ct_CC="$ac_prog"
1.62 paf 3031: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3032: break 2
3033: fi
3034: done
3035: done
3036:
3037: fi
3038: fi
1.66 paf 3039: ac_ct_CC=$ac_cv_prog_ac_ct_CC
3040: if test -n "$ac_ct_CC"; then
3041: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3042: echo "${ECHO_T}$ac_ct_CC" >&6
1.1 paf 3043: else
1.62 paf 3044: echo "$as_me:$LINENO: result: no" >&5
3045: echo "${ECHO_T}no" >&6
1.1 paf 3046: fi
3047:
1.66 paf 3048: test -n "$ac_ct_CC" && break
3049: done
3050:
3051: CC=$ac_ct_CC
3052: fi
3053:
3054: fi
1.62 paf 3055:
1.1 paf 3056:
1.66 paf 3057: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3058: See \`config.log' for more details." >&5
3059: echo "$as_me: error: no acceptable C compiler found in \$PATH
3060: See \`config.log' for more details." >&2;}
3061: { (exit 1); exit 1; }; }
1.62 paf 3062:
3063: # Provide some information about the compiler.
3064: echo "$as_me:$LINENO:" \
1.66 paf 3065: "checking for C compiler version" >&5
1.62 paf 3066: ac_compiler=`set X $ac_compile; echo $2`
3067: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3068: (eval $ac_compiler --version </dev/null >&5) 2>&5
3069: ac_status=$?
3070: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3071: (exit $ac_status); }
3072: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3073: (eval $ac_compiler -v </dev/null >&5) 2>&5
3074: ac_status=$?
3075: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076: (exit $ac_status); }
3077: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3078: (eval $ac_compiler -V </dev/null >&5) 2>&5
3079: ac_status=$?
3080: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081: (exit $ac_status); }
3082:
1.66 paf 3083: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3084: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3085: if test "${ac_cv_c_compiler_gnu+set}" = set; then
1.62 paf 3086: echo $ECHO_N "(cached) $ECHO_C" >&6
3087: else
3088: cat >conftest.$ac_ext <<_ACEOF
3089: #line $LINENO "configure"
3090: /* confdefs.h. */
3091: _ACEOF
3092: cat confdefs.h >>conftest.$ac_ext
3093: cat >>conftest.$ac_ext <<_ACEOF
3094: /* end confdefs.h. */
3095:
3096: int
3097: main ()
3098: {
3099: #ifndef __GNUC__
3100: choke me
3101: #endif
3102:
3103: ;
3104: return 0;
3105: }
3106: _ACEOF
3107: rm -f conftest.$ac_objext
3108: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3109: (eval $ac_compile) 2>&5
3110: ac_status=$?
3111: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112: (exit $ac_status); } &&
3113: { ac_try='test -s conftest.$ac_objext'
3114: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3115: (eval $ac_try) 2>&5
3116: ac_status=$?
3117: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118: (exit $ac_status); }; }; then
3119: ac_compiler_gnu=yes
3120: else
3121: echo "$as_me: failed program was:" >&5
3122: sed 's/^/| /' conftest.$ac_ext >&5
3123:
3124: ac_compiler_gnu=no
3125: fi
3126: rm -f conftest.$ac_objext conftest.$ac_ext
1.66 paf 3127: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.62 paf 3128:
3129: fi
1.66 paf 3130: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3131: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3132: GCC=`test $ac_compiler_gnu = yes && echo yes`
3133: ac_test_CFLAGS=${CFLAGS+set}
3134: ac_save_CFLAGS=$CFLAGS
3135: CFLAGS="-g"
3136: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3137: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3138: if test "${ac_cv_prog_cc_g+set}" = set; then
1.62 paf 3139: echo $ECHO_N "(cached) $ECHO_C" >&6
3140: else
3141: cat >conftest.$ac_ext <<_ACEOF
3142: #line $LINENO "configure"
3143: /* confdefs.h. */
3144: _ACEOF
3145: cat confdefs.h >>conftest.$ac_ext
3146: cat >>conftest.$ac_ext <<_ACEOF
3147: /* end confdefs.h. */
3148:
3149: int
3150: main ()
3151: {
3152:
3153: ;
3154: return 0;
3155: }
3156: _ACEOF
3157: rm -f conftest.$ac_objext
3158: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3159: (eval $ac_compile) 2>&5
3160: ac_status=$?
3161: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162: (exit $ac_status); } &&
3163: { ac_try='test -s conftest.$ac_objext'
3164: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3165: (eval $ac_try) 2>&5
3166: ac_status=$?
3167: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168: (exit $ac_status); }; }; then
1.66 paf 3169: ac_cv_prog_cc_g=yes
1.62 paf 3170: else
3171: echo "$as_me: failed program was:" >&5
3172: sed 's/^/| /' conftest.$ac_ext >&5
3173:
1.66 paf 3174: ac_cv_prog_cc_g=no
1.62 paf 3175: fi
3176: rm -f conftest.$ac_objext conftest.$ac_ext
3177: fi
1.66 paf 3178: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3179: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3180: if test "$ac_test_CFLAGS" = set; then
3181: CFLAGS=$ac_save_CFLAGS
3182: elif test $ac_cv_prog_cc_g = yes; then
3183: if test "$GCC" = yes; then
3184: CFLAGS="-g -O2"
1.1 paf 3185: else
1.66 paf 3186: CFLAGS="-g"
1.1 paf 3187: fi
3188: else
1.66 paf 3189: if test "$GCC" = yes; then
3190: CFLAGS="-O2"
1.1 paf 3191: else
1.66 paf 3192: CFLAGS=
1.1 paf 3193: fi
3194: fi
1.66 paf 3195: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3196: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3197: if test "${ac_cv_prog_cc_stdc+set}" = set; then
3198: echo $ECHO_N "(cached) $ECHO_C" >&6
3199: else
3200: ac_cv_prog_cc_stdc=no
3201: ac_save_CC=$CC
3202: cat >conftest.$ac_ext <<_ACEOF
3203: #line $LINENO "configure"
3204: /* confdefs.h. */
3205: _ACEOF
3206: cat confdefs.h >>conftest.$ac_ext
3207: cat >>conftest.$ac_ext <<_ACEOF
3208: /* end confdefs.h. */
3209: #include <stdarg.h>
3210: #include <stdio.h>
3211: #include <sys/types.h>
3212: #include <sys/stat.h>
3213: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3214: struct buf { int x; };
3215: FILE * (*rcsopen) (struct buf *, struct stat *, int);
3216: static char *e (p, i)
3217: char **p;
3218: int i;
3219: {
3220: return p[i];
3221: }
3222: static char *f (char * (*g) (char **, int), char **p, ...)
3223: {
3224: char *s;
3225: va_list v;
3226: va_start (v,p);
3227: s = g (p, va_arg (v,int));
3228: va_end (v);
3229: return s;
3230: }
3231: int test (int i, double x);
3232: struct s1 {int (*f) (int a);};
3233: struct s2 {int (*f) (double a);};
3234: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3235: int argc;
3236: char **argv;
3237: int
3238: main ()
3239: {
3240: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3241: ;
3242: return 0;
3243: }
3244: _ACEOF
3245: # Don't try gcc -ansi; that turns off useful extensions and
3246: # breaks some systems' header files.
3247: # AIX -qlanglvl=ansi
3248: # Ultrix and OSF/1 -std1
3249: # HP-UX 10.20 and later -Ae
3250: # HP-UX older versions -Aa -D_HPUX_SOURCE
3251: # SVR4 -Xc -D__EXTENSIONS__
3252: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3253: do
3254: CC="$ac_save_CC $ac_arg"
3255: rm -f conftest.$ac_objext
3256: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3257: (eval $ac_compile) 2>&5
3258: ac_status=$?
3259: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260: (exit $ac_status); } &&
3261: { ac_try='test -s conftest.$ac_objext'
3262: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3263: (eval $ac_try) 2>&5
3264: ac_status=$?
3265: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266: (exit $ac_status); }; }; then
3267: ac_cv_prog_cc_stdc=$ac_arg
3268: break
3269: else
3270: echo "$as_me: failed program was:" >&5
3271: sed 's/^/| /' conftest.$ac_ext >&5
3272:
3273: fi
3274: rm -f conftest.$ac_objext
3275: done
3276: rm -f conftest.$ac_ext conftest.$ac_objext
3277: CC=$ac_save_CC
3278:
3279: fi
3280:
3281: case "x$ac_cv_prog_cc_stdc" in
3282: x|xno)
3283: echo "$as_me:$LINENO: result: none needed" >&5
3284: echo "${ECHO_T}none needed" >&6 ;;
3285: *)
3286: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3287: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3288: CC="$CC $ac_cv_prog_cc_stdc" ;;
3289: esac
3290:
3291: # Some people use a C++ compiler to compile C. Since we use `exit',
3292: # in C++ we need to declare it. In case someone uses the same compiler
3293: # for both compiling C and C++ we need to have the C++ compiler decide
3294: # the declaration of exit, since it's the most demanding environment.
3295: cat >conftest.$ac_ext <<_ACEOF
3296: #ifndef __cplusplus
3297: choke me
3298: #endif
3299: _ACEOF
3300: rm -f conftest.$ac_objext
3301: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3302: (eval $ac_compile) 2>&5
3303: ac_status=$?
3304: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305: (exit $ac_status); } &&
3306: { ac_try='test -s conftest.$ac_objext'
3307: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3308: (eval $ac_try) 2>&5
3309: ac_status=$?
3310: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311: (exit $ac_status); }; }; then
3312: for ac_declaration in \
1.62 paf 3313: ''\
3314: '#include <stdlib.h>' \
3315: 'extern "C" void std::exit (int) throw (); using std::exit;' \
3316: 'extern "C" void std::exit (int); using std::exit;' \
3317: 'extern "C" void exit (int) throw ();' \
3318: 'extern "C" void exit (int);' \
3319: 'void exit (int);'
3320: do
3321: cat >conftest.$ac_ext <<_ACEOF
3322: #line $LINENO "configure"
3323: /* confdefs.h. */
3324: _ACEOF
3325: cat confdefs.h >>conftest.$ac_ext
3326: cat >>conftest.$ac_ext <<_ACEOF
3327: /* end confdefs.h. */
3328: #include <stdlib.h>
3329: $ac_declaration
3330: int
3331: main ()
3332: {
3333: exit (42);
3334: ;
3335: return 0;
3336: }
3337: _ACEOF
3338: rm -f conftest.$ac_objext
3339: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3340: (eval $ac_compile) 2>&5
3341: ac_status=$?
3342: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343: (exit $ac_status); } &&
3344: { ac_try='test -s conftest.$ac_objext'
3345: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3346: (eval $ac_try) 2>&5
3347: ac_status=$?
3348: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349: (exit $ac_status); }; }; then
3350: :
3351: else
3352: echo "$as_me: failed program was:" >&5
3353: sed 's/^/| /' conftest.$ac_ext >&5
3354:
3355: continue
3356: fi
3357: rm -f conftest.$ac_objext conftest.$ac_ext
3358: cat >conftest.$ac_ext <<_ACEOF
3359: #line $LINENO "configure"
3360: /* confdefs.h. */
3361: _ACEOF
3362: cat confdefs.h >>conftest.$ac_ext
3363: cat >>conftest.$ac_ext <<_ACEOF
3364: /* end confdefs.h. */
3365: $ac_declaration
3366: int
3367: main ()
3368: {
3369: exit (42);
3370: ;
3371: return 0;
3372: }
3373: _ACEOF
3374: rm -f conftest.$ac_objext
3375: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3376: (eval $ac_compile) 2>&5
3377: ac_status=$?
3378: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3379: (exit $ac_status); } &&
3380: { ac_try='test -s conftest.$ac_objext'
3381: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3382: (eval $ac_try) 2>&5
3383: ac_status=$?
3384: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3385: (exit $ac_status); }; }; then
3386: break
3387: else
3388: echo "$as_me: failed program was:" >&5
3389: sed 's/^/| /' conftest.$ac_ext >&5
3390:
3391: fi
3392: rm -f conftest.$ac_objext conftest.$ac_ext
3393: done
3394: rm -f conftest*
3395: if test -n "$ac_declaration"; then
3396: echo '#ifdef __cplusplus' >>confdefs.h
3397: echo $ac_declaration >>confdefs.h
3398: echo '#endif' >>confdefs.h
3399: fi
3400:
1.66 paf 3401: else
3402: echo "$as_me: failed program was:" >&5
3403: sed 's/^/| /' conftest.$ac_ext >&5
3404:
3405: fi
3406: rm -f conftest.$ac_objext conftest.$ac_ext
1.62 paf 3407: ac_ext=c
3408: ac_cpp='$CPP $CPPFLAGS'
3409: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3410: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3411: ac_compiler_gnu=$ac_cv_c_compiler_gnu
3412:
1.66 paf 3413: depcc="$CC" am_compiler_list=
1.62 paf 3414:
3415: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3416: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
1.66 paf 3417: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
1.62 paf 3418: echo $ECHO_N "(cached) $ECHO_C" >&6
3419: else
3420: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3421: # We make a subdir and do the tests there. Otherwise we can end up
3422: # making bogus files that we don't know about and never remove. For
3423: # instance it was reported that on HP-UX the gcc test will end up
3424: # making a dummy file named `D' -- because `-MD' means `put the output
3425: # in D'.
3426: mkdir conftest.dir
3427: # Copy depcomp to subdir because otherwise we won't find it if we're
3428: # using a relative directory.
3429: cp "$am_depcomp" conftest.dir
3430: cd conftest.dir
3431:
1.66 paf 3432: am_cv_CC_dependencies_compiler_type=none
1.62 paf 3433: if test "$am_compiler_list" = ""; then
3434: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3435: fi
3436: for depmode in $am_compiler_list; do
3437: # We need to recreate these files for each test, as the compiler may
3438: # overwrite some of them when testing with obscure command lines.
3439: # This happens at least with the AIX C compiler.
3440: echo '#include "conftest.h"' > conftest.c
3441: echo 'int i;' > conftest.h
3442: echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
3443:
3444: case $depmode in
3445: nosideeffect)
3446: # after this tag, mechanisms are not by side-effect, so they'll
3447: # only be used when explicitly requested
3448: if test "x$enable_dependency_tracking" = xyes; then
3449: continue
3450: else
3451: break
3452: fi
3453: ;;
3454: none) break ;;
3455: esac
3456: # We check with `-c' and `-o' for the sake of the "dashmstdout"
3457: # mode. It turns out that the SunPro C++ compiler does not properly
3458: # handle `-M -o', and we need to detect this.
1.66 paf 3459: if depmode=$depmode \
3460: source=conftest.c object=conftest.o \
3461: depfile=conftest.Po tmpdepfile=conftest.TPo \
3462: $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 &&
3463: grep conftest.h conftest.Po > /dev/null 2>&1 &&
3464: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3465: am_cv_CC_dependencies_compiler_type=$depmode
3466: break
3467: fi
3468: done
3469:
3470: cd ..
3471: rm -rf conftest.dir
3472: else
3473: am_cv_CC_dependencies_compiler_type=none
3474: fi
3475:
3476: fi
3477: echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3478: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3479: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3480:
3481:
3482:
3483: if
3484: test "x$enable_dependency_tracking" != xno \
3485: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3486: am__fastdepCC_TRUE=
3487: am__fastdepCC_FALSE='#'
3488: else
3489: am__fastdepCC_TRUE='#'
3490: am__fastdepCC_FALSE=
3491: fi
3492:
3493:
3494: ac_ext=c
3495: ac_cpp='$CPP $CPPFLAGS'
3496: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3497: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3498: ac_compiler_gnu=$ac_cv_c_compiler_gnu
3499:
1.66.2.5.2.1 paf 3500:
1.66 paf 3501: echo "$as_me:$LINENO: checking for inline" >&5
3502: echo $ECHO_N "checking for inline... $ECHO_C" >&6
3503: if test "${ac_cv_c_inline+set}" = set; then
3504: echo $ECHO_N "(cached) $ECHO_C" >&6
3505: else
3506: ac_cv_c_inline=no
3507: for ac_kw in inline __inline__ __inline; do
3508: cat >conftest.$ac_ext <<_ACEOF
3509: #line $LINENO "configure"
3510: /* confdefs.h. */
3511: _ACEOF
3512: cat confdefs.h >>conftest.$ac_ext
3513: cat >>conftest.$ac_ext <<_ACEOF
3514: /* end confdefs.h. */
3515: #ifndef __cplusplus
3516: typedef int foo_t;
3517: static $ac_kw foo_t static_foo () {return 0; }
3518: $ac_kw foo_t foo () {return 0; }
3519: #endif
1.62 paf 3520:
1.66 paf 3521: _ACEOF
3522: rm -f conftest.$ac_objext
3523: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3524: (eval $ac_compile) 2>&5
3525: ac_status=$?
3526: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527: (exit $ac_status); } &&
3528: { ac_try='test -s conftest.$ac_objext'
3529: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3530: (eval $ac_try) 2>&5
3531: ac_status=$?
3532: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3533: (exit $ac_status); }; }; then
3534: ac_cv_c_inline=$ac_kw; break
1.62 paf 3535: else
1.66 paf 3536: echo "$as_me: failed program was:" >&5
3537: sed 's/^/| /' conftest.$ac_ext >&5
1.62 paf 3538:
3539: fi
1.66 paf 3540: rm -f conftest.$ac_objext conftest.$ac_ext
3541: done
1.62 paf 3542:
3543: fi
1.66 paf 3544: echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3545: echo "${ECHO_T}$ac_cv_c_inline" >&6
3546: case $ac_cv_c_inline in
3547: inline | yes) ;;
3548: no)
3549: cat >>confdefs.h <<\_ACEOF
3550: #define inline
3551: _ACEOF
3552: ;;
3553: *) cat >>confdefs.h <<_ACEOF
3554: #define inline $ac_cv_c_inline
3555: _ACEOF
3556: ;;
3557: esac
1.1 paf 3558:
3559:
3560:
1.66.2.5.2.3! paf 3561: # Check whether --enable-assertions or --disable-assertions was given.
! 3562: if test "${enable_assertions+set}" = set; then
! 3563: enableval="$enable_assertions"
! 3564:
! 3565: ASSERTIONS_MODE=$enableval
! 3566:
! 3567:
! 3568: fi;
! 3569: if test "$ASSERTIONS_MODE" = "yes"; then
! 3570: { echo "$as_me:$LINENO: WARNING: enabling assertions" >&5
! 3571: echo "$as_me: WARNING: enabling assertions" >&2;}
! 3572: else
! 3573:
! 3574: cat >>confdefs.h <<\_ACEOF
! 3575: #define NDEBUG
! 3576: _ACEOF
! 3577:
! 3578: fi
! 3579:
1.60 paf 3580: # Check whether --enable-safe-mode or --disable-safe-mode was given.
3581: if test "${enable_safe_mode+set}" = set; then
3582: enableval="$enable_safe_mode"
1.62 paf 3583:
1.66.2.3 paf 3584: SAFE_MODE=$enableval
1.60 paf 3585:
1.1 paf 3586:
1.62 paf 3587: fi;
1.60 paf 3588: if test "$SAFE_MODE" = "no"; then
1.62 paf 3589: { echo "$as_me:$LINENO: WARNING: enabling reading of files belonging to group+user other then effective" >&5
3590: echo "$as_me: WARNING: enabling reading of files belonging to group+user other then effective" >&2;}
1.60 paf 3591: else
1.62 paf 3592:
3593: cat >>confdefs.h <<\_ACEOF
3594: #define PA_SAFE_MODE
3595: _ACEOF
1.1 paf 3596:
3597: fi
3598:
1.13 paf 3599: # Check whether --enable-execs or --disable-execs was given.
3600: if test "${enable_execs+set}" = set; then
3601: enableval="$enable_execs"
1.62 paf 3602:
1.13 paf 3603: if test "$enableval" = "no"; then
1.62 paf 3604: { echo "$as_me:$LINENO: WARNING: disabling file execs" >&5
3605: echo "$as_me: WARNING: disabling file execs" >&2;}
3606:
3607: cat >>confdefs.h <<\_ACEOF
3608: #define NO_PA_EXECS
3609: _ACEOF
1.13 paf 3610:
3611: fi
3612:
3613:
1.62 paf 3614: fi;
1.13 paf 3615:
1.60 paf 3616:
1.18 paf 3617: srccharsetsdir=$srcdir/etc/parser3.charsets
1.17 paf 3618: CHARSETS_REQUESTED="windows-1251"
1.62 paf 3619:
1.17 paf 3620: # Check whether --with-charsets or --without-charsets was given.
3621: if test "${with_charsets+set}" = set; then
3622: withval="$with_charsets"
3623: CHARSETS_REQUESTED=`echo $withval | sed -e 's/,/ /g'`
1.62 paf 3624: fi;
1.17 paf 3625:
1.18 paf 3626: # Checking whether all requested charsets have corresponding .cfg files
3627: for c in $CHARSETS_REQUESTED; do
3628: if test \! -f $srccharsetsdir/$c.cfg; then
1.62 paf 3629: { { echo "$as_me:$LINENO: error: bad charset requested \"$c\" - file $srccharsetsdir/$c.cfg not found" >&5
3630: echo "$as_me: error: bad charset requested \"$c\" - file $srccharsetsdir/$c.cfg not found" >&2;}
3631: { (exit 1); exit 1; }; }
1.18 paf 3632: fi
3633: done
1.17 paf 3634:
1.18 paf 3635: # Switching on commentcharset_XXX='#'
1.17 paf 3636:
3637:
3638: commentcharset_windows1251='#'
1.18 paf 3639: for c in $CHARSETS_REQUESTED; do
1.17 paf 3640: if test "windows-1251" = "$c"; then
1.62 paf 3641: { echo "$as_me:$LINENO: WARNING: enabling charset windows-1251" >&5
3642: echo "$as_me: WARNING: enabling charset windows-1251" >&2;}
1.18 paf 3643: commentcharset_windows1251=
1.17 paf 3644: fi
3645: done
1.62 paf 3646:
1.17 paf 3647:
3648:
3649: commentcharset_windows1250='#'
1.18 paf 3650: for c in $CHARSETS_REQUESTED; do
1.17 paf 3651: if test "windows-1250" = "$c"; then
1.62 paf 3652: { echo "$as_me:$LINENO: WARNING: enabling charset windows-1250" >&5
3653: echo "$as_me: WARNING: enabling charset windows-1250" >&2;}
1.18 paf 3654: commentcharset_windows1250=
1.17 paf 3655: fi
3656: done
1.62 paf 3657:
1.17 paf 3658:
3659:
3660: commentcharset_windows1257='#'
1.18 paf 3661: for c in $CHARSETS_REQUESTED; do
1.17 paf 3662: if test "windows-1257" = "$c"; then
1.62 paf 3663: { echo "$as_me:$LINENO: WARNING: enabling charset windows-1257" >&5
3664: echo "$as_me: WARNING: enabling charset windows-1257" >&2;}
1.18 paf 3665: commentcharset_windows1257=
1.17 paf 3666: fi
3667: done
1.62 paf 3668:
1.17 paf 3669:
3670:
3671: commentcharset_koi8r='#'
1.18 paf 3672: for c in $CHARSETS_REQUESTED; do
1.17 paf 3673: if test "koi8-r" = "$c"; then
1.62 paf 3674: { echo "$as_me:$LINENO: WARNING: enabling charset koi8-r" >&5
3675: echo "$as_me: WARNING: enabling charset koi8-r" >&2;}
1.18 paf 3676: commentcharset_koi8r=
1.17 paf 3677: fi
3678: done
3679:
3680:
3681:
1.62 paf 3682:
3683: echo "$as_me:$LINENO: checking for dynamic-link library extension" >&5
3684: echo $ECHO_N "checking for dynamic-link library extension... $ECHO_C" >&6
1.40 paf 3685: case "$host_os" in
3686: hpux9* | hpux10* | hpux11*)
1.66.2.3 paf 3687: dll_extension=sl
3688: ;;
1.40 paf 3689: cygwin)
1.66.2.3 paf 3690: dll_extension=dll
3691: ;;
1.40 paf 3692: *)
1.66.2.3 paf 3693: dll_extension=so
1.40 paf 3694: esac
1.62 paf 3695: echo "$as_me:$LINENO: result: $dll_extension" >&5
3696: echo "${ECHO_T}$dll_extension" >&6
3697:
1.40 paf 3698:
3699:
1.17 paf 3700: # Check whether --with-mysql-client or --without-mysql-client was given.
3701: if test "${with_mysql_client+set}" = set; then
3702: withval="$with_mysql_client"
3703: mysql_client=$withval
3704:
3705: else
1.62 paf 3706: echo "$as_me:$LINENO: checking for mysql client" >&5
3707: echo $ECHO_N "checking for mysql client... $ECHO_C" >&6
1.17 paf 3708: for lib in \
1.40 paf 3709: /usr/local/lib/mysql/libmysqlclient.$dll_extension \
3710: /usr/local/lib/libmysqlclient.$dll_extension \
3711: /usr/lib/libmysqlclient.$dll_extension; do
1.17 paf 3712: if test -f $lib; then mysql_client=$lib; fi
3713: done
3714:
3715: if test -z "$mysql_client"; then
3716: mysql_client="-configure could not guess-"
1.66 paf 3717: echo "$as_me:$LINENO: result: could not guess" >&5
3718: echo "${ECHO_T}could not guess" >&6
1.17 paf 3719: else
1.62 paf 3720: echo "$as_me:$LINENO: result: $mysql_client" >&5
3721: echo "${ECHO_T}$mysql_client" >&6
1.17 paf 3722: fi
3723:
3724:
1.62 paf 3725: fi;
1.17 paf 3726:
3727:
3728:
3729: # Check whether --with-pgsql-client or --without-pgsql-client was given.
3730: if test "${with_pgsql_client+set}" = set; then
3731: withval="$with_pgsql_client"
3732: mysql_client=$withval
3733:
3734: else
1.62 paf 3735: echo "$as_me:$LINENO: checking for pgsql client" >&5
3736: echo $ECHO_N "checking for pgsql client... $ECHO_C" >&6
1.17 paf 3737: for lib in \
1.40 paf 3738: /usr/local/pgsql/lib/libpq.$dll_extension \
3739: /usr/local/lib/libpq.$dll_extension \
3740: /usr/lib/libpq.$dll_extension; do
1.17 paf 3741: if test -f $lib; then pgsql_client=$lib; fi
3742: done
3743:
3744: if test -z "$pgsql_client"; then
3745: pgsql_client="-configure could not guess-"
1.66 paf 3746: echo "$as_me:$LINENO: result: could not guess" >&5
3747: echo "${ECHO_T}could not guess" >&6
1.17 paf 3748: else
1.62 paf 3749: echo "$as_me:$LINENO: result: $pgsql_client" >&5
3750: echo "${ECHO_T}$pgsql_client" >&6
1.17 paf 3751: fi
3752:
3753:
1.62 paf 3754: fi;
1.17 paf 3755:
3756:
3757:
3758: # Check whether --with-oracle-client or --without-oracle-client was given.
3759: if test "${with_oracle_client+set}" = set; then
3760: withval="$with_oracle_client"
3761: oracle_client=$withval
3762:
3763: else
1.62 paf 3764: echo "$as_me:$LINENO: checking for oracle client" >&5
3765: echo $ECHO_N "checking for oracle client... $ECHO_C" >&6
1.40 paf 3766: lib=$ORACLE_HOME/lib/libclntsh.$dll_extension
1.17 paf 3767: if test -f $lib; then oracle_client=$lib; fi
3768:
3769: if test -z "$oracle_client"; then
3770: oracle_client="-configure could not guess-"
1.66 paf 3771: echo "$as_me:$LINENO: result: could not guess" >&5
3772: echo "${ECHO_T}could not guess" >&6
1.17 paf 3773: else
3774: oracle_client="$oracle_client?ORACLE_HOME=$ORACLE_HOME&ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data"
1.62 paf 3775: echo "$as_me:$LINENO: result: $oracle_client" >&5
3776: echo "${ECHO_T}$oracle_client" >&6
1.17 paf 3777: fi
3778:
3779:
1.62 paf 3780: fi;
1.17 paf 3781:
3782:
3783:
3784:
1.14 paf 3785:
1.1 paf 3786: # Check whether --with-pathlink or --without-pathlink was given.
3787: if test "${with_pathlink+set}" = set; then
3788: withval="$with_pathlink"
3789: LD_PATHLINK=$withval
3790:
1.62 paf 3791: fi;
1.1 paf 3792:
1.66.2.3 paf 3793: # Check whether --with-dynamic-stdcpp or --without-dynamic-stdcpp was given.
3794: if test "${with_dynamic_stdcpp+set}" = set; then
3795: withval="$with_dynamic_stdcpp"
1.59 paf 3796:
1.66.2.3 paf 3797: { echo "$as_me:$LINENO: WARNING: libstdc++ will be linked dynamically: this is probably incompatible with other platforms" >&5
3798: echo "$as_me: WARNING: libstdc++ will be linked dynamically: this is probably incompatible with other platforms" >&2;}
3799: # this is for apache, it's linked with gcc and need to know
3800: # and it would not harm linking with c++ toolchain
1.66.2.4 paf 3801: CPP_LIBS="-lstdc++"
1.59 paf 3802:
3803: else
3804:
1.66.2.4 paf 3805: CPP_LIBS="-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic"
1.59 paf 3806:
1.66.2.3 paf 3807: fi;
1.62 paf 3808:
3809:
1.66.2.4 paf 3810:
1.37 paf 3811: # Check whether --with-sjlj-exceptions or --without-sjlj-exceptions was given.
3812: if test "${with_sjlj_exceptions+set}" = set; then
3813: withval="$with_sjlj_exceptions"
1.62 paf 3814:
3815: cat >>confdefs.h <<\_ACEOF
3816: #define PA_WITH_SJLJ_EXCEPTIONS
3817: _ACEOF
1.37 paf 3818:
3819:
1.62 paf 3820: fi;
1.37 paf 3821:
1.66.2.5.2.1 paf 3822: GC_LIB_NAME=gc
3823:
3824: # Check whether --with-shared-gc or --without-shared-gc was given.
3825: if test "${with_shared_gc+set}" = set; then
3826: withval="$with_shared_gc"
3827:
3828: GC_LIBS="-L$withval -l$GC_LIB_NAME"
3829:
3830: fi;
3831:
3832: # Check whether --with-static-gc or --without-static-gc was given.
3833: if test "${with_static_gc+set}" = set; then
3834: withval="$with_static_gc"
3835:
3836: GC_LIBS="-L$withval -Wl,-Bstatic -l$GC_LIB_NAME -Wl,-Bdynamic"
3837:
3838: fi;
3839: if test -z "$GC_LIBS"; then
3840: #undefined? use any found in system
3841: GC_LIBS="-l$GC_LIB_NAME"
3842: { echo "$as_me:$LINENO: WARNING: neither --with-shared/static-gc were specified, hoping linker would find it" >&5
3843: echo "$as_me: WARNING: neither --with-shared/static-gc were specified, hoping linker would find it" >&2;}
3844: fi
3845:
3846: echo "$as_me:$LINENO: checking for libgc" >&5
3847: echo $ECHO_N "checking for libgc... $ECHO_C" >&6
3848: SAVE_LIBS=$LIBS
3849: LIBS="$LIBS $GC_LIBS"
3850: cat >conftest.$ac_ext <<_ACEOF
3851: #line $LINENO "configure"
3852: /* confdefs.h. */
3853: _ACEOF
3854: cat confdefs.h >>conftest.$ac_ext
3855: cat >>conftest.$ac_ext <<_ACEOF
3856: /* end confdefs.h. */
3857:
3858: extern int GC_dont_gc;
3859:
3860: int
3861: main ()
3862: {
3863:
3864: GC_dont_gc=0;
3865:
3866: ;
3867: return 0;
3868: }
3869: _ACEOF
3870: rm -f conftest.$ac_objext conftest$ac_exeext
3871: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3872: (eval $ac_link) 2>&5
3873: ac_status=$?
3874: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3875: (exit $ac_status); } &&
3876: { ac_try='test -s conftest$ac_exeext'
3877: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3878: (eval $ac_try) 2>&5
3879: ac_status=$?
3880: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3881: (exit $ac_status); }; }; then
3882: echo "$as_me:$LINENO: result: yes" >&5
3883: echo "${ECHO_T}yes" >&6
3884:
3885: else
3886: echo "$as_me: failed program was:" >&5
3887: sed 's/^/| /' conftest.$ac_ext >&5
3888:
3889: echo "$as_me:$LINENO: result: no" >&5
3890: echo "${ECHO_T}no" >&6
3891: { { echo "$as_me:$LINENO: error: please specify path to libgc: --with-shared-gc OR --with-static-gc" >&5
3892: echo "$as_me: error: please specify path to libgc: --with-shared-gc OR --with-static-gc" >&2;}
3893: { (exit 1); exit 1; }; }
3894:
3895: fi
3896: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3897:
3898: LIBS=$SAVE_LIBS
3899:
1.1 paf 3900:
1.15 paf 3901:
1.7 paf 3902: # Check whether --with-glib-config or --without-glib-config was given.
3903: if test "${with_glib_config+set}" = set; then
1.66 paf 3904: withval="$with_glib_config"
3905: GLIB_CONFIG=$withval
3906:
3907: fi;
3908:
3909:
3910: # Check whether --with-shared-xml or --without-shared-xml was given.
3911: if test "${with_shared_xml+set}" = set; then
3912: withval="$with_shared_xml"
3913:
1.66.2.3 paf 3914: GNOME_XML=$withval
3915: XMLBIN="$GNOME_XML/bin"
3916: XMLINC="$GNOME_XML/include"
3917: XMLLIB="$GNOME_XML/lib"
1.66 paf 3918:
1.66.2.3 paf 3919: if test \! -d $XMLBIN -o \! -d $XMLINC -o \! -d $XMLLIB; then
3920: { { echo "$as_me:$LINENO: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&5
1.66 paf 3921: echo "$as_me: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&2;}
3922: { (exit 1); exit 1; }; }
1.66.2.3 paf 3923: fi
1.66 paf 3924:
3925:
3926: cat >>confdefs.h <<\_ACEOF
3927: #define XML
3928: _ACEOF
3929:
3930:
1.66.2.3 paf 3931: LIBXML2_SO_NAME=`cd $XMLLIB ; ls libxml2.?? libxml2.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
3932: LIBGDOME_SO_NAME=`cd $XMLLIB ; ls libgdome.?? libgdome.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
3933: LIBXSLT_SO_NAME=`cd $XMLLIB ; ls libxslt.?? libxslt.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
3934: LIBEXSLT_SO_NAME=`cd $XMLLIB ; ls libexslt.?? libexslt.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
3935:
3936: if test -z "$GLIB_CONFIG"; then
3937: GLIB_CONFIG=$XMLBIN/glib-config
3938: if test \! -x $GLIB_CONFIG; then
3939: GLIB_CONFIG=glib-config
3940: fi
3941: fi
3942: GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
3943: GLIB_LIBS=`$GLIB_CONFIG --libs`
1.66 paf 3944:
1.66.2.3 paf 3945: XML_INCLUDES="$GLIB_CFLAGS -I$XMLINC -I$XMLINC/libgdome -I$XMLINC/libxml2"
3946: XML_LIBS="$GLIB_LIBS -L$XMLLIB -l$LIBXML2_SO_NAME -l$LIBGDOME_SO_NAME -l$LIBXSLT_SO_NAME -l$LIBEXSLT_SO_NAME"
3947: if test \! -z "$LD_PATHLINK"; then
1.66 paf 3948: XML_LIBS="$XML_LIBS -Wl,$LD_PATHLINK -Wl,$XMLLIB"
1.66.2.3 paf 3949: fi
1.66 paf 3950:
3951: fi;
3952:
3953: # Check whether --with-static-xml or --without-static-xml was given.
3954: if test "${with_static_xml+set}" = set; then
3955: withval="$with_static_xml"
3956:
1.66.2.3 paf 3957: GNOME_XML=$withval
3958: XMLBIN="$GNOME_XML/bin"
3959: XMLINC="$GNOME_XML/include"
3960: XMLLIB="$GNOME_XML/lib"
1.66 paf 3961:
1.66.2.3 paf 3962: if test \! -d $XMLBIN -o \! -d $XMLINC -o \! -d $XMLLIB; then
3963: { { echo "$as_me:$LINENO: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&5
1.66 paf 3964: echo "$as_me: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&2;}
3965: { (exit 1); exit 1; }; }
1.66.2.3 paf 3966: fi
1.66 paf 3967:
3968:
3969: cat >>confdefs.h <<\_ACEOF
3970: #define XML
3971: _ACEOF
3972:
3973:
1.66.2.3 paf 3974: if test -z "$GLIB_CONFIG"; then
3975: GLIB_CONFIG=$XMLBIN/glib-config
3976: if test \! -x $GLIB_CONFIG; then
3977: GLIB_CONFIG=glib-config
3978: fi
3979: fi
3980: GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
1.66 paf 3981:
1.66.2.3 paf 3982: GLIB_DIR=`$GLIB_CONFIG --libs | sed 's/.*-L\([^ ]*\).*/\1/'`
3983: GLIB_NAME=`$GLIB_CONFIG --libs | sed 's/.*-l\([^ ]*\).*/\1/'`
3984: XML_INCLUDES="$GLIB_CFLAGS -I$XMLINC -I$XMLINC/libgdome -I$XMLINC/libxml2"
3985: XML_LIBS="$XMLLIB/libgdome.a $XMLLIB/libxslt.a $XMLLIB/libexslt.a $XMLLIB/libxml2.a $GLIB_DIR/lib$GLIB_NAME.a"
1.66 paf 3986:
3987: fi;
3988:
3989:
3990:
3991:
3992: # Check whether --with-shared-mailreceive or --without-shared-mailreceive was given.
3993: if test "${with_shared_mailreceive+set}" = set; then
3994: withval="$with_shared_mailreceive"
3995:
1.66.2.3 paf 3996: GNOME_MIME=$withval
3997: MIMEBIN="$GNOME_MIME/bin"
3998: MIMEINC="$GNOME_MIME/include"
3999: MIMELIB="$GNOME_MIME/lib"
1.66 paf 4000:
1.66.2.3 paf 4001: if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then
4002: { { echo "$as_me:$LINENO: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&5
1.66 paf 4003: echo "$as_me: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&2;}
4004: { (exit 1); exit 1; }; }
1.66.2.3 paf 4005: fi
1.66 paf 4006:
4007:
4008: cat >>confdefs.h <<\_ACEOF
4009: #define WITH_MAILRECEIVE
4010: _ACEOF
4011:
4012:
1.66.2.3 paf 4013: LIBMIME_SO_NAME=`cd $MIMELIB ; ls libgmime.?? libgmime.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
1.66 paf 4014:
1.66.2.3 paf 4015: if test -z "$GLIB_CONFIG"; then
4016: GLIB_CONFIG=$MIMEBIN/glib-config
4017: if test \! -x $GLIB_CONFIG; then
4018: GLIB_CONFIG=glib-config
4019: fi
4020: fi
4021: GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
4022: GLIB_LIBS=`$GLIB_CONFIG --libs`
1.66 paf 4023:
1.66.2.3 paf 4024: MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime"
4025: MIME_LIBS="$GLIB_LIBS -L$MIMELIB -l$LIBMIME_SO_NAME"
4026: if test \! -z "$LD_PATHLINK"; then
1.66 paf 4027: MIME_LIBS="$MIME_LIBS -Wl,$LD_PATHLINK -Wl,$MIMELIB"
1.66.2.3 paf 4028: fi
1.66 paf 4029:
4030: fi;
4031:
4032: # Check whether --with-static-mailreceive or --without-static-mailreceive was given.
4033: if test "${with_static_mailreceive+set}" = set; then
4034: withval="$with_static_mailreceive"
4035:
1.66.2.3 paf 4036: GNOME_MIME=$withval
4037: MIMEBIN="$GNOME_MIME/bin"
4038: MIMEINC="$GNOME_MIME/include"
4039: MIMELIB="$GNOME_MIME/lib"
1.66 paf 4040:
1.66.2.3 paf 4041: if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then
4042: { { echo "$as_me:$LINENO: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&5
1.66 paf 4043: echo "$as_me: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&2;}
4044: { (exit 1); exit 1; }; }
1.66.2.3 paf 4045: fi
1.66 paf 4046:
4047:
4048: cat >>confdefs.h <<\_ACEOF
4049: #define WITH_MAILRECEIVE
4050: _ACEOF
4051:
4052:
1.66.2.3 paf 4053: if test -z "$GLIB_CONFIG"; then
4054: GLIB_CONFIG=$MIMEBIN/glib-config
4055: if test \! -x $GLIB_CONFIG; then
4056: GLIB_CONFIG=glib-config
4057: fi
4058: fi
4059: GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
1.66 paf 4060:
1.66.2.3 paf 4061: GLIB_DIR=`$GLIB_CONFIG --libs | sed 's/.*-L\([^ ]*\).*/\1/'`
4062: GLIB_NAME=`$GLIB_CONFIG --libs | sed 's/.*-l\([^ ]*\).*/\1/'`
4063: MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime"
4064: MIME_LIBS="$MIMELIB/libgmime.a $GLIB_DIR/lib$GLIB_NAME.a"
1.66 paf 4065:
4066: fi;
4067:
4068:
4069:
4070:
4071:
4072: # Check whether --with-sendmail or --without-sendmail was given.
4073: if test "${with_sendmail+set}" = set; then
4074: withval="$with_sendmail"
4075:
4076: cat >>confdefs.h <<_ACEOF
4077: #define PA_FORCED_SENDMAIL "$withval"
4078: _ACEOF
4079:
4080:
4081: fi;
4082:
4083:
4084:
4085: # Check whether --with-apache13 or --without-apache13 was given.
4086: if test "${with_apache13+set}" = set; then
4087: withval="$with_apache13"
4088: APACHE13=$withval
1.66.2.3 paf 4089: if test \! -f "$APACHE13/src/include/httpd.h"; then
4090: { { echo "$as_me:$LINENO: error: $APACHE13 does not seem to be valid Apache13 source distribution directory" >&5
1.66 paf 4091: echo "$as_me: error: $APACHE13 does not seem to be valid Apache13 source distribution directory" >&2;}
4092: { (exit 1); exit 1; }; }
1.66.2.3 paf 4093: fi
1.7 paf 4094:
1.62 paf 4095: fi;
1.7 paf 4096:
4097:
1.62 paf 4098:
1.66 paf 4099: if test -n "$APACHE13"; then
4100: COMPILE_APACHE13_MODULE_TRUE=
4101: COMPILE_APACHE13_MODULE_FALSE='#'
4102: else
4103: COMPILE_APACHE13_MODULE_TRUE='#'
4104: COMPILE_APACHE13_MODULE_FALSE=
4105: fi
1.1 paf 4106:
4107:
4108:
1.66 paf 4109: LIBLTDL='${top_builddir}/'src/lib/ltdl/libltdlc.a
4110: INCLTDL='-I${top_srcdir}/'src/lib/ltdl
1.62 paf 4111:
4112:
1.7 paf 4113:
1.1 paf 4114:
4115:
4116:
1.66 paf 4117: subdirs="$subdirs src/lib/ltdl"
1.62 paf 4118:
1.10 paf 4119:
1.66 paf 4120: LIBADD_DL=
1.10 paf 4121:
1.62 paf 4122:
1.66 paf 4123: echo "$as_me:$LINENO: checking for shl_load" >&5
4124: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
4125: if test "${ac_cv_func_shl_load+set}" = set; then
4126: echo $ECHO_N "(cached) $ECHO_C" >&6
4127: else
4128: cat >conftest.$ac_ext <<_ACEOF
4129: #line $LINENO "configure"
4130: /* confdefs.h. */
1.62 paf 4131: _ACEOF
1.66 paf 4132: cat confdefs.h >>conftest.$ac_ext
4133: cat >>conftest.$ac_ext <<_ACEOF
4134: /* end confdefs.h. */
4135: /* System header to define __stub macros and hopefully few prototypes,
4136: which can conflict with char shl_load (); below.
4137: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4138: <limits.h> exists even on freestanding compilers. */
4139: #ifdef __STDC__
4140: # include <limits.h>
4141: #else
4142: # include <assert.h>
4143: #endif
4144: /* Override any gcc2 internal prototype to avoid an error. */
4145: #ifdef __cplusplus
4146: extern "C"
4147: {
4148: #endif
4149: /* We use char because int might match the return type of a gcc2
4150: builtin and then its argument prototype would still apply. */
4151: char shl_load ();
4152: /* The GNU C library defines this for functions which it implements
4153: to always fail with ENOSYS. Some functions are actually named
4154: something starting with __ and the normal name is an alias. */
4155: #if defined (__stub_shl_load) || defined (__stub___shl_load)
4156: choke me
4157: #else
4158: char (*f) () = shl_load;
4159: #endif
4160: #ifdef __cplusplus
4161: }
4162: #endif
1.10 paf 4163:
1.66 paf 4164: int
4165: main ()
4166: {
4167: return f != shl_load;
4168: ;
4169: return 0;
4170: }
4171: _ACEOF
4172: rm -f conftest.$ac_objext conftest$ac_exeext
4173: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4174: (eval $ac_link) 2>&5
4175: ac_status=$?
4176: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4177: (exit $ac_status); } &&
4178: { ac_try='test -s conftest$ac_exeext'
4179: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4180: (eval $ac_try) 2>&5
4181: ac_status=$?
4182: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4183: (exit $ac_status); }; }; then
4184: ac_cv_func_shl_load=yes
4185: else
4186: echo "$as_me: failed program was:" >&5
4187: sed 's/^/| /' conftest.$ac_ext >&5
1.10 paf 4188:
1.66 paf 4189: ac_cv_func_shl_load=no
4190: fi
4191: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4192: fi
4193: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
4194: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
4195: if test $ac_cv_func_shl_load = yes; then
1.10 paf 4196:
1.66 paf 4197: cat >>confdefs.h <<\_ACEOF
4198: #define HAVE_SHL_LOAD 1
4199: _ACEOF
1.10 paf 4200:
1.66 paf 4201: else
4202: echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
4203: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
4204: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
4205: echo $ECHO_N "(cached) $ECHO_C" >&6
4206: else
4207: ac_check_lib_save_LIBS=$LIBS
4208: LIBS="-ldld $LIBS"
4209: cat >conftest.$ac_ext <<_ACEOF
4210: #line $LINENO "configure"
4211: /* confdefs.h. */
4212: _ACEOF
4213: cat confdefs.h >>conftest.$ac_ext
4214: cat >>conftest.$ac_ext <<_ACEOF
4215: /* end confdefs.h. */
1.10 paf 4216:
1.66 paf 4217: /* Override any gcc2 internal prototype to avoid an error. */
4218: #ifdef __cplusplus
4219: extern "C"
4220: #endif
4221: /* We use char because int might match the return type of a gcc2
4222: builtin and then its argument prototype would still apply. */
4223: char shl_load ();
4224: int
4225: main ()
4226: {
4227: shl_load ();
4228: ;
4229: return 0;
4230: }
4231: _ACEOF
4232: rm -f conftest.$ac_objext conftest$ac_exeext
4233: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4234: (eval $ac_link) 2>&5
4235: ac_status=$?
4236: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237: (exit $ac_status); } &&
4238: { ac_try='test -s conftest$ac_exeext'
4239: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4240: (eval $ac_try) 2>&5
4241: ac_status=$?
4242: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243: (exit $ac_status); }; }; then
4244: ac_cv_lib_dld_shl_load=yes
4245: else
4246: echo "$as_me: failed program was:" >&5
4247: sed 's/^/| /' conftest.$ac_ext >&5
1.10 paf 4248:
1.66 paf 4249: ac_cv_lib_dld_shl_load=no
4250: fi
4251: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4252: LIBS=$ac_check_lib_save_LIBS
4253: fi
4254: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
4255: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
4256: if test $ac_cv_lib_dld_shl_load = yes; then
1.1 paf 4257:
1.66 paf 4258: cat >>confdefs.h <<\_ACEOF
4259: #define HAVE_SHL_LOAD 1
4260: _ACEOF
1.1 paf 4261:
1.66 paf 4262: LIBADD_DL="$LIBADD_DL -ldld"
4263: else
4264: echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
4265: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
4266: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
4267: echo $ECHO_N "(cached) $ECHO_C" >&6
4268: else
4269: ac_check_lib_save_LIBS=$LIBS
4270: LIBS="-ldl $LIBS"
4271: cat >conftest.$ac_ext <<_ACEOF
4272: #line $LINENO "configure"
4273: /* confdefs.h. */
4274: _ACEOF
4275: cat confdefs.h >>conftest.$ac_ext
4276: cat >>conftest.$ac_ext <<_ACEOF
4277: /* end confdefs.h. */
1.62 paf 4278:
1.66 paf 4279: /* Override any gcc2 internal prototype to avoid an error. */
4280: #ifdef __cplusplus
4281: extern "C"
4282: #endif
4283: /* We use char because int might match the return type of a gcc2
4284: builtin and then its argument prototype would still apply. */
4285: char dlopen ();
4286: int
4287: main ()
4288: {
4289: dlopen ();
4290: ;
4291: return 0;
4292: }
4293: _ACEOF
4294: rm -f conftest.$ac_objext conftest$ac_exeext
4295: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4296: (eval $ac_link) 2>&5
4297: ac_status=$?
4298: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4299: (exit $ac_status); } &&
4300: { ac_try='test -s conftest$ac_exeext'
4301: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4302: (eval $ac_try) 2>&5
4303: ac_status=$?
4304: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305: (exit $ac_status); }; }; then
4306: ac_cv_lib_dl_dlopen=yes
4307: else
4308: echo "$as_me: failed program was:" >&5
4309: sed 's/^/| /' conftest.$ac_ext >&5
1.29 paf 4310:
1.66 paf 4311: ac_cv_lib_dl_dlopen=no
4312: fi
4313: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4314: LIBS=$ac_check_lib_save_LIBS
4315: fi
4316: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
4317: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
4318: if test $ac_cv_lib_dl_dlopen = yes; then
1.29 paf 4319:
1.62 paf 4320: cat >>confdefs.h <<\_ACEOF
1.66 paf 4321: #define HAVE_LIBDL 1
1.62 paf 4322: _ACEOF
4323:
1.66 paf 4324: LIBADD_DL="-ldl"
4325: else
4326: cat >conftest.$ac_ext <<_ACEOF
4327: #line $LINENO "configure"
4328: /* confdefs.h. */
4329: _ACEOF
4330: cat confdefs.h >>conftest.$ac_ext
4331: cat >>conftest.$ac_ext <<_ACEOF
4332: /* end confdefs.h. */
4333: #if HAVE_DLFCN_H
4334: # include <dlfcn.h>
4335: #endif
1.62 paf 4336:
1.66 paf 4337: int
4338: main ()
4339: {
4340: dlopen(0, 0);
4341: ;
4342: return 0;
4343: }
4344: _ACEOF
4345: rm -f conftest.$ac_objext conftest$ac_exeext
4346: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4347: (eval $ac_link) 2>&5
4348: ac_status=$?
4349: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4350: (exit $ac_status); } &&
4351: { ac_try='test -s conftest$ac_exeext'
4352: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4353: (eval $ac_try) 2>&5
4354: ac_status=$?
4355: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4356: (exit $ac_status); }; }; then
1.29 paf 4357:
1.66 paf 4358: cat >>confdefs.h <<\_ACEOF
4359: #define HAVE_LIBDL 1
4360: _ACEOF
1.29 paf 4361:
1.66 paf 4362: else
4363: echo "$as_me: failed program was:" >&5
4364: sed 's/^/| /' conftest.$ac_ext >&5
1.29 paf 4365:
1.66 paf 4366: echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
4367: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
4368: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
4369: echo $ECHO_N "(cached) $ECHO_C" >&6
4370: else
4371: ac_check_lib_save_LIBS=$LIBS
4372: LIBS="-lsvld $LIBS"
4373: cat >conftest.$ac_ext <<_ACEOF
4374: #line $LINENO "configure"
4375: /* confdefs.h. */
4376: _ACEOF
4377: cat confdefs.h >>conftest.$ac_ext
4378: cat >>conftest.$ac_ext <<_ACEOF
4379: /* end confdefs.h. */
1.29 paf 4380:
1.66 paf 4381: /* Override any gcc2 internal prototype to avoid an error. */
4382: #ifdef __cplusplus
4383: extern "C"
4384: #endif
4385: /* We use char because int might match the return type of a gcc2
4386: builtin and then its argument prototype would still apply. */
4387: char dlopen ();
4388: int
4389: main ()
4390: {
4391: dlopen ();
4392: ;
4393: return 0;
4394: }
4395: _ACEOF
4396: rm -f conftest.$ac_objext conftest$ac_exeext
4397: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4398: (eval $ac_link) 2>&5
4399: ac_status=$?
4400: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401: (exit $ac_status); } &&
4402: { ac_try='test -s conftest$ac_exeext'
4403: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4404: (eval $ac_try) 2>&5
4405: ac_status=$?
4406: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4407: (exit $ac_status); }; }; then
4408: ac_cv_lib_svld_dlopen=yes
4409: else
4410: echo "$as_me: failed program was:" >&5
4411: sed 's/^/| /' conftest.$ac_ext >&5
1.29 paf 4412:
1.66 paf 4413: ac_cv_lib_svld_dlopen=no
4414: fi
4415: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4416: LIBS=$ac_check_lib_save_LIBS
4417: fi
4418: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
4419: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
4420: if test $ac_cv_lib_svld_dlopen = yes; then
1.62 paf 4421:
4422: cat >>confdefs.h <<\_ACEOF
1.66 paf 4423: #define HAVE_LIBDL 1
1.62 paf 4424: _ACEOF
1.29 paf 4425:
1.66 paf 4426: LIBADD_DL="-lsvld"
4427: else
4428: echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
4429: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
4430: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
4431: echo $ECHO_N "(cached) $ECHO_C" >&6
4432: else
4433: ac_check_lib_save_LIBS=$LIBS
4434: LIBS="-ldld $LIBS"
4435: cat >conftest.$ac_ext <<_ACEOF
4436: #line $LINENO "configure"
4437: /* confdefs.h. */
4438: _ACEOF
4439: cat confdefs.h >>conftest.$ac_ext
4440: cat >>conftest.$ac_ext <<_ACEOF
4441: /* end confdefs.h. */
1.29 paf 4442:
1.66 paf 4443: /* Override any gcc2 internal prototype to avoid an error. */
4444: #ifdef __cplusplus
4445: extern "C"
4446: #endif
4447: /* We use char because int might match the return type of a gcc2
4448: builtin and then its argument prototype would still apply. */
4449: char dld_link ();
4450: int
4451: main ()
4452: {
4453: dld_link ();
4454: ;
4455: return 0;
4456: }
4457: _ACEOF
4458: rm -f conftest.$ac_objext conftest$ac_exeext
4459: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4460: (eval $ac_link) 2>&5
4461: ac_status=$?
4462: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4463: (exit $ac_status); } &&
4464: { ac_try='test -s conftest$ac_exeext'
4465: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4466: (eval $ac_try) 2>&5
4467: ac_status=$?
4468: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4469: (exit $ac_status); }; }; then
4470: ac_cv_lib_dld_dld_link=yes
4471: else
4472: echo "$as_me: failed program was:" >&5
4473: sed 's/^/| /' conftest.$ac_ext >&5
1.29 paf 4474:
1.66 paf 4475: ac_cv_lib_dld_dld_link=no
4476: fi
4477: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4478: LIBS=$ac_check_lib_save_LIBS
4479: fi
4480: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
4481: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
4482: if test $ac_cv_lib_dld_dld_link = yes; then
1.29 paf 4483:
1.66 paf 4484: cat >>confdefs.h <<\_ACEOF
4485: #define HAVE_DLD 1
1.62 paf 4486: _ACEOF
1.16 paf 4487:
1.66 paf 4488: LIBADD_DL="$LIBADD_DL -ldld"
1.16 paf 4489:
1.66 paf 4490: fi
1.16 paf 4491:
4492:
1.66 paf 4493: fi
1.12 paf 4494:
4495:
1.66 paf 4496: fi
4497: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.12 paf 4498:
4499: fi
4500:
4501:
1.66 paf 4502: fi
1.62 paf 4503:
1.1 paf 4504:
1.66 paf 4505: fi
1.1 paf 4506:
4507:
1.66 paf 4508: if test "x$ac_cv_func_dlopen" = xyes || test "x$ac_cv_lib_dl_dlopen" = xyes; then
4509: LIBS_SAVE="$LIBS"
4510: LIBS="$LIBS $LIBADD_DL"
1.1 paf 4511:
1.66 paf 4512: for ac_func in dlerror
4513: do
4514: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4515: echo "$as_me:$LINENO: checking for $ac_func" >&5
4516: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4517: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.62 paf 4518: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 paf 4519: else
1.64 paf 4520: cat >conftest.$ac_ext <<_ACEOF
1.62 paf 4521: #line $LINENO "configure"
4522: /* confdefs.h. */
4523: _ACEOF
4524: cat confdefs.h >>conftest.$ac_ext
4525: cat >>conftest.$ac_ext <<_ACEOF
4526: /* end confdefs.h. */
1.64 paf 4527: /* System header to define __stub macros and hopefully few prototypes,
1.66 paf 4528: which can conflict with char $ac_func (); below.
1.64 paf 4529: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4530: <limits.h> exists even on freestanding compilers. */
4531: #ifdef __STDC__
4532: # include <limits.h>
4533: #else
4534: # include <assert.h>
4535: #endif
1.8 paf 4536: /* Override any gcc2 internal prototype to avoid an error. */
4537: #ifdef __cplusplus
4538: extern "C"
1.64 paf 4539: {
1.8 paf 4540: #endif
4541: /* We use char because int might match the return type of a gcc2
1.62 paf 4542: builtin and then its argument prototype would still apply. */
1.66 paf 4543: char $ac_func ();
1.64 paf 4544: /* The GNU C library defines this for functions which it implements
4545: to always fail with ENOSYS. Some functions are actually named
4546: something starting with __ and the normal name is an alias. */
1.66 paf 4547: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1.64 paf 4548: choke me
4549: #else
1.66 paf 4550: char (*f) () = $ac_func;
1.64 paf 4551: #endif
4552: #ifdef __cplusplus
4553: }
4554: #endif
4555:
1.62 paf 4556: int
4557: main ()
4558: {
1.66 paf 4559: return f != $ac_func;
1.62 paf 4560: ;
4561: return 0;
4562: }
4563: _ACEOF
4564: rm -f conftest.$ac_objext conftest$ac_exeext
4565: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4566: (eval $ac_link) 2>&5
4567: ac_status=$?
4568: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569: (exit $ac_status); } &&
4570: { ac_try='test -s conftest$ac_exeext'
4571: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4572: (eval $ac_try) 2>&5
4573: ac_status=$?
4574: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575: (exit $ac_status); }; }; then
1.66 paf 4576: eval "$as_ac_var=yes"
1.62 paf 4577: else
4578: echo "$as_me: failed program was:" >&5
4579: sed 's/^/| /' conftest.$ac_ext >&5
4580:
1.66 paf 4581: eval "$as_ac_var=no"
1.62 paf 4582: fi
4583: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4584: fi
1.66 paf 4585: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4586: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4587: if test `eval echo '${'$as_ac_var'}'` = yes; then
4588: cat >>confdefs.h <<_ACEOF
4589: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4590: _ACEOF
4591:
4592: fi
4593: done
4594:
4595: LIBS="$LIBS_SAVE"
4596: fi
4597:
4598:
1.64 paf 4599:
4600:
1.66 paf 4601: ac_ext=c
4602: ac_cpp='$CPP $CPPFLAGS'
4603: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4604: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4605: ac_compiler_gnu=$ac_cv_c_compiler_gnu
4606: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4607: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4608: # On Suns, sometimes $CPP names a directory.
4609: if test -n "$CPP" && test -d "$CPP"; then
4610: CPP=
4611: fi
4612: if test -z "$CPP"; then
4613: if test "${ac_cv_prog_CPP+set}" = set; then
1.62 paf 4614: echo $ECHO_N "(cached) $ECHO_C" >&6
4615: else
1.66 paf 4616: # Double quotes because CPP needs to be expanded
4617: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4618: do
4619: ac_preproc_ok=false
4620: for ac_c_preproc_warn_flag in '' yes
4621: do
4622: # Use a header file that comes with gcc, so configuring glibc
4623: # with a fresh cross-compiler works.
4624: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4625: # <limits.h> exists even on freestanding compilers.
4626: # On the NeXT, cc -E runs the code through the compiler's parser,
4627: # not just through cpp. "Syntax error" is here to catch this case.
4628: cat >conftest.$ac_ext <<_ACEOF
1.62 paf 4629: #line $LINENO "configure"
4630: /* confdefs.h. */
4631: _ACEOF
4632: cat confdefs.h >>conftest.$ac_ext
4633: cat >>conftest.$ac_ext <<_ACEOF
4634: /* end confdefs.h. */
1.66 paf 4635: #ifdef __STDC__
4636: # include <limits.h>
4637: #else
4638: # include <assert.h>
1.8 paf 4639: #endif
1.66 paf 4640: Syntax error
1.62 paf 4641: _ACEOF
1.66 paf 4642: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4643: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.62 paf 4644: ac_status=$?
1.66 paf 4645: grep -v '^ *+' conftest.er1 >conftest.err
4646: rm -f conftest.er1
4647: cat conftest.err >&5
1.62 paf 4648: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66 paf 4649: (exit $ac_status); } >/dev/null; then
4650: if test -s conftest.err; then
4651: ac_cpp_err=$ac_c_preproc_warn_flag
4652: else
4653: ac_cpp_err=
4654: fi
4655: else
4656: ac_cpp_err=yes
4657: fi
4658: if test -z "$ac_cpp_err"; then
4659: :
1.62 paf 4660: else
4661: echo "$as_me: failed program was:" >&5
4662: sed 's/^/| /' conftest.$ac_ext >&5
4663:
1.66 paf 4664: # Broken: fails on valid input.
4665: continue
1.62 paf 4666: fi
1.66 paf 4667: rm -f conftest.err conftest.$ac_ext
1.64 paf 4668:
1.66 paf 4669: # OK, works on sane cases. Now check whether non-existent headers
4670: # can be detected and how.
4671: cat >conftest.$ac_ext <<_ACEOF
1.62 paf 4672: #line $LINENO "configure"
4673: /* confdefs.h. */
4674: _ACEOF
4675: cat confdefs.h >>conftest.$ac_ext
4676: cat >>conftest.$ac_ext <<_ACEOF
4677: /* end confdefs.h. */
1.66 paf 4678: #include <ac_nonexistent.h>
1.62 paf 4679: _ACEOF
1.66 paf 4680: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4681: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.62 paf 4682: ac_status=$?
1.66 paf 4683: grep -v '^ *+' conftest.er1 >conftest.err
4684: rm -f conftest.er1
4685: cat conftest.err >&5
1.62 paf 4686: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66 paf 4687: (exit $ac_status); } >/dev/null; then
4688: if test -s conftest.err; then
4689: ac_cpp_err=$ac_c_preproc_warn_flag
4690: else
4691: ac_cpp_err=
4692: fi
4693: else
4694: ac_cpp_err=yes
4695: fi
4696: if test -z "$ac_cpp_err"; then
4697: # Broken: success on invalid input.
4698: continue
1.62 paf 4699: else
4700: echo "$as_me: failed program was:" >&5
4701: sed 's/^/| /' conftest.$ac_ext >&5
4702:
1.66 paf 4703: # Passes both tests.
4704: ac_preproc_ok=:
4705: break
1.62 paf 4706: fi
1.66 paf 4707: rm -f conftest.err conftest.$ac_ext
4708:
4709: done
4710: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4711: rm -f conftest.err conftest.$ac_ext
4712: if $ac_preproc_ok; then
4713: break
1.62 paf 4714: fi
1.64 paf 4715:
1.66 paf 4716: done
4717: ac_cv_prog_CPP=$CPP
1.64 paf 4718:
1.66 paf 4719: fi
4720: CPP=$ac_cv_prog_CPP
1.64 paf 4721: else
1.66 paf 4722: ac_cv_prog_CPP=$CPP
4723: fi
4724: echo "$as_me:$LINENO: result: $CPP" >&5
4725: echo "${ECHO_T}$CPP" >&6
4726: ac_preproc_ok=false
4727: for ac_c_preproc_warn_flag in '' yes
4728: do
4729: # Use a header file that comes with gcc, so configuring glibc
4730: # with a fresh cross-compiler works.
4731: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4732: # <limits.h> exists even on freestanding compilers.
4733: # On the NeXT, cc -E runs the code through the compiler's parser,
4734: # not just through cpp. "Syntax error" is here to catch this case.
1.64 paf 4735: cat >conftest.$ac_ext <<_ACEOF
4736: #line $LINENO "configure"
4737: /* confdefs.h. */
4738: _ACEOF
4739: cat confdefs.h >>conftest.$ac_ext
4740: cat >>conftest.$ac_ext <<_ACEOF
4741: /* end confdefs.h. */
1.66 paf 4742: #ifdef __STDC__
4743: # include <limits.h>
4744: #else
4745: # include <assert.h>
1.64 paf 4746: #endif
1.66 paf 4747: Syntax error
1.64 paf 4748: _ACEOF
1.66 paf 4749: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4750: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.64 paf 4751: ac_status=$?
1.66 paf 4752: grep -v '^ *+' conftest.er1 >conftest.err
4753: rm -f conftest.er1
4754: cat conftest.err >&5
1.64 paf 4755: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66 paf 4756: (exit $ac_status); } >/dev/null; then
4757: if test -s conftest.err; then
4758: ac_cpp_err=$ac_c_preproc_warn_flag
4759: else
4760: ac_cpp_err=
4761: fi
4762: else
4763: ac_cpp_err=yes
4764: fi
4765: if test -z "$ac_cpp_err"; then
4766: :
1.62 paf 4767: else
1.64 paf 4768: echo "$as_me: failed program was:" >&5
4769: sed 's/^/| /' conftest.$ac_ext >&5
4770:
1.66 paf 4771: # Broken: fails on valid input.
4772: continue
4773: fi
4774: rm -f conftest.err conftest.$ac_ext
4775:
4776: # OK, works on sane cases. Now check whether non-existent headers
4777: # can be detected and how.
4778: cat >conftest.$ac_ext <<_ACEOF
1.62 paf 4779: #line $LINENO "configure"
4780: /* confdefs.h. */
4781: _ACEOF
4782: cat confdefs.h >>conftest.$ac_ext
4783: cat >>conftest.$ac_ext <<_ACEOF
4784: /* end confdefs.h. */
1.66 paf 4785: #include <ac_nonexistent.h>
1.62 paf 4786: _ACEOF
1.66 paf 4787: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4788: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.62 paf 4789: ac_status=$?
1.66 paf 4790: grep -v '^ *+' conftest.er1 >conftest.err
4791: rm -f conftest.er1
4792: cat conftest.err >&5
1.62 paf 4793: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66 paf 4794: (exit $ac_status); } >/dev/null; then
4795: if test -s conftest.err; then
4796: ac_cpp_err=$ac_c_preproc_warn_flag
4797: else
4798: ac_cpp_err=
4799: fi
4800: else
4801: ac_cpp_err=yes
4802: fi
4803: if test -z "$ac_cpp_err"; then
4804: # Broken: success on invalid input.
4805: continue
1.62 paf 4806: else
4807: echo "$as_me: failed program was:" >&5
4808: sed 's/^/| /' conftest.$ac_ext >&5
4809:
1.66 paf 4810: # Passes both tests.
4811: ac_preproc_ok=:
4812: break
1.62 paf 4813: fi
1.66 paf 4814: rm -f conftest.err conftest.$ac_ext
4815:
4816: done
4817: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4818: rm -f conftest.err conftest.$ac_ext
4819: if $ac_preproc_ok; then
4820: :
4821: else
4822: { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4823: See \`config.log' for more details." >&5
4824: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4825: See \`config.log' for more details." >&2;}
4826: { (exit 1); exit 1; }; }
1.62 paf 4827: fi
1.64 paf 4828:
1.66 paf 4829: ac_ext=c
4830: ac_cpp='$CPP $CPPFLAGS'
4831: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4832: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4833: ac_compiler_gnu=$ac_cv_c_compiler_gnu
4834:
1.1 paf 4835:
1.66 paf 4836: echo "$as_me:$LINENO: checking for egrep" >&5
4837: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4838: if test "${ac_cv_prog_egrep+set}" = set; then
4839: echo $ECHO_N "(cached) $ECHO_C" >&6
1.64 paf 4840: else
1.66 paf 4841: if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4842: then ac_cv_prog_egrep='grep -E'
4843: else ac_cv_prog_egrep='egrep'
4844: fi
4845: fi
4846: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4847: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4848: EGREP=$ac_cv_prog_egrep
4849:
4850:
4851: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4852: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4853: if test "${ac_cv_header_stdc+set}" = set; then
1.62 paf 4854: echo $ECHO_N "(cached) $ECHO_C" >&6
1.8 paf 4855: else
1.66 paf 4856: cat >conftest.$ac_ext <<_ACEOF
1.62 paf 4857: #line $LINENO "configure"
4858: /* confdefs.h. */
4859: _ACEOF
4860: cat confdefs.h >>conftest.$ac_ext
4861: cat >>conftest.$ac_ext <<_ACEOF
4862: /* end confdefs.h. */
1.66 paf 4863: #include <stdlib.h>
4864: #include <stdarg.h>
4865: #include <string.h>
4866: #include <float.h>
1.62 paf 4867:
4868: int
4869: main ()
4870: {
1.66 paf 4871:
1.62 paf 4872: ;
4873: return 0;
4874: }
4875: _ACEOF
1.66 paf 4876: rm -f conftest.$ac_objext
4877: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4878: (eval $ac_compile) 2>&5
1.62 paf 4879: ac_status=$?
4880: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4881: (exit $ac_status); } &&
1.66 paf 4882: { ac_try='test -s conftest.$ac_objext'
1.62 paf 4883: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4884: (eval $ac_try) 2>&5
4885: ac_status=$?
4886: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887: (exit $ac_status); }; }; then
1.66 paf 4888: ac_cv_header_stdc=yes
1.62 paf 4889: else
4890: echo "$as_me: failed program was:" >&5
4891: sed 's/^/| /' conftest.$ac_ext >&5
4892:
1.66 paf 4893: ac_cv_header_stdc=no
1.62 paf 4894: fi
1.66 paf 4895: rm -f conftest.$ac_objext conftest.$ac_ext
1.64 paf 4896:
1.66 paf 4897: if test $ac_cv_header_stdc = yes; then
4898: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4899: cat >conftest.$ac_ext <<_ACEOF
4900: #line $LINENO "configure"
4901: /* confdefs.h. */
1.62 paf 4902: _ACEOF
1.66 paf 4903: cat confdefs.h >>conftest.$ac_ext
4904: cat >>conftest.$ac_ext <<_ACEOF
4905: /* end confdefs.h. */
4906: #include <string.h>
1.64 paf 4907:
1.66 paf 4908: _ACEOF
4909: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4910: $EGREP "memchr" >/dev/null 2>&1; then
4911: :
4912: else
4913: ac_cv_header_stdc=no
1.64 paf 4914: fi
1.66 paf 4915: rm -f conftest*
1.64 paf 4916:
4917: fi
4918:
1.66 paf 4919: if test $ac_cv_header_stdc = yes; then
4920: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4921: cat >conftest.$ac_ext <<_ACEOF
4922: #line $LINENO "configure"
4923: /* confdefs.h. */
4924: _ACEOF
4925: cat confdefs.h >>conftest.$ac_ext
4926: cat >>conftest.$ac_ext <<_ACEOF
4927: /* end confdefs.h. */
4928: #include <stdlib.h>
1.64 paf 4929:
1.66 paf 4930: _ACEOF
4931: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4932: $EGREP "free" >/dev/null 2>&1; then
4933: :
4934: else
4935: ac_cv_header_stdc=no
1.64 paf 4936: fi
1.66 paf 4937: rm -f conftest*
1.64 paf 4938:
4939: fi
4940:
1.66 paf 4941: if test $ac_cv_header_stdc = yes; then
4942: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4943: if test "$cross_compiling" = yes; then
4944: :
1.64 paf 4945: else
4946: cat >conftest.$ac_ext <<_ACEOF
4947: #line $LINENO "configure"
4948: /* confdefs.h. */
4949: _ACEOF
4950: cat confdefs.h >>conftest.$ac_ext
4951: cat >>conftest.$ac_ext <<_ACEOF
4952: /* end confdefs.h. */
1.66 paf 4953: #include <ctype.h>
4954: #if ((' ' & 0x0FF) == 0x020)
4955: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4956: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1.64 paf 4957: #else
1.66 paf 4958: # define ISLOWER(c) \
4959: (('a' <= (c) && (c) <= 'i') \
4960: || ('j' <= (c) && (c) <= 'r') \
4961: || ('s' <= (c) && (c) <= 'z'))
4962: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
1.64 paf 4963: #endif
4964:
1.66 paf 4965: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1.64 paf 4966: int
4967: main ()
4968: {
1.66 paf 4969: int i;
4970: for (i = 0; i < 256; i++)
4971: if (XOR (islower (i), ISLOWER (i))
4972: || toupper (i) != TOUPPER (i))
4973: exit(2);
4974: exit (0);
1.64 paf 4975: }
4976: _ACEOF
1.66 paf 4977: rm -f conftest$ac_exeext
1.64 paf 4978: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4979: (eval $ac_link) 2>&5
4980: ac_status=$?
4981: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66 paf 4982: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.64 paf 4983: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4984: (eval $ac_try) 2>&5
4985: ac_status=$?
4986: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4987: (exit $ac_status); }; }; then
1.66 paf 4988: :
1.64 paf 4989: else
1.66 paf 4990: echo "$as_me: program exited with status $ac_status" >&5
4991: echo "$as_me: failed program was:" >&5
1.64 paf 4992: sed 's/^/| /' conftest.$ac_ext >&5
4993:
1.66 paf 4994: ( exit $ac_status )
4995: ac_cv_header_stdc=no
4996: fi
4997: rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4998: fi
1.64 paf 4999: fi
5000: fi
1.66 paf 5001: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5002: echo "${ECHO_T}$ac_cv_header_stdc" >&6
5003: if test $ac_cv_header_stdc = yes; then
5004:
5005: cat >>confdefs.h <<\_ACEOF
5006: #define STDC_HEADERS 1
1.64 paf 5007: _ACEOF
5008:
5009: fi
5010:
1.66 paf 5011: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5012:
5013:
5014:
5015:
5016:
1.1 paf 5017:
5018:
1.62 paf 5019:
5020:
1.66 paf 5021: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5022: inttypes.h stdint.h unistd.h
5023: do
5024: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5025: echo "$as_me:$LINENO: checking for $ac_header" >&5
5026: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5027: if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.62 paf 5028: echo $ECHO_N "(cached) $ECHO_C" >&6
5029: else
5030: cat >conftest.$ac_ext <<_ACEOF
5031: #line $LINENO "configure"
5032: /* confdefs.h. */
5033: _ACEOF
5034: cat confdefs.h >>conftest.$ac_ext
5035: cat >>conftest.$ac_ext <<_ACEOF
5036: /* end confdefs.h. */
1.66 paf 5037: $ac_includes_default
5038:
5039: #include <$ac_header>
1.62 paf 5040: _ACEOF
1.66 paf 5041: rm -f conftest.$ac_objext
5042: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5043: (eval $ac_compile) 2>&5
5044: ac_status=$?
5045: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046: (exit $ac_status); } &&
5047: { ac_try='test -s conftest.$ac_objext'
5048: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5049: (eval $ac_try) 2>&5
1.62 paf 5050: ac_status=$?
5051: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66 paf 5052: (exit $ac_status); }; }; then
5053: eval "$as_ac_Header=yes"
1.62 paf 5054: else
5055: echo "$as_me: failed program was:" >&5
5056: sed 's/^/| /' conftest.$ac_ext >&5
5057:
1.66 paf 5058: eval "$as_ac_Header=no"
5059: fi
5060: rm -f conftest.$ac_objext conftest.$ac_ext
5061: fi
5062: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5063: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5064: if test `eval echo '${'$as_ac_Header'}'` = yes; then
5065: cat >>confdefs.h <<_ACEOF
5066: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5067: _ACEOF
5068:
1.1 paf 5069: fi
5070:
1.66 paf 5071: done
5072:
5073:
5074: echo "$as_me:$LINENO: checking for size_t" >&5
5075: echo $ECHO_N "checking for size_t... $ECHO_C" >&6
5076: if test "${ac_cv_type_size_t+set}" = set; then
5077: echo $ECHO_N "(cached) $ECHO_C" >&6
5078: else
1.62 paf 5079: cat >conftest.$ac_ext <<_ACEOF
5080: #line $LINENO "configure"
5081: /* confdefs.h. */
5082: _ACEOF
5083: cat confdefs.h >>conftest.$ac_ext
5084: cat >>conftest.$ac_ext <<_ACEOF
5085: /* end confdefs.h. */
1.66 paf 5086: $ac_includes_default
5087: int
5088: main ()
5089: {
5090: if ((size_t *) 0)
5091: return 0;
5092: if (sizeof (size_t))
5093: return 0;
5094: ;
5095: return 0;
5096: }
1.62 paf 5097: _ACEOF
1.66 paf 5098: rm -f conftest.$ac_objext
5099: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5100: (eval $ac_compile) 2>&5
5101: ac_status=$?
5102: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103: (exit $ac_status); } &&
5104: { ac_try='test -s conftest.$ac_objext'
5105: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5106: (eval $ac_try) 2>&5
1.62 paf 5107: ac_status=$?
5108: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66 paf 5109: (exit $ac_status); }; }; then
5110: ac_cv_type_size_t=yes
1.1 paf 5111: else
1.62 paf 5112: echo "$as_me: failed program was:" >&5
5113: sed 's/^/| /' conftest.$ac_ext >&5
5114:
1.66 paf 5115: ac_cv_type_size_t=no
1.1 paf 5116: fi
1.66 paf 5117: rm -f conftest.$ac_objext conftest.$ac_ext
1.62 paf 5118: fi
1.66 paf 5119: echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5120: echo "${ECHO_T}$ac_cv_type_size_t" >&6
5121: if test $ac_cv_type_size_t = yes; then
5122: :
5123: else
1.1 paf 5124:
1.66 paf 5125: cat >>confdefs.h <<_ACEOF
5126: #define size_t unsigned
5127: _ACEOF
1.62 paf 5128:
5129: fi
1.66 paf 5130:
5131: echo "$as_me:$LINENO: checking for off_t" >&5
5132: echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5133: if test "${ac_cv_type_off_t+set}" = set; then
5134: echo $ECHO_N "(cached) $ECHO_C" >&6
1.62 paf 5135: else
5136: cat >conftest.$ac_ext <<_ACEOF
5137: #line $LINENO "configure"
5138: /* confdefs.h. */
5139: _ACEOF
5140: cat confdefs.h >>conftest.$ac_ext
5141: cat >>conftest.$ac_ext <<_ACEOF
5142: /* end confdefs.h. */
1.66 paf 5143: $ac_includes_default
5144: int
5145: main ()
5146: {
5147: if ((off_t *) 0)
5148: return 0;
5149: if (sizeof (off_t))
5150: return 0;
5151: ;
5152: return 0;
5153: }
1.62 paf 5154: _ACEOF
1.66 paf 5155: rm -f conftest.$ac_objext
5156: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5157: (eval $ac_compile) 2>&5
5158: ac_status=$?
5159: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160: (exit $ac_status); } &&
5161: { ac_try='test -s conftest.$ac_objext'
5162: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5163: (eval $ac_try) 2>&5
1.62 paf 5164: ac_status=$?
5165: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66 paf 5166: (exit $ac_status); }; }; then
5167: ac_cv_type_off_t=yes
1.62 paf 5168: else
1.66 paf 5169: echo "$as_me: failed program was:" >&5
5170: sed 's/^/| /' conftest.$ac_ext >&5
5171:
5172: ac_cv_type_off_t=no
5173: fi
5174: rm -f conftest.$ac_objext conftest.$ac_ext
1.1 paf 5175: fi
1.66 paf 5176: echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5177: echo "${ECHO_T}$ac_cv_type_off_t" >&6
5178: if test $ac_cv_type_off_t = yes; then
1.62 paf 5179: :
5180: else
1.1 paf 5181:
1.66 paf 5182: cat >>confdefs.h <<_ACEOF
5183: #define off_t long
5184: _ACEOF
5185:
1.62 paf 5186: fi
1.1 paf 5187:
1.66 paf 5188: echo "$as_me:$LINENO: checking for ssize_t" >&5
5189: echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
5190: if test "${ac_cv_type_ssize_t+set}" = set; then
5191: echo $ECHO_N "(cached) $ECHO_C" >&6
5192: else
1.62 paf 5193: cat >conftest.$ac_ext <<_ACEOF
5194: #line $LINENO "configure"
5195: /* confdefs.h. */
5196: _ACEOF
5197: cat confdefs.h >>conftest.$ac_ext
5198: cat >>conftest.$ac_ext <<_ACEOF
5199: /* end confdefs.h. */
1.66 paf 5200: $ac_includes_default
5201: int
5202: main ()
5203: {
5204: if ((ssize_t *) 0)
5205: return 0;
5206: if (sizeof (ssize_t))
5207: return 0;
5208: ;
5209: return 0;
5210: }
1.62 paf 5211: _ACEOF
1.66 paf 5212: rm -f conftest.$ac_objext
5213: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5214: (eval $ac_compile) 2>&5
5215: ac_status=$?
5216: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5217: (exit $ac_status); } &&
5218: { ac_try='test -s conftest.$ac_objext'
5219: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5220: (eval $ac_try) 2>&5
1.62 paf 5221: ac_status=$?
5222: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66 paf 5223: (exit $ac_status); }; }; then
5224: ac_cv_type_ssize_t=yes
1.1 paf 5225: else
1.62 paf 5226: echo "$as_me: failed program was:" >&5
5227: sed 's/^/| /' conftest.$ac_ext >&5
5228:
1.66 paf 5229: ac_cv_type_ssize_t=no
5230: fi
5231: rm -f conftest.$ac_objext conftest.$ac_ext
1.62 paf 5232: fi
1.66 paf 5233: echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
5234: echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
5235: if test $ac_cv_type_ssize_t = yes; then
1.1 paf 5236: :
5237: else
1.66 paf 5238:
5239: cat >>confdefs.h <<_ACEOF
5240: #define ssize_t int
5241: _ACEOF
5242:
1.1 paf 5243: fi
1.62 paf 5244:
5245:
5246:
5247:
1.66 paf 5248: echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5249: echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5250: if test "${ac_cv_header_time+set}" = set; then
1.62 paf 5251: echo $ECHO_N "(cached) $ECHO_C" >&6
5252: else
5253: cat >conftest.$ac_ext <<_ACEOF
5254: #line $LINENO "configure"
5255: /* confdefs.h. */
5256: _ACEOF
5257: cat confdefs.h >>conftest.$ac_ext
5258: cat >>conftest.$ac_ext <<_ACEOF
5259: /* end confdefs.h. */
1.66 paf 5260: #include <sys/types.h>
5261: #include <sys/time.h>
5262: #include <time.h>
1.62 paf 5263:
5264: int
5265: main ()
5266: {
1.66 paf 5267: if ((struct tm *) 0)
5268: return 0;
1.62 paf 5269: ;
5270: return 0;
5271: }
5272: _ACEOF
5273: rm -f conftest.$ac_objext
5274: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5275: (eval $ac_compile) 2>&5
5276: ac_status=$?
5277: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5278: (exit $ac_status); } &&
5279: { ac_try='test -s conftest.$ac_objext'
5280: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5281: (eval $ac_try) 2>&5
5282: ac_status=$?
5283: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5284: (exit $ac_status); }; }; then
1.66 paf 5285: ac_cv_header_time=yes
1.1 paf 5286: else
1.62 paf 5287: echo "$as_me: failed program was:" >&5
5288: sed 's/^/| /' conftest.$ac_ext >&5
5289:
1.66 paf 5290: ac_cv_header_time=no
1.1 paf 5291: fi
1.62 paf 5292: rm -f conftest.$ac_objext conftest.$ac_ext
1.66 paf 5293: fi
5294: echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5295: echo "${ECHO_T}$ac_cv_header_time" >&6
5296: if test $ac_cv_header_time = yes; then
1.1 paf 5297:
1.66 paf 5298: cat >>confdefs.h <<\_ACEOF
5299: #define TIME_WITH_SYS_TIME 1
1.62 paf 5300: _ACEOF
5301:
1.1 paf 5302: fi
5303:
5304:
1.62 paf 5305:
1.1 paf 5306:
1.66 paf 5307:
5308:
5309:
5310:
5311:
5312:
5313:
5314:
5315:
5316:
5317:
5318:
5319:
5320:
5321:
5322:
5323:
5324:
5325:
5326:
5327:
5328:
5329:
5330:
5331:
5332:
5333:
1.66.2.5.2.3! paf 5334:
! 5335: for ac_header in assert.h \
! 5336: signal.h \
1.66 paf 5337: unistd.h \
5338: process.h \
5339: stddef.h \
5340: stdarg.h \
5341: fcntl.h \
5342: sys/stat.h \
5343: io.h \
5344: stdio.h \
5345: errno.h \
5346: ctype.h \
5347: math.h \
5348: crypt.h \
5349: time.h sys/time.h \
5350: string.h \
5351: direct.h \
5352: setjmp.h \
5353: memory.h \
5354: sys/file.h \
5355: sys/locking.h \
5356: sys/types.h \
5357: sys/select.h \
5358: sys/resource.h \
5359: winsock.h \
5360: sys/socket.h \
5361: netinet/in.h \
5362: arpa/inet.h \
5363: netdb.h
5364:
5365: do
5366: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5367: if eval "test \"\${$as_ac_Header+set}\" = set"; then
5368: echo "$as_me:$LINENO: checking for $ac_header" >&5
5369: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5370: if eval "test \"\${$as_ac_Header+set}\" = set"; then
5371: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 paf 5372: fi
1.66 paf 5373: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5374: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.1 paf 5375: else
1.66 paf 5376: # Is the header compilable?
5377: echo "$as_me:$LINENO: checking $ac_header usability" >&5
5378: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5379: cat >conftest.$ac_ext <<_ACEOF
1.62 paf 5380: #line $LINENO "configure"
5381: /* confdefs.h. */
5382: _ACEOF
5383: cat confdefs.h >>conftest.$ac_ext
5384: cat >>conftest.$ac_ext <<_ACEOF
5385: /* end confdefs.h. */
1.66 paf 5386: $ac_includes_default
5387: #include <$ac_header>
1.62 paf 5388: _ACEOF
1.66 paf 5389: rm -f conftest.$ac_objext
5390: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5391: (eval $ac_compile) 2>&5
1.62 paf 5392: ac_status=$?
5393: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66 paf 5394: (exit $ac_status); } &&
5395: { ac_try='test -s conftest.$ac_objext'
1.62 paf 5396: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5397: (eval $ac_try) 2>&5
5398: ac_status=$?
5399: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5400: (exit $ac_status); }; }; then
1.66 paf 5401: ac_header_compiler=yes
1.1 paf 5402: else
1.66 paf 5403: echo "$as_me: failed program was:" >&5
1.62 paf 5404: sed 's/^/| /' conftest.$ac_ext >&5
5405:
1.66 paf 5406: ac_header_compiler=no
1.1 paf 5407: fi
1.66 paf 5408: rm -f conftest.$ac_objext conftest.$ac_ext
5409: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5410: echo "${ECHO_T}$ac_header_compiler" >&6
5411:
5412: # Is the header present?
5413: echo "$as_me:$LINENO: checking $ac_header presence" >&5
5414: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5415: cat >conftest.$ac_ext <<_ACEOF
5416: #line $LINENO "configure"
5417: /* confdefs.h. */
5418: _ACEOF
5419: cat confdefs.h >>conftest.$ac_ext
5420: cat >>conftest.$ac_ext <<_ACEOF
5421: /* end confdefs.h. */
5422: #include <$ac_header>
5423: _ACEOF
5424: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5425: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5426: ac_status=$?
5427: grep -v '^ *+' conftest.er1 >conftest.err
5428: rm -f conftest.er1
5429: cat conftest.err >&5
5430: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5431: (exit $ac_status); } >/dev/null; then
5432: if test -s conftest.err; then
5433: ac_cpp_err=$ac_c_preproc_warn_flag
5434: else
5435: ac_cpp_err=
5436: fi
5437: else
5438: ac_cpp_err=yes
1.1 paf 5439: fi
1.66 paf 5440: if test -z "$ac_cpp_err"; then
5441: ac_header_preproc=yes
5442: else
5443: echo "$as_me: failed program was:" >&5
5444: sed 's/^/| /' conftest.$ac_ext >&5
5445:
5446: ac_header_preproc=no
1.1 paf 5447: fi
1.66 paf 5448: rm -f conftest.err conftest.$ac_ext
5449: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5450: echo "${ECHO_T}$ac_header_preproc" >&6
5451:
5452: # So? What about this header?
5453: case $ac_header_compiler:$ac_header_preproc in
5454: yes:no )
5455: { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5456: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5457: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5458: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5459: (
5460: cat <<\_ASBOX
5461: ## ------------------------------------ ##
5462: ## Report this to bug-autoconf@gnu.org. ##
5463: ## ------------------------------------ ##
5464: _ASBOX
5465: ) |
5466: sed "s/^/$as_me: WARNING: /" >&2
5467: ;;
5468: no:yes )
5469: { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5470: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5471: { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5472: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5473: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5474: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5475: (
5476: cat <<\_ASBOX
5477: ## ------------------------------------ ##
5478: ## Report this to bug-autoconf@gnu.org. ##
5479: ## ------------------------------------ ##
5480: _ASBOX
5481: ) |
5482: sed "s/^/$as_me: WARNING: /" >&2
5483: ;;
5484: esac
5485: echo "$as_me:$LINENO: checking for $ac_header" >&5
5486: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5487: if eval "test \"\${$as_ac_Header+set}\" = set"; then
5488: echo $ECHO_N "(cached) $ECHO_C" >&6
5489: else
5490: eval "$as_ac_Header=$ac_header_preproc"
1.1 paf 5491: fi
1.66 paf 5492: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5493: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.1 paf 5494:
1.66 paf 5495: fi
5496: if test `eval echo '${'$as_ac_Header'}'` = yes; then
5497: cat >>confdefs.h <<_ACEOF
5498: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.62 paf 5499: _ACEOF
5500:
5501: fi
5502:
1.66 paf 5503: done
1.62 paf 5504:
5505:
5506:
1.66 paf 5507: case "$host" in
5508: *-sunos5.6* | *-solaris2.6*)
1.62 paf 5509:
1.66 paf 5510: echo "$as_me:$LINENO: checking for main in -lxnet" >&5
5511: echo $ECHO_N "checking for main in -lxnet... $ECHO_C" >&6
5512: if test "${ac_cv_lib_xnet_main+set}" = set; then
1.62 paf 5513: echo $ECHO_N "(cached) $ECHO_C" >&6
5514: else
1.66 paf 5515: ac_check_lib_save_LIBS=$LIBS
5516: LIBS="-lxnet $LIBS"
5517: cat >conftest.$ac_ext <<_ACEOF
1.62 paf 5518: #line $LINENO "configure"
5519: /* confdefs.h. */
5520: _ACEOF
5521: cat confdefs.h >>conftest.$ac_ext
5522: cat >>conftest.$ac_ext <<_ACEOF
5523: /* end confdefs.h. */
5524:
1.66 paf 5525:
5526: int
5527: main ()
5528: {
5529: main ();
5530: ;
5531: return 0;
5532: }
1.62 paf 5533: _ACEOF
1.66 paf 5534: rm -f conftest.$ac_objext conftest$ac_exeext
5535: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5536: (eval $ac_link) 2>&5
1.62 paf 5537: ac_status=$?
5538: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5539: (exit $ac_status); } &&
1.66 paf 5540: { ac_try='test -s conftest$ac_exeext'
1.62 paf 5541: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5542: (eval $ac_try) 2>&5
5543: ac_status=$?
5544: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5545: (exit $ac_status); }; }; then
1.66 paf 5546: ac_cv_lib_xnet_main=yes
1.62 paf 5547: else
5548: echo "$as_me: failed program was:" >&5
5549: sed 's/^/| /' conftest.$ac_ext >&5
5550:
1.66 paf 5551: ac_cv_lib_xnet_main=no
1.62 paf 5552: fi
1.66 paf 5553: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5554: LIBS=$ac_check_lib_save_LIBS
1.62 paf 5555: fi
1.66 paf 5556: echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_main" >&5
5557: echo "${ECHO_T}$ac_cv_lib_xnet_main" >&6
5558: if test $ac_cv_lib_xnet_main = yes; then
1.62 paf 5559: cat >>confdefs.h <<_ACEOF
1.66 paf 5560: #define HAVE_LIBXNET 1
1.62 paf 5561: _ACEOF
1.1 paf 5562:
1.66 paf 5563: LIBS="-lxnet $LIBS"
5564:
1.1 paf 5565: fi
5566:
1.66 paf 5567: ;;
5568: *-sunos5* | *-solaris2*)
1.62 paf 5569:
1.66 paf 5570: echo "$as_me:$LINENO: checking for main in -lsocket" >&5
5571: echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
5572: if test "${ac_cv_lib_socket_main+set}" = set; then
1.62 paf 5573: echo $ECHO_N "(cached) $ECHO_C" >&6
5574: else
1.66 paf 5575: ac_check_lib_save_LIBS=$LIBS
5576: LIBS="-lsocket $LIBS"
5577: cat >conftest.$ac_ext <<_ACEOF
1.62 paf 5578: #line $LINENO "configure"
5579: /* confdefs.h. */
5580: _ACEOF
5581: cat confdefs.h >>conftest.$ac_ext
5582: cat >>conftest.$ac_ext <<_ACEOF
5583: /* end confdefs.h. */
1.66 paf 5584:
5585:
1.62 paf 5586: int
5587: main ()
5588: {
1.66 paf 5589: main ();
1.62 paf 5590: ;
5591: return 0;
5592: }
5593: _ACEOF
1.66 paf 5594: rm -f conftest.$ac_objext conftest$ac_exeext
5595: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5596: (eval $ac_link) 2>&5
1.62 paf 5597: ac_status=$?
5598: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599: (exit $ac_status); } &&
1.66 paf 5600: { ac_try='test -s conftest$ac_exeext'
1.62 paf 5601: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5602: (eval $ac_try) 2>&5
5603: ac_status=$?
5604: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605: (exit $ac_status); }; }; then
1.66 paf 5606: ac_cv_lib_socket_main=yes
1.1 paf 5607: else
1.62 paf 5608: echo "$as_me: failed program was:" >&5
5609: sed 's/^/| /' conftest.$ac_ext >&5
5610:
1.66 paf 5611: ac_cv_lib_socket_main=no
1.1 paf 5612: fi
1.66 paf 5613: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5614: LIBS=$ac_check_lib_save_LIBS
1.62 paf 5615: fi
1.66 paf 5616: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
5617: echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
5618: if test $ac_cv_lib_socket_main = yes; then
5619: cat >>confdefs.h <<_ACEOF
5620: #define HAVE_LIBSOCKET 1
5621: _ACEOF
1.1 paf 5622:
1.66 paf 5623: LIBS="-lsocket $LIBS"
1.1 paf 5624:
5625: fi
5626:
1.66 paf 5627:
5628: echo "$as_me:$LINENO: checking for main in -lnsl" >&5
5629: echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
5630: if test "${ac_cv_lib_nsl_main+set}" = set; then
1.62 paf 5631: echo $ECHO_N "(cached) $ECHO_C" >&6
5632: else
1.66 paf 5633: ac_check_lib_save_LIBS=$LIBS
5634: LIBS="-lnsl $LIBS"
5635: cat >conftest.$ac_ext <<_ACEOF
1.62 paf 5636: #line $LINENO "configure"
5637: /* confdefs.h. */
5638: _ACEOF
5639: cat confdefs.h >>conftest.$ac_ext
5640: cat >>conftest.$ac_ext <<_ACEOF
5641: /* end confdefs.h. */
1.66 paf 5642:
5643:
1.62 paf 5644: int
5645: main ()
5646: {
1.66 paf 5647: main ();
1.62 paf 5648: ;
5649: return 0;
5650: }
5651: _ACEOF
1.66 paf 5652: rm -f conftest.$ac_objext conftest$ac_exeext
5653: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5654: (eval $ac_link) 2>&5
1.62 paf 5655: ac_status=$?
5656: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5657: (exit $ac_status); } &&
1.66 paf 5658: { ac_try='test -s conftest$ac_exeext'
1.62 paf 5659: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5660: (eval $ac_try) 2>&5
5661: ac_status=$?
5662: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5663: (exit $ac_status); }; }; then
1.66 paf 5664: ac_cv_lib_nsl_main=yes
1.30 paf 5665: else
1.62 paf 5666: echo "$as_me: failed program was:" >&5
5667: sed 's/^/| /' conftest.$ac_ext >&5
5668:
1.66 paf 5669: ac_cv_lib_nsl_main=no
1.30 paf 5670: fi
1.66 paf 5671: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5672: LIBS=$ac_check_lib_save_LIBS
1.62 paf 5673: fi
1.66 paf 5674: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
5675: echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
5676: if test $ac_cv_lib_nsl_main = yes; then
5677: cat >>confdefs.h <<_ACEOF
5678: #define HAVE_LIBNSL 1
5679: _ACEOF
1.30 paf 5680:
1.66 paf 5681: LIBS="-lnsl $LIBS"
1.30 paf 5682:
5683: fi
5684:
1.66 paf 5685: ;;
5686: *-nec-sysv4*)
5687:
5688: echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5689: echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5690: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
1.62 paf 5691: echo $ECHO_N "(cached) $ECHO_C" >&6
5692: else
1.66 paf 5693: ac_check_lib_save_LIBS=$LIBS
5694: LIBS="-lnsl $LIBS"
5695: cat >conftest.$ac_ext <<_ACEOF
1.62 paf 5696: #line $LINENO "configure"
5697: /* confdefs.h. */
5698: _ACEOF
5699: cat confdefs.h >>conftest.$ac_ext
5700: cat >>conftest.$ac_ext <<_ACEOF
5701: /* end confdefs.h. */
1.66 paf 5702:
5703: /* Override any gcc2 internal prototype to avoid an error. */
5704: #ifdef __cplusplus
5705: extern "C"
5706: #endif
5707: /* We use char because int might match the return type of a gcc2
5708: builtin and then its argument prototype would still apply. */
5709: char gethostbyname ();
1.62 paf 5710: int
5711: main ()
5712: {
1.66 paf 5713: gethostbyname ();
1.62 paf 5714: ;
5715: return 0;
5716: }
5717: _ACEOF
1.66 paf 5718: rm -f conftest.$ac_objext conftest$ac_exeext
5719: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5720: (eval $ac_link) 2>&5
1.62 paf 5721: ac_status=$?
5722: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5723: (exit $ac_status); } &&
1.66 paf 5724: { ac_try='test -s conftest$ac_exeext'
1.62 paf 5725: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5726: (eval $ac_try) 2>&5
5727: ac_status=$?
5728: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5729: (exit $ac_status); }; }; then
1.66 paf 5730: ac_cv_lib_nsl_gethostbyname=yes
1.30 paf 5731: else
1.62 paf 5732: echo "$as_me: failed program was:" >&5
5733: sed 's/^/| /' conftest.$ac_ext >&5
5734:
1.66 paf 5735: ac_cv_lib_nsl_gethostbyname=no
1.30 paf 5736: fi
1.66 paf 5737: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5738: LIBS=$ac_check_lib_save_LIBS
1.62 paf 5739: fi
1.66 paf 5740: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5741: echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5742: if test $ac_cv_lib_nsl_gethostbyname = yes; then
5743: cat >>confdefs.h <<_ACEOF
5744: #define HAVE_LIBNSL 1
5745: _ACEOF
1.30 paf 5746:
1.66 paf 5747: LIBS="-lnsl $LIBS"
1.30 paf 5748:
5749: fi
5750:
5751:
1.66 paf 5752: echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
5753: echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
5754: if test "${ac_cv_lib_socket_socket+set}" = set; then
1.62 paf 5755: echo $ECHO_N "(cached) $ECHO_C" >&6
1.8 paf 5756: else
1.66 paf 5757: ac_check_lib_save_LIBS=$LIBS
5758: LIBS="-lsocket $LIBS"
5759: cat >conftest.$ac_ext <<_ACEOF
1.62 paf 5760: #line $LINENO "configure"
5761: /* confdefs.h. */
5762: _ACEOF
5763: cat confdefs.h >>conftest.$ac_ext
5764: cat >>conftest.$ac_ext <<_ACEOF
5765: /* end confdefs.h. */
5766:
1.66 paf 5767: /* Override any gcc2 internal prototype to avoid an error. */
5768: #ifdef __cplusplus
5769: extern "C"
5770: #endif
5771: /* We use char because int might match the return type of a gcc2
5772: builtin and then its argument prototype would still apply. */
5773: char socket ();
1.62 paf 5774: int
5775: main ()
5776: {
1.66 paf 5777: socket ();
1.62 paf 5778: ;
5779: return 0;
5780: }
5781: _ACEOF
1.66 paf 5782: rm -f conftest.$ac_objext conftest$ac_exeext
5783: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5784: (eval $ac_link) 2>&5
1.62 paf 5785: ac_status=$?
5786: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787: (exit $ac_status); } &&
1.66 paf 5788: { ac_try='test -s conftest$ac_exeext'
1.62 paf 5789: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5790: (eval $ac_try) 2>&5
5791: ac_status=$?
5792: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5793: (exit $ac_status); }; }; then
1.66 paf 5794: ac_cv_lib_socket_socket=yes
1.8 paf 5795: else
1.62 paf 5796: echo "$as_me: failed program was:" >&5
5797: sed 's/^/| /' conftest.$ac_ext >&5
5798:
1.66 paf 5799: ac_cv_lib_socket_socket=no
1.8 paf 5800: fi
1.66 paf 5801: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5802: LIBS=$ac_check_lib_save_LIBS
1.8 paf 5803: fi
1.66 paf 5804: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
5805: echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
5806: if test $ac_cv_lib_socket_socket = yes; then
5807: cat >>confdefs.h <<_ACEOF
5808: #define HAVE_LIBSOCKET 1
5809: _ACEOF
1.8 paf 5810:
1.66 paf 5811: LIBS="-lsocket $LIBS"
1.8 paf 5812:
5813: fi
5814:
1.66 paf 5815: ;;
5816: *-cygwin*)
1.8 paf 5817:
1.66 paf 5818: cat >>confdefs.h <<\_ACEOF
5819: #define WIN32
5820: _ACEOF
1.62 paf 5821:
5822:
1.66 paf 5823: echo "$as_me:$LINENO: checking for socket in -lwsock32" >&5
5824: echo $ECHO_N "checking for socket in -lwsock32... $ECHO_C" >&6
5825: if test "${ac_cv_lib_wsock32_socket+set}" = set; then
1.62 paf 5826: echo $ECHO_N "(cached) $ECHO_C" >&6
5827: else
1.66 paf 5828: ac_check_lib_save_LIBS=$LIBS
5829: LIBS="-lwsock32 $LIBS"
1.62 paf 5830: cat >conftest.$ac_ext <<_ACEOF
5831: #line $LINENO "configure"
5832: /* confdefs.h. */
5833: _ACEOF
5834: cat confdefs.h >>conftest.$ac_ext
5835: cat >>conftest.$ac_ext <<_ACEOF
5836: /* end confdefs.h. */
1.66 paf 5837:
5838: /* Override any gcc2 internal prototype to avoid an error. */
5839: #ifdef __cplusplus
5840: extern "C"
5841: #endif
5842: /* We use char because int might match the return type of a gcc2
5843: builtin and then its argument prototype would still apply. */
5844: char socket ();
5845: int
5846: main ()
5847: {
5848: socket ();
5849: ;
5850: return 0;
5851: }
1.62 paf 5852: _ACEOF
1.66 paf 5853: rm -f conftest.$ac_objext conftest$ac_exeext
5854: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5855: (eval $ac_link) 2>&5
1.62 paf 5856: ac_status=$?
5857: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5858: (exit $ac_status); } &&
1.66 paf 5859: { ac_try='test -s conftest$ac_exeext'
1.62 paf 5860: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5861: (eval $ac_try) 2>&5
5862: ac_status=$?
5863: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864: (exit $ac_status); }; }; then
1.66 paf 5865: ac_cv_lib_wsock32_socket=yes
1.62 paf 5866: else
5867: echo "$as_me: failed program was:" >&5
5868: sed 's/^/| /' conftest.$ac_ext >&5
5869:
1.66 paf 5870: ac_cv_lib_wsock32_socket=no
5871: fi
5872: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5873: LIBS=$ac_check_lib_save_LIBS
5874: fi
5875: echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_socket" >&5
5876: echo "${ECHO_T}$ac_cv_lib_wsock32_socket" >&6
5877: if test $ac_cv_lib_wsock32_socket = yes; then
5878: cat >>confdefs.h <<_ACEOF
5879: #define HAVE_LIBWSOCK32 1
5880: _ACEOF
5881:
5882: LIBS="-lwsock32 $LIBS"
5883:
1.62 paf 5884: fi
5885:
1.66 paf 5886: ;;
5887: # never tested this, only theoretically by letter from demos about parser2 build
5888: *-hpux*)
5889:
5890: echo "$as_me:$LINENO: checking for main in -lnsl" >&5
5891: echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
5892: if test "${ac_cv_lib_nsl_main+set}" = set; then
5893: echo $ECHO_N "(cached) $ECHO_C" >&6
5894: else
5895: ac_check_lib_save_LIBS=$LIBS
5896: LIBS="-lnsl $LIBS"
1.62 paf 5897: cat >conftest.$ac_ext <<_ACEOF
5898: #line $LINENO "configure"
5899: /* confdefs.h. */
5900: _ACEOF
5901: cat confdefs.h >>conftest.$ac_ext
5902: cat >>conftest.$ac_ext <<_ACEOF
5903: /* end confdefs.h. */
1.66 paf 5904:
5905:
5906: int
5907: main ()
5908: {
5909: main ();
5910: ;
5911: return 0;
5912: }
1.62 paf 5913: _ACEOF
1.66 paf 5914: rm -f conftest.$ac_objext conftest$ac_exeext
5915: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5916: (eval $ac_link) 2>&5
5917: ac_status=$?
5918: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919: (exit $ac_status); } &&
5920: { ac_try='test -s conftest$ac_exeext'
5921: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5922: (eval $ac_try) 2>&5
1.62 paf 5923: ac_status=$?
5924: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66 paf 5925: (exit $ac_status); }; }; then
5926: ac_cv_lib_nsl_main=yes
1.62 paf 5927: else
5928: echo "$as_me: failed program was:" >&5
5929: sed 's/^/| /' conftest.$ac_ext >&5
5930:
1.66 paf 5931: ac_cv_lib_nsl_main=no
1.62 paf 5932: fi
1.66 paf 5933: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5934: LIBS=$ac_check_lib_save_LIBS
1.1 paf 5935: fi
1.66 paf 5936: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
5937: echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
5938: if test $ac_cv_lib_nsl_main = yes; then
1.62 paf 5939: cat >>confdefs.h <<_ACEOF
1.66 paf 5940: #define HAVE_LIBNSL 1
1.62 paf 5941: _ACEOF
5942:
1.66 paf 5943: LIBS="-lnsl $LIBS"
5944:
1.1 paf 5945: fi
1.62 paf 5946:
1.66 paf 5947: ;;
5948: esac
1.1 paf 5949:
5950:
1.66 paf 5951: echo "$as_me:$LINENO: checking for sin in -lm" >&5
5952: echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
5953: if test "${ac_cv_lib_m_sin+set}" = set; then
1.62 paf 5954: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 paf 5955: else
1.62 paf 5956: ac_check_lib_save_LIBS=$LIBS
1.66 paf 5957: LIBS="-lm $LIBS"
1.62 paf 5958: cat >conftest.$ac_ext <<_ACEOF
5959: #line $LINENO "configure"
5960: /* confdefs.h. */
5961: _ACEOF
5962: cat confdefs.h >>conftest.$ac_ext
5963: cat >>conftest.$ac_ext <<_ACEOF
5964: /* end confdefs.h. */
5965:
1.66 paf 5966: /* Override any gcc2 internal prototype to avoid an error. */
5967: #ifdef __cplusplus
5968: extern "C"
5969: #endif
5970: /* We use char because int might match the return type of a gcc2
5971: builtin and then its argument prototype would still apply. */
5972: char sin ();
1.62 paf 5973: int
5974: main ()
5975: {
1.66 paf 5976: sin ();
1.62 paf 5977: ;
5978: return 0;
5979: }
5980: _ACEOF
5981: rm -f conftest.$ac_objext conftest$ac_exeext
5982: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5983: (eval $ac_link) 2>&5
5984: ac_status=$?
5985: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5986: (exit $ac_status); } &&
5987: { ac_try='test -s conftest$ac_exeext'
5988: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5989: (eval $ac_try) 2>&5
5990: ac_status=$?
5991: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992: (exit $ac_status); }; }; then
1.66 paf 5993: ac_cv_lib_m_sin=yes
1.62 paf 5994: else
5995: echo "$as_me: failed program was:" >&5
5996: sed 's/^/| /' conftest.$ac_ext >&5
5997:
1.66 paf 5998: ac_cv_lib_m_sin=no
1.62 paf 5999: fi
6000: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6001: LIBS=$ac_check_lib_save_LIBS
6002: fi
1.66 paf 6003: echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
6004: echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
6005: if test $ac_cv_lib_m_sin = yes; then
1.62 paf 6006: cat >>confdefs.h <<_ACEOF
1.66 paf 6007: #define HAVE_LIBM 1
1.62 paf 6008: _ACEOF
1.1 paf 6009:
1.66 paf 6010: LIBS="-lm $LIBS"
1.1 paf 6011:
6012: fi
6013:
1.62 paf 6014:
1.66 paf 6015:
6016: echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
6017: echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
6018: if test "${ac_cv_lib_crypt_crypt+set}" = set; then
1.62 paf 6019: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 paf 6020: else
1.62 paf 6021: ac_check_lib_save_LIBS=$LIBS
1.66 paf 6022: LIBS="-lcrypt $LIBS"
1.62 paf 6023: cat >conftest.$ac_ext <<_ACEOF
6024: #line $LINENO "configure"
6025: /* confdefs.h. */
6026: _ACEOF
6027: cat confdefs.h >>conftest.$ac_ext
6028: cat >>conftest.$ac_ext <<_ACEOF
6029: /* end confdefs.h. */
6030:
1.66 paf 6031: /* Override any gcc2 internal prototype to avoid an error. */
6032: #ifdef __cplusplus
6033: extern "C"
6034: #endif
6035: /* We use char because int might match the return type of a gcc2
6036: builtin and then its argument prototype would still apply. */
6037: char crypt ();
1.62 paf 6038: int
6039: main ()
6040: {
1.66 paf 6041: crypt ();
1.62 paf 6042: ;
6043: return 0;
6044: }
6045: _ACEOF
6046: rm -f conftest.$ac_objext conftest$ac_exeext
6047: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6048: (eval $ac_link) 2>&5
6049: ac_status=$?
6050: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6051: (exit $ac_status); } &&
6052: { ac_try='test -s conftest$ac_exeext'
6053: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6054: (eval $ac_try) 2>&5
6055: ac_status=$?
6056: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6057: (exit $ac_status); }; }; then
1.66 paf 6058: ac_cv_lib_crypt_crypt=yes
1.62 paf 6059: else
6060: echo "$as_me: failed program was:" >&5
6061: sed 's/^/| /' conftest.$ac_ext >&5
6062:
1.66 paf 6063: ac_cv_lib_crypt_crypt=no
1.62 paf 6064: fi
6065: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6066: LIBS=$ac_check_lib_save_LIBS
6067: fi
1.66 paf 6068: echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
6069: echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
6070: if test $ac_cv_lib_crypt_crypt = yes; then
1.62 paf 6071: cat >>confdefs.h <<_ACEOF
1.66 paf 6072: #define HAVE_LIBCRYPT 1
1.62 paf 6073: _ACEOF
1.1 paf 6074:
1.66 paf 6075: LIBS="-lcrypt $LIBS"
6076:
6077: fi
6078:
6079:
6080:
6081:
6082:
6083:
6084:
6085:
6086:
6087:
6088:
6089:
6090:
1.66.2.5.2.1 paf 6091: for ac_func in flock \
1.66 paf 6092: _locking \
6093: fcntl \
6094: lockf \
6095: ftruncate \
6096: getrusage \
6097: gettimeofday \
6098: crypt \
6099: sigsetjmp siglongjmp
6100:
6101: do
6102: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6103: echo "$as_me:$LINENO: checking for $ac_func" >&5
6104: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6105: if eval "test \"\${$as_ac_var+set}\" = set"; then
6106: echo $ECHO_N "(cached) $ECHO_C" >&6
6107: else
6108: cat >conftest.$ac_ext <<_ACEOF
6109: #line $LINENO "configure"
6110: /* confdefs.h. */
6111: _ACEOF
6112: cat confdefs.h >>conftest.$ac_ext
6113: cat >>conftest.$ac_ext <<_ACEOF
6114: /* end confdefs.h. */
6115: /* System header to define __stub macros and hopefully few prototypes,
6116: which can conflict with char $ac_func (); below.
6117: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6118: <limits.h> exists even on freestanding compilers. */
6119: #ifdef __STDC__
6120: # include <limits.h>
6121: #else
6122: # include <assert.h>
6123: #endif
6124: /* Override any gcc2 internal prototype to avoid an error. */
6125: #ifdef __cplusplus
6126: extern "C"
6127: {
6128: #endif
6129: /* We use char because int might match the return type of a gcc2
6130: builtin and then its argument prototype would still apply. */
6131: char $ac_func ();
6132: /* The GNU C library defines this for functions which it implements
6133: to always fail with ENOSYS. Some functions are actually named
6134: something starting with __ and the normal name is an alias. */
6135: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6136: choke me
6137: #else
6138: char (*f) () = $ac_func;
6139: #endif
6140: #ifdef __cplusplus
6141: }
6142: #endif
1.62 paf 6143:
6144: int
6145: main ()
6146: {
1.66 paf 6147: return f != $ac_func;
1.62 paf 6148: ;
6149: return 0;
6150: }
6151: _ACEOF
6152: rm -f conftest.$ac_objext conftest$ac_exeext
6153: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6154: (eval $ac_link) 2>&5
6155: ac_status=$?
6156: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6157: (exit $ac_status); } &&
6158: { ac_try='test -s conftest$ac_exeext'
6159: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6160: (eval $ac_try) 2>&5
6161: ac_status=$?
6162: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6163: (exit $ac_status); }; }; then
1.66 paf 6164: eval "$as_ac_var=yes"
1.62 paf 6165: else
6166: echo "$as_me: failed program was:" >&5
6167: sed 's/^/| /' conftest.$ac_ext >&5
6168:
1.66 paf 6169: eval "$as_ac_var=no"
1.62 paf 6170: fi
6171: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6172: fi
1.66 paf 6173: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6174: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6175: if test `eval echo '${'$as_ac_var'}'` = yes; then
1.62 paf 6176: cat >>confdefs.h <<_ACEOF
1.66 paf 6177: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62 paf 6178: _ACEOF
1.1 paf 6179:
1.66 paf 6180: fi
6181: done
6182:
1.1 paf 6183:
1.66.2.5.2.1 paf 6184: ac_ext=cc
6185: ac_cpp='$CXXCPP $CPPFLAGS'
6186: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6187: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6188: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6189:
6190:
6191:
6192:
6193:
6194:
6195:
6196: for pa_func in trunc \
6197: round \
6198: sign
6199:
6200: do
6201:
6202: echo "$as_me:$LINENO: checking for (maybe built-in) math function $pa_func" >&5
6203: echo $ECHO_N "checking for (maybe built-in) math function $pa_func... $ECHO_C" >&6
6204: cat >conftest.$ac_ext <<_ACEOF
6205: #line $LINENO "configure"
6206: /* confdefs.h. */
6207: _ACEOF
6208: cat confdefs.h >>conftest.$ac_ext
6209: cat >>conftest.$ac_ext <<_ACEOF
6210: /* end confdefs.h. */
6211:
6212: #ifdef HAVE_MATH_H
6213: # include <math.h>
6214: #endif
6215:
6216: int
6217: main ()
6218: {
6219:
6220: double result=$pa_func(1.6);
6221:
6222: ;
6223: return 0;
6224: }
6225: _ACEOF
6226: rm -f conftest.$ac_objext
6227: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6228: (eval $ac_compile) 2>&5
6229: ac_status=$?
6230: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6231: (exit $ac_status); } &&
6232: { ac_try='test -s conftest.$ac_objext'
6233: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6234: (eval $ac_try) 2>&5
6235: ac_status=$?
6236: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6237: (exit $ac_status); }; }; then
6238: echo "$as_me:$LINENO: result: yes" >&5
6239: echo "${ECHO_T}yes" >&6
6240: cat >>confdefs.h <<_ACEOF
6241: #define `echo "HAVE_$pa_func" | $as_tr_cpp` 1
6242: _ACEOF
6243:
6244: else
6245: echo "$as_me: failed program was:" >&5
6246: sed 's/^/| /' conftest.$ac_ext >&5
6247:
6248: echo "$as_me:$LINENO: result: no" >&5
6249: echo "${ECHO_T}no" >&6
6250:
6251: fi
6252: rm -f conftest.$ac_objext conftest.$ac_ext
6253:
6254: done
6255:
6256: ac_ext=c
6257: ac_cpp='$CPP $CPPFLAGS'
6258: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6259: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6260: ac_compiler_gnu=$ac_cv_c_compiler_gnu
6261:
6262:
1.1 paf 6263:
1.62 paf 6264:
1.66 paf 6265: for ac_func in qsort
6266: do
6267: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6268: echo "$as_me:$LINENO: checking for $ac_func" >&5
6269: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6270: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.62 paf 6271: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 paf 6272: else
1.66 paf 6273: cat >conftest.$ac_ext <<_ACEOF
1.62 paf 6274: #line $LINENO "configure"
6275: /* confdefs.h. */
6276: _ACEOF
6277: cat confdefs.h >>conftest.$ac_ext
6278: cat >>conftest.$ac_ext <<_ACEOF
6279: /* end confdefs.h. */
1.66 paf 6280: /* System header to define __stub macros and hopefully few prototypes,
6281: which can conflict with char $ac_func (); below.
6282: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6283: <limits.h> exists even on freestanding compilers. */
6284: #ifdef __STDC__
6285: # include <limits.h>
6286: #else
6287: # include <assert.h>
6288: #endif
1.1 paf 6289: /* Override any gcc2 internal prototype to avoid an error. */
6290: #ifdef __cplusplus
6291: extern "C"
1.66 paf 6292: {
1.1 paf 6293: #endif
6294: /* We use char because int might match the return type of a gcc2
1.62 paf 6295: builtin and then its argument prototype would still apply. */
1.66 paf 6296: char $ac_func ();
6297: /* The GNU C library defines this for functions which it implements
6298: to always fail with ENOSYS. Some functions are actually named
6299: something starting with __ and the normal name is an alias. */
6300: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6301: choke me
6302: #else
6303: char (*f) () = $ac_func;
6304: #endif
6305: #ifdef __cplusplus
6306: }
6307: #endif
6308:
1.62 paf 6309: int
6310: main ()
6311: {
1.66 paf 6312: return f != $ac_func;
1.62 paf 6313: ;
6314: return 0;
6315: }
6316: _ACEOF
6317: rm -f conftest.$ac_objext conftest$ac_exeext
6318: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6319: (eval $ac_link) 2>&5
6320: ac_status=$?
6321: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6322: (exit $ac_status); } &&
6323: { ac_try='test -s conftest$ac_exeext'
6324: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6325: (eval $ac_try) 2>&5
6326: ac_status=$?
6327: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6328: (exit $ac_status); }; }; then
1.66 paf 6329: eval "$as_ac_var=yes"
1.62 paf 6330: else
6331: echo "$as_me: failed program was:" >&5
6332: sed 's/^/| /' conftest.$ac_ext >&5
6333:
1.66 paf 6334: eval "$as_ac_var=no"
1.62 paf 6335: fi
6336: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6337: fi
1.66 paf 6338: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6339: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6340: if test `eval echo '${'$as_ac_var'}'` = yes; then
1.62 paf 6341: cat >>confdefs.h <<_ACEOF
1.66 paf 6342: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62 paf 6343: _ACEOF
1.1 paf 6344:
1.66 paf 6345: else
6346: { { echo "$as_me:$LINENO: error: No qsort library function." >&5
6347: echo "$as_me: error: No qsort library function." >&2;}
6348: { (exit 1); exit 1; }; }
1.1 paf 6349: fi
1.66 paf 6350: done
1.1 paf 6351:
6352:
1.66 paf 6353: for ac_func in select
6354: do
6355: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6356: echo "$as_me:$LINENO: checking for $ac_func" >&5
6357: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6358: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.62 paf 6359: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 paf 6360: else
1.66 paf 6361: cat >conftest.$ac_ext <<_ACEOF
1.62 paf 6362: #line $LINENO "configure"
6363: /* confdefs.h. */
6364: _ACEOF
6365: cat confdefs.h >>conftest.$ac_ext
6366: cat >>conftest.$ac_ext <<_ACEOF
6367: /* end confdefs.h. */
1.66 paf 6368: /* System header to define __stub macros and hopefully few prototypes,
6369: which can conflict with char $ac_func (); below.
6370: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6371: <limits.h> exists even on freestanding compilers. */
6372: #ifdef __STDC__
6373: # include <limits.h>
6374: #else
6375: # include <assert.h>
6376: #endif
1.1 paf 6377: /* Override any gcc2 internal prototype to avoid an error. */
6378: #ifdef __cplusplus
6379: extern "C"
1.66 paf 6380: {
1.1 paf 6381: #endif
6382: /* We use char because int might match the return type of a gcc2
1.62 paf 6383: builtin and then its argument prototype would still apply. */
1.66 paf 6384: char $ac_func ();
6385: /* The GNU C library defines this for functions which it implements
6386: to always fail with ENOSYS. Some functions are actually named
6387: something starting with __ and the normal name is an alias. */
6388: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6389: choke me
6390: #else
6391: char (*f) () = $ac_func;
6392: #endif
6393: #ifdef __cplusplus
6394: }
6395: #endif
6396:
1.62 paf 6397: int
6398: main ()
6399: {
1.66 paf 6400: return f != $ac_func;
1.62 paf 6401: ;
6402: return 0;
6403: }
6404: _ACEOF
6405: rm -f conftest.$ac_objext conftest$ac_exeext
6406: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6407: (eval $ac_link) 2>&5
6408: ac_status=$?
6409: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6410: (exit $ac_status); } &&
6411: { ac_try='test -s conftest$ac_exeext'
6412: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6413: (eval $ac_try) 2>&5
6414: ac_status=$?
6415: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6416: (exit $ac_status); }; }; then
1.66 paf 6417: eval "$as_ac_var=yes"
1.62 paf 6418: else
6419: echo "$as_me: failed program was:" >&5
6420: sed 's/^/| /' conftest.$ac_ext >&5
6421:
1.66 paf 6422: eval "$as_ac_var=no"
1.62 paf 6423: fi
6424: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6425: fi
1.66 paf 6426: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6427: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6428: if test `eval echo '${'$as_ac_var'}'` = yes; then
1.62 paf 6429: cat >>confdefs.h <<_ACEOF
1.66 paf 6430: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62 paf 6431: _ACEOF
1.1 paf 6432:
1.66 paf 6433: else
6434: { { echo "$as_me:$LINENO: error: No select library function." >&5
6435: echo "$as_me: error: No select library function." >&2;}
6436: { (exit 1); exit 1; }; }
1.1 paf 6437: fi
1.66 paf 6438: done
1.1 paf 6439:
1.62 paf 6440:
6441:
1.66 paf 6442: echo "$as_me:$LINENO: checking for timezone variable" >&5
6443: echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6
1.62 paf 6444: cat >conftest.$ac_ext <<_ACEOF
6445: #line $LINENO "configure"
6446: /* confdefs.h. */
6447: _ACEOF
6448: cat confdefs.h >>conftest.$ac_ext
6449: cat >>conftest.$ac_ext <<_ACEOF
6450: /* end confdefs.h. */
1.66 paf 6451: #include <time.h>
1.62 paf 6452: int
6453: main ()
6454: {
1.66 paf 6455:
6456: time_t test=timezone;
6457:
1.62 paf 6458: ;
6459: return 0;
6460: }
6461: _ACEOF
1.66 paf 6462: rm -f conftest.$ac_objext
6463: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6464: (eval $ac_compile) 2>&5
1.62 paf 6465: ac_status=$?
6466: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6467: (exit $ac_status); } &&
1.66 paf 6468: { ac_try='test -s conftest.$ac_objext'
1.62 paf 6469: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6470: (eval $ac_try) 2>&5
6471: ac_status=$?
6472: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6473: (exit $ac_status); }; }; then
1.66 paf 6474: cat >>confdefs.h <<\_ACEOF
6475: #define HAVE_TIMEZONE 1
6476: _ACEOF
6477:
6478: echo "$as_me:$LINENO: result: yes" >&5
6479: echo "${ECHO_T}yes" >&6
1.62 paf 6480: else
6481: echo "$as_me: failed program was:" >&5
6482: sed 's/^/| /' conftest.$ac_ext >&5
6483:
1.66 paf 6484: echo "$as_me:$LINENO: result: no" >&5
6485: echo "${ECHO_T}no" >&6
1.62 paf 6486: fi
1.66 paf 6487: rm -f conftest.$ac_objext conftest.$ac_ext
1.1 paf 6488:
1.66 paf 6489: echo "$as_me:$LINENO: checking for daylight variable" >&5
6490: echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6
1.62 paf 6491: cat >conftest.$ac_ext <<_ACEOF
6492: #line $LINENO "configure"
6493: /* confdefs.h. */
6494: _ACEOF
6495: cat confdefs.h >>conftest.$ac_ext
6496: cat >>conftest.$ac_ext <<_ACEOF
6497: /* end confdefs.h. */
1.66 paf 6498: #include <time.h>
1.62 paf 6499: int
6500: main ()
6501: {
1.66 paf 6502:
6503: int test=daylight;
6504:
1.62 paf 6505: ;
6506: return 0;
6507: }
6508: _ACEOF
1.66 paf 6509: rm -f conftest.$ac_objext
6510: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6511: (eval $ac_compile) 2>&5
1.62 paf 6512: ac_status=$?
6513: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6514: (exit $ac_status); } &&
1.66 paf 6515: { ac_try='test -s conftest.$ac_objext'
1.62 paf 6516: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6517: (eval $ac_try) 2>&5
6518: ac_status=$?
6519: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6520: (exit $ac_status); }; }; then
1.66 paf 6521: cat >>confdefs.h <<\_ACEOF
6522: #define HAVE_DAYLIGHT 1
6523: _ACEOF
6524:
6525: echo "$as_me:$LINENO: result: yes" >&5
6526: echo "${ECHO_T}yes" >&6
1.62 paf 6527: else
6528: echo "$as_me: failed program was:" >&5
6529: sed 's/^/| /' conftest.$ac_ext >&5
6530:
1.66 paf 6531: echo "$as_me:$LINENO: result: no" >&5
6532: echo "${ECHO_T}no" >&6
1.62 paf 6533: fi
1.66 paf 6534: rm -f conftest.$ac_objext conftest.$ac_ext
1.62 paf 6535:
1.66 paf 6536: echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
6537: echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
1.62 paf 6538: cat >conftest.$ac_ext <<_ACEOF
6539: #line $LINENO "configure"
6540: /* confdefs.h. */
6541: _ACEOF
6542: cat confdefs.h >>conftest.$ac_ext
6543: cat >>conftest.$ac_ext <<_ACEOF
6544: /* end confdefs.h. */
1.66 paf 6545: #include <time.h>
1.62 paf 6546: int
6547: main ()
6548: {
1.66 paf 6549: struct tm tm;
6550: tm.tm_gmtoff=0;
6551:
1.62 paf 6552: ;
6553: return 0;
6554: }
6555: _ACEOF
1.66 paf 6556: rm -f conftest.$ac_objext
6557: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6558: (eval $ac_compile) 2>&5
1.62 paf 6559: ac_status=$?
6560: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6561: (exit $ac_status); } &&
1.66 paf 6562: { ac_try='test -s conftest.$ac_objext'
1.62 paf 6563: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6564: (eval $ac_try) 2>&5
6565: ac_status=$?
6566: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6567: (exit $ac_status); }; }; then
1.66 paf 6568: cat >>confdefs.h <<\_ACEOF
6569: #define HAVE_TM_GMTOFF 1
6570: _ACEOF
6571:
6572: echo "$as_me:$LINENO: result: yes" >&5
6573: echo "${ECHO_T}yes" >&6
1.62 paf 6574: else
6575: echo "$as_me: failed program was:" >&5
6576: sed 's/^/| /' conftest.$ac_ext >&5
6577:
1.66 paf 6578: echo "$as_me:$LINENO: result: no" >&5
6579: echo "${ECHO_T}no" >&6
1.62 paf 6580: fi
1.66 paf 6581: rm -f conftest.$ac_objext conftest.$ac_ext
1.1 paf 6582:
1.66 paf 6583: echo "$as_me:$LINENO: checking for tm_tzadj in struct tm" >&5
6584: echo $ECHO_N "checking for tm_tzadj in struct tm... $ECHO_C" >&6
1.62 paf 6585: cat >conftest.$ac_ext <<_ACEOF
6586: #line $LINENO "configure"
6587: /* confdefs.h. */
6588: _ACEOF
6589: cat confdefs.h >>conftest.$ac_ext
6590: cat >>conftest.$ac_ext <<_ACEOF
6591: /* end confdefs.h. */
1.66 paf 6592: #include <time.h>
1.62 paf 6593: int
6594: main ()
6595: {
1.66 paf 6596: struct tm tm;
6597: tm.tm_tzadj=0;
6598:
1.62 paf 6599: ;
6600: return 0;
6601: }
6602: _ACEOF
1.66 paf 6603: rm -f conftest.$ac_objext
6604: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6605: (eval $ac_compile) 2>&5
1.62 paf 6606: ac_status=$?
6607: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6608: (exit $ac_status); } &&
1.66 paf 6609: { ac_try='test -s conftest.$ac_objext'
1.62 paf 6610: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6611: (eval $ac_try) 2>&5
6612: ac_status=$?
6613: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6614: (exit $ac_status); }; }; then
1.66 paf 6615: cat >>confdefs.h <<\_ACEOF
6616: #define HAVE_TM_TZADJ 1
6617: _ACEOF
6618:
6619: echo "$as_me:$LINENO: result: yes" >&5
6620: echo "${ECHO_T}yes" >&6
1.62 paf 6621: else
6622: echo "$as_me: failed program was:" >&5
6623: sed 's/^/| /' conftest.$ac_ext >&5
6624:
1.66 paf 6625: echo "$as_me:$LINENO: result: no" >&5
6626: echo "${ECHO_T}no" >&6
1.62 paf 6627: fi
1.66 paf 6628: rm -f conftest.$ac_objext conftest.$ac_ext
1.31 paf 6629:
6630:
1.1 paf 6631:
1.15 paf 6632:
1.1 paf 6633: # expand apostrophed
1.4 paf 6634: e_prefix=$prefix
6635: test "x$e_prefix" = xNONE && e_prefix=$ac_default_prefix
6636:
1.1 paf 6637: e_sysconfdir=$sysconfdir
1.4 paf 6638: test "$e_sysconfdir" = "\${prefix}/etc" && e_sysconfdir="${e_prefix}/etc"
1.1 paf 6639:
6640:
6641: charsetsdir=$e_sysconfdir/parser3.charsets
6642:
6643:
6644: # expand apostrophed
6645: e_libdir=$libdir
6646: if test "$e_libdir" = "\${exec_prefix}/lib"; then
6647:
1.66.2.3 paf 6648: # Let make expand exec_prefix.
6649: e_exec_prefix=$exec_prefix
6650: test "x$e_exec_prefix" = xNONE && e_exec_prefix=$e_prefix
1.1 paf 6651:
1.66.2.3 paf 6652: # expand apostrophed
6653: test "$e_libdir" = "\${exec_prefix}/lib" && e_libdir="${e_exec_prefix}/lib"
1.1 paf 6654: fi
6655:
6656: sqldriversdir=$e_libdir
6657:
6658:
6659:
6660:
6661:
6662:
6663:
1.62 paf 6664:
6665:
6666:
6667:
6668:
6669:
6670:
6671:
6672:
6673:
6674:
6675:
6676:
6677:
6678:
6679:
6680:
6681:
6682:
6683:
6684:
6685:
6686:
6687:
6688:
6689:
6690: ac_config_headers="$ac_config_headers src/include/pa_config_auto.h"
6691:
1.66.2.5.2.1 paf 6692: ac_config_files="$ac_config_files 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"
1.62 paf 6693: cat >confcache <<\_ACEOF
1.1 paf 6694: # This file is a shell script that caches the results of configure
6695: # tests run on this system so they can be shared between configure
1.62 paf 6696: # scripts and configure runs, see configure's option --config-cache.
6697: # It is not useful on other systems. If it contains results you don't
6698: # want to keep, you may remove or edit it.
1.1 paf 6699: #
1.62 paf 6700: # config.status only pays attention to the cache file if you give it
6701: # the --recheck option to rerun configure.
1.1 paf 6702: #
1.62 paf 6703: # `ac_cv_env_foo' variables (set or unset) will be overridden when
6704: # loading this file, other *unset* `ac_cv_foo' will be assigned the
6705: # following values.
6706:
6707: _ACEOF
6708:
1.1 paf 6709: # The following way of writing the cache mishandles newlines in values,
6710: # but we know of no workaround that is simple, portable, and efficient.
6711: # So, don't put newlines in cache variables' values.
6712: # Ultrix sh set writes to stderr and can't be redirected directly,
6713: # and sets the high bit in the cache file unless we assign to the vars.
1.62 paf 6714: {
6715: (set) 2>&1 |
6716: case `(ac_space=' '; set | grep ac_space) 2>&1` in
6717: *ac_space=\ *)
6718: # `set' does not quote correctly, so add quotes (double-quote
6719: # substitution turns \\\\ into \\, and sed turns \\ into \).
6720: sed -n \
6721: "s/'/'\\\\''/g;
6722: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6723: ;;
6724: *)
6725: # `set' quotes correctly as required by POSIX, so do not add quotes.
6726: sed -n \
6727: "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6728: ;;
6729: esac;
6730: } |
6731: sed '
6732: t clear
6733: : clear
6734: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6735: t end
6736: /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6737: : end' >>confcache
6738: if diff $cache_file confcache >/dev/null 2>&1; then :; else
1.1 paf 6739: if test -w $cache_file; then
1.62 paf 6740: test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6741: cat confcache >$cache_file
1.1 paf 6742: else
6743: echo "not updating unwritable cache $cache_file"
6744: fi
6745: fi
6746: rm -f confcache
6747:
6748: test "x$prefix" = xNONE && prefix=$ac_default_prefix
6749: # Let make expand exec_prefix.
6750: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6751:
1.62 paf 6752: # VPATH may cause trouble with some makes, so we remove $(srcdir),
6753: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6754: # trailing colons and then remove the whole line if VPATH becomes empty
6755: # (actually we leave an empty line to preserve line numbers).
1.1 paf 6756: if test "x$srcdir" = x.; then
1.62 paf 6757: ac_vpsub='/^[ ]*VPATH[ ]*=/{
6758: s/:*\$(srcdir):*/:/;
6759: s/:*\${srcdir}:*/:/;
6760: s/:*@srcdir@:*/:/;
6761: s/^\([^=]*=[ ]*\):*/\1/;
6762: s/:*$//;
6763: s/^[^=]*=[ ]*$//;
6764: }'
1.1 paf 6765: fi
6766:
1.62 paf 6767: DEFS=-DHAVE_CONFIG_H
6768:
6769: ac_libobjs=
6770: ac_ltlibobjs=
6771: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6772: # 1. Remove the extension, and $U if already installed.
6773: ac_i=`echo "$ac_i" |
6774: sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6775: # 2. Add them.
6776: ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6777: ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6778: done
6779: LIBOBJS=$ac_libobjs
6780:
6781: LTLIBOBJS=$ac_ltlibobjs
1.1 paf 6782:
6783:
1.62 paf 6784: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6785: { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6786: Usually this means the macro was only invoked conditionally." >&5
6787: echo "$as_me: error: conditional \"AMDEP\" was never defined.
6788: Usually this means the macro was only invoked conditionally." >&2;}
6789: { (exit 1); exit 1; }; }
6790: fi
1.66 paf 6791: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6792: { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
1.62 paf 6793: Usually this means the macro was only invoked conditionally." >&5
1.66 paf 6794: echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
1.62 paf 6795: Usually this means the macro was only invoked conditionally." >&2;}
6796: { (exit 1); exit 1; }; }
6797: fi
1.66 paf 6798: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6799: { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
1.62 paf 6800: Usually this means the macro was only invoked conditionally." >&5
1.66 paf 6801: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
1.62 paf 6802: Usually this means the macro was only invoked conditionally." >&2;}
6803: { (exit 1); exit 1; }; }
6804: fi
6805: if test -z "${COMPILE_APACHE13_MODULE_TRUE}" && test -z "${COMPILE_APACHE13_MODULE_FALSE}"; then
6806: { { echo "$as_me:$LINENO: error: conditional \"COMPILE_APACHE13_MODULE\" was never defined.
6807: Usually this means the macro was only invoked conditionally." >&5
6808: echo "$as_me: error: conditional \"COMPILE_APACHE13_MODULE\" was never defined.
6809: Usually this means the macro was only invoked conditionally." >&2;}
6810: { (exit 1); exit 1; }; }
6811: fi
6812:
1.1 paf 6813: : ${CONFIG_STATUS=./config.status}
1.62 paf 6814: ac_clean_files_save=$ac_clean_files
6815: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6816: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6817: echo "$as_me: creating $CONFIG_STATUS" >&6;}
6818: cat >$CONFIG_STATUS <<_ACEOF
6819: #! $SHELL
6820: # Generated by $as_me.
6821: # Run this file to recreate the current configuration.
6822: # Compiler output produced by configure, useful for debugging
6823: # configure, is in config.log if it exists.
6824:
6825: debug=false
6826: ac_cs_recheck=false
6827: ac_cs_silent=false
6828: SHELL=\${CONFIG_SHELL-$SHELL}
6829: _ACEOF
6830:
6831: cat >>$CONFIG_STATUS <<\_ACEOF
6832: ## --------------------- ##
6833: ## M4sh Initialization. ##
6834: ## --------------------- ##
6835:
6836: # Be Bourne compatible
6837: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6838: emulate sh
6839: NULLCMD=:
6840: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6841: # is contrary to our usage. Disable this feature.
6842: alias -g '${1+"$@"}'='"$@"'
6843: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6844: set -o posix
6845: fi
6846:
6847: # Support unset when possible.
6848: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
6849: as_unset=unset
6850: else
6851: as_unset=false
6852: fi
6853:
6854:
6855: # Work around bugs in pre-3.0 UWIN ksh.
6856: $as_unset ENV MAIL MAILPATH
6857: PS1='$ '
6858: PS2='> '
6859: PS4='+ '
6860:
6861: # NLS nuisances.
6862: for as_var in \
6863: LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6864: LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6865: LC_TELEPHONE LC_TIME
6866: do
6867: if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
6868: eval $as_var=C; export $as_var
6869: else
6870: $as_unset $as_var
6871: fi
6872: done
1.1 paf 6873:
1.62 paf 6874: # Required to use basename.
6875: if expr a : '\(a\)' >/dev/null 2>&1; then
6876: as_expr=expr
6877: else
6878: as_expr=false
6879: fi
6880:
6881: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6882: as_basename=basename
6883: else
6884: as_basename=false
6885: fi
6886:
6887:
6888: # Name of the executable.
6889: as_me=`$as_basename "$0" ||
6890: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6891: X"$0" : 'X\(//\)$' \| \
6892: X"$0" : 'X\(/\)$' \| \
6893: . : '\(.\)' 2>/dev/null ||
6894: echo X/"$0" |
6895: sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6896: /^X\/\(\/\/\)$/{ s//\1/; q; }
6897: /^X\/\(\/\).*/{ s//\1/; q; }
6898: s/.*/./; q'`
6899:
6900:
6901: # PATH needs CR, and LINENO needs CR and PATH.
6902: # Avoid depending upon Character Ranges.
6903: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6904: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6905: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6906: as_cr_digits='0123456789'
6907: as_cr_alnum=$as_cr_Letters$as_cr_digits
6908:
6909: # The user is always right.
6910: if test "${PATH_SEPARATOR+set}" != set; then
6911: echo "#! /bin/sh" >conf$$.sh
6912: echo "exit 0" >>conf$$.sh
6913: chmod +x conf$$.sh
6914: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6915: PATH_SEPARATOR=';'
6916: else
6917: PATH_SEPARATOR=:
6918: fi
6919: rm -f conf$$.sh
6920: fi
6921:
6922:
6923: as_lineno_1=$LINENO
6924: as_lineno_2=$LINENO
6925: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6926: test "x$as_lineno_1" != "x$as_lineno_2" &&
6927: test "x$as_lineno_3" = "x$as_lineno_2" || {
6928: # Find who we are. Look in the path if we contain no path at all
6929: # relative or not.
6930: case $0 in
6931: *[\\/]* ) as_myself=$0 ;;
6932: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6933: for as_dir in $PATH
6934: do
6935: IFS=$as_save_IFS
6936: test -z "$as_dir" && as_dir=.
6937: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6938: done
6939:
6940: ;;
6941: esac
6942: # We did not find ourselves, most probably we were run as `sh COMMAND'
6943: # in which case we are not to be found in the path.
6944: if test "x$as_myself" = x; then
6945: as_myself=$0
6946: fi
6947: if test ! -f "$as_myself"; then
6948: { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6949: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6950: { (exit 1); exit 1; }; }
6951: fi
6952: case $CONFIG_SHELL in
6953: '')
6954: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6955: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6956: do
6957: IFS=$as_save_IFS
6958: test -z "$as_dir" && as_dir=.
6959: for as_base in sh bash ksh sh5; do
6960: case $as_dir in
6961: /*)
6962: if ("$as_dir/$as_base" -c '
6963: as_lineno_1=$LINENO
6964: as_lineno_2=$LINENO
6965: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6966: test "x$as_lineno_1" != "x$as_lineno_2" &&
6967: test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6968: $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6969: $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6970: CONFIG_SHELL=$as_dir/$as_base
6971: export CONFIG_SHELL
6972: exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6973: fi;;
6974: esac
6975: done
6976: done
6977: ;;
6978: esac
6979:
6980: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6981: # uniformly replaced by the line number. The first 'sed' inserts a
6982: # line-number line before each line; the second 'sed' does the real
6983: # work. The second script uses 'N' to pair each line-number line
6984: # with the numbered line, and appends trailing '-' during
6985: # substitution so that $LINENO is not a special case at line end.
6986: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6987: # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6988: sed '=' <$as_myself |
6989: sed '
6990: N
6991: s,$,-,
6992: : loop
6993: s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6994: t loop
6995: s,-$,,
6996: s,^['$as_cr_digits']*\n,,
6997: ' >$as_me.lineno &&
6998: chmod +x $as_me.lineno ||
6999: { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7000: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7001: { (exit 1); exit 1; }; }
7002:
7003: # Don't try to exec as it changes $[0], causing all sort of problems
7004: # (the dirname of $[0] is not the place where we might find the
7005: # original and so on. Autoconf is especially sensible to this).
7006: . ./$as_me.lineno
7007: # Exit status is that of the last command.
7008: exit
7009: }
7010:
7011:
7012: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7013: *c*,-n*) ECHO_N= ECHO_C='
7014: ' ECHO_T=' ' ;;
7015: *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7016: *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
7017: esac
7018:
7019: if expr a : '\(a\)' >/dev/null 2>&1; then
7020: as_expr=expr
7021: else
7022: as_expr=false
7023: fi
7024:
7025: rm -f conf$$ conf$$.exe conf$$.file
7026: echo >conf$$.file
7027: if ln -s conf$$.file conf$$ 2>/dev/null; then
7028: # We could just check for DJGPP; but this test a) works b) is more generic
7029: # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7030: if test -f conf$$.exe; then
7031: # Don't use ln at all; we don't have any links
7032: as_ln_s='cp -p'
7033: else
7034: as_ln_s='ln -s'
7035: fi
7036: elif ln conf$$.file conf$$ 2>/dev/null; then
7037: as_ln_s=ln
7038: else
7039: as_ln_s='cp -p'
7040: fi
7041: rm -f conf$$ conf$$.exe conf$$.file
7042:
7043: if mkdir -p . 2>/dev/null; then
7044: as_mkdir_p=:
7045: else
7046: as_mkdir_p=false
7047: fi
7048:
7049: as_executable_p="test -f"
7050:
7051: # Sed expression to map a string onto a valid CPP name.
7052: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
7053:
7054: # Sed expression to map a string onto a valid variable name.
7055: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
7056:
7057:
7058: # IFS
7059: # We need space, tab and new line, in precisely that order.
7060: as_nl='
7061: '
7062: IFS=" $as_nl"
7063:
7064: # CDPATH.
7065: $as_unset CDPATH
7066:
7067: exec 6>&1
7068:
7069: # Open the log real soon, to keep \$[0] and so on meaningful, and to
7070: # report actual input values of CONFIG_FILES etc. instead of their
7071: # values after options handling. Logging --version etc. is OK.
7072: exec 5>>config.log
7073: {
7074: echo
7075: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7076: ## Running $as_me. ##
7077: _ASBOX
7078: } >&5
7079: cat >&5 <<_CSEOF
7080:
7081: This file was extended by $as_me, which was
7082: generated by GNU Autoconf 2.57. Invocation command line was
7083:
7084: CONFIG_FILES = $CONFIG_FILES
7085: CONFIG_HEADERS = $CONFIG_HEADERS
7086: CONFIG_LINKS = $CONFIG_LINKS
7087: CONFIG_COMMANDS = $CONFIG_COMMANDS
7088: $ $0 $@
7089:
7090: _CSEOF
7091: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7092: echo >&5
7093: _ACEOF
7094:
7095: # Files that config.status was made for.
7096: if test -n "$ac_config_files"; then
7097: echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7098: fi
7099:
7100: if test -n "$ac_config_headers"; then
7101: echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7102: fi
7103:
7104: if test -n "$ac_config_links"; then
7105: echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7106: fi
7107:
7108: if test -n "$ac_config_commands"; then
7109: echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7110: fi
7111:
7112: cat >>$CONFIG_STATUS <<\_ACEOF
7113:
7114: ac_cs_usage="\
7115: \`$as_me' instantiates files from templates according to the
7116: current configuration.
7117:
7118: Usage: $0 [OPTIONS] [FILE]...
7119:
7120: -h, --help print this help, then exit
7121: -V, --version print version number, then exit
7122: -q, --quiet do not print progress messages
7123: -d, --debug don't remove temporary files
7124: --recheck update $as_me by reconfiguring in the same conditions
7125: --file=FILE[:TEMPLATE]
7126: instantiate the configuration file FILE
7127: --header=FILE[:TEMPLATE]
7128: instantiate the configuration header FILE
7129:
7130: Configuration files:
7131: $config_files
7132:
7133: Configuration headers:
7134: $config_headers
7135:
7136: Configuration commands:
7137: $config_commands
7138:
7139: Report bugs to <bug-autoconf@gnu.org>."
7140: _ACEOF
7141:
7142: cat >>$CONFIG_STATUS <<_ACEOF
7143: ac_cs_version="\\
7144: config.status
7145: configured by $0, generated by GNU Autoconf 2.57,
7146: with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7147:
7148: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
7149: Free Software Foundation, Inc.
7150: This config.status script is free software; the Free Software Foundation
7151: gives unlimited permission to copy, distribute and modify it."
7152: srcdir=$srcdir
7153: INSTALL="$INSTALL"
7154: _ACEOF
7155:
7156: cat >>$CONFIG_STATUS <<\_ACEOF
7157: # If no file are specified by the user, then we need to provide default
7158: # value. By we need to know if files were specified by the user.
7159: ac_need_defaults=:
7160: while test $# != 0
7161: do
7162: case $1 in
7163: --*=*)
7164: ac_option=`expr "x$1" : 'x\([^=]*\)='`
7165: ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
7166: ac_shift=:
7167: ;;
7168: -*)
7169: ac_option=$1
7170: ac_optarg=$2
7171: ac_shift=shift
7172: ;;
7173: *) # This is not an option, so the user has probably given explicit
7174: # arguments.
7175: ac_option=$1
7176: ac_need_defaults=false;;
7177: esac
7178:
7179: case $ac_option in
7180: # Handling of the options.
7181: _ACEOF
7182: cat >>$CONFIG_STATUS <<\_ACEOF
7183: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7184: ac_cs_recheck=: ;;
7185: --version | --vers* | -V )
7186: echo "$ac_cs_version"; exit 0 ;;
7187: --he | --h)
7188: # Conflict between --help and --header
7189: { { echo "$as_me:$LINENO: error: ambiguous option: $1
7190: Try \`$0 --help' for more information." >&5
7191: echo "$as_me: error: ambiguous option: $1
7192: Try \`$0 --help' for more information." >&2;}
7193: { (exit 1); exit 1; }; };;
7194: --help | --hel | -h )
7195: echo "$ac_cs_usage"; exit 0 ;;
7196: --debug | --d* | -d )
7197: debug=: ;;
7198: --file | --fil | --fi | --f )
7199: $ac_shift
7200: CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7201: ac_need_defaults=false;;
7202: --header | --heade | --head | --hea )
7203: $ac_shift
7204: CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7205: ac_need_defaults=false;;
7206: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7207: | -silent | --silent | --silen | --sile | --sil | --si | --s)
7208: ac_cs_silent=: ;;
7209:
7210: # This is an error.
7211: -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7212: Try \`$0 --help' for more information." >&5
7213: echo "$as_me: error: unrecognized option: $1
7214: Try \`$0 --help' for more information." >&2;}
7215: { (exit 1); exit 1; }; } ;;
7216:
7217: *) ac_config_targets="$ac_config_targets $1" ;;
7218:
7219: esac
7220: shift
7221: done
7222:
7223: ac_configure_extra_args=
7224:
7225: if $ac_cs_silent; then
7226: exec 6>/dev/null
7227: ac_configure_extra_args="$ac_configure_extra_args --silent"
7228: fi
7229:
7230: _ACEOF
7231: cat >>$CONFIG_STATUS <<_ACEOF
7232: if \$ac_cs_recheck; then
7233: echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7234: exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7235: fi
7236:
7237: _ACEOF
7238:
7239: cat >>$CONFIG_STATUS <<_ACEOF
1.1 paf 7240: #
1.62 paf 7241: # INIT-COMMANDS section.
1.1 paf 7242: #
7243:
1.62 paf 7244: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7245:
7246: _ACEOF
7247:
7248:
7249:
7250: cat >>$CONFIG_STATUS <<\_ACEOF
7251: for ac_config_target in $ac_config_targets
1.1 paf 7252: do
1.62 paf 7253: case "$ac_config_target" in
7254: # Handling of arguments.
7255: "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7256: "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7257: "src/types/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/types/Makefile" ;;
7258: "src/classes/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/classes/Makefile" ;;
7259: "src/classes/gd/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/classes/gd/Makefile" ;;
7260: "src/classes/smtp/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/classes/smtp/Makefile" ;;
7261: "src/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
7262: "src/main/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;;
7263: "src/sql/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;;
7264: "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
1.66.2.5.2.1 paf 7265: "src/lib/patches/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/patches/Makefile" ;;
7266: "src/lib/gc/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gc/Makefile" ;;
7267: "src/lib/gc/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gc/include/Makefile" ;;
7268: "src/lib/cord/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/Makefile" ;;
7269: "src/lib/cord/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/Makefile" ;;
7270: "src/lib/cord/include/private/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/private/Makefile" ;;
1.62 paf 7271: "src/lib/ltdl/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/ltdl/Makefile" ;;
7272: "src/lib/pcre/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;;
7273: "src/lib/md5/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;;
7274: "src/targets/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;;
7275: "src/targets/cgi/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;;
7276: "src/targets/apache13/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache13/Makefile" ;;
7277: "src/targets/apache13/hook/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache13/hook/Makefile" ;;
7278: "src/targets/apache13/p3runConfigure" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache13/p3runConfigure" ;;
7279: "src/targets/isapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;;
7280: "etc/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
7281: "etc/parser3.charsets/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/parser3.charsets/Makefile" ;;
7282: "bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
7283: "bin/auto.p.dist" ) CONFIG_FILES="$CONFIG_FILES bin/auto.p.dist" ;;
7284: "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7285: "src/include/pa_config_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/include/pa_config_auto.h" ;;
7286: *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7287: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7288: { (exit 1); exit 1; }; };;
1.1 paf 7289: esac
7290: done
7291:
1.62 paf 7292: # If the user did not use the arguments to specify the items to instantiate,
7293: # then the envvar interface is used. Set only those that are not.
7294: # We use the long form for the default assignment because of an extremely
7295: # bizarre bug on SunOS 4.1.3.
7296: if $ac_need_defaults; then
7297: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7298: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7299: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7300: fi
7301:
7302: # Have a temporary directory for convenience. Make it in the build tree
7303: # simply because there is no reason to put it here, and in addition,
7304: # creating and moving files from /tmp can sometimes cause problems.
7305: # Create a temporary directory, and hook for its removal unless debugging.
7306: $debug ||
7307: {
7308: trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7309: trap '{ (exit 1); exit 1; }' 1 2 13 15
7310: }
7311:
7312: # Create a (secure) tmp directory for tmp files.
7313:
7314: {
7315: tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7316: test -n "$tmp" && test -d "$tmp"
7317: } ||
7318: {
7319: tmp=./confstat$$-$RANDOM
7320: (umask 077 && mkdir $tmp)
7321: } ||
7322: {
7323: echo "$me: cannot create a temporary directory in ." >&2
7324: { (exit 1); exit 1; }
7325: }
7326:
7327: _ACEOF
1.1 paf 7328:
1.62 paf 7329: cat >>$CONFIG_STATUS <<_ACEOF
7330:
7331: #
7332: # CONFIG_FILES section.
7333: #
1.1 paf 7334:
1.62 paf 7335: # No need to generate the scripts if there are no CONFIG_FILES.
7336: # This happens for instance when ./config.status config.h
7337: if test -n "\$CONFIG_FILES"; then
7338: # Protect against being on the right side of a sed subst in config.status.
7339: sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7340: s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7341: s,@SHELL@,$SHELL,;t t
7342: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7343: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7344: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7345: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7346: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7347: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7348: s,@exec_prefix@,$exec_prefix,;t t
7349: s,@prefix@,$prefix,;t t
7350: s,@program_transform_name@,$program_transform_name,;t t
7351: s,@bindir@,$bindir,;t t
7352: s,@sbindir@,$sbindir,;t t
7353: s,@libexecdir@,$libexecdir,;t t
7354: s,@datadir@,$datadir,;t t
7355: s,@sysconfdir@,$sysconfdir,;t t
7356: s,@sharedstatedir@,$sharedstatedir,;t t
7357: s,@localstatedir@,$localstatedir,;t t
7358: s,@libdir@,$libdir,;t t
7359: s,@includedir@,$includedir,;t t
7360: s,@oldincludedir@,$oldincludedir,;t t
7361: s,@infodir@,$infodir,;t t
7362: s,@mandir@,$mandir,;t t
7363: s,@build_alias@,$build_alias,;t t
7364: s,@host_alias@,$host_alias,;t t
7365: s,@target_alias@,$target_alias,;t t
7366: s,@DEFS@,$DEFS,;t t
7367: s,@ECHO_C@,$ECHO_C,;t t
7368: s,@ECHO_N@,$ECHO_N,;t t
7369: s,@ECHO_T@,$ECHO_T,;t t
7370: s,@LIBS@,$LIBS,;t t
7371: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7372: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7373: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7374: s,@CYGPATH_W@,$CYGPATH_W,;t t
7375: s,@PACKAGE@,$PACKAGE,;t t
7376: s,@VERSION@,$VERSION,;t t
7377: s,@ACLOCAL@,$ACLOCAL,;t t
7378: s,@AUTOCONF@,$AUTOCONF,;t t
7379: s,@AUTOMAKE@,$AUTOMAKE,;t t
7380: s,@AUTOHEADER@,$AUTOHEADER,;t t
7381: s,@MAKEINFO@,$MAKEINFO,;t t
7382: s,@AMTAR@,$AMTAR,;t t
7383: s,@install_sh@,$install_sh,;t t
7384: s,@STRIP@,$STRIP,;t t
7385: s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7386: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7387: s,@AWK@,$AWK,;t t
7388: s,@SET_MAKE@,$SET_MAKE,;t t
7389: s,@P3S@,$P3S,;t t
7390: s,@build@,$build,;t t
7391: s,@build_cpu@,$build_cpu,;t t
7392: s,@build_vendor@,$build_vendor,;t t
7393: s,@build_os@,$build_os,;t t
7394: s,@host@,$host,;t t
7395: s,@host_cpu@,$host_cpu,;t t
7396: s,@host_vendor@,$host_vendor,;t t
7397: s,@host_os@,$host_os,;t t
7398: s,@RANLIB@,$RANLIB,;t t
7399: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7400: s,@YACC@,$YACC,;t t
1.66 paf 7401: s,@CXX@,$CXX,;t t
7402: s,@CXXFLAGS@,$CXXFLAGS,;t t
1.62 paf 7403: s,@LDFLAGS@,$LDFLAGS,;t t
7404: s,@CPPFLAGS@,$CPPFLAGS,;t t
1.66 paf 7405: s,@ac_ct_CXX@,$ac_ct_CXX,;t t
1.62 paf 7406: s,@EXEEXT@,$EXEEXT,;t t
7407: s,@OBJEXT@,$OBJEXT,;t t
7408: s,@DEPDIR@,$DEPDIR,;t t
7409: s,@am__include@,$am__include,;t t
7410: s,@am__quote@,$am__quote,;t t
7411: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7412: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7413: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
1.66 paf 7414: s,@CXXDEPMODE@,$CXXDEPMODE,;t t
7415: s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
7416: s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
7417: s,@CC@,$CC,;t t
7418: s,@CFLAGS@,$CFLAGS,;t t
7419: s,@ac_ct_CC@,$ac_ct_CC,;t t
1.62 paf 7420: s,@CCDEPMODE@,$CCDEPMODE,;t t
7421: s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7422: s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7423: s,@commentcharset_windows1251@,$commentcharset_windows1251,;t t
7424: s,@commentcharset_windows1250@,$commentcharset_windows1250,;t t
7425: s,@commentcharset_windows1257@,$commentcharset_windows1257,;t t
7426: s,@commentcharset_koi8r@,$commentcharset_koi8r,;t t
7427: s,@dll_extension@,$dll_extension,;t t
7428: s,@mysql_client@,$mysql_client,;t t
7429: s,@pgsql_client@,$pgsql_client,;t t
7430: s,@oracle_client@,$oracle_client,;t t
1.66.2.4 paf 7431: s,@CPP_LIBS@,$CPP_LIBS,;t t
1.66.2.5.2.1 paf 7432: s,@GC_LIBS@,$GC_LIBS,;t t
1.62 paf 7433: s,@XML_INCLUDES@,$XML_INCLUDES,;t t
7434: s,@XML_LIBS@,$XML_LIBS,;t t
7435: s,@MIME_INCLUDES@,$MIME_INCLUDES,;t t
7436: s,@MIME_LIBS@,$MIME_LIBS,;t t
7437: s,@APACHE13@,$APACHE13,;t t
7438: s,@COMPILE_APACHE13_MODULE_TRUE@,$COMPILE_APACHE13_MODULE_TRUE,;t t
7439: s,@COMPILE_APACHE13_MODULE_FALSE@,$COMPILE_APACHE13_MODULE_FALSE,;t t
7440: s,@INCLTDL@,$INCLTDL,;t t
7441: s,@LIBLTDL@,$LIBLTDL,;t t
7442: s,@subdirs@,$subdirs,;t t
7443: s,@LIBADD_DL@,$LIBADD_DL,;t t
1.66 paf 7444: s,@CPP@,$CPP,;t t
7445: s,@EGREP@,$EGREP,;t t
1.62 paf 7446: s,@charsetsdir@,$charsetsdir,;t t
7447: s,@sqldriversdir@,$sqldriversdir,;t t
7448: s,@LIBOBJS@,$LIBOBJS,;t t
7449: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1.1 paf 7450: CEOF
7451:
1.62 paf 7452: _ACEOF
1.1 paf 7453:
1.62 paf 7454: cat >>$CONFIG_STATUS <<\_ACEOF
7455: # Split the substitutions into bite-sized pieces for seds with
7456: # small command number limits, like on Digital OSF/1 and HP-UX.
7457: ac_max_sed_lines=48
7458: ac_sed_frag=1 # Number of current file.
7459: ac_beg=1 # First line for current file.
7460: ac_end=$ac_max_sed_lines # Line after last line for current file.
7461: ac_more_lines=:
7462: ac_sed_cmds=
7463: while $ac_more_lines; do
7464: if test $ac_beg -gt 1; then
7465: sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7466: else
7467: sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7468: fi
7469: if test ! -s $tmp/subs.frag; then
7470: ac_more_lines=false
1.1 paf 7471: else
1.62 paf 7472: # The purpose of the label and of the branching condition is to
7473: # speed up the sed processing (if there are no `@' at all, there
7474: # is no need to browse any of the substitutions).
7475: # These are the two extra sed commands mentioned above.
7476: (echo ':t
7477: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
7478: if test -z "$ac_sed_cmds"; then
7479: ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
7480: else
7481: ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7482: fi
7483: ac_sed_frag=`expr $ac_sed_frag + 1`
7484: ac_beg=$ac_end
7485: ac_end=`expr $ac_end + $ac_max_sed_lines`
1.1 paf 7486: fi
1.62 paf 7487: done
7488: if test -z "$ac_sed_cmds"; then
7489: ac_sed_cmds=cat
1.1 paf 7490: fi
1.62 paf 7491: fi # test -n "$CONFIG_FILES"
1.1 paf 7492:
1.62 paf 7493: _ACEOF
7494: cat >>$CONFIG_STATUS <<\_ACEOF
7495: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1.1 paf 7496: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.62 paf 7497: case $ac_file in
7498: - | *:- | *:-:* ) # input from stdin
7499: cat >$tmp/stdin
7500: ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7501: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7502: *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7503: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7504: * ) ac_file_in=$ac_file.in ;;
1.1 paf 7505: esac
7506:
1.62 paf 7507: # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7508: ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7509: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7510: X"$ac_file" : 'X\(//\)[^/]' \| \
7511: X"$ac_file" : 'X\(//\)$' \| \
7512: X"$ac_file" : 'X\(/\)' \| \
7513: . : '\(.\)' 2>/dev/null ||
7514: echo X"$ac_file" |
7515: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7516: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7517: /^X\(\/\/\)$/{ s//\1/; q; }
7518: /^X\(\/\).*/{ s//\1/; q; }
7519: s/.*/./; q'`
7520: { if $as_mkdir_p; then
7521: mkdir -p "$ac_dir"
7522: else
7523: as_dir="$ac_dir"
7524: as_dirs=
7525: while test ! -d "$as_dir"; do
7526: as_dirs="$as_dir $as_dirs"
7527: as_dir=`(dirname "$as_dir") 2>/dev/null ||
7528: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7529: X"$as_dir" : 'X\(//\)[^/]' \| \
7530: X"$as_dir" : 'X\(//\)$' \| \
7531: X"$as_dir" : 'X\(/\)' \| \
7532: . : '\(.\)' 2>/dev/null ||
7533: echo X"$as_dir" |
7534: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7535: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7536: /^X\(\/\/\)$/{ s//\1/; q; }
7537: /^X\(\/\).*/{ s//\1/; q; }
7538: s/.*/./; q'`
7539: done
7540: test ! -n "$as_dirs" || mkdir $as_dirs
7541: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7542: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7543: { (exit 1); exit 1; }; }; }
7544:
7545: ac_builddir=.
7546:
7547: if test "$ac_dir" != .; then
7548: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7549: # A "../" for each directory in $ac_dir_suffix.
7550: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7551: else
7552: ac_dir_suffix= ac_top_builddir=
7553: fi
7554:
7555: case $srcdir in
7556: .) # No --srcdir option. We are building in place.
7557: ac_srcdir=.
7558: if test -z "$ac_top_builddir"; then
7559: ac_top_srcdir=.
7560: else
7561: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7562: fi ;;
7563: [\\/]* | ?:[\\/]* ) # Absolute path.
7564: ac_srcdir=$srcdir$ac_dir_suffix;
7565: ac_top_srcdir=$srcdir ;;
7566: *) # Relative path.
7567: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7568: ac_top_srcdir=$ac_top_builddir$srcdir ;;
7569: esac
7570: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7571: # absolute.
7572: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
7573: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
7574: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7575: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7576:
1.1 paf 7577:
1.62 paf 7578: case $INSTALL in
7579: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7580: *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
1.1 paf 7581: esac
7582:
1.62 paf 7583: if test x"$ac_file" != x-; then
7584: { echo "$as_me:$LINENO: creating $ac_file" >&5
7585: echo "$as_me: creating $ac_file" >&6;}
7586: rm -f "$ac_file"
7587: fi
7588: # Let's still pretend it is `configure' which instantiates (i.e., don't
7589: # use $as_me), people would be surprised to read:
7590: # /* config.h. Generated by config.status. */
7591: if test x"$ac_file" = x-; then
7592: configure_input=
7593: else
7594: configure_input="$ac_file. "
7595: fi
7596: configure_input=$configure_input"Generated from `echo $ac_file_in |
7597: sed 's,.*/,,'` by configure."
7598:
7599: # First look for the input files in the build tree, otherwise in the
7600: # src tree.
7601: ac_file_inputs=`IFS=:
7602: for f in $ac_file_in; do
7603: case $f in
7604: -) echo $tmp/stdin ;;
7605: [\\/$]*)
7606: # Absolute (can't be DOS-style, as IFS=:)
7607: test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7608: echo "$as_me: error: cannot find input file: $f" >&2;}
7609: { (exit 1); exit 1; }; }
7610: echo $f;;
7611: *) # Relative
7612: if test -f "$f"; then
7613: # Build tree
7614: echo $f
7615: elif test -f "$srcdir/$f"; then
7616: # Source tree
7617: echo $srcdir/$f
7618: else
7619: # /dev/null tree
7620: { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7621: echo "$as_me: error: cannot find input file: $f" >&2;}
7622: { (exit 1); exit 1; }; }
7623: fi;;
7624: esac
7625: done` || { (exit 1); exit 1; }
7626: _ACEOF
7627: cat >>$CONFIG_STATUS <<_ACEOF
7628: sed "$ac_vpsub
7629: $extrasub
7630: _ACEOF
7631: cat >>$CONFIG_STATUS <<\_ACEOF
7632: :t
7633: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7634: s,@configure_input@,$configure_input,;t t
7635: s,@srcdir@,$ac_srcdir,;t t
7636: s,@abs_srcdir@,$ac_abs_srcdir,;t t
7637: s,@top_srcdir@,$ac_top_srcdir,;t t
7638: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
7639: s,@builddir@,$ac_builddir,;t t
7640: s,@abs_builddir@,$ac_abs_builddir,;t t
7641: s,@top_builddir@,$ac_top_builddir,;t t
7642: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
7643: s,@INSTALL@,$ac_INSTALL,;t t
7644: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7645: rm -f $tmp/stdin
7646: if test x"$ac_file" != x-; then
7647: mv $tmp/out $ac_file
7648: else
7649: cat $tmp/out
7650: rm -f $tmp/out
7651: fi
1.1 paf 7652:
1.62 paf 7653: done
7654: _ACEOF
7655: cat >>$CONFIG_STATUS <<\_ACEOF
1.1 paf 7656:
1.62 paf 7657: #
7658: # CONFIG_HEADER section.
7659: #
1.1 paf 7660:
7661: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7662: # NAME is the cpp macro being defined and VALUE is the value it is being given.
7663: #
7664: # ac_d sets the value in "#define NAME VALUE" lines.
1.62 paf 7665: ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7666: ac_dB='[ ].*$,\1#\2'
7667: ac_dC=' '
7668: ac_dD=',;t'
7669: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7670: ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7671: ac_uB='$,\1#\2define\3'
1.1 paf 7672: ac_uC=' '
1.62 paf 7673: ac_uD=',;t'
7674:
7675: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
1.1 paf 7676: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.62 paf 7677: case $ac_file in
7678: - | *:- | *:-:* ) # input from stdin
7679: cat >$tmp/stdin
7680: ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7681: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7682: *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7683: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7684: * ) ac_file_in=$ac_file.in ;;
1.1 paf 7685: esac
7686:
1.62 paf 7687: test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
7688: echo "$as_me: creating $ac_file" >&6;}
1.1 paf 7689:
1.62 paf 7690: # First look for the input files in the build tree, otherwise in the
7691: # src tree.
7692: ac_file_inputs=`IFS=:
7693: for f in $ac_file_in; do
7694: case $f in
7695: -) echo $tmp/stdin ;;
7696: [\\/$]*)
7697: # Absolute (can't be DOS-style, as IFS=:)
7698: test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7699: echo "$as_me: error: cannot find input file: $f" >&2;}
7700: { (exit 1); exit 1; }; }
7701: echo $f;;
7702: *) # Relative
7703: if test -f "$f"; then
7704: # Build tree
7705: echo $f
7706: elif test -f "$srcdir/$f"; then
7707: # Source tree
7708: echo $srcdir/$f
7709: else
7710: # /dev/null tree
7711: { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7712: echo "$as_me: error: cannot find input file: $f" >&2;}
7713: { (exit 1); exit 1; }; }
7714: fi;;
7715: esac
7716: done` || { (exit 1); exit 1; }
7717: # Remove the trailing spaces.
7718: sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7719:
7720: _ACEOF
7721:
7722: # Transform confdefs.h into two sed scripts, `conftest.defines' and
7723: # `conftest.undefs', that substitutes the proper values into
7724: # config.h.in to produce config.h. The first handles `#define'
7725: # templates, and the second `#undef' templates.
7726: # And first: Protect against being on the right side of a sed subst in
7727: # config.status. Protect against being in an unquoted here document
7728: # in config.status.
7729: rm -f conftest.defines conftest.undefs
7730: # Using a here document instead of a string reduces the quoting nightmare.
7731: # Putting comments in sed scripts is not portable.
7732: #
7733: # `end' is used to avoid that the second main sed command (meant for
7734: # 0-ary CPP macros) applies to n-ary macro definitions.
7735: # See the Autoconf documentation for `clear'.
7736: cat >confdef2sed.sed <<\_ACEOF
7737: s/[\\&,]/\\&/g
7738: s,[\\$`],\\&,g
7739: t clear
7740: : clear
7741: s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7742: t end
7743: s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7744: : end
7745: _ACEOF
7746: # If some macros were called several times there might be several times
7747: # the same #defines, which is useless. Nevertheless, we may not want to
7748: # sort them, since we want the *last* AC-DEFINE to be honored.
7749: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7750: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7751: rm -f confdef2sed.sed
1.1 paf 7752:
7753: # This sed command replaces #undef with comments. This is necessary, for
7754: # example, in the case of _POSIX_SOURCE, which is predefined and required
7755: # on some systems where configure will not decide to define it.
1.62 paf 7756: cat >>conftest.undefs <<\_ACEOF
7757: s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7758: _ACEOF
7759:
7760: # Break up conftest.defines because some shells have a limit on the size
7761: # of here documents, and old seds have small limits too (100 cmds).
7762: echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7763: echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7764: echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7765: echo ' :' >>$CONFIG_STATUS
7766: rm -f conftest.tail
7767: while grep . conftest.defines >/dev/null
7768: do
7769: # Write a limited-size here document to $tmp/defines.sed.
7770: echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7771: # Speed up: don't consider the non `#define' lines.
7772: echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7773: # Work around the forget-to-reset-the-flag bug.
7774: echo 't clr' >>$CONFIG_STATUS
7775: echo ': clr' >>$CONFIG_STATUS
7776: sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
7777: echo 'CEOF
7778: sed -f $tmp/defines.sed $tmp/in >$tmp/out
7779: rm -f $tmp/in
7780: mv $tmp/out $tmp/in
7781: ' >>$CONFIG_STATUS
7782: sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
7783: rm -f conftest.defines
7784: mv conftest.tail conftest.defines
7785: done
7786: rm -f conftest.defines
7787: echo ' fi # grep' >>$CONFIG_STATUS
7788: echo >>$CONFIG_STATUS
7789:
7790: # Break up conftest.undefs because some shells have a limit on the size
7791: # of here documents, and old seds have small limits too (100 cmds).
7792: echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
1.1 paf 7793: rm -f conftest.tail
1.62 paf 7794: while grep . conftest.undefs >/dev/null
1.1 paf 7795: do
1.62 paf 7796: # Write a limited-size here document to $tmp/undefs.sed.
7797: echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7798: # Speed up: don't consider the non `#undef'
7799: echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7800: # Work around the forget-to-reset-the-flag bug.
7801: echo 't clr' >>$CONFIG_STATUS
7802: echo ': clr' >>$CONFIG_STATUS
7803: sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
1.1 paf 7804: echo 'CEOF
1.62 paf 7805: sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7806: rm -f $tmp/in
7807: mv $tmp/out $tmp/in
7808: ' >>$CONFIG_STATUS
7809: sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7810: rm -f conftest.undefs
7811: mv conftest.tail conftest.undefs
7812: done
7813: rm -f conftest.undefs
7814:
7815: cat >>$CONFIG_STATUS <<\_ACEOF
7816: # Let's still pretend it is `configure' which instantiates (i.e., don't
7817: # use $as_me), people would be surprised to read:
7818: # /* config.h. Generated by config.status. */
7819: if test x"$ac_file" = x-; then
7820: echo "/* Generated by configure. */" >$tmp/config.h
7821: else
7822: echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7823: fi
7824: cat $tmp/in >>$tmp/config.h
7825: rm -f $tmp/in
7826: if test x"$ac_file" != x-; then
7827: if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
7828: { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7829: echo "$as_me: $ac_file is unchanged" >&6;}
7830: else
7831: ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7832: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7833: X"$ac_file" : 'X\(//\)[^/]' \| \
7834: X"$ac_file" : 'X\(//\)$' \| \
7835: X"$ac_file" : 'X\(/\)' \| \
7836: . : '\(.\)' 2>/dev/null ||
7837: echo X"$ac_file" |
7838: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7839: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7840: /^X\(\/\/\)$/{ s//\1/; q; }
7841: /^X\(\/\).*/{ s//\1/; q; }
7842: s/.*/./; q'`
7843: { if $as_mkdir_p; then
7844: mkdir -p "$ac_dir"
7845: else
7846: as_dir="$ac_dir"
7847: as_dirs=
7848: while test ! -d "$as_dir"; do
7849: as_dirs="$as_dir $as_dirs"
7850: as_dir=`(dirname "$as_dir") 2>/dev/null ||
7851: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7852: X"$as_dir" : 'X\(//\)[^/]' \| \
7853: X"$as_dir" : 'X\(//\)$' \| \
7854: X"$as_dir" : 'X\(/\)' \| \
7855: . : '\(.\)' 2>/dev/null ||
7856: echo X"$as_dir" |
7857: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7858: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7859: /^X\(\/\/\)$/{ s//\1/; q; }
7860: /^X\(\/\).*/{ s//\1/; q; }
7861: s/.*/./; q'`
7862: done
7863: test ! -n "$as_dirs" || mkdir $as_dirs
7864: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7865: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7866: { (exit 1); exit 1; }; }; }
7867:
7868: rm -f $ac_file
7869: mv $tmp/config.h $ac_file
7870: fi
7871: else
7872: cat $tmp/config.h
7873: rm -f $tmp/config.h
7874: fi
7875: _am_stamp_count=`expr ${_am_stamp_count-0} + 1`
7876: echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7877: $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7878: X$ac_file : 'X\(//\)[^/]' \| \
7879: X$ac_file : 'X\(//\)$' \| \
7880: X$ac_file : 'X\(/\)' \| \
7881: . : '\(.\)' 2>/dev/null ||
7882: echo X$ac_file |
7883: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7884: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7885: /^X\(\/\/\)$/{ s//\1/; q; }
7886: /^X\(\/\).*/{ s//\1/; q; }
7887: s/.*/./; q'`/stamp-h$_am_stamp_count
7888: done
7889: _ACEOF
7890: cat >>$CONFIG_STATUS <<\_ACEOF
7891:
7892: #
7893: # CONFIG_COMMANDS section.
7894: #
7895: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
7896: ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
7897: ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7898: ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
7899: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7900: X"$ac_dest" : 'X\(//\)[^/]' \| \
7901: X"$ac_dest" : 'X\(//\)$' \| \
7902: X"$ac_dest" : 'X\(/\)' \| \
7903: . : '\(.\)' 2>/dev/null ||
7904: echo X"$ac_dest" |
7905: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7906: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7907: /^X\(\/\/\)$/{ s//\1/; q; }
7908: /^X\(\/\).*/{ s//\1/; q; }
7909: s/.*/./; q'`
7910: ac_builddir=.
7911:
7912: if test "$ac_dir" != .; then
7913: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7914: # A "../" for each directory in $ac_dir_suffix.
7915: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7916: else
7917: ac_dir_suffix= ac_top_builddir=
7918: fi
7919:
7920: case $srcdir in
7921: .) # No --srcdir option. We are building in place.
7922: ac_srcdir=.
7923: if test -z "$ac_top_builddir"; then
7924: ac_top_srcdir=.
7925: else
7926: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7927: fi ;;
7928: [\\/]* | ?:[\\/]* ) # Absolute path.
7929: ac_srcdir=$srcdir$ac_dir_suffix;
7930: ac_top_srcdir=$srcdir ;;
7931: *) # Relative path.
7932: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7933: ac_top_srcdir=$ac_top_builddir$srcdir ;;
7934: esac
7935: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7936: # absolute.
7937: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
7938: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
7939: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7940: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7941:
7942:
7943: { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7944: echo "$as_me: executing $ac_dest commands" >&6;}
7945: case $ac_dest in
7946: depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7947: # Strip MF so we end up with the name of the file.
7948: mf=`echo "$mf" | sed -e 's/:.*$//'`
7949: # Check whether this is an Automake generated Makefile or not.
7950: # We used to match only the files named `Makefile.in', but
7951: # some people rename them; so instead we look at the file content.
7952: # Grep'ing the first line is not enough: some people post-process
7953: # each Makefile.in and add a new line on top of each file to say so.
7954: # So let's grep whole file.
7955: if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7956: dirpart=`(dirname "$mf") 2>/dev/null ||
7957: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7958: X"$mf" : 'X\(//\)[^/]' \| \
7959: X"$mf" : 'X\(//\)$' \| \
7960: X"$mf" : 'X\(/\)' \| \
7961: . : '\(.\)' 2>/dev/null ||
7962: echo X"$mf" |
7963: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7964: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7965: /^X\(\/\/\)$/{ s//\1/; q; }
7966: /^X\(\/\).*/{ s//\1/; q; }
7967: s/.*/./; q'`
7968: else
7969: continue
7970: fi
7971: grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
7972: # Extract the definition of DEP_FILES from the Makefile without
7973: # running `make'.
7974: DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
7975: test -z "$DEPDIR" && continue
7976: # When using ansi2knr, U may be empty or an underscore; expand it
7977: U=`sed -n -e '/^U = / s///p' < "$mf"`
7978: test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
7979: # We invoke sed twice because it is the simplest approach to
7980: # changing $(DEPDIR) to its actual value in the expansion.
7981: for file in `sed -n -e '
7982: /^DEP_FILES = .*\\\\$/ {
7983: s/^DEP_FILES = //
7984: :loop
7985: s/\\\\$//
7986: p
7987: n
7988: /\\\\$/ b loop
7989: p
7990: }
7991: /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7992: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7993: # Make sure the directory exists.
7994: test -f "$dirpart/$file" && continue
7995: fdir=`(dirname "$file") 2>/dev/null ||
7996: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7997: X"$file" : 'X\(//\)[^/]' \| \
7998: X"$file" : 'X\(//\)$' \| \
7999: X"$file" : 'X\(/\)' \| \
8000: . : '\(.\)' 2>/dev/null ||
8001: echo X"$file" |
8002: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8003: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8004: /^X\(\/\/\)$/{ s//\1/; q; }
8005: /^X\(\/\).*/{ s//\1/; q; }
8006: s/.*/./; q'`
8007: { if $as_mkdir_p; then
8008: mkdir -p $dirpart/$fdir
8009: else
8010: as_dir=$dirpart/$fdir
8011: as_dirs=
8012: while test ! -d "$as_dir"; do
8013: as_dirs="$as_dir $as_dirs"
8014: as_dir=`(dirname "$as_dir") 2>/dev/null ||
8015: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8016: X"$as_dir" : 'X\(//\)[^/]' \| \
8017: X"$as_dir" : 'X\(//\)$' \| \
8018: X"$as_dir" : 'X\(/\)' \| \
8019: . : '\(.\)' 2>/dev/null ||
8020: echo X"$as_dir" |
8021: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8022: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8023: /^X\(\/\/\)$/{ s//\1/; q; }
8024: /^X\(\/\).*/{ s//\1/; q; }
8025: s/.*/./; q'`
8026: done
8027: test ! -n "$as_dirs" || mkdir $as_dirs
8028: fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
8029: echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
8030: { (exit 1); exit 1; }; }; }
1.1 paf 8031:
1.62 paf 8032: # echo "creating $dirpart/$file"
8033: echo '# dummy' > "$dirpart/$file"
8034: done
8035: done
8036: ;;
8037: esac
8038: done
8039: _ACEOF
8040:
8041: cat >>$CONFIG_STATUS <<\_ACEOF
8042:
8043: { (exit 0); exit 0; }
8044: _ACEOF
1.1 paf 8045: chmod +x $CONFIG_STATUS
1.62 paf 8046: ac_clean_files=$ac_clean_files_save
8047:
1.1 paf 8048:
1.62 paf 8049: # configure is writing to config.log, and then calls config.status.
8050: # config.status does its own redirection, appending to config.log.
8051: # Unfortunately, on DOS this fails, as config.log is still kept open
8052: # by configure, so config.status won't be able to write to it; its
8053: # output is simply discarded. So we exec the FD to /dev/null,
8054: # effectively closing config.log, so it can be properly (re)opened and
8055: # appended to by config.status. When coming back to configure, we
8056: # need to make the FD available again.
8057: if test "$no_create" != yes; then
8058: ac_cs_success=:
8059: ac_config_status_args=
8060: test "$silent" = yes &&
8061: ac_config_status_args="$ac_config_status_args --quiet"
8062: exec 5>/dev/null
8063: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8064: exec 5>>config.log
8065: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8066: # would make configure fail if this is the last instruction.
8067: $ac_cs_success || { (exit 1); exit 1; }
8068: fi
8069:
8070: #
8071: # CONFIG_SUBDIRS section.
8072: #
1.1 paf 8073: if test "$no_recursion" != yes; then
8074:
8075: # Remove --cache-file and --srcdir arguments so they do not pile up.
8076: ac_sub_configure_args=
8077: ac_prev=
8078: for ac_arg in $ac_configure_args; do
8079: if test -n "$ac_prev"; then
8080: ac_prev=
8081: continue
8082: fi
1.62 paf 8083: case $ac_arg in
1.1 paf 8084: -cache-file | --cache-file | --cache-fil | --cache-fi \
8085: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
8086: ac_prev=cache_file ;;
8087: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.62 paf 8088: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
8089: | --c=*)
8090: ;;
8091: --config-cache | -C)
1.1 paf 8092: ;;
8093: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
8094: ac_prev=srcdir ;;
8095: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
8096: ;;
1.62 paf 8097: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
8098: ac_prev=prefix ;;
8099: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
8100: ;;
1.1 paf 8101: *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
8102: esac
8103: done
8104:
1.62 paf 8105: # Always prepend --prefix to ensure using the same prefix
8106: # in subdir configurations.
8107: ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
8108:
8109: ac_popdir=`pwd`
8110: for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1 paf 8111:
8112: # Do not complain, so a configure script can configure whichever
8113: # parts of a large source tree are present.
1.62 paf 8114: test -d $srcdir/$ac_dir || continue
1.1 paf 8115:
1.62 paf 8116: { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
8117: echo "$as_me: configuring in $ac_dir" >&6;}
8118: { if $as_mkdir_p; then
8119: mkdir -p "$ac_dir"
8120: else
8121: as_dir="$ac_dir"
8122: as_dirs=
8123: while test ! -d "$as_dir"; do
8124: as_dirs="$as_dir $as_dirs"
8125: as_dir=`(dirname "$as_dir") 2>/dev/null ||
8126: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8127: X"$as_dir" : 'X\(//\)[^/]' \| \
8128: X"$as_dir" : 'X\(//\)$' \| \
8129: X"$as_dir" : 'X\(/\)' \| \
8130: . : '\(.\)' 2>/dev/null ||
8131: echo X"$as_dir" |
8132: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8133: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8134: /^X\(\/\/\)$/{ s//\1/; q; }
8135: /^X\(\/\).*/{ s//\1/; q; }
8136: s/.*/./; q'`
8137: done
8138: test ! -n "$as_dirs" || mkdir $as_dirs
8139: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8140: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8141: { (exit 1); exit 1; }; }; }
8142:
8143: ac_builddir=.
8144:
8145: if test "$ac_dir" != .; then
8146: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8147: # A "../" for each directory in $ac_dir_suffix.
8148: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8149: else
8150: ac_dir_suffix= ac_top_builddir=
8151: fi
8152:
8153: case $srcdir in
8154: .) # No --srcdir option. We are building in place.
8155: ac_srcdir=.
8156: if test -z "$ac_top_builddir"; then
8157: ac_top_srcdir=.
8158: else
8159: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8160: fi ;;
8161: [\\/]* | ?:[\\/]* ) # Absolute path.
8162: ac_srcdir=$srcdir$ac_dir_suffix;
8163: ac_top_srcdir=$srcdir ;;
8164: *) # Relative path.
8165: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8166: ac_top_srcdir=$ac_top_builddir$srcdir ;;
8167: esac
8168: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
8169: # absolute.
8170: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
8171: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
8172: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
8173: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1.1 paf 8174:
8175:
1.62 paf 8176: cd $ac_dir
1.1 paf 8177:
8178: # Check for guested configure; otherwise get Cygnus style configure.
1.62 paf 8179: if test -f $ac_srcdir/configure.gnu; then
8180: ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
8181: elif test -f $ac_srcdir/configure; then
8182: ac_sub_configure="$SHELL '$ac_srcdir/configure'"
8183: elif test -f $ac_srcdir/configure.in; then
1.1 paf 8184: ac_sub_configure=$ac_configure
8185: else
1.62 paf 8186: { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
8187: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1 paf 8188: ac_sub_configure=
8189: fi
8190:
8191: # The recursion is here.
8192: if test -n "$ac_sub_configure"; then
8193: # Make the cache file name correct relative to the subdirectory.
1.62 paf 8194: case $cache_file in
8195: [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.1 paf 8196: *) # Relative path.
1.62 paf 8197: ac_sub_cache_file=$ac_top_builddir$cache_file ;;
1.1 paf 8198: esac
8199:
1.62 paf 8200: { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
8201: echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
1.1 paf 8202: # The eval makes quoting arguments work.
1.62 paf 8203: eval $ac_sub_configure $ac_sub_configure_args \
8204: --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
8205: { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
8206: echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
8207: { (exit 1); exit 1; }; }
1.1 paf 8208: fi
8209:
8210: cd $ac_popdir
8211: done
8212: fi
8213:
E-mail: