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