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