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