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