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