Annotation of parser3/configure, revision 1.95
1.1 paf 1: #! /bin/sh
2: # Guess values for system-dependent variables and create Makefiles.
1.86 paf 3: # Generated by GNU Autoconf 2.59.
1.1 paf 4: #
1.86 paf 5: # Copyright (C) 2003 Free Software Foundation, Inc.
1.1 paf 6: # This configure script is free software; the Free Software Foundation
7: # gives unlimited permission to copy, distribute and modify it.
1.62 paf 8: ## --------------------- ##
9: ## M4sh Initialization. ##
10: ## --------------------- ##
11:
12: # Be Bourne compatible
13: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14: emulate sh
15: NULLCMD=:
16: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17: # is contrary to our usage. Disable this feature.
18: alias -g '${1+"$@"}'='"$@"'
19: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20: set -o posix
21: fi
1.86 paf 22: DUALCASE=1; export DUALCASE # for MKS sh
1.62 paf 23:
24: # Support unset when possible.
1.86 paf 25: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.62 paf 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
1.86 paf 44: if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1.62 paf 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
1.86 paf 221: test -d ./-p && rmdir ./-p
1.62 paf 222: as_mkdir_p=false
223: fi
224:
225: as_executable_p="test -f"
226:
227: # Sed expression to map a string onto a valid CPP name.
1.86 paf 228: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.62 paf 229:
230: # Sed expression to map a string onto a valid variable name.
1.86 paf 231: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.62 paf 232:
233:
234: # IFS
235: # We need space, tab and new line, in precisely that order.
236: as_nl='
237: '
238: IFS=" $as_nl"
239:
240: # CDPATH.
241: $as_unset CDPATH
242:
1.1 paf 243:
1.62 paf 244: # Name of the host.
245: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246: # so uname gets run too.
247: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248:
249: exec 6>&1
250:
251: #
252: # Initializations.
253: #
1.1 paf 254: ac_default_prefix=/usr/local
1.62 paf 255: ac_config_libobj_dir=.
256: cross_compiling=no
257: subdirs=
258: MFLAGS=
259: MAKEFLAGS=
260: SHELL=${CONFIG_SHELL-/bin/sh}
261:
262: # Maximum number of lines to put in a shell here document.
263: # This variable seems obsolete. It should probably be removed, and
264: # only ac_max_sed_lines should be used.
265: : ${ac_max_here_lines=38}
266:
267: # Identity of this package.
268: PACKAGE_NAME=
269: PACKAGE_TARNAME=
270: PACKAGE_VERSION=
271: PACKAGE_STRING=
272: PACKAGE_BUGREPORT=
273:
274: ac_unique_file="README"
275: ac_subdirs_all="$ac_subdirs_all src/lib/ltdl"
276: # Factoring default headers for most tests.
277: ac_includes_default="\
278: #include <stdio.h>
279: #if HAVE_SYS_TYPES_H
280: # include <sys/types.h>
281: #endif
282: #if HAVE_SYS_STAT_H
283: # include <sys/stat.h>
284: #endif
285: #if STDC_HEADERS
286: # include <stdlib.h>
287: # include <stddef.h>
288: #else
289: # if HAVE_STDLIB_H
290: # include <stdlib.h>
291: # endif
292: #endif
293: #if HAVE_STRING_H
294: # if !STDC_HEADERS && HAVE_MEMORY_H
295: # include <memory.h>
296: # endif
297: # include <string.h>
298: #endif
299: #if HAVE_STRINGS_H
300: # include <strings.h>
301: #endif
302: #if HAVE_INTTYPES_H
303: # include <inttypes.h>
304: #else
305: # if HAVE_STDINT_H
306: # include <stdint.h>
307: # endif
308: #endif
309: #if HAVE_UNISTD_H
310: # include <unistd.h>
311: #endif"
312:
1.92 misha 313: 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 install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar 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 sqlite_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 LIBOBJS LTLIBOBJS'
1.62 paf 314: ac_subst_files=''
1.1 paf 315:
316: # Initialize some variables set by options.
1.62 paf 317: ac_init_help=
318: ac_init_version=false
1.1 paf 319: # The variables have the same names as the options, with
320: # dashes changed to underlines.
1.62 paf 321: cache_file=/dev/null
1.1 paf 322: exec_prefix=NONE
323: no_create=
324: no_recursion=
325: prefix=NONE
326: program_prefix=NONE
327: program_suffix=NONE
328: program_transform_name=s,x,x,
329: silent=
330: site=
331: srcdir=
332: verbose=
333: x_includes=NONE
334: x_libraries=NONE
1.62 paf 335:
336: # Installation directory options.
337: # These are left unexpanded so users can "make install exec_prefix=/foo"
338: # and all the variables that are supposed to be based on exec_prefix
339: # by default will actually change.
340: # Use braces instead of parens because sh, perl, etc. also accept them.
1.1 paf 341: bindir='${exec_prefix}/bin'
342: sbindir='${exec_prefix}/sbin'
343: libexecdir='${exec_prefix}/libexec'
344: datadir='${prefix}/share'
345: sysconfdir='${prefix}/etc'
346: sharedstatedir='${prefix}/com'
347: localstatedir='${prefix}/var'
348: libdir='${exec_prefix}/lib'
349: includedir='${prefix}/include'
350: oldincludedir='/usr/include'
351: infodir='${prefix}/info'
352: mandir='${prefix}/man'
353:
354: ac_prev=
355: for ac_option
356: do
357: # If the previous option needs an argument, assign it.
358: if test -n "$ac_prev"; then
359: eval "$ac_prev=\$ac_option"
360: ac_prev=
361: continue
362: fi
363:
1.62 paf 364: ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1.1 paf 365:
366: # Accept the important Cygnus configure options, so we can diagnose typos.
367:
1.62 paf 368: case $ac_option in
1.1 paf 369:
370: -bindir | --bindir | --bindi | --bind | --bin | --bi)
371: ac_prev=bindir ;;
372: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.62 paf 373: bindir=$ac_optarg ;;
1.1 paf 374:
375: -build | --build | --buil | --bui | --bu)
1.62 paf 376: ac_prev=build_alias ;;
1.1 paf 377: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.62 paf 378: build_alias=$ac_optarg ;;
1.1 paf 379:
380: -cache-file | --cache-file | --cache-fil | --cache-fi \
381: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
382: ac_prev=cache_file ;;
383: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
384: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.62 paf 385: cache_file=$ac_optarg ;;
386:
387: --config-cache | -C)
388: cache_file=config.cache ;;
1.1 paf 389:
390: -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391: ac_prev=datadir ;;
392: -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393: | --da=*)
1.62 paf 394: datadir=$ac_optarg ;;
1.1 paf 395:
396: -disable-* | --disable-*)
1.62 paf 397: ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1 paf 398: # Reject names that are not valid shell variable names.
1.62 paf 399: expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
400: { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401: { (exit 1); exit 1; }; }
402: ac_feature=`echo $ac_feature | sed 's/-/_/g'`
403: eval "enable_$ac_feature=no" ;;
1.1 paf 404:
405: -enable-* | --enable-*)
1.62 paf 406: ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1 paf 407: # Reject names that are not valid shell variable names.
1.62 paf 408: expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
409: { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410: { (exit 1); exit 1; }; }
411: ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412: case $ac_option in
413: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1 paf 414: *) ac_optarg=yes ;;
415: esac
1.62 paf 416: eval "enable_$ac_feature='$ac_optarg'" ;;
1.1 paf 417:
418: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
419: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
420: | --exec | --exe | --ex)
421: ac_prev=exec_prefix ;;
422: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
423: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
424: | --exec=* | --exe=* | --ex=*)
1.62 paf 425: exec_prefix=$ac_optarg ;;
1.1 paf 426:
427: -gas | --gas | --ga | --g)
428: # Obsolete; use --with-gas.
429: with_gas=yes ;;
430:
1.62 paf 431: -help | --help | --hel | --he | -h)
432: ac_init_help=long ;;
433: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
434: ac_init_help=recursive ;;
435: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
436: ac_init_help=short ;;
1.1 paf 437:
438: -host | --host | --hos | --ho)
1.62 paf 439: ac_prev=host_alias ;;
1.1 paf 440: -host=* | --host=* | --hos=* | --ho=*)
1.62 paf 441: host_alias=$ac_optarg ;;
1.1 paf 442:
443: -includedir | --includedir | --includedi | --included | --include \
444: | --includ | --inclu | --incl | --inc)
445: ac_prev=includedir ;;
446: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
447: | --includ=* | --inclu=* | --incl=* | --inc=*)
1.62 paf 448: includedir=$ac_optarg ;;
1.1 paf 449:
450: -infodir | --infodir | --infodi | --infod | --info | --inf)
451: ac_prev=infodir ;;
452: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.62 paf 453: infodir=$ac_optarg ;;
1.1 paf 454:
455: -libdir | --libdir | --libdi | --libd)
456: ac_prev=libdir ;;
457: -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.62 paf 458: libdir=$ac_optarg ;;
1.1 paf 459:
460: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
461: | --libexe | --libex | --libe)
462: ac_prev=libexecdir ;;
463: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
464: | --libexe=* | --libex=* | --libe=*)
1.62 paf 465: libexecdir=$ac_optarg ;;
1.1 paf 466:
467: -localstatedir | --localstatedir | --localstatedi | --localstated \
468: | --localstate | --localstat | --localsta | --localst \
469: | --locals | --local | --loca | --loc | --lo)
470: ac_prev=localstatedir ;;
471: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
472: | --localstate=* | --localstat=* | --localsta=* | --localst=* \
473: | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1.62 paf 474: localstatedir=$ac_optarg ;;
1.1 paf 475:
476: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477: ac_prev=mandir ;;
478: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.62 paf 479: mandir=$ac_optarg ;;
1.1 paf 480:
481: -nfp | --nfp | --nf)
482: # Obsolete; use --without-fp.
483: with_fp=no ;;
484:
485: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.62 paf 486: | --no-cr | --no-c | -n)
1.1 paf 487: no_create=yes ;;
488:
489: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
490: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
491: no_recursion=yes ;;
492:
493: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
494: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
495: | --oldin | --oldi | --old | --ol | --o)
496: ac_prev=oldincludedir ;;
497: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
498: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
499: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.62 paf 500: oldincludedir=$ac_optarg ;;
1.1 paf 501:
502: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503: ac_prev=prefix ;;
504: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.62 paf 505: prefix=$ac_optarg ;;
1.1 paf 506:
507: -program-prefix | --program-prefix | --program-prefi | --program-pref \
508: | --program-pre | --program-pr | --program-p)
509: ac_prev=program_prefix ;;
510: -program-prefix=* | --program-prefix=* | --program-prefi=* \
511: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.62 paf 512: program_prefix=$ac_optarg ;;
1.1 paf 513:
514: -program-suffix | --program-suffix | --program-suffi | --program-suff \
515: | --program-suf | --program-su | --program-s)
516: ac_prev=program_suffix ;;
517: -program-suffix=* | --program-suffix=* | --program-suffi=* \
518: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.62 paf 519: program_suffix=$ac_optarg ;;
1.1 paf 520:
521: -program-transform-name | --program-transform-name \
522: | --program-transform-nam | --program-transform-na \
523: | --program-transform-n | --program-transform- \
524: | --program-transform | --program-transfor \
525: | --program-transfo | --program-transf \
526: | --program-trans | --program-tran \
527: | --progr-tra | --program-tr | --program-t)
528: ac_prev=program_transform_name ;;
529: -program-transform-name=* | --program-transform-name=* \
530: | --program-transform-nam=* | --program-transform-na=* \
531: | --program-transform-n=* | --program-transform-=* \
532: | --program-transform=* | --program-transfor=* \
533: | --program-transfo=* | --program-transf=* \
534: | --program-trans=* | --program-tran=* \
535: | --progr-tra=* | --program-tr=* | --program-t=*)
1.62 paf 536: program_transform_name=$ac_optarg ;;
1.1 paf 537:
538: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
539: | -silent | --silent | --silen | --sile | --sil)
540: silent=yes ;;
541:
542: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543: ac_prev=sbindir ;;
544: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545: | --sbi=* | --sb=*)
1.62 paf 546: sbindir=$ac_optarg ;;
1.1 paf 547:
548: -sharedstatedir | --sharedstatedir | --sharedstatedi \
549: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
550: | --sharedst | --shareds | --shared | --share | --shar \
551: | --sha | --sh)
552: ac_prev=sharedstatedir ;;
553: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
554: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
555: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556: | --sha=* | --sh=*)
1.62 paf 557: sharedstatedir=$ac_optarg ;;
1.1 paf 558:
559: -site | --site | --sit)
560: ac_prev=site ;;
561: -site=* | --site=* | --sit=*)
1.62 paf 562: site=$ac_optarg ;;
1.1 paf 563:
564: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565: ac_prev=srcdir ;;
566: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.62 paf 567: srcdir=$ac_optarg ;;
1.1 paf 568:
569: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
570: | --syscon | --sysco | --sysc | --sys | --sy)
571: ac_prev=sysconfdir ;;
572: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
573: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.62 paf 574: sysconfdir=$ac_optarg ;;
1.1 paf 575:
576: -target | --target | --targe | --targ | --tar | --ta | --t)
1.62 paf 577: ac_prev=target_alias ;;
1.1 paf 578: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.62 paf 579: target_alias=$ac_optarg ;;
1.1 paf 580:
581: -v | -verbose | --verbose | --verbos | --verbo | --verb)
582: verbose=yes ;;
583:
1.62 paf 584: -version | --version | --versio | --versi | --vers | -V)
585: ac_init_version=: ;;
1.1 paf 586:
587: -with-* | --with-*)
1.62 paf 588: ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1 paf 589: # Reject names that are not valid shell variable names.
1.62 paf 590: expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
591: { echo "$as_me: error: invalid package name: $ac_package" >&2
592: { (exit 1); exit 1; }; }
1.1 paf 593: ac_package=`echo $ac_package| sed 's/-/_/g'`
1.62 paf 594: case $ac_option in
595: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1 paf 596: *) ac_optarg=yes ;;
597: esac
1.62 paf 598: eval "with_$ac_package='$ac_optarg'" ;;
1.1 paf 599:
600: -without-* | --without-*)
1.62 paf 601: ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1 paf 602: # Reject names that are not valid shell variable names.
1.62 paf 603: expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
604: { echo "$as_me: error: invalid package name: $ac_package" >&2
605: { (exit 1); exit 1; }; }
606: ac_package=`echo $ac_package | sed 's/-/_/g'`
607: eval "with_$ac_package=no" ;;
1.1 paf 608:
609: --x)
610: # Obsolete; use --with-x.
611: with_x=yes ;;
612:
613: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
614: | --x-incl | --x-inc | --x-in | --x-i)
615: ac_prev=x_includes ;;
616: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
617: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.62 paf 618: x_includes=$ac_optarg ;;
1.1 paf 619:
620: -x-libraries | --x-libraries | --x-librarie | --x-librari \
621: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
622: ac_prev=x_libraries ;;
623: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
624: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.62 paf 625: x_libraries=$ac_optarg ;;
1.1 paf 626:
1.62 paf 627: -*) { echo "$as_me: error: unrecognized option: $ac_option
628: Try \`$0 --help' for more information." >&2
629: { (exit 1); exit 1; }; }
1.1 paf 630: ;;
631:
1.62 paf 632: *=*)
633: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
634: # Reject names that are not valid shell variable names.
635: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
636: { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637: { (exit 1); exit 1; }; }
638: ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639: eval "$ac_envvar='$ac_optarg'"
640: export $ac_envvar ;;
641:
1.1 paf 642: *)
1.62 paf 643: # FIXME: should be removed in autoconf 3.0.
644: echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
646: echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1.1 paf 648: ;;
649:
650: esac
651: done
652:
653: if test -n "$ac_prev"; then
1.62 paf 654: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
655: { echo "$as_me: error: missing argument to $ac_option" >&2
656: { (exit 1); exit 1; }; }
1.1 paf 657: fi
658:
1.62 paf 659: # Be sure to have absolute paths.
660: for ac_var in exec_prefix prefix
661: do
662: eval ac_val=$`echo $ac_var`
663: case $ac_val in
664: [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
665: *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666: { (exit 1); exit 1; }; };;
667: esac
668: done
1.1 paf 669:
1.62 paf 670: # Be sure to have absolute paths.
671: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1.86 paf 672: localstatedir libdir includedir oldincludedir infodir mandir
1.1 paf 673: do
1.62 paf 674: eval ac_val=$`echo $ac_var`
675: case $ac_val in
676: [\\/$]* | ?:[\\/]* ) ;;
677: *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678: { (exit 1); exit 1; }; };;
1.1 paf 679: esac
680: done
681:
1.62 paf 682: # There might be people who depend on the old broken behavior: `$host'
683: # used to hold the argument of --host etc.
684: # FIXME: To remove some day.
685: build=$build_alias
686: host=$host_alias
687: target=$target_alias
688:
689: # FIXME: To remove some day.
690: if test "x$host_alias" != x; then
691: if test "x$build_alias" = x; then
692: cross_compiling=maybe
693: echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694: If a cross compiler is detected then cross compile mode will be used." >&2
695: elif test "x$build_alias" != "x$host_alias"; then
696: cross_compiling=yes
697: fi
698: fi
699:
700: ac_tool_prefix=
701: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1 paf 702:
1.62 paf 703: test "$silent" = yes && exec 6>/dev/null
1.1 paf 704:
705:
706: # Find the source files, if location was not specified.
707: if test -z "$srcdir"; then
708: ac_srcdir_defaulted=yes
709: # Try the directory containing this script, then its parent.
1.62 paf 710: ac_confdir=`(dirname "$0") 2>/dev/null ||
711: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86 paf 712: X"$0" : 'X\(//\)[^/]' \| \
713: X"$0" : 'X\(//\)$' \| \
714: X"$0" : 'X\(/\)' \| \
715: . : '\(.\)' 2>/dev/null ||
1.62 paf 716: echo X"$0" |
717: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719: /^X\(\/\/\)$/{ s//\1/; q; }
720: /^X\(\/\).*/{ s//\1/; q; }
721: s/.*/./; q'`
1.1 paf 722: srcdir=$ac_confdir
723: if test ! -r $srcdir/$ac_unique_file; then
724: srcdir=..
725: fi
726: else
727: ac_srcdir_defaulted=no
728: fi
729: if test ! -r $srcdir/$ac_unique_file; then
730: if test "$ac_srcdir_defaulted" = yes; then
1.62 paf 731: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732: { (exit 1); exit 1; }; }
1.1 paf 733: else
1.62 paf 734: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735: { (exit 1); exit 1; }; }
1.1 paf 736: fi
737: fi
1.62 paf 738: (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
739: { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740: { (exit 1); exit 1; }; }
741: srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742: ac_env_build_alias_set=${build_alias+set}
743: ac_env_build_alias_value=$build_alias
744: ac_cv_env_build_alias_set=${build_alias+set}
745: ac_cv_env_build_alias_value=$build_alias
746: ac_env_host_alias_set=${host_alias+set}
747: ac_env_host_alias_value=$host_alias
748: ac_cv_env_host_alias_set=${host_alias+set}
749: ac_cv_env_host_alias_value=$host_alias
750: ac_env_target_alias_set=${target_alias+set}
751: ac_env_target_alias_value=$target_alias
752: ac_cv_env_target_alias_set=${target_alias+set}
753: ac_cv_env_target_alias_value=$target_alias
1.66 paf 754: ac_env_CXX_set=${CXX+set}
755: ac_env_CXX_value=$CXX
756: ac_cv_env_CXX_set=${CXX+set}
757: ac_cv_env_CXX_value=$CXX
758: ac_env_CXXFLAGS_set=${CXXFLAGS+set}
759: ac_env_CXXFLAGS_value=$CXXFLAGS
760: ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
761: ac_cv_env_CXXFLAGS_value=$CXXFLAGS
762: ac_env_LDFLAGS_set=${LDFLAGS+set}
763: ac_env_LDFLAGS_value=$LDFLAGS
764: ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
765: ac_cv_env_LDFLAGS_value=$LDFLAGS
766: ac_env_CPPFLAGS_set=${CPPFLAGS+set}
767: ac_env_CPPFLAGS_value=$CPPFLAGS
768: ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
769: ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1.62 paf 770: ac_env_CC_set=${CC+set}
771: ac_env_CC_value=$CC
772: ac_cv_env_CC_set=${CC+set}
773: ac_cv_env_CC_value=$CC
774: ac_env_CFLAGS_set=${CFLAGS+set}
775: ac_env_CFLAGS_value=$CFLAGS
776: ac_cv_env_CFLAGS_set=${CFLAGS+set}
777: ac_cv_env_CFLAGS_value=$CFLAGS
1.66 paf 778: ac_env_CPP_set=${CPP+set}
779: ac_env_CPP_value=$CPP
780: ac_cv_env_CPP_set=${CPP+set}
781: ac_cv_env_CPP_value=$CPP
1.62 paf 782:
783: #
784: # Report the --help message.
785: #
786: if test "$ac_init_help" = "long"; then
787: # Omit some internal or obsolete options to make the list less imposing.
788: # This message is too long to be a string in the A/UX 3.1 sh.
789: cat <<_ACEOF
790: \`configure' configures this package to adapt to many kinds of systems.
791:
792: Usage: $0 [OPTION]... [VAR=VALUE]...
793:
794: To assign environment variables (e.g., CC, CFLAGS...), specify them as
795: VAR=VALUE. See below for descriptions of some of the useful variables.
796:
797: Defaults for the options are specified in brackets.
798:
799: Configuration:
800: -h, --help display this help and exit
801: --help=short display options specific to this package
802: --help=recursive display the short help of all the included packages
803: -V, --version display version information and exit
804: -q, --quiet, --silent do not print \`checking...' messages
805: --cache-file=FILE cache test results in FILE [disabled]
806: -C, --config-cache alias for \`--cache-file=config.cache'
807: -n, --no-create do not create output files
808: --srcdir=DIR find the sources in DIR [configure dir or \`..']
809:
810: _ACEOF
811:
812: cat <<_ACEOF
813: Installation directories:
814: --prefix=PREFIX install architecture-independent files in PREFIX
1.86 paf 815: [$ac_default_prefix]
1.62 paf 816: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1.86 paf 817: [PREFIX]
1.62 paf 818:
819: By default, \`make install' will install all the files in
820: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
821: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
822: for instance \`--prefix=\$HOME'.
823:
824: For better control, use the options below.
825:
826: Fine tuning of the installation directories:
827: --bindir=DIR user executables [EPREFIX/bin]
828: --sbindir=DIR system admin executables [EPREFIX/sbin]
829: --libexecdir=DIR program executables [EPREFIX/libexec]
830: --datadir=DIR read-only architecture-independent data [PREFIX/share]
831: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
832: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
833: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
834: --libdir=DIR object code libraries [EPREFIX/lib]
835: --includedir=DIR C header files [PREFIX/include]
836: --oldincludedir=DIR C header files for non-gcc [/usr/include]
837: --infodir=DIR info documentation [PREFIX/info]
838: --mandir=DIR man documentation [PREFIX/man]
839: _ACEOF
840:
841: cat <<\_ACEOF
842:
843: Program names:
844: --program-prefix=PREFIX prepend PREFIX to installed program names
845: --program-suffix=SUFFIX append SUFFIX to installed program names
846: --program-transform-name=PROGRAM run sed PROGRAM on installed program names
847:
848: System types:
849: --build=BUILD configure for building on BUILD [guessed]
850: --host=HOST cross-compile to build programs to run on HOST [BUILD]
851: _ACEOF
852: fi
853:
854: if test -n "$ac_init_help"; then
855:
856: cat <<\_ACEOF
857:
858: Optional Features:
859: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
860: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1.86 paf 861: --disable-dependency-tracking speeds up one-time build
862: --enable-dependency-tracking do not reject slow dependency extractors
1.67 paf 863: --disable-safe-mode to enable reading and executing
1.62 paf 864: files belonging to group+user other then effective
1.94 misha 865: --disable-execs to disable any execs
1.62 paf 866: (file::exec, file::cgi, unix mail:send)
1.94 misha 867: --disable-stringstream to disable stringstream usage.
868: when disabled table.save use more memory but it's safer on freebsd 4.x
1.62 paf 869:
870: Optional Packages:
871: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
872: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1.71 paf 873: --with-build-warnings to enable build-time compiler warnings if gcc is used
1.67 paf 874: --with-assertions to enable assertions
1.62 paf 875: --with-charsets=CHARSET,CHARSET,... Enables charsets in root config (windows-1251,
876: windows-1250 windows-1257 koi8-r; Default is windows-1251)
877: --with-mysql-client=mysqlclientlib?withparams
878: MySQL client dynamic library to root config
879: --with-pgsql-client=pgsqlclientlib?withparams
880: PgSQL client dynamic library to root config
881: --with-oracle-client=oracleclientlib?withparams
882: Oracle client dynamic library
1.92 misha 883: --with-sqlite-client=sqliteclientlib?withparams
884: SQLite client dynamic library to root config
1.62 paf 885: --with-pathlink=LKEY put dynamic libraries paths to binary
886: using linker key (-R, -rpath-link)
1.67 paf 887: --with-dynamic-stdcpp link libstdc++ dynamically
888: by default, libstdc++ is linked statically
1.62 paf 889: --with-sjlj-exceptions enable simple 'throw' from dynamic library
1.67 paf 890: --with-shared-gc=D D is the directory where
891: Boehm garbage collecting library is installed (shared lib)
892: --with-static-gc=D D is the directory where
893: Boehm garbage collecting library is installed (static lib)
1.62 paf 894: --with-shared-xml=D D is the directory where
895: Gnome XML libraries are installed (shared libs)
896: --with-static-xml=D D is the directory where
897: Gnome XML libraries are installed (static libs)
1.90 paf 898: --with-glib-config=FILE FILE is glib library
899: configuration file (search for glib*-config)
1.62 paf 900: --with-shared-mailreceive=D is the directory where
1.67 paf 901: Gnome MIME library is installed (shared lib)
1.62 paf 902: --with-static-mailreceive=D is the directory where
903: Gnome MIME library is installed (static lib)
904: \"--with-sendmail=COMMAND\" forces this command to send mail.
905: example: \"--with-sendmail=/usr/sbin/sendmail -t\"
906: (makes parser ignore user-defined sendmail commands)
907: --with-apache13=D D is the Apache13 source distribution directory
908: builds library for apache_module using that dir
909: (do not add /src)
910:
911: Some influential environment variables:
1.66 paf 912: CXX C++ compiler command
913: CXXFLAGS C++ compiler flags
1.62 paf 914: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
915: nonstandard directory <lib dir>
916: CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
917: headers in a nonstandard directory <include dir>
1.66 paf 918: CC C compiler command
919: CFLAGS C compiler flags
920: CPP C preprocessor
1.62 paf 921:
922: Use these variables to override the choices made by `configure' or to help
923: it to find libraries and programs with nonstandard names/locations.
924:
925: _ACEOF
926: fi
927:
928: if test "$ac_init_help" = "recursive"; then
929: # If there are subdirs, report their specific --help.
930: ac_popdir=`pwd`
931: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
932: test -d $ac_dir || continue
933: ac_builddir=.
934:
935: if test "$ac_dir" != .; then
936: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
937: # A "../" for each directory in $ac_dir_suffix.
938: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
939: else
940: ac_dir_suffix= ac_top_builddir=
941: fi
942:
943: case $srcdir in
944: .) # No --srcdir option. We are building in place.
945: ac_srcdir=.
946: if test -z "$ac_top_builddir"; then
947: ac_top_srcdir=.
948: else
949: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
950: fi ;;
951: [\\/]* | ?:[\\/]* ) # Absolute path.
952: ac_srcdir=$srcdir$ac_dir_suffix;
953: ac_top_srcdir=$srcdir ;;
954: *) # Relative path.
955: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
956: ac_top_srcdir=$ac_top_builddir$srcdir ;;
957: esac
1.86 paf 958:
959: # Do not use `cd foo && pwd` to compute absolute paths, because
960: # the directories may not exist.
961: case `pwd` in
962: .) ac_abs_builddir="$ac_dir";;
963: *)
964: case "$ac_dir" in
965: .) ac_abs_builddir=`pwd`;;
966: [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
967: *) ac_abs_builddir=`pwd`/"$ac_dir";;
968: esac;;
969: esac
970: case $ac_abs_builddir in
971: .) ac_abs_top_builddir=${ac_top_builddir}.;;
972: *)
973: case ${ac_top_builddir}. in
974: .) ac_abs_top_builddir=$ac_abs_builddir;;
975: [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
976: *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
977: esac;;
978: esac
979: case $ac_abs_builddir in
980: .) ac_abs_srcdir=$ac_srcdir;;
981: *)
982: case $ac_srcdir in
983: .) ac_abs_srcdir=$ac_abs_builddir;;
984: [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
985: *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
986: esac;;
987: esac
988: case $ac_abs_builddir in
989: .) ac_abs_top_srcdir=$ac_top_srcdir;;
990: *)
991: case $ac_top_srcdir in
992: .) ac_abs_top_srcdir=$ac_abs_builddir;;
993: [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
994: *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
995: esac;;
996: esac
1.62 paf 997:
998: cd $ac_dir
999: # Check for guested configure; otherwise get Cygnus style configure.
1000: if test -f $ac_srcdir/configure.gnu; then
1001: echo
1002: $SHELL $ac_srcdir/configure.gnu --help=recursive
1003: elif test -f $ac_srcdir/configure; then
1004: echo
1005: $SHELL $ac_srcdir/configure --help=recursive
1006: elif test -f $ac_srcdir/configure.ac ||
1.86 paf 1007: test -f $ac_srcdir/configure.in; then
1.62 paf 1008: echo
1009: $ac_configure --help
1010: else
1011: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1012: fi
1013: cd $ac_popdir
1014: done
1015: fi
1016:
1017: test -n "$ac_init_help" && exit 0
1018: if $ac_init_version; then
1019: cat <<\_ACEOF
1020:
1.86 paf 1021: Copyright (C) 2003 Free Software Foundation, Inc.
1.62 paf 1022: This configure script is free software; the Free Software Foundation
1023: gives unlimited permission to copy, distribute and modify it.
1024: _ACEOF
1025: exit 0
1026: fi
1027: exec 5>config.log
1028: cat >&5 <<_ACEOF
1029: This file contains any messages produced by compilers while
1030: running configure, to aid debugging if configure makes a mistake.
1031:
1032: It was created by $as_me, which was
1.86 paf 1033: generated by GNU Autoconf 2.59. Invocation command line was
1.62 paf 1034:
1035: $ $0 $@
1036:
1037: _ACEOF
1038: {
1039: cat <<_ASUNAME
1040: ## --------- ##
1041: ## Platform. ##
1042: ## --------- ##
1043:
1044: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1045: uname -m = `(uname -m) 2>/dev/null || echo unknown`
1046: uname -r = `(uname -r) 2>/dev/null || echo unknown`
1047: uname -s = `(uname -s) 2>/dev/null || echo unknown`
1048: uname -v = `(uname -v) 2>/dev/null || echo unknown`
1049:
1050: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1051: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1052:
1053: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1054: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1055: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1056: hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1057: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1058: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1059: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1060:
1061: _ASUNAME
1062:
1063: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1064: for as_dir in $PATH
1065: do
1066: IFS=$as_save_IFS
1067: test -z "$as_dir" && as_dir=.
1068: echo "PATH: $as_dir"
1069: done
1.1 paf 1070:
1.62 paf 1071: } >&5
1072:
1073: cat >&5 <<_ACEOF
1074:
1075:
1076: ## ----------- ##
1077: ## Core tests. ##
1078: ## ----------- ##
1079:
1080: _ACEOF
1081:
1082:
1083: # Keep a trace of the command line.
1084: # Strip out --no-create and --no-recursion so they do not pile up.
1085: # Strip out --silent because we don't want to record it for future runs.
1086: # Also quote any args containing shell meta-characters.
1087: # Make two passes to allow for proper duplicate-argument suppression.
1088: ac_configure_args=
1089: ac_configure_args0=
1090: ac_configure_args1=
1091: ac_sep=
1092: ac_must_keep_next=false
1093: for ac_pass in 1 2
1094: do
1095: for ac_arg
1096: do
1097: case $ac_arg in
1098: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1099: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1100: | -silent | --silent | --silen | --sile | --sil)
1101: continue ;;
1102: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1103: ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1104: esac
1105: case $ac_pass in
1106: 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1107: 2)
1108: ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1109: if test $ac_must_keep_next = true; then
1.86 paf 1110: ac_must_keep_next=false # Got value, back to normal.
1.62 paf 1111: else
1.86 paf 1112: case $ac_arg in
1113: *=* | --config-cache | -C | -disable-* | --disable-* \
1114: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1115: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1116: | -with-* | --with-* | -without-* | --without-* | --x)
1117: case "$ac_configure_args0 " in
1118: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1119: esac
1120: ;;
1121: -* ) ac_must_keep_next=true ;;
1122: esac
1.62 paf 1123: fi
1124: ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1125: # Get rid of the leading space.
1126: ac_sep=" "
1127: ;;
1128: esac
1129: done
1130: done
1131: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1132: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1133:
1134: # When interrupted or exit'd, cleanup temporary files, and complete
1135: # config.log. We remove comments because anyway the quotes in there
1136: # would cause problems or look ugly.
1137: # WARNING: Be sure not to use single quotes in there, as some shells,
1138: # such as our DU 5.0 friend, will then `close' the trap.
1139: trap 'exit_status=$?
1140: # Save into config.log some information that might help in debugging.
1141: {
1142: echo
1143:
1144: cat <<\_ASBOX
1145: ## ---------------- ##
1146: ## Cache variables. ##
1147: ## ---------------- ##
1148: _ASBOX
1149: echo
1150: # The following way of writing the cache mishandles newlines in values,
1151: {
1152: (set) 2>&1 |
1153: case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1154: *ac_space=\ *)
1155: sed -n \
1.86 paf 1156: "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1157: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1.62 paf 1158: ;;
1159: *)
1160: sed -n \
1.86 paf 1161: "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1.62 paf 1162: ;;
1163: esac;
1164: }
1165: echo
1166:
1167: cat <<\_ASBOX
1168: ## ----------------- ##
1169: ## Output variables. ##
1170: ## ----------------- ##
1171: _ASBOX
1172: echo
1173: for ac_var in $ac_subst_vars
1174: do
1175: eval ac_val=$`echo $ac_var`
1176: echo "$ac_var='"'"'$ac_val'"'"'"
1177: done | sort
1178: echo
1179:
1180: if test -n "$ac_subst_files"; then
1181: cat <<\_ASBOX
1182: ## ------------- ##
1183: ## Output files. ##
1184: ## ------------- ##
1185: _ASBOX
1186: echo
1187: for ac_var in $ac_subst_files
1188: do
1189: eval ac_val=$`echo $ac_var`
1.86 paf 1190: echo "$ac_var='"'"'$ac_val'"'"'"
1.62 paf 1191: done | sort
1192: echo
1193: fi
1194:
1195: if test -s confdefs.h; then
1196: cat <<\_ASBOX
1197: ## ----------- ##
1198: ## confdefs.h. ##
1199: ## ----------- ##
1200: _ASBOX
1201: echo
1202: sed "/^$/d" confdefs.h | sort
1203: echo
1204: fi
1205: test "$ac_signal" != 0 &&
1206: echo "$as_me: caught signal $ac_signal"
1207: echo "$as_me: exit $exit_status"
1208: } >&5
1.86 paf 1209: rm -f core *.core &&
1.62 paf 1210: rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1211: exit $exit_status
1212: ' 0
1213: for ac_signal in 1 2 13 15; do
1214: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1215: done
1216: ac_signal=0
1217:
1218: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1219: rm -rf conftest* confdefs.h
1220: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1221: echo >confdefs.h
1222:
1223: # Predefined preprocessor variables.
1224:
1225: cat >>confdefs.h <<_ACEOF
1226: #define PACKAGE_NAME "$PACKAGE_NAME"
1227: _ACEOF
1228:
1229:
1230: cat >>confdefs.h <<_ACEOF
1231: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1232: _ACEOF
1233:
1234:
1235: cat >>confdefs.h <<_ACEOF
1236: #define PACKAGE_VERSION "$PACKAGE_VERSION"
1237: _ACEOF
1238:
1239:
1240: cat >>confdefs.h <<_ACEOF
1241: #define PACKAGE_STRING "$PACKAGE_STRING"
1242: _ACEOF
1243:
1244:
1245: cat >>confdefs.h <<_ACEOF
1246: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1247: _ACEOF
1248:
1249:
1250: # Let the site file select an alternate cache file if it wants to.
1.1 paf 1251: # Prefer explicitly selected file to automatically selected ones.
1252: if test -z "$CONFIG_SITE"; then
1253: if test "x$prefix" != xNONE; then
1254: CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1255: else
1256: CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1257: fi
1258: fi
1259: for ac_site_file in $CONFIG_SITE; do
1260: if test -r "$ac_site_file"; then
1.62 paf 1261: { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1262: echo "$as_me: loading site script $ac_site_file" >&6;}
1263: sed 's/^/| /' "$ac_site_file" >&5
1.1 paf 1264: . "$ac_site_file"
1265: fi
1266: done
1267:
1268: if test -r "$cache_file"; then
1.62 paf 1269: # Some versions of bash will fail to source /dev/null (special
1270: # files actually), so we avoid doing that.
1271: if test -f "$cache_file"; then
1272: { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1273: echo "$as_me: loading cache $cache_file" >&6;}
1274: case $cache_file in
1275: [\\/]* | ?:[\\/]* ) . $cache_file;;
1276: *) . ./$cache_file;;
1277: esac
1278: fi
1.1 paf 1279: else
1.62 paf 1280: { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1281: echo "$as_me: creating cache $cache_file" >&6;}
1282: >$cache_file
1283: fi
1284:
1285: # Check that the precious variables saved in the cache have kept the same
1286: # value.
1287: ac_cache_corrupted=false
1288: for ac_var in `(set) 2>&1 |
1.86 paf 1289: sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1.62 paf 1290: eval ac_old_set=\$ac_cv_env_${ac_var}_set
1291: eval ac_new_set=\$ac_env_${ac_var}_set
1292: eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1293: eval ac_new_val="\$ac_env_${ac_var}_value"
1294: case $ac_old_set,$ac_new_set in
1295: set,)
1296: { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1297: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1298: ac_cache_corrupted=: ;;
1299: ,set)
1300: { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1301: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1302: ac_cache_corrupted=: ;;
1303: ,);;
1304: *)
1305: if test "x$ac_old_val" != "x$ac_new_val"; then
1.86 paf 1306: { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1.62 paf 1307: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1.86 paf 1308: { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1.62 paf 1309: echo "$as_me: former value: $ac_old_val" >&2;}
1.86 paf 1310: { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1.62 paf 1311: echo "$as_me: current value: $ac_new_val" >&2;}
1.86 paf 1312: ac_cache_corrupted=:
1.62 paf 1313: fi;;
1314: esac
1315: # Pass precious variables to config.status.
1316: if test "$ac_new_set" = set; then
1317: case $ac_new_val in
1318: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1319: ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1320: *) ac_arg=$ac_var=$ac_new_val ;;
1321: esac
1322: case " $ac_configure_args " in
1323: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1324: *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1325: esac
1326: fi
1327: done
1328: if $ac_cache_corrupted; then
1329: { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1330: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1331: { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1332: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1333: { (exit 1); exit 1; }; }
1.1 paf 1334: fi
1335:
1336: ac_ext=c
1337: ac_cpp='$CPP $CPPFLAGS'
1.62 paf 1338: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1339: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1340: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1341:
1342:
1343:
1344:
1345:
1346:
1347:
1348:
1349:
1350:
1351:
1.1 paf 1352:
1353:
1.62 paf 1354:
1355:
1356:
1357:
1358:
1359:
1.63 paf 1360:
1361:
1.86 paf 1362: am__api_version="1.9"
1.1 paf 1363: ac_aux_dir=
1364: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1365: if test -f $ac_dir/install-sh; then
1366: ac_aux_dir=$ac_dir
1367: ac_install_sh="$ac_aux_dir/install-sh -c"
1368: break
1369: elif test -f $ac_dir/install.sh; then
1370: ac_aux_dir=$ac_dir
1371: ac_install_sh="$ac_aux_dir/install.sh -c"
1372: break
1.62 paf 1373: elif test -f $ac_dir/shtool; then
1374: ac_aux_dir=$ac_dir
1375: ac_install_sh="$ac_aux_dir/shtool install -c"
1376: break
1.1 paf 1377: fi
1378: done
1379: if test -z "$ac_aux_dir"; then
1.62 paf 1380: { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1381: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1382: { (exit 1); exit 1; }; }
1383: fi
1384: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1385: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1386: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1.1 paf 1387:
1388: # Find a good install program. We prefer a C program (faster),
1389: # so one script is as good as another. But avoid the broken or
1390: # incompatible versions:
1391: # SysV /etc/install, /usr/sbin/install
1392: # SunOS /usr/etc/install
1393: # IRIX /sbin/install
1394: # AIX /bin/install
1.62 paf 1395: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1 paf 1396: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1397: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1398: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.86 paf 1399: # OS/2's system install, which has a completely different semantic
1.1 paf 1400: # ./install, which can be erroneously created by make from ./install.sh.
1.62 paf 1401: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1402: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1 paf 1403: if test -z "$INSTALL"; then
1.62 paf 1404: if test "${ac_cv_path_install+set}" = set; then
1405: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 paf 1406: else
1.62 paf 1407: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1408: for as_dir in $PATH
1409: do
1410: IFS=$as_save_IFS
1411: test -z "$as_dir" && as_dir=.
1412: # Account for people who put trailing slashes in PATH elements.
1413: case $as_dir/ in
1414: ./ | .// | /cC/* | \
1415: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.86 paf 1416: ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.62 paf 1417: /usr/ucb/* ) ;;
1418: *)
1419: # OSF1 and SCO ODT 3.0 have their own names for install.
1420: # Don't use installbsd from OSF since it installs stuff as root
1421: # by default.
1422: for ac_prog in ginstall scoinst install; do
1423: for ac_exec_ext in '' $ac_executable_extensions; do
1.86 paf 1424: if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1425: if test $ac_prog = install &&
1426: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1427: # AIX install. It has an incompatible calling convention.
1428: :
1429: elif test $ac_prog = install &&
1430: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1431: # program-specific install script used by HP pwplus--don't use.
1432: :
1433: else
1434: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1435: break 3
1436: fi
1437: fi
1.1 paf 1438: done
1.62 paf 1439: done
1440: ;;
1441: esac
1442: done
1443:
1.1 paf 1444:
1445: fi
1446: if test "${ac_cv_path_install+set}" = set; then
1.62 paf 1447: INSTALL=$ac_cv_path_install
1.1 paf 1448: else
1449: # As a last resort, use the slow shell script. We don't cache a
1450: # path for INSTALL within a source directory, because that will
1451: # break other packages using the cache if that directory is
1452: # removed, or if the path is relative.
1.62 paf 1453: INSTALL=$ac_install_sh
1.1 paf 1454: fi
1455: fi
1.62 paf 1456: echo "$as_me:$LINENO: result: $INSTALL" >&5
1457: echo "${ECHO_T}$INSTALL" >&6
1.1 paf 1458:
1459: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1460: # It thinks the first close brace ends the variable substitution.
1461: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1462:
1.62 paf 1463: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1 paf 1464:
1465: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1466:
1.62 paf 1467: echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1468: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1.1 paf 1469: # Just in case
1470: sleep 1
1.62 paf 1471: echo timestamp > conftest.file
1.1 paf 1472: # Do `set' in a subshell so we don't clobber the current shell's
1473: # arguments. Must try -L first in case configure is actually a
1474: # symlink; some systems play weird games with the mod time of symlinks
1475: # (eg FreeBSD returns the mod time of the symlink's containing
1476: # directory).
1477: if (
1.62 paf 1478: set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1.1 paf 1479: if test "$*" = "X"; then
1480: # -L didn't work.
1.62 paf 1481: set X `ls -t $srcdir/configure conftest.file`
1.1 paf 1482: fi
1.62 paf 1483: rm -f conftest.file
1484: if test "$*" != "X $srcdir/configure conftest.file" \
1485: && test "$*" != "X conftest.file $srcdir/configure"; then
1.1 paf 1486:
1487: # If neither matched, then we have a broken ls. This can happen
1488: # if, for instance, CONFIG_SHELL is bash and it inherits a
1489: # broken ls alias from the environment. This has actually
1490: # happened. Such a system could not be considered "sane".
1.62 paf 1491: { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1492: alias in your environment" >&5
1493: echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1494: alias in your environment" >&2;}
1495: { (exit 1); exit 1; }; }
1.1 paf 1496: fi
1497:
1.62 paf 1498: test "$2" = conftest.file
1.1 paf 1499: )
1500: then
1501: # Ok.
1502: :
1503: else
1.62 paf 1504: { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1505: Check your system clock" >&5
1506: echo "$as_me: error: newly created file is older than distributed files!
1507: Check your system clock" >&2;}
1508: { (exit 1); exit 1; }; }
1.1 paf 1509: fi
1.62 paf 1510: echo "$as_me:$LINENO: result: yes" >&5
1511: echo "${ECHO_T}yes" >&6
1.1 paf 1512: test "$program_prefix" != NONE &&
1.62 paf 1513: program_transform_name="s,^,$program_prefix,;$program_transform_name"
1.1 paf 1514: # Use a double $ so make ignores it.
1515: test "$program_suffix" != NONE &&
1.62 paf 1516: program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1517: # Double any \ or $. echo might interpret backslashes.
1518: # By default was `s,x,x', remove it if useless.
1519: cat <<\_ACEOF >conftest.sed
1520: s/[\\$]/&&/g;s/;s,x,x,$//
1521: _ACEOF
1522: program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1523: rm conftest.sed
1524:
1525: # expand $ac_aux_dir to an absolute path
1526: am_aux_dir=`cd $ac_aux_dir && pwd`
1527:
1528: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1529: # Use eval to expand $SHELL
1530: if eval "$MISSING --run true"; then
1531: am_missing_run="$MISSING --run "
1532: else
1533: am_missing_run=
1534: { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1535: echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1536: fi
1537:
1.86 paf 1538: if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1539: # We used to keeping the `.' as first argument, in order to
1540: # allow $(mkdir_p) to be used without argument. As in
1541: # $(mkdir_p) $(somedir)
1542: # where $(somedir) is conditionally defined. However this is wrong
1543: # for two reasons:
1544: # 1. if the package is installed by a user who cannot write `.'
1545: # make install will fail,
1546: # 2. the above comment should most certainly read
1547: # $(mkdir_p) $(DESTDIR)$(somedir)
1548: # so it does not work when $(somedir) is undefined and
1549: # $(DESTDIR) is not.
1550: # To support the latter case, we have to write
1551: # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1552: # so the `.' trick is pointless.
1553: mkdir_p='mkdir -p --'
1554: else
1555: # On NextStep and OpenStep, the `mkdir' command does not
1556: # recognize any option. It will interpret all options as
1557: # directories to create, and then abort because `.' already
1558: # exists.
1559: for d in ./-p ./--version;
1560: do
1561: test -d $d && rmdir $d
1562: done
1563: # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1564: if test -f "$ac_aux_dir/mkinstalldirs"; then
1565: mkdir_p='$(mkinstalldirs)'
1566: else
1567: mkdir_p='$(install_sh) -d'
1568: fi
1569: fi
1570:
1.62 paf 1571: for ac_prog in gawk mawk nawk awk
1572: do
1573: # Extract the first word of "$ac_prog", so it can be a program name with args.
1574: set dummy $ac_prog; ac_word=$2
1575: echo "$as_me:$LINENO: checking for $ac_word" >&5
1576: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1577: if test "${ac_cv_prog_AWK+set}" = set; then
1578: echo $ECHO_N "(cached) $ECHO_C" >&6
1579: else
1580: if test -n "$AWK"; then
1581: ac_cv_prog_AWK="$AWK" # Let the user override the test.
1582: else
1583: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1584: for as_dir in $PATH
1585: do
1586: IFS=$as_save_IFS
1587: test -z "$as_dir" && as_dir=.
1588: for ac_exec_ext in '' $ac_executable_extensions; do
1589: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1590: ac_cv_prog_AWK="$ac_prog"
1591: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1592: break 2
1593: fi
1594: done
1595: done
1596:
1597: fi
1598: fi
1599: AWK=$ac_cv_prog_AWK
1600: if test -n "$AWK"; then
1601: echo "$as_me:$LINENO: result: $AWK" >&5
1602: echo "${ECHO_T}$AWK" >&6
1603: else
1604: echo "$as_me:$LINENO: result: no" >&5
1605: echo "${ECHO_T}no" >&6
1606: fi
1.1 paf 1607:
1.62 paf 1608: test -n "$AWK" && break
1609: done
1.1 paf 1610:
1.62 paf 1611: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1612: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1.86 paf 1613: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1.62 paf 1614: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1615: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 paf 1616: else
1.62 paf 1617: cat >conftest.make <<\_ACEOF
1.1 paf 1618: all:
1.62 paf 1619: @echo 'ac_maketemp="$(MAKE)"'
1620: _ACEOF
1.1 paf 1621: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.62 paf 1622: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.1 paf 1623: if test -n "$ac_maketemp"; then
1624: eval ac_cv_prog_make_${ac_make}_set=yes
1625: else
1626: eval ac_cv_prog_make_${ac_make}_set=no
1627: fi
1.62 paf 1628: rm -f conftest.make
1.1 paf 1629: fi
1630: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.62 paf 1631: echo "$as_me:$LINENO: result: yes" >&5
1632: echo "${ECHO_T}yes" >&6
1.1 paf 1633: SET_MAKE=
1634: else
1.62 paf 1635: echo "$as_me:$LINENO: result: no" >&5
1636: echo "${ECHO_T}no" >&6
1.1 paf 1637: SET_MAKE="MAKE=${MAKE-make}"
1638: fi
1639:
1.86 paf 1640: rm -rf .tst 2>/dev/null
1641: mkdir .tst 2>/dev/null
1642: if test -d .tst; then
1643: am__leading_dot=.
1644: else
1645: am__leading_dot=_
1646: fi
1647: rmdir .tst 2>/dev/null
1648:
1649: # test to see if srcdir already configured
1.62 paf 1650: if test "`cd $srcdir && pwd`" != "`pwd`" &&
1651: test -f $srcdir/config.status; then
1652: { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1653: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1654: { (exit 1); exit 1; }; }
1655: fi
1656:
1657: # test whether we have cygpath
1658: if test -z "$CYGPATH_W"; then
1659: if (cygpath --version) >/dev/null 2>/dev/null; then
1660: CYGPATH_W='cygpath -w'
1661: else
1662: CYGPATH_W=echo
1663: fi
1664: fi
1665:
1666:
1667: # Define the identity of the package.
1668: PACKAGE=parser
1.93 misha 1669: VERSION=3.2.3b
1.1 paf 1670:
1671:
1.62 paf 1672: # Some tools Automake needs.
1673:
1674: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1675:
1676:
1677: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1678:
1679:
1680: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1681:
1682:
1683: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1684:
1685:
1686: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1 paf 1687:
1.62 paf 1688: install_sh=${install_sh-"$am_aux_dir/install-sh"}
1.1 paf 1689:
1.62 paf 1690: # Installed binaries are usually stripped using `strip' when the user
1691: # run `make install-strip'. However `strip' might not be the right
1692: # tool to use in cross-compilation environments, therefore Automake
1693: # will honor the `STRIP' environment variable to overrule this program.
1694: if test "$cross_compiling" != no; then
1695: if test -n "$ac_tool_prefix"; then
1696: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1697: set dummy ${ac_tool_prefix}strip; ac_word=$2
1698: echo "$as_me:$LINENO: checking for $ac_word" >&5
1699: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1700: if test "${ac_cv_prog_STRIP+set}" = set; then
1701: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 paf 1702: else
1.62 paf 1703: if test -n "$STRIP"; then
1704: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1705: else
1706: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1707: for as_dir in $PATH
1708: do
1709: IFS=$as_save_IFS
1710: test -z "$as_dir" && as_dir=.
1711: for ac_exec_ext in '' $ac_executable_extensions; do
1712: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1713: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1714: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1715: break 2
1716: fi
1717: done
1718: done
1719:
1720: fi
1721: fi
1722: STRIP=$ac_cv_prog_STRIP
1723: if test -n "$STRIP"; then
1724: echo "$as_me:$LINENO: result: $STRIP" >&5
1725: echo "${ECHO_T}$STRIP" >&6
1726: else
1727: echo "$as_me:$LINENO: result: no" >&5
1728: echo "${ECHO_T}no" >&6
1.1 paf 1729: fi
1730:
1.62 paf 1731: fi
1732: if test -z "$ac_cv_prog_STRIP"; then
1733: ac_ct_STRIP=$STRIP
1734: # Extract the first word of "strip", so it can be a program name with args.
1735: set dummy strip; ac_word=$2
1736: echo "$as_me:$LINENO: checking for $ac_word" >&5
1737: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1738: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1739: echo $ECHO_N "(cached) $ECHO_C" >&6
1740: else
1741: if test -n "$ac_ct_STRIP"; then
1742: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.1 paf 1743: else
1.62 paf 1744: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1745: for as_dir in $PATH
1746: do
1747: IFS=$as_save_IFS
1748: test -z "$as_dir" && as_dir=.
1749: for ac_exec_ext in '' $ac_executable_extensions; do
1750: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1751: ac_cv_prog_ac_ct_STRIP="strip"
1752: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1753: break 2
1754: fi
1755: done
1756: done
1757:
1758: test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1759: fi
1.1 paf 1760: fi
1.62 paf 1761: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1762: if test -n "$ac_ct_STRIP"; then
1763: echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1764: echo "${ECHO_T}$ac_ct_STRIP" >&6
1.1 paf 1765: else
1.62 paf 1766: echo "$as_me:$LINENO: result: no" >&5
1767: echo "${ECHO_T}no" >&6
1.1 paf 1768: fi
1769:
1.62 paf 1770: STRIP=$ac_ct_STRIP
1.1 paf 1771: else
1.62 paf 1772: STRIP="$ac_cv_prog_STRIP"
1.1 paf 1773: fi
1774:
1775: fi
1.62 paf 1776: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1777:
1778: # We need awk for the "check" target. The system "awk" is bad on
1779: # some platforms.
1.86 paf 1780: # Always define AMTAR for backward compatibility.
1781:
1782: AMTAR=${AMTAR-"${am_missing_run}tar"}
1783:
1784: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1785:
1786:
1.62 paf 1787:
1.1 paf 1788:
1789:
1790:
1.12 paf 1791: P3S=`cd $srcdir/src ; pwd`
1.1 paf 1792:
1793:
1.41 paf 1794: # Make sure we can run config.sub.
1.62 paf 1795: $ac_config_sub sun4 >/dev/null 2>&1 ||
1796: { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1797: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1798: { (exit 1); exit 1; }; }
1799:
1800: echo "$as_me:$LINENO: checking build system type" >&5
1801: echo $ECHO_N "checking build system type... $ECHO_C" >&6
1802: if test "${ac_cv_build+set}" = set; then
1803: echo $ECHO_N "(cached) $ECHO_C" >&6
1804: else
1805: ac_cv_build_alias=$build_alias
1806: test -z "$ac_cv_build_alias" &&
1807: ac_cv_build_alias=`$ac_config_guess`
1808: test -z "$ac_cv_build_alias" &&
1809: { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1810: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1811: { (exit 1); exit 1; }; }
1812: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1813: { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1814: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1815: { (exit 1); exit 1; }; }
1816:
1817: fi
1818: echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1819: echo "${ECHO_T}$ac_cv_build" >&6
1820: build=$ac_cv_build
1821: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1822: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1823: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1824:
1825:
1826: echo "$as_me:$LINENO: checking host system type" >&5
1827: echo $ECHO_N "checking host system type... $ECHO_C" >&6
1828: if test "${ac_cv_host+set}" = set; then
1829: echo $ECHO_N "(cached) $ECHO_C" >&6
1830: else
1831: ac_cv_host_alias=$host_alias
1832: test -z "$ac_cv_host_alias" &&
1833: ac_cv_host_alias=$ac_cv_build_alias
1834: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1835: { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1836: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1837: { (exit 1); exit 1; }; }
1838:
1839: fi
1840: echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1841: echo "${ECHO_T}$ac_cv_host" >&6
1842: host=$ac_cv_host
1843: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1844: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1845: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1.81 paf 1846:
1847:
1848:
1849: PARSER_VERSION="$VERSION (compiled on $host)"
1850: echo "/* automatically generated by configure */" > $srcdir/src/include/pa_version.h.new
1851: echo "/* edit configure.in to change version number */" >> $srcdir/src/include/pa_version.h.new
1852: echo "#define PARSER_VERSION \"$PARSER_VERSION\"" >> $srcdir/src/include/pa_version.h.new
1853: cmp $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h >/dev/null 2>&1
1854: if test $? -ne 0 ; then
1855: rm -f $srcdir/src/include/pa_version.h && mv $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h && \
1856: echo Updated $srcdir/src/include/pa_version.h
1857: else
1858: rm -f $srcdir/src/include/pa_version.h.new
1859: fi
1860:
1.41 paf 1861:
1862:
1863:
1.67 paf 1864: case $host_os in
1865: *cygwin* )
1866: cat >>confdefs.h <<\_ACEOF
1867: #define CYGWIN
1868: _ACEOF
1869: ;;
1870: esac
1.41 paf 1871:
1.1 paf 1872: # Find a good install program. We prefer a C program (faster),
1873: # so one script is as good as another. But avoid the broken or
1874: # incompatible versions:
1875: # SysV /etc/install, /usr/sbin/install
1876: # SunOS /usr/etc/install
1877: # IRIX /sbin/install
1878: # AIX /bin/install
1.62 paf 1879: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1 paf 1880: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1881: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1882: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.86 paf 1883: # OS/2's system install, which has a completely different semantic
1.1 paf 1884: # ./install, which can be erroneously created by make from ./install.sh.
1.62 paf 1885: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1886: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1 paf 1887: if test -z "$INSTALL"; then
1.62 paf 1888: if test "${ac_cv_path_install+set}" = set; then
1889: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 paf 1890: else
1.62 paf 1891: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1892: for as_dir in $PATH
1893: do
1894: IFS=$as_save_IFS
1895: test -z "$as_dir" && as_dir=.
1896: # Account for people who put trailing slashes in PATH elements.
1897: case $as_dir/ in
1898: ./ | .// | /cC/* | \
1899: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.86 paf 1900: ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.62 paf 1901: /usr/ucb/* ) ;;
1902: *)
1903: # OSF1 and SCO ODT 3.0 have their own names for install.
1904: # Don't use installbsd from OSF since it installs stuff as root
1905: # by default.
1906: for ac_prog in ginstall scoinst install; do
1907: for ac_exec_ext in '' $ac_executable_extensions; do
1.86 paf 1908: if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1909: if test $ac_prog = install &&
1910: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1911: # AIX install. It has an incompatible calling convention.
1912: :
1913: elif test $ac_prog = install &&
1914: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1915: # program-specific install script used by HP pwplus--don't use.
1916: :
1917: else
1918: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1919: break 3
1920: fi
1921: fi
1.1 paf 1922: done
1.62 paf 1923: done
1924: ;;
1925: esac
1926: done
1927:
1.1 paf 1928:
1929: fi
1930: if test "${ac_cv_path_install+set}" = set; then
1.62 paf 1931: INSTALL=$ac_cv_path_install
1.1 paf 1932: else
1933: # As a last resort, use the slow shell script. We don't cache a
1934: # path for INSTALL within a source directory, because that will
1935: # break other packages using the cache if that directory is
1936: # removed, or if the path is relative.
1.62 paf 1937: INSTALL=$ac_install_sh
1.1 paf 1938: fi
1939: fi
1.62 paf 1940: echo "$as_me:$LINENO: result: $INSTALL" >&5
1941: echo "${ECHO_T}$INSTALL" >&6
1.1 paf 1942:
1943: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1944: # It thinks the first close brace ends the variable substitution.
1945: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1946:
1.62 paf 1947: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1 paf 1948:
1949: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1950:
1.62 paf 1951: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1952: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1.86 paf 1953: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1.62 paf 1954: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1955: echo $ECHO_N "(cached) $ECHO_C" >&6
1.41 paf 1956: else
1.62 paf 1957: cat >conftest.make <<\_ACEOF
1.41 paf 1958: all:
1.62 paf 1959: @echo 'ac_maketemp="$(MAKE)"'
1960: _ACEOF
1.41 paf 1961: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.62 paf 1962: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.41 paf 1963: if test -n "$ac_maketemp"; then
1964: eval ac_cv_prog_make_${ac_make}_set=yes
1965: else
1966: eval ac_cv_prog_make_${ac_make}_set=no
1967: fi
1.62 paf 1968: rm -f conftest.make
1.41 paf 1969: fi
1970: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.62 paf 1971: echo "$as_me:$LINENO: result: yes" >&5
1972: echo "${ECHO_T}yes" >&6
1.41 paf 1973: SET_MAKE=
1974: else
1.62 paf 1975: echo "$as_me:$LINENO: result: no" >&5
1976: echo "${ECHO_T}no" >&6
1.41 paf 1977: SET_MAKE="MAKE=${MAKE-make}"
1978: fi
1979:
1.62 paf 1980: if test -n "$ac_tool_prefix"; then
1981: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1982: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1983: echo "$as_me:$LINENO: checking for $ac_word" >&5
1984: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1985: if test "${ac_cv_prog_RANLIB+set}" = set; then
1986: echo $ECHO_N "(cached) $ECHO_C" >&6
1.41 paf 1987: else
1988: if test -n "$RANLIB"; then
1989: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1990: else
1.62 paf 1991: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1992: for as_dir in $PATH
1993: do
1994: IFS=$as_save_IFS
1995: test -z "$as_dir" && as_dir=.
1996: for ac_exec_ext in '' $ac_executable_extensions; do
1997: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1998: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1999: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2000: break 2
2001: fi
2002: done
2003: done
2004:
1.41 paf 2005: fi
2006: fi
1.62 paf 2007: RANLIB=$ac_cv_prog_RANLIB
1.41 paf 2008: if test -n "$RANLIB"; then
1.62 paf 2009: echo "$as_me:$LINENO: result: $RANLIB" >&5
2010: echo "${ECHO_T}$RANLIB" >&6
2011: else
2012: echo "$as_me:$LINENO: result: no" >&5
2013: echo "${ECHO_T}no" >&6
2014: fi
2015:
2016: fi
2017: if test -z "$ac_cv_prog_RANLIB"; then
2018: ac_ct_RANLIB=$RANLIB
2019: # Extract the first word of "ranlib", so it can be a program name with args.
2020: set dummy ranlib; ac_word=$2
2021: echo "$as_me:$LINENO: checking for $ac_word" >&5
2022: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2023: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2024: echo $ECHO_N "(cached) $ECHO_C" >&6
2025: else
2026: if test -n "$ac_ct_RANLIB"; then
2027: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2028: else
2029: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2030: for as_dir in $PATH
2031: do
2032: IFS=$as_save_IFS
2033: test -z "$as_dir" && as_dir=.
2034: for ac_exec_ext in '' $ac_executable_extensions; do
2035: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2036: ac_cv_prog_ac_ct_RANLIB="ranlib"
2037: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2038: break 2
2039: fi
2040: done
2041: done
2042:
2043: test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2044: fi
2045: fi
2046: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2047: if test -n "$ac_ct_RANLIB"; then
2048: echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2049: echo "${ECHO_T}$ac_ct_RANLIB" >&6
2050: else
2051: echo "$as_me:$LINENO: result: no" >&5
2052: echo "${ECHO_T}no" >&6
2053: fi
2054:
2055: RANLIB=$ac_ct_RANLIB
1.41 paf 2056: else
1.62 paf 2057: RANLIB="$ac_cv_prog_RANLIB"
1.41 paf 2058: fi
2059:
1.62 paf 2060: for ac_prog in gawk mawk nawk awk
1.41 paf 2061: do
1.62 paf 2062: # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41 paf 2063: set dummy $ac_prog; ac_word=$2
1.62 paf 2064: echo "$as_me:$LINENO: checking for $ac_word" >&5
2065: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2066: if test "${ac_cv_prog_AWK+set}" = set; then
2067: echo $ECHO_N "(cached) $ECHO_C" >&6
1.41 paf 2068: else
2069: if test -n "$AWK"; then
2070: ac_cv_prog_AWK="$AWK" # Let the user override the test.
2071: else
1.62 paf 2072: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2073: for as_dir in $PATH
2074: do
2075: IFS=$as_save_IFS
2076: test -z "$as_dir" && as_dir=.
2077: for ac_exec_ext in '' $ac_executable_extensions; do
2078: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2079: ac_cv_prog_AWK="$ac_prog"
2080: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2081: break 2
2082: fi
2083: done
2084: done
2085:
1.41 paf 2086: fi
2087: fi
1.62 paf 2088: AWK=$ac_cv_prog_AWK
1.41 paf 2089: if test -n "$AWK"; then
1.62 paf 2090: echo "$as_me:$LINENO: result: $AWK" >&5
2091: echo "${ECHO_T}$AWK" >&6
1.41 paf 2092: else
1.62 paf 2093: echo "$as_me:$LINENO: result: no" >&5
2094: echo "${ECHO_T}no" >&6
1.41 paf 2095: fi
2096:
1.62 paf 2097: test -n "$AWK" && break
1.41 paf 2098: done
2099:
2100:
2101: for ac_prog in 'bison -y' byacc
2102: do
1.62 paf 2103: # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41 paf 2104: set dummy $ac_prog; ac_word=$2
1.62 paf 2105: echo "$as_me:$LINENO: checking for $ac_word" >&5
2106: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2107: if test "${ac_cv_prog_YACC+set}" = set; then
2108: echo $ECHO_N "(cached) $ECHO_C" >&6
1.41 paf 2109: else
2110: if test -n "$YACC"; then
2111: ac_cv_prog_YACC="$YACC" # Let the user override the test.
2112: else
1.62 paf 2113: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2114: for as_dir in $PATH
2115: do
2116: IFS=$as_save_IFS
2117: test -z "$as_dir" && as_dir=.
2118: for ac_exec_ext in '' $ac_executable_extensions; do
2119: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2120: ac_cv_prog_YACC="$ac_prog"
2121: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2122: break 2
2123: fi
2124: done
2125: done
2126:
1.41 paf 2127: fi
2128: fi
1.62 paf 2129: YACC=$ac_cv_prog_YACC
1.41 paf 2130: if test -n "$YACC"; then
1.62 paf 2131: echo "$as_me:$LINENO: result: $YACC" >&5
2132: echo "${ECHO_T}$YACC" >&6
1.41 paf 2133: else
1.62 paf 2134: echo "$as_me:$LINENO: result: no" >&5
2135: echo "${ECHO_T}no" >&6
1.41 paf 2136: fi
2137:
1.62 paf 2138: test -n "$YACC" && break
1.41 paf 2139: done
2140: test -n "$YACC" || YACC="yacc"
2141:
2142: if test "$YACC" != "bison -y"; then
1.67 paf 2143: { echo "$as_me:$LINENO: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&5
1.62 paf 2144: echo "$as_me: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&2;}
1.41 paf 2145: else
1.67 paf 2146: echo "$as_me:$LINENO: checking bison version" >&5
1.62 paf 2147: echo $ECHO_N "checking bison version... $ECHO_C" >&6
1.67 paf 2148: oldIFS=$IFS; IFS=.
2149: set `bison -V | sed -e 's/^GNU Bison version //' -e 's/^bison (GNU Bison) //' -e 's/$/./'`
2150: IFS=$oldIFS
2151: if test "$1" = "1" -a "$2" -lt "25"; then
2152: { echo "$as_me:$LINENO: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&5
1.62 paf 2153: echo "$as_me: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&2;}
1.67 paf 2154: fi
2155: echo "$as_me:$LINENO: result: $1.$2 (ok)" >&5
1.62 paf 2156: echo "${ECHO_T}$1.$2 (ok)" >&6
2157: fi
2158:
1.66 paf 2159: ac_ext=cc
2160: ac_cpp='$CXXCPP $CPPFLAGS'
2161: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2162: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2163: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.62 paf 2164: if test -n "$ac_tool_prefix"; then
1.66 paf 2165: for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2166: do
2167: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2168: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.62 paf 2169: echo "$as_me:$LINENO: checking for $ac_word" >&5
2170: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66 paf 2171: if test "${ac_cv_prog_CXX+set}" = set; then
1.62 paf 2172: echo $ECHO_N "(cached) $ECHO_C" >&6
2173: else
1.66 paf 2174: if test -n "$CXX"; then
2175: ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.62 paf 2176: else
2177: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2178: for as_dir in $PATH
2179: do
2180: IFS=$as_save_IFS
2181: test -z "$as_dir" && as_dir=.
2182: for ac_exec_ext in '' $ac_executable_extensions; do
2183: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66 paf 2184: ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.62 paf 2185: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2186: break 2
2187: fi
2188: done
2189: done
2190:
2191: fi
2192: fi
1.66 paf 2193: CXX=$ac_cv_prog_CXX
2194: if test -n "$CXX"; then
2195: echo "$as_me:$LINENO: result: $CXX" >&5
2196: echo "${ECHO_T}$CXX" >&6
1.62 paf 2197: else
2198: echo "$as_me:$LINENO: result: no" >&5
2199: echo "${ECHO_T}no" >&6
1.41 paf 2200: fi
2201:
1.66 paf 2202: test -n "$CXX" && break
2203: done
1.62 paf 2204: fi
1.66 paf 2205: if test -z "$CXX"; then
2206: ac_ct_CXX=$CXX
2207: for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2208: do
2209: # Extract the first word of "$ac_prog", so it can be a program name with args.
2210: set dummy $ac_prog; ac_word=$2
1.62 paf 2211: echo "$as_me:$LINENO: checking for $ac_word" >&5
2212: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66 paf 2213: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1.62 paf 2214: echo $ECHO_N "(cached) $ECHO_C" >&6
2215: else
1.66 paf 2216: if test -n "$ac_ct_CXX"; then
2217: ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1.62 paf 2218: else
2219: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2220: for as_dir in $PATH
2221: do
2222: IFS=$as_save_IFS
2223: test -z "$as_dir" && as_dir=.
2224: for ac_exec_ext in '' $ac_executable_extensions; do
2225: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66 paf 2226: ac_cv_prog_ac_ct_CXX="$ac_prog"
1.62 paf 2227: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2228: break 2
2229: fi
2230: done
2231: done
2232:
2233: fi
2234: fi
1.66 paf 2235: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2236: if test -n "$ac_ct_CXX"; then
2237: echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2238: echo "${ECHO_T}$ac_ct_CXX" >&6
1.62 paf 2239: else
2240: echo "$as_me:$LINENO: result: no" >&5
2241: echo "${ECHO_T}no" >&6
2242: fi
2243:
1.66 paf 2244: test -n "$ac_ct_CXX" && break
2245: done
2246: test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2247:
2248: CXX=$ac_ct_CXX
1.62 paf 2249: fi
2250:
1.66 paf 2251:
2252: # Provide some information about the compiler.
2253: echo "$as_me:$LINENO:" \
2254: "checking for C++ compiler version" >&5
2255: ac_compiler=`set X $ac_compile; echo $2`
2256: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2257: (eval $ac_compiler --version </dev/null >&5) 2>&5
2258: ac_status=$?
2259: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2260: (exit $ac_status); }
2261: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2262: (eval $ac_compiler -v </dev/null >&5) 2>&5
2263: ac_status=$?
2264: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265: (exit $ac_status); }
2266: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2267: (eval $ac_compiler -V </dev/null >&5) 2>&5
2268: ac_status=$?
2269: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2270: (exit $ac_status); }
2271:
2272: cat >conftest.$ac_ext <<_ACEOF
2273: /* confdefs.h. */
2274: _ACEOF
2275: cat confdefs.h >>conftest.$ac_ext
2276: cat >>conftest.$ac_ext <<_ACEOF
2277: /* end confdefs.h. */
2278:
2279: int
2280: main ()
2281: {
2282:
2283: ;
2284: return 0;
2285: }
2286: _ACEOF
2287: ac_clean_files_save=$ac_clean_files
2288: ac_clean_files="$ac_clean_files a.out a.exe b.out"
2289: # Try to create an executable without -o first, disregard a.out.
2290: # It will help us diagnose broken compilers, and finding out an intuition
2291: # of exeext.
1.86 paf 2292: echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2293: echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1.66 paf 2294: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2295: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2296: (eval $ac_link_default) 2>&5
2297: ac_status=$?
2298: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2299: (exit $ac_status); }; then
2300: # Find the output, starting from the most likely. This scheme is
2301: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2302: # resort.
2303:
2304: # Be careful to initialize this variable, since it used to be cached.
2305: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2306: ac_cv_exeext=
2307: # b.out is created by i960 compilers.
2308: for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1.62 paf 2309: do
1.66 paf 2310: test -f "$ac_file" || continue
2311: case $ac_file in
2312: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1.86 paf 2313: ;;
1.66 paf 2314: conftest.$ac_ext )
1.86 paf 2315: # This is the source file.
2316: ;;
1.66 paf 2317: [ab].out )
1.86 paf 2318: # We found the default executable, but exeext='' is most
2319: # certainly right.
2320: break;;
1.66 paf 2321: *.* )
1.86 paf 2322: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2323: # FIXME: I believe we export ac_cv_exeext for Libtool,
2324: # but it would be cool to find out if it's true. Does anybody
2325: # maintain Libtool? --akim.
2326: export ac_cv_exeext
2327: break;;
1.66 paf 2328: * )
1.86 paf 2329: break;;
1.66 paf 2330: esac
1.62 paf 2331: done
1.66 paf 2332: else
2333: echo "$as_me: failed program was:" >&5
2334: sed 's/^/| /' conftest.$ac_ext >&5
1.62 paf 2335:
1.66 paf 2336: { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2337: See \`config.log' for more details." >&5
2338: echo "$as_me: error: C++ compiler cannot create executables
2339: See \`config.log' for more details." >&2;}
2340: { (exit 77); exit 77; }; }
1.1 paf 2341: fi
1.66 paf 2342:
2343: ac_exeext=$ac_cv_exeext
2344: echo "$as_me:$LINENO: result: $ac_file" >&5
2345: echo "${ECHO_T}$ac_file" >&6
2346:
2347: # Check the compiler produces executables we can run. If not, either
2348: # the compiler is broken, or we cross compile.
2349: echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2350: echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2351: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2352: # If not cross compiling, check that we can run a simple program.
2353: if test "$cross_compiling" != yes; then
2354: if { ac_try='./$ac_file'
2355: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2356: (eval $ac_try) 2>&5
2357: ac_status=$?
2358: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359: (exit $ac_status); }; }; then
2360: cross_compiling=no
2361: else
2362: if test "$cross_compiling" = maybe; then
2363: cross_compiling=yes
2364: else
2365: { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2366: If you meant to cross compile, use \`--host'.
2367: See \`config.log' for more details." >&5
2368: echo "$as_me: error: cannot run C++ compiled programs.
2369: If you meant to cross compile, use \`--host'.
2370: See \`config.log' for more details." >&2;}
2371: { (exit 1); exit 1; }; }
2372: fi
2373: fi
1.1 paf 2374: fi
1.66 paf 2375: echo "$as_me:$LINENO: result: yes" >&5
2376: echo "${ECHO_T}yes" >&6
1.62 paf 2377:
1.66 paf 2378: rm -f a.out a.exe conftest$ac_cv_exeext b.out
2379: ac_clean_files=$ac_clean_files_save
2380: # Check the compiler produces executables we can run. If not, either
1.62 paf 2381: # the compiler is broken, or we cross compile.
2382: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2383: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2384: echo "$as_me:$LINENO: result: $cross_compiling" >&5
2385: echo "${ECHO_T}$cross_compiling" >&6
2386:
2387: echo "$as_me:$LINENO: checking for suffix of executables" >&5
2388: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2389: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2390: (eval $ac_link) 2>&5
2391: ac_status=$?
2392: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393: (exit $ac_status); }; then
2394: # If both `conftest.exe' and `conftest' are `present' (well, observable)
2395: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2396: # work properly (i.e., refer to `conftest.exe'), while it won't with
2397: # `rm'.
2398: for ac_file in conftest.exe conftest conftest.*; do
2399: test -f "$ac_file" || continue
2400: case $ac_file in
2401: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2402: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.86 paf 2403: export ac_cv_exeext
2404: break;;
1.62 paf 2405: * ) break;;
2406: esac
2407: done
2408: else
2409: { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2410: See \`config.log' for more details." >&5
2411: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2412: See \`config.log' for more details." >&2;}
2413: { (exit 1); exit 1; }; }
2414: fi
2415:
2416: rm -f conftest$ac_cv_exeext
2417: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2418: echo "${ECHO_T}$ac_cv_exeext" >&6
2419:
2420: rm -f conftest.$ac_ext
2421: EXEEXT=$ac_cv_exeext
2422: ac_exeext=$EXEEXT
2423: echo "$as_me:$LINENO: checking for suffix of object files" >&5
2424: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2425: if test "${ac_cv_objext+set}" = set; then
2426: echo $ECHO_N "(cached) $ECHO_C" >&6
2427: else
2428: cat >conftest.$ac_ext <<_ACEOF
2429: /* confdefs.h. */
2430: _ACEOF
2431: cat confdefs.h >>conftest.$ac_ext
2432: cat >>conftest.$ac_ext <<_ACEOF
2433: /* end confdefs.h. */
2434:
2435: int
2436: main ()
2437: {
2438:
2439: ;
2440: return 0;
2441: }
2442: _ACEOF
2443: rm -f conftest.o conftest.obj
2444: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2445: (eval $ac_compile) 2>&5
2446: ac_status=$?
2447: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448: (exit $ac_status); }; then
2449: for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2450: case $ac_file in
2451: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2452: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2453: break;;
2454: esac
2455: done
2456: else
2457: echo "$as_me: failed program was:" >&5
2458: sed 's/^/| /' conftest.$ac_ext >&5
2459:
2460: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2461: See \`config.log' for more details." >&5
2462: echo "$as_me: error: cannot compute suffix of object files: cannot compile
2463: See \`config.log' for more details." >&2;}
2464: { (exit 1); exit 1; }; }
2465: fi
2466:
2467: rm -f conftest.$ac_cv_objext conftest.$ac_ext
2468: fi
1.66 paf 2469: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2470: echo "${ECHO_T}$ac_cv_objext" >&6
2471: OBJEXT=$ac_cv_objext
2472: ac_objext=$OBJEXT
2473: echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2474: echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2475: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1.62 paf 2476: echo $ECHO_N "(cached) $ECHO_C" >&6
2477: else
1.66 paf 2478: cat >conftest.$ac_ext <<_ACEOF
1.62 paf 2479: /* confdefs.h. */
2480: _ACEOF
2481: cat confdefs.h >>conftest.$ac_ext
2482: cat >>conftest.$ac_ext <<_ACEOF
2483: /* end confdefs.h. */
1.66 paf 2484:
1.62 paf 2485: int
2486: main ()
2487: {
1.66 paf 2488: #ifndef __GNUC__
2489: choke me
2490: #endif
2491:
1.62 paf 2492: ;
2493: return 0;
2494: }
2495: _ACEOF
1.66 paf 2496: rm -f conftest.$ac_objext
1.62 paf 2497: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86 paf 2498: (eval $ac_compile) 2>conftest.er1
1.62 paf 2499: ac_status=$?
1.86 paf 2500: grep -v '^ *+' conftest.er1 >conftest.err
2501: rm -f conftest.er1
2502: cat conftest.err >&5
1.62 paf 2503: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504: (exit $ac_status); } &&
1.86 paf 2505: { ac_try='test -z "$ac_cxx_werror_flag"
2506: || test ! -s conftest.err'
2507: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2508: (eval $ac_try) 2>&5
2509: ac_status=$?
2510: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2511: (exit $ac_status); }; } &&
2512: { ac_try='test -s conftest.$ac_objext'
1.62 paf 2513: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2514: (eval $ac_try) 2>&5
2515: ac_status=$?
2516: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2517: (exit $ac_status); }; }; then
1.66 paf 2518: ac_compiler_gnu=yes
1.62 paf 2519: else
2520: echo "$as_me: failed program was:" >&5
2521: sed 's/^/| /' conftest.$ac_ext >&5
1.1 paf 2522:
1.66 paf 2523: ac_compiler_gnu=no
1.1 paf 2524: fi
1.86 paf 2525: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66 paf 2526: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.1 paf 2527:
2528: fi
1.66 paf 2529: echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2530: echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2531: GXX=`test $ac_compiler_gnu = yes && echo yes`
2532: ac_test_CXXFLAGS=${CXXFLAGS+set}
2533: ac_save_CXXFLAGS=$CXXFLAGS
2534: CXXFLAGS="-g"
2535: echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2536: echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2537: if test "${ac_cv_prog_cxx_g+set}" = set; then
2538: echo $ECHO_N "(cached) $ECHO_C" >&6
2539: else
2540: cat >conftest.$ac_ext <<_ACEOF
2541: /* confdefs.h. */
2542: _ACEOF
2543: cat confdefs.h >>conftest.$ac_ext
2544: cat >>conftest.$ac_ext <<_ACEOF
2545: /* end confdefs.h. */
1.1 paf 2546:
1.66 paf 2547: int
2548: main ()
2549: {
1.1 paf 2550:
1.66 paf 2551: ;
2552: return 0;
2553: }
1.62 paf 2554: _ACEOF
2555: rm -f conftest.$ac_objext
2556: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86 paf 2557: (eval $ac_compile) 2>conftest.er1
1.62 paf 2558: ac_status=$?
1.86 paf 2559: grep -v '^ *+' conftest.er1 >conftest.err
2560: rm -f conftest.er1
2561: cat conftest.err >&5
1.62 paf 2562: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563: (exit $ac_status); } &&
1.86 paf 2564: { ac_try='test -z "$ac_cxx_werror_flag"
2565: || test ! -s conftest.err'
2566: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2567: (eval $ac_try) 2>&5
2568: ac_status=$?
2569: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570: (exit $ac_status); }; } &&
2571: { ac_try='test -s conftest.$ac_objext'
1.62 paf 2572: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2573: (eval $ac_try) 2>&5
2574: ac_status=$?
2575: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576: (exit $ac_status); }; }; then
1.66 paf 2577: ac_cv_prog_cxx_g=yes
2578: else
2579: echo "$as_me: failed program was:" >&5
2580: sed 's/^/| /' conftest.$ac_ext >&5
2581:
2582: ac_cv_prog_cxx_g=no
2583: fi
1.86 paf 2584: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66 paf 2585: fi
2586: echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2587: echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2588: if test "$ac_test_CXXFLAGS" = set; then
2589: CXXFLAGS=$ac_save_CXXFLAGS
2590: elif test $ac_cv_prog_cxx_g = yes; then
2591: if test "$GXX" = yes; then
2592: CXXFLAGS="-g -O2"
2593: else
2594: CXXFLAGS="-g"
2595: fi
2596: else
2597: if test "$GXX" = yes; then
2598: CXXFLAGS="-O2"
2599: else
2600: CXXFLAGS=
2601: fi
2602: fi
2603: for ac_declaration in \
1.86 paf 2604: '' \
1.62 paf 2605: 'extern "C" void std::exit (int) throw (); using std::exit;' \
2606: 'extern "C" void std::exit (int); using std::exit;' \
2607: 'extern "C" void exit (int) throw ();' \
2608: 'extern "C" void exit (int);' \
2609: 'void exit (int);'
1.1 paf 2610: do
1.62 paf 2611: cat >conftest.$ac_ext <<_ACEOF
2612: /* confdefs.h. */
2613: _ACEOF
2614: cat confdefs.h >>conftest.$ac_ext
2615: cat >>conftest.$ac_ext <<_ACEOF
2616: /* end confdefs.h. */
1.86 paf 2617: $ac_declaration
1.62 paf 2618: #include <stdlib.h>
2619: int
2620: main ()
2621: {
2622: exit (42);
2623: ;
2624: return 0;
2625: }
2626: _ACEOF
2627: rm -f conftest.$ac_objext
2628: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86 paf 2629: (eval $ac_compile) 2>conftest.er1
1.62 paf 2630: ac_status=$?
1.86 paf 2631: grep -v '^ *+' conftest.er1 >conftest.err
2632: rm -f conftest.er1
2633: cat conftest.err >&5
1.62 paf 2634: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635: (exit $ac_status); } &&
1.86 paf 2636: { ac_try='test -z "$ac_cxx_werror_flag"
2637: || test ! -s conftest.err'
2638: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2639: (eval $ac_try) 2>&5
2640: ac_status=$?
2641: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642: (exit $ac_status); }; } &&
2643: { ac_try='test -s conftest.$ac_objext'
1.62 paf 2644: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2645: (eval $ac_try) 2>&5
2646: ac_status=$?
2647: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648: (exit $ac_status); }; }; then
2649: :
1.1 paf 2650: else
1.62 paf 2651: echo "$as_me: failed program was:" >&5
2652: sed 's/^/| /' conftest.$ac_ext >&5
2653:
2654: continue
2655: fi
1.86 paf 2656: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62 paf 2657: cat >conftest.$ac_ext <<_ACEOF
2658: /* confdefs.h. */
2659: _ACEOF
2660: cat confdefs.h >>conftest.$ac_ext
2661: cat >>conftest.$ac_ext <<_ACEOF
2662: /* end confdefs.h. */
2663: $ac_declaration
2664: int
2665: main ()
2666: {
2667: exit (42);
2668: ;
2669: return 0;
2670: }
2671: _ACEOF
2672: rm -f conftest.$ac_objext
2673: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86 paf 2674: (eval $ac_compile) 2>conftest.er1
1.62 paf 2675: ac_status=$?
1.86 paf 2676: grep -v '^ *+' conftest.er1 >conftest.err
2677: rm -f conftest.er1
2678: cat conftest.err >&5
1.62 paf 2679: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680: (exit $ac_status); } &&
1.86 paf 2681: { ac_try='test -z "$ac_cxx_werror_flag"
2682: || test ! -s conftest.err'
2683: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2684: (eval $ac_try) 2>&5
2685: ac_status=$?
2686: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687: (exit $ac_status); }; } &&
2688: { ac_try='test -s conftest.$ac_objext'
1.62 paf 2689: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2690: (eval $ac_try) 2>&5
2691: ac_status=$?
2692: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693: (exit $ac_status); }; }; then
2694: break
1.1 paf 2695: else
1.62 paf 2696: echo "$as_me: failed program was:" >&5
2697: sed 's/^/| /' conftest.$ac_ext >&5
2698:
1.1 paf 2699: fi
1.86 paf 2700: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62 paf 2701: done
2702: rm -f conftest*
2703: if test -n "$ac_declaration"; then
2704: echo '#ifdef __cplusplus' >>confdefs.h
2705: echo $ac_declaration >>confdefs.h
2706: echo '#endif' >>confdefs.h
1.1 paf 2707: fi
1.62 paf 2708:
2709: ac_ext=c
2710: ac_cpp='$CPP $CPPFLAGS'
2711: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2712: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2713: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.86 paf 2714: DEPDIR="${am__leading_dot}deps"
1.62 paf 2715:
2716: ac_config_commands="$ac_config_commands depfiles"
2717:
2718:
2719: am_make=${MAKE-make}
2720: cat > confinc << 'END'
1.86 paf 2721: am__doit:
1.62 paf 2722: @echo done
1.86 paf 2723: .PHONY: am__doit
1.62 paf 2724: END
2725: # If we don't find an include directive, just comment out the code.
2726: echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2727: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2728: am__include="#"
2729: am__quote=
2730: _am_result=none
2731: # First try GNU make style include.
2732: echo "include confinc" > confmf
2733: # We grep out `Entering directory' and `Leaving directory'
2734: # messages which can occur if `w' ends up in MAKEFLAGS.
2735: # In particular we don't look at `^make:' because GNU make might
2736: # be invoked under some other name (usually "gmake"), in which
2737: # case it prints its new name instead of `make'.
2738: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2739: am__include=include
2740: am__quote=
2741: _am_result=GNU
2742: fi
2743: # Now try BSD make style include.
2744: if test "$am__include" = "#"; then
2745: echo '.include "confinc"' > confmf
2746: if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2747: am__include=.include
2748: am__quote="\""
2749: _am_result=BSD
2750: fi
2751: fi
2752:
2753:
2754: echo "$as_me:$LINENO: result: $_am_result" >&5
2755: echo "${ECHO_T}$_am_result" >&6
2756: rm -f confinc confmf
2757:
2758: # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2759: if test "${enable_dependency_tracking+set}" = set; then
2760: enableval="$enable_dependency_tracking"
2761:
2762: fi;
2763: if test "x$enable_dependency_tracking" != xno; then
2764: am_depcomp="$ac_aux_dir/depcomp"
2765: AMDEPBACKSLASH='\'
1.1 paf 2766: fi
2767:
1.62 paf 2768:
2769: if test "x$enable_dependency_tracking" != xno; then
2770: AMDEP_TRUE=
2771: AMDEP_FALSE='#'
2772: else
2773: AMDEP_TRUE='#'
2774: AMDEP_FALSE=
2775: fi
1.1 paf 2776:
2777:
2778:
2779:
1.66 paf 2780: depcc="$CXX" am_compiler_list=
1.1 paf 2781:
1.62 paf 2782: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2783: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
1.66 paf 2784: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
1.62 paf 2785: echo $ECHO_N "(cached) $ECHO_C" >&6
2786: else
2787: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2788: # We make a subdir and do the tests there. Otherwise we can end up
2789: # making bogus files that we don't know about and never remove. For
2790: # instance it was reported that on HP-UX the gcc test will end up
2791: # making a dummy file named `D' -- because `-MD' means `put the output
2792: # in D'.
2793: mkdir conftest.dir
2794: # Copy depcomp to subdir because otherwise we won't find it if we're
2795: # using a relative directory.
2796: cp "$am_depcomp" conftest.dir
2797: cd conftest.dir
1.86 paf 2798: # We will build objects and dependencies in a subdirectory because
2799: # it helps to detect inapplicable dependency modes. For instance
2800: # both Tru64's cc and ICC support -MD to output dependencies as a
2801: # side effect of compilation, but ICC will put the dependencies in
2802: # the current directory while Tru64 will put them in the object
2803: # directory.
2804: mkdir sub
1.1 paf 2805:
1.66 paf 2806: am_cv_CXX_dependencies_compiler_type=none
1.62 paf 2807: if test "$am_compiler_list" = ""; then
2808: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.1 paf 2809: fi
1.62 paf 2810: for depmode in $am_compiler_list; do
1.86 paf 2811: # Setup a source with many dependencies, because some compilers
2812: # like to wrap large dependency lists on column 80 (with \), and
2813: # we should not choose a depcomp mode which is confused by this.
2814: #
1.62 paf 2815: # We need to recreate these files for each test, as the compiler may
2816: # overwrite some of them when testing with obscure command lines.
2817: # This happens at least with the AIX C compiler.
1.86 paf 2818: : > sub/conftest.c
2819: for i in 1 2 3 4 5 6; do
2820: echo '#include "conftst'$i'.h"' >> sub/conftest.c
2821: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2822: # Solaris 8's {/usr,}/bin/sh.
2823: touch sub/conftst$i.h
2824: done
2825: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62 paf 2826:
2827: case $depmode in
2828: nosideeffect)
2829: # after this tag, mechanisms are not by side-effect, so they'll
2830: # only be used when explicitly requested
2831: if test "x$enable_dependency_tracking" = xyes; then
2832: continue
2833: else
2834: break
2835: fi
2836: ;;
2837: none) break ;;
2838: esac
2839: # We check with `-c' and `-o' for the sake of the "dashmstdout"
2840: # mode. It turns out that the SunPro C++ compiler does not properly
2841: # handle `-M -o', and we need to detect this.
2842: if depmode=$depmode \
1.86 paf 2843: source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2844: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2845: $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2846: >/dev/null 2>conftest.err &&
2847: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2848: grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.62 paf 2849: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86 paf 2850: # icc doesn't choke on unknown options, it will just issue warnings
2851: # or remarks (even with -Werror). So we grep stderr for any message
2852: # that says an option was ignored or not supported.
2853: # When given -MP, icc 7.0 and 7.1 complain thusly:
2854: # icc: Command line warning: ignoring option '-M'; no argument required
2855: # The diagnosis changed in icc 8.0:
2856: # icc: Command line remark: option '-MP' not supported
2857: if (grep 'ignoring option' conftest.err ||
2858: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2859: am_cv_CXX_dependencies_compiler_type=$depmode
2860: break
2861: fi
1.66 paf 2862: fi
2863: done
2864:
2865: cd ..
2866: rm -rf conftest.dir
2867: else
2868: am_cv_CXX_dependencies_compiler_type=none
2869: fi
2870:
2871: fi
2872: echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2873: echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2874: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
2875:
2876:
2877:
2878: if
2879: test "x$enable_dependency_tracking" != xno \
2880: && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
2881: am__fastdepCXX_TRUE=
2882: am__fastdepCXX_FALSE='#'
2883: else
2884: am__fastdepCXX_TRUE='#'
2885: am__fastdepCXX_FALSE=
2886: fi
2887:
2888:
2889: ac_ext=c
2890: ac_cpp='$CPP $CPPFLAGS'
2891: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2892: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2893: ac_compiler_gnu=$ac_cv_c_compiler_gnu
2894: if test -n "$ac_tool_prefix"; then
2895: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2896: set dummy ${ac_tool_prefix}gcc; ac_word=$2
2897: echo "$as_me:$LINENO: checking for $ac_word" >&5
2898: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2899: if test "${ac_cv_prog_CC+set}" = set; then
2900: echo $ECHO_N "(cached) $ECHO_C" >&6
2901: else
2902: if test -n "$CC"; then
2903: ac_cv_prog_CC="$CC" # Let the user override the test.
2904: else
2905: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2906: for as_dir in $PATH
2907: do
2908: IFS=$as_save_IFS
2909: test -z "$as_dir" && as_dir=.
2910: for ac_exec_ext in '' $ac_executable_extensions; do
2911: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2912: ac_cv_prog_CC="${ac_tool_prefix}gcc"
2913: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2914: break 2
2915: fi
2916: done
2917: done
2918:
2919: fi
2920: fi
2921: CC=$ac_cv_prog_CC
2922: if test -n "$CC"; then
2923: echo "$as_me:$LINENO: result: $CC" >&5
2924: echo "${ECHO_T}$CC" >&6
2925: else
2926: echo "$as_me:$LINENO: result: no" >&5
2927: echo "${ECHO_T}no" >&6
2928: fi
2929:
2930: fi
2931: if test -z "$ac_cv_prog_CC"; then
2932: ac_ct_CC=$CC
2933: # Extract the first word of "gcc", so it can be a program name with args.
2934: set dummy gcc; ac_word=$2
2935: echo "$as_me:$LINENO: checking for $ac_word" >&5
2936: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2937: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2938: echo $ECHO_N "(cached) $ECHO_C" >&6
2939: else
2940: if test -n "$ac_ct_CC"; then
2941: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2942: else
2943: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2944: for as_dir in $PATH
2945: do
2946: IFS=$as_save_IFS
2947: test -z "$as_dir" && as_dir=.
2948: for ac_exec_ext in '' $ac_executable_extensions; do
2949: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2950: ac_cv_prog_ac_ct_CC="gcc"
2951: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2952: break 2
2953: fi
2954: done
2955: done
2956:
2957: fi
2958: fi
2959: ac_ct_CC=$ac_cv_prog_ac_ct_CC
2960: if test -n "$ac_ct_CC"; then
2961: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2962: echo "${ECHO_T}$ac_ct_CC" >&6
1.1 paf 2963: else
1.66 paf 2964: echo "$as_me:$LINENO: result: no" >&5
2965: echo "${ECHO_T}no" >&6
1.62 paf 2966: fi
2967:
1.66 paf 2968: CC=$ac_ct_CC
2969: else
2970: CC="$ac_cv_prog_CC"
1.1 paf 2971: fi
1.62 paf 2972:
1.66 paf 2973: if test -z "$CC"; then
2974: if test -n "$ac_tool_prefix"; then
2975: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2976: set dummy ${ac_tool_prefix}cc; ac_word=$2
2977: echo "$as_me:$LINENO: checking for $ac_word" >&5
2978: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2979: if test "${ac_cv_prog_CC+set}" = set; then
2980: echo $ECHO_N "(cached) $ECHO_C" >&6
2981: else
2982: if test -n "$CC"; then
2983: ac_cv_prog_CC="$CC" # Let the user override the test.
2984: else
2985: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2986: for as_dir in $PATH
2987: do
2988: IFS=$as_save_IFS
2989: test -z "$as_dir" && as_dir=.
2990: for ac_exec_ext in '' $ac_executable_extensions; do
2991: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2992: ac_cv_prog_CC="${ac_tool_prefix}cc"
2993: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2994: break 2
2995: fi
2996: done
2997: done
1.62 paf 2998:
1.66 paf 2999: fi
3000: fi
3001: CC=$ac_cv_prog_CC
3002: if test -n "$CC"; then
3003: echo "$as_me:$LINENO: result: $CC" >&5
3004: echo "${ECHO_T}$CC" >&6
1.62 paf 3005: else
1.66 paf 3006: echo "$as_me:$LINENO: result: no" >&5
3007: echo "${ECHO_T}no" >&6
1.1 paf 3008: fi
3009:
1.66 paf 3010: fi
3011: if test -z "$ac_cv_prog_CC"; then
3012: ac_ct_CC=$CC
3013: # Extract the first word of "cc", so it can be a program name with args.
3014: set dummy cc; ac_word=$2
3015: echo "$as_me:$LINENO: checking for $ac_word" >&5
3016: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3017: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3018: echo $ECHO_N "(cached) $ECHO_C" >&6
3019: else
3020: if test -n "$ac_ct_CC"; then
3021: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3022: else
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
3030: ac_cv_prog_ac_ct_CC="cc"
3031: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3032: break 2
3033: fi
3034: done
3035: done
1.62 paf 3036:
1.66 paf 3037: fi
3038: fi
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.66 paf 3044: echo "$as_me:$LINENO: result: no" >&5
3045: echo "${ECHO_T}no" >&6
3046: fi
1.62 paf 3047:
1.66 paf 3048: CC=$ac_ct_CC
1.1 paf 3049: else
1.66 paf 3050: CC="$ac_cv_prog_CC"
3051: fi
1.62 paf 3052:
1.1 paf 3053: fi
1.66 paf 3054: if test -z "$CC"; then
3055: # Extract the first word of "cc", so it can be a program name with args.
3056: set dummy cc; ac_word=$2
3057: echo "$as_me:$LINENO: checking for $ac_word" >&5
3058: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3059: if test "${ac_cv_prog_CC+set}" = set; then
3060: echo $ECHO_N "(cached) $ECHO_C" >&6
3061: else
3062: if test -n "$CC"; then
3063: ac_cv_prog_CC="$CC" # Let the user override the test.
3064: else
3065: ac_prog_rejected=no
3066: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3067: for as_dir in $PATH
3068: do
3069: IFS=$as_save_IFS
3070: test -z "$as_dir" && as_dir=.
3071: for ac_exec_ext in '' $ac_executable_extensions; do
3072: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3073: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3074: ac_prog_rejected=yes
3075: continue
3076: fi
3077: ac_cv_prog_CC="cc"
3078: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3079: break 2
3080: fi
3081: done
1.62 paf 3082: done
3083:
1.66 paf 3084: if test $ac_prog_rejected = yes; then
3085: # We found a bogon in the path, so make sure we never use it.
3086: set dummy $ac_cv_prog_CC
3087: shift
3088: if test $# != 0; then
3089: # We chose a different compiler from the bogus one.
3090: # However, it has the same basename, so the bogon will be chosen
3091: # first if we set CC to just the basename; use the full file name.
3092: shift
3093: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3094: fi
3095: fi
3096: fi
3097: fi
3098: CC=$ac_cv_prog_CC
3099: if test -n "$CC"; then
3100: echo "$as_me:$LINENO: result: $CC" >&5
3101: echo "${ECHO_T}$CC" >&6
3102: else
3103: echo "$as_me:$LINENO: result: no" >&5
3104: echo "${ECHO_T}no" >&6
1.1 paf 3105: fi
3106:
1.66 paf 3107: fi
3108: if test -z "$CC"; then
3109: if test -n "$ac_tool_prefix"; then
3110: for ac_prog in cl
1.62 paf 3111: do
3112: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3113: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3114: echo "$as_me:$LINENO: checking for $ac_word" >&5
3115: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66 paf 3116: if test "${ac_cv_prog_CC+set}" = set; then
1.62 paf 3117: echo $ECHO_N "(cached) $ECHO_C" >&6
3118: else
1.66 paf 3119: if test -n "$CC"; then
3120: ac_cv_prog_CC="$CC" # Let the user override the test.
1.62 paf 3121: else
3122: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3123: for as_dir in $PATH
3124: do
3125: IFS=$as_save_IFS
3126: test -z "$as_dir" && as_dir=.
3127: for ac_exec_ext in '' $ac_executable_extensions; do
3128: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66 paf 3129: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.62 paf 3130: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3131: break 2
3132: fi
3133: done
3134: done
1.1 paf 3135:
1.62 paf 3136: fi
3137: fi
1.66 paf 3138: CC=$ac_cv_prog_CC
3139: if test -n "$CC"; then
3140: echo "$as_me:$LINENO: result: $CC" >&5
3141: echo "${ECHO_T}$CC" >&6
1.1 paf 3142: else
1.62 paf 3143: echo "$as_me:$LINENO: result: no" >&5
3144: echo "${ECHO_T}no" >&6
1.1 paf 3145: fi
3146:
1.66 paf 3147: test -n "$CC" && break
1.62 paf 3148: done
3149: fi
1.66 paf 3150: if test -z "$CC"; then
3151: ac_ct_CC=$CC
3152: for ac_prog in cl
1.62 paf 3153: do
3154: # Extract the first word of "$ac_prog", so it can be a program name with args.
3155: set dummy $ac_prog; ac_word=$2
3156: echo "$as_me:$LINENO: checking for $ac_word" >&5
3157: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66 paf 3158: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.62 paf 3159: echo $ECHO_N "(cached) $ECHO_C" >&6
3160: else
1.66 paf 3161: if test -n "$ac_ct_CC"; then
3162: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1 paf 3163: else
1.62 paf 3164: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3165: for as_dir in $PATH
3166: do
3167: IFS=$as_save_IFS
3168: test -z "$as_dir" && as_dir=.
3169: for ac_exec_ext in '' $ac_executable_extensions; do
3170: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66 paf 3171: ac_cv_prog_ac_ct_CC="$ac_prog"
1.62 paf 3172: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3173: break 2
3174: fi
3175: done
3176: done
3177:
3178: fi
3179: fi
1.66 paf 3180: ac_ct_CC=$ac_cv_prog_ac_ct_CC
3181: if test -n "$ac_ct_CC"; then
3182: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3183: echo "${ECHO_T}$ac_ct_CC" >&6
1.1 paf 3184: else
1.62 paf 3185: echo "$as_me:$LINENO: result: no" >&5
3186: echo "${ECHO_T}no" >&6
1.1 paf 3187: fi
3188:
1.66 paf 3189: test -n "$ac_ct_CC" && break
3190: done
3191:
3192: CC=$ac_ct_CC
3193: fi
3194:
3195: fi
1.62 paf 3196:
1.1 paf 3197:
1.66 paf 3198: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3199: See \`config.log' for more details." >&5
3200: echo "$as_me: error: no acceptable C compiler found in \$PATH
3201: See \`config.log' for more details." >&2;}
3202: { (exit 1); exit 1; }; }
1.62 paf 3203:
3204: # Provide some information about the compiler.
3205: echo "$as_me:$LINENO:" \
1.66 paf 3206: "checking for C compiler version" >&5
1.62 paf 3207: ac_compiler=`set X $ac_compile; echo $2`
3208: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3209: (eval $ac_compiler --version </dev/null >&5) 2>&5
3210: ac_status=$?
3211: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212: (exit $ac_status); }
3213: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3214: (eval $ac_compiler -v </dev/null >&5) 2>&5
3215: ac_status=$?
3216: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217: (exit $ac_status); }
3218: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3219: (eval $ac_compiler -V </dev/null >&5) 2>&5
3220: ac_status=$?
3221: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222: (exit $ac_status); }
3223:
1.66 paf 3224: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3225: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3226: if test "${ac_cv_c_compiler_gnu+set}" = set; then
1.62 paf 3227: echo $ECHO_N "(cached) $ECHO_C" >&6
3228: else
3229: cat >conftest.$ac_ext <<_ACEOF
3230: /* confdefs.h. */
3231: _ACEOF
3232: cat confdefs.h >>conftest.$ac_ext
3233: cat >>conftest.$ac_ext <<_ACEOF
3234: /* end confdefs.h. */
3235:
3236: int
3237: main ()
3238: {
3239: #ifndef __GNUC__
3240: choke me
3241: #endif
3242:
3243: ;
3244: return 0;
3245: }
3246: _ACEOF
3247: rm -f conftest.$ac_objext
3248: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86 paf 3249: (eval $ac_compile) 2>conftest.er1
1.62 paf 3250: ac_status=$?
1.86 paf 3251: grep -v '^ *+' conftest.er1 >conftest.err
3252: rm -f conftest.er1
3253: cat conftest.err >&5
1.62 paf 3254: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255: (exit $ac_status); } &&
1.86 paf 3256: { ac_try='test -z "$ac_c_werror_flag"
3257: || test ! -s conftest.err'
3258: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3259: (eval $ac_try) 2>&5
3260: ac_status=$?
3261: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3262: (exit $ac_status); }; } &&
3263: { ac_try='test -s conftest.$ac_objext'
1.62 paf 3264: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3265: (eval $ac_try) 2>&5
3266: ac_status=$?
3267: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268: (exit $ac_status); }; }; then
3269: ac_compiler_gnu=yes
3270: else
3271: echo "$as_me: failed program was:" >&5
3272: sed 's/^/| /' conftest.$ac_ext >&5
3273:
3274: ac_compiler_gnu=no
3275: fi
1.86 paf 3276: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66 paf 3277: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.62 paf 3278:
3279: fi
1.66 paf 3280: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3281: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3282: GCC=`test $ac_compiler_gnu = yes && echo yes`
3283: ac_test_CFLAGS=${CFLAGS+set}
3284: ac_save_CFLAGS=$CFLAGS
3285: CFLAGS="-g"
3286: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3287: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3288: if test "${ac_cv_prog_cc_g+set}" = set; then
1.62 paf 3289: echo $ECHO_N "(cached) $ECHO_C" >&6
3290: else
3291: cat >conftest.$ac_ext <<_ACEOF
3292: /* confdefs.h. */
3293: _ACEOF
3294: cat confdefs.h >>conftest.$ac_ext
3295: cat >>conftest.$ac_ext <<_ACEOF
3296: /* end confdefs.h. */
3297:
3298: int
3299: main ()
3300: {
3301:
3302: ;
3303: return 0;
3304: }
3305: _ACEOF
3306: rm -f conftest.$ac_objext
3307: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86 paf 3308: (eval $ac_compile) 2>conftest.er1
1.62 paf 3309: ac_status=$?
1.86 paf 3310: grep -v '^ *+' conftest.er1 >conftest.err
3311: rm -f conftest.er1
3312: cat conftest.err >&5
1.62 paf 3313: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314: (exit $ac_status); } &&
1.86 paf 3315: { ac_try='test -z "$ac_c_werror_flag"
3316: || test ! -s conftest.err'
3317: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3318: (eval $ac_try) 2>&5
3319: ac_status=$?
3320: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321: (exit $ac_status); }; } &&
3322: { ac_try='test -s conftest.$ac_objext'
1.62 paf 3323: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3324: (eval $ac_try) 2>&5
3325: ac_status=$?
3326: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327: (exit $ac_status); }; }; then
1.66 paf 3328: ac_cv_prog_cc_g=yes
1.62 paf 3329: else
3330: echo "$as_me: failed program was:" >&5
3331: sed 's/^/| /' conftest.$ac_ext >&5
3332:
1.66 paf 3333: ac_cv_prog_cc_g=no
1.62 paf 3334: fi
1.86 paf 3335: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62 paf 3336: fi
1.66 paf 3337: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3338: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3339: if test "$ac_test_CFLAGS" = set; then
3340: CFLAGS=$ac_save_CFLAGS
3341: elif test $ac_cv_prog_cc_g = yes; then
3342: if test "$GCC" = yes; then
3343: CFLAGS="-g -O2"
1.1 paf 3344: else
1.66 paf 3345: CFLAGS="-g"
1.1 paf 3346: fi
3347: else
1.66 paf 3348: if test "$GCC" = yes; then
3349: CFLAGS="-O2"
1.1 paf 3350: else
1.66 paf 3351: CFLAGS=
1.1 paf 3352: fi
3353: fi
1.66 paf 3354: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3355: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3356: if test "${ac_cv_prog_cc_stdc+set}" = set; then
3357: echo $ECHO_N "(cached) $ECHO_C" >&6
3358: else
3359: ac_cv_prog_cc_stdc=no
3360: ac_save_CC=$CC
3361: cat >conftest.$ac_ext <<_ACEOF
3362: /* confdefs.h. */
3363: _ACEOF
3364: cat confdefs.h >>conftest.$ac_ext
3365: cat >>conftest.$ac_ext <<_ACEOF
3366: /* end confdefs.h. */
3367: #include <stdarg.h>
3368: #include <stdio.h>
3369: #include <sys/types.h>
3370: #include <sys/stat.h>
3371: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3372: struct buf { int x; };
3373: FILE * (*rcsopen) (struct buf *, struct stat *, int);
3374: static char *e (p, i)
3375: char **p;
3376: int i;
3377: {
3378: return p[i];
3379: }
3380: static char *f (char * (*g) (char **, int), char **p, ...)
3381: {
3382: char *s;
3383: va_list v;
3384: va_start (v,p);
3385: s = g (p, va_arg (v,int));
3386: va_end (v);
3387: return s;
3388: }
1.86 paf 3389:
3390: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3391: function prototypes and stuff, but not '\xHH' hex character constants.
3392: These don't provoke an error unfortunately, instead are silently treated
3393: as 'x'. The following induces an error, until -std1 is added to get
3394: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3395: array size at least. It's necessary to write '\x00'==0 to get something
3396: that's true only with -std1. */
3397: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3398:
1.66 paf 3399: int test (int i, double x);
3400: struct s1 {int (*f) (int a);};
3401: struct s2 {int (*f) (double a);};
3402: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3403: int argc;
3404: char **argv;
3405: int
3406: main ()
3407: {
3408: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3409: ;
3410: return 0;
3411: }
3412: _ACEOF
3413: # Don't try gcc -ansi; that turns off useful extensions and
3414: # breaks some systems' header files.
3415: # AIX -qlanglvl=ansi
3416: # Ultrix and OSF/1 -std1
3417: # HP-UX 10.20 and later -Ae
3418: # HP-UX older versions -Aa -D_HPUX_SOURCE
3419: # SVR4 -Xc -D__EXTENSIONS__
3420: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3421: do
3422: CC="$ac_save_CC $ac_arg"
3423: rm -f conftest.$ac_objext
3424: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86 paf 3425: (eval $ac_compile) 2>conftest.er1
1.66 paf 3426: ac_status=$?
1.86 paf 3427: grep -v '^ *+' conftest.er1 >conftest.err
3428: rm -f conftest.er1
3429: cat conftest.err >&5
1.66 paf 3430: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3431: (exit $ac_status); } &&
1.86 paf 3432: { ac_try='test -z "$ac_c_werror_flag"
3433: || test ! -s conftest.err'
3434: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3435: (eval $ac_try) 2>&5
3436: ac_status=$?
3437: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3438: (exit $ac_status); }; } &&
3439: { ac_try='test -s conftest.$ac_objext'
1.66 paf 3440: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3441: (eval $ac_try) 2>&5
3442: ac_status=$?
3443: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444: (exit $ac_status); }; }; then
3445: ac_cv_prog_cc_stdc=$ac_arg
3446: break
3447: else
3448: echo "$as_me: failed program was:" >&5
3449: sed 's/^/| /' conftest.$ac_ext >&5
3450:
3451: fi
1.86 paf 3452: rm -f conftest.err conftest.$ac_objext
1.66 paf 3453: done
3454: rm -f conftest.$ac_ext conftest.$ac_objext
3455: CC=$ac_save_CC
3456:
3457: fi
3458:
3459: case "x$ac_cv_prog_cc_stdc" in
3460: x|xno)
3461: echo "$as_me:$LINENO: result: none needed" >&5
3462: echo "${ECHO_T}none needed" >&6 ;;
3463: *)
3464: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3465: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3466: CC="$CC $ac_cv_prog_cc_stdc" ;;
3467: esac
3468:
3469: # Some people use a C++ compiler to compile C. Since we use `exit',
3470: # in C++ we need to declare it. In case someone uses the same compiler
3471: # for both compiling C and C++ we need to have the C++ compiler decide
3472: # the declaration of exit, since it's the most demanding environment.
3473: cat >conftest.$ac_ext <<_ACEOF
3474: #ifndef __cplusplus
3475: choke me
3476: #endif
3477: _ACEOF
3478: rm -f conftest.$ac_objext
3479: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86 paf 3480: (eval $ac_compile) 2>conftest.er1
1.66 paf 3481: ac_status=$?
1.86 paf 3482: grep -v '^ *+' conftest.er1 >conftest.err
3483: rm -f conftest.er1
3484: cat conftest.err >&5
1.66 paf 3485: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486: (exit $ac_status); } &&
1.86 paf 3487: { ac_try='test -z "$ac_c_werror_flag"
3488: || test ! -s conftest.err'
3489: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3490: (eval $ac_try) 2>&5
3491: ac_status=$?
3492: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493: (exit $ac_status); }; } &&
3494: { ac_try='test -s conftest.$ac_objext'
1.66 paf 3495: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3496: (eval $ac_try) 2>&5
3497: ac_status=$?
3498: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3499: (exit $ac_status); }; }; then
3500: for ac_declaration in \
1.86 paf 3501: '' \
1.62 paf 3502: 'extern "C" void std::exit (int) throw (); using std::exit;' \
3503: 'extern "C" void std::exit (int); using std::exit;' \
3504: 'extern "C" void exit (int) throw ();' \
3505: 'extern "C" void exit (int);' \
3506: 'void exit (int);'
3507: do
3508: cat >conftest.$ac_ext <<_ACEOF
3509: /* confdefs.h. */
3510: _ACEOF
3511: cat confdefs.h >>conftest.$ac_ext
3512: cat >>conftest.$ac_ext <<_ACEOF
3513: /* end confdefs.h. */
1.86 paf 3514: $ac_declaration
1.62 paf 3515: #include <stdlib.h>
3516: int
3517: main ()
3518: {
3519: exit (42);
3520: ;
3521: return 0;
3522: }
3523: _ACEOF
3524: rm -f conftest.$ac_objext
3525: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86 paf 3526: (eval $ac_compile) 2>conftest.er1
1.62 paf 3527: ac_status=$?
1.86 paf 3528: grep -v '^ *+' conftest.er1 >conftest.err
3529: rm -f conftest.er1
3530: cat conftest.err >&5
1.62 paf 3531: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3532: (exit $ac_status); } &&
1.86 paf 3533: { ac_try='test -z "$ac_c_werror_flag"
3534: || test ! -s conftest.err'
3535: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3536: (eval $ac_try) 2>&5
3537: ac_status=$?
3538: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3539: (exit $ac_status); }; } &&
3540: { ac_try='test -s conftest.$ac_objext'
1.62 paf 3541: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3542: (eval $ac_try) 2>&5
3543: ac_status=$?
3544: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545: (exit $ac_status); }; }; then
3546: :
3547: else
3548: echo "$as_me: failed program was:" >&5
3549: sed 's/^/| /' conftest.$ac_ext >&5
3550:
3551: continue
3552: fi
1.86 paf 3553: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62 paf 3554: cat >conftest.$ac_ext <<_ACEOF
3555: /* confdefs.h. */
3556: _ACEOF
3557: cat confdefs.h >>conftest.$ac_ext
3558: cat >>conftest.$ac_ext <<_ACEOF
3559: /* end confdefs.h. */
3560: $ac_declaration
3561: int
3562: main ()
3563: {
3564: exit (42);
3565: ;
3566: return 0;
3567: }
3568: _ACEOF
3569: rm -f conftest.$ac_objext
3570: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86 paf 3571: (eval $ac_compile) 2>conftest.er1
1.62 paf 3572: ac_status=$?
1.86 paf 3573: grep -v '^ *+' conftest.er1 >conftest.err
3574: rm -f conftest.er1
3575: cat conftest.err >&5
1.62 paf 3576: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577: (exit $ac_status); } &&
1.86 paf 3578: { ac_try='test -z "$ac_c_werror_flag"
3579: || test ! -s conftest.err'
3580: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3581: (eval $ac_try) 2>&5
3582: ac_status=$?
3583: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3584: (exit $ac_status); }; } &&
3585: { ac_try='test -s conftest.$ac_objext'
1.62 paf 3586: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3587: (eval $ac_try) 2>&5
3588: ac_status=$?
3589: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590: (exit $ac_status); }; }; then
3591: break
3592: else
3593: echo "$as_me: failed program was:" >&5
3594: sed 's/^/| /' conftest.$ac_ext >&5
3595:
3596: fi
1.86 paf 3597: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62 paf 3598: done
3599: rm -f conftest*
3600: if test -n "$ac_declaration"; then
3601: echo '#ifdef __cplusplus' >>confdefs.h
3602: echo $ac_declaration >>confdefs.h
3603: echo '#endif' >>confdefs.h
3604: fi
3605:
1.66 paf 3606: else
3607: echo "$as_me: failed program was:" >&5
3608: sed 's/^/| /' conftest.$ac_ext >&5
3609:
3610: fi
1.86 paf 3611: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62 paf 3612: ac_ext=c
3613: ac_cpp='$CPP $CPPFLAGS'
3614: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3615: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3616: ac_compiler_gnu=$ac_cv_c_compiler_gnu
3617:
1.66 paf 3618: depcc="$CC" am_compiler_list=
1.62 paf 3619:
3620: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3621: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
1.66 paf 3622: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
1.62 paf 3623: echo $ECHO_N "(cached) $ECHO_C" >&6
3624: else
3625: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3626: # We make a subdir and do the tests there. Otherwise we can end up
3627: # making bogus files that we don't know about and never remove. For
3628: # instance it was reported that on HP-UX the gcc test will end up
3629: # making a dummy file named `D' -- because `-MD' means `put the output
3630: # in D'.
3631: mkdir conftest.dir
3632: # Copy depcomp to subdir because otherwise we won't find it if we're
3633: # using a relative directory.
3634: cp "$am_depcomp" conftest.dir
3635: cd conftest.dir
1.86 paf 3636: # We will build objects and dependencies in a subdirectory because
3637: # it helps to detect inapplicable dependency modes. For instance
3638: # both Tru64's cc and ICC support -MD to output dependencies as a
3639: # side effect of compilation, but ICC will put the dependencies in
3640: # the current directory while Tru64 will put them in the object
3641: # directory.
3642: mkdir sub
1.62 paf 3643:
1.66 paf 3644: am_cv_CC_dependencies_compiler_type=none
1.62 paf 3645: if test "$am_compiler_list" = ""; then
3646: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3647: fi
3648: for depmode in $am_compiler_list; do
1.86 paf 3649: # Setup a source with many dependencies, because some compilers
3650: # like to wrap large dependency lists on column 80 (with \), and
3651: # we should not choose a depcomp mode which is confused by this.
3652: #
1.62 paf 3653: # We need to recreate these files for each test, as the compiler may
3654: # overwrite some of them when testing with obscure command lines.
3655: # This happens at least with the AIX C compiler.
1.86 paf 3656: : > sub/conftest.c
3657: for i in 1 2 3 4 5 6; do
3658: echo '#include "conftst'$i'.h"' >> sub/conftest.c
3659: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3660: # Solaris 8's {/usr,}/bin/sh.
3661: touch sub/conftst$i.h
3662: done
3663: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62 paf 3664:
3665: case $depmode in
3666: nosideeffect)
3667: # after this tag, mechanisms are not by side-effect, so they'll
3668: # only be used when explicitly requested
3669: if test "x$enable_dependency_tracking" = xyes; then
3670: continue
3671: else
3672: break
3673: fi
3674: ;;
3675: none) break ;;
3676: esac
3677: # We check with `-c' and `-o' for the sake of the "dashmstdout"
3678: # mode. It turns out that the SunPro C++ compiler does not properly
3679: # handle `-M -o', and we need to detect this.
1.66 paf 3680: if depmode=$depmode \
1.86 paf 3681: source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3682: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3683: $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3684: >/dev/null 2>conftest.err &&
3685: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3686: grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.66 paf 3687: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86 paf 3688: # icc doesn't choke on unknown options, it will just issue warnings
3689: # or remarks (even with -Werror). So we grep stderr for any message
3690: # that says an option was ignored or not supported.
3691: # When given -MP, icc 7.0 and 7.1 complain thusly:
3692: # icc: Command line warning: ignoring option '-M'; no argument required
3693: # The diagnosis changed in icc 8.0:
3694: # icc: Command line remark: option '-MP' not supported
3695: if (grep 'ignoring option' conftest.err ||
3696: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3697: am_cv_CC_dependencies_compiler_type=$depmode
3698: break
3699: fi
1.66 paf 3700: fi
3701: done
3702:
3703: cd ..
3704: rm -rf conftest.dir
3705: else
3706: am_cv_CC_dependencies_compiler_type=none
3707: fi
3708:
3709: fi
3710: echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3711: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3712: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3713:
3714:
3715:
3716: if
3717: test "x$enable_dependency_tracking" != xno \
3718: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3719: am__fastdepCC_TRUE=
3720: am__fastdepCC_FALSE='#'
3721: else
3722: am__fastdepCC_TRUE='#'
3723: am__fastdepCC_FALSE=
3724: fi
3725:
3726:
3727: ac_ext=c
3728: ac_cpp='$CPP $CPPFLAGS'
3729: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3730: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3731: ac_compiler_gnu=$ac_cv_c_compiler_gnu
3732:
1.67 paf 3733:
1.66 paf 3734: echo "$as_me:$LINENO: checking for inline" >&5
3735: echo $ECHO_N "checking for inline... $ECHO_C" >&6
3736: if test "${ac_cv_c_inline+set}" = set; then
3737: echo $ECHO_N "(cached) $ECHO_C" >&6
3738: else
3739: ac_cv_c_inline=no
3740: for ac_kw in inline __inline__ __inline; do
3741: cat >conftest.$ac_ext <<_ACEOF
3742: /* confdefs.h. */
3743: _ACEOF
3744: cat confdefs.h >>conftest.$ac_ext
3745: cat >>conftest.$ac_ext <<_ACEOF
3746: /* end confdefs.h. */
3747: #ifndef __cplusplus
3748: typedef int foo_t;
3749: static $ac_kw foo_t static_foo () {return 0; }
3750: $ac_kw foo_t foo () {return 0; }
3751: #endif
1.62 paf 3752:
1.66 paf 3753: _ACEOF
3754: rm -f conftest.$ac_objext
3755: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86 paf 3756: (eval $ac_compile) 2>conftest.er1
1.66 paf 3757: ac_status=$?
1.86 paf 3758: grep -v '^ *+' conftest.er1 >conftest.err
3759: rm -f conftest.er1
3760: cat conftest.err >&5
1.66 paf 3761: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3762: (exit $ac_status); } &&
1.86 paf 3763: { ac_try='test -z "$ac_c_werror_flag"
3764: || test ! -s conftest.err'
3765: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3766: (eval $ac_try) 2>&5
3767: ac_status=$?
3768: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769: (exit $ac_status); }; } &&
3770: { ac_try='test -s conftest.$ac_objext'
1.66 paf 3771: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3772: (eval $ac_try) 2>&5
3773: ac_status=$?
3774: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3775: (exit $ac_status); }; }; then
3776: ac_cv_c_inline=$ac_kw; break
1.62 paf 3777: else
1.66 paf 3778: echo "$as_me: failed program was:" >&5
3779: sed 's/^/| /' conftest.$ac_ext >&5
1.62 paf 3780:
3781: fi
1.86 paf 3782: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66 paf 3783: done
1.62 paf 3784:
3785: fi
1.66 paf 3786: echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3787: echo "${ECHO_T}$ac_cv_c_inline" >&6
1.86 paf 3788:
3789:
1.66 paf 3790: case $ac_cv_c_inline in
3791: inline | yes) ;;
1.86 paf 3792: *)
3793: case $ac_cv_c_inline in
3794: no) ac_val=;;
3795: *) ac_val=$ac_cv_c_inline;;
3796: esac
3797: cat >>confdefs.h <<_ACEOF
3798: #ifndef __cplusplus
3799: #define inline $ac_val
3800: #endif
1.66 paf 3801: _ACEOF
1.86 paf 3802: ;;
1.66 paf 3803: esac
1.1 paf 3804:
1.71 paf 3805:
3806:
3807:
3808: # Check whether --with-build-warnings or --without-build-warnings was given.
3809: if test "${with_build_warnings+set}" = set; then
3810: withval="$with_build_warnings"
3811: { echo "$as_me:$LINENO: WARNING: enabling compiler warnings" >&5
3812: echo "$as_me: WARNING: enabling compiler warnings" >&2;}
3813: CXXFLAGS="$CXXFLAGS -W -Wall -Wstrict-prototypes -Wmissing-prototypes"
3814:
3815: fi;
1.1 paf 3816:
3817:
1.67 paf 3818:
3819: # Check whether --with-assertions or --without-assertions was given.
3820: if test "${with_assertions+set}" = set; then
3821: withval="$with_assertions"
3822: { echo "$as_me:$LINENO: WARNING: enabling assertions" >&5
3823: echo "$as_me: WARNING: enabling assertions" >&2;}
3824:
3825: else
3826:
3827: cat >>confdefs.h <<\_ACEOF
3828: #define NDEBUG
3829: _ACEOF
3830:
3831:
3832: fi;
3833:
1.94 misha 3834:
1.60 paf 3835: # Check whether --enable-safe-mode or --disable-safe-mode was given.
3836: if test "${enable_safe_mode+set}" = set; then
3837: enableval="$enable_safe_mode"
1.62 paf 3838:
1.67 paf 3839: SAFE_MODE=$enableval
1.60 paf 3840:
1.1 paf 3841:
1.62 paf 3842: fi;
1.60 paf 3843: if test "$SAFE_MODE" = "no"; then
1.62 paf 3844: { echo "$as_me:$LINENO: WARNING: enabling reading of files belonging to group+user other then effective" >&5
3845: echo "$as_me: WARNING: enabling reading of files belonging to group+user other then effective" >&2;}
1.60 paf 3846: else
1.62 paf 3847:
3848: cat >>confdefs.h <<\_ACEOF
3849: #define PA_SAFE_MODE
3850: _ACEOF
1.1 paf 3851:
3852: fi
3853:
1.94 misha 3854:
1.13 paf 3855: # Check whether --enable-execs or --disable-execs was given.
3856: if test "${enable_execs+set}" = set; then
3857: enableval="$enable_execs"
1.62 paf 3858:
1.13 paf 3859: if test "$enableval" = "no"; then
1.62 paf 3860: { echo "$as_me:$LINENO: WARNING: disabling file execs" >&5
3861: echo "$as_me: WARNING: disabling file execs" >&2;}
3862:
3863: cat >>confdefs.h <<\_ACEOF
3864: #define NO_PA_EXECS
3865: _ACEOF
1.13 paf 3866:
3867: fi
3868:
3869:
1.62 paf 3870: fi;
1.13 paf 3871:
1.60 paf 3872:
1.94 misha 3873: # Check whether --enable-stringstream or --disable-stringstream was given.
3874: if test "${enable_stringstream+set}" = set; then
3875: enableval="$enable_stringstream"
3876:
3877: if test "$enableval" = "no"; then
3878: { echo "$as_me:$LINENO: WARNING: disabling stringstream usage" >&5
3879: echo "$as_me: WARNING: disabling stringstream usage" >&2;}
3880:
3881: cat >>confdefs.h <<\_ACEOF
3882: #define NO_STRINGSTREAM
3883: _ACEOF
3884:
3885: fi
3886:
3887:
3888: fi;
3889:
3890:
1.18 paf 3891: srccharsetsdir=$srcdir/etc/parser3.charsets
1.17 paf 3892: CHARSETS_REQUESTED="windows-1251"
1.62 paf 3893:
1.17 paf 3894: # Check whether --with-charsets or --without-charsets was given.
3895: if test "${with_charsets+set}" = set; then
3896: withval="$with_charsets"
3897: CHARSETS_REQUESTED=`echo $withval | sed -e 's/,/ /g'`
1.62 paf 3898: fi;
1.17 paf 3899:
1.18 paf 3900: # Checking whether all requested charsets have corresponding .cfg files
3901: for c in $CHARSETS_REQUESTED; do
3902: if test \! -f $srccharsetsdir/$c.cfg; then
1.62 paf 3903: { { echo "$as_me:$LINENO: error: bad charset requested \"$c\" - file $srccharsetsdir/$c.cfg not found" >&5
3904: echo "$as_me: error: bad charset requested \"$c\" - file $srccharsetsdir/$c.cfg not found" >&2;}
3905: { (exit 1); exit 1; }; }
1.18 paf 3906: fi
3907: done
1.17 paf 3908:
1.18 paf 3909: # Switching on commentcharset_XXX='#'
1.17 paf 3910:
3911:
3912: commentcharset_windows1251='#'
1.18 paf 3913: for c in $CHARSETS_REQUESTED; do
1.17 paf 3914: if test "windows-1251" = "$c"; then
1.62 paf 3915: { echo "$as_me:$LINENO: WARNING: enabling charset windows-1251" >&5
3916: echo "$as_me: WARNING: enabling charset windows-1251" >&2;}
1.18 paf 3917: commentcharset_windows1251=
1.17 paf 3918: fi
3919: done
1.62 paf 3920:
1.17 paf 3921:
3922:
3923: commentcharset_windows1250='#'
1.18 paf 3924: for c in $CHARSETS_REQUESTED; do
1.17 paf 3925: if test "windows-1250" = "$c"; then
1.62 paf 3926: { echo "$as_me:$LINENO: WARNING: enabling charset windows-1250" >&5
3927: echo "$as_me: WARNING: enabling charset windows-1250" >&2;}
1.18 paf 3928: commentcharset_windows1250=
1.17 paf 3929: fi
3930: done
1.62 paf 3931:
1.17 paf 3932:
3933:
3934: commentcharset_windows1257='#'
1.18 paf 3935: for c in $CHARSETS_REQUESTED; do
1.17 paf 3936: if test "windows-1257" = "$c"; then
1.62 paf 3937: { echo "$as_me:$LINENO: WARNING: enabling charset windows-1257" >&5
3938: echo "$as_me: WARNING: enabling charset windows-1257" >&2;}
1.18 paf 3939: commentcharset_windows1257=
1.17 paf 3940: fi
3941: done
1.62 paf 3942:
1.17 paf 3943:
3944:
3945: commentcharset_koi8r='#'
1.18 paf 3946: for c in $CHARSETS_REQUESTED; do
1.17 paf 3947: if test "koi8-r" = "$c"; then
1.62 paf 3948: { echo "$as_me:$LINENO: WARNING: enabling charset koi8-r" >&5
3949: echo "$as_me: WARNING: enabling charset koi8-r" >&2;}
1.18 paf 3950: commentcharset_koi8r=
1.17 paf 3951: fi
3952: done
3953:
3954:
3955:
1.62 paf 3956:
3957: echo "$as_me:$LINENO: checking for dynamic-link library extension" >&5
3958: echo $ECHO_N "checking for dynamic-link library extension... $ECHO_C" >&6
1.40 paf 3959: case "$host_os" in
3960: hpux9* | hpux10* | hpux11*)
1.67 paf 3961: dll_extension=sl
3962: ;;
1.40 paf 3963: cygwin)
1.67 paf 3964: dll_extension=dll
3965: ;;
1.40 paf 3966: *)
1.67 paf 3967: dll_extension=so
1.40 paf 3968: esac
1.62 paf 3969: echo "$as_me:$LINENO: result: $dll_extension" >&5
3970: echo "${ECHO_T}$dll_extension" >&6
3971:
1.40 paf 3972:
3973:
1.17 paf 3974: # Check whether --with-mysql-client or --without-mysql-client was given.
3975: if test "${with_mysql_client+set}" = set; then
3976: withval="$with_mysql_client"
3977: mysql_client=$withval
3978:
3979: else
1.62 paf 3980: echo "$as_me:$LINENO: checking for mysql client" >&5
3981: echo $ECHO_N "checking for mysql client... $ECHO_C" >&6
1.17 paf 3982: for lib in \
1.40 paf 3983: /usr/local/lib/mysql/libmysqlclient.$dll_extension \
3984: /usr/local/lib/libmysqlclient.$dll_extension \
3985: /usr/lib/libmysqlclient.$dll_extension; do
1.17 paf 3986: if test -f $lib; then mysql_client=$lib; fi
3987: done
3988:
3989: if test -z "$mysql_client"; then
3990: mysql_client="-configure could not guess-"
1.66 paf 3991: echo "$as_me:$LINENO: result: could not guess" >&5
3992: echo "${ECHO_T}could not guess" >&6
1.17 paf 3993: else
1.62 paf 3994: echo "$as_me:$LINENO: result: $mysql_client" >&5
3995: echo "${ECHO_T}$mysql_client" >&6
1.17 paf 3996: fi
3997:
3998:
1.62 paf 3999: fi;
1.17 paf 4000:
4001:
4002:
1.92 misha 4003:
1.17 paf 4004: # Check whether --with-pgsql-client or --without-pgsql-client was given.
4005: if test "${with_pgsql_client+set}" = set; then
4006: withval="$with_pgsql_client"
1.92 misha 4007: pgsql_client=$withval
1.17 paf 4008:
4009: else
1.62 paf 4010: echo "$as_me:$LINENO: checking for pgsql client" >&5
4011: echo $ECHO_N "checking for pgsql client... $ECHO_C" >&6
1.17 paf 4012: for lib in \
1.40 paf 4013: /usr/local/pgsql/lib/libpq.$dll_extension \
4014: /usr/local/lib/libpq.$dll_extension \
4015: /usr/lib/libpq.$dll_extension; do
1.17 paf 4016: if test -f $lib; then pgsql_client=$lib; fi
4017: done
4018:
4019: if test -z "$pgsql_client"; then
4020: pgsql_client="-configure could not guess-"
1.66 paf 4021: echo "$as_me:$LINENO: result: could not guess" >&5
4022: echo "${ECHO_T}could not guess" >&6
1.17 paf 4023: else
1.62 paf 4024: echo "$as_me:$LINENO: result: $pgsql_client" >&5
4025: echo "${ECHO_T}$pgsql_client" >&6
1.17 paf 4026: fi
4027:
4028:
1.62 paf 4029: fi;
1.17 paf 4030:
4031:
4032:
1.92 misha 4033:
1.17 paf 4034: # Check whether --with-oracle-client or --without-oracle-client was given.
4035: if test "${with_oracle_client+set}" = set; then
4036: withval="$with_oracle_client"
4037: oracle_client=$withval
4038:
4039: else
1.62 paf 4040: echo "$as_me:$LINENO: checking for oracle client" >&5
4041: echo $ECHO_N "checking for oracle client... $ECHO_C" >&6
1.40 paf 4042: lib=$ORACLE_HOME/lib/libclntsh.$dll_extension
1.17 paf 4043: if test -f $lib; then oracle_client=$lib; fi
4044:
4045: if test -z "$oracle_client"; then
4046: oracle_client="-configure could not guess-"
1.66 paf 4047: echo "$as_me:$LINENO: result: could not guess" >&5
4048: echo "${ECHO_T}could not guess" >&6
1.17 paf 4049: else
4050: oracle_client="$oracle_client?ORACLE_HOME=$ORACLE_HOME&ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data"
1.62 paf 4051: echo "$as_me:$LINENO: result: $oracle_client" >&5
4052: echo "${ECHO_T}$oracle_client" >&6
1.17 paf 4053: fi
4054:
4055:
1.62 paf 4056: fi;
1.17 paf 4057:
4058:
4059:
4060:
1.92 misha 4061: # Check whether --with-sqlite-client or --without-sqlite-client was given.
4062: if test "${with_sqlite_client+set}" = set; then
4063: withval="$with_sqlite_client"
4064: sqlite_client=$withval
4065:
4066: else
4067: echo "$as_me:$LINENO: checking for sqlite_client client" >&5
4068: echo $ECHO_N "checking for sqlite_client client... $ECHO_C" >&6
4069: for lib in \
4070: /usr/local/sqlite/lib/sqlite3.$dll_extension \
4071: /usr/local/lib/sqlite3.$dll_extension \
4072: /usr/lib/sqlite3.$dll_extension; do
4073: if test -f $lib; then sqlite_client=$lib; fi
4074: done
4075:
4076: if test -z "$sqlite_client"; then
4077: sqlite_client="-configure could not guess-"
4078: echo "$as_me:$LINENO: result: could not guess" >&5
4079: echo "${ECHO_T}could not guess" >&6
4080: else
4081: echo "$as_me:$LINENO: result: $sqlite_client" >&5
4082: echo "${ECHO_T}$sqlite_client" >&6
4083: fi
4084:
4085:
4086: fi;
4087:
4088:
4089:
4090:
1.14 paf 4091:
1.1 paf 4092: # Check whether --with-pathlink or --without-pathlink was given.
4093: if test "${with_pathlink+set}" = set; then
4094: withval="$with_pathlink"
4095: LD_PATHLINK=$withval
4096:
1.62 paf 4097: fi;
1.1 paf 4098:
1.67 paf 4099: # Check whether --with-dynamic-stdcpp or --without-dynamic-stdcpp was given.
4100: if test "${with_dynamic_stdcpp+set}" = set; then
4101: withval="$with_dynamic_stdcpp"
1.59 paf 4102:
1.67 paf 4103: { echo "$as_me:$LINENO: WARNING: libstdc++ will be linked dynamically: this is probably incompatible with other platforms" >&5
4104: echo "$as_me: WARNING: libstdc++ will be linked dynamically: this is probably incompatible with other platforms" >&2;}
4105: # this is for apache, it's linked with gcc and need to know
4106: # and it would not harm linking with c++ toolchain
4107: CPP_LIBS="-lstdc++"
1.59 paf 4108:
4109: else
4110:
1.67 paf 4111: CPP_LIBS="-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic"
1.59 paf 4112:
1.67 paf 4113: fi;
1.59 paf 4114:
1.62 paf 4115:
4116:
1.37 paf 4117: # Check whether --with-sjlj-exceptions or --without-sjlj-exceptions was given.
4118: if test "${with_sjlj_exceptions+set}" = set; then
4119: withval="$with_sjlj_exceptions"
1.62 paf 4120:
4121: cat >>confdefs.h <<\_ACEOF
4122: #define PA_WITH_SJLJ_EXCEPTIONS
4123: _ACEOF
1.37 paf 4124:
4125:
1.62 paf 4126: fi;
1.37 paf 4127:
1.67 paf 4128: GC_LIB_NAME=gc
4129:
4130: # Check whether --with-shared-gc or --without-shared-gc was given.
4131: if test "${with_shared_gc+set}" = set; then
4132: withval="$with_shared_gc"
4133:
4134: GC_LIBS="-L$withval -l$GC_LIB_NAME"
4135:
4136: fi;
4137:
4138: # Check whether --with-static-gc or --without-static-gc was given.
4139: if test "${with_static_gc+set}" = set; then
4140: withval="$with_static_gc"
4141:
4142: GC_LIBS="-L$withval -Wl,-Bstatic -l$GC_LIB_NAME -Wl,-Bdynamic"
4143:
4144: fi;
4145: if test -z "$GC_LIBS"; then
4146: #undefined? use any found in system
4147: GC_LIBS="-l$GC_LIB_NAME"
4148: { echo "$as_me:$LINENO: WARNING: neither --with-shared/static-gc were specified, hoping linker would find it" >&5
4149: echo "$as_me: WARNING: neither --with-shared/static-gc were specified, hoping linker would find it" >&2;}
4150: fi
4151:
4152: echo "$as_me:$LINENO: checking for libgc" >&5
4153: echo $ECHO_N "checking for libgc... $ECHO_C" >&6
4154: SAVE_LIBS=$LIBS
4155: LIBS="$LIBS $GC_LIBS"
4156: cat >conftest.$ac_ext <<_ACEOF
4157: /* confdefs.h. */
4158: _ACEOF
4159: cat confdefs.h >>conftest.$ac_ext
4160: cat >>conftest.$ac_ext <<_ACEOF
4161: /* end confdefs.h. */
4162:
4163: extern int GC_dont_gc;
4164:
4165: int
4166: main ()
4167: {
4168:
4169: GC_dont_gc=0;
4170:
4171: ;
4172: return 0;
4173: }
4174: _ACEOF
4175: rm -f conftest.$ac_objext conftest$ac_exeext
4176: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86 paf 4177: (eval $ac_link) 2>conftest.er1
1.67 paf 4178: ac_status=$?
1.86 paf 4179: grep -v '^ *+' conftest.er1 >conftest.err
4180: rm -f conftest.er1
4181: cat conftest.err >&5
1.67 paf 4182: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4183: (exit $ac_status); } &&
1.86 paf 4184: { ac_try='test -z "$ac_c_werror_flag"
4185: || test ! -s conftest.err'
4186: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4187: (eval $ac_try) 2>&5
4188: ac_status=$?
4189: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4190: (exit $ac_status); }; } &&
4191: { ac_try='test -s conftest$ac_exeext'
1.67 paf 4192: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4193: (eval $ac_try) 2>&5
4194: ac_status=$?
4195: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196: (exit $ac_status); }; }; then
4197: echo "$as_me:$LINENO: result: yes" >&5
4198: echo "${ECHO_T}yes" >&6
4199:
4200: else
4201: echo "$as_me: failed program was:" >&5
4202: sed 's/^/| /' conftest.$ac_ext >&5
4203:
4204: echo "$as_me:$LINENO: result: no" >&5
4205: echo "${ECHO_T}no" >&6
4206: { { echo "$as_me:$LINENO: error: please specify path to libgc: --with-shared-gc OR --with-static-gc" >&5
4207: echo "$as_me: error: please specify path to libgc: --with-shared-gc OR --with-static-gc" >&2;}
4208: { (exit 1); exit 1; }; }
4209:
4210: fi
1.86 paf 4211: rm -f conftest.err conftest.$ac_objext \
4212: conftest$ac_exeext conftest.$ac_ext
1.67 paf 4213:
4214: LIBS=$SAVE_LIBS
4215:
1.1 paf 4216:
1.15 paf 4217:
1.66 paf 4218: # Check whether --with-shared-xml or --without-shared-xml was given.
4219: if test "${with_shared_xml+set}" = set; then
4220: withval="$with_shared_xml"
4221:
1.67 paf 4222: GNOME_XML=$withval
4223: XMLBIN="$GNOME_XML/bin"
4224: XMLINC="$GNOME_XML/include"
4225: XMLLIB="$GNOME_XML/lib"
1.66 paf 4226:
1.67 paf 4227: if test \! -d $XMLBIN -o \! -d $XMLINC -o \! -d $XMLLIB; then
4228: { { echo "$as_me:$LINENO: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&5
1.66 paf 4229: echo "$as_me: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&2;}
4230: { (exit 1); exit 1; }; }
1.67 paf 4231: fi
1.66 paf 4232:
4233:
4234: cat >>confdefs.h <<\_ACEOF
4235: #define XML
4236: _ACEOF
4237:
4238:
1.67 paf 4239: LIBXML2_SO_NAME=`cd $XMLLIB ; ls libxml2.?? libxml2.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
4240: LIBXSLT_SO_NAME=`cd $XMLLIB ; ls libxslt.?? libxslt.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
4241: LIBEXSLT_SO_NAME=`cd $XMLLIB ; ls libexslt.?? libexslt.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
4242:
1.90 paf 4243: XML_INCLUDES="$GLIB_CFLAGS -I$XMLINC -I$XMLINC/libxml2"
4244: XML_LIBS="-L$XMLLIB -l$LIBXML2_SO_NAME -l$LIBXSLT_SO_NAME -l$LIBEXSLT_SO_NAME"
1.67 paf 4245: if test \! -z "$LD_PATHLINK"; then
1.66 paf 4246: XML_LIBS="$XML_LIBS -Wl,$LD_PATHLINK -Wl,$XMLLIB"
1.67 paf 4247: fi
1.66 paf 4248:
4249: fi;
4250:
4251: # Check whether --with-static-xml or --without-static-xml was given.
4252: if test "${with_static_xml+set}" = set; then
4253: withval="$with_static_xml"
4254:
1.67 paf 4255: GNOME_XML=$withval
4256: XMLBIN="$GNOME_XML/bin"
4257: XMLINC="$GNOME_XML/include"
4258: XMLLIB="$GNOME_XML/lib"
1.66 paf 4259:
1.67 paf 4260: if test \! -d $XMLBIN -o \! -d $XMLINC -o \! -d $XMLLIB; then
4261: { { echo "$as_me:$LINENO: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&5
1.66 paf 4262: echo "$as_me: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&2;}
4263: { (exit 1); exit 1; }; }
1.67 paf 4264: fi
1.66 paf 4265:
4266:
4267: cat >>confdefs.h <<\_ACEOF
4268: #define XML
4269: _ACEOF
4270:
4271:
1.90 paf 4272: XML_INCLUDES="$GLIB_CFLAGS -I$XMLINC -I$XMLINC/libxml2"
4273: XML_LIBS="$XMLLIB/libxslt.a $XMLLIB/libexslt.a $XMLLIB/libxml2.a"
4274:
4275: fi;
1.66 paf 4276:
4277:
4278:
4279:
1.90 paf 4280: # Check whether --with-glib-config or --without-glib-config was given.
4281: if test "${with_glib_config+set}" = set; then
4282: withval="$with_glib_config"
4283: GLIB_CONFIG=$withval
4284:
4285: fi;
1.66 paf 4286:
4287:
4288: # Check whether --with-shared-mailreceive or --without-shared-mailreceive was given.
4289: if test "${with_shared_mailreceive+set}" = set; then
4290: withval="$with_shared_mailreceive"
4291:
1.67 paf 4292: GNOME_MIME=$withval
4293: MIMEBIN="$GNOME_MIME/bin"
4294: MIMEINC="$GNOME_MIME/include"
4295: MIMELIB="$GNOME_MIME/lib"
1.66 paf 4296:
1.67 paf 4297: if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then
4298: { { echo "$as_me:$LINENO: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&5
1.66 paf 4299: echo "$as_me: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&2;}
4300: { (exit 1); exit 1; }; }
1.67 paf 4301: fi
1.66 paf 4302:
4303:
4304: cat >>confdefs.h <<\_ACEOF
4305: #define WITH_MAILRECEIVE
4306: _ACEOF
4307:
4308:
1.67 paf 4309: LIBMIME_SO_NAME=`cd $MIMELIB ; ls libgmime.?? libgmime.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
1.66 paf 4310:
1.67 paf 4311: if test -z "$GLIB_CONFIG"; then
1.90 paf 4312: GLIB_CONFIG=$XMLBIN/glib-config
1.67 paf 4313: if test \! -x $GLIB_CONFIG; then
1.90 paf 4314: GLIB_CONFIG=$XMLBIN/glib2-config
4315: if test \! -x $GLIB_CONFIG; then
4316: GLIB_CONFIG=glib-config
4317: fi
1.67 paf 4318: fi
4319: fi
4320: GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
4321: GLIB_LIBS=`$GLIB_CONFIG --libs`
1.66 paf 4322:
1.67 paf 4323: MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime"
4324: MIME_LIBS="$GLIB_LIBS -L$MIMELIB -l$LIBMIME_SO_NAME"
4325: if test \! -z "$LD_PATHLINK"; then
1.66 paf 4326: MIME_LIBS="$MIME_LIBS -Wl,$LD_PATHLINK -Wl,$MIMELIB"
1.67 paf 4327: fi
1.66 paf 4328:
4329: fi;
4330:
4331: # Check whether --with-static-mailreceive or --without-static-mailreceive was given.
4332: if test "${with_static_mailreceive+set}" = set; then
4333: withval="$with_static_mailreceive"
4334:
1.67 paf 4335: GNOME_MIME=$withval
4336: MIMEBIN="$GNOME_MIME/bin"
4337: MIMEINC="$GNOME_MIME/include"
4338: MIMELIB="$GNOME_MIME/lib"
1.66 paf 4339:
1.67 paf 4340: if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then
4341: { { echo "$as_me:$LINENO: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&5
1.66 paf 4342: echo "$as_me: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&2;}
4343: { (exit 1); exit 1; }; }
1.67 paf 4344: fi
1.66 paf 4345:
4346:
4347: cat >>confdefs.h <<\_ACEOF
4348: #define WITH_MAILRECEIVE
4349: _ACEOF
4350:
4351:
1.67 paf 4352: if test -z "$GLIB_CONFIG"; then
1.90 paf 4353: GLIB_CONFIG=$XMLBIN/glib-config
1.67 paf 4354: if test \! -x $GLIB_CONFIG; then
1.90 paf 4355: GLIB_CONFIG=$XMLBIN/glib2-config
4356: if test \! -x $GLIB_CONFIG; then
4357: GLIB_CONFIG=glib-config
4358: fi
1.67 paf 4359: fi
4360: fi
4361: GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
1.66 paf 4362:
1.67 paf 4363: GLIB_DIR=`$GLIB_CONFIG --libs | sed 's/.*-L\([^ ]*\).*/\1/'`
4364: GLIB_NAME=`$GLIB_CONFIG --libs | sed 's/.*-l\([^ ]*\).*/\1/'`
4365: MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime"
4366: MIME_LIBS="$MIMELIB/libgmime.a $GLIB_DIR/lib$GLIB_NAME.a"
1.66 paf 4367:
4368: fi;
4369:
4370:
4371:
4372:
4373:
4374: # Check whether --with-sendmail or --without-sendmail was given.
4375: if test "${with_sendmail+set}" = set; then
4376: withval="$with_sendmail"
4377:
4378: cat >>confdefs.h <<_ACEOF
4379: #define PA_FORCED_SENDMAIL "$withval"
4380: _ACEOF
4381:
4382:
4383: fi;
4384:
4385:
4386:
4387: # Check whether --with-apache13 or --without-apache13 was given.
4388: if test "${with_apache13+set}" = set; then
4389: withval="$with_apache13"
4390: APACHE13=$withval
1.67 paf 4391: if test \! -f "$APACHE13/src/include/httpd.h"; then
4392: { { echo "$as_me:$LINENO: error: $APACHE13 does not seem to be valid Apache13 source distribution directory" >&5
1.66 paf 4393: echo "$as_me: error: $APACHE13 does not seem to be valid Apache13 source distribution directory" >&2;}
4394: { (exit 1); exit 1; }; }
1.67 paf 4395: fi
1.7 paf 4396:
1.62 paf 4397: fi;
1.7 paf 4398:
4399:
1.62 paf 4400:
1.66 paf 4401: if test -n "$APACHE13"; then
4402: COMPILE_APACHE13_MODULE_TRUE=
4403: COMPILE_APACHE13_MODULE_FALSE='#'
4404: else
4405: COMPILE_APACHE13_MODULE_TRUE='#'
4406: COMPILE_APACHE13_MODULE_FALSE=
4407: fi
1.1 paf 4408:
4409:
4410:
1.66 paf 4411: LIBLTDL='${top_builddir}/'src/lib/ltdl/libltdlc.a
4412: INCLTDL='-I${top_srcdir}/'src/lib/ltdl
1.62 paf 4413:
4414:
1.7 paf 4415:
1.1 paf 4416:
4417:
4418:
1.66 paf 4419: subdirs="$subdirs src/lib/ltdl"
1.62 paf 4420:
1.10 paf 4421:
1.66 paf 4422: LIBADD_DL=
1.10 paf 4423:
1.62 paf 4424:
1.66 paf 4425: echo "$as_me:$LINENO: checking for shl_load" >&5
4426: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
4427: if test "${ac_cv_func_shl_load+set}" = set; then
4428: echo $ECHO_N "(cached) $ECHO_C" >&6
4429: else
4430: cat >conftest.$ac_ext <<_ACEOF
4431: /* confdefs.h. */
1.62 paf 4432: _ACEOF
1.66 paf 4433: cat confdefs.h >>conftest.$ac_ext
4434: cat >>conftest.$ac_ext <<_ACEOF
4435: /* end confdefs.h. */
1.86 paf 4436: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
4437: For example, HP-UX 11i <limits.h> declares gettimeofday. */
4438: #define shl_load innocuous_shl_load
4439:
1.66 paf 4440: /* System header to define __stub macros and hopefully few prototypes,
4441: which can conflict with char shl_load (); below.
4442: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4443: <limits.h> exists even on freestanding compilers. */
1.86 paf 4444:
1.66 paf 4445: #ifdef __STDC__
4446: # include <limits.h>
4447: #else
4448: # include <assert.h>
4449: #endif
1.86 paf 4450:
4451: #undef shl_load
4452:
1.66 paf 4453: /* Override any gcc2 internal prototype to avoid an error. */
4454: #ifdef __cplusplus
4455: extern "C"
4456: {
4457: #endif
4458: /* We use char because int might match the return type of a gcc2
4459: builtin and then its argument prototype would still apply. */
4460: char shl_load ();
4461: /* The GNU C library defines this for functions which it implements
4462: to always fail with ENOSYS. Some functions are actually named
4463: something starting with __ and the normal name is an alias. */
4464: #if defined (__stub_shl_load) || defined (__stub___shl_load)
4465: choke me
4466: #else
4467: char (*f) () = shl_load;
4468: #endif
4469: #ifdef __cplusplus
4470: }
4471: #endif
1.10 paf 4472:
1.66 paf 4473: int
4474: main ()
4475: {
4476: return f != shl_load;
4477: ;
4478: return 0;
4479: }
4480: _ACEOF
4481: rm -f conftest.$ac_objext conftest$ac_exeext
4482: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86 paf 4483: (eval $ac_link) 2>conftest.er1
1.66 paf 4484: ac_status=$?
1.86 paf 4485: grep -v '^ *+' conftest.er1 >conftest.err
4486: rm -f conftest.er1
4487: cat conftest.err >&5
1.66 paf 4488: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4489: (exit $ac_status); } &&
1.86 paf 4490: { ac_try='test -z "$ac_c_werror_flag"
4491: || test ! -s conftest.err'
4492: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4493: (eval $ac_try) 2>&5
4494: ac_status=$?
4495: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4496: (exit $ac_status); }; } &&
4497: { ac_try='test -s conftest$ac_exeext'
1.66 paf 4498: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4499: (eval $ac_try) 2>&5
4500: ac_status=$?
4501: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502: (exit $ac_status); }; }; then
4503: ac_cv_func_shl_load=yes
4504: else
4505: echo "$as_me: failed program was:" >&5
4506: sed 's/^/| /' conftest.$ac_ext >&5
1.10 paf 4507:
1.66 paf 4508: ac_cv_func_shl_load=no
4509: fi
1.86 paf 4510: rm -f conftest.err conftest.$ac_objext \
4511: conftest$ac_exeext conftest.$ac_ext
1.66 paf 4512: fi
4513: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
4514: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
4515: if test $ac_cv_func_shl_load = yes; then
1.10 paf 4516:
1.66 paf 4517: cat >>confdefs.h <<\_ACEOF
4518: #define HAVE_SHL_LOAD 1
4519: _ACEOF
1.10 paf 4520:
1.66 paf 4521: else
4522: echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
4523: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
4524: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
4525: echo $ECHO_N "(cached) $ECHO_C" >&6
4526: else
4527: ac_check_lib_save_LIBS=$LIBS
4528: LIBS="-ldld $LIBS"
4529: cat >conftest.$ac_ext <<_ACEOF
4530: /* confdefs.h. */
4531: _ACEOF
4532: cat confdefs.h >>conftest.$ac_ext
4533: cat >>conftest.$ac_ext <<_ACEOF
4534: /* end confdefs.h. */
1.10 paf 4535:
1.66 paf 4536: /* Override any gcc2 internal prototype to avoid an error. */
4537: #ifdef __cplusplus
4538: extern "C"
4539: #endif
4540: /* We use char because int might match the return type of a gcc2
4541: builtin and then its argument prototype would still apply. */
4542: char shl_load ();
4543: int
4544: main ()
4545: {
4546: shl_load ();
4547: ;
4548: return 0;
4549: }
4550: _ACEOF
4551: rm -f conftest.$ac_objext conftest$ac_exeext
4552: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86 paf 4553: (eval $ac_link) 2>conftest.er1
1.66 paf 4554: ac_status=$?
1.86 paf 4555: grep -v '^ *+' conftest.er1 >conftest.err
4556: rm -f conftest.er1
4557: cat conftest.err >&5
1.66 paf 4558: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4559: (exit $ac_status); } &&
1.86 paf 4560: { ac_try='test -z "$ac_c_werror_flag"
4561: || test ! -s conftest.err'
4562: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4563: (eval $ac_try) 2>&5
4564: ac_status=$?
4565: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4566: (exit $ac_status); }; } &&
4567: { ac_try='test -s conftest$ac_exeext'
1.66 paf 4568: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4569: (eval $ac_try) 2>&5
4570: ac_status=$?
4571: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572: (exit $ac_status); }; }; then
4573: ac_cv_lib_dld_shl_load=yes
4574: else
4575: echo "$as_me: failed program was:" >&5
4576: sed 's/^/| /' conftest.$ac_ext >&5
1.10 paf 4577:
1.66 paf 4578: ac_cv_lib_dld_shl_load=no
4579: fi
1.86 paf 4580: rm -f conftest.err conftest.$ac_objext \
4581: conftest$ac_exeext conftest.$ac_ext
1.66 paf 4582: LIBS=$ac_check_lib_save_LIBS
4583: fi
4584: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
4585: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
4586: if test $ac_cv_lib_dld_shl_load = yes; then
1.1 paf 4587:
1.66 paf 4588: cat >>confdefs.h <<\_ACEOF
4589: #define HAVE_SHL_LOAD 1
4590: _ACEOF
1.1 paf 4591:
1.66 paf 4592: LIBADD_DL="$LIBADD_DL -ldld"
4593: else
4594: echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
4595: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
4596: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
4597: echo $ECHO_N "(cached) $ECHO_C" >&6
4598: else
4599: ac_check_lib_save_LIBS=$LIBS
4600: LIBS="-ldl $LIBS"
4601: cat >conftest.$ac_ext <<_ACEOF
4602: /* confdefs.h. */
4603: _ACEOF
4604: cat confdefs.h >>conftest.$ac_ext
4605: cat >>conftest.$ac_ext <<_ACEOF
4606: /* end confdefs.h. */
1.62 paf 4607:
1.66 paf 4608: /* Override any gcc2 internal prototype to avoid an error. */
4609: #ifdef __cplusplus
4610: extern "C"
4611: #endif
4612: /* We use char because int might match the return type of a gcc2
4613: builtin and then its argument prototype would still apply. */
4614: char dlopen ();
4615: int
4616: main ()
4617: {
4618: dlopen ();
4619: ;
4620: return 0;
4621: }
4622: _ACEOF
4623: rm -f conftest.$ac_objext conftest$ac_exeext
4624: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86 paf 4625: (eval $ac_link) 2>conftest.er1
1.66 paf 4626: ac_status=$?
1.86 paf 4627: grep -v '^ *+' conftest.er1 >conftest.err
4628: rm -f conftest.er1
4629: cat conftest.err >&5
1.66 paf 4630: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631: (exit $ac_status); } &&
1.86 paf 4632: { ac_try='test -z "$ac_c_werror_flag"
4633: || test ! -s conftest.err'
4634: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4635: (eval $ac_try) 2>&5
4636: ac_status=$?
4637: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4638: (exit $ac_status); }; } &&
4639: { ac_try='test -s conftest$ac_exeext'
1.66 paf 4640: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4641: (eval $ac_try) 2>&5
4642: ac_status=$?
4643: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644: (exit $ac_status); }; }; then
4645: ac_cv_lib_dl_dlopen=yes
4646: else
4647: echo "$as_me: failed program was:" >&5
4648: sed 's/^/| /' conftest.$ac_ext >&5
1.29 paf 4649:
1.66 paf 4650: ac_cv_lib_dl_dlopen=no
4651: fi
1.86 paf 4652: rm -f conftest.err conftest.$ac_objext \
4653: conftest$ac_exeext conftest.$ac_ext
1.66 paf 4654: LIBS=$ac_check_lib_save_LIBS
4655: fi
4656: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
4657: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
4658: if test $ac_cv_lib_dl_dlopen = yes; then
1.29 paf 4659:
1.62 paf 4660: cat >>confdefs.h <<\_ACEOF
1.66 paf 4661: #define HAVE_LIBDL 1
1.62 paf 4662: _ACEOF
4663:
1.66 paf 4664: LIBADD_DL="-ldl"
4665: else
4666: cat >conftest.$ac_ext <<_ACEOF
4667: /* confdefs.h. */
4668: _ACEOF
4669: cat confdefs.h >>conftest.$ac_ext
4670: cat >>conftest.$ac_ext <<_ACEOF
4671: /* end confdefs.h. */
4672: #if HAVE_DLFCN_H
4673: # include <dlfcn.h>
4674: #endif
1.62 paf 4675:
1.66 paf 4676: int
4677: main ()
4678: {
4679: dlopen(0, 0);
4680: ;
4681: return 0;
4682: }
4683: _ACEOF
4684: rm -f conftest.$ac_objext conftest$ac_exeext
4685: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86 paf 4686: (eval $ac_link) 2>conftest.er1
1.66 paf 4687: ac_status=$?
1.86 paf 4688: grep -v '^ *+' conftest.er1 >conftest.err
4689: rm -f conftest.er1
4690: cat conftest.err >&5
1.66 paf 4691: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4692: (exit $ac_status); } &&
1.86 paf 4693: { ac_try='test -z "$ac_c_werror_flag"
4694: || test ! -s conftest.err'
4695: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4696: (eval $ac_try) 2>&5
4697: ac_status=$?
4698: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699: (exit $ac_status); }; } &&
4700: { ac_try='test -s conftest$ac_exeext'
1.66 paf 4701: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4702: (eval $ac_try) 2>&5
4703: ac_status=$?
4704: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705: (exit $ac_status); }; }; then
1.29 paf 4706:
1.66 paf 4707: cat >>confdefs.h <<\_ACEOF
4708: #define HAVE_LIBDL 1
4709: _ACEOF
1.29 paf 4710:
1.66 paf 4711: else
4712: echo "$as_me: failed program was:" >&5
4713: sed 's/^/| /' conftest.$ac_ext >&5
1.29 paf 4714:
1.66 paf 4715: echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
4716: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
4717: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
4718: echo $ECHO_N "(cached) $ECHO_C" >&6
4719: else
4720: ac_check_lib_save_LIBS=$LIBS
4721: LIBS="-lsvld $LIBS"
4722: cat >conftest.$ac_ext <<_ACEOF
4723: /* confdefs.h. */
4724: _ACEOF
4725: cat confdefs.h >>conftest.$ac_ext
4726: cat >>conftest.$ac_ext <<_ACEOF
4727: /* end confdefs.h. */
1.29 paf 4728:
1.66 paf 4729: /* Override any gcc2 internal prototype to avoid an error. */
4730: #ifdef __cplusplus
4731: extern "C"
4732: #endif
4733: /* We use char because int might match the return type of a gcc2
4734: builtin and then its argument prototype would still apply. */
4735: char dlopen ();
4736: int
4737: main ()
4738: {
4739: dlopen ();
4740: ;
4741: return 0;
4742: }
4743: _ACEOF
4744: rm -f conftest.$ac_objext conftest$ac_exeext
4745: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86 paf 4746: (eval $ac_link) 2>conftest.er1
1.66 paf 4747: ac_status=$?
1.86 paf 4748: grep -v '^ *+' conftest.er1 >conftest.err
4749: rm -f conftest.er1
4750: cat conftest.err >&5
1.66 paf 4751: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752: (exit $ac_status); } &&
1.86 paf 4753: { ac_try='test -z "$ac_c_werror_flag"
4754: || test ! -s conftest.err'
4755: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4756: (eval $ac_try) 2>&5
4757: ac_status=$?
4758: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759: (exit $ac_status); }; } &&
4760: { ac_try='test -s conftest$ac_exeext'
1.66 paf 4761: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4762: (eval $ac_try) 2>&5
4763: ac_status=$?
4764: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765: (exit $ac_status); }; }; then
4766: ac_cv_lib_svld_dlopen=yes
4767: else
4768: echo "$as_me: failed program was:" >&5
4769: sed 's/^/| /' conftest.$ac_ext >&5
1.29 paf 4770:
1.66 paf 4771: ac_cv_lib_svld_dlopen=no
4772: fi
1.86 paf 4773: rm -f conftest.err conftest.$ac_objext \
4774: conftest$ac_exeext conftest.$ac_ext
1.66 paf 4775: LIBS=$ac_check_lib_save_LIBS
4776: fi
4777: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
4778: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
4779: if test $ac_cv_lib_svld_dlopen = yes; then
1.62 paf 4780:
4781: cat >>confdefs.h <<\_ACEOF
1.66 paf 4782: #define HAVE_LIBDL 1
1.62 paf 4783: _ACEOF
1.29 paf 4784:
1.66 paf 4785: LIBADD_DL="-lsvld"
4786: else
4787: echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
4788: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
4789: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
4790: echo $ECHO_N "(cached) $ECHO_C" >&6
4791: else
4792: ac_check_lib_save_LIBS=$LIBS
4793: LIBS="-ldld $LIBS"
4794: cat >conftest.$ac_ext <<_ACEOF
4795: /* confdefs.h. */
4796: _ACEOF
4797: cat confdefs.h >>conftest.$ac_ext
4798: cat >>conftest.$ac_ext <<_ACEOF
4799: /* end confdefs.h. */
1.29 paf 4800:
1.66 paf 4801: /* Override any gcc2 internal prototype to avoid an error. */
4802: #ifdef __cplusplus
4803: extern "C"
4804: #endif
4805: /* We use char because int might match the return type of a gcc2
4806: builtin and then its argument prototype would still apply. */
4807: char dld_link ();
4808: int
4809: main ()
4810: {
4811: dld_link ();
4812: ;
4813: return 0;
4814: }
4815: _ACEOF
4816: rm -f conftest.$ac_objext conftest$ac_exeext
4817: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86 paf 4818: (eval $ac_link) 2>conftest.er1
1.66 paf 4819: ac_status=$?
1.86 paf 4820: grep -v '^ *+' conftest.er1 >conftest.err
4821: rm -f conftest.er1
4822: cat conftest.err >&5
1.66 paf 4823: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4824: (exit $ac_status); } &&
1.86 paf 4825: { ac_try='test -z "$ac_c_werror_flag"
4826: || test ! -s conftest.err'
4827: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4828: (eval $ac_try) 2>&5
4829: ac_status=$?
4830: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4831: (exit $ac_status); }; } &&
4832: { ac_try='test -s conftest$ac_exeext'
1.66 paf 4833: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4834: (eval $ac_try) 2>&5
4835: ac_status=$?
4836: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4837: (exit $ac_status); }; }; then
4838: ac_cv_lib_dld_dld_link=yes
4839: else
4840: echo "$as_me: failed program was:" >&5
4841: sed 's/^/| /' conftest.$ac_ext >&5
1.29 paf 4842:
1.66 paf 4843: ac_cv_lib_dld_dld_link=no
4844: fi
1.86 paf 4845: rm -f conftest.err conftest.$ac_objext \
4846: conftest$ac_exeext conftest.$ac_ext
1.66 paf 4847: LIBS=$ac_check_lib_save_LIBS
4848: fi
4849: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
4850: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
4851: if test $ac_cv_lib_dld_dld_link = yes; then
1.29 paf 4852:
1.66 paf 4853: cat >>confdefs.h <<\_ACEOF
4854: #define HAVE_DLD 1
1.62 paf 4855: _ACEOF
1.16 paf 4856:
1.66 paf 4857: LIBADD_DL="$LIBADD_DL -ldld"
1.16 paf 4858:
1.66 paf 4859: fi
1.16 paf 4860:
4861:
1.66 paf 4862: fi
1.12 paf 4863:
4864:
1.66 paf 4865: fi
1.86 paf 4866: rm -f conftest.err conftest.$ac_objext \
4867: conftest$ac_exeext conftest.$ac_ext
1.12 paf 4868:
4869: fi
4870:
4871:
1.66 paf 4872: fi
1.62 paf 4873:
1.1 paf 4874:
1.66 paf 4875: fi
1.1 paf 4876:
4877:
1.66 paf 4878: if test "x$ac_cv_func_dlopen" = xyes || test "x$ac_cv_lib_dl_dlopen" = xyes; then
4879: LIBS_SAVE="$LIBS"
4880: LIBS="$LIBS $LIBADD_DL"
1.1 paf 4881:
1.66 paf 4882: for ac_func in dlerror
4883: do
4884: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4885: echo "$as_me:$LINENO: checking for $ac_func" >&5
4886: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4887: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.62 paf 4888: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 paf 4889: else
1.64 paf 4890: cat >conftest.$ac_ext <<_ACEOF
1.62 paf 4891: /* confdefs.h. */
4892: _ACEOF
4893: cat confdefs.h >>conftest.$ac_ext
4894: cat >>conftest.$ac_ext <<_ACEOF
4895: /* end confdefs.h. */
1.86 paf 4896: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4897: For example, HP-UX 11i <limits.h> declares gettimeofday. */
4898: #define $ac_func innocuous_$ac_func
4899:
1.64 paf 4900: /* System header to define __stub macros and hopefully few prototypes,
1.66 paf 4901: which can conflict with char $ac_func (); below.
1.64 paf 4902: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4903: <limits.h> exists even on freestanding compilers. */
1.86 paf 4904:
1.64 paf 4905: #ifdef __STDC__
4906: # include <limits.h>
4907: #else
4908: # include <assert.h>
4909: #endif
1.86 paf 4910:
4911: #undef $ac_func
4912:
1.8 paf 4913: /* Override any gcc2 internal prototype to avoid an error. */
4914: #ifdef __cplusplus
4915: extern "C"
1.64 paf 4916: {
1.8 paf 4917: #endif
4918: /* We use char because int might match the return type of a gcc2
1.62 paf 4919: builtin and then its argument prototype would still apply. */
1.66 paf 4920: char $ac_func ();
1.64 paf 4921: /* The GNU C library defines this for functions which it implements
4922: to always fail with ENOSYS. Some functions are actually named
4923: something starting with __ and the normal name is an alias. */
1.66 paf 4924: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1.64 paf 4925: choke me
4926: #else
1.66 paf 4927: char (*f) () = $ac_func;
1.64 paf 4928: #endif
4929: #ifdef __cplusplus
4930: }
4931: #endif
4932:
1.62 paf 4933: int
4934: main ()
4935: {
1.66 paf 4936: return f != $ac_func;
1.62 paf 4937: ;
4938: return 0;
4939: }
4940: _ACEOF
4941: rm -f conftest.$ac_objext conftest$ac_exeext
4942: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86 paf 4943: (eval $ac_link) 2>conftest.er1
1.62 paf 4944: ac_status=$?
1.86 paf 4945: grep -v '^ *+' conftest.er1 >conftest.err
4946: rm -f conftest.er1
4947: cat conftest.err >&5
1.62 paf 4948: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949: (exit $ac_status); } &&
1.86 paf 4950: { ac_try='test -z "$ac_c_werror_flag"
4951: || test ! -s conftest.err'
4952: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4953: (eval $ac_try) 2>&5
4954: ac_status=$?
4955: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956: (exit $ac_status); }; } &&
4957: { ac_try='test -s conftest$ac_exeext'
1.62 paf 4958: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4959: (eval $ac_try) 2>&5
4960: ac_status=$?
4961: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4962: (exit $ac_status); }; }; then
1.66 paf 4963: eval "$as_ac_var=yes"
1.62 paf 4964: else
4965: echo "$as_me: failed program was:" >&5
4966: sed 's/^/| /' conftest.$ac_ext >&5
4967:
1.66 paf 4968: eval "$as_ac_var=no"
1.62 paf 4969: fi
1.86 paf 4970: rm -f conftest.err conftest.$ac_objext \
4971: conftest$ac_exeext conftest.$ac_ext
1.62 paf 4972: fi
1.66 paf 4973: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4974: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4975: if test `eval echo '${'$as_ac_var'}'` = yes; then
4976: cat >>confdefs.h <<_ACEOF
4977: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4978: _ACEOF
4979:
4980: fi
4981: done
4982:
4983: LIBS="$LIBS_SAVE"
4984: fi
4985:
4986:
1.64 paf 4987:
4988:
1.79 paf 4989: echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4990: echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4991: if test "${ac_cv_c_bigendian+set}" = set; then
4992: echo $ECHO_N "(cached) $ECHO_C" >&6
4993: else
4994: # See if sys/param.h defines the BYTE_ORDER macro.
4995: cat >conftest.$ac_ext <<_ACEOF
4996: /* confdefs.h. */
4997: _ACEOF
4998: cat confdefs.h >>conftest.$ac_ext
4999: cat >>conftest.$ac_ext <<_ACEOF
5000: /* end confdefs.h. */
5001: #include <sys/types.h>
5002: #include <sys/param.h>
5003:
5004: int
5005: main ()
5006: {
5007: #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
5008: bogus endian macros
5009: #endif
5010:
5011: ;
5012: return 0;
5013: }
5014: _ACEOF
5015: rm -f conftest.$ac_objext
5016: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86 paf 5017: (eval $ac_compile) 2>conftest.er1
1.79 paf 5018: ac_status=$?
1.86 paf 5019: grep -v '^ *+' conftest.er1 >conftest.err
5020: rm -f conftest.er1
5021: cat conftest.err >&5
1.79 paf 5022: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5023: (exit $ac_status); } &&
1.86 paf 5024: { ac_try='test -z "$ac_c_werror_flag"
5025: || test ! -s conftest.err'
5026: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5027: (eval $ac_try) 2>&5
5028: ac_status=$?
5029: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030: (exit $ac_status); }; } &&
5031: { ac_try='test -s conftest.$ac_objext'
1.79 paf 5032: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5033: (eval $ac_try) 2>&5
5034: ac_status=$?
5035: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036: (exit $ac_status); }; }; then
5037: # It does; now see whether it defined to BIG_ENDIAN or not.
5038: cat >conftest.$ac_ext <<_ACEOF
5039: /* confdefs.h. */
5040: _ACEOF
5041: cat confdefs.h >>conftest.$ac_ext
5042: cat >>conftest.$ac_ext <<_ACEOF
5043: /* end confdefs.h. */
5044: #include <sys/types.h>
5045: #include <sys/param.h>
5046:
5047: int
5048: main ()
5049: {
5050: #if BYTE_ORDER != BIG_ENDIAN
5051: not big endian
5052: #endif
5053:
5054: ;
5055: return 0;
5056: }
5057: _ACEOF
5058: rm -f conftest.$ac_objext
5059: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86 paf 5060: (eval $ac_compile) 2>conftest.er1
1.79 paf 5061: ac_status=$?
1.86 paf 5062: grep -v '^ *+' conftest.er1 >conftest.err
5063: rm -f conftest.er1
5064: cat conftest.err >&5
1.79 paf 5065: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5066: (exit $ac_status); } &&
1.86 paf 5067: { ac_try='test -z "$ac_c_werror_flag"
5068: || test ! -s conftest.err'
5069: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5070: (eval $ac_try) 2>&5
5071: ac_status=$?
5072: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073: (exit $ac_status); }; } &&
5074: { ac_try='test -s conftest.$ac_objext'
1.79 paf 5075: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5076: (eval $ac_try) 2>&5
5077: ac_status=$?
5078: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5079: (exit $ac_status); }; }; then
5080: ac_cv_c_bigendian=yes
5081: else
5082: echo "$as_me: failed program was:" >&5
5083: sed 's/^/| /' conftest.$ac_ext >&5
5084:
5085: ac_cv_c_bigendian=no
5086: fi
1.86 paf 5087: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.79 paf 5088: else
5089: echo "$as_me: failed program was:" >&5
5090: sed 's/^/| /' conftest.$ac_ext >&5
5091:
5092: # It does not; compile a test program.
5093: if test "$cross_compiling" = yes; then
5094: # try to guess the endianness by grepping values into an object file
5095: ac_cv_c_bigendian=unknown
5096: cat >conftest.$ac_ext <<_ACEOF
5097: /* confdefs.h. */
5098: _ACEOF
5099: cat confdefs.h >>conftest.$ac_ext
5100: cat >>conftest.$ac_ext <<_ACEOF
5101: /* end confdefs.h. */
5102: short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5103: short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5104: void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
5105: short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5106: short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5107: void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
5108: int
5109: main ()
5110: {
5111: _ascii (); _ebcdic ();
5112: ;
5113: return 0;
5114: }
5115: _ACEOF
5116: rm -f conftest.$ac_objext
5117: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86 paf 5118: (eval $ac_compile) 2>conftest.er1
1.79 paf 5119: ac_status=$?
1.86 paf 5120: grep -v '^ *+' conftest.er1 >conftest.err
5121: rm -f conftest.er1
5122: cat conftest.err >&5
1.79 paf 5123: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124: (exit $ac_status); } &&
1.86 paf 5125: { ac_try='test -z "$ac_c_werror_flag"
5126: || test ! -s conftest.err'
5127: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5128: (eval $ac_try) 2>&5
5129: ac_status=$?
5130: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5131: (exit $ac_status); }; } &&
5132: { ac_try='test -s conftest.$ac_objext'
1.79 paf 5133: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5134: (eval $ac_try) 2>&5
5135: ac_status=$?
5136: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137: (exit $ac_status); }; }; then
5138: if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
5139: ac_cv_c_bigendian=yes
5140: fi
5141: if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5142: if test "$ac_cv_c_bigendian" = unknown; then
5143: ac_cv_c_bigendian=no
5144: else
5145: # finding both strings is unlikely to happen, but who knows?
5146: ac_cv_c_bigendian=unknown
5147: fi
5148: fi
5149: else
5150: echo "$as_me: failed program was:" >&5
5151: sed 's/^/| /' conftest.$ac_ext >&5
5152:
5153: fi
1.86 paf 5154: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.79 paf 5155: else
5156: cat >conftest.$ac_ext <<_ACEOF
5157: /* confdefs.h. */
5158: _ACEOF
5159: cat confdefs.h >>conftest.$ac_ext
5160: cat >>conftest.$ac_ext <<_ACEOF
5161: /* end confdefs.h. */
5162: int
5163: main ()
5164: {
5165: /* Are we little or big endian? From Harbison&Steele. */
5166: union
5167: {
5168: long l;
5169: char c[sizeof (long)];
5170: } u;
5171: u.l = 1;
5172: exit (u.c[sizeof (long) - 1] == 1);
5173: }
5174: _ACEOF
5175: rm -f conftest$ac_exeext
5176: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5177: (eval $ac_link) 2>&5
5178: ac_status=$?
5179: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5180: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5181: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5182: (eval $ac_try) 2>&5
5183: ac_status=$?
5184: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5185: (exit $ac_status); }; }; then
5186: ac_cv_c_bigendian=no
5187: else
5188: echo "$as_me: program exited with status $ac_status" >&5
5189: echo "$as_me: failed program was:" >&5
5190: sed 's/^/| /' conftest.$ac_ext >&5
5191:
5192: ( exit $ac_status )
5193: ac_cv_c_bigendian=yes
5194: fi
1.86 paf 5195: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.79 paf 5196: fi
5197: fi
1.86 paf 5198: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.79 paf 5199: fi
5200: echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5201: echo "${ECHO_T}$ac_cv_c_bigendian" >&6
5202: case $ac_cv_c_bigendian in
5203: yes)
5204:
5205: cat >>confdefs.h <<\_ACEOF
5206: #define PA_BIG_ENDIAN
5207: _ACEOF
5208:
5209: ;;
5210: no)
5211:
5212: cat >>confdefs.h <<\_ACEOF
5213: #define PA_LITTLE_ENDIAN
5214: _ACEOF
5215:
5216: ;;
5217: *)
5218: { { echo "$as_me:$LINENO: error: word endianness not determined for some obscure reason" >&5
5219: echo "$as_me: error: word endianness not determined for some obscure reason" >&2;}
5220: { (exit 1); exit 1; }; }
5221: ;;
5222: esac
5223:
5224:
1.66 paf 5225: ac_ext=c
5226: ac_cpp='$CPP $CPPFLAGS'
5227: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5228: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5229: ac_compiler_gnu=$ac_cv_c_compiler_gnu
5230: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5231: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5232: # On Suns, sometimes $CPP names a directory.
5233: if test -n "$CPP" && test -d "$CPP"; then
5234: CPP=
5235: fi
5236: if test -z "$CPP"; then
5237: if test "${ac_cv_prog_CPP+set}" = set; then
1.62 paf 5238: echo $ECHO_N "(cached) $ECHO_C" >&6
5239: else
1.66 paf 5240: # Double quotes because CPP needs to be expanded
5241: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5242: do
5243: ac_preproc_ok=false
5244: for ac_c_preproc_warn_flag in '' yes
5245: do
5246: # Use a header file that comes with gcc, so configuring glibc
5247: # with a fresh cross-compiler works.
5248: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5249: # <limits.h> exists even on freestanding compilers.
5250: # On the NeXT, cc -E runs the code through the compiler's parser,
5251: # not just through cpp. "Syntax error" is here to catch this case.
5252: cat >conftest.$ac_ext <<_ACEOF
1.62 paf 5253: /* confdefs.h. */
5254: _ACEOF
5255: cat confdefs.h >>conftest.$ac_ext
5256: cat >>conftest.$ac_ext <<_ACEOF
5257: /* end confdefs.h. */
1.66 paf 5258: #ifdef __STDC__
5259: # include <limits.h>
5260: #else
5261: # include <assert.h>
1.8 paf 5262: #endif
1.86 paf 5263: Syntax error
1.62 paf 5264: _ACEOF
1.66 paf 5265: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5266: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.62 paf 5267: ac_status=$?
1.66 paf 5268: grep -v '^ *+' conftest.er1 >conftest.err
5269: rm -f conftest.er1
5270: cat conftest.err >&5
1.62 paf 5271: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66 paf 5272: (exit $ac_status); } >/dev/null; then
5273: if test -s conftest.err; then
5274: ac_cpp_err=$ac_c_preproc_warn_flag
1.86 paf 5275: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.66 paf 5276: else
5277: ac_cpp_err=
5278: fi
5279: else
5280: ac_cpp_err=yes
5281: fi
5282: if test -z "$ac_cpp_err"; then
5283: :
1.62 paf 5284: else
5285: echo "$as_me: failed program was:" >&5
5286: sed 's/^/| /' conftest.$ac_ext >&5
5287:
1.66 paf 5288: # Broken: fails on valid input.
5289: continue
1.62 paf 5290: fi
1.66 paf 5291: rm -f conftest.err conftest.$ac_ext
1.64 paf 5292:
1.66 paf 5293: # OK, works on sane cases. Now check whether non-existent headers
5294: # can be detected and how.
5295: cat >conftest.$ac_ext <<_ACEOF
1.62 paf 5296: /* confdefs.h. */
5297: _ACEOF
5298: cat confdefs.h >>conftest.$ac_ext
5299: cat >>conftest.$ac_ext <<_ACEOF
5300: /* end confdefs.h. */
1.66 paf 5301: #include <ac_nonexistent.h>
1.62 paf 5302: _ACEOF
1.66 paf 5303: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5304: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.62 paf 5305: ac_status=$?
1.66 paf 5306: grep -v '^ *+' conftest.er1 >conftest.err
5307: rm -f conftest.er1
5308: cat conftest.err >&5
1.62 paf 5309: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66 paf 5310: (exit $ac_status); } >/dev/null; then
5311: if test -s conftest.err; then
5312: ac_cpp_err=$ac_c_preproc_warn_flag
1.86 paf 5313: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.66 paf 5314: else
5315: ac_cpp_err=
5316: fi
5317: else
5318: ac_cpp_err=yes
5319: fi
5320: if test -z "$ac_cpp_err"; then
5321: # Broken: success on invalid input.
5322: continue
1.62 paf 5323: else
5324: echo "$as_me: failed program was:" >&5
5325: sed 's/^/| /' conftest.$ac_ext >&5
5326:
1.66 paf 5327: # Passes both tests.
5328: ac_preproc_ok=:
5329: break
1.62 paf 5330: fi
1.66 paf 5331: rm -f conftest.err conftest.$ac_ext
5332:
5333: done
5334: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5335: rm -f conftest.err conftest.$ac_ext
5336: if $ac_preproc_ok; then
5337: break
1.62 paf 5338: fi
1.64 paf 5339:
1.66 paf 5340: done
5341: ac_cv_prog_CPP=$CPP
1.64 paf 5342:
1.66 paf 5343: fi
5344: CPP=$ac_cv_prog_CPP
1.64 paf 5345: else
1.66 paf 5346: ac_cv_prog_CPP=$CPP
5347: fi
5348: echo "$as_me:$LINENO: result: $CPP" >&5
5349: echo "${ECHO_T}$CPP" >&6
5350: ac_preproc_ok=false
5351: for ac_c_preproc_warn_flag in '' yes
5352: do
5353: # Use a header file that comes with gcc, so configuring glibc
5354: # with a fresh cross-compiler works.
5355: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5356: # <limits.h> exists even on freestanding compilers.
5357: # On the NeXT, cc -E runs the code through the compiler's parser,
5358: # not just through cpp. "Syntax error" is here to catch this case.
1.64 paf 5359: cat >conftest.$ac_ext <<_ACEOF
5360: /* confdefs.h. */
5361: _ACEOF
5362: cat confdefs.h >>conftest.$ac_ext
5363: cat >>conftest.$ac_ext <<_ACEOF
5364: /* end confdefs.h. */
1.66 paf 5365: #ifdef __STDC__
5366: # include <limits.h>
5367: #else
5368: # include <assert.h>
1.64 paf 5369: #endif
1.86 paf 5370: Syntax error
1.64 paf 5371: _ACEOF
1.66 paf 5372: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5373: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.64 paf 5374: ac_status=$?
1.66 paf 5375: grep -v '^ *+' conftest.er1 >conftest.err
5376: rm -f conftest.er1
5377: cat conftest.err >&5
1.64 paf 5378: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66 paf 5379: (exit $ac_status); } >/dev/null; then
5380: if test -s conftest.err; then
5381: ac_cpp_err=$ac_c_preproc_warn_flag
1.86 paf 5382: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.66 paf 5383: else
5384: ac_cpp_err=
5385: fi
5386: else
5387: ac_cpp_err=yes
5388: fi
5389: if test -z "$ac_cpp_err"; then
5390: :
1.62 paf 5391: else
1.64 paf 5392: echo "$as_me: failed program was:" >&5
5393: sed 's/^/| /' conftest.$ac_ext >&5
5394:
1.66 paf 5395: # Broken: fails on valid input.
5396: continue
5397: fi
5398: rm -f conftest.err conftest.$ac_ext
5399:
5400: # OK, works on sane cases. Now check whether non-existent headers
5401: # can be detected and how.
5402: cat >conftest.$ac_ext <<_ACEOF
1.62 paf 5403: /* confdefs.h. */
5404: _ACEOF
5405: cat confdefs.h >>conftest.$ac_ext
5406: cat >>conftest.$ac_ext <<_ACEOF
5407: /* end confdefs.h. */
1.66 paf 5408: #include <ac_nonexistent.h>
1.62 paf 5409: _ACEOF
1.66 paf 5410: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5411: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.62 paf 5412: ac_status=$?
1.66 paf 5413: grep -v '^ *+' conftest.er1 >conftest.err
5414: rm -f conftest.er1
5415: cat conftest.err >&5
1.62 paf 5416: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66 paf 5417: (exit $ac_status); } >/dev/null; then
5418: if test -s conftest.err; then
5419: ac_cpp_err=$ac_c_preproc_warn_flag
1.86 paf 5420: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.66 paf 5421: else
5422: ac_cpp_err=
5423: fi
5424: else
5425: ac_cpp_err=yes
5426: fi
5427: if test -z "$ac_cpp_err"; then
5428: # Broken: success on invalid input.
5429: continue
1.62 paf 5430: else
5431: echo "$as_me: failed program was:" >&5
5432: sed 's/^/| /' conftest.$ac_ext >&5
5433:
1.66 paf 5434: # Passes both tests.
5435: ac_preproc_ok=:
5436: break
1.62 paf 5437: fi
1.66 paf 5438: rm -f conftest.err conftest.$ac_ext
5439:
5440: done
5441: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5442: rm -f conftest.err conftest.$ac_ext
5443: if $ac_preproc_ok; then
5444: :
5445: else
5446: { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5447: See \`config.log' for more details." >&5
5448: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5449: See \`config.log' for more details." >&2;}
5450: { (exit 1); exit 1; }; }
1.62 paf 5451: fi
1.64 paf 5452:
1.66 paf 5453: ac_ext=c
5454: ac_cpp='$CPP $CPPFLAGS'
5455: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5456: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5457: ac_compiler_gnu=$ac_cv_c_compiler_gnu
5458:
1.1 paf 5459:
1.66 paf 5460: echo "$as_me:$LINENO: checking for egrep" >&5
5461: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5462: if test "${ac_cv_prog_egrep+set}" = set; then
5463: echo $ECHO_N "(cached) $ECHO_C" >&6
1.64 paf 5464: else
1.66 paf 5465: if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5466: then ac_cv_prog_egrep='grep -E'
5467: else ac_cv_prog_egrep='egrep'
5468: fi
5469: fi
5470: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5471: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5472: EGREP=$ac_cv_prog_egrep
5473:
5474:
5475: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5476: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5477: if test "${ac_cv_header_stdc+set}" = set; then
1.62 paf 5478: echo $ECHO_N "(cached) $ECHO_C" >&6
1.8 paf 5479: else
1.66 paf 5480: cat >conftest.$ac_ext <<_ACEOF
1.62 paf 5481: /* confdefs.h. */
5482: _ACEOF
5483: cat confdefs.h >>conftest.$ac_ext
5484: cat >>conftest.$ac_ext <<_ACEOF
5485: /* end confdefs.h. */
1.66 paf 5486: #include <stdlib.h>
5487: #include <stdarg.h>
5488: #include <string.h>
5489: #include <float.h>
1.62 paf 5490:
5491: int
5492: main ()
5493: {
1.66 paf 5494:
1.62 paf 5495: ;
5496: return 0;
5497: }
5498: _ACEOF
1.66 paf 5499: rm -f conftest.$ac_objext
5500: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86 paf 5501: (eval $ac_compile) 2>conftest.er1
1.62 paf 5502: ac_status=$?
1.86 paf 5503: grep -v '^ *+' conftest.er1 >conftest.err
5504: rm -f conftest.er1
5505: cat conftest.err >&5
1.62 paf 5506: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5507: (exit $ac_status); } &&
1.86 paf 5508: { ac_try='test -z "$ac_c_werror_flag"
5509: || test ! -s conftest.err'
5510: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5511: (eval $ac_try) 2>&5
5512: ac_status=$?
5513: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514: (exit $ac_status); }; } &&
5515: { ac_try='test -s conftest.$ac_objext'
1.62 paf 5516: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5517: (eval $ac_try) 2>&5
5518: ac_status=$?
5519: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5520: (exit $ac_status); }; }; then
1.66 paf 5521: ac_cv_header_stdc=yes
1.62 paf 5522: else
5523: echo "$as_me: failed program was:" >&5
5524: sed 's/^/| /' conftest.$ac_ext >&5
5525:
1.66 paf 5526: ac_cv_header_stdc=no
1.62 paf 5527: fi
1.86 paf 5528: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.64 paf 5529:
1.66 paf 5530: if test $ac_cv_header_stdc = yes; then
5531: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5532: cat >conftest.$ac_ext <<_ACEOF
5533: /* confdefs.h. */
1.62 paf 5534: _ACEOF
1.66 paf 5535: cat confdefs.h >>conftest.$ac_ext
5536: cat >>conftest.$ac_ext <<_ACEOF
5537: /* end confdefs.h. */
5538: #include <string.h>
1.64 paf 5539:
1.66 paf 5540: _ACEOF
5541: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5542: $EGREP "memchr" >/dev/null 2>&1; then
5543: :
5544: else
5545: ac_cv_header_stdc=no
1.64 paf 5546: fi
1.66 paf 5547: rm -f conftest*
1.64 paf 5548:
5549: fi
5550:
1.66 paf 5551: if test $ac_cv_header_stdc = yes; then
5552: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5553: cat >conftest.$ac_ext <<_ACEOF
5554: /* confdefs.h. */
5555: _ACEOF
5556: cat confdefs.h >>conftest.$ac_ext
5557: cat >>conftest.$ac_ext <<_ACEOF
5558: /* end confdefs.h. */
5559: #include <stdlib.h>
1.64 paf 5560:
1.66 paf 5561: _ACEOF
5562: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5563: $EGREP "free" >/dev/null 2>&1; then
5564: :
5565: else
5566: ac_cv_header_stdc=no
1.64 paf 5567: fi
1.66 paf 5568: rm -f conftest*
1.64 paf 5569:
5570: fi
5571:
1.66 paf 5572: if test $ac_cv_header_stdc = yes; then
5573: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5574: if test "$cross_compiling" = yes; then
5575: :
1.64 paf 5576: else
5577: cat >conftest.$ac_ext <<_ACEOF
5578: /* confdefs.h. */
5579: _ACEOF
5580: cat confdefs.h >>conftest.$ac_ext
5581: cat >>conftest.$ac_ext <<_ACEOF
5582: /* end confdefs.h. */
1.66 paf 5583: #include <ctype.h>
5584: #if ((' ' & 0x0FF) == 0x020)
5585: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5586: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1.64 paf 5587: #else
1.66 paf 5588: # define ISLOWER(c) \
1.86 paf 5589: (('a' <= (c) && (c) <= 'i') \
5590: || ('j' <= (c) && (c) <= 'r') \
5591: || ('s' <= (c) && (c) <= 'z'))
1.66 paf 5592: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
1.64 paf 5593: #endif
5594:
1.66 paf 5595: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1.64 paf 5596: int
5597: main ()
5598: {
1.66 paf 5599: int i;
5600: for (i = 0; i < 256; i++)
5601: if (XOR (islower (i), ISLOWER (i))
1.86 paf 5602: || toupper (i) != TOUPPER (i))
1.66 paf 5603: exit(2);
5604: exit (0);
1.64 paf 5605: }
5606: _ACEOF
1.66 paf 5607: rm -f conftest$ac_exeext
1.64 paf 5608: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5609: (eval $ac_link) 2>&5
5610: ac_status=$?
5611: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66 paf 5612: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.64 paf 5613: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5614: (eval $ac_try) 2>&5
5615: ac_status=$?
5616: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5617: (exit $ac_status); }; }; then
1.66 paf 5618: :
1.64 paf 5619: else
1.66 paf 5620: echo "$as_me: program exited with status $ac_status" >&5
5621: echo "$as_me: failed program was:" >&5
1.64 paf 5622: sed 's/^/| /' conftest.$ac_ext >&5
5623:
1.66 paf 5624: ( exit $ac_status )
5625: ac_cv_header_stdc=no
5626: fi
1.86 paf 5627: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.66 paf 5628: fi
1.64 paf 5629: fi
5630: fi
1.66 paf 5631: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5632: echo "${ECHO_T}$ac_cv_header_stdc" >&6
5633: if test $ac_cv_header_stdc = yes; then
5634:
5635: cat >>confdefs.h <<\_ACEOF
5636: #define STDC_HEADERS 1
1.64 paf 5637: _ACEOF
5638:
5639: fi
5640:
1.66 paf 5641: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5642:
5643:
5644:
5645:
5646:
1.1 paf 5647:
5648:
1.62 paf 5649:
5650:
1.66 paf 5651: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
1.86 paf 5652: inttypes.h stdint.h unistd.h
1.66 paf 5653: do
5654: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5655: echo "$as_me:$LINENO: checking for $ac_header" >&5
5656: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5657: if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.62 paf 5658: echo $ECHO_N "(cached) $ECHO_C" >&6
5659: else
5660: cat >conftest.$ac_ext <<_ACEOF
5661: /* confdefs.h. */
5662: _ACEOF
5663: cat confdefs.h >>conftest.$ac_ext
5664: cat >>conftest.$ac_ext <<_ACEOF
5665: /* end confdefs.h. */
1.66 paf 5666: $ac_includes_default
5667:
5668: #include <$ac_header>
1.62 paf 5669: _ACEOF
1.66 paf 5670: rm -f conftest.$ac_objext
5671: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86 paf 5672: (eval $ac_compile) 2>conftest.er1
1.66 paf 5673: ac_status=$?
1.86 paf 5674: grep -v '^ *+' conftest.er1 >conftest.err
5675: rm -f conftest.er1
5676: cat conftest.err >&5
1.66 paf 5677: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5678: (exit $ac_status); } &&
1.86 paf 5679: { ac_try='test -z "$ac_c_werror_flag"
5680: || test ! -s conftest.err'
5681: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5682: (eval $ac_try) 2>&5
5683: ac_status=$?
5684: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5685: (exit $ac_status); }; } &&
5686: { ac_try='test -s conftest.$ac_objext'
1.66 paf 5687: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5688: (eval $ac_try) 2>&5
1.62 paf 5689: ac_status=$?
5690: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66 paf 5691: (exit $ac_status); }; }; then
5692: eval "$as_ac_Header=yes"
1.62 paf 5693: else
5694: echo "$as_me: failed program was:" >&5
5695: sed 's/^/| /' conftest.$ac_ext >&5
5696:
1.66 paf 5697: eval "$as_ac_Header=no"
5698: fi
1.86 paf 5699: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66 paf 5700: fi
5701: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5702: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5703: if test `eval echo '${'$as_ac_Header'}'` = yes; then
5704: cat >>confdefs.h <<_ACEOF
5705: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5706: _ACEOF
5707:
1.1 paf 5708: fi
5709:
1.66 paf 5710: done
5711:
5712:
5713: echo "$as_me:$LINENO: checking for size_t" >&5
5714: echo $ECHO_N "checking for size_t... $ECHO_C" >&6
5715: if test "${ac_cv_type_size_t+set}" = set; then
5716: echo $ECHO_N "(cached) $ECHO_C" >&6
5717: else
1.62 paf 5718: cat >conftest.$ac_ext <<_ACEOF
5719: /* confdefs.h. */
5720: _ACEOF
5721: cat confdefs.h >>conftest.$ac_ext
5722: cat >>conftest.$ac_ext <<_ACEOF
5723: /* end confdefs.h. */
1.66 paf 5724: $ac_includes_default
5725: int
5726: main ()
5727: {
5728: if ((size_t *) 0)
5729: return 0;
5730: if (sizeof (size_t))
5731: return 0;
5732: ;
5733: return 0;
5734: }
1.62 paf 5735: _ACEOF
1.66 paf 5736: rm -f conftest.$ac_objext
5737: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86 paf 5738: (eval $ac_compile) 2>conftest.er1
1.66 paf 5739: ac_status=$?
1.86 paf 5740: grep -v '^ *+' conftest.er1 >conftest.err
5741: rm -f conftest.er1
5742: cat conftest.err >&5
1.66 paf 5743: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744: (exit $ac_status); } &&
1.86 paf 5745: { ac_try='test -z "$ac_c_werror_flag"
5746: || test ! -s conftest.err'
5747: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5748: (eval $ac_try) 2>&5
5749: ac_status=$?
5750: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5751: (exit $ac_status); }; } &&
5752: { ac_try='test -s conftest.$ac_objext'
1.66 paf 5753: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5754: (eval $ac_try) 2>&5
1.62 paf 5755: ac_status=$?
5756: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66 paf 5757: (exit $ac_status); }; }; then
5758: ac_cv_type_size_t=yes
1.1 paf 5759: else
1.62 paf 5760: echo "$as_me: failed program was:" >&5
5761: sed 's/^/| /' conftest.$ac_ext >&5
5762:
1.66 paf 5763: ac_cv_type_size_t=no
1.1 paf 5764: fi
1.86 paf 5765: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62 paf 5766: fi
1.66 paf 5767: echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5768: echo "${ECHO_T}$ac_cv_type_size_t" >&6
5769: if test $ac_cv_type_size_t = yes; then
5770: :
5771: else
1.1 paf 5772:
1.66 paf 5773: cat >>confdefs.h <<_ACEOF
5774: #define size_t unsigned
5775: _ACEOF
1.62 paf 5776:
5777: fi
1.66 paf 5778:
5779: echo "$as_me:$LINENO: checking for off_t" >&5
5780: echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5781: if test "${ac_cv_type_off_t+set}" = set; then
5782: echo $ECHO_N "(cached) $ECHO_C" >&6
1.62 paf 5783: else
5784: cat >conftest.$ac_ext <<_ACEOF
5785: /* confdefs.h. */
5786: _ACEOF
5787: cat confdefs.h >>conftest.$ac_ext
5788: cat >>conftest.$ac_ext <<_ACEOF
5789: /* end confdefs.h. */
1.66 paf 5790: $ac_includes_default
5791: int
5792: main ()
5793: {
5794: if ((off_t *) 0)
5795: return 0;
5796: if (sizeof (off_t))
5797: return 0;
5798: ;
5799: return 0;
5800: }
1.62 paf 5801: _ACEOF
1.66 paf 5802: rm -f conftest.$ac_objext
5803: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86 paf 5804: (eval $ac_compile) 2>conftest.er1
1.66 paf 5805: ac_status=$?
1.86 paf 5806: grep -v '^ *+' conftest.er1 >conftest.err
5807: rm -f conftest.er1
5808: cat conftest.err >&5
1.66 paf 5809: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5810: (exit $ac_status); } &&
1.86 paf 5811: { ac_try='test -z "$ac_c_werror_flag"
5812: || test ! -s conftest.err'
5813: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5814: (eval $ac_try) 2>&5
5815: ac_status=$?
5816: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5817: (exit $ac_status); }; } &&
5818: { ac_try='test -s conftest.$ac_objext'
1.66 paf 5819: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5820: (eval $ac_try) 2>&5
1.62 paf 5821: ac_status=$?
5822: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66 paf 5823: (exit $ac_status); }; }; then
5824: ac_cv_type_off_t=yes
1.62 paf 5825: else
1.66 paf 5826: echo "$as_me: failed program was:" >&5
5827: sed 's/^/| /' conftest.$ac_ext >&5
5828:
5829: ac_cv_type_off_t=no
5830: fi
1.86 paf 5831: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1 paf 5832: fi
1.66 paf 5833: echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5834: echo "${ECHO_T}$ac_cv_type_off_t" >&6
5835: if test $ac_cv_type_off_t = yes; then
1.62 paf 5836: :
5837: else
1.1 paf 5838:
1.66 paf 5839: cat >>confdefs.h <<_ACEOF
5840: #define off_t long
5841: _ACEOF
5842:
1.62 paf 5843: fi
1.1 paf 5844:
1.66 paf 5845: echo "$as_me:$LINENO: checking for ssize_t" >&5
5846: echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
5847: if test "${ac_cv_type_ssize_t+set}" = set; then
5848: echo $ECHO_N "(cached) $ECHO_C" >&6
5849: else
1.62 paf 5850: cat >conftest.$ac_ext <<_ACEOF
5851: /* confdefs.h. */
5852: _ACEOF
5853: cat confdefs.h >>conftest.$ac_ext
5854: cat >>conftest.$ac_ext <<_ACEOF
5855: /* end confdefs.h. */
1.66 paf 5856: $ac_includes_default
5857: int
5858: main ()
5859: {
5860: if ((ssize_t *) 0)
5861: return 0;
5862: if (sizeof (ssize_t))
5863: return 0;
5864: ;
5865: return 0;
5866: }
1.62 paf 5867: _ACEOF
1.66 paf 5868: rm -f conftest.$ac_objext
5869: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86 paf 5870: (eval $ac_compile) 2>conftest.er1
1.66 paf 5871: ac_status=$?
1.86 paf 5872: grep -v '^ *+' conftest.er1 >conftest.err
5873: rm -f conftest.er1
5874: cat conftest.err >&5
1.66 paf 5875: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5876: (exit $ac_status); } &&
1.86 paf 5877: { ac_try='test -z "$ac_c_werror_flag"
5878: || test ! -s conftest.err'
5879: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5880: (eval $ac_try) 2>&5
5881: ac_status=$?
5882: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5883: (exit $ac_status); }; } &&
5884: { ac_try='test -s conftest.$ac_objext'
1.66 paf 5885: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5886: (eval $ac_try) 2>&5
1.62 paf 5887: ac_status=$?
5888: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66 paf 5889: (exit $ac_status); }; }; then
5890: ac_cv_type_ssize_t=yes
1.1 paf 5891: else
1.62 paf 5892: echo "$as_me: failed program was:" >&5
5893: sed 's/^/| /' conftest.$ac_ext >&5
5894:
1.66 paf 5895: ac_cv_type_ssize_t=no
5896: fi
1.86 paf 5897: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62 paf 5898: fi
1.66 paf 5899: echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
5900: echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
5901: if test $ac_cv_type_ssize_t = yes; then
1.1 paf 5902: :
5903: else
1.66 paf 5904:
5905: cat >>confdefs.h <<_ACEOF
5906: #define ssize_t int
5907: _ACEOF
5908:
1.1 paf 5909: fi
1.62 paf 5910:
5911:
5912:
5913:
1.66 paf 5914: echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5915: echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5916: if test "${ac_cv_header_time+set}" = set; then
1.62 paf 5917: echo $ECHO_N "(cached) $ECHO_C" >&6
5918: else
5919: cat >conftest.$ac_ext <<_ACEOF
5920: /* confdefs.h. */
5921: _ACEOF
5922: cat confdefs.h >>conftest.$ac_ext
5923: cat >>conftest.$ac_ext <<_ACEOF
5924: /* end confdefs.h. */
1.66 paf 5925: #include <sys/types.h>
5926: #include <sys/time.h>
5927: #include <time.h>
1.62 paf 5928:
5929: int
5930: main ()
5931: {
1.66 paf 5932: if ((struct tm *) 0)
5933: return 0;
1.62 paf 5934: ;
5935: return 0;
5936: }
5937: _ACEOF
5938: rm -f conftest.$ac_objext
5939: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86 paf 5940: (eval $ac_compile) 2>conftest.er1
1.62 paf 5941: ac_status=$?
1.86 paf 5942: grep -v '^ *+' conftest.er1 >conftest.err
5943: rm -f conftest.er1
5944: cat conftest.err >&5
1.62 paf 5945: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5946: (exit $ac_status); } &&
1.86 paf 5947: { ac_try='test -z "$ac_c_werror_flag"
5948: || test ! -s conftest.err'
5949: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5950: (eval $ac_try) 2>&5
5951: ac_status=$?
5952: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5953: (exit $ac_status); }; } &&
5954: { ac_try='test -s conftest.$ac_objext'
1.62 paf 5955: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5956: (eval $ac_try) 2>&5
5957: ac_status=$?
5958: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5959: (exit $ac_status); }; }; then
1.66 paf 5960: ac_cv_header_time=yes
1.1 paf 5961: else
1.62 paf 5962: echo "$as_me: failed program was:" >&5
5963: sed 's/^/| /' conftest.$ac_ext >&5
5964:
1.66 paf 5965: ac_cv_header_time=no
1.1 paf 5966: fi
1.86 paf 5967: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66 paf 5968: fi
5969: echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5970: echo "${ECHO_T}$ac_cv_header_time" >&6
5971: if test $ac_cv_header_time = yes; then
1.1 paf 5972:
1.66 paf 5973: cat >>confdefs.h <<\_ACEOF
5974: #define TIME_WITH_SYS_TIME 1
1.62 paf 5975: _ACEOF
5976:
1.1 paf 5977: fi
5978:
5979:
1.62 paf 5980:
1.1 paf 5981:
1.66 paf 5982:
5983:
5984:
5985:
5986:
5987:
5988:
5989:
5990:
5991:
5992:
5993:
5994:
5995:
5996:
5997:
5998:
5999:
6000:
6001:
6002:
6003:
6004:
6005:
6006:
6007:
6008:
6009:
1.67 paf 6010: for ac_header in assert.h \
6011: signal.h \
1.66 paf 6012: unistd.h \
6013: process.h \
6014: stddef.h \
6015: stdarg.h \
6016: fcntl.h \
6017: sys/stat.h \
6018: io.h \
6019: stdio.h \
6020: errno.h \
6021: ctype.h \
6022: math.h \
6023: crypt.h \
6024: time.h sys/time.h \
6025: string.h \
6026: direct.h \
6027: setjmp.h \
6028: memory.h \
6029: sys/file.h \
6030: sys/locking.h \
6031: sys/types.h \
6032: sys/select.h \
6033: sys/resource.h \
6034: winsock.h \
6035: sys/socket.h \
6036: netinet/in.h \
6037: arpa/inet.h \
6038: netdb.h
6039:
6040: do
6041: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6042: if eval "test \"\${$as_ac_Header+set}\" = set"; then
6043: echo "$as_me:$LINENO: checking for $ac_header" >&5
6044: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6045: if eval "test \"\${$as_ac_Header+set}\" = set"; then
6046: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 paf 6047: fi
1.66 paf 6048: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6049: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.1 paf 6050: else
1.66 paf 6051: # Is the header compilable?
6052: echo "$as_me:$LINENO: checking $ac_header usability" >&5
6053: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6054: cat >conftest.$ac_ext <<_ACEOF
1.62 paf 6055: /* confdefs.h. */
6056: _ACEOF
6057: cat confdefs.h >>conftest.$ac_ext
6058: cat >>conftest.$ac_ext <<_ACEOF
6059: /* end confdefs.h. */
1.66 paf 6060: $ac_includes_default
6061: #include <$ac_header>
1.62 paf 6062: _ACEOF
1.66 paf 6063: rm -f conftest.$ac_objext
6064: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86 paf 6065: (eval $ac_compile) 2>conftest.er1
1.62 paf 6066: ac_status=$?
1.86 paf 6067: grep -v '^ *+' conftest.er1 >conftest.err
6068: rm -f conftest.er1
6069: cat conftest.err >&5
1.62 paf 6070: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66 paf 6071: (exit $ac_status); } &&
1.86 paf 6072: { ac_try='test -z "$ac_c_werror_flag"
6073: || test ! -s conftest.err'
6074: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6075: (eval $ac_try) 2>&5
6076: ac_status=$?
6077: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6078: (exit $ac_status); }; } &&
6079: { ac_try='test -s conftest.$ac_objext'
1.62 paf 6080: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6081: (eval $ac_try) 2>&5
6082: ac_status=$?
6083: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6084: (exit $ac_status); }; }; then
1.66 paf 6085: ac_header_compiler=yes
1.1 paf 6086: else
1.66 paf 6087: echo "$as_me: failed program was:" >&5
1.62 paf 6088: sed 's/^/| /' conftest.$ac_ext >&5
6089:
1.66 paf 6090: ac_header_compiler=no
1.1 paf 6091: fi
1.86 paf 6092: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66 paf 6093: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6094: echo "${ECHO_T}$ac_header_compiler" >&6
6095:
6096: # Is the header present?
6097: echo "$as_me:$LINENO: checking $ac_header presence" >&5
6098: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6099: cat >conftest.$ac_ext <<_ACEOF
6100: /* confdefs.h. */
6101: _ACEOF
6102: cat confdefs.h >>conftest.$ac_ext
6103: cat >>conftest.$ac_ext <<_ACEOF
6104: /* end confdefs.h. */
6105: #include <$ac_header>
6106: _ACEOF
6107: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6108: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6109: ac_status=$?
6110: grep -v '^ *+' conftest.er1 >conftest.err
6111: rm -f conftest.er1
6112: cat conftest.err >&5
6113: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6114: (exit $ac_status); } >/dev/null; then
6115: if test -s conftest.err; then
6116: ac_cpp_err=$ac_c_preproc_warn_flag
1.86 paf 6117: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.66 paf 6118: else
6119: ac_cpp_err=
6120: fi
6121: else
6122: ac_cpp_err=yes
1.1 paf 6123: fi
1.66 paf 6124: if test -z "$ac_cpp_err"; then
6125: ac_header_preproc=yes
6126: else
6127: echo "$as_me: failed program was:" >&5
6128: sed 's/^/| /' conftest.$ac_ext >&5
6129:
6130: ac_header_preproc=no
1.1 paf 6131: fi
1.66 paf 6132: rm -f conftest.err conftest.$ac_ext
6133: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6134: echo "${ECHO_T}$ac_header_preproc" >&6
6135:
6136: # So? What about this header?
1.86 paf 6137: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6138: yes:no: )
1.66 paf 6139: { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6140: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
1.86 paf 6141: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6142: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6143: ac_header_preproc=yes
1.66 paf 6144: ;;
1.86 paf 6145: no:yes:* )
1.66 paf 6146: { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6147: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
1.86 paf 6148: { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6149: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6150: { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6151: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6152: { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6153: echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
1.66 paf 6154: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6155: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
1.86 paf 6156: { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6157: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
1.66 paf 6158: (
6159: cat <<\_ASBOX
1.86 paf 6160: ## ------------------------------------------ ##
6161: ## Report this to the AC_PACKAGE_NAME lists. ##
6162: ## ------------------------------------------ ##
1.66 paf 6163: _ASBOX
6164: ) |
6165: sed "s/^/$as_me: WARNING: /" >&2
6166: ;;
6167: esac
6168: echo "$as_me:$LINENO: checking for $ac_header" >&5
6169: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6170: if eval "test \"\${$as_ac_Header+set}\" = set"; then
6171: echo $ECHO_N "(cached) $ECHO_C" >&6
6172: else
1.86 paf 6173: eval "$as_ac_Header=\$ac_header_preproc"
1.1 paf 6174: fi
1.66 paf 6175: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6176: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.1 paf 6177:
1.66 paf 6178: fi
6179: if test `eval echo '${'$as_ac_Header'}'` = yes; then
6180: cat >>confdefs.h <<_ACEOF
6181: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.62 paf 6182: _ACEOF
6183:
6184: fi
6185:
1.66 paf 6186: done
1.62 paf 6187:
6188:
6189:
1.66 paf 6190: case "$host" in
6191: *-sunos5.6* | *-solaris2.6*)
1.62 paf 6192:
1.66 paf 6193: echo "$as_me:$LINENO: checking for main in -lxnet" >&5
6194: echo $ECHO_N "checking for main in -lxnet... $ECHO_C" >&6
6195: if test "${ac_cv_lib_xnet_main+set}" = set; then
1.62 paf 6196: echo $ECHO_N "(cached) $ECHO_C" >&6
6197: else
1.66 paf 6198: ac_check_lib_save_LIBS=$LIBS
6199: LIBS="-lxnet $LIBS"
6200: cat >conftest.$ac_ext <<_ACEOF
1.62 paf 6201: /* confdefs.h. */
6202: _ACEOF
6203: cat confdefs.h >>conftest.$ac_ext
6204: cat >>conftest.$ac_ext <<_ACEOF
6205: /* end confdefs.h. */
6206:
1.66 paf 6207:
6208: int
6209: main ()
6210: {
6211: main ();
6212: ;
6213: return 0;
6214: }
1.62 paf 6215: _ACEOF
1.66 paf 6216: rm -f conftest.$ac_objext conftest$ac_exeext
6217: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86 paf 6218: (eval $ac_link) 2>conftest.er1
1.62 paf 6219: ac_status=$?
1.86 paf 6220: grep -v '^ *+' conftest.er1 >conftest.err
6221: rm -f conftest.er1
6222: cat conftest.err >&5
1.62 paf 6223: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6224: (exit $ac_status); } &&
1.86 paf 6225: { ac_try='test -z "$ac_c_werror_flag"
6226: || test ! -s conftest.err'
6227: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6228: (eval $ac_try) 2>&5
6229: ac_status=$?
6230: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6231: (exit $ac_status); }; } &&
6232: { ac_try='test -s conftest$ac_exeext'
1.62 paf 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
1.66 paf 6238: ac_cv_lib_xnet_main=yes
1.62 paf 6239: else
6240: echo "$as_me: failed program was:" >&5
6241: sed 's/^/| /' conftest.$ac_ext >&5
6242:
1.66 paf 6243: ac_cv_lib_xnet_main=no
1.62 paf 6244: fi
1.86 paf 6245: rm -f conftest.err conftest.$ac_objext \
6246: conftest$ac_exeext conftest.$ac_ext
1.66 paf 6247: LIBS=$ac_check_lib_save_LIBS
1.62 paf 6248: fi
1.66 paf 6249: echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_main" >&5
6250: echo "${ECHO_T}$ac_cv_lib_xnet_main" >&6
6251: if test $ac_cv_lib_xnet_main = yes; then
1.62 paf 6252: cat >>confdefs.h <<_ACEOF
1.66 paf 6253: #define HAVE_LIBXNET 1
1.62 paf 6254: _ACEOF
1.1 paf 6255:
1.66 paf 6256: LIBS="-lxnet $LIBS"
6257:
1.1 paf 6258: fi
6259:
1.66 paf 6260: ;;
6261: *-sunos5* | *-solaris2*)
1.62 paf 6262:
1.66 paf 6263: echo "$as_me:$LINENO: checking for main in -lsocket" >&5
6264: echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
6265: if test "${ac_cv_lib_socket_main+set}" = set; then
1.62 paf 6266: echo $ECHO_N "(cached) $ECHO_C" >&6
6267: else
1.66 paf 6268: ac_check_lib_save_LIBS=$LIBS
6269: LIBS="-lsocket $LIBS"
6270: cat >conftest.$ac_ext <<_ACEOF
1.62 paf 6271: /* confdefs.h. */
6272: _ACEOF
6273: cat confdefs.h >>conftest.$ac_ext
6274: cat >>conftest.$ac_ext <<_ACEOF
6275: /* end confdefs.h. */
1.66 paf 6276:
6277:
1.62 paf 6278: int
6279: main ()
6280: {
1.66 paf 6281: main ();
1.62 paf 6282: ;
6283: return 0;
6284: }
6285: _ACEOF
1.66 paf 6286: rm -f conftest.$ac_objext conftest$ac_exeext
6287: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86 paf 6288: (eval $ac_link) 2>conftest.er1
1.62 paf 6289: ac_status=$?
1.86 paf 6290: grep -v '^ *+' conftest.er1 >conftest.err
6291: rm -f conftest.er1
6292: cat conftest.err >&5
1.62 paf 6293: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6294: (exit $ac_status); } &&
1.86 paf 6295: { ac_try='test -z "$ac_c_werror_flag"
6296: || test ! -s conftest.err'
6297: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6298: (eval $ac_try) 2>&5
6299: ac_status=$?
6300: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6301: (exit $ac_status); }; } &&
6302: { ac_try='test -s conftest$ac_exeext'
1.62 paf 6303: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6304: (eval $ac_try) 2>&5
6305: ac_status=$?
6306: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6307: (exit $ac_status); }; }; then
1.66 paf 6308: ac_cv_lib_socket_main=yes
1.1 paf 6309: else
1.62 paf 6310: echo "$as_me: failed program was:" >&5
6311: sed 's/^/| /' conftest.$ac_ext >&5
6312:
1.66 paf 6313: ac_cv_lib_socket_main=no
1.1 paf 6314: fi
1.86 paf 6315: rm -f conftest.err conftest.$ac_objext \
6316: conftest$ac_exeext conftest.$ac_ext
1.66 paf 6317: LIBS=$ac_check_lib_save_LIBS
1.62 paf 6318: fi
1.66 paf 6319: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
6320: echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
6321: if test $ac_cv_lib_socket_main = yes; then
6322: cat >>confdefs.h <<_ACEOF
6323: #define HAVE_LIBSOCKET 1
6324: _ACEOF
1.1 paf 6325:
1.66 paf 6326: LIBS="-lsocket $LIBS"
1.1 paf 6327:
6328: fi
6329:
1.66 paf 6330:
6331: echo "$as_me:$LINENO: checking for main in -lnsl" >&5
6332: echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
6333: if test "${ac_cv_lib_nsl_main+set}" = set; then
1.62 paf 6334: echo $ECHO_N "(cached) $ECHO_C" >&6
6335: else
1.66 paf 6336: ac_check_lib_save_LIBS=$LIBS
6337: LIBS="-lnsl $LIBS"
6338: cat >conftest.$ac_ext <<_ACEOF
1.62 paf 6339: /* confdefs.h. */
6340: _ACEOF
6341: cat confdefs.h >>conftest.$ac_ext
6342: cat >>conftest.$ac_ext <<_ACEOF
6343: /* end confdefs.h. */
1.66 paf 6344:
6345:
1.62 paf 6346: int
6347: main ()
6348: {
1.66 paf 6349: main ();
1.62 paf 6350: ;
6351: return 0;
6352: }
6353: _ACEOF
1.66 paf 6354: rm -f conftest.$ac_objext conftest$ac_exeext
6355: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86 paf 6356: (eval $ac_link) 2>conftest.er1
1.62 paf 6357: ac_status=$?
1.86 paf 6358: grep -v '^ *+' conftest.er1 >conftest.err
6359: rm -f conftest.er1
6360: cat conftest.err >&5
1.62 paf 6361: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362: (exit $ac_status); } &&
1.86 paf 6363: { ac_try='test -z "$ac_c_werror_flag"
6364: || test ! -s conftest.err'
6365: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6366: (eval $ac_try) 2>&5
6367: ac_status=$?
6368: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6369: (exit $ac_status); }; } &&
6370: { ac_try='test -s conftest$ac_exeext'
1.62 paf 6371: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6372: (eval $ac_try) 2>&5
6373: ac_status=$?
6374: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375: (exit $ac_status); }; }; then
1.66 paf 6376: ac_cv_lib_nsl_main=yes
1.30 paf 6377: else
1.62 paf 6378: echo "$as_me: failed program was:" >&5
6379: sed 's/^/| /' conftest.$ac_ext >&5
6380:
1.66 paf 6381: ac_cv_lib_nsl_main=no
1.30 paf 6382: fi
1.86 paf 6383: rm -f conftest.err conftest.$ac_objext \
6384: conftest$ac_exeext conftest.$ac_ext
1.66 paf 6385: LIBS=$ac_check_lib_save_LIBS
1.62 paf 6386: fi
1.66 paf 6387: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
6388: echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
6389: if test $ac_cv_lib_nsl_main = yes; then
6390: cat >>confdefs.h <<_ACEOF
6391: #define HAVE_LIBNSL 1
6392: _ACEOF
1.30 paf 6393:
1.66 paf 6394: LIBS="-lnsl $LIBS"
1.30 paf 6395:
6396: fi
6397:
1.66 paf 6398: ;;
6399: *-nec-sysv4*)
6400:
6401: echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6402: echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6403: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
1.62 paf 6404: echo $ECHO_N "(cached) $ECHO_C" >&6
6405: else
1.66 paf 6406: ac_check_lib_save_LIBS=$LIBS
6407: LIBS="-lnsl $LIBS"
6408: cat >conftest.$ac_ext <<_ACEOF
1.62 paf 6409: /* confdefs.h. */
6410: _ACEOF
6411: cat confdefs.h >>conftest.$ac_ext
6412: cat >>conftest.$ac_ext <<_ACEOF
6413: /* end confdefs.h. */
1.66 paf 6414:
6415: /* Override any gcc2 internal prototype to avoid an error. */
6416: #ifdef __cplusplus
6417: extern "C"
6418: #endif
6419: /* We use char because int might match the return type of a gcc2
6420: builtin and then its argument prototype would still apply. */
6421: char gethostbyname ();
1.62 paf 6422: int
6423: main ()
6424: {
1.66 paf 6425: gethostbyname ();
1.62 paf 6426: ;
6427: return 0;
6428: }
6429: _ACEOF
1.66 paf 6430: rm -f conftest.$ac_objext conftest$ac_exeext
6431: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86 paf 6432: (eval $ac_link) 2>conftest.er1
1.62 paf 6433: ac_status=$?
1.86 paf 6434: grep -v '^ *+' conftest.er1 >conftest.err
6435: rm -f conftest.er1
6436: cat conftest.err >&5
1.62 paf 6437: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6438: (exit $ac_status); } &&
1.86 paf 6439: { ac_try='test -z "$ac_c_werror_flag"
6440: || test ! -s conftest.err'
6441: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6442: (eval $ac_try) 2>&5
6443: ac_status=$?
6444: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6445: (exit $ac_status); }; } &&
6446: { ac_try='test -s conftest$ac_exeext'
1.62 paf 6447: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6448: (eval $ac_try) 2>&5
6449: ac_status=$?
6450: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6451: (exit $ac_status); }; }; then
1.66 paf 6452: ac_cv_lib_nsl_gethostbyname=yes
1.30 paf 6453: else
1.62 paf 6454: echo "$as_me: failed program was:" >&5
6455: sed 's/^/| /' conftest.$ac_ext >&5
6456:
1.66 paf 6457: ac_cv_lib_nsl_gethostbyname=no
1.30 paf 6458: fi
1.86 paf 6459: rm -f conftest.err conftest.$ac_objext \
6460: conftest$ac_exeext conftest.$ac_ext
1.66 paf 6461: LIBS=$ac_check_lib_save_LIBS
1.62 paf 6462: fi
1.66 paf 6463: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6464: echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6465: if test $ac_cv_lib_nsl_gethostbyname = yes; then
6466: cat >>confdefs.h <<_ACEOF
6467: #define HAVE_LIBNSL 1
6468: _ACEOF
1.30 paf 6469:
1.66 paf 6470: LIBS="-lnsl $LIBS"
1.30 paf 6471:
6472: fi
6473:
6474:
1.66 paf 6475: echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
6476: echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
6477: if test "${ac_cv_lib_socket_socket+set}" = set; then
1.62 paf 6478: echo $ECHO_N "(cached) $ECHO_C" >&6
1.8 paf 6479: else
1.66 paf 6480: ac_check_lib_save_LIBS=$LIBS
6481: LIBS="-lsocket $LIBS"
6482: cat >conftest.$ac_ext <<_ACEOF
1.62 paf 6483: /* confdefs.h. */
6484: _ACEOF
6485: cat confdefs.h >>conftest.$ac_ext
6486: cat >>conftest.$ac_ext <<_ACEOF
6487: /* end confdefs.h. */
6488:
1.66 paf 6489: /* Override any gcc2 internal prototype to avoid an error. */
6490: #ifdef __cplusplus
6491: extern "C"
6492: #endif
6493: /* We use char because int might match the return type of a gcc2
6494: builtin and then its argument prototype would still apply. */
6495: char socket ();
1.62 paf 6496: int
6497: main ()
6498: {
1.66 paf 6499: socket ();
1.62 paf 6500: ;
6501: return 0;
6502: }
6503: _ACEOF
1.66 paf 6504: rm -f conftest.$ac_objext conftest$ac_exeext
6505: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86 paf 6506: (eval $ac_link) 2>conftest.er1
1.62 paf 6507: ac_status=$?
1.86 paf 6508: grep -v '^ *+' conftest.er1 >conftest.err
6509: rm -f conftest.er1
6510: cat conftest.err >&5
1.62 paf 6511: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6512: (exit $ac_status); } &&
1.86 paf 6513: { ac_try='test -z "$ac_c_werror_flag"
6514: || test ! -s conftest.err'
6515: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6516: (eval $ac_try) 2>&5
6517: ac_status=$?
6518: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6519: (exit $ac_status); }; } &&
6520: { ac_try='test -s conftest$ac_exeext'
1.62 paf 6521: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6522: (eval $ac_try) 2>&5
6523: ac_status=$?
6524: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525: (exit $ac_status); }; }; then
1.66 paf 6526: ac_cv_lib_socket_socket=yes
1.8 paf 6527: else
1.62 paf 6528: echo "$as_me: failed program was:" >&5
6529: sed 's/^/| /' conftest.$ac_ext >&5
6530:
1.66 paf 6531: ac_cv_lib_socket_socket=no
1.8 paf 6532: fi
1.86 paf 6533: rm -f conftest.err conftest.$ac_objext \
6534: conftest$ac_exeext conftest.$ac_ext
1.66 paf 6535: LIBS=$ac_check_lib_save_LIBS
1.8 paf 6536: fi
1.66 paf 6537: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
6538: echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
6539: if test $ac_cv_lib_socket_socket = yes; then
6540: cat >>confdefs.h <<_ACEOF
6541: #define HAVE_LIBSOCKET 1
6542: _ACEOF
1.8 paf 6543:
1.66 paf 6544: LIBS="-lsocket $LIBS"
1.8 paf 6545:
6546: fi
6547:
1.66 paf 6548: ;;
6549: *-cygwin*)
1.8 paf 6550:
1.66 paf 6551: cat >>confdefs.h <<\_ACEOF
6552: #define WIN32
6553: _ACEOF
1.62 paf 6554:
6555:
1.66 paf 6556: echo "$as_me:$LINENO: checking for socket in -lwsock32" >&5
6557: echo $ECHO_N "checking for socket in -lwsock32... $ECHO_C" >&6
6558: if test "${ac_cv_lib_wsock32_socket+set}" = set; then
1.62 paf 6559: echo $ECHO_N "(cached) $ECHO_C" >&6
6560: else
1.66 paf 6561: ac_check_lib_save_LIBS=$LIBS
6562: LIBS="-lwsock32 $LIBS"
1.62 paf 6563: cat >conftest.$ac_ext <<_ACEOF
6564: /* confdefs.h. */
6565: _ACEOF
6566: cat confdefs.h >>conftest.$ac_ext
6567: cat >>conftest.$ac_ext <<_ACEOF
6568: /* end confdefs.h. */
1.66 paf 6569:
6570: /* Override any gcc2 internal prototype to avoid an error. */
6571: #ifdef __cplusplus
6572: extern "C"
6573: #endif
6574: /* We use char because int might match the return type of a gcc2
6575: builtin and then its argument prototype would still apply. */
6576: char socket ();
6577: int
6578: main ()
6579: {
6580: socket ();
6581: ;
6582: return 0;
6583: }
1.62 paf 6584: _ACEOF
1.66 paf 6585: rm -f conftest.$ac_objext conftest$ac_exeext
6586: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86 paf 6587: (eval $ac_link) 2>conftest.er1
1.62 paf 6588: ac_status=$?
1.86 paf 6589: grep -v '^ *+' conftest.er1 >conftest.err
6590: rm -f conftest.er1
6591: cat conftest.err >&5
1.62 paf 6592: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6593: (exit $ac_status); } &&
1.86 paf 6594: { ac_try='test -z "$ac_c_werror_flag"
6595: || test ! -s conftest.err'
6596: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6597: (eval $ac_try) 2>&5
6598: ac_status=$?
6599: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6600: (exit $ac_status); }; } &&
6601: { ac_try='test -s conftest$ac_exeext'
1.62 paf 6602: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6603: (eval $ac_try) 2>&5
6604: ac_status=$?
6605: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6606: (exit $ac_status); }; }; then
1.66 paf 6607: ac_cv_lib_wsock32_socket=yes
1.62 paf 6608: else
6609: echo "$as_me: failed program was:" >&5
6610: sed 's/^/| /' conftest.$ac_ext >&5
6611:
1.66 paf 6612: ac_cv_lib_wsock32_socket=no
6613: fi
1.86 paf 6614: rm -f conftest.err conftest.$ac_objext \
6615: conftest$ac_exeext conftest.$ac_ext
1.66 paf 6616: LIBS=$ac_check_lib_save_LIBS
6617: fi
6618: echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_socket" >&5
6619: echo "${ECHO_T}$ac_cv_lib_wsock32_socket" >&6
6620: if test $ac_cv_lib_wsock32_socket = yes; then
6621: cat >>confdefs.h <<_ACEOF
6622: #define HAVE_LIBWSOCK32 1
6623: _ACEOF
6624:
6625: LIBS="-lwsock32 $LIBS"
6626:
1.62 paf 6627: fi
6628:
1.66 paf 6629: ;;
6630: # never tested this, only theoretically by letter from demos about parser2 build
6631: *-hpux*)
6632:
6633: echo "$as_me:$LINENO: checking for main in -lnsl" >&5
6634: echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
6635: if test "${ac_cv_lib_nsl_main+set}" = set; then
6636: echo $ECHO_N "(cached) $ECHO_C" >&6
6637: else
6638: ac_check_lib_save_LIBS=$LIBS
6639: LIBS="-lnsl $LIBS"
1.62 paf 6640: cat >conftest.$ac_ext <<_ACEOF
6641: /* confdefs.h. */
6642: _ACEOF
6643: cat confdefs.h >>conftest.$ac_ext
6644: cat >>conftest.$ac_ext <<_ACEOF
6645: /* end confdefs.h. */
1.66 paf 6646:
6647:
6648: int
6649: main ()
6650: {
6651: main ();
6652: ;
6653: return 0;
6654: }
1.62 paf 6655: _ACEOF
1.66 paf 6656: rm -f conftest.$ac_objext conftest$ac_exeext
6657: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86 paf 6658: (eval $ac_link) 2>conftest.er1
1.66 paf 6659: ac_status=$?
1.86 paf 6660: grep -v '^ *+' conftest.er1 >conftest.err
6661: rm -f conftest.er1
6662: cat conftest.err >&5
1.66 paf 6663: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6664: (exit $ac_status); } &&
1.86 paf 6665: { ac_try='test -z "$ac_c_werror_flag"
6666: || test ! -s conftest.err'
6667: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6668: (eval $ac_try) 2>&5
6669: ac_status=$?
6670: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6671: (exit $ac_status); }; } &&
6672: { ac_try='test -s conftest$ac_exeext'
1.66 paf 6673: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6674: (eval $ac_try) 2>&5
1.62 paf 6675: ac_status=$?
6676: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66 paf 6677: (exit $ac_status); }; }; then
6678: ac_cv_lib_nsl_main=yes
1.62 paf 6679: else
6680: echo "$as_me: failed program was:" >&5
6681: sed 's/^/| /' conftest.$ac_ext >&5
6682:
1.66 paf 6683: ac_cv_lib_nsl_main=no
1.62 paf 6684: fi
1.86 paf 6685: rm -f conftest.err conftest.$ac_objext \
6686: conftest$ac_exeext conftest.$ac_ext
1.66 paf 6687: LIBS=$ac_check_lib_save_LIBS
1.1 paf 6688: fi
1.66 paf 6689: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
6690: echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
6691: if test $ac_cv_lib_nsl_main = yes; then
1.62 paf 6692: cat >>confdefs.h <<_ACEOF
1.66 paf 6693: #define HAVE_LIBNSL 1
1.62 paf 6694: _ACEOF
6695:
1.66 paf 6696: LIBS="-lnsl $LIBS"
6697:
1.1 paf 6698: fi
1.62 paf 6699:
1.66 paf 6700: ;;
6701: esac
1.1 paf 6702:
6703:
1.66 paf 6704: echo "$as_me:$LINENO: checking for sin in -lm" >&5
6705: echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
6706: if test "${ac_cv_lib_m_sin+set}" = set; then
1.62 paf 6707: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 paf 6708: else
1.62 paf 6709: ac_check_lib_save_LIBS=$LIBS
1.66 paf 6710: LIBS="-lm $LIBS"
1.62 paf 6711: cat >conftest.$ac_ext <<_ACEOF
6712: /* confdefs.h. */
6713: _ACEOF
6714: cat confdefs.h >>conftest.$ac_ext
6715: cat >>conftest.$ac_ext <<_ACEOF
6716: /* end confdefs.h. */
6717:
1.66 paf 6718: /* Override any gcc2 internal prototype to avoid an error. */
6719: #ifdef __cplusplus
6720: extern "C"
6721: #endif
6722: /* We use char because int might match the return type of a gcc2
6723: builtin and then its argument prototype would still apply. */
6724: char sin ();
1.62 paf 6725: int
6726: main ()
6727: {
1.66 paf 6728: sin ();
1.62 paf 6729: ;
6730: return 0;
6731: }
6732: _ACEOF
6733: rm -f conftest.$ac_objext conftest$ac_exeext
6734: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86 paf 6735: (eval $ac_link) 2>conftest.er1
1.62 paf 6736: ac_status=$?
1.86 paf 6737: grep -v '^ *+' conftest.er1 >conftest.err
6738: rm -f conftest.er1
6739: cat conftest.err >&5
1.62 paf 6740: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6741: (exit $ac_status); } &&
1.86 paf 6742: { ac_try='test -z "$ac_c_werror_flag"
6743: || test ! -s conftest.err'
6744: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6745: (eval $ac_try) 2>&5
6746: ac_status=$?
6747: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6748: (exit $ac_status); }; } &&
6749: { ac_try='test -s conftest$ac_exeext'
1.62 paf 6750: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6751: (eval $ac_try) 2>&5
6752: ac_status=$?
6753: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6754: (exit $ac_status); }; }; then
1.66 paf 6755: ac_cv_lib_m_sin=yes
1.62 paf 6756: else
6757: echo "$as_me: failed program was:" >&5
6758: sed 's/^/| /' conftest.$ac_ext >&5
6759:
1.66 paf 6760: ac_cv_lib_m_sin=no
1.62 paf 6761: fi
1.86 paf 6762: rm -f conftest.err conftest.$ac_objext \
6763: conftest$ac_exeext conftest.$ac_ext
1.62 paf 6764: LIBS=$ac_check_lib_save_LIBS
6765: fi
1.66 paf 6766: echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
6767: echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
6768: if test $ac_cv_lib_m_sin = yes; then
1.62 paf 6769: cat >>confdefs.h <<_ACEOF
1.66 paf 6770: #define HAVE_LIBM 1
1.62 paf 6771: _ACEOF
1.1 paf 6772:
1.66 paf 6773: LIBS="-lm $LIBS"
1.1 paf 6774:
6775: fi
6776:
1.62 paf 6777:
1.66 paf 6778:
6779: echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
6780: echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
6781: if test "${ac_cv_lib_crypt_crypt+set}" = set; then
1.62 paf 6782: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 paf 6783: else
1.62 paf 6784: ac_check_lib_save_LIBS=$LIBS
1.66 paf 6785: LIBS="-lcrypt $LIBS"
1.62 paf 6786: cat >conftest.$ac_ext <<_ACEOF
6787: /* confdefs.h. */
6788: _ACEOF
6789: cat confdefs.h >>conftest.$ac_ext
6790: cat >>conftest.$ac_ext <<_ACEOF
6791: /* end confdefs.h. */
6792:
1.66 paf 6793: /* Override any gcc2 internal prototype to avoid an error. */
6794: #ifdef __cplusplus
6795: extern "C"
6796: #endif
6797: /* We use char because int might match the return type of a gcc2
6798: builtin and then its argument prototype would still apply. */
6799: char crypt ();
1.62 paf 6800: int
6801: main ()
6802: {
1.66 paf 6803: crypt ();
1.62 paf 6804: ;
6805: return 0;
6806: }
6807: _ACEOF
6808: rm -f conftest.$ac_objext conftest$ac_exeext
6809: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86 paf 6810: (eval $ac_link) 2>conftest.er1
1.62 paf 6811: ac_status=$?
1.86 paf 6812: grep -v '^ *+' conftest.er1 >conftest.err
6813: rm -f conftest.er1
6814: cat conftest.err >&5
1.62 paf 6815: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6816: (exit $ac_status); } &&
1.86 paf 6817: { ac_try='test -z "$ac_c_werror_flag"
6818: || test ! -s conftest.err'
6819: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6820: (eval $ac_try) 2>&5
6821: ac_status=$?
6822: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6823: (exit $ac_status); }; } &&
6824: { ac_try='test -s conftest$ac_exeext'
1.62 paf 6825: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6826: (eval $ac_try) 2>&5
6827: ac_status=$?
6828: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829: (exit $ac_status); }; }; then
1.66 paf 6830: ac_cv_lib_crypt_crypt=yes
1.62 paf 6831: else
6832: echo "$as_me: failed program was:" >&5
6833: sed 's/^/| /' conftest.$ac_ext >&5
6834:
1.66 paf 6835: ac_cv_lib_crypt_crypt=no
1.62 paf 6836: fi
1.86 paf 6837: rm -f conftest.err conftest.$ac_objext \
6838: conftest$ac_exeext conftest.$ac_ext
1.62 paf 6839: LIBS=$ac_check_lib_save_LIBS
6840: fi
1.66 paf 6841: echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
6842: echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
6843: if test $ac_cv_lib_crypt_crypt = yes; then
1.62 paf 6844: cat >>confdefs.h <<_ACEOF
1.66 paf 6845: #define HAVE_LIBCRYPT 1
1.62 paf 6846: _ACEOF
1.1 paf 6847:
1.66 paf 6848: LIBS="-lcrypt $LIBS"
6849:
6850: fi
6851:
6852:
6853:
6854:
6855:
6856:
6857:
6858:
6859:
6860:
6861:
6862:
1.80 paf 6863:
1.92 misha 6864:
1.67 paf 6865: for ac_func in flock \
1.66 paf 6866: _locking \
6867: fcntl \
6868: lockf \
6869: ftruncate \
6870: getrusage \
6871: gettimeofday \
6872: crypt \
1.80 paf 6873: sigsetjmp \
1.92 misha 6874: siglongjmp \
6875: unsetenv
1.66 paf 6876:
6877: do
6878: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6879: echo "$as_me:$LINENO: checking for $ac_func" >&5
6880: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6881: if eval "test \"\${$as_ac_var+set}\" = set"; then
6882: echo $ECHO_N "(cached) $ECHO_C" >&6
6883: else
6884: cat >conftest.$ac_ext <<_ACEOF
6885: /* confdefs.h. */
6886: _ACEOF
6887: cat confdefs.h >>conftest.$ac_ext
6888: cat >>conftest.$ac_ext <<_ACEOF
6889: /* end confdefs.h. */
1.86 paf 6890: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6891: For example, HP-UX 11i <limits.h> declares gettimeofday. */
6892: #define $ac_func innocuous_$ac_func
6893:
1.66 paf 6894: /* System header to define __stub macros and hopefully few prototypes,
6895: which can conflict with char $ac_func (); below.
6896: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6897: <limits.h> exists even on freestanding compilers. */
1.86 paf 6898:
1.66 paf 6899: #ifdef __STDC__
6900: # include <limits.h>
6901: #else
6902: # include <assert.h>
6903: #endif
1.86 paf 6904:
6905: #undef $ac_func
6906:
1.66 paf 6907: /* Override any gcc2 internal prototype to avoid an error. */
6908: #ifdef __cplusplus
6909: extern "C"
6910: {
6911: #endif
6912: /* We use char because int might match the return type of a gcc2
6913: builtin and then its argument prototype would still apply. */
6914: char $ac_func ();
6915: /* The GNU C library defines this for functions which it implements
6916: to always fail with ENOSYS. Some functions are actually named
6917: something starting with __ and the normal name is an alias. */
6918: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6919: choke me
6920: #else
6921: char (*f) () = $ac_func;
6922: #endif
6923: #ifdef __cplusplus
6924: }
6925: #endif
1.62 paf 6926:
6927: int
6928: main ()
6929: {
1.66 paf 6930: return f != $ac_func;
1.62 paf 6931: ;
6932: return 0;
6933: }
6934: _ACEOF
6935: rm -f conftest.$ac_objext conftest$ac_exeext
6936: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86 paf 6937: (eval $ac_link) 2>conftest.er1
1.62 paf 6938: ac_status=$?
1.86 paf 6939: grep -v '^ *+' conftest.er1 >conftest.err
6940: rm -f conftest.er1
6941: cat conftest.err >&5
1.62 paf 6942: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6943: (exit $ac_status); } &&
1.86 paf 6944: { ac_try='test -z "$ac_c_werror_flag"
6945: || test ! -s conftest.err'
6946: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6947: (eval $ac_try) 2>&5
6948: ac_status=$?
6949: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6950: (exit $ac_status); }; } &&
6951: { ac_try='test -s conftest$ac_exeext'
1.62 paf 6952: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6953: (eval $ac_try) 2>&5
6954: ac_status=$?
6955: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6956: (exit $ac_status); }; }; then
1.66 paf 6957: eval "$as_ac_var=yes"
1.62 paf 6958: else
6959: echo "$as_me: failed program was:" >&5
6960: sed 's/^/| /' conftest.$ac_ext >&5
6961:
1.66 paf 6962: eval "$as_ac_var=no"
1.62 paf 6963: fi
1.86 paf 6964: rm -f conftest.err conftest.$ac_objext \
6965: conftest$ac_exeext conftest.$ac_ext
1.62 paf 6966: fi
1.66 paf 6967: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6968: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6969: if test `eval echo '${'$as_ac_var'}'` = yes; then
1.62 paf 6970: cat >>confdefs.h <<_ACEOF
1.66 paf 6971: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62 paf 6972: _ACEOF
1.1 paf 6973:
1.66 paf 6974: fi
6975: done
6976:
1.1 paf 6977:
6978:
1.67 paf 6979: pa_func=sigsetjmp
6980: echo "$as_me:$LINENO: checking for (maybe built-in) function $pa_func" >&5
6981: echo $ECHO_N "checking for (maybe built-in) function $pa_func... $ECHO_C" >&6
6982: cat >conftest.$ac_ext <<_ACEOF
6983: /* confdefs.h. */
6984: _ACEOF
6985: cat confdefs.h >>conftest.$ac_ext
6986: cat >>conftest.$ac_ext <<_ACEOF
6987: /* end confdefs.h. */
6988:
6989: #ifdef HAVE_SETJMP_H
6990: # include <setjmp.h>
6991: #endif
6992:
6993: int
6994: main ()
6995: {
6996:
6997: $pa_func(0,0);
6998:
6999: ;
7000: return 0;
7001: }
7002: _ACEOF
7003: rm -f conftest.$ac_objext
7004: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86 paf 7005: (eval $ac_compile) 2>conftest.er1
1.67 paf 7006: ac_status=$?
1.86 paf 7007: grep -v '^ *+' conftest.er1 >conftest.err
7008: rm -f conftest.er1
7009: cat conftest.err >&5
1.67 paf 7010: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7011: (exit $ac_status); } &&
1.86 paf 7012: { ac_try='test -z "$ac_c_werror_flag"
7013: || test ! -s conftest.err'
7014: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7015: (eval $ac_try) 2>&5
7016: ac_status=$?
7017: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7018: (exit $ac_status); }; } &&
7019: { ac_try='test -s conftest.$ac_objext'
1.67 paf 7020: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7021: (eval $ac_try) 2>&5
7022: ac_status=$?
7023: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7024: (exit $ac_status); }; }; then
7025: echo "$as_me:$LINENO: result: yes" >&5
7026: echo "${ECHO_T}yes" >&6
7027: cat >>confdefs.h <<_ACEOF
7028: #define `echo "HAVE_$pa_func" | $as_tr_cpp` 1
7029: _ACEOF
7030:
7031:
7032: else
7033: echo "$as_me: failed program was:" >&5
7034: sed 's/^/| /' conftest.$ac_ext >&5
7035:
7036: echo "$as_me:$LINENO: result: no" >&5
7037: echo "${ECHO_T}no" >&6
7038:
7039: fi
1.86 paf 7040: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.67 paf 7041:
7042:
7043:
7044: ac_ext=cc
7045: ac_cpp='$CXXCPP $CPPFLAGS'
7046: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7047: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7048: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7049:
7050:
7051:
7052:
7053:
7054:
7055:
7056: for pa_func in trunc \
7057: round \
7058: sign
7059:
7060: do
7061:
7062: echo "$as_me:$LINENO: checking for (maybe built-in) math function $pa_func" >&5
7063: echo $ECHO_N "checking for (maybe built-in) math function $pa_func... $ECHO_C" >&6
7064: cat >conftest.$ac_ext <<_ACEOF
7065: /* confdefs.h. */
7066: _ACEOF
7067: cat confdefs.h >>conftest.$ac_ext
7068: cat >>conftest.$ac_ext <<_ACEOF
7069: /* end confdefs.h. */
7070:
7071: #ifdef HAVE_MATH_H
7072: # include <math.h>
7073: #endif
7074:
7075: int
7076: main ()
7077: {
7078:
7079: double result=$pa_func(1.6);
7080:
7081: ;
7082: return 0;
7083: }
7084: _ACEOF
7085: rm -f conftest.$ac_objext
7086: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86 paf 7087: (eval $ac_compile) 2>conftest.er1
1.67 paf 7088: ac_status=$?
1.86 paf 7089: grep -v '^ *+' conftest.er1 >conftest.err
7090: rm -f conftest.er1
7091: cat conftest.err >&5
1.67 paf 7092: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7093: (exit $ac_status); } &&
1.86 paf 7094: { ac_try='test -z "$ac_cxx_werror_flag"
7095: || test ! -s conftest.err'
7096: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7097: (eval $ac_try) 2>&5
7098: ac_status=$?
7099: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7100: (exit $ac_status); }; } &&
7101: { ac_try='test -s conftest.$ac_objext'
1.67 paf 7102: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7103: (eval $ac_try) 2>&5
7104: ac_status=$?
7105: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7106: (exit $ac_status); }; }; then
7107: echo "$as_me:$LINENO: result: yes" >&5
7108: echo "${ECHO_T}yes" >&6
7109: cat >>confdefs.h <<_ACEOF
7110: #define `echo "HAVE_$pa_func" | $as_tr_cpp` 1
7111: _ACEOF
7112:
7113: else
7114: echo "$as_me: failed program was:" >&5
7115: sed 's/^/| /' conftest.$ac_ext >&5
7116:
7117: echo "$as_me:$LINENO: result: no" >&5
7118: echo "${ECHO_T}no" >&6
7119:
7120: fi
1.86 paf 7121: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.67 paf 7122:
7123: done
7124:
7125: ac_ext=c
7126: ac_cpp='$CPP $CPPFLAGS'
7127: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7128: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7129: ac_compiler_gnu=$ac_cv_c_compiler_gnu
7130:
7131:
7132:
1.62 paf 7133:
1.66 paf 7134: for ac_func in qsort
7135: do
7136: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7137: echo "$as_me:$LINENO: checking for $ac_func" >&5
7138: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7139: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.62 paf 7140: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 paf 7141: else
1.66 paf 7142: cat >conftest.$ac_ext <<_ACEOF
1.62 paf 7143: /* confdefs.h. */
7144: _ACEOF
7145: cat confdefs.h >>conftest.$ac_ext
7146: cat >>conftest.$ac_ext <<_ACEOF
7147: /* end confdefs.h. */
1.86 paf 7148: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7149: For example, HP-UX 11i <limits.h> declares gettimeofday. */
7150: #define $ac_func innocuous_$ac_func
7151:
1.66 paf 7152: /* System header to define __stub macros and hopefully few prototypes,
7153: which can conflict with char $ac_func (); below.
7154: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7155: <limits.h> exists even on freestanding compilers. */
1.86 paf 7156:
1.66 paf 7157: #ifdef __STDC__
7158: # include <limits.h>
7159: #else
7160: # include <assert.h>
7161: #endif
1.86 paf 7162:
7163: #undef $ac_func
7164:
1.1 paf 7165: /* Override any gcc2 internal prototype to avoid an error. */
7166: #ifdef __cplusplus
7167: extern "C"
1.66 paf 7168: {
1.1 paf 7169: #endif
7170: /* We use char because int might match the return type of a gcc2
1.62 paf 7171: builtin and then its argument prototype would still apply. */
1.66 paf 7172: char $ac_func ();
7173: /* The GNU C library defines this for functions which it implements
7174: to always fail with ENOSYS. Some functions are actually named
7175: something starting with __ and the normal name is an alias. */
7176: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7177: choke me
7178: #else
7179: char (*f) () = $ac_func;
7180: #endif
7181: #ifdef __cplusplus
7182: }
7183: #endif
7184:
1.62 paf 7185: int
7186: main ()
7187: {
1.66 paf 7188: return f != $ac_func;
1.62 paf 7189: ;
7190: return 0;
7191: }
7192: _ACEOF
7193: rm -f conftest.$ac_objext conftest$ac_exeext
7194: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86 paf 7195: (eval $ac_link) 2>conftest.er1
1.62 paf 7196: ac_status=$?
1.86 paf 7197: grep -v '^ *+' conftest.er1 >conftest.err
7198: rm -f conftest.er1
7199: cat conftest.err >&5
1.62 paf 7200: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7201: (exit $ac_status); } &&
1.86 paf 7202: { ac_try='test -z "$ac_c_werror_flag"
7203: || test ! -s conftest.err'
7204: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7205: (eval $ac_try) 2>&5
7206: ac_status=$?
7207: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7208: (exit $ac_status); }; } &&
7209: { ac_try='test -s conftest$ac_exeext'
1.62 paf 7210: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7211: (eval $ac_try) 2>&5
7212: ac_status=$?
7213: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7214: (exit $ac_status); }; }; then
1.66 paf 7215: eval "$as_ac_var=yes"
1.62 paf 7216: else
7217: echo "$as_me: failed program was:" >&5
7218: sed 's/^/| /' conftest.$ac_ext >&5
7219:
1.66 paf 7220: eval "$as_ac_var=no"
1.62 paf 7221: fi
1.86 paf 7222: rm -f conftest.err conftest.$ac_objext \
7223: conftest$ac_exeext conftest.$ac_ext
1.62 paf 7224: fi
1.66 paf 7225: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7226: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7227: if test `eval echo '${'$as_ac_var'}'` = yes; then
1.62 paf 7228: cat >>confdefs.h <<_ACEOF
1.66 paf 7229: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62 paf 7230: _ACEOF
1.1 paf 7231:
1.66 paf 7232: else
7233: { { echo "$as_me:$LINENO: error: No qsort library function." >&5
7234: echo "$as_me: error: No qsort library function." >&2;}
7235: { (exit 1); exit 1; }; }
1.1 paf 7236: fi
1.66 paf 7237: done
1.1 paf 7238:
7239:
1.62 paf 7240:
1.66 paf 7241: echo "$as_me:$LINENO: checking for timezone variable" >&5
7242: echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6
1.62 paf 7243: cat >conftest.$ac_ext <<_ACEOF
7244: /* confdefs.h. */
7245: _ACEOF
7246: cat confdefs.h >>conftest.$ac_ext
7247: cat >>conftest.$ac_ext <<_ACEOF
7248: /* end confdefs.h. */
1.66 paf 7249: #include <time.h>
1.62 paf 7250: int
7251: main ()
7252: {
1.66 paf 7253:
7254: time_t test=timezone;
7255:
1.62 paf 7256: ;
7257: return 0;
7258: }
7259: _ACEOF
1.66 paf 7260: rm -f conftest.$ac_objext
7261: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86 paf 7262: (eval $ac_compile) 2>conftest.er1
1.62 paf 7263: ac_status=$?
1.86 paf 7264: grep -v '^ *+' conftest.er1 >conftest.err
7265: rm -f conftest.er1
7266: cat conftest.err >&5
1.62 paf 7267: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7268: (exit $ac_status); } &&
1.86 paf 7269: { ac_try='test -z "$ac_c_werror_flag"
7270: || test ! -s conftest.err'
7271: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7272: (eval $ac_try) 2>&5
7273: ac_status=$?
7274: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7275: (exit $ac_status); }; } &&
7276: { ac_try='test -s conftest.$ac_objext'
1.62 paf 7277: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7278: (eval $ac_try) 2>&5
7279: ac_status=$?
7280: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7281: (exit $ac_status); }; }; then
1.66 paf 7282: cat >>confdefs.h <<\_ACEOF
7283: #define HAVE_TIMEZONE 1
7284: _ACEOF
7285:
7286: echo "$as_me:$LINENO: result: yes" >&5
7287: echo "${ECHO_T}yes" >&6
1.62 paf 7288: else
7289: echo "$as_me: failed program was:" >&5
7290: sed 's/^/| /' conftest.$ac_ext >&5
7291:
1.66 paf 7292: echo "$as_me:$LINENO: result: no" >&5
7293: echo "${ECHO_T}no" >&6
1.62 paf 7294: fi
1.86 paf 7295: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1 paf 7296:
1.66 paf 7297: echo "$as_me:$LINENO: checking for daylight variable" >&5
7298: echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6
1.62 paf 7299: cat >conftest.$ac_ext <<_ACEOF
7300: /* confdefs.h. */
7301: _ACEOF
7302: cat confdefs.h >>conftest.$ac_ext
7303: cat >>conftest.$ac_ext <<_ACEOF
7304: /* end confdefs.h. */
1.66 paf 7305: #include <time.h>
1.62 paf 7306: int
7307: main ()
7308: {
1.66 paf 7309:
7310: int test=daylight;
7311:
1.62 paf 7312: ;
7313: return 0;
7314: }
7315: _ACEOF
1.66 paf 7316: rm -f conftest.$ac_objext
7317: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86 paf 7318: (eval $ac_compile) 2>conftest.er1
1.62 paf 7319: ac_status=$?
1.86 paf 7320: grep -v '^ *+' conftest.er1 >conftest.err
7321: rm -f conftest.er1
7322: cat conftest.err >&5
1.62 paf 7323: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7324: (exit $ac_status); } &&
1.86 paf 7325: { ac_try='test -z "$ac_c_werror_flag"
7326: || test ! -s conftest.err'
7327: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7328: (eval $ac_try) 2>&5
7329: ac_status=$?
7330: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7331: (exit $ac_status); }; } &&
7332: { ac_try='test -s conftest.$ac_objext'
1.62 paf 7333: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7334: (eval $ac_try) 2>&5
7335: ac_status=$?
7336: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7337: (exit $ac_status); }; }; then
1.66 paf 7338: cat >>confdefs.h <<\_ACEOF
7339: #define HAVE_DAYLIGHT 1
7340: _ACEOF
7341:
7342: echo "$as_me:$LINENO: result: yes" >&5
7343: echo "${ECHO_T}yes" >&6
1.62 paf 7344: else
7345: echo "$as_me: failed program was:" >&5
7346: sed 's/^/| /' conftest.$ac_ext >&5
7347:
1.66 paf 7348: echo "$as_me:$LINENO: result: no" >&5
7349: echo "${ECHO_T}no" >&6
1.62 paf 7350: fi
1.86 paf 7351: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62 paf 7352:
1.66 paf 7353: echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
7354: echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
1.62 paf 7355: cat >conftest.$ac_ext <<_ACEOF
7356: /* confdefs.h. */
7357: _ACEOF
7358: cat confdefs.h >>conftest.$ac_ext
7359: cat >>conftest.$ac_ext <<_ACEOF
7360: /* end confdefs.h. */
1.66 paf 7361: #include <time.h>
1.62 paf 7362: int
7363: main ()
7364: {
1.66 paf 7365: struct tm tm;
7366: tm.tm_gmtoff=0;
7367:
1.62 paf 7368: ;
7369: return 0;
7370: }
7371: _ACEOF
1.66 paf 7372: rm -f conftest.$ac_objext
7373: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86 paf 7374: (eval $ac_compile) 2>conftest.er1
1.62 paf 7375: ac_status=$?
1.86 paf 7376: grep -v '^ *+' conftest.er1 >conftest.err
7377: rm -f conftest.er1
7378: cat conftest.err >&5
1.62 paf 7379: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7380: (exit $ac_status); } &&
1.86 paf 7381: { ac_try='test -z "$ac_c_werror_flag"
7382: || test ! -s conftest.err'
7383: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7384: (eval $ac_try) 2>&5
7385: ac_status=$?
7386: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7387: (exit $ac_status); }; } &&
7388: { ac_try='test -s conftest.$ac_objext'
1.62 paf 7389: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7390: (eval $ac_try) 2>&5
7391: ac_status=$?
7392: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7393: (exit $ac_status); }; }; then
1.66 paf 7394: cat >>confdefs.h <<\_ACEOF
7395: #define HAVE_TM_GMTOFF 1
7396: _ACEOF
7397:
7398: echo "$as_me:$LINENO: result: yes" >&5
7399: echo "${ECHO_T}yes" >&6
1.62 paf 7400: else
7401: echo "$as_me: failed program was:" >&5
7402: sed 's/^/| /' conftest.$ac_ext >&5
7403:
1.66 paf 7404: echo "$as_me:$LINENO: result: no" >&5
7405: echo "${ECHO_T}no" >&6
1.62 paf 7406: fi
1.86 paf 7407: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1 paf 7408:
1.66 paf 7409: echo "$as_me:$LINENO: checking for tm_tzadj in struct tm" >&5
7410: echo $ECHO_N "checking for tm_tzadj in struct tm... $ECHO_C" >&6
1.62 paf 7411: cat >conftest.$ac_ext <<_ACEOF
7412: /* confdefs.h. */
7413: _ACEOF
7414: cat confdefs.h >>conftest.$ac_ext
7415: cat >>conftest.$ac_ext <<_ACEOF
7416: /* end confdefs.h. */
1.66 paf 7417: #include <time.h>
1.62 paf 7418: int
7419: main ()
7420: {
1.66 paf 7421: struct tm tm;
7422: tm.tm_tzadj=0;
7423:
1.62 paf 7424: ;
7425: return 0;
7426: }
7427: _ACEOF
1.66 paf 7428: rm -f conftest.$ac_objext
7429: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86 paf 7430: (eval $ac_compile) 2>conftest.er1
1.62 paf 7431: ac_status=$?
1.86 paf 7432: grep -v '^ *+' conftest.er1 >conftest.err
7433: rm -f conftest.er1
7434: cat conftest.err >&5
1.62 paf 7435: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7436: (exit $ac_status); } &&
1.86 paf 7437: { ac_try='test -z "$ac_c_werror_flag"
7438: || test ! -s conftest.err'
7439: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7440: (eval $ac_try) 2>&5
7441: ac_status=$?
7442: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7443: (exit $ac_status); }; } &&
7444: { ac_try='test -s conftest.$ac_objext'
1.62 paf 7445: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7446: (eval $ac_try) 2>&5
7447: ac_status=$?
7448: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7449: (exit $ac_status); }; }; then
1.66 paf 7450: cat >>confdefs.h <<\_ACEOF
7451: #define HAVE_TM_TZADJ 1
7452: _ACEOF
7453:
7454: echo "$as_me:$LINENO: result: yes" >&5
7455: echo "${ECHO_T}yes" >&6
1.62 paf 7456: else
7457: echo "$as_me: failed program was:" >&5
7458: sed 's/^/| /' conftest.$ac_ext >&5
7459:
1.66 paf 7460: echo "$as_me:$LINENO: result: no" >&5
7461: echo "${ECHO_T}no" >&6
1.62 paf 7462: fi
1.86 paf 7463: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.31 paf 7464:
7465:
7466:
7467:
1.1 paf 7468:
7469:
7470:
1.62 paf 7471:
7472:
7473:
7474:
7475:
7476:
7477:
7478:
7479:
7480:
7481:
7482:
7483:
7484:
7485:
7486:
7487:
7488:
7489:
7490:
7491:
7492:
7493:
7494:
7495:
7496:
7497: ac_config_headers="$ac_config_headers src/include/pa_config_auto.h"
7498:
1.89 paf 7499: ac_config_files="$ac_config_files Makefile src/Makefile src/types/Makefile src/classes/Makefile src/include/Makefile src/main/Makefile src/sql/Makefile src/lib/Makefile src/lib/gd/Makefile src/lib/smtp/Makefile src/lib/gc/Makefile src/lib/gc/include/Makefile src/lib/cord/Makefile src/lib/cord/include/Makefile src/lib/cord/include/private/Makefile src/lib/ltdl/Makefile src/lib/pcre/Makefile src/lib/md5/Makefile src/lib/sdbm/Makefile src/lib/sdbm/apr-include/Makefile src/targets/Makefile src/targets/cgi/Makefile src/targets/apache13core/Makefile src/targets/apache13/Makefile src/targets/apache13/p3runConfigure src/targets/isapi/Makefile etc/Makefile etc/parser3.charsets/Makefile bin/Makefile bin/auto.p.dist"
1.62 paf 7500: cat >confcache <<\_ACEOF
1.1 paf 7501: # This file is a shell script that caches the results of configure
7502: # tests run on this system so they can be shared between configure
1.62 paf 7503: # scripts and configure runs, see configure's option --config-cache.
7504: # It is not useful on other systems. If it contains results you don't
7505: # want to keep, you may remove or edit it.
1.1 paf 7506: #
1.62 paf 7507: # config.status only pays attention to the cache file if you give it
7508: # the --recheck option to rerun configure.
1.1 paf 7509: #
1.62 paf 7510: # `ac_cv_env_foo' variables (set or unset) will be overridden when
7511: # loading this file, other *unset* `ac_cv_foo' will be assigned the
7512: # following values.
7513:
7514: _ACEOF
7515:
1.1 paf 7516: # The following way of writing the cache mishandles newlines in values,
7517: # but we know of no workaround that is simple, portable, and efficient.
7518: # So, don't put newlines in cache variables' values.
7519: # Ultrix sh set writes to stderr and can't be redirected directly,
7520: # and sets the high bit in the cache file unless we assign to the vars.
1.62 paf 7521: {
7522: (set) 2>&1 |
7523: case `(ac_space=' '; set | grep ac_space) 2>&1` in
7524: *ac_space=\ *)
7525: # `set' does not quote correctly, so add quotes (double-quote
7526: # substitution turns \\\\ into \\, and sed turns \\ into \).
7527: sed -n \
1.86 paf 7528: "s/'/'\\\\''/g;
7529: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.62 paf 7530: ;;
7531: *)
7532: # `set' quotes correctly as required by POSIX, so do not add quotes.
7533: sed -n \
1.86 paf 7534: "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1.62 paf 7535: ;;
7536: esac;
7537: } |
7538: sed '
7539: t clear
7540: : clear
7541: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7542: t end
7543: /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7544: : end' >>confcache
7545: if diff $cache_file confcache >/dev/null 2>&1; then :; else
1.1 paf 7546: if test -w $cache_file; then
1.62 paf 7547: test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7548: cat confcache >$cache_file
1.1 paf 7549: else
7550: echo "not updating unwritable cache $cache_file"
7551: fi
7552: fi
7553: rm -f confcache
7554:
7555: test "x$prefix" = xNONE && prefix=$ac_default_prefix
7556: # Let make expand exec_prefix.
7557: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7558:
1.62 paf 7559: # VPATH may cause trouble with some makes, so we remove $(srcdir),
7560: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7561: # trailing colons and then remove the whole line if VPATH becomes empty
7562: # (actually we leave an empty line to preserve line numbers).
1.1 paf 7563: if test "x$srcdir" = x.; then
1.86 paf 7564: ac_vpsub='/^[ ]*VPATH[ ]*=/{
1.62 paf 7565: s/:*\$(srcdir):*/:/;
7566: s/:*\${srcdir}:*/:/;
7567: s/:*@srcdir@:*/:/;
1.86 paf 7568: s/^\([^=]*=[ ]*\):*/\1/;
1.62 paf 7569: s/:*$//;
1.86 paf 7570: s/^[^=]*=[ ]*$//;
1.62 paf 7571: }'
1.1 paf 7572: fi
7573:
1.62 paf 7574: DEFS=-DHAVE_CONFIG_H
7575:
7576: ac_libobjs=
7577: ac_ltlibobjs=
7578: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7579: # 1. Remove the extension, and $U if already installed.
7580: ac_i=`echo "$ac_i" |
1.86 paf 7581: sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1.62 paf 7582: # 2. Add them.
7583: ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
7584: ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
7585: done
7586: LIBOBJS=$ac_libobjs
7587:
7588: LTLIBOBJS=$ac_ltlibobjs
1.1 paf 7589:
7590:
1.62 paf 7591: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7592: { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7593: Usually this means the macro was only invoked conditionally." >&5
7594: echo "$as_me: error: conditional \"AMDEP\" was never defined.
7595: Usually this means the macro was only invoked conditionally." >&2;}
7596: { (exit 1); exit 1; }; }
7597: fi
1.66 paf 7598: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7599: { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
1.62 paf 7600: Usually this means the macro was only invoked conditionally." >&5
1.66 paf 7601: echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
1.62 paf 7602: Usually this means the macro was only invoked conditionally." >&2;}
7603: { (exit 1); exit 1; }; }
7604: fi
1.66 paf 7605: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7606: { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
1.62 paf 7607: Usually this means the macro was only invoked conditionally." >&5
1.66 paf 7608: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
1.62 paf 7609: Usually this means the macro was only invoked conditionally." >&2;}
7610: { (exit 1); exit 1; }; }
7611: fi
7612: if test -z "${COMPILE_APACHE13_MODULE_TRUE}" && test -z "${COMPILE_APACHE13_MODULE_FALSE}"; then
7613: { { echo "$as_me:$LINENO: error: conditional \"COMPILE_APACHE13_MODULE\" was never defined.
7614: Usually this means the macro was only invoked conditionally." >&5
7615: echo "$as_me: error: conditional \"COMPILE_APACHE13_MODULE\" was never defined.
7616: Usually this means the macro was only invoked conditionally." >&2;}
7617: { (exit 1); exit 1; }; }
7618: fi
7619:
1.1 paf 7620: : ${CONFIG_STATUS=./config.status}
1.62 paf 7621: ac_clean_files_save=$ac_clean_files
7622: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7623: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7624: echo "$as_me: creating $CONFIG_STATUS" >&6;}
7625: cat >$CONFIG_STATUS <<_ACEOF
7626: #! $SHELL
7627: # Generated by $as_me.
7628: # Run this file to recreate the current configuration.
7629: # Compiler output produced by configure, useful for debugging
7630: # configure, is in config.log if it exists.
7631:
7632: debug=false
7633: ac_cs_recheck=false
7634: ac_cs_silent=false
7635: SHELL=\${CONFIG_SHELL-$SHELL}
7636: _ACEOF
7637:
7638: cat >>$CONFIG_STATUS <<\_ACEOF
7639: ## --------------------- ##
7640: ## M4sh Initialization. ##
7641: ## --------------------- ##
7642:
7643: # Be Bourne compatible
7644: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7645: emulate sh
7646: NULLCMD=:
7647: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7648: # is contrary to our usage. Disable this feature.
7649: alias -g '${1+"$@"}'='"$@"'
7650: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
7651: set -o posix
7652: fi
1.86 paf 7653: DUALCASE=1; export DUALCASE # for MKS sh
1.62 paf 7654:
7655: # Support unset when possible.
1.86 paf 7656: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.62 paf 7657: as_unset=unset
7658: else
7659: as_unset=false
7660: fi
7661:
7662:
7663: # Work around bugs in pre-3.0 UWIN ksh.
7664: $as_unset ENV MAIL MAILPATH
7665: PS1='$ '
7666: PS2='> '
7667: PS4='+ '
7668:
7669: # NLS nuisances.
7670: for as_var in \
7671: LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7672: LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7673: LC_TELEPHONE LC_TIME
7674: do
1.86 paf 7675: if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1.62 paf 7676: eval $as_var=C; export $as_var
7677: else
7678: $as_unset $as_var
7679: fi
7680: done
1.1 paf 7681:
1.62 paf 7682: # Required to use basename.
7683: if expr a : '\(a\)' >/dev/null 2>&1; then
7684: as_expr=expr
7685: else
7686: as_expr=false
7687: fi
7688:
7689: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
7690: as_basename=basename
7691: else
7692: as_basename=false
7693: fi
7694:
7695:
7696: # Name of the executable.
7697: as_me=`$as_basename "$0" ||
7698: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7699: X"$0" : 'X\(//\)$' \| \
7700: X"$0" : 'X\(/\)$' \| \
7701: . : '\(.\)' 2>/dev/null ||
7702: echo X/"$0" |
7703: sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7704: /^X\/\(\/\/\)$/{ s//\1/; q; }
7705: /^X\/\(\/\).*/{ s//\1/; q; }
7706: s/.*/./; q'`
7707:
7708:
7709: # PATH needs CR, and LINENO needs CR and PATH.
7710: # Avoid depending upon Character Ranges.
7711: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7712: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7713: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7714: as_cr_digits='0123456789'
7715: as_cr_alnum=$as_cr_Letters$as_cr_digits
7716:
7717: # The user is always right.
7718: if test "${PATH_SEPARATOR+set}" != set; then
7719: echo "#! /bin/sh" >conf$$.sh
7720: echo "exit 0" >>conf$$.sh
7721: chmod +x conf$$.sh
7722: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7723: PATH_SEPARATOR=';'
7724: else
7725: PATH_SEPARATOR=:
7726: fi
7727: rm -f conf$$.sh
7728: fi
7729:
7730:
7731: as_lineno_1=$LINENO
7732: as_lineno_2=$LINENO
7733: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7734: test "x$as_lineno_1" != "x$as_lineno_2" &&
7735: test "x$as_lineno_3" = "x$as_lineno_2" || {
7736: # Find who we are. Look in the path if we contain no path at all
7737: # relative or not.
7738: case $0 in
7739: *[\\/]* ) as_myself=$0 ;;
7740: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7741: for as_dir in $PATH
7742: do
7743: IFS=$as_save_IFS
7744: test -z "$as_dir" && as_dir=.
7745: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7746: done
7747:
7748: ;;
7749: esac
7750: # We did not find ourselves, most probably we were run as `sh COMMAND'
7751: # in which case we are not to be found in the path.
7752: if test "x$as_myself" = x; then
7753: as_myself=$0
7754: fi
7755: if test ! -f "$as_myself"; then
7756: { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7757: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7758: { (exit 1); exit 1; }; }
7759: fi
7760: case $CONFIG_SHELL in
7761: '')
7762: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7763: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
7764: do
7765: IFS=$as_save_IFS
7766: test -z "$as_dir" && as_dir=.
7767: for as_base in sh bash ksh sh5; do
7768: case $as_dir in
7769: /*)
7770: if ("$as_dir/$as_base" -c '
7771: as_lineno_1=$LINENO
7772: as_lineno_2=$LINENO
7773: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7774: test "x$as_lineno_1" != "x$as_lineno_2" &&
7775: test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
7776: $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
7777: $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
7778: CONFIG_SHELL=$as_dir/$as_base
7779: export CONFIG_SHELL
7780: exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7781: fi;;
7782: esac
7783: done
7784: done
7785: ;;
7786: esac
7787:
7788: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7789: # uniformly replaced by the line number. The first 'sed' inserts a
7790: # line-number line before each line; the second 'sed' does the real
7791: # work. The second script uses 'N' to pair each line-number line
7792: # with the numbered line, and appends trailing '-' during
7793: # substitution so that $LINENO is not a special case at line end.
7794: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7795: # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7796: sed '=' <$as_myself |
7797: sed '
7798: N
7799: s,$,-,
7800: : loop
7801: s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7802: t loop
7803: s,-$,,
7804: s,^['$as_cr_digits']*\n,,
7805: ' >$as_me.lineno &&
7806: chmod +x $as_me.lineno ||
7807: { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7808: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7809: { (exit 1); exit 1; }; }
7810:
7811: # Don't try to exec as it changes $[0], causing all sort of problems
7812: # (the dirname of $[0] is not the place where we might find the
7813: # original and so on. Autoconf is especially sensible to this).
7814: . ./$as_me.lineno
7815: # Exit status is that of the last command.
7816: exit
7817: }
7818:
7819:
7820: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7821: *c*,-n*) ECHO_N= ECHO_C='
7822: ' ECHO_T=' ' ;;
7823: *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7824: *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
7825: esac
7826:
7827: if expr a : '\(a\)' >/dev/null 2>&1; then
7828: as_expr=expr
7829: else
7830: as_expr=false
7831: fi
7832:
7833: rm -f conf$$ conf$$.exe conf$$.file
7834: echo >conf$$.file
7835: if ln -s conf$$.file conf$$ 2>/dev/null; then
7836: # We could just check for DJGPP; but this test a) works b) is more generic
7837: # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7838: if test -f conf$$.exe; then
7839: # Don't use ln at all; we don't have any links
7840: as_ln_s='cp -p'
7841: else
7842: as_ln_s='ln -s'
7843: fi
7844: elif ln conf$$.file conf$$ 2>/dev/null; then
7845: as_ln_s=ln
7846: else
7847: as_ln_s='cp -p'
7848: fi
7849: rm -f conf$$ conf$$.exe conf$$.file
7850:
7851: if mkdir -p . 2>/dev/null; then
7852: as_mkdir_p=:
7853: else
1.86 paf 7854: test -d ./-p && rmdir ./-p
1.62 paf 7855: as_mkdir_p=false
7856: fi
7857:
7858: as_executable_p="test -f"
7859:
7860: # Sed expression to map a string onto a valid CPP name.
1.86 paf 7861: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.62 paf 7862:
7863: # Sed expression to map a string onto a valid variable name.
1.86 paf 7864: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.62 paf 7865:
7866:
7867: # IFS
7868: # We need space, tab and new line, in precisely that order.
7869: as_nl='
7870: '
7871: IFS=" $as_nl"
7872:
7873: # CDPATH.
7874: $as_unset CDPATH
7875:
7876: exec 6>&1
7877:
7878: # Open the log real soon, to keep \$[0] and so on meaningful, and to
7879: # report actual input values of CONFIG_FILES etc. instead of their
7880: # values after options handling. Logging --version etc. is OK.
7881: exec 5>>config.log
7882: {
7883: echo
7884: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7885: ## Running $as_me. ##
7886: _ASBOX
7887: } >&5
7888: cat >&5 <<_CSEOF
7889:
7890: This file was extended by $as_me, which was
1.86 paf 7891: generated by GNU Autoconf 2.59. Invocation command line was
1.62 paf 7892:
7893: CONFIG_FILES = $CONFIG_FILES
7894: CONFIG_HEADERS = $CONFIG_HEADERS
7895: CONFIG_LINKS = $CONFIG_LINKS
7896: CONFIG_COMMANDS = $CONFIG_COMMANDS
7897: $ $0 $@
7898:
7899: _CSEOF
7900: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7901: echo >&5
7902: _ACEOF
7903:
7904: # Files that config.status was made for.
7905: if test -n "$ac_config_files"; then
7906: echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7907: fi
7908:
7909: if test -n "$ac_config_headers"; then
7910: echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7911: fi
7912:
7913: if test -n "$ac_config_links"; then
7914: echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7915: fi
7916:
7917: if test -n "$ac_config_commands"; then
7918: echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7919: fi
7920:
7921: cat >>$CONFIG_STATUS <<\_ACEOF
7922:
7923: ac_cs_usage="\
7924: \`$as_me' instantiates files from templates according to the
7925: current configuration.
7926:
7927: Usage: $0 [OPTIONS] [FILE]...
7928:
7929: -h, --help print this help, then exit
7930: -V, --version print version number, then exit
7931: -q, --quiet do not print progress messages
7932: -d, --debug don't remove temporary files
7933: --recheck update $as_me by reconfiguring in the same conditions
7934: --file=FILE[:TEMPLATE]
1.86 paf 7935: instantiate the configuration file FILE
1.62 paf 7936: --header=FILE[:TEMPLATE]
1.86 paf 7937: instantiate the configuration header FILE
1.62 paf 7938:
7939: Configuration files:
7940: $config_files
7941:
7942: Configuration headers:
7943: $config_headers
7944:
7945: Configuration commands:
7946: $config_commands
7947:
7948: Report bugs to <bug-autoconf@gnu.org>."
7949: _ACEOF
7950:
7951: cat >>$CONFIG_STATUS <<_ACEOF
7952: ac_cs_version="\\
7953: config.status
1.86 paf 7954: configured by $0, generated by GNU Autoconf 2.59,
1.62 paf 7955: with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7956:
1.86 paf 7957: Copyright (C) 2003 Free Software Foundation, Inc.
1.62 paf 7958: This config.status script is free software; the Free Software Foundation
7959: gives unlimited permission to copy, distribute and modify it."
7960: srcdir=$srcdir
7961: INSTALL="$INSTALL"
7962: _ACEOF
7963:
7964: cat >>$CONFIG_STATUS <<\_ACEOF
7965: # If no file are specified by the user, then we need to provide default
7966: # value. By we need to know if files were specified by the user.
7967: ac_need_defaults=:
7968: while test $# != 0
7969: do
7970: case $1 in
7971: --*=*)
7972: ac_option=`expr "x$1" : 'x\([^=]*\)='`
7973: ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
7974: ac_shift=:
7975: ;;
7976: -*)
7977: ac_option=$1
7978: ac_optarg=$2
7979: ac_shift=shift
7980: ;;
7981: *) # This is not an option, so the user has probably given explicit
7982: # arguments.
7983: ac_option=$1
7984: ac_need_defaults=false;;
7985: esac
7986:
7987: case $ac_option in
7988: # Handling of the options.
7989: _ACEOF
7990: cat >>$CONFIG_STATUS <<\_ACEOF
7991: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7992: ac_cs_recheck=: ;;
7993: --version | --vers* | -V )
7994: echo "$ac_cs_version"; exit 0 ;;
7995: --he | --h)
7996: # Conflict between --help and --header
7997: { { echo "$as_me:$LINENO: error: ambiguous option: $1
7998: Try \`$0 --help' for more information." >&5
7999: echo "$as_me: error: ambiguous option: $1
8000: Try \`$0 --help' for more information." >&2;}
8001: { (exit 1); exit 1; }; };;
8002: --help | --hel | -h )
8003: echo "$ac_cs_usage"; exit 0 ;;
8004: --debug | --d* | -d )
8005: debug=: ;;
8006: --file | --fil | --fi | --f )
8007: $ac_shift
8008: CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8009: ac_need_defaults=false;;
8010: --header | --heade | --head | --hea )
8011: $ac_shift
8012: CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8013: ac_need_defaults=false;;
8014: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8015: | -silent | --silent | --silen | --sile | --sil | --si | --s)
8016: ac_cs_silent=: ;;
8017:
8018: # This is an error.
8019: -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8020: Try \`$0 --help' for more information." >&5
8021: echo "$as_me: error: unrecognized option: $1
8022: Try \`$0 --help' for more information." >&2;}
8023: { (exit 1); exit 1; }; } ;;
8024:
8025: *) ac_config_targets="$ac_config_targets $1" ;;
8026:
8027: esac
8028: shift
8029: done
8030:
8031: ac_configure_extra_args=
8032:
8033: if $ac_cs_silent; then
8034: exec 6>/dev/null
8035: ac_configure_extra_args="$ac_configure_extra_args --silent"
8036: fi
8037:
8038: _ACEOF
8039: cat >>$CONFIG_STATUS <<_ACEOF
8040: if \$ac_cs_recheck; then
8041: echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8042: exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8043: fi
8044:
8045: _ACEOF
8046:
8047: cat >>$CONFIG_STATUS <<_ACEOF
1.1 paf 8048: #
1.62 paf 8049: # INIT-COMMANDS section.
1.1 paf 8050: #
8051:
1.62 paf 8052: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8053:
8054: _ACEOF
8055:
8056:
8057:
8058: cat >>$CONFIG_STATUS <<\_ACEOF
8059: for ac_config_target in $ac_config_targets
1.1 paf 8060: do
1.62 paf 8061: case "$ac_config_target" in
8062: # Handling of arguments.
8063: "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8064: "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8065: "src/types/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/types/Makefile" ;;
8066: "src/classes/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/classes/Makefile" ;;
8067: "src/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
8068: "src/main/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;;
8069: "src/sql/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;;
8070: "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
1.73 paf 8071: "src/lib/gd/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gd/Makefile" ;;
8072: "src/lib/smtp/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/smtp/Makefile" ;;
1.67 paf 8073: "src/lib/gc/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gc/Makefile" ;;
8074: "src/lib/gc/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gc/include/Makefile" ;;
8075: "src/lib/cord/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/Makefile" ;;
8076: "src/lib/cord/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/Makefile" ;;
8077: "src/lib/cord/include/private/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/private/Makefile" ;;
1.62 paf 8078: "src/lib/ltdl/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/ltdl/Makefile" ;;
8079: "src/lib/pcre/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;;
8080: "src/lib/md5/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;;
1.70 paf 8081: "src/lib/sdbm/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/Makefile" ;;
8082: "src/lib/sdbm/apr-include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/apr-include/Makefile" ;;
1.62 paf 8083: "src/targets/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;;
8084: "src/targets/cgi/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;;
1.68 paf 8085: "src/targets/apache13core/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache13core/Makefile" ;;
1.62 paf 8086: "src/targets/apache13/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache13/Makefile" ;;
8087: "src/targets/apache13/p3runConfigure" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache13/p3runConfigure" ;;
8088: "src/targets/isapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;;
8089: "etc/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
8090: "etc/parser3.charsets/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/parser3.charsets/Makefile" ;;
8091: "bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
8092: "bin/auto.p.dist" ) CONFIG_FILES="$CONFIG_FILES bin/auto.p.dist" ;;
8093: "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8094: "src/include/pa_config_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/include/pa_config_auto.h" ;;
8095: *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8096: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8097: { (exit 1); exit 1; }; };;
1.1 paf 8098: esac
8099: done
8100:
1.62 paf 8101: # If the user did not use the arguments to specify the items to instantiate,
8102: # then the envvar interface is used. Set only those that are not.
8103: # We use the long form for the default assignment because of an extremely
8104: # bizarre bug on SunOS 4.1.3.
8105: if $ac_need_defaults; then
8106: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8107: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8108: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8109: fi
8110:
8111: # Have a temporary directory for convenience. Make it in the build tree
8112: # simply because there is no reason to put it here, and in addition,
8113: # creating and moving files from /tmp can sometimes cause problems.
8114: # Create a temporary directory, and hook for its removal unless debugging.
8115: $debug ||
8116: {
8117: trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8118: trap '{ (exit 1); exit 1; }' 1 2 13 15
8119: }
8120:
8121: # Create a (secure) tmp directory for tmp files.
8122:
8123: {
8124: tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8125: test -n "$tmp" && test -d "$tmp"
8126: } ||
8127: {
8128: tmp=./confstat$$-$RANDOM
8129: (umask 077 && mkdir $tmp)
8130: } ||
8131: {
8132: echo "$me: cannot create a temporary directory in ." >&2
8133: { (exit 1); exit 1; }
8134: }
8135:
8136: _ACEOF
1.1 paf 8137:
1.62 paf 8138: cat >>$CONFIG_STATUS <<_ACEOF
8139:
8140: #
8141: # CONFIG_FILES section.
8142: #
1.1 paf 8143:
1.62 paf 8144: # No need to generate the scripts if there are no CONFIG_FILES.
8145: # This happens for instance when ./config.status config.h
8146: if test -n "\$CONFIG_FILES"; then
8147: # Protect against being on the right side of a sed subst in config.status.
8148: sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8149: s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8150: s,@SHELL@,$SHELL,;t t
8151: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8152: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8153: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8154: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8155: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8156: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8157: s,@exec_prefix@,$exec_prefix,;t t
8158: s,@prefix@,$prefix,;t t
8159: s,@program_transform_name@,$program_transform_name,;t t
8160: s,@bindir@,$bindir,;t t
8161: s,@sbindir@,$sbindir,;t t
8162: s,@libexecdir@,$libexecdir,;t t
8163: s,@datadir@,$datadir,;t t
8164: s,@sysconfdir@,$sysconfdir,;t t
8165: s,@sharedstatedir@,$sharedstatedir,;t t
8166: s,@localstatedir@,$localstatedir,;t t
8167: s,@libdir@,$libdir,;t t
8168: s,@includedir@,$includedir,;t t
8169: s,@oldincludedir@,$oldincludedir,;t t
8170: s,@infodir@,$infodir,;t t
8171: s,@mandir@,$mandir,;t t
8172: s,@build_alias@,$build_alias,;t t
8173: s,@host_alias@,$host_alias,;t t
8174: s,@target_alias@,$target_alias,;t t
8175: s,@DEFS@,$DEFS,;t t
8176: s,@ECHO_C@,$ECHO_C,;t t
8177: s,@ECHO_N@,$ECHO_N,;t t
8178: s,@ECHO_T@,$ECHO_T,;t t
8179: s,@LIBS@,$LIBS,;t t
8180: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8181: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8182: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8183: s,@CYGPATH_W@,$CYGPATH_W,;t t
8184: s,@PACKAGE@,$PACKAGE,;t t
8185: s,@VERSION@,$VERSION,;t t
8186: s,@ACLOCAL@,$ACLOCAL,;t t
8187: s,@AUTOCONF@,$AUTOCONF,;t t
8188: s,@AUTOMAKE@,$AUTOMAKE,;t t
8189: s,@AUTOHEADER@,$AUTOHEADER,;t t
8190: s,@MAKEINFO@,$MAKEINFO,;t t
8191: s,@install_sh@,$install_sh,;t t
8192: s,@STRIP@,$STRIP,;t t
8193: s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
8194: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
1.86 paf 8195: s,@mkdir_p@,$mkdir_p,;t t
1.62 paf 8196: s,@AWK@,$AWK,;t t
8197: s,@SET_MAKE@,$SET_MAKE,;t t
1.86 paf 8198: s,@am__leading_dot@,$am__leading_dot,;t t
8199: s,@AMTAR@,$AMTAR,;t t
8200: s,@am__tar@,$am__tar,;t t
8201: s,@am__untar@,$am__untar,;t t
1.62 paf 8202: s,@P3S@,$P3S,;t t
8203: s,@build@,$build,;t t
8204: s,@build_cpu@,$build_cpu,;t t
8205: s,@build_vendor@,$build_vendor,;t t
8206: s,@build_os@,$build_os,;t t
8207: s,@host@,$host,;t t
8208: s,@host_cpu@,$host_cpu,;t t
8209: s,@host_vendor@,$host_vendor,;t t
8210: s,@host_os@,$host_os,;t t
8211: s,@RANLIB@,$RANLIB,;t t
8212: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
8213: s,@YACC@,$YACC,;t t
1.66 paf 8214: s,@CXX@,$CXX,;t t
8215: s,@CXXFLAGS@,$CXXFLAGS,;t t
1.62 paf 8216: s,@LDFLAGS@,$LDFLAGS,;t t
8217: s,@CPPFLAGS@,$CPPFLAGS,;t t
1.66 paf 8218: s,@ac_ct_CXX@,$ac_ct_CXX,;t t
1.62 paf 8219: s,@EXEEXT@,$EXEEXT,;t t
8220: s,@OBJEXT@,$OBJEXT,;t t
8221: s,@DEPDIR@,$DEPDIR,;t t
8222: s,@am__include@,$am__include,;t t
8223: s,@am__quote@,$am__quote,;t t
8224: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
8225: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
8226: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
1.66 paf 8227: s,@CXXDEPMODE@,$CXXDEPMODE,;t t
8228: s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
8229: s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
8230: s,@CC@,$CC,;t t
8231: s,@CFLAGS@,$CFLAGS,;t t
8232: s,@ac_ct_CC@,$ac_ct_CC,;t t
1.62 paf 8233: s,@CCDEPMODE@,$CCDEPMODE,;t t
8234: s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
8235: s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
8236: s,@commentcharset_windows1251@,$commentcharset_windows1251,;t t
8237: s,@commentcharset_windows1250@,$commentcharset_windows1250,;t t
8238: s,@commentcharset_windows1257@,$commentcharset_windows1257,;t t
8239: s,@commentcharset_koi8r@,$commentcharset_koi8r,;t t
8240: s,@dll_extension@,$dll_extension,;t t
8241: s,@mysql_client@,$mysql_client,;t t
8242: s,@pgsql_client@,$pgsql_client,;t t
8243: s,@oracle_client@,$oracle_client,;t t
1.92 misha 8244: s,@sqlite_client@,$sqlite_client,;t t
1.67 paf 8245: s,@CPP_LIBS@,$CPP_LIBS,;t t
8246: s,@GC_LIBS@,$GC_LIBS,;t t
1.62 paf 8247: s,@XML_INCLUDES@,$XML_INCLUDES,;t t
8248: s,@XML_LIBS@,$XML_LIBS,;t t
8249: s,@MIME_INCLUDES@,$MIME_INCLUDES,;t t
8250: s,@MIME_LIBS@,$MIME_LIBS,;t t
8251: s,@APACHE13@,$APACHE13,;t t
8252: s,@COMPILE_APACHE13_MODULE_TRUE@,$COMPILE_APACHE13_MODULE_TRUE,;t t
8253: s,@COMPILE_APACHE13_MODULE_FALSE@,$COMPILE_APACHE13_MODULE_FALSE,;t t
8254: s,@INCLTDL@,$INCLTDL,;t t
8255: s,@LIBLTDL@,$LIBLTDL,;t t
8256: s,@subdirs@,$subdirs,;t t
8257: s,@LIBADD_DL@,$LIBADD_DL,;t t
1.66 paf 8258: s,@CPP@,$CPP,;t t
8259: s,@EGREP@,$EGREP,;t t
1.62 paf 8260: s,@LIBOBJS@,$LIBOBJS,;t t
8261: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1.1 paf 8262: CEOF
8263:
1.62 paf 8264: _ACEOF
1.1 paf 8265:
1.62 paf 8266: cat >>$CONFIG_STATUS <<\_ACEOF
8267: # Split the substitutions into bite-sized pieces for seds with
8268: # small command number limits, like on Digital OSF/1 and HP-UX.
8269: ac_max_sed_lines=48
8270: ac_sed_frag=1 # Number of current file.
8271: ac_beg=1 # First line for current file.
8272: ac_end=$ac_max_sed_lines # Line after last line for current file.
8273: ac_more_lines=:
8274: ac_sed_cmds=
8275: while $ac_more_lines; do
8276: if test $ac_beg -gt 1; then
8277: sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8278: else
8279: sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8280: fi
8281: if test ! -s $tmp/subs.frag; then
8282: ac_more_lines=false
1.1 paf 8283: else
1.62 paf 8284: # The purpose of the label and of the branching condition is to
8285: # speed up the sed processing (if there are no `@' at all, there
8286: # is no need to browse any of the substitutions).
8287: # These are the two extra sed commands mentioned above.
8288: (echo ':t
8289: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
8290: if test -z "$ac_sed_cmds"; then
1.86 paf 8291: ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
1.62 paf 8292: else
1.86 paf 8293: ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
1.62 paf 8294: fi
8295: ac_sed_frag=`expr $ac_sed_frag + 1`
8296: ac_beg=$ac_end
8297: ac_end=`expr $ac_end + $ac_max_sed_lines`
1.1 paf 8298: fi
1.62 paf 8299: done
8300: if test -z "$ac_sed_cmds"; then
8301: ac_sed_cmds=cat
1.1 paf 8302: fi
1.62 paf 8303: fi # test -n "$CONFIG_FILES"
1.1 paf 8304:
1.62 paf 8305: _ACEOF
8306: cat >>$CONFIG_STATUS <<\_ACEOF
8307: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1.1 paf 8308: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.62 paf 8309: case $ac_file in
8310: - | *:- | *:-:* ) # input from stdin
1.86 paf 8311: cat >$tmp/stdin
8312: ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8313: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.62 paf 8314: *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1.86 paf 8315: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.62 paf 8316: * ) ac_file_in=$ac_file.in ;;
1.1 paf 8317: esac
8318:
1.62 paf 8319: # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8320: ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8321: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86 paf 8322: X"$ac_file" : 'X\(//\)[^/]' \| \
8323: X"$ac_file" : 'X\(//\)$' \| \
8324: X"$ac_file" : 'X\(/\)' \| \
8325: . : '\(.\)' 2>/dev/null ||
1.62 paf 8326: echo X"$ac_file" |
8327: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8328: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8329: /^X\(\/\/\)$/{ s//\1/; q; }
8330: /^X\(\/\).*/{ s//\1/; q; }
8331: s/.*/./; q'`
8332: { if $as_mkdir_p; then
8333: mkdir -p "$ac_dir"
8334: else
8335: as_dir="$ac_dir"
8336: as_dirs=
8337: while test ! -d "$as_dir"; do
8338: as_dirs="$as_dir $as_dirs"
8339: as_dir=`(dirname "$as_dir") 2>/dev/null ||
8340: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86 paf 8341: X"$as_dir" : 'X\(//\)[^/]' \| \
8342: X"$as_dir" : 'X\(//\)$' \| \
8343: X"$as_dir" : 'X\(/\)' \| \
8344: . : '\(.\)' 2>/dev/null ||
1.62 paf 8345: echo X"$as_dir" |
8346: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8347: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8348: /^X\(\/\/\)$/{ s//\1/; q; }
8349: /^X\(\/\).*/{ s//\1/; q; }
8350: s/.*/./; q'`
8351: done
8352: test ! -n "$as_dirs" || mkdir $as_dirs
8353: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8354: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8355: { (exit 1); exit 1; }; }; }
8356:
8357: ac_builddir=.
8358:
8359: if test "$ac_dir" != .; then
8360: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8361: # A "../" for each directory in $ac_dir_suffix.
8362: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8363: else
8364: ac_dir_suffix= ac_top_builddir=
8365: fi
8366:
8367: case $srcdir in
8368: .) # No --srcdir option. We are building in place.
8369: ac_srcdir=.
8370: if test -z "$ac_top_builddir"; then
8371: ac_top_srcdir=.
8372: else
8373: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8374: fi ;;
8375: [\\/]* | ?:[\\/]* ) # Absolute path.
8376: ac_srcdir=$srcdir$ac_dir_suffix;
8377: ac_top_srcdir=$srcdir ;;
8378: *) # Relative path.
8379: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8380: ac_top_srcdir=$ac_top_builddir$srcdir ;;
8381: esac
1.86 paf 8382:
8383: # Do not use `cd foo && pwd` to compute absolute paths, because
8384: # the directories may not exist.
8385: case `pwd` in
8386: .) ac_abs_builddir="$ac_dir";;
8387: *)
8388: case "$ac_dir" in
8389: .) ac_abs_builddir=`pwd`;;
8390: [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8391: *) ac_abs_builddir=`pwd`/"$ac_dir";;
8392: esac;;
8393: esac
8394: case $ac_abs_builddir in
8395: .) ac_abs_top_builddir=${ac_top_builddir}.;;
8396: *)
8397: case ${ac_top_builddir}. in
8398: .) ac_abs_top_builddir=$ac_abs_builddir;;
8399: [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8400: *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8401: esac;;
8402: esac
8403: case $ac_abs_builddir in
8404: .) ac_abs_srcdir=$ac_srcdir;;
8405: *)
8406: case $ac_srcdir in
8407: .) ac_abs_srcdir=$ac_abs_builddir;;
8408: [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8409: *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8410: esac;;
8411: esac
8412: case $ac_abs_builddir in
8413: .) ac_abs_top_srcdir=$ac_top_srcdir;;
8414: *)
8415: case $ac_top_srcdir in
8416: .) ac_abs_top_srcdir=$ac_abs_builddir;;
8417: [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8418: *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8419: esac;;
8420: esac
1.62 paf 8421:
1.1 paf 8422:
1.62 paf 8423: case $INSTALL in
8424: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8425: *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
1.1 paf 8426: esac
8427:
1.62 paf 8428: if test x"$ac_file" != x-; then
8429: { echo "$as_me:$LINENO: creating $ac_file" >&5
8430: echo "$as_me: creating $ac_file" >&6;}
8431: rm -f "$ac_file"
8432: fi
8433: # Let's still pretend it is `configure' which instantiates (i.e., don't
8434: # use $as_me), people would be surprised to read:
8435: # /* config.h. Generated by config.status. */
8436: if test x"$ac_file" = x-; then
8437: configure_input=
8438: else
8439: configure_input="$ac_file. "
8440: fi
8441: configure_input=$configure_input"Generated from `echo $ac_file_in |
1.86 paf 8442: sed 's,.*/,,'` by configure."
1.62 paf 8443:
8444: # First look for the input files in the build tree, otherwise in the
8445: # src tree.
8446: ac_file_inputs=`IFS=:
8447: for f in $ac_file_in; do
8448: case $f in
8449: -) echo $tmp/stdin ;;
8450: [\\/$]*)
1.86 paf 8451: # Absolute (can't be DOS-style, as IFS=:)
8452: test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.62 paf 8453: echo "$as_me: error: cannot find input file: $f" >&2;}
8454: { (exit 1); exit 1; }; }
1.86 paf 8455: echo "$f";;
1.62 paf 8456: *) # Relative
1.86 paf 8457: if test -f "$f"; then
8458: # Build tree
8459: echo "$f"
8460: elif test -f "$srcdir/$f"; then
8461: # Source tree
8462: echo "$srcdir/$f"
8463: else
8464: # /dev/null tree
8465: { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.62 paf 8466: echo "$as_me: error: cannot find input file: $f" >&2;}
8467: { (exit 1); exit 1; }; }
1.86 paf 8468: fi;;
1.62 paf 8469: esac
8470: done` || { (exit 1); exit 1; }
8471: _ACEOF
8472: cat >>$CONFIG_STATUS <<_ACEOF
8473: sed "$ac_vpsub
8474: $extrasub
8475: _ACEOF
8476: cat >>$CONFIG_STATUS <<\_ACEOF
8477: :t
8478: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8479: s,@configure_input@,$configure_input,;t t
8480: s,@srcdir@,$ac_srcdir,;t t
8481: s,@abs_srcdir@,$ac_abs_srcdir,;t t
8482: s,@top_srcdir@,$ac_top_srcdir,;t t
8483: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
8484: s,@builddir@,$ac_builddir,;t t
8485: s,@abs_builddir@,$ac_abs_builddir,;t t
8486: s,@top_builddir@,$ac_top_builddir,;t t
8487: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
8488: s,@INSTALL@,$ac_INSTALL,;t t
8489: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8490: rm -f $tmp/stdin
8491: if test x"$ac_file" != x-; then
8492: mv $tmp/out $ac_file
8493: else
8494: cat $tmp/out
8495: rm -f $tmp/out
8496: fi
1.1 paf 8497:
1.62 paf 8498: done
8499: _ACEOF
8500: cat >>$CONFIG_STATUS <<\_ACEOF
1.1 paf 8501:
1.62 paf 8502: #
8503: # CONFIG_HEADER section.
8504: #
1.1 paf 8505:
8506: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
8507: # NAME is the cpp macro being defined and VALUE is the value it is being given.
8508: #
8509: # ac_d sets the value in "#define NAME VALUE" lines.
1.86 paf 8510: ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8511: ac_dB='[ ].*$,\1#\2'
1.62 paf 8512: ac_dC=' '
8513: ac_dD=',;t'
8514: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1.86 paf 8515: ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1.62 paf 8516: ac_uB='$,\1#\2define\3'
1.1 paf 8517: ac_uC=' '
1.62 paf 8518: ac_uD=',;t'
8519:
8520: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
1.1 paf 8521: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.62 paf 8522: case $ac_file in
8523: - | *:- | *:-:* ) # input from stdin
1.86 paf 8524: cat >$tmp/stdin
8525: ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8526: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.62 paf 8527: *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1.86 paf 8528: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.62 paf 8529: * ) ac_file_in=$ac_file.in ;;
1.1 paf 8530: esac
8531:
1.62 paf 8532: test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
8533: echo "$as_me: creating $ac_file" >&6;}
1.1 paf 8534:
1.62 paf 8535: # First look for the input files in the build tree, otherwise in the
8536: # src tree.
8537: ac_file_inputs=`IFS=:
8538: for f in $ac_file_in; do
8539: case $f in
8540: -) echo $tmp/stdin ;;
8541: [\\/$]*)
1.86 paf 8542: # Absolute (can't be DOS-style, as IFS=:)
8543: test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.62 paf 8544: echo "$as_me: error: cannot find input file: $f" >&2;}
8545: { (exit 1); exit 1; }; }
1.86 paf 8546: # Do quote $f, to prevent DOS paths from being IFS'd.
8547: echo "$f";;
1.62 paf 8548: *) # Relative
1.86 paf 8549: if test -f "$f"; then
8550: # Build tree
8551: echo "$f"
8552: elif test -f "$srcdir/$f"; then
8553: # Source tree
8554: echo "$srcdir/$f"
8555: else
8556: # /dev/null tree
8557: { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.62 paf 8558: echo "$as_me: error: cannot find input file: $f" >&2;}
8559: { (exit 1); exit 1; }; }
1.86 paf 8560: fi;;
1.62 paf 8561: esac
8562: done` || { (exit 1); exit 1; }
8563: # Remove the trailing spaces.
1.86 paf 8564: sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
1.62 paf 8565:
8566: _ACEOF
8567:
8568: # Transform confdefs.h into two sed scripts, `conftest.defines' and
8569: # `conftest.undefs', that substitutes the proper values into
8570: # config.h.in to produce config.h. The first handles `#define'
8571: # templates, and the second `#undef' templates.
8572: # And first: Protect against being on the right side of a sed subst in
8573: # config.status. Protect against being in an unquoted here document
8574: # in config.status.
8575: rm -f conftest.defines conftest.undefs
8576: # Using a here document instead of a string reduces the quoting nightmare.
8577: # Putting comments in sed scripts is not portable.
8578: #
8579: # `end' is used to avoid that the second main sed command (meant for
8580: # 0-ary CPP macros) applies to n-ary macro definitions.
8581: # See the Autoconf documentation for `clear'.
8582: cat >confdef2sed.sed <<\_ACEOF
8583: s/[\\&,]/\\&/g
8584: s,[\\$`],\\&,g
8585: t clear
8586: : clear
1.86 paf 8587: s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
1.62 paf 8588: t end
1.86 paf 8589: s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
1.62 paf 8590: : end
8591: _ACEOF
8592: # If some macros were called several times there might be several times
8593: # the same #defines, which is useless. Nevertheless, we may not want to
8594: # sort them, since we want the *last* AC-DEFINE to be honored.
8595: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8596: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8597: rm -f confdef2sed.sed
1.1 paf 8598:
8599: # This sed command replaces #undef with comments. This is necessary, for
8600: # example, in the case of _POSIX_SOURCE, which is predefined and required
8601: # on some systems where configure will not decide to define it.
1.62 paf 8602: cat >>conftest.undefs <<\_ACEOF
1.86 paf 8603: s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
1.62 paf 8604: _ACEOF
8605:
8606: # Break up conftest.defines because some shells have a limit on the size
8607: # of here documents, and old seds have small limits too (100 cmds).
8608: echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
1.86 paf 8609: echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
1.62 paf 8610: echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8611: echo ' :' >>$CONFIG_STATUS
8612: rm -f conftest.tail
8613: while grep . conftest.defines >/dev/null
8614: do
8615: # Write a limited-size here document to $tmp/defines.sed.
8616: echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8617: # Speed up: don't consider the non `#define' lines.
1.86 paf 8618: echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
1.62 paf 8619: # Work around the forget-to-reset-the-flag bug.
8620: echo 't clr' >>$CONFIG_STATUS
8621: echo ': clr' >>$CONFIG_STATUS
8622: sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
8623: echo 'CEOF
8624: sed -f $tmp/defines.sed $tmp/in >$tmp/out
8625: rm -f $tmp/in
8626: mv $tmp/out $tmp/in
8627: ' >>$CONFIG_STATUS
8628: sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
8629: rm -f conftest.defines
8630: mv conftest.tail conftest.defines
8631: done
8632: rm -f conftest.defines
8633: echo ' fi # grep' >>$CONFIG_STATUS
8634: echo >>$CONFIG_STATUS
8635:
8636: # Break up conftest.undefs because some shells have a limit on the size
8637: # of here documents, and old seds have small limits too (100 cmds).
8638: echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
1.1 paf 8639: rm -f conftest.tail
1.62 paf 8640: while grep . conftest.undefs >/dev/null
1.1 paf 8641: do
1.62 paf 8642: # Write a limited-size here document to $tmp/undefs.sed.
8643: echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8644: # Speed up: don't consider the non `#undef'
1.86 paf 8645: echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
1.62 paf 8646: # Work around the forget-to-reset-the-flag bug.
8647: echo 't clr' >>$CONFIG_STATUS
8648: echo ': clr' >>$CONFIG_STATUS
8649: sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
1.1 paf 8650: echo 'CEOF
1.62 paf 8651: sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8652: rm -f $tmp/in
8653: mv $tmp/out $tmp/in
8654: ' >>$CONFIG_STATUS
8655: sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8656: rm -f conftest.undefs
8657: mv conftest.tail conftest.undefs
8658: done
8659: rm -f conftest.undefs
8660:
8661: cat >>$CONFIG_STATUS <<\_ACEOF
8662: # Let's still pretend it is `configure' which instantiates (i.e., don't
8663: # use $as_me), people would be surprised to read:
8664: # /* config.h. Generated by config.status. */
8665: if test x"$ac_file" = x-; then
8666: echo "/* Generated by configure. */" >$tmp/config.h
8667: else
8668: echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8669: fi
8670: cat $tmp/in >>$tmp/config.h
8671: rm -f $tmp/in
8672: if test x"$ac_file" != x-; then
8673: if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
8674: { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8675: echo "$as_me: $ac_file is unchanged" >&6;}
8676: else
8677: ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8678: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86 paf 8679: X"$ac_file" : 'X\(//\)[^/]' \| \
8680: X"$ac_file" : 'X\(//\)$' \| \
8681: X"$ac_file" : 'X\(/\)' \| \
8682: . : '\(.\)' 2>/dev/null ||
1.62 paf 8683: echo X"$ac_file" |
8684: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8685: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8686: /^X\(\/\/\)$/{ s//\1/; q; }
8687: /^X\(\/\).*/{ s//\1/; q; }
8688: s/.*/./; q'`
8689: { if $as_mkdir_p; then
8690: mkdir -p "$ac_dir"
8691: else
8692: as_dir="$ac_dir"
8693: as_dirs=
8694: while test ! -d "$as_dir"; do
8695: as_dirs="$as_dir $as_dirs"
8696: as_dir=`(dirname "$as_dir") 2>/dev/null ||
8697: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86 paf 8698: X"$as_dir" : 'X\(//\)[^/]' \| \
8699: X"$as_dir" : 'X\(//\)$' \| \
8700: X"$as_dir" : 'X\(/\)' \| \
8701: . : '\(.\)' 2>/dev/null ||
1.62 paf 8702: echo X"$as_dir" |
8703: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8704: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8705: /^X\(\/\/\)$/{ s//\1/; q; }
8706: /^X\(\/\).*/{ s//\1/; q; }
8707: s/.*/./; q'`
8708: done
8709: test ! -n "$as_dirs" || mkdir $as_dirs
8710: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8711: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8712: { (exit 1); exit 1; }; }; }
8713:
8714: rm -f $ac_file
8715: mv $tmp/config.h $ac_file
8716: fi
8717: else
8718: cat $tmp/config.h
8719: rm -f $tmp/config.h
8720: fi
1.86 paf 8721: # Compute $ac_file's index in $config_headers.
8722: _am_stamp_count=1
8723: for _am_header in $config_headers :; do
8724: case $_am_header in
8725: $ac_file | $ac_file:* )
8726: break ;;
8727: * )
8728: _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8729: esac
8730: done
1.62 paf 8731: echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
8732: $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86 paf 8733: X$ac_file : 'X\(//\)[^/]' \| \
8734: X$ac_file : 'X\(//\)$' \| \
8735: X$ac_file : 'X\(/\)' \| \
8736: . : '\(.\)' 2>/dev/null ||
1.62 paf 8737: echo X$ac_file |
8738: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8739: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8740: /^X\(\/\/\)$/{ s//\1/; q; }
8741: /^X\(\/\).*/{ s//\1/; q; }
8742: s/.*/./; q'`/stamp-h$_am_stamp_count
8743: done
8744: _ACEOF
8745: cat >>$CONFIG_STATUS <<\_ACEOF
8746:
8747: #
8748: # CONFIG_COMMANDS section.
8749: #
8750: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
8751: ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
8752: ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
8753: ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
8754: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86 paf 8755: X"$ac_dest" : 'X\(//\)[^/]' \| \
8756: X"$ac_dest" : 'X\(//\)$' \| \
8757: X"$ac_dest" : 'X\(/\)' \| \
8758: . : '\(.\)' 2>/dev/null ||
1.62 paf 8759: echo X"$ac_dest" |
8760: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8761: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8762: /^X\(\/\/\)$/{ s//\1/; q; }
8763: /^X\(\/\).*/{ s//\1/; q; }
8764: s/.*/./; q'`
1.86 paf 8765: { if $as_mkdir_p; then
8766: mkdir -p "$ac_dir"
8767: else
8768: as_dir="$ac_dir"
8769: as_dirs=
8770: while test ! -d "$as_dir"; do
8771: as_dirs="$as_dir $as_dirs"
8772: as_dir=`(dirname "$as_dir") 2>/dev/null ||
8773: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8774: X"$as_dir" : 'X\(//\)[^/]' \| \
8775: X"$as_dir" : 'X\(//\)$' \| \
8776: X"$as_dir" : 'X\(/\)' \| \
8777: . : '\(.\)' 2>/dev/null ||
8778: echo X"$as_dir" |
8779: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8780: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8781: /^X\(\/\/\)$/{ s//\1/; q; }
8782: /^X\(\/\).*/{ s//\1/; q; }
8783: s/.*/./; q'`
8784: done
8785: test ! -n "$as_dirs" || mkdir $as_dirs
8786: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8787: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8788: { (exit 1); exit 1; }; }; }
8789:
1.62 paf 8790: ac_builddir=.
8791:
8792: if test "$ac_dir" != .; then
8793: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8794: # A "../" for each directory in $ac_dir_suffix.
8795: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8796: else
8797: ac_dir_suffix= ac_top_builddir=
8798: fi
8799:
8800: case $srcdir in
8801: .) # No --srcdir option. We are building in place.
8802: ac_srcdir=.
8803: if test -z "$ac_top_builddir"; then
8804: ac_top_srcdir=.
8805: else
8806: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8807: fi ;;
8808: [\\/]* | ?:[\\/]* ) # Absolute path.
8809: ac_srcdir=$srcdir$ac_dir_suffix;
8810: ac_top_srcdir=$srcdir ;;
8811: *) # Relative path.
8812: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8813: ac_top_srcdir=$ac_top_builddir$srcdir ;;
8814: esac
1.86 paf 8815:
8816: # Do not use `cd foo && pwd` to compute absolute paths, because
8817: # the directories may not exist.
8818: case `pwd` in
8819: .) ac_abs_builddir="$ac_dir";;
8820: *)
8821: case "$ac_dir" in
8822: .) ac_abs_builddir=`pwd`;;
8823: [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8824: *) ac_abs_builddir=`pwd`/"$ac_dir";;
8825: esac;;
8826: esac
8827: case $ac_abs_builddir in
8828: .) ac_abs_top_builddir=${ac_top_builddir}.;;
8829: *)
8830: case ${ac_top_builddir}. in
8831: .) ac_abs_top_builddir=$ac_abs_builddir;;
8832: [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8833: *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8834: esac;;
8835: esac
8836: case $ac_abs_builddir in
8837: .) ac_abs_srcdir=$ac_srcdir;;
8838: *)
8839: case $ac_srcdir in
8840: .) ac_abs_srcdir=$ac_abs_builddir;;
8841: [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8842: *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8843: esac;;
8844: esac
8845: case $ac_abs_builddir in
8846: .) ac_abs_top_srcdir=$ac_top_srcdir;;
8847: *)
8848: case $ac_top_srcdir in
8849: .) ac_abs_top_srcdir=$ac_abs_builddir;;
8850: [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8851: *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8852: esac;;
8853: esac
1.62 paf 8854:
8855:
8856: { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8857: echo "$as_me: executing $ac_dest commands" >&6;}
8858: case $ac_dest in
8859: depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
8860: # Strip MF so we end up with the name of the file.
8861: mf=`echo "$mf" | sed -e 's/:.*$//'`
8862: # Check whether this is an Automake generated Makefile or not.
8863: # We used to match only the files named `Makefile.in', but
8864: # some people rename them; so instead we look at the file content.
8865: # Grep'ing the first line is not enough: some people post-process
8866: # each Makefile.in and add a new line on top of each file to say so.
8867: # So let's grep whole file.
8868: if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
8869: dirpart=`(dirname "$mf") 2>/dev/null ||
8870: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86 paf 8871: X"$mf" : 'X\(//\)[^/]' \| \
8872: X"$mf" : 'X\(//\)$' \| \
8873: X"$mf" : 'X\(/\)' \| \
8874: . : '\(.\)' 2>/dev/null ||
1.62 paf 8875: echo X"$mf" |
8876: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8877: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8878: /^X\(\/\/\)$/{ s//\1/; q; }
8879: /^X\(\/\).*/{ s//\1/; q; }
8880: s/.*/./; q'`
8881: else
8882: continue
8883: fi
1.86 paf 8884: # Extract the definition of DEPDIR, am__include, and am__quote
8885: # from the Makefile without running `make'.
8886: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1.62 paf 8887: test -z "$DEPDIR" && continue
1.86 paf 8888: am__include=`sed -n 's/^am__include = //p' < "$mf"`
8889: test -z "am__include" && continue
8890: am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1.62 paf 8891: # When using ansi2knr, U may be empty or an underscore; expand it
1.86 paf 8892: U=`sed -n 's/^U = //p' < "$mf"`
8893: # Find all dependency output files, they are included files with
8894: # $(DEPDIR) in their names. We invoke sed twice because it is the
8895: # simplest approach to changing $(DEPDIR) to its actual value in the
8896: # expansion.
8897: for file in `sed -n "
8898: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1.62 paf 8899: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8900: # Make sure the directory exists.
8901: test -f "$dirpart/$file" && continue
8902: fdir=`(dirname "$file") 2>/dev/null ||
8903: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86 paf 8904: X"$file" : 'X\(//\)[^/]' \| \
8905: X"$file" : 'X\(//\)$' \| \
8906: X"$file" : 'X\(/\)' \| \
8907: . : '\(.\)' 2>/dev/null ||
1.62 paf 8908: echo X"$file" |
8909: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8910: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8911: /^X\(\/\/\)$/{ s//\1/; q; }
8912: /^X\(\/\).*/{ s//\1/; q; }
8913: s/.*/./; q'`
8914: { if $as_mkdir_p; then
8915: mkdir -p $dirpart/$fdir
8916: else
8917: as_dir=$dirpart/$fdir
8918: as_dirs=
8919: while test ! -d "$as_dir"; do
8920: as_dirs="$as_dir $as_dirs"
8921: as_dir=`(dirname "$as_dir") 2>/dev/null ||
8922: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86 paf 8923: X"$as_dir" : 'X\(//\)[^/]' \| \
8924: X"$as_dir" : 'X\(//\)$' \| \
8925: X"$as_dir" : 'X\(/\)' \| \
8926: . : '\(.\)' 2>/dev/null ||
1.62 paf 8927: echo X"$as_dir" |
8928: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8929: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8930: /^X\(\/\/\)$/{ s//\1/; q; }
8931: /^X\(\/\).*/{ s//\1/; q; }
8932: s/.*/./; q'`
8933: done
8934: test ! -n "$as_dirs" || mkdir $as_dirs
8935: fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
8936: echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
8937: { (exit 1); exit 1; }; }; }
1.1 paf 8938:
1.62 paf 8939: # echo "creating $dirpart/$file"
8940: echo '# dummy' > "$dirpart/$file"
8941: done
8942: done
8943: ;;
8944: esac
8945: done
8946: _ACEOF
8947:
8948: cat >>$CONFIG_STATUS <<\_ACEOF
8949:
8950: { (exit 0); exit 0; }
8951: _ACEOF
1.1 paf 8952: chmod +x $CONFIG_STATUS
1.62 paf 8953: ac_clean_files=$ac_clean_files_save
8954:
1.1 paf 8955:
1.62 paf 8956: # configure is writing to config.log, and then calls config.status.
8957: # config.status does its own redirection, appending to config.log.
8958: # Unfortunately, on DOS this fails, as config.log is still kept open
8959: # by configure, so config.status won't be able to write to it; its
8960: # output is simply discarded. So we exec the FD to /dev/null,
8961: # effectively closing config.log, so it can be properly (re)opened and
8962: # appended to by config.status. When coming back to configure, we
8963: # need to make the FD available again.
8964: if test "$no_create" != yes; then
8965: ac_cs_success=:
8966: ac_config_status_args=
8967: test "$silent" = yes &&
8968: ac_config_status_args="$ac_config_status_args --quiet"
8969: exec 5>/dev/null
8970: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8971: exec 5>>config.log
8972: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8973: # would make configure fail if this is the last instruction.
8974: $ac_cs_success || { (exit 1); exit 1; }
8975: fi
8976:
8977: #
8978: # CONFIG_SUBDIRS section.
8979: #
1.1 paf 8980: if test "$no_recursion" != yes; then
8981:
8982: # Remove --cache-file and --srcdir arguments so they do not pile up.
8983: ac_sub_configure_args=
8984: ac_prev=
8985: for ac_arg in $ac_configure_args; do
8986: if test -n "$ac_prev"; then
8987: ac_prev=
8988: continue
8989: fi
1.62 paf 8990: case $ac_arg in
1.1 paf 8991: -cache-file | --cache-file | --cache-fil | --cache-fi \
8992: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
8993: ac_prev=cache_file ;;
8994: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.62 paf 8995: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
8996: | --c=*)
8997: ;;
8998: --config-cache | -C)
1.1 paf 8999: ;;
9000: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
9001: ac_prev=srcdir ;;
9002: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
9003: ;;
1.62 paf 9004: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
9005: ac_prev=prefix ;;
9006: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
9007: ;;
1.1 paf 9008: *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
9009: esac
9010: done
9011:
1.62 paf 9012: # Always prepend --prefix to ensure using the same prefix
9013: # in subdir configurations.
9014: ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
9015:
9016: ac_popdir=`pwd`
9017: for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1 paf 9018:
9019: # Do not complain, so a configure script can configure whichever
9020: # parts of a large source tree are present.
1.62 paf 9021: test -d $srcdir/$ac_dir || continue
1.1 paf 9022:
1.62 paf 9023: { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
9024: echo "$as_me: configuring in $ac_dir" >&6;}
9025: { if $as_mkdir_p; then
9026: mkdir -p "$ac_dir"
9027: else
9028: as_dir="$ac_dir"
9029: as_dirs=
9030: while test ! -d "$as_dir"; do
9031: as_dirs="$as_dir $as_dirs"
9032: as_dir=`(dirname "$as_dir") 2>/dev/null ||
9033: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86 paf 9034: X"$as_dir" : 'X\(//\)[^/]' \| \
9035: X"$as_dir" : 'X\(//\)$' \| \
9036: X"$as_dir" : 'X\(/\)' \| \
9037: . : '\(.\)' 2>/dev/null ||
1.62 paf 9038: echo X"$as_dir" |
9039: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9040: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9041: /^X\(\/\/\)$/{ s//\1/; q; }
9042: /^X\(\/\).*/{ s//\1/; q; }
9043: s/.*/./; q'`
9044: done
9045: test ! -n "$as_dirs" || mkdir $as_dirs
9046: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9047: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9048: { (exit 1); exit 1; }; }; }
9049:
9050: ac_builddir=.
9051:
9052: if test "$ac_dir" != .; then
9053: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9054: # A "../" for each directory in $ac_dir_suffix.
9055: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9056: else
9057: ac_dir_suffix= ac_top_builddir=
9058: fi
9059:
9060: case $srcdir in
9061: .) # No --srcdir option. We are building in place.
9062: ac_srcdir=.
9063: if test -z "$ac_top_builddir"; then
9064: ac_top_srcdir=.
9065: else
9066: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9067: fi ;;
9068: [\\/]* | ?:[\\/]* ) # Absolute path.
9069: ac_srcdir=$srcdir$ac_dir_suffix;
9070: ac_top_srcdir=$srcdir ;;
9071: *) # Relative path.
9072: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9073: ac_top_srcdir=$ac_top_builddir$srcdir ;;
9074: esac
1.86 paf 9075:
9076: # Do not use `cd foo && pwd` to compute absolute paths, because
9077: # the directories may not exist.
9078: case `pwd` in
9079: .) ac_abs_builddir="$ac_dir";;
9080: *)
9081: case "$ac_dir" in
9082: .) ac_abs_builddir=`pwd`;;
9083: [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9084: *) ac_abs_builddir=`pwd`/"$ac_dir";;
9085: esac;;
9086: esac
9087: case $ac_abs_builddir in
9088: .) ac_abs_top_builddir=${ac_top_builddir}.;;
9089: *)
9090: case ${ac_top_builddir}. in
9091: .) ac_abs_top_builddir=$ac_abs_builddir;;
9092: [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9093: *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9094: esac;;
9095: esac
9096: case $ac_abs_builddir in
9097: .) ac_abs_srcdir=$ac_srcdir;;
9098: *)
9099: case $ac_srcdir in
9100: .) ac_abs_srcdir=$ac_abs_builddir;;
9101: [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9102: *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9103: esac;;
9104: esac
9105: case $ac_abs_builddir in
9106: .) ac_abs_top_srcdir=$ac_top_srcdir;;
9107: *)
9108: case $ac_top_srcdir in
9109: .) ac_abs_top_srcdir=$ac_abs_builddir;;
9110: [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9111: *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9112: esac;;
9113: esac
1.1 paf 9114:
9115:
1.62 paf 9116: cd $ac_dir
1.1 paf 9117:
9118: # Check for guested configure; otherwise get Cygnus style configure.
1.62 paf 9119: if test -f $ac_srcdir/configure.gnu; then
9120: ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
9121: elif test -f $ac_srcdir/configure; then
9122: ac_sub_configure="$SHELL '$ac_srcdir/configure'"
9123: elif test -f $ac_srcdir/configure.in; then
1.1 paf 9124: ac_sub_configure=$ac_configure
9125: else
1.62 paf 9126: { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
9127: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1 paf 9128: ac_sub_configure=
9129: fi
9130:
9131: # The recursion is here.
9132: if test -n "$ac_sub_configure"; then
9133: # Make the cache file name correct relative to the subdirectory.
1.62 paf 9134: case $cache_file in
9135: [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.1 paf 9136: *) # Relative path.
1.86 paf 9137: ac_sub_cache_file=$ac_top_builddir$cache_file ;;
1.1 paf 9138: esac
9139:
1.62 paf 9140: { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
9141: echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
1.1 paf 9142: # The eval makes quoting arguments work.
1.62 paf 9143: eval $ac_sub_configure $ac_sub_configure_args \
1.86 paf 9144: --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
9145: { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
1.62 paf 9146: echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
9147: { (exit 1); exit 1; }; }
1.1 paf 9148: fi
9149:
9150: cd $ac_popdir
9151: done
9152: fi
9153:
E-mail: