- prepare 1.4
[m6w6/mod-domaintree] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for mod_domaintree 1.3.
4 #
5 # Report bugs to <mike@iworks.at>.
6 #
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
13
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 set -o posix
23 fi
24 DUALCASE=1; export DUALCASE # for MKS sh
25
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28 as_unset=unset
29 else
30 as_unset=false
31 fi
32
33
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
36 PS1='$ '
37 PS2='> '
38 PS4='+ '
39
40 # NLS nuisances.
41 for as_var in \
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 LC_TELEPHONE LC_TIME
45 do
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
48 else
49 $as_unset $as_var
50 fi
51 done
52
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
55 as_expr=expr
56 else
57 as_expr=false
58 fi
59
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 as_basename=basename
62 else
63 as_basename=false
64 fi
65
66
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
73 echo X/"$0" |
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
77 s/.*/./; q'`
78
79
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
87
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
92 chmod +x conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94 PATH_SEPARATOR=';'
95 else
96 PATH_SEPARATOR=:
97 fi
98 rm -f conf$$.sh
99 fi
100
101
102 as_lineno_1=$LINENO
103 as_lineno_2=$LINENO
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
108 # relative or not.
109 case $0 in
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 for as_dir in $PATH
113 do
114 IFS=$as_save_IFS
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 done
118
119 ;;
120 esac
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
124 as_myself=$0
125 fi
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
129 fi
130 case $CONFIG_SHELL in
131 '')
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 do
135 IFS=$as_save_IFS
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
138 case $as_dir in
139 /*)
140 if ("$as_dir/$as_base" -c '
141 as_lineno_1=$LINENO
142 as_lineno_2=$LINENO
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
149 export CONFIG_SHELL
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 fi;;
152 esac
153 done
154 done
155 ;;
156 esac
157
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
167 sed '
168 N
169 s,$,-,
170 : loop
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 t loop
173 s,-$,,
174 s,^['$as_cr_digits']*\n,,
175 ' >$as_me.lineno &&
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
179
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
183 . ./$as_me.lineno
184 # Exit status is that of the last command.
185 exit
186 }
187
188
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
191 ' ECHO_T=' ' ;;
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 esac
195
196 if expr a : '\(a\)' >/dev/null 2>&1; then
197 as_expr=expr
198 else
199 as_expr=false
200 fi
201
202 rm -f conf$$ conf$$.exe conf$$.file
203 echo >conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
209 as_ln_s='cp -p'
210 else
211 as_ln_s='ln -s'
212 fi
213 elif ln conf$$.file conf$$ 2>/dev/null; then
214 as_ln_s=ln
215 else
216 as_ln_s='cp -p'
217 fi
218 rm -f conf$$ conf$$.exe conf$$.file
219
220 if mkdir -p . 2>/dev/null; then
221 as_mkdir_p=:
222 else
223 test -d ./-p && rmdir ./-p
224 as_mkdir_p=false
225 fi
226
227 as_executable_p="test -f"
228
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
235
236 # IFS
237 # We need space, tab and new line, in precisely that order.
238 as_nl='
239 '
240 IFS=" $as_nl"
241
242 # CDPATH.
243 $as_unset CDPATH
244
245
246 # Name of the host.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251 exec 6>&1
252
253 #
254 # Initializations.
255 #
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
258 cross_compiling=no
259 subdirs=
260 MFLAGS=
261 MAKEFLAGS=
262 SHELL=${CONFIG_SHELL-/bin/sh}
263
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
268
269 # Identity of this package.
270 PACKAGE_NAME='mod_domaintree'
271 PACKAGE_TARNAME='mod_domaintree'
272 PACKAGE_VERSION='1.3'
273 PACKAGE_STRING='mod_domaintree 1.3'
274 PACKAGE_BUGREPORT='mike@iworks.at'
275
276 ac_unique_file="mod_domaintree.c"
277 # Factoring default headers for most tests.
278 ac_includes_default="\
279 #include <stdio.h>
280 #if HAVE_SYS_TYPES_H
281 # include <sys/types.h>
282 #endif
283 #if HAVE_SYS_STAT_H
284 # include <sys/stat.h>
285 #endif
286 #if STDC_HEADERS
287 # include <stdlib.h>
288 # include <stddef.h>
289 #else
290 # if HAVE_STDLIB_H
291 # include <stdlib.h>
292 # endif
293 #endif
294 #if HAVE_STRING_H
295 # if !STDC_HEADERS && HAVE_MEMORY_H
296 # include <memory.h>
297 # endif
298 # include <string.h>
299 #endif
300 #if HAVE_STRINGS_H
301 # include <strings.h>
302 #endif
303 #if HAVE_INTTYPES_H
304 # include <inttypes.h>
305 #else
306 # if HAVE_STDINT_H
307 # include <stdint.h>
308 # endif
309 #endif
310 #if HAVE_UNISTD_H
311 # include <unistd.h>
312 #endif"
313
314 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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP APXS2 LIBOBJS LTLIBOBJS'
315 ac_subst_files=''
316
317 # Initialize some variables set by options.
318 ac_init_help=
319 ac_init_version=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
322 cache_file=/dev/null
323 exec_prefix=NONE
324 no_create=
325 no_recursion=
326 prefix=NONE
327 program_prefix=NONE
328 program_suffix=NONE
329 program_transform_name=s,x,x,
330 silent=
331 site=
332 srcdir=
333 verbose=
334 x_includes=NONE
335 x_libraries=NONE
336
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir='${exec_prefix}/bin'
343 sbindir='${exec_prefix}/sbin'
344 libexecdir='${exec_prefix}/libexec'
345 datadir='${prefix}/share'
346 sysconfdir='${prefix}/etc'
347 sharedstatedir='${prefix}/com'
348 localstatedir='${prefix}/var'
349 libdir='${exec_prefix}/lib'
350 includedir='${prefix}/include'
351 oldincludedir='/usr/include'
352 infodir='${prefix}/info'
353 mandir='${prefix}/man'
354
355 ac_prev=
356 for ac_option
357 do
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
361 ac_prev=
362 continue
363 fi
364
365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366
367 # Accept the important Cygnus configure options, so we can diagnose typos.
368
369 case $ac_option in
370
371 -bindir | --bindir | --bindi | --bind | --bin | --bi)
372 ac_prev=bindir ;;
373 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 bindir=$ac_optarg ;;
375
376 -build | --build | --buil | --bui | --bu)
377 ac_prev=build_alias ;;
378 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
379 build_alias=$ac_optarg ;;
380
381 -cache-file | --cache-file | --cache-fil | --cache-fi \
382 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
383 ac_prev=cache_file ;;
384 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
385 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
386 cache_file=$ac_optarg ;;
387
388 --config-cache | -C)
389 cache_file=config.cache ;;
390
391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392 ac_prev=datadir ;;
393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394 | --da=*)
395 datadir=$ac_optarg ;;
396
397 -disable-* | --disable-*)
398 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
405
406 -enable-* | --enable-*)
407 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413 case $ac_option in
414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 *) ac_optarg=yes ;;
416 esac
417 eval "enable_$ac_feature='$ac_optarg'" ;;
418
419 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
421 | --exec | --exe | --ex)
422 ac_prev=exec_prefix ;;
423 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
424 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
425 | --exec=* | --exe=* | --ex=*)
426 exec_prefix=$ac_optarg ;;
427
428 -gas | --gas | --ga | --g)
429 # Obsolete; use --with-gas.
430 with_gas=yes ;;
431
432 -help | --help | --hel | --he | -h)
433 ac_init_help=long ;;
434 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
435 ac_init_help=recursive ;;
436 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
437 ac_init_help=short ;;
438
439 -host | --host | --hos | --ho)
440 ac_prev=host_alias ;;
441 -host=* | --host=* | --hos=* | --ho=*)
442 host_alias=$ac_optarg ;;
443
444 -includedir | --includedir | --includedi | --included | --include \
445 | --includ | --inclu | --incl | --inc)
446 ac_prev=includedir ;;
447 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
448 | --includ=* | --inclu=* | --incl=* | --inc=*)
449 includedir=$ac_optarg ;;
450
451 -infodir | --infodir | --infodi | --infod | --info | --inf)
452 ac_prev=infodir ;;
453 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454 infodir=$ac_optarg ;;
455
456 -libdir | --libdir | --libdi | --libd)
457 ac_prev=libdir ;;
458 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 libdir=$ac_optarg ;;
460
461 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
462 | --libexe | --libex | --libe)
463 ac_prev=libexecdir ;;
464 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
465 | --libexe=* | --libex=* | --libe=*)
466 libexecdir=$ac_optarg ;;
467
468 -localstatedir | --localstatedir | --localstatedi | --localstated \
469 | --localstate | --localstat | --localsta | --localst \
470 | --locals | --local | --loca | --loc | --lo)
471 ac_prev=localstatedir ;;
472 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
475 localstatedir=$ac_optarg ;;
476
477 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478 ac_prev=mandir ;;
479 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480 mandir=$ac_optarg ;;
481
482 -nfp | --nfp | --nf)
483 # Obsolete; use --without-fp.
484 with_fp=no ;;
485
486 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
487 | --no-cr | --no-c | -n)
488 no_create=yes ;;
489
490 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
491 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 no_recursion=yes ;;
493
494 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
495 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
496 | --oldin | --oldi | --old | --ol | --o)
497 ac_prev=oldincludedir ;;
498 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
499 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
500 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
501 oldincludedir=$ac_optarg ;;
502
503 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504 ac_prev=prefix ;;
505 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 prefix=$ac_optarg ;;
507
508 -program-prefix | --program-prefix | --program-prefi | --program-pref \
509 | --program-pre | --program-pr | --program-p)
510 ac_prev=program_prefix ;;
511 -program-prefix=* | --program-prefix=* | --program-prefi=* \
512 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
513 program_prefix=$ac_optarg ;;
514
515 -program-suffix | --program-suffix | --program-suffi | --program-suff \
516 | --program-suf | --program-su | --program-s)
517 ac_prev=program_suffix ;;
518 -program-suffix=* | --program-suffix=* | --program-suffi=* \
519 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
520 program_suffix=$ac_optarg ;;
521
522 -program-transform-name | --program-transform-name \
523 | --program-transform-nam | --program-transform-na \
524 | --program-transform-n | --program-transform- \
525 | --program-transform | --program-transfor \
526 | --program-transfo | --program-transf \
527 | --program-trans | --program-tran \
528 | --progr-tra | --program-tr | --program-t)
529 ac_prev=program_transform_name ;;
530 -program-transform-name=* | --program-transform-name=* \
531 | --program-transform-nam=* | --program-transform-na=* \
532 | --program-transform-n=* | --program-transform-=* \
533 | --program-transform=* | --program-transfor=* \
534 | --program-transfo=* | --program-transf=* \
535 | --program-trans=* | --program-tran=* \
536 | --progr-tra=* | --program-tr=* | --program-t=*)
537 program_transform_name=$ac_optarg ;;
538
539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
540 | -silent | --silent | --silen | --sile | --sil)
541 silent=yes ;;
542
543 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544 ac_prev=sbindir ;;
545 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546 | --sbi=* | --sb=*)
547 sbindir=$ac_optarg ;;
548
549 -sharedstatedir | --sharedstatedir | --sharedstatedi \
550 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
551 | --sharedst | --shareds | --shared | --share | --shar \
552 | --sha | --sh)
553 ac_prev=sharedstatedir ;;
554 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
555 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
556 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557 | --sha=* | --sh=*)
558 sharedstatedir=$ac_optarg ;;
559
560 -site | --site | --sit)
561 ac_prev=site ;;
562 -site=* | --site=* | --sit=*)
563 site=$ac_optarg ;;
564
565 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566 ac_prev=srcdir ;;
567 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 srcdir=$ac_optarg ;;
569
570 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
571 | --syscon | --sysco | --sysc | --sys | --sy)
572 ac_prev=sysconfdir ;;
573 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
574 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
575 sysconfdir=$ac_optarg ;;
576
577 -target | --target | --targe | --targ | --tar | --ta | --t)
578 ac_prev=target_alias ;;
579 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
580 target_alias=$ac_optarg ;;
581
582 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 verbose=yes ;;
584
585 -version | --version | --versio | --versi | --vers | -V)
586 ac_init_version=: ;;
587
588 -with-* | --with-*)
589 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package=`echo $ac_package| sed 's/-/_/g'`
595 case $ac_option in
596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 *) ac_optarg=yes ;;
598 esac
599 eval "with_$ac_package='$ac_optarg'" ;;
600
601 -without-* | --without-*)
602 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
609
610 --x)
611 # Obsolete; use --with-x.
612 with_x=yes ;;
613
614 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
615 | --x-incl | --x-inc | --x-in | --x-i)
616 ac_prev=x_includes ;;
617 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
618 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
619 x_includes=$ac_optarg ;;
620
621 -x-libraries | --x-libraries | --x-librarie | --x-librari \
622 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
623 ac_prev=x_libraries ;;
624 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
625 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
626 x_libraries=$ac_optarg ;;
627
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
631 ;;
632
633 *=*)
634 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
641 export $ac_envvar ;;
642
643 *)
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649 ;;
650
651 esac
652 done
653
654 if test -n "$ac_prev"; then
655 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
658 fi
659
660 # Be sure to have absolute paths.
661 for ac_var in exec_prefix prefix
662 do
663 eval ac_val=$`echo $ac_var`
664 case $ac_val in
665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
668 esac
669 done
670
671 # Be sure to have absolute paths.
672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
674 do
675 eval ac_val=$`echo $ac_var`
676 case $ac_val in
677 [\\/$]* | ?:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
680 esac
681 done
682
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
686 build=$build_alias
687 host=$host_alias
688 target=$target_alias
689
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x; then
692 if test "x$build_alias" = x; then
693 cross_compiling=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
697 cross_compiling=yes
698 fi
699 fi
700
701 ac_tool_prefix=
702 test -n "$host_alias" && ac_tool_prefix=$host_alias-
703
704 test "$silent" = yes && exec 6>/dev/null
705
706
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
717 echo X"$0" |
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
722 s/.*/./; q'`
723 srcdir=$ac_confdir
724 if test ! -r $srcdir/$ac_unique_file; then
725 srcdir=..
726 fi
727 else
728 ac_srcdir_defaulted=no
729 fi
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
734 else
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
737 fi
738 fi
739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set=${build_alias+set}
744 ac_env_build_alias_value=$build_alias
745 ac_cv_env_build_alias_set=${build_alias+set}
746 ac_cv_env_build_alias_value=$build_alias
747 ac_env_host_alias_set=${host_alias+set}
748 ac_env_host_alias_value=$host_alias
749 ac_cv_env_host_alias_set=${host_alias+set}
750 ac_cv_env_host_alias_value=$host_alias
751 ac_env_target_alias_set=${target_alias+set}
752 ac_env_target_alias_value=$target_alias
753 ac_cv_env_target_alias_set=${target_alias+set}
754 ac_cv_env_target_alias_value=$target_alias
755 ac_env_CC_set=${CC+set}
756 ac_env_CC_value=$CC
757 ac_cv_env_CC_set=${CC+set}
758 ac_cv_env_CC_value=$CC
759 ac_env_CFLAGS_set=${CFLAGS+set}
760 ac_env_CFLAGS_value=$CFLAGS
761 ac_cv_env_CFLAGS_set=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value=$CFLAGS
763 ac_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_env_LDFLAGS_value=$LDFLAGS
765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value=$LDFLAGS
767 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
771 ac_env_CPP_set=${CPP+set}
772 ac_env_CPP_value=$CPP
773 ac_cv_env_CPP_set=${CPP+set}
774 ac_cv_env_CPP_value=$CPP
775
776 #
777 # Report the --help message.
778 #
779 if test "$ac_init_help" = "long"; then
780 # Omit some internal or obsolete options to make the list less imposing.
781 # This message is too long to be a string in the A/UX 3.1 sh.
782 cat <<_ACEOF
783 \`configure' configures mod_domaintree 1.3 to adapt to many kinds of systems.
784
785 Usage: $0 [OPTION]... [VAR=VALUE]...
786
787 To assign environment variables (e.g., CC, CFLAGS...), specify them as
788 VAR=VALUE. See below for descriptions of some of the useful variables.
789
790 Defaults for the options are specified in brackets.
791
792 Configuration:
793 -h, --help display this help and exit
794 --help=short display options specific to this package
795 --help=recursive display the short help of all the included packages
796 -V, --version display version information and exit
797 -q, --quiet, --silent do not print \`checking...' messages
798 --cache-file=FILE cache test results in FILE [disabled]
799 -C, --config-cache alias for \`--cache-file=config.cache'
800 -n, --no-create do not create output files
801 --srcdir=DIR find the sources in DIR [configure dir or \`..']
802
803 _ACEOF
804
805 cat <<_ACEOF
806 Installation directories:
807 --prefix=PREFIX install architecture-independent files in PREFIX
808 [$ac_default_prefix]
809 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 [PREFIX]
811
812 By default, \`make install' will install all the files in
813 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
814 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
815 for instance \`--prefix=\$HOME'.
816
817 For better control, use the options below.
818
819 Fine tuning of the installation directories:
820 --bindir=DIR user executables [EPREFIX/bin]
821 --sbindir=DIR system admin executables [EPREFIX/sbin]
822 --libexecdir=DIR program executables [EPREFIX/libexec]
823 --datadir=DIR read-only architecture-independent data [PREFIX/share]
824 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
825 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
826 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
827 --libdir=DIR object code libraries [EPREFIX/lib]
828 --includedir=DIR C header files [PREFIX/include]
829 --oldincludedir=DIR C header files for non-gcc [/usr/include]
830 --infodir=DIR info documentation [PREFIX/info]
831 --mandir=DIR man documentation [PREFIX/man]
832 _ACEOF
833
834 cat <<\_ACEOF
835 _ACEOF
836 fi
837
838 if test -n "$ac_init_help"; then
839 case $ac_init_help in
840 short | recursive ) echo "Configuration of mod_domaintree 1.3:";;
841 esac
842 cat <<\_ACEOF
843
844 Optional Packages:
845 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
846 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
847 --with-apxs2 where the apxs2 tool is located
848
849 Some influential environment variables:
850 CC C compiler command
851 CFLAGS C compiler flags
852 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
853 nonstandard directory <lib dir>
854 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
855 headers in a nonstandard directory <include dir>
856 CPP C preprocessor
857
858 Use these variables to override the choices made by `configure' or to help
859 it to find libraries and programs with nonstandard names/locations.
860
861 Report bugs to <mike@iworks.at>.
862 _ACEOF
863 fi
864
865 if test "$ac_init_help" = "recursive"; then
866 # If there are subdirs, report their specific --help.
867 ac_popdir=`pwd`
868 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
869 test -d $ac_dir || continue
870 ac_builddir=.
871
872 if test "$ac_dir" != .; then
873 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
874 # A "../" for each directory in $ac_dir_suffix.
875 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
876 else
877 ac_dir_suffix= ac_top_builddir=
878 fi
879
880 case $srcdir in
881 .) # No --srcdir option. We are building in place.
882 ac_srcdir=.
883 if test -z "$ac_top_builddir"; then
884 ac_top_srcdir=.
885 else
886 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
887 fi ;;
888 [\\/]* | ?:[\\/]* ) # Absolute path.
889 ac_srcdir=$srcdir$ac_dir_suffix;
890 ac_top_srcdir=$srcdir ;;
891 *) # Relative path.
892 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
893 ac_top_srcdir=$ac_top_builddir$srcdir ;;
894 esac
895
896 # Do not use `cd foo && pwd` to compute absolute paths, because
897 # the directories may not exist.
898 case `pwd` in
899 .) ac_abs_builddir="$ac_dir";;
900 *)
901 case "$ac_dir" in
902 .) ac_abs_builddir=`pwd`;;
903 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
904 *) ac_abs_builddir=`pwd`/"$ac_dir";;
905 esac;;
906 esac
907 case $ac_abs_builddir in
908 .) ac_abs_top_builddir=${ac_top_builddir}.;;
909 *)
910 case ${ac_top_builddir}. in
911 .) ac_abs_top_builddir=$ac_abs_builddir;;
912 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
913 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
914 esac;;
915 esac
916 case $ac_abs_builddir in
917 .) ac_abs_srcdir=$ac_srcdir;;
918 *)
919 case $ac_srcdir in
920 .) ac_abs_srcdir=$ac_abs_builddir;;
921 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
922 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
923 esac;;
924 esac
925 case $ac_abs_builddir in
926 .) ac_abs_top_srcdir=$ac_top_srcdir;;
927 *)
928 case $ac_top_srcdir in
929 .) ac_abs_top_srcdir=$ac_abs_builddir;;
930 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
931 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
932 esac;;
933 esac
934
935 cd $ac_dir
936 # Check for guested configure; otherwise get Cygnus style configure.
937 if test -f $ac_srcdir/configure.gnu; then
938 echo
939 $SHELL $ac_srcdir/configure.gnu --help=recursive
940 elif test -f $ac_srcdir/configure; then
941 echo
942 $SHELL $ac_srcdir/configure --help=recursive
943 elif test -f $ac_srcdir/configure.ac ||
944 test -f $ac_srcdir/configure.in; then
945 echo
946 $ac_configure --help
947 else
948 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
949 fi
950 cd "$ac_popdir"
951 done
952 fi
953
954 test -n "$ac_init_help" && exit 0
955 if $ac_init_version; then
956 cat <<\_ACEOF
957 mod_domaintree configure 1.3
958 generated by GNU Autoconf 2.59
959
960 Copyright (C) 2003 Free Software Foundation, Inc.
961 This configure script is free software; the Free Software Foundation
962 gives unlimited permission to copy, distribute and modify it.
963 _ACEOF
964 exit 0
965 fi
966 exec 5>config.log
967 cat >&5 <<_ACEOF
968 This file contains any messages produced by compilers while
969 running configure, to aid debugging if configure makes a mistake.
970
971 It was created by mod_domaintree $as_me 1.3, which was
972 generated by GNU Autoconf 2.59. Invocation command line was
973
974 $ $0 $@
975
976 _ACEOF
977 {
978 cat <<_ASUNAME
979 ## --------- ##
980 ## Platform. ##
981 ## --------- ##
982
983 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
984 uname -m = `(uname -m) 2>/dev/null || echo unknown`
985 uname -r = `(uname -r) 2>/dev/null || echo unknown`
986 uname -s = `(uname -s) 2>/dev/null || echo unknown`
987 uname -v = `(uname -v) 2>/dev/null || echo unknown`
988
989 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
990 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
991
992 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
993 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
994 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
995 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
996 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
997 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
998 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
999
1000 _ASUNAME
1001
1002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1003 for as_dir in $PATH
1004 do
1005 IFS=$as_save_IFS
1006 test -z "$as_dir" && as_dir=.
1007 echo "PATH: $as_dir"
1008 done
1009
1010 } >&5
1011
1012 cat >&5 <<_ACEOF
1013
1014
1015 ## ----------- ##
1016 ## Core tests. ##
1017 ## ----------- ##
1018
1019 _ACEOF
1020
1021
1022 # Keep a trace of the command line.
1023 # Strip out --no-create and --no-recursion so they do not pile up.
1024 # Strip out --silent because we don't want to record it for future runs.
1025 # Also quote any args containing shell meta-characters.
1026 # Make two passes to allow for proper duplicate-argument suppression.
1027 ac_configure_args=
1028 ac_configure_args0=
1029 ac_configure_args1=
1030 ac_sep=
1031 ac_must_keep_next=false
1032 for ac_pass in 1 2
1033 do
1034 for ac_arg
1035 do
1036 case $ac_arg in
1037 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1038 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1039 | -silent | --silent | --silen | --sile | --sil)
1040 continue ;;
1041 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1042 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1043 esac
1044 case $ac_pass in
1045 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1046 2)
1047 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1048 if test $ac_must_keep_next = true; then
1049 ac_must_keep_next=false # Got value, back to normal.
1050 else
1051 case $ac_arg in
1052 *=* | --config-cache | -C | -disable-* | --disable-* \
1053 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1054 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1055 | -with-* | --with-* | -without-* | --without-* | --x)
1056 case "$ac_configure_args0 " in
1057 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1058 esac
1059 ;;
1060 -* ) ac_must_keep_next=true ;;
1061 esac
1062 fi
1063 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1064 # Get rid of the leading space.
1065 ac_sep=" "
1066 ;;
1067 esac
1068 done
1069 done
1070 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1071 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1072
1073 # When interrupted or exit'd, cleanup temporary files, and complete
1074 # config.log. We remove comments because anyway the quotes in there
1075 # would cause problems or look ugly.
1076 # WARNING: Be sure not to use single quotes in there, as some shells,
1077 # such as our DU 5.0 friend, will then `close' the trap.
1078 trap 'exit_status=$?
1079 # Save into config.log some information that might help in debugging.
1080 {
1081 echo
1082
1083 cat <<\_ASBOX
1084 ## ---------------- ##
1085 ## Cache variables. ##
1086 ## ---------------- ##
1087 _ASBOX
1088 echo
1089 # The following way of writing the cache mishandles newlines in values,
1090 {
1091 (set) 2>&1 |
1092 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1093 *ac_space=\ *)
1094 sed -n \
1095 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1096 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1097 ;;
1098 *)
1099 sed -n \
1100 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1101 ;;
1102 esac;
1103 }
1104 echo
1105
1106 cat <<\_ASBOX
1107 ## ----------------- ##
1108 ## Output variables. ##
1109 ## ----------------- ##
1110 _ASBOX
1111 echo
1112 for ac_var in $ac_subst_vars
1113 do
1114 eval ac_val=$`echo $ac_var`
1115 echo "$ac_var='"'"'$ac_val'"'"'"
1116 done | sort
1117 echo
1118
1119 if test -n "$ac_subst_files"; then
1120 cat <<\_ASBOX
1121 ## ------------- ##
1122 ## Output files. ##
1123 ## ------------- ##
1124 _ASBOX
1125 echo
1126 for ac_var in $ac_subst_files
1127 do
1128 eval ac_val=$`echo $ac_var`
1129 echo "$ac_var='"'"'$ac_val'"'"'"
1130 done | sort
1131 echo
1132 fi
1133
1134 if test -s confdefs.h; then
1135 cat <<\_ASBOX
1136 ## ----------- ##
1137 ## confdefs.h. ##
1138 ## ----------- ##
1139 _ASBOX
1140 echo
1141 sed "/^$/d" confdefs.h | sort
1142 echo
1143 fi
1144 test "$ac_signal" != 0 &&
1145 echo "$as_me: caught signal $ac_signal"
1146 echo "$as_me: exit $exit_status"
1147 } >&5
1148 rm -f core *.core &&
1149 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1150 exit $exit_status
1151 ' 0
1152 for ac_signal in 1 2 13 15; do
1153 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1154 done
1155 ac_signal=0
1156
1157 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1158 rm -rf conftest* confdefs.h
1159 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1160 echo >confdefs.h
1161
1162 # Predefined preprocessor variables.
1163
1164 cat >>confdefs.h <<_ACEOF
1165 #define PACKAGE_NAME "$PACKAGE_NAME"
1166 _ACEOF
1167
1168
1169 cat >>confdefs.h <<_ACEOF
1170 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1171 _ACEOF
1172
1173
1174 cat >>confdefs.h <<_ACEOF
1175 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1176 _ACEOF
1177
1178
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_STRING "$PACKAGE_STRING"
1181 _ACEOF
1182
1183
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1186 _ACEOF
1187
1188
1189 # Let the site file select an alternate cache file if it wants to.
1190 # Prefer explicitly selected file to automatically selected ones.
1191 if test -z "$CONFIG_SITE"; then
1192 if test "x$prefix" != xNONE; then
1193 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1194 else
1195 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1196 fi
1197 fi
1198 for ac_site_file in $CONFIG_SITE; do
1199 if test -r "$ac_site_file"; then
1200 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1201 echo "$as_me: loading site script $ac_site_file" >&6;}
1202 sed 's/^/| /' "$ac_site_file" >&5
1203 . "$ac_site_file"
1204 fi
1205 done
1206
1207 if test -r "$cache_file"; then
1208 # Some versions of bash will fail to source /dev/null (special
1209 # files actually), so we avoid doing that.
1210 if test -f "$cache_file"; then
1211 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1212 echo "$as_me: loading cache $cache_file" >&6;}
1213 case $cache_file in
1214 [\\/]* | ?:[\\/]* ) . $cache_file;;
1215 *) . ./$cache_file;;
1216 esac
1217 fi
1218 else
1219 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1220 echo "$as_me: creating cache $cache_file" >&6;}
1221 >$cache_file
1222 fi
1223
1224 # Check that the precious variables saved in the cache have kept the same
1225 # value.
1226 ac_cache_corrupted=false
1227 for ac_var in `(set) 2>&1 |
1228 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1229 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1230 eval ac_new_set=\$ac_env_${ac_var}_set
1231 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1232 eval ac_new_val="\$ac_env_${ac_var}_value"
1233 case $ac_old_set,$ac_new_set in
1234 set,)
1235 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1236 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1237 ac_cache_corrupted=: ;;
1238 ,set)
1239 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1240 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1241 ac_cache_corrupted=: ;;
1242 ,);;
1243 *)
1244 if test "x$ac_old_val" != "x$ac_new_val"; then
1245 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1246 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1247 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1248 echo "$as_me: former value: $ac_old_val" >&2;}
1249 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1250 echo "$as_me: current value: $ac_new_val" >&2;}
1251 ac_cache_corrupted=:
1252 fi;;
1253 esac
1254 # Pass precious variables to config.status.
1255 if test "$ac_new_set" = set; then
1256 case $ac_new_val in
1257 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1258 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1259 *) ac_arg=$ac_var=$ac_new_val ;;
1260 esac
1261 case " $ac_configure_args " in
1262 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1263 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1264 esac
1265 fi
1266 done
1267 if $ac_cache_corrupted; then
1268 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1269 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1270 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1271 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1272 { (exit 1); exit 1; }; }
1273 fi
1274
1275 ac_ext=c
1276 ac_cpp='$CPP $CPPFLAGS'
1277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309 ac_config_headers="$ac_config_headers config.h"
1310
1311
1312 ac_ext=c
1313 ac_cpp='$CPP $CPPFLAGS'
1314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1317 if test -n "$ac_tool_prefix"; then
1318 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1319 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1320 echo "$as_me:$LINENO: checking for $ac_word" >&5
1321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1322 if test "${ac_cv_prog_CC+set}" = set; then
1323 echo $ECHO_N "(cached) $ECHO_C" >&6
1324 else
1325 if test -n "$CC"; then
1326 ac_cv_prog_CC="$CC" # Let the user override the test.
1327 else
1328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1329 for as_dir in $PATH
1330 do
1331 IFS=$as_save_IFS
1332 test -z "$as_dir" && as_dir=.
1333 for ac_exec_ext in '' $ac_executable_extensions; do
1334 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1335 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1337 break 2
1338 fi
1339 done
1340 done
1341
1342 fi
1343 fi
1344 CC=$ac_cv_prog_CC
1345 if test -n "$CC"; then
1346 echo "$as_me:$LINENO: result: $CC" >&5
1347 echo "${ECHO_T}$CC" >&6
1348 else
1349 echo "$as_me:$LINENO: result: no" >&5
1350 echo "${ECHO_T}no" >&6
1351 fi
1352
1353 fi
1354 if test -z "$ac_cv_prog_CC"; then
1355 ac_ct_CC=$CC
1356 # Extract the first word of "gcc", so it can be a program name with args.
1357 set dummy gcc; ac_word=$2
1358 echo "$as_me:$LINENO: checking for $ac_word" >&5
1359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1360 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1361 echo $ECHO_N "(cached) $ECHO_C" >&6
1362 else
1363 if test -n "$ac_ct_CC"; then
1364 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1365 else
1366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1367 for as_dir in $PATH
1368 do
1369 IFS=$as_save_IFS
1370 test -z "$as_dir" && as_dir=.
1371 for ac_exec_ext in '' $ac_executable_extensions; do
1372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1373 ac_cv_prog_ac_ct_CC="gcc"
1374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1375 break 2
1376 fi
1377 done
1378 done
1379
1380 fi
1381 fi
1382 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1383 if test -n "$ac_ct_CC"; then
1384 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1385 echo "${ECHO_T}$ac_ct_CC" >&6
1386 else
1387 echo "$as_me:$LINENO: result: no" >&5
1388 echo "${ECHO_T}no" >&6
1389 fi
1390
1391 CC=$ac_ct_CC
1392 else
1393 CC="$ac_cv_prog_CC"
1394 fi
1395
1396 if test -z "$CC"; then
1397 if test -n "$ac_tool_prefix"; then
1398 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1399 set dummy ${ac_tool_prefix}cc; ac_word=$2
1400 echo "$as_me:$LINENO: checking for $ac_word" >&5
1401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1402 if test "${ac_cv_prog_CC+set}" = set; then
1403 echo $ECHO_N "(cached) $ECHO_C" >&6
1404 else
1405 if test -n "$CC"; then
1406 ac_cv_prog_CC="$CC" # Let the user override the test.
1407 else
1408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1409 for as_dir in $PATH
1410 do
1411 IFS=$as_save_IFS
1412 test -z "$as_dir" && as_dir=.
1413 for ac_exec_ext in '' $ac_executable_extensions; do
1414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1415 ac_cv_prog_CC="${ac_tool_prefix}cc"
1416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1417 break 2
1418 fi
1419 done
1420 done
1421
1422 fi
1423 fi
1424 CC=$ac_cv_prog_CC
1425 if test -n "$CC"; then
1426 echo "$as_me:$LINENO: result: $CC" >&5
1427 echo "${ECHO_T}$CC" >&6
1428 else
1429 echo "$as_me:$LINENO: result: no" >&5
1430 echo "${ECHO_T}no" >&6
1431 fi
1432
1433 fi
1434 if test -z "$ac_cv_prog_CC"; then
1435 ac_ct_CC=$CC
1436 # Extract the first word of "cc", so it can be a program name with args.
1437 set dummy cc; ac_word=$2
1438 echo "$as_me:$LINENO: checking for $ac_word" >&5
1439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1440 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1441 echo $ECHO_N "(cached) $ECHO_C" >&6
1442 else
1443 if test -n "$ac_ct_CC"; then
1444 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1445 else
1446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1447 for as_dir in $PATH
1448 do
1449 IFS=$as_save_IFS
1450 test -z "$as_dir" && as_dir=.
1451 for ac_exec_ext in '' $ac_executable_extensions; do
1452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1453 ac_cv_prog_ac_ct_CC="cc"
1454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1455 break 2
1456 fi
1457 done
1458 done
1459
1460 fi
1461 fi
1462 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1463 if test -n "$ac_ct_CC"; then
1464 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1465 echo "${ECHO_T}$ac_ct_CC" >&6
1466 else
1467 echo "$as_me:$LINENO: result: no" >&5
1468 echo "${ECHO_T}no" >&6
1469 fi
1470
1471 CC=$ac_ct_CC
1472 else
1473 CC="$ac_cv_prog_CC"
1474 fi
1475
1476 fi
1477 if test -z "$CC"; then
1478 # Extract the first word of "cc", so it can be a program name with args.
1479 set dummy cc; ac_word=$2
1480 echo "$as_me:$LINENO: checking for $ac_word" >&5
1481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1482 if test "${ac_cv_prog_CC+set}" = set; then
1483 echo $ECHO_N "(cached) $ECHO_C" >&6
1484 else
1485 if test -n "$CC"; then
1486 ac_cv_prog_CC="$CC" # Let the user override the test.
1487 else
1488 ac_prog_rejected=no
1489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1490 for as_dir in $PATH
1491 do
1492 IFS=$as_save_IFS
1493 test -z "$as_dir" && as_dir=.
1494 for ac_exec_ext in '' $ac_executable_extensions; do
1495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1496 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1497 ac_prog_rejected=yes
1498 continue
1499 fi
1500 ac_cv_prog_CC="cc"
1501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1502 break 2
1503 fi
1504 done
1505 done
1506
1507 if test $ac_prog_rejected = yes; then
1508 # We found a bogon in the path, so make sure we never use it.
1509 set dummy $ac_cv_prog_CC
1510 shift
1511 if test $# != 0; then
1512 # We chose a different compiler from the bogus one.
1513 # However, it has the same basename, so the bogon will be chosen
1514 # first if we set CC to just the basename; use the full file name.
1515 shift
1516 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1517 fi
1518 fi
1519 fi
1520 fi
1521 CC=$ac_cv_prog_CC
1522 if test -n "$CC"; then
1523 echo "$as_me:$LINENO: result: $CC" >&5
1524 echo "${ECHO_T}$CC" >&6
1525 else
1526 echo "$as_me:$LINENO: result: no" >&5
1527 echo "${ECHO_T}no" >&6
1528 fi
1529
1530 fi
1531 if test -z "$CC"; then
1532 if test -n "$ac_tool_prefix"; then
1533 for ac_prog in cl
1534 do
1535 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1536 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1537 echo "$as_me:$LINENO: checking for $ac_word" >&5
1538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1539 if test "${ac_cv_prog_CC+set}" = set; then
1540 echo $ECHO_N "(cached) $ECHO_C" >&6
1541 else
1542 if test -n "$CC"; then
1543 ac_cv_prog_CC="$CC" # Let the user override the test.
1544 else
1545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1546 for as_dir in $PATH
1547 do
1548 IFS=$as_save_IFS
1549 test -z "$as_dir" && as_dir=.
1550 for ac_exec_ext in '' $ac_executable_extensions; do
1551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1552 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1554 break 2
1555 fi
1556 done
1557 done
1558
1559 fi
1560 fi
1561 CC=$ac_cv_prog_CC
1562 if test -n "$CC"; then
1563 echo "$as_me:$LINENO: result: $CC" >&5
1564 echo "${ECHO_T}$CC" >&6
1565 else
1566 echo "$as_me:$LINENO: result: no" >&5
1567 echo "${ECHO_T}no" >&6
1568 fi
1569
1570 test -n "$CC" && break
1571 done
1572 fi
1573 if test -z "$CC"; then
1574 ac_ct_CC=$CC
1575 for ac_prog in cl
1576 do
1577 # Extract the first word of "$ac_prog", so it can be a program name with args.
1578 set dummy $ac_prog; ac_word=$2
1579 echo "$as_me:$LINENO: checking for $ac_word" >&5
1580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1581 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1582 echo $ECHO_N "(cached) $ECHO_C" >&6
1583 else
1584 if test -n "$ac_ct_CC"; then
1585 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1586 else
1587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1588 for as_dir in $PATH
1589 do
1590 IFS=$as_save_IFS
1591 test -z "$as_dir" && as_dir=.
1592 for ac_exec_ext in '' $ac_executable_extensions; do
1593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1594 ac_cv_prog_ac_ct_CC="$ac_prog"
1595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1596 break 2
1597 fi
1598 done
1599 done
1600
1601 fi
1602 fi
1603 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1604 if test -n "$ac_ct_CC"; then
1605 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1606 echo "${ECHO_T}$ac_ct_CC" >&6
1607 else
1608 echo "$as_me:$LINENO: result: no" >&5
1609 echo "${ECHO_T}no" >&6
1610 fi
1611
1612 test -n "$ac_ct_CC" && break
1613 done
1614
1615 CC=$ac_ct_CC
1616 fi
1617
1618 fi
1619
1620
1621 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1622 See \`config.log' for more details." >&5
1623 echo "$as_me: error: no acceptable C compiler found in \$PATH
1624 See \`config.log' for more details." >&2;}
1625 { (exit 1); exit 1; }; }
1626
1627 # Provide some information about the compiler.
1628 echo "$as_me:$LINENO:" \
1629 "checking for C compiler version" >&5
1630 ac_compiler=`set X $ac_compile; echo $2`
1631 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1632 (eval $ac_compiler --version </dev/null >&5) 2>&5
1633 ac_status=$?
1634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1635 (exit $ac_status); }
1636 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1637 (eval $ac_compiler -v </dev/null >&5) 2>&5
1638 ac_status=$?
1639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1640 (exit $ac_status); }
1641 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1642 (eval $ac_compiler -V </dev/null >&5) 2>&5
1643 ac_status=$?
1644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1645 (exit $ac_status); }
1646
1647 cat >conftest.$ac_ext <<_ACEOF
1648 /* confdefs.h. */
1649 _ACEOF
1650 cat confdefs.h >>conftest.$ac_ext
1651 cat >>conftest.$ac_ext <<_ACEOF
1652 /* end confdefs.h. */
1653
1654 int
1655 main ()
1656 {
1657
1658 ;
1659 return 0;
1660 }
1661 _ACEOF
1662 ac_clean_files_save=$ac_clean_files
1663 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1664 # Try to create an executable without -o first, disregard a.out.
1665 # It will help us diagnose broken compilers, and finding out an intuition
1666 # of exeext.
1667 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1668 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1669 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1670 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1671 (eval $ac_link_default) 2>&5
1672 ac_status=$?
1673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1674 (exit $ac_status); }; then
1675 # Find the output, starting from the most likely. This scheme is
1676 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1677 # resort.
1678
1679 # Be careful to initialize this variable, since it used to be cached.
1680 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1681 ac_cv_exeext=
1682 # b.out is created by i960 compilers.
1683 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1684 do
1685 test -f "$ac_file" || continue
1686 case $ac_file in
1687 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1688 ;;
1689 conftest.$ac_ext )
1690 # This is the source file.
1691 ;;
1692 [ab].out )
1693 # We found the default executable, but exeext='' is most
1694 # certainly right.
1695 break;;
1696 *.* )
1697 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1698 # FIXME: I believe we export ac_cv_exeext for Libtool,
1699 # but it would be cool to find out if it's true. Does anybody
1700 # maintain Libtool? --akim.
1701 export ac_cv_exeext
1702 break;;
1703 * )
1704 break;;
1705 esac
1706 done
1707 else
1708 echo "$as_me: failed program was:" >&5
1709 sed 's/^/| /' conftest.$ac_ext >&5
1710
1711 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1712 See \`config.log' for more details." >&5
1713 echo "$as_me: error: C compiler cannot create executables
1714 See \`config.log' for more details." >&2;}
1715 { (exit 77); exit 77; }; }
1716 fi
1717
1718 ac_exeext=$ac_cv_exeext
1719 echo "$as_me:$LINENO: result: $ac_file" >&5
1720 echo "${ECHO_T}$ac_file" >&6
1721
1722 # Check the compiler produces executables we can run. If not, either
1723 # the compiler is broken, or we cross compile.
1724 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1725 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1726 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1727 # If not cross compiling, check that we can run a simple program.
1728 if test "$cross_compiling" != yes; then
1729 if { ac_try='./$ac_file'
1730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1731 (eval $ac_try) 2>&5
1732 ac_status=$?
1733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1734 (exit $ac_status); }; }; then
1735 cross_compiling=no
1736 else
1737 if test "$cross_compiling" = maybe; then
1738 cross_compiling=yes
1739 else
1740 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1741 If you meant to cross compile, use \`--host'.
1742 See \`config.log' for more details." >&5
1743 echo "$as_me: error: cannot run C compiled programs.
1744 If you meant to cross compile, use \`--host'.
1745 See \`config.log' for more details." >&2;}
1746 { (exit 1); exit 1; }; }
1747 fi
1748 fi
1749 fi
1750 echo "$as_me:$LINENO: result: yes" >&5
1751 echo "${ECHO_T}yes" >&6
1752
1753 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1754 ac_clean_files=$ac_clean_files_save
1755 # Check the compiler produces executables we can run. If not, either
1756 # the compiler is broken, or we cross compile.
1757 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1758 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1759 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1760 echo "${ECHO_T}$cross_compiling" >&6
1761
1762 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1763 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1765 (eval $ac_link) 2>&5
1766 ac_status=$?
1767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1768 (exit $ac_status); }; then
1769 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1770 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1771 # work properly (i.e., refer to `conftest.exe'), while it won't with
1772 # `rm'.
1773 for ac_file in conftest.exe conftest conftest.*; do
1774 test -f "$ac_file" || continue
1775 case $ac_file in
1776 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1777 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1778 export ac_cv_exeext
1779 break;;
1780 * ) break;;
1781 esac
1782 done
1783 else
1784 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1785 See \`config.log' for more details." >&5
1786 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1787 See \`config.log' for more details." >&2;}
1788 { (exit 1); exit 1; }; }
1789 fi
1790
1791 rm -f conftest$ac_cv_exeext
1792 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1793 echo "${ECHO_T}$ac_cv_exeext" >&6
1794
1795 rm -f conftest.$ac_ext
1796 EXEEXT=$ac_cv_exeext
1797 ac_exeext=$EXEEXT
1798 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1799 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1800 if test "${ac_cv_objext+set}" = set; then
1801 echo $ECHO_N "(cached) $ECHO_C" >&6
1802 else
1803 cat >conftest.$ac_ext <<_ACEOF
1804 /* confdefs.h. */
1805 _ACEOF
1806 cat confdefs.h >>conftest.$ac_ext
1807 cat >>conftest.$ac_ext <<_ACEOF
1808 /* end confdefs.h. */
1809
1810 int
1811 main ()
1812 {
1813
1814 ;
1815 return 0;
1816 }
1817 _ACEOF
1818 rm -f conftest.o conftest.obj
1819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1820 (eval $ac_compile) 2>&5
1821 ac_status=$?
1822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1823 (exit $ac_status); }; then
1824 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1825 case $ac_file in
1826 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1827 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1828 break;;
1829 esac
1830 done
1831 else
1832 echo "$as_me: failed program was:" >&5
1833 sed 's/^/| /' conftest.$ac_ext >&5
1834
1835 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1836 See \`config.log' for more details." >&5
1837 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1838 See \`config.log' for more details." >&2;}
1839 { (exit 1); exit 1; }; }
1840 fi
1841
1842 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1843 fi
1844 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1845 echo "${ECHO_T}$ac_cv_objext" >&6
1846 OBJEXT=$ac_cv_objext
1847 ac_objext=$OBJEXT
1848 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1849 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1850 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1851 echo $ECHO_N "(cached) $ECHO_C" >&6
1852 else
1853 cat >conftest.$ac_ext <<_ACEOF
1854 /* confdefs.h. */
1855 _ACEOF
1856 cat confdefs.h >>conftest.$ac_ext
1857 cat >>conftest.$ac_ext <<_ACEOF
1858 /* end confdefs.h. */
1859
1860 int
1861 main ()
1862 {
1863 #ifndef __GNUC__
1864 choke me
1865 #endif
1866
1867 ;
1868 return 0;
1869 }
1870 _ACEOF
1871 rm -f conftest.$ac_objext
1872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1873 (eval $ac_compile) 2>conftest.er1
1874 ac_status=$?
1875 grep -v '^ *+' conftest.er1 >conftest.err
1876 rm -f conftest.er1
1877 cat conftest.err >&5
1878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1879 (exit $ac_status); } &&
1880 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1882 (eval $ac_try) 2>&5
1883 ac_status=$?
1884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1885 (exit $ac_status); }; } &&
1886 { ac_try='test -s conftest.$ac_objext'
1887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1888 (eval $ac_try) 2>&5
1889 ac_status=$?
1890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1891 (exit $ac_status); }; }; then
1892 ac_compiler_gnu=yes
1893 else
1894 echo "$as_me: failed program was:" >&5
1895 sed 's/^/| /' conftest.$ac_ext >&5
1896
1897 ac_compiler_gnu=no
1898 fi
1899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1900 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1901
1902 fi
1903 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1904 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1905 GCC=`test $ac_compiler_gnu = yes && echo yes`
1906 ac_test_CFLAGS=${CFLAGS+set}
1907 ac_save_CFLAGS=$CFLAGS
1908 CFLAGS="-g"
1909 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1910 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1911 if test "${ac_cv_prog_cc_g+set}" = set; then
1912 echo $ECHO_N "(cached) $ECHO_C" >&6
1913 else
1914 cat >conftest.$ac_ext <<_ACEOF
1915 /* confdefs.h. */
1916 _ACEOF
1917 cat confdefs.h >>conftest.$ac_ext
1918 cat >>conftest.$ac_ext <<_ACEOF
1919 /* end confdefs.h. */
1920
1921 int
1922 main ()
1923 {
1924
1925 ;
1926 return 0;
1927 }
1928 _ACEOF
1929 rm -f conftest.$ac_objext
1930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1931 (eval $ac_compile) 2>conftest.er1
1932 ac_status=$?
1933 grep -v '^ *+' conftest.er1 >conftest.err
1934 rm -f conftest.er1
1935 cat conftest.err >&5
1936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1937 (exit $ac_status); } &&
1938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1940 (eval $ac_try) 2>&5
1941 ac_status=$?
1942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1943 (exit $ac_status); }; } &&
1944 { ac_try='test -s conftest.$ac_objext'
1945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1946 (eval $ac_try) 2>&5
1947 ac_status=$?
1948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1949 (exit $ac_status); }; }; then
1950 ac_cv_prog_cc_g=yes
1951 else
1952 echo "$as_me: failed program was:" >&5
1953 sed 's/^/| /' conftest.$ac_ext >&5
1954
1955 ac_cv_prog_cc_g=no
1956 fi
1957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1958 fi
1959 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1960 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1961 if test "$ac_test_CFLAGS" = set; then
1962 CFLAGS=$ac_save_CFLAGS
1963 elif test $ac_cv_prog_cc_g = yes; then
1964 if test "$GCC" = yes; then
1965 CFLAGS="-g -O2"
1966 else
1967 CFLAGS="-g"
1968 fi
1969 else
1970 if test "$GCC" = yes; then
1971 CFLAGS="-O2"
1972 else
1973 CFLAGS=
1974 fi
1975 fi
1976 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1977 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1978 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1979 echo $ECHO_N "(cached) $ECHO_C" >&6
1980 else
1981 ac_cv_prog_cc_stdc=no
1982 ac_save_CC=$CC
1983 cat >conftest.$ac_ext <<_ACEOF
1984 /* confdefs.h. */
1985 _ACEOF
1986 cat confdefs.h >>conftest.$ac_ext
1987 cat >>conftest.$ac_ext <<_ACEOF
1988 /* end confdefs.h. */
1989 #include <stdarg.h>
1990 #include <stdio.h>
1991 #include <sys/types.h>
1992 #include <sys/stat.h>
1993 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1994 struct buf { int x; };
1995 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1996 static char *e (p, i)
1997 char **p;
1998 int i;
1999 {
2000 return p[i];
2001 }
2002 static char *f (char * (*g) (char **, int), char **p, ...)
2003 {
2004 char *s;
2005 va_list v;
2006 va_start (v,p);
2007 s = g (p, va_arg (v,int));
2008 va_end (v);
2009 return s;
2010 }
2011
2012 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2013 function prototypes and stuff, but not '\xHH' hex character constants.
2014 These don't provoke an error unfortunately, instead are silently treated
2015 as 'x'. The following induces an error, until -std1 is added to get
2016 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2017 array size at least. It's necessary to write '\x00'==0 to get something
2018 that's true only with -std1. */
2019 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2020
2021 int test (int i, double x);
2022 struct s1 {int (*f) (int a);};
2023 struct s2 {int (*f) (double a);};
2024 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2025 int argc;
2026 char **argv;
2027 int
2028 main ()
2029 {
2030 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2031 ;
2032 return 0;
2033 }
2034 _ACEOF
2035 # Don't try gcc -ansi; that turns off useful extensions and
2036 # breaks some systems' header files.
2037 # AIX -qlanglvl=ansi
2038 # Ultrix and OSF/1 -std1
2039 # HP-UX 10.20 and later -Ae
2040 # HP-UX older versions -Aa -D_HPUX_SOURCE
2041 # SVR4 -Xc -D__EXTENSIONS__
2042 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2043 do
2044 CC="$ac_save_CC $ac_arg"
2045 rm -f conftest.$ac_objext
2046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2047 (eval $ac_compile) 2>conftest.er1
2048 ac_status=$?
2049 grep -v '^ *+' conftest.er1 >conftest.err
2050 rm -f conftest.er1
2051 cat conftest.err >&5
2052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2053 (exit $ac_status); } &&
2054 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2056 (eval $ac_try) 2>&5
2057 ac_status=$?
2058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2059 (exit $ac_status); }; } &&
2060 { ac_try='test -s conftest.$ac_objext'
2061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2062 (eval $ac_try) 2>&5
2063 ac_status=$?
2064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2065 (exit $ac_status); }; }; then
2066 ac_cv_prog_cc_stdc=$ac_arg
2067 break
2068 else
2069 echo "$as_me: failed program was:" >&5
2070 sed 's/^/| /' conftest.$ac_ext >&5
2071
2072 fi
2073 rm -f conftest.err conftest.$ac_objext
2074 done
2075 rm -f conftest.$ac_ext conftest.$ac_objext
2076 CC=$ac_save_CC
2077
2078 fi
2079
2080 case "x$ac_cv_prog_cc_stdc" in
2081 x|xno)
2082 echo "$as_me:$LINENO: result: none needed" >&5
2083 echo "${ECHO_T}none needed" >&6 ;;
2084 *)
2085 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2086 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2087 CC="$CC $ac_cv_prog_cc_stdc" ;;
2088 esac
2089
2090 # Some people use a C++ compiler to compile C. Since we use `exit',
2091 # in C++ we need to declare it. In case someone uses the same compiler
2092 # for both compiling C and C++ we need to have the C++ compiler decide
2093 # the declaration of exit, since it's the most demanding environment.
2094 cat >conftest.$ac_ext <<_ACEOF
2095 #ifndef __cplusplus
2096 choke me
2097 #endif
2098 _ACEOF
2099 rm -f conftest.$ac_objext
2100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2101 (eval $ac_compile) 2>conftest.er1
2102 ac_status=$?
2103 grep -v '^ *+' conftest.er1 >conftest.err
2104 rm -f conftest.er1
2105 cat conftest.err >&5
2106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2107 (exit $ac_status); } &&
2108 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2110 (eval $ac_try) 2>&5
2111 ac_status=$?
2112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2113 (exit $ac_status); }; } &&
2114 { ac_try='test -s conftest.$ac_objext'
2115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2116 (eval $ac_try) 2>&5
2117 ac_status=$?
2118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2119 (exit $ac_status); }; }; then
2120 for ac_declaration in \
2121 '' \
2122 'extern "C" void std::exit (int) throw (); using std::exit;' \
2123 'extern "C" void std::exit (int); using std::exit;' \
2124 'extern "C" void exit (int) throw ();' \
2125 'extern "C" void exit (int);' \
2126 'void exit (int);'
2127 do
2128 cat >conftest.$ac_ext <<_ACEOF
2129 /* confdefs.h. */
2130 _ACEOF
2131 cat confdefs.h >>conftest.$ac_ext
2132 cat >>conftest.$ac_ext <<_ACEOF
2133 /* end confdefs.h. */
2134 $ac_declaration
2135 #include <stdlib.h>
2136 int
2137 main ()
2138 {
2139 exit (42);
2140 ;
2141 return 0;
2142 }
2143 _ACEOF
2144 rm -f conftest.$ac_objext
2145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2146 (eval $ac_compile) 2>conftest.er1
2147 ac_status=$?
2148 grep -v '^ *+' conftest.er1 >conftest.err
2149 rm -f conftest.er1
2150 cat conftest.err >&5
2151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152 (exit $ac_status); } &&
2153 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2155 (eval $ac_try) 2>&5
2156 ac_status=$?
2157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2158 (exit $ac_status); }; } &&
2159 { ac_try='test -s conftest.$ac_objext'
2160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2161 (eval $ac_try) 2>&5
2162 ac_status=$?
2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2164 (exit $ac_status); }; }; then
2165 :
2166 else
2167 echo "$as_me: failed program was:" >&5
2168 sed 's/^/| /' conftest.$ac_ext >&5
2169
2170 continue
2171 fi
2172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2173 cat >conftest.$ac_ext <<_ACEOF
2174 /* confdefs.h. */
2175 _ACEOF
2176 cat confdefs.h >>conftest.$ac_ext
2177 cat >>conftest.$ac_ext <<_ACEOF
2178 /* end confdefs.h. */
2179 $ac_declaration
2180 int
2181 main ()
2182 {
2183 exit (42);
2184 ;
2185 return 0;
2186 }
2187 _ACEOF
2188 rm -f conftest.$ac_objext
2189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2190 (eval $ac_compile) 2>conftest.er1
2191 ac_status=$?
2192 grep -v '^ *+' conftest.er1 >conftest.err
2193 rm -f conftest.er1
2194 cat conftest.err >&5
2195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2196 (exit $ac_status); } &&
2197 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2199 (eval $ac_try) 2>&5
2200 ac_status=$?
2201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2202 (exit $ac_status); }; } &&
2203 { ac_try='test -s conftest.$ac_objext'
2204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2205 (eval $ac_try) 2>&5
2206 ac_status=$?
2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2208 (exit $ac_status); }; }; then
2209 break
2210 else
2211 echo "$as_me: failed program was:" >&5
2212 sed 's/^/| /' conftest.$ac_ext >&5
2213
2214 fi
2215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2216 done
2217 rm -f conftest*
2218 if test -n "$ac_declaration"; then
2219 echo '#ifdef __cplusplus' >>confdefs.h
2220 echo $ac_declaration >>confdefs.h
2221 echo '#endif' >>confdefs.h
2222 fi
2223
2224 else
2225 echo "$as_me: failed program was:" >&5
2226 sed 's/^/| /' conftest.$ac_ext >&5
2227
2228 fi
2229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2230 ac_ext=c
2231 ac_cpp='$CPP $CPPFLAGS'
2232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2235
2236
2237 ac_ext=c
2238 ac_cpp='$CPP $CPPFLAGS'
2239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2242 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2243 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2244 # On Suns, sometimes $CPP names a directory.
2245 if test -n "$CPP" && test -d "$CPP"; then
2246 CPP=
2247 fi
2248 if test -z "$CPP"; then
2249 if test "${ac_cv_prog_CPP+set}" = set; then
2250 echo $ECHO_N "(cached) $ECHO_C" >&6
2251 else
2252 # Double quotes because CPP needs to be expanded
2253 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2254 do
2255 ac_preproc_ok=false
2256 for ac_c_preproc_warn_flag in '' yes
2257 do
2258 # Use a header file that comes with gcc, so configuring glibc
2259 # with a fresh cross-compiler works.
2260 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2261 # <limits.h> exists even on freestanding compilers.
2262 # On the NeXT, cc -E runs the code through the compiler's parser,
2263 # not just through cpp. "Syntax error" is here to catch this case.
2264 cat >conftest.$ac_ext <<_ACEOF
2265 /* confdefs.h. */
2266 _ACEOF
2267 cat confdefs.h >>conftest.$ac_ext
2268 cat >>conftest.$ac_ext <<_ACEOF
2269 /* end confdefs.h. */
2270 #ifdef __STDC__
2271 # include <limits.h>
2272 #else
2273 # include <assert.h>
2274 #endif
2275 Syntax error
2276 _ACEOF
2277 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2278 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2279 ac_status=$?
2280 grep -v '^ *+' conftest.er1 >conftest.err
2281 rm -f conftest.er1
2282 cat conftest.err >&5
2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284 (exit $ac_status); } >/dev/null; then
2285 if test -s conftest.err; then
2286 ac_cpp_err=$ac_c_preproc_warn_flag
2287 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2288 else
2289 ac_cpp_err=
2290 fi
2291 else
2292 ac_cpp_err=yes
2293 fi
2294 if test -z "$ac_cpp_err"; then
2295 :
2296 else
2297 echo "$as_me: failed program was:" >&5
2298 sed 's/^/| /' conftest.$ac_ext >&5
2299
2300 # Broken: fails on valid input.
2301 continue
2302 fi
2303 rm -f conftest.err conftest.$ac_ext
2304
2305 # OK, works on sane cases. Now check whether non-existent headers
2306 # can be detected and how.
2307 cat >conftest.$ac_ext <<_ACEOF
2308 /* confdefs.h. */
2309 _ACEOF
2310 cat confdefs.h >>conftest.$ac_ext
2311 cat >>conftest.$ac_ext <<_ACEOF
2312 /* end confdefs.h. */
2313 #include <ac_nonexistent.h>
2314 _ACEOF
2315 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2316 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2317 ac_status=$?
2318 grep -v '^ *+' conftest.er1 >conftest.err
2319 rm -f conftest.er1
2320 cat conftest.err >&5
2321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2322 (exit $ac_status); } >/dev/null; then
2323 if test -s conftest.err; then
2324 ac_cpp_err=$ac_c_preproc_warn_flag
2325 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2326 else
2327 ac_cpp_err=
2328 fi
2329 else
2330 ac_cpp_err=yes
2331 fi
2332 if test -z "$ac_cpp_err"; then
2333 # Broken: success on invalid input.
2334 continue
2335 else
2336 echo "$as_me: failed program was:" >&5
2337 sed 's/^/| /' conftest.$ac_ext >&5
2338
2339 # Passes both tests.
2340 ac_preproc_ok=:
2341 break
2342 fi
2343 rm -f conftest.err conftest.$ac_ext
2344
2345 done
2346 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2347 rm -f conftest.err conftest.$ac_ext
2348 if $ac_preproc_ok; then
2349 break
2350 fi
2351
2352 done
2353 ac_cv_prog_CPP=$CPP
2354
2355 fi
2356 CPP=$ac_cv_prog_CPP
2357 else
2358 ac_cv_prog_CPP=$CPP
2359 fi
2360 echo "$as_me:$LINENO: result: $CPP" >&5
2361 echo "${ECHO_T}$CPP" >&6
2362 ac_preproc_ok=false
2363 for ac_c_preproc_warn_flag in '' yes
2364 do
2365 # Use a header file that comes with gcc, so configuring glibc
2366 # with a fresh cross-compiler works.
2367 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2368 # <limits.h> exists even on freestanding compilers.
2369 # On the NeXT, cc -E runs the code through the compiler's parser,
2370 # not just through cpp. "Syntax error" is here to catch this case.
2371 cat >conftest.$ac_ext <<_ACEOF
2372 /* confdefs.h. */
2373 _ACEOF
2374 cat confdefs.h >>conftest.$ac_ext
2375 cat >>conftest.$ac_ext <<_ACEOF
2376 /* end confdefs.h. */
2377 #ifdef __STDC__
2378 # include <limits.h>
2379 #else
2380 # include <assert.h>
2381 #endif
2382 Syntax error
2383 _ACEOF
2384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2385 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2386 ac_status=$?
2387 grep -v '^ *+' conftest.er1 >conftest.err
2388 rm -f conftest.er1
2389 cat conftest.err >&5
2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391 (exit $ac_status); } >/dev/null; then
2392 if test -s conftest.err; then
2393 ac_cpp_err=$ac_c_preproc_warn_flag
2394 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2395 else
2396 ac_cpp_err=
2397 fi
2398 else
2399 ac_cpp_err=yes
2400 fi
2401 if test -z "$ac_cpp_err"; then
2402 :
2403 else
2404 echo "$as_me: failed program was:" >&5
2405 sed 's/^/| /' conftest.$ac_ext >&5
2406
2407 # Broken: fails on valid input.
2408 continue
2409 fi
2410 rm -f conftest.err conftest.$ac_ext
2411
2412 # OK, works on sane cases. Now check whether non-existent headers
2413 # can be detected and how.
2414 cat >conftest.$ac_ext <<_ACEOF
2415 /* confdefs.h. */
2416 _ACEOF
2417 cat confdefs.h >>conftest.$ac_ext
2418 cat >>conftest.$ac_ext <<_ACEOF
2419 /* end confdefs.h. */
2420 #include <ac_nonexistent.h>
2421 _ACEOF
2422 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2423 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2424 ac_status=$?
2425 grep -v '^ *+' conftest.er1 >conftest.err
2426 rm -f conftest.er1
2427 cat conftest.err >&5
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); } >/dev/null; then
2430 if test -s conftest.err; then
2431 ac_cpp_err=$ac_c_preproc_warn_flag
2432 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2433 else
2434 ac_cpp_err=
2435 fi
2436 else
2437 ac_cpp_err=yes
2438 fi
2439 if test -z "$ac_cpp_err"; then
2440 # Broken: success on invalid input.
2441 continue
2442 else
2443 echo "$as_me: failed program was:" >&5
2444 sed 's/^/| /' conftest.$ac_ext >&5
2445
2446 # Passes both tests.
2447 ac_preproc_ok=:
2448 break
2449 fi
2450 rm -f conftest.err conftest.$ac_ext
2451
2452 done
2453 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2454 rm -f conftest.err conftest.$ac_ext
2455 if $ac_preproc_ok; then
2456 :
2457 else
2458 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2459 See \`config.log' for more details." >&5
2460 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2461 See \`config.log' for more details." >&2;}
2462 { (exit 1); exit 1; }; }
2463 fi
2464
2465 ac_ext=c
2466 ac_cpp='$CPP $CPPFLAGS'
2467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2470
2471
2472 echo "$as_me:$LINENO: checking for egrep" >&5
2473 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2474 if test "${ac_cv_prog_egrep+set}" = set; then
2475 echo $ECHO_N "(cached) $ECHO_C" >&6
2476 else
2477 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2478 then ac_cv_prog_egrep='grep -E'
2479 else ac_cv_prog_egrep='egrep'
2480 fi
2481 fi
2482 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2483 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2484 EGREP=$ac_cv_prog_egrep
2485
2486
2487 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2488 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2489 if test "${ac_cv_header_stdc+set}" = set; then
2490 echo $ECHO_N "(cached) $ECHO_C" >&6
2491 else
2492 cat >conftest.$ac_ext <<_ACEOF
2493 /* confdefs.h. */
2494 _ACEOF
2495 cat confdefs.h >>conftest.$ac_ext
2496 cat >>conftest.$ac_ext <<_ACEOF
2497 /* end confdefs.h. */
2498 #include <stdlib.h>
2499 #include <stdarg.h>
2500 #include <string.h>
2501 #include <float.h>
2502
2503 int
2504 main ()
2505 {
2506
2507 ;
2508 return 0;
2509 }
2510 _ACEOF
2511 rm -f conftest.$ac_objext
2512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2513 (eval $ac_compile) 2>conftest.er1
2514 ac_status=$?
2515 grep -v '^ *+' conftest.er1 >conftest.err
2516 rm -f conftest.er1
2517 cat conftest.err >&5
2518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2519 (exit $ac_status); } &&
2520 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2522 (eval $ac_try) 2>&5
2523 ac_status=$?
2524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525 (exit $ac_status); }; } &&
2526 { ac_try='test -s conftest.$ac_objext'
2527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2528 (eval $ac_try) 2>&5
2529 ac_status=$?
2530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2531 (exit $ac_status); }; }; then
2532 ac_cv_header_stdc=yes
2533 else
2534 echo "$as_me: failed program was:" >&5
2535 sed 's/^/| /' conftest.$ac_ext >&5
2536
2537 ac_cv_header_stdc=no
2538 fi
2539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2540
2541 if test $ac_cv_header_stdc = yes; then
2542 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2543 cat >conftest.$ac_ext <<_ACEOF
2544 /* confdefs.h. */
2545 _ACEOF
2546 cat confdefs.h >>conftest.$ac_ext
2547 cat >>conftest.$ac_ext <<_ACEOF
2548 /* end confdefs.h. */
2549 #include <string.h>
2550
2551 _ACEOF
2552 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2553 $EGREP "memchr" >/dev/null 2>&1; then
2554 :
2555 else
2556 ac_cv_header_stdc=no
2557 fi
2558 rm -f conftest*
2559
2560 fi
2561
2562 if test $ac_cv_header_stdc = yes; then
2563 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2564 cat >conftest.$ac_ext <<_ACEOF
2565 /* confdefs.h. */
2566 _ACEOF
2567 cat confdefs.h >>conftest.$ac_ext
2568 cat >>conftest.$ac_ext <<_ACEOF
2569 /* end confdefs.h. */
2570 #include <stdlib.h>
2571
2572 _ACEOF
2573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2574 $EGREP "free" >/dev/null 2>&1; then
2575 :
2576 else
2577 ac_cv_header_stdc=no
2578 fi
2579 rm -f conftest*
2580
2581 fi
2582
2583 if test $ac_cv_header_stdc = yes; then
2584 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2585 if test "$cross_compiling" = yes; then
2586 :
2587 else
2588 cat >conftest.$ac_ext <<_ACEOF
2589 /* confdefs.h. */
2590 _ACEOF
2591 cat confdefs.h >>conftest.$ac_ext
2592 cat >>conftest.$ac_ext <<_ACEOF
2593 /* end confdefs.h. */
2594 #include <ctype.h>
2595 #if ((' ' & 0x0FF) == 0x020)
2596 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2597 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2598 #else
2599 # define ISLOWER(c) \
2600 (('a' <= (c) && (c) <= 'i') \
2601 || ('j' <= (c) && (c) <= 'r') \
2602 || ('s' <= (c) && (c) <= 'z'))
2603 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2604 #endif
2605
2606 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2607 int
2608 main ()
2609 {
2610 int i;
2611 for (i = 0; i < 256; i++)
2612 if (XOR (islower (i), ISLOWER (i))
2613 || toupper (i) != TOUPPER (i))
2614 exit(2);
2615 exit (0);
2616 }
2617 _ACEOF
2618 rm -f conftest$ac_exeext
2619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2620 (eval $ac_link) 2>&5
2621 ac_status=$?
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2625 (eval $ac_try) 2>&5
2626 ac_status=$?
2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); }; }; then
2629 :
2630 else
2631 echo "$as_me: program exited with status $ac_status" >&5
2632 echo "$as_me: failed program was:" >&5
2633 sed 's/^/| /' conftest.$ac_ext >&5
2634
2635 ( exit $ac_status )
2636 ac_cv_header_stdc=no
2637 fi
2638 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2639 fi
2640 fi
2641 fi
2642 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2643 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2644 if test $ac_cv_header_stdc = yes; then
2645
2646 cat >>confdefs.h <<\_ACEOF
2647 #define STDC_HEADERS 1
2648 _ACEOF
2649
2650 fi
2651
2652 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2663 inttypes.h stdint.h unistd.h
2664 do
2665 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2666 echo "$as_me:$LINENO: checking for $ac_header" >&5
2667 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2669 echo $ECHO_N "(cached) $ECHO_C" >&6
2670 else
2671 cat >conftest.$ac_ext <<_ACEOF
2672 /* confdefs.h. */
2673 _ACEOF
2674 cat confdefs.h >>conftest.$ac_ext
2675 cat >>conftest.$ac_ext <<_ACEOF
2676 /* end confdefs.h. */
2677 $ac_includes_default
2678
2679 #include <$ac_header>
2680 _ACEOF
2681 rm -f conftest.$ac_objext
2682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2683 (eval $ac_compile) 2>conftest.er1
2684 ac_status=$?
2685 grep -v '^ *+' conftest.er1 >conftest.err
2686 rm -f conftest.er1
2687 cat conftest.err >&5
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); } &&
2690 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2692 (eval $ac_try) 2>&5
2693 ac_status=$?
2694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2695 (exit $ac_status); }; } &&
2696 { ac_try='test -s conftest.$ac_objext'
2697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2698 (eval $ac_try) 2>&5
2699 ac_status=$?
2700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2701 (exit $ac_status); }; }; then
2702 eval "$as_ac_Header=yes"
2703 else
2704 echo "$as_me: failed program was:" >&5
2705 sed 's/^/| /' conftest.$ac_ext >&5
2706
2707 eval "$as_ac_Header=no"
2708 fi
2709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2710 fi
2711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2712 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2713 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2714 cat >>confdefs.h <<_ACEOF
2715 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2716 _ACEOF
2717
2718 fi
2719
2720 done
2721
2722
2723
2724 for ac_header in unistd.h
2725 do
2726 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2728 echo "$as_me:$LINENO: checking for $ac_header" >&5
2729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2731 echo $ECHO_N "(cached) $ECHO_C" >&6
2732 fi
2733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2735 else
2736 # Is the header compilable?
2737 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2738 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2739 cat >conftest.$ac_ext <<_ACEOF
2740 /* confdefs.h. */
2741 _ACEOF
2742 cat confdefs.h >>conftest.$ac_ext
2743 cat >>conftest.$ac_ext <<_ACEOF
2744 /* end confdefs.h. */
2745 $ac_includes_default
2746 #include <$ac_header>
2747 _ACEOF
2748 rm -f conftest.$ac_objext
2749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2750 (eval $ac_compile) 2>conftest.er1
2751 ac_status=$?
2752 grep -v '^ *+' conftest.er1 >conftest.err
2753 rm -f conftest.er1
2754 cat conftest.err >&5
2755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756 (exit $ac_status); } &&
2757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2759 (eval $ac_try) 2>&5
2760 ac_status=$?
2761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762 (exit $ac_status); }; } &&
2763 { ac_try='test -s conftest.$ac_objext'
2764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2765 (eval $ac_try) 2>&5
2766 ac_status=$?
2767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2768 (exit $ac_status); }; }; then
2769 ac_header_compiler=yes
2770 else
2771 echo "$as_me: failed program was:" >&5
2772 sed 's/^/| /' conftest.$ac_ext >&5
2773
2774 ac_header_compiler=no
2775 fi
2776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2777 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2778 echo "${ECHO_T}$ac_header_compiler" >&6
2779
2780 # Is the header present?
2781 echo "$as_me:$LINENO: checking $ac_header presence" >&5
2782 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
2783 cat >conftest.$ac_ext <<_ACEOF
2784 /* confdefs.h. */
2785 _ACEOF
2786 cat confdefs.h >>conftest.$ac_ext
2787 cat >>conftest.$ac_ext <<_ACEOF
2788 /* end confdefs.h. */
2789 #include <$ac_header>
2790 _ACEOF
2791 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2792 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2793 ac_status=$?
2794 grep -v '^ *+' conftest.er1 >conftest.err
2795 rm -f conftest.er1
2796 cat conftest.err >&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); } >/dev/null; then
2799 if test -s conftest.err; then
2800 ac_cpp_err=$ac_c_preproc_warn_flag
2801 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2802 else
2803 ac_cpp_err=
2804 fi
2805 else
2806 ac_cpp_err=yes
2807 fi
2808 if test -z "$ac_cpp_err"; then
2809 ac_header_preproc=yes
2810 else
2811 echo "$as_me: failed program was:" >&5
2812 sed 's/^/| /' conftest.$ac_ext >&5
2813
2814 ac_header_preproc=no
2815 fi
2816 rm -f conftest.err conftest.$ac_ext
2817 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2818 echo "${ECHO_T}$ac_header_preproc" >&6
2819
2820 # So? What about this header?
2821 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
2822 yes:no: )
2823 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
2824 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
2825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
2826 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
2827 ac_header_preproc=yes
2828 ;;
2829 no:yes:* )
2830 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
2831 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
2832 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
2833 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
2834 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
2835 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
2836 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
2837 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
2838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2839 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
2840 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
2841 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
2842 (
2843 cat <<\_ASBOX
2844 ## ----------------------------- ##
2845 ## Report this to mike@iworks.at ##
2846 ## ----------------------------- ##
2847 _ASBOX
2848 ) |
2849 sed "s/^/$as_me: WARNING: /" >&2
2850 ;;
2851 esac
2852 echo "$as_me:$LINENO: checking for $ac_header" >&5
2853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2855 echo $ECHO_N "(cached) $ECHO_C" >&6
2856 else
2857 eval "$as_ac_Header=\$ac_header_preproc"
2858 fi
2859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2860 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2861
2862 fi
2863 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2864 cat >>confdefs.h <<_ACEOF
2865 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2866 _ACEOF
2867
2868 fi
2869
2870 done
2871
2872 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
2873 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
2874 if test "${ac_cv_c_const+set}" = set; then
2875 echo $ECHO_N "(cached) $ECHO_C" >&6
2876 else
2877 cat >conftest.$ac_ext <<_ACEOF
2878 /* confdefs.h. */
2879 _ACEOF
2880 cat confdefs.h >>conftest.$ac_ext
2881 cat >>conftest.$ac_ext <<_ACEOF
2882 /* end confdefs.h. */
2883
2884 int
2885 main ()
2886 {
2887 /* FIXME: Include the comments suggested by Paul. */
2888 #ifndef __cplusplus
2889 /* Ultrix mips cc rejects this. */
2890 typedef int charset[2];
2891 const charset x;
2892 /* SunOS 4.1.1 cc rejects this. */
2893 char const *const *ccp;
2894 char **p;
2895 /* NEC SVR4.0.2 mips cc rejects this. */
2896 struct point {int x, y;};
2897 static struct point const zero = {0,0};
2898 /* AIX XL C 1.02.0.0 rejects this.
2899 It does not let you subtract one const X* pointer from another in
2900 an arm of an if-expression whose if-part is not a constant
2901 expression */
2902 const char *g = "string";
2903 ccp = &g + (g ? g-g : 0);
2904 /* HPUX 7.0 cc rejects these. */
2905 ++ccp;
2906 p = (char**) ccp;
2907 ccp = (char const *const *) p;
2908 { /* SCO 3.2v4 cc rejects this. */
2909 char *t;
2910 char const *s = 0 ? (char *) 0 : (char const *) 0;
2911
2912 *t++ = 0;
2913 }
2914 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
2915 int x[] = {25, 17};
2916 const int *foo = &x[0];
2917 ++foo;
2918 }
2919 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
2920 typedef const int *iptr;
2921 iptr p = 0;
2922 ++p;
2923 }
2924 { /* AIX XL C 1.02.0.0 rejects this saying
2925 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
2926 struct s { int j; const int *ap[3]; };
2927 struct s *b; b->j = 5;
2928 }
2929 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
2930 const int foo = 10;
2931 }
2932 #endif
2933
2934 ;
2935 return 0;
2936 }
2937 _ACEOF
2938 rm -f conftest.$ac_objext
2939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2940 (eval $ac_compile) 2>conftest.er1
2941 ac_status=$?
2942 grep -v '^ *+' conftest.er1 >conftest.err
2943 rm -f conftest.er1
2944 cat conftest.err >&5
2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); } &&
2947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2949 (eval $ac_try) 2>&5
2950 ac_status=$?
2951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952 (exit $ac_status); }; } &&
2953 { ac_try='test -s conftest.$ac_objext'
2954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2955 (eval $ac_try) 2>&5
2956 ac_status=$?
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); }; }; then
2959 ac_cv_c_const=yes
2960 else
2961 echo "$as_me: failed program was:" >&5
2962 sed 's/^/| /' conftest.$ac_ext >&5
2963
2964 ac_cv_c_const=no
2965 fi
2966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2967 fi
2968 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
2969 echo "${ECHO_T}$ac_cv_c_const" >&6
2970 if test $ac_cv_c_const = no; then
2971
2972 cat >>confdefs.h <<\_ACEOF
2973 #define const
2974 _ACEOF
2975
2976 fi
2977
2978 echo "$as_me:$LINENO: checking for size_t" >&5
2979 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
2980 if test "${ac_cv_type_size_t+set}" = set; then
2981 echo $ECHO_N "(cached) $ECHO_C" >&6
2982 else
2983 cat >conftest.$ac_ext <<_ACEOF
2984 /* confdefs.h. */
2985 _ACEOF
2986 cat confdefs.h >>conftest.$ac_ext
2987 cat >>conftest.$ac_ext <<_ACEOF
2988 /* end confdefs.h. */
2989 $ac_includes_default
2990 int
2991 main ()
2992 {
2993 if ((size_t *) 0)
2994 return 0;
2995 if (sizeof (size_t))
2996 return 0;
2997 ;
2998 return 0;
2999 }
3000 _ACEOF
3001 rm -f conftest.$ac_objext
3002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3003 (eval $ac_compile) 2>conftest.er1
3004 ac_status=$?
3005 grep -v '^ *+' conftest.er1 >conftest.err
3006 rm -f conftest.er1
3007 cat conftest.err >&5
3008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009 (exit $ac_status); } &&
3010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3012 (eval $ac_try) 2>&5
3013 ac_status=$?
3014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015 (exit $ac_status); }; } &&
3016 { ac_try='test -s conftest.$ac_objext'
3017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3018 (eval $ac_try) 2>&5
3019 ac_status=$?
3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 (exit $ac_status); }; }; then
3022 ac_cv_type_size_t=yes
3023 else
3024 echo "$as_me: failed program was:" >&5
3025 sed 's/^/| /' conftest.$ac_ext >&5
3026
3027 ac_cv_type_size_t=no
3028 fi
3029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3030 fi
3031 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3032 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3033 if test $ac_cv_type_size_t = yes; then
3034 :
3035 else
3036
3037 cat >>confdefs.h <<_ACEOF
3038 #define size_t unsigned
3039 _ACEOF
3040
3041 fi
3042
3043 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3044 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3045 if test "${ac_cv_header_stdc+set}" = set; then
3046 echo $ECHO_N "(cached) $ECHO_C" >&6
3047 else
3048 cat >conftest.$ac_ext <<_ACEOF
3049 /* confdefs.h. */
3050 _ACEOF
3051 cat confdefs.h >>conftest.$ac_ext
3052 cat >>conftest.$ac_ext <<_ACEOF
3053 /* end confdefs.h. */
3054 #include <stdlib.h>
3055 #include <stdarg.h>
3056 #include <string.h>
3057 #include <float.h>
3058
3059 int
3060 main ()
3061 {
3062
3063 ;
3064 return 0;
3065 }
3066 _ACEOF
3067 rm -f conftest.$ac_objext
3068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3069 (eval $ac_compile) 2>conftest.er1
3070 ac_status=$?
3071 grep -v '^ *+' conftest.er1 >conftest.err
3072 rm -f conftest.er1
3073 cat conftest.err >&5
3074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075 (exit $ac_status); } &&
3076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3078 (eval $ac_try) 2>&5
3079 ac_status=$?
3080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081 (exit $ac_status); }; } &&
3082 { ac_try='test -s conftest.$ac_objext'
3083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3084 (eval $ac_try) 2>&5
3085 ac_status=$?
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); }; }; then
3088 ac_cv_header_stdc=yes
3089 else
3090 echo "$as_me: failed program was:" >&5
3091 sed 's/^/| /' conftest.$ac_ext >&5
3092
3093 ac_cv_header_stdc=no
3094 fi
3095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3096
3097 if test $ac_cv_header_stdc = yes; then
3098 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3099 cat >conftest.$ac_ext <<_ACEOF
3100 /* confdefs.h. */
3101 _ACEOF
3102 cat confdefs.h >>conftest.$ac_ext
3103 cat >>conftest.$ac_ext <<_ACEOF
3104 /* end confdefs.h. */
3105 #include <string.h>
3106
3107 _ACEOF
3108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3109 $EGREP "memchr" >/dev/null 2>&1; then
3110 :
3111 else
3112 ac_cv_header_stdc=no
3113 fi
3114 rm -f conftest*
3115
3116 fi
3117
3118 if test $ac_cv_header_stdc = yes; then
3119 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3120 cat >conftest.$ac_ext <<_ACEOF
3121 /* confdefs.h. */
3122 _ACEOF
3123 cat confdefs.h >>conftest.$ac_ext
3124 cat >>conftest.$ac_ext <<_ACEOF
3125 /* end confdefs.h. */
3126 #include <stdlib.h>
3127
3128 _ACEOF
3129 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3130 $EGREP "free" >/dev/null 2>&1; then
3131 :
3132 else
3133 ac_cv_header_stdc=no
3134 fi
3135 rm -f conftest*
3136
3137 fi
3138
3139 if test $ac_cv_header_stdc = yes; then
3140 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3141 if test "$cross_compiling" = yes; then
3142 :
3143 else
3144 cat >conftest.$ac_ext <<_ACEOF
3145 /* confdefs.h. */
3146 _ACEOF
3147 cat confdefs.h >>conftest.$ac_ext
3148 cat >>conftest.$ac_ext <<_ACEOF
3149 /* end confdefs.h. */
3150 #include <ctype.h>
3151 #if ((' ' & 0x0FF) == 0x020)
3152 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3153 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3154 #else
3155 # define ISLOWER(c) \
3156 (('a' <= (c) && (c) <= 'i') \
3157 || ('j' <= (c) && (c) <= 'r') \
3158 || ('s' <= (c) && (c) <= 'z'))
3159 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3160 #endif
3161
3162 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3163 int
3164 main ()
3165 {
3166 int i;
3167 for (i = 0; i < 256; i++)
3168 if (XOR (islower (i), ISLOWER (i))
3169 || toupper (i) != TOUPPER (i))
3170 exit(2);
3171 exit (0);
3172 }
3173 _ACEOF
3174 rm -f conftest$ac_exeext
3175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3176 (eval $ac_link) 2>&5
3177 ac_status=$?
3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3179 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3181 (eval $ac_try) 2>&5
3182 ac_status=$?
3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184 (exit $ac_status); }; }; then
3185 :
3186 else
3187 echo "$as_me: program exited with status $ac_status" >&5
3188 echo "$as_me: failed program was:" >&5
3189 sed 's/^/| /' conftest.$ac_ext >&5
3190
3191 ( exit $ac_status )
3192 ac_cv_header_stdc=no
3193 fi
3194 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3195 fi
3196 fi
3197 fi
3198 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3199 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3200 if test $ac_cv_header_stdc = yes; then
3201
3202 cat >>confdefs.h <<\_ACEOF
3203 #define STDC_HEADERS 1
3204 _ACEOF
3205
3206 fi
3207
3208
3209
3210 for ac_func in memmove strchr
3211 do
3212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3213 echo "$as_me:$LINENO: checking for $ac_func" >&5
3214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3215 if eval "test \"\${$as_ac_var+set}\" = set"; then
3216 echo $ECHO_N "(cached) $ECHO_C" >&6
3217 else
3218 cat >conftest.$ac_ext <<_ACEOF
3219 /* confdefs.h. */
3220 _ACEOF
3221 cat confdefs.h >>conftest.$ac_ext
3222 cat >>conftest.$ac_ext <<_ACEOF
3223 /* end confdefs.h. */
3224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3226 #define $ac_func innocuous_$ac_func
3227
3228 /* System header to define __stub macros and hopefully few prototypes,
3229 which can conflict with char $ac_func (); below.
3230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3231 <limits.h> exists even on freestanding compilers. */
3232
3233 #ifdef __STDC__
3234 # include <limits.h>
3235 #else
3236 # include <assert.h>
3237 #endif
3238
3239 #undef $ac_func
3240
3241 /* Override any gcc2 internal prototype to avoid an error. */
3242 #ifdef __cplusplus
3243 extern "C"
3244 {
3245 #endif
3246 /* We use char because int might match the return type of a gcc2
3247 builtin and then its argument prototype would still apply. */
3248 char $ac_func ();
3249 /* The GNU C library defines this for functions which it implements
3250 to always fail with ENOSYS. Some functions are actually named
3251 something starting with __ and the normal name is an alias. */
3252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3253 choke me
3254 #else
3255 char (*f) () = $ac_func;
3256 #endif
3257 #ifdef __cplusplus
3258 }
3259 #endif
3260
3261 int
3262 main ()
3263 {
3264 return f != $ac_func;
3265 ;
3266 return 0;
3267 }
3268 _ACEOF
3269 rm -f conftest.$ac_objext conftest$ac_exeext
3270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3271 (eval $ac_link) 2>conftest.er1
3272 ac_status=$?
3273 grep -v '^ *+' conftest.er1 >conftest.err
3274 rm -f conftest.er1
3275 cat conftest.err >&5
3276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3277 (exit $ac_status); } &&
3278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3280 (eval $ac_try) 2>&5
3281 ac_status=$?
3282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3283 (exit $ac_status); }; } &&
3284 { ac_try='test -s conftest$ac_exeext'
3285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3286 (eval $ac_try) 2>&5
3287 ac_status=$?
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); }; }; then
3290 eval "$as_ac_var=yes"
3291 else
3292 echo "$as_me: failed program was:" >&5
3293 sed 's/^/| /' conftest.$ac_ext >&5
3294
3295 eval "$as_ac_var=no"
3296 fi
3297 rm -f conftest.err conftest.$ac_objext \
3298 conftest$ac_exeext conftest.$ac_ext
3299 fi
3300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3302 if test `eval echo '${'$as_ac_var'}'` = yes; then
3303 cat >>confdefs.h <<_ACEOF
3304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3305 _ACEOF
3306
3307 fi
3308 done
3309
3310
3311
3312 # Check whether --with-apxs2 or --without-apxs2 was given.
3313 if test "${with_apxs2+set}" = set; then
3314 withval="$with_apxs2"
3315
3316 fi;
3317
3318 echo "$as_me:$LINENO: checking for apxs2" >&5
3319 echo $ECHO_N "checking for apxs2... $ECHO_C" >&6
3320 APXS2=apxs2
3321 if test "$with_apxs2" -a -x "$with_apxs2"; then
3322 APXS2=$with_apxs2
3323 echo "$as_me:$LINENO: result: $APXS2" >&5
3324 echo "${ECHO_T}$APXS2" >&6
3325 else
3326 apxs2 >/dev/null 2>&1
3327 if test $? -eq 1; then
3328 APXS2=apxs2
3329 echo "$as_me:$LINENO: result: in \$PATH" >&5
3330 echo "${ECHO_T}in \$PATH" >&6
3331 else
3332 echo "$as_me:$LINENO: result: " >&5
3333 echo "${ECHO_T} " >&6
3334 { { echo "$as_me:$LINENO: error: please specify path to the apxs2 tool through --with-apxs2" >&5
3335 echo "$as_me: error: please specify path to the apxs2 tool through --with-apxs2" >&2;}
3336 { (exit 1); exit 1; }; }
3337 fi
3338 fi
3339
3340
3341
3342 ac_config_files="$ac_config_files Makefile"
3343 cat >confcache <<\_ACEOF
3344 # This file is a shell script that caches the results of configure
3345 # tests run on this system so they can be shared between configure
3346 # scripts and configure runs, see configure's option --config-cache.
3347 # It is not useful on other systems. If it contains results you don't
3348 # want to keep, you may remove or edit it.
3349 #
3350 # config.status only pays attention to the cache file if you give it
3351 # the --recheck option to rerun configure.
3352 #
3353 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3354 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3355 # following values.
3356
3357 _ACEOF
3358
3359 # The following way of writing the cache mishandles newlines in values,
3360 # but we know of no workaround that is simple, portable, and efficient.
3361 # So, don't put newlines in cache variables' values.
3362 # Ultrix sh set writes to stderr and can't be redirected directly,
3363 # and sets the high bit in the cache file unless we assign to the vars.
3364 {
3365 (set) 2>&1 |
3366 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3367 *ac_space=\ *)
3368 # `set' does not quote correctly, so add quotes (double-quote
3369 # substitution turns \\\\ into \\, and sed turns \\ into \).
3370 sed -n \
3371 "s/'/'\\\\''/g;
3372 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3373 ;;
3374 *)
3375 # `set' quotes correctly as required by POSIX, so do not add quotes.
3376 sed -n \
3377 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3378 ;;
3379 esac;
3380 } |
3381 sed '
3382 t clear
3383 : clear
3384 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3385 t end
3386 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3387 : end' >>confcache
3388 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3389 if test -w $cache_file; then
3390 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3391 cat confcache >$cache_file
3392 else
3393 echo "not updating unwritable cache $cache_file"
3394 fi
3395 fi
3396 rm -f confcache
3397
3398 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3399 # Let make expand exec_prefix.
3400 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3401
3402 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3403 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3404 # trailing colons and then remove the whole line if VPATH becomes empty
3405 # (actually we leave an empty line to preserve line numbers).
3406 if test "x$srcdir" = x.; then
3407 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3408 s/:*\$(srcdir):*/:/;
3409 s/:*\${srcdir}:*/:/;
3410 s/:*@srcdir@:*/:/;
3411 s/^\([^=]*=[ ]*\):*/\1/;
3412 s/:*$//;
3413 s/^[^=]*=[ ]*$//;
3414 }'
3415 fi
3416
3417 DEFS=-DHAVE_CONFIG_H
3418
3419 ac_libobjs=
3420 ac_ltlibobjs=
3421 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3422 # 1. Remove the extension, and $U if already installed.
3423 ac_i=`echo "$ac_i" |
3424 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3425 # 2. Add them.
3426 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3427 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3428 done
3429 LIBOBJS=$ac_libobjs
3430
3431 LTLIBOBJS=$ac_ltlibobjs
3432
3433
3434
3435 : ${CONFIG_STATUS=./config.status}
3436 ac_clean_files_save=$ac_clean_files
3437 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3438 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3439 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3440 cat >$CONFIG_STATUS <<_ACEOF
3441 #! $SHELL
3442 # Generated by $as_me.
3443 # Run this file to recreate the current configuration.
3444 # Compiler output produced by configure, useful for debugging
3445 # configure, is in config.log if it exists.
3446
3447 debug=false
3448 ac_cs_recheck=false
3449 ac_cs_silent=false
3450 SHELL=\${CONFIG_SHELL-$SHELL}
3451 _ACEOF
3452
3453 cat >>$CONFIG_STATUS <<\_ACEOF
3454 ## --------------------- ##
3455 ## M4sh Initialization. ##
3456 ## --------------------- ##
3457
3458 # Be Bourne compatible
3459 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3460 emulate sh
3461 NULLCMD=:
3462 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3463 # is contrary to our usage. Disable this feature.
3464 alias -g '${1+"$@"}'='"$@"'
3465 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3466 set -o posix
3467 fi
3468 DUALCASE=1; export DUALCASE # for MKS sh
3469
3470 # Support unset when possible.
3471 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3472 as_unset=unset
3473 else
3474 as_unset=false
3475 fi
3476
3477
3478 # Work around bugs in pre-3.0 UWIN ksh.
3479 $as_unset ENV MAIL MAILPATH
3480 PS1='$ '
3481 PS2='> '
3482 PS4='+ '
3483
3484 # NLS nuisances.
3485 for as_var in \
3486 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3487 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3488 LC_TELEPHONE LC_TIME
3489 do
3490 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3491 eval $as_var=C; export $as_var
3492 else
3493 $as_unset $as_var
3494 fi
3495 done
3496
3497 # Required to use basename.
3498 if expr a : '\(a\)' >/dev/null 2>&1; then
3499 as_expr=expr
3500 else
3501 as_expr=false
3502 fi
3503
3504 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3505 as_basename=basename
3506 else
3507 as_basename=false
3508 fi
3509
3510
3511 # Name of the executable.
3512 as_me=`$as_basename "$0" ||
3513 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3514 X"$0" : 'X\(//\)$' \| \
3515 X"$0" : 'X\(/\)$' \| \
3516 . : '\(.\)' 2>/dev/null ||
3517 echo X/"$0" |
3518 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3519 /^X\/\(\/\/\)$/{ s//\1/; q; }
3520 /^X\/\(\/\).*/{ s//\1/; q; }
3521 s/.*/./; q'`
3522
3523
3524 # PATH needs CR, and LINENO needs CR and PATH.
3525 # Avoid depending upon Character Ranges.
3526 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3527 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3528 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3529 as_cr_digits='0123456789'
3530 as_cr_alnum=$as_cr_Letters$as_cr_digits
3531
3532 # The user is always right.
3533 if test "${PATH_SEPARATOR+set}" != set; then
3534 echo "#! /bin/sh" >conf$$.sh
3535 echo "exit 0" >>conf$$.sh
3536 chmod +x conf$$.sh
3537 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3538 PATH_SEPARATOR=';'
3539 else
3540 PATH_SEPARATOR=:
3541 fi
3542 rm -f conf$$.sh
3543 fi
3544
3545
3546 as_lineno_1=$LINENO
3547 as_lineno_2=$LINENO
3548 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3549 test "x$as_lineno_1" != "x$as_lineno_2" &&
3550 test "x$as_lineno_3" = "x$as_lineno_2" || {
3551 # Find who we are. Look in the path if we contain no path at all
3552 # relative or not.
3553 case $0 in
3554 *[\\/]* ) as_myself=$0 ;;
3555 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3556 for as_dir in $PATH
3557 do
3558 IFS=$as_save_IFS
3559 test -z "$as_dir" && as_dir=.
3560 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3561 done
3562
3563 ;;
3564 esac
3565 # We did not find ourselves, most probably we were run as `sh COMMAND'
3566 # in which case we are not to be found in the path.
3567 if test "x$as_myself" = x; then
3568 as_myself=$0
3569 fi
3570 if test ! -f "$as_myself"; then
3571 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3572 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3573 { (exit 1); exit 1; }; }
3574 fi
3575 case $CONFIG_SHELL in
3576 '')
3577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3578 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3579 do
3580 IFS=$as_save_IFS
3581 test -z "$as_dir" && as_dir=.
3582 for as_base in sh bash ksh sh5; do
3583 case $as_dir in
3584 /*)
3585 if ("$as_dir/$as_base" -c '
3586 as_lineno_1=$LINENO
3587 as_lineno_2=$LINENO
3588 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3589 test "x$as_lineno_1" != "x$as_lineno_2" &&
3590 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3591 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3592 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3593 CONFIG_SHELL=$as_dir/$as_base
3594 export CONFIG_SHELL
3595 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3596 fi;;
3597 esac
3598 done
3599 done
3600 ;;
3601 esac
3602
3603 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3604 # uniformly replaced by the line number. The first 'sed' inserts a
3605 # line-number line before each line; the second 'sed' does the real
3606 # work. The second script uses 'N' to pair each line-number line
3607 # with the numbered line, and appends trailing '-' during
3608 # substitution so that $LINENO is not a special case at line end.
3609 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3610 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3611 sed '=' <$as_myself |
3612 sed '
3613 N
3614 s,$,-,
3615 : loop
3616 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3617 t loop
3618 s,-$,,
3619 s,^['$as_cr_digits']*\n,,
3620 ' >$as_me.lineno &&
3621 chmod +x $as_me.lineno ||
3622 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3623 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3624 { (exit 1); exit 1; }; }
3625
3626 # Don't try to exec as it changes $[0], causing all sort of problems
3627 # (the dirname of $[0] is not the place where we might find the
3628 # original and so on. Autoconf is especially sensible to this).
3629 . ./$as_me.lineno
3630 # Exit status is that of the last command.
3631 exit
3632 }
3633
3634
3635 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3636 *c*,-n*) ECHO_N= ECHO_C='
3637 ' ECHO_T=' ' ;;
3638 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3639 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3640 esac
3641
3642 if expr a : '\(a\)' >/dev/null 2>&1; then
3643 as_expr=expr
3644 else
3645 as_expr=false
3646 fi
3647
3648 rm -f conf$$ conf$$.exe conf$$.file
3649 echo >conf$$.file
3650 if ln -s conf$$.file conf$$ 2>/dev/null; then
3651 # We could just check for DJGPP; but this test a) works b) is more generic
3652 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3653 if test -f conf$$.exe; then
3654 # Don't use ln at all; we don't have any links
3655 as_ln_s='cp -p'
3656 else
3657 as_ln_s='ln -s'
3658 fi
3659 elif ln conf$$.file conf$$ 2>/dev/null; then
3660 as_ln_s=ln
3661 else
3662 as_ln_s='cp -p'
3663 fi
3664 rm -f conf$$ conf$$.exe conf$$.file
3665
3666 if mkdir -p . 2>/dev/null; then
3667 as_mkdir_p=:
3668 else
3669 test -d ./-p && rmdir ./-p
3670 as_mkdir_p=false
3671 fi
3672
3673 as_executable_p="test -f"
3674
3675 # Sed expression to map a string onto a valid CPP name.
3676 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3677
3678 # Sed expression to map a string onto a valid variable name.
3679 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3680
3681
3682 # IFS
3683 # We need space, tab and new line, in precisely that order.
3684 as_nl='
3685 '
3686 IFS=" $as_nl"
3687
3688 # CDPATH.
3689 $as_unset CDPATH
3690
3691 exec 6>&1
3692
3693 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3694 # report actual input values of CONFIG_FILES etc. instead of their
3695 # values after options handling. Logging --version etc. is OK.
3696 exec 5>>config.log
3697 {
3698 echo
3699 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3700 ## Running $as_me. ##
3701 _ASBOX
3702 } >&5
3703 cat >&5 <<_CSEOF
3704
3705 This file was extended by mod_domaintree $as_me 1.3, which was
3706 generated by GNU Autoconf 2.59. Invocation command line was
3707
3708 CONFIG_FILES = $CONFIG_FILES
3709 CONFIG_HEADERS = $CONFIG_HEADERS
3710 CONFIG_LINKS = $CONFIG_LINKS
3711 CONFIG_COMMANDS = $CONFIG_COMMANDS
3712 $ $0 $@
3713
3714 _CSEOF
3715 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3716 echo >&5
3717 _ACEOF
3718
3719 # Files that config.status was made for.
3720 if test -n "$ac_config_files"; then
3721 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3722 fi
3723
3724 if test -n "$ac_config_headers"; then
3725 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3726 fi
3727
3728 if test -n "$ac_config_links"; then
3729 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3730 fi
3731
3732 if test -n "$ac_config_commands"; then
3733 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3734 fi
3735
3736 cat >>$CONFIG_STATUS <<\_ACEOF
3737
3738 ac_cs_usage="\
3739 \`$as_me' instantiates files from templates according to the
3740 current configuration.
3741
3742 Usage: $0 [OPTIONS] [FILE]...
3743
3744 -h, --help print this help, then exit
3745 -V, --version print version number, then exit
3746 -q, --quiet do not print progress messages
3747 -d, --debug don't remove temporary files
3748 --recheck update $as_me by reconfiguring in the same conditions
3749 --file=FILE[:TEMPLATE]
3750 instantiate the configuration file FILE
3751 --header=FILE[:TEMPLATE]
3752 instantiate the configuration header FILE
3753
3754 Configuration files:
3755 $config_files
3756
3757 Configuration headers:
3758 $config_headers
3759
3760 Report bugs to <bug-autoconf@gnu.org>."
3761 _ACEOF
3762
3763 cat >>$CONFIG_STATUS <<_ACEOF
3764 ac_cs_version="\\
3765 mod_domaintree config.status 1.3
3766 configured by $0, generated by GNU Autoconf 2.59,
3767 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3768
3769 Copyright (C) 2003 Free Software Foundation, Inc.
3770 This config.status script is free software; the Free Software Foundation
3771 gives unlimited permission to copy, distribute and modify it."
3772 srcdir=$srcdir
3773 _ACEOF
3774
3775 cat >>$CONFIG_STATUS <<\_ACEOF
3776 # If no file are specified by the user, then we need to provide default
3777 # value. By we need to know if files were specified by the user.
3778 ac_need_defaults=:
3779 while test $# != 0
3780 do
3781 case $1 in
3782 --*=*)
3783 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3784 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3785 ac_shift=:
3786 ;;
3787 -*)
3788 ac_option=$1
3789 ac_optarg=$2
3790 ac_shift=shift
3791 ;;
3792 *) # This is not an option, so the user has probably given explicit
3793 # arguments.
3794 ac_option=$1
3795 ac_need_defaults=false;;
3796 esac
3797
3798 case $ac_option in
3799 # Handling of the options.
3800 _ACEOF
3801 cat >>$CONFIG_STATUS <<\_ACEOF
3802 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3803 ac_cs_recheck=: ;;
3804 --version | --vers* | -V )
3805 echo "$ac_cs_version"; exit 0 ;;
3806 --he | --h)
3807 # Conflict between --help and --header
3808 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3809 Try \`$0 --help' for more information." >&5
3810 echo "$as_me: error: ambiguous option: $1
3811 Try \`$0 --help' for more information." >&2;}
3812 { (exit 1); exit 1; }; };;
3813 --help | --hel | -h )
3814 echo "$ac_cs_usage"; exit 0 ;;
3815 --debug | --d* | -d )
3816 debug=: ;;
3817 --file | --fil | --fi | --f )
3818 $ac_shift
3819 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3820 ac_need_defaults=false;;
3821 --header | --heade | --head | --hea )
3822 $ac_shift
3823 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3824 ac_need_defaults=false;;
3825 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3826 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3827 ac_cs_silent=: ;;
3828
3829 # This is an error.
3830 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3831 Try \`$0 --help' for more information." >&5
3832 echo "$as_me: error: unrecognized option: $1
3833 Try \`$0 --help' for more information." >&2;}
3834 { (exit 1); exit 1; }; } ;;
3835
3836 *) ac_config_targets="$ac_config_targets $1" ;;
3837
3838 esac
3839 shift
3840 done
3841
3842 ac_configure_extra_args=
3843
3844 if $ac_cs_silent; then
3845 exec 6>/dev/null
3846 ac_configure_extra_args="$ac_configure_extra_args --silent"
3847 fi
3848
3849 _ACEOF
3850 cat >>$CONFIG_STATUS <<_ACEOF
3851 if \$ac_cs_recheck; then
3852 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3853 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3854 fi
3855
3856 _ACEOF
3857
3858
3859
3860
3861
3862 cat >>$CONFIG_STATUS <<\_ACEOF
3863 for ac_config_target in $ac_config_targets
3864 do
3865 case "$ac_config_target" in
3866 # Handling of arguments.
3867 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3868 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3869 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3870 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3871 { (exit 1); exit 1; }; };;
3872 esac
3873 done
3874
3875 # If the user did not use the arguments to specify the items to instantiate,
3876 # then the envvar interface is used. Set only those that are not.
3877 # We use the long form for the default assignment because of an extremely
3878 # bizarre bug on SunOS 4.1.3.
3879 if $ac_need_defaults; then
3880 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3881 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3882 fi
3883
3884 # Have a temporary directory for convenience. Make it in the build tree
3885 # simply because there is no reason to put it here, and in addition,
3886 # creating and moving files from /tmp can sometimes cause problems.
3887 # Create a temporary directory, and hook for its removal unless debugging.
3888 $debug ||
3889 {
3890 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3891 trap '{ (exit 1); exit 1; }' 1 2 13 15
3892 }
3893
3894 # Create a (secure) tmp directory for tmp files.
3895
3896 {
3897 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3898 test -n "$tmp" && test -d "$tmp"
3899 } ||
3900 {
3901 tmp=./confstat$$-$RANDOM
3902 (umask 077 && mkdir $tmp)
3903 } ||
3904 {
3905 echo "$me: cannot create a temporary directory in ." >&2
3906 { (exit 1); exit 1; }
3907 }
3908
3909 _ACEOF
3910
3911 cat >>$CONFIG_STATUS <<_ACEOF
3912
3913 #
3914 # CONFIG_FILES section.
3915 #
3916
3917 # No need to generate the scripts if there are no CONFIG_FILES.
3918 # This happens for instance when ./config.status config.h
3919 if test -n "\$CONFIG_FILES"; then
3920 # Protect against being on the right side of a sed subst in config.status.
3921 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3922 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3923 s,@SHELL@,$SHELL,;t t
3924 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3925 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3926 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3927 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3928 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3929 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3930 s,@exec_prefix@,$exec_prefix,;t t
3931 s,@prefix@,$prefix,;t t
3932 s,@program_transform_name@,$program_transform_name,;t t
3933 s,@bindir@,$bindir,;t t
3934 s,@sbindir@,$sbindir,;t t
3935 s,@libexecdir@,$libexecdir,;t t
3936 s,@datadir@,$datadir,;t t
3937 s,@sysconfdir@,$sysconfdir,;t t
3938 s,@sharedstatedir@,$sharedstatedir,;t t
3939 s,@localstatedir@,$localstatedir,;t t
3940 s,@libdir@,$libdir,;t t
3941 s,@includedir@,$includedir,;t t
3942 s,@oldincludedir@,$oldincludedir,;t t
3943 s,@infodir@,$infodir,;t t
3944 s,@mandir@,$mandir,;t t
3945 s,@build_alias@,$build_alias,;t t
3946 s,@host_alias@,$host_alias,;t t
3947 s,@target_alias@,$target_alias,;t t
3948 s,@DEFS@,$DEFS,;t t
3949 s,@ECHO_C@,$ECHO_C,;t t
3950 s,@ECHO_N@,$ECHO_N,;t t
3951 s,@ECHO_T@,$ECHO_T,;t t
3952 s,@LIBS@,$LIBS,;t t
3953 s,@CC@,$CC,;t t
3954 s,@CFLAGS@,$CFLAGS,;t t
3955 s,@LDFLAGS@,$LDFLAGS,;t t
3956 s,@CPPFLAGS@,$CPPFLAGS,;t t
3957 s,@ac_ct_CC@,$ac_ct_CC,;t t
3958 s,@EXEEXT@,$EXEEXT,;t t
3959 s,@OBJEXT@,$OBJEXT,;t t
3960 s,@CPP@,$CPP,;t t
3961 s,@EGREP@,$EGREP,;t t
3962 s,@APXS2@,$APXS2,;t t
3963 s,@LIBOBJS@,$LIBOBJS,;t t
3964 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3965 CEOF
3966
3967 _ACEOF
3968
3969 cat >>$CONFIG_STATUS <<\_ACEOF
3970 # Split the substitutions into bite-sized pieces for seds with
3971 # small command number limits, like on Digital OSF/1 and HP-UX.
3972 ac_max_sed_lines=48
3973 ac_sed_frag=1 # Number of current file.
3974 ac_beg=1 # First line for current file.
3975 ac_end=$ac_max_sed_lines # Line after last line for current file.
3976 ac_more_lines=:
3977 ac_sed_cmds=
3978 while $ac_more_lines; do
3979 if test $ac_beg -gt 1; then
3980 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3981 else
3982 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3983 fi
3984 if test ! -s $tmp/subs.frag; then
3985 ac_more_lines=false
3986 else
3987 # The purpose of the label and of the branching condition is to
3988 # speed up the sed processing (if there are no `@' at all, there
3989 # is no need to browse any of the substitutions).
3990 # These are the two extra sed commands mentioned above.
3991 (echo ':t
3992 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3993 if test -z "$ac_sed_cmds"; then
3994 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3995 else
3996 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3997 fi
3998 ac_sed_frag=`expr $ac_sed_frag + 1`
3999 ac_beg=$ac_end
4000 ac_end=`expr $ac_end + $ac_max_sed_lines`
4001 fi
4002 done
4003 if test -z "$ac_sed_cmds"; then
4004 ac_sed_cmds=cat
4005 fi
4006 fi # test -n "$CONFIG_FILES"
4007
4008 _ACEOF
4009 cat >>$CONFIG_STATUS <<\_ACEOF
4010 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4011 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4012 case $ac_file in
4013 - | *:- | *:-:* ) # input from stdin
4014 cat >$tmp/stdin
4015 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4016 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4017 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4018 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4019 * ) ac_file_in=$ac_file.in ;;
4020 esac
4021
4022 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4023 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4024 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4025 X"$ac_file" : 'X\(//\)[^/]' \| \
4026 X"$ac_file" : 'X\(//\)$' \| \
4027 X"$ac_file" : 'X\(/\)' \| \
4028 . : '\(.\)' 2>/dev/null ||
4029 echo X"$ac_file" |
4030 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4031 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4032 /^X\(\/\/\)$/{ s//\1/; q; }
4033 /^X\(\/\).*/{ s//\1/; q; }
4034 s/.*/./; q'`
4035 { if $as_mkdir_p; then
4036 mkdir -p "$ac_dir"
4037 else
4038 as_dir="$ac_dir"
4039 as_dirs=
4040 while test ! -d "$as_dir"; do
4041 as_dirs="$as_dir $as_dirs"
4042 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4043 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4044 X"$as_dir" : 'X\(//\)[^/]' \| \
4045 X"$as_dir" : 'X\(//\)$' \| \
4046 X"$as_dir" : 'X\(/\)' \| \
4047 . : '\(.\)' 2>/dev/null ||
4048 echo X"$as_dir" |
4049 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4050 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4051 /^X\(\/\/\)$/{ s//\1/; q; }
4052 /^X\(\/\).*/{ s//\1/; q; }
4053 s/.*/./; q'`
4054 done
4055 test ! -n "$as_dirs" || mkdir $as_dirs
4056 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4057 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4058 { (exit 1); exit 1; }; }; }
4059
4060 ac_builddir=.
4061
4062 if test "$ac_dir" != .; then
4063 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4064 # A "../" for each directory in $ac_dir_suffix.
4065 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4066 else
4067 ac_dir_suffix= ac_top_builddir=
4068 fi
4069
4070 case $srcdir in
4071 .) # No --srcdir option. We are building in place.
4072 ac_srcdir=.
4073 if test -z "$ac_top_builddir"; then
4074 ac_top_srcdir=.
4075 else
4076 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4077 fi ;;
4078 [\\/]* | ?:[\\/]* ) # Absolute path.
4079 ac_srcdir=$srcdir$ac_dir_suffix;
4080 ac_top_srcdir=$srcdir ;;
4081 *) # Relative path.
4082 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4083 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4084 esac
4085
4086 # Do not use `cd foo && pwd` to compute absolute paths, because
4087 # the directories may not exist.
4088 case `pwd` in
4089 .) ac_abs_builddir="$ac_dir";;
4090 *)
4091 case "$ac_dir" in
4092 .) ac_abs_builddir=`pwd`;;
4093 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4094 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4095 esac;;
4096 esac
4097 case $ac_abs_builddir in
4098 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4099 *)
4100 case ${ac_top_builddir}. in
4101 .) ac_abs_top_builddir=$ac_abs_builddir;;
4102 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4103 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4104 esac;;
4105 esac
4106 case $ac_abs_builddir in
4107 .) ac_abs_srcdir=$ac_srcdir;;
4108 *)
4109 case $ac_srcdir in
4110 .) ac_abs_srcdir=$ac_abs_builddir;;
4111 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4112 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4113 esac;;
4114 esac
4115 case $ac_abs_builddir in
4116 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4117 *)
4118 case $ac_top_srcdir in
4119 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4120 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4121 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4122 esac;;
4123 esac
4124
4125
4126
4127 # Let's still pretend it is `configure' which instantiates (i.e., don't
4128 # use $as_me), people would be surprised to read:
4129 # /* config.h. Generated by config.status. */
4130 if test x"$ac_file" = x-; then
4131 configure_input=
4132 else
4133 configure_input="$ac_file. "
4134 fi
4135 configure_input=$configure_input"Generated from `echo $ac_file_in |
4136 sed 's,.*/,,'` by configure."
4137
4138 # First look for the input files in the build tree, otherwise in the
4139 # src tree.
4140 ac_file_inputs=`IFS=:
4141 for f in $ac_file_in; do
4142 case $f in
4143 -) echo $tmp/stdin ;;
4144 [\\/$]*)
4145 # Absolute (can't be DOS-style, as IFS=:)
4146 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4147 echo "$as_me: error: cannot find input file: $f" >&2;}
4148 { (exit 1); exit 1; }; }
4149 echo "$f";;
4150 *) # Relative
4151 if test -f "$f"; then
4152 # Build tree
4153 echo "$f"
4154 elif test -f "$srcdir/$f"; then
4155 # Source tree
4156 echo "$srcdir/$f"
4157 else
4158 # /dev/null tree
4159 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4160 echo "$as_me: error: cannot find input file: $f" >&2;}
4161 { (exit 1); exit 1; }; }
4162 fi;;
4163 esac
4164 done` || { (exit 1); exit 1; }
4165
4166 if test x"$ac_file" != x-; then
4167 { echo "$as_me:$LINENO: creating $ac_file" >&5
4168 echo "$as_me: creating $ac_file" >&6;}
4169 rm -f "$ac_file"
4170 fi
4171 _ACEOF
4172 cat >>$CONFIG_STATUS <<_ACEOF
4173 sed "$ac_vpsub
4174 $extrasub
4175 _ACEOF
4176 cat >>$CONFIG_STATUS <<\_ACEOF
4177 :t
4178 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4179 s,@configure_input@,$configure_input,;t t
4180 s,@srcdir@,$ac_srcdir,;t t
4181 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4182 s,@top_srcdir@,$ac_top_srcdir,;t t
4183 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4184 s,@builddir@,$ac_builddir,;t t
4185 s,@abs_builddir@,$ac_abs_builddir,;t t
4186 s,@top_builddir@,$ac_top_builddir,;t t
4187 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4188 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4189 rm -f $tmp/stdin
4190 if test x"$ac_file" != x-; then
4191 mv $tmp/out $ac_file
4192 else
4193 cat $tmp/out
4194 rm -f $tmp/out
4195 fi
4196
4197 done
4198 _ACEOF
4199 cat >>$CONFIG_STATUS <<\_ACEOF
4200
4201 #
4202 # CONFIG_HEADER section.
4203 #
4204
4205 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4206 # NAME is the cpp macro being defined and VALUE is the value it is being given.
4207 #
4208 # ac_d sets the value in "#define NAME VALUE" lines.
4209 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4210 ac_dB='[ ].*$,\1#\2'
4211 ac_dC=' '
4212 ac_dD=',;t'
4213 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4214 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4215 ac_uB='$,\1#\2define\3'
4216 ac_uC=' '
4217 ac_uD=',;t'
4218
4219 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
4220 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4221 case $ac_file in
4222 - | *:- | *:-:* ) # input from stdin
4223 cat >$tmp/stdin
4224 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4225 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4226 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4227 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4228 * ) ac_file_in=$ac_file.in ;;
4229 esac
4230
4231 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
4232 echo "$as_me: creating $ac_file" >&6;}
4233
4234 # First look for the input files in the build tree, otherwise in the
4235 # src tree.
4236 ac_file_inputs=`IFS=:
4237 for f in $ac_file_in; do
4238 case $f in
4239 -) echo $tmp/stdin ;;
4240 [\\/$]*)
4241 # Absolute (can't be DOS-style, as IFS=:)
4242 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4243 echo "$as_me: error: cannot find input file: $f" >&2;}
4244 { (exit 1); exit 1; }; }
4245 # Do quote $f, to prevent DOS paths from being IFS'd.
4246 echo "$f";;
4247 *) # Relative
4248 if test -f "$f"; then
4249 # Build tree
4250 echo "$f"
4251 elif test -f "$srcdir/$f"; then
4252 # Source tree
4253 echo "$srcdir/$f"
4254 else
4255 # /dev/null tree
4256 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4257 echo "$as_me: error: cannot find input file: $f" >&2;}
4258 { (exit 1); exit 1; }; }
4259 fi;;
4260 esac
4261 done` || { (exit 1); exit 1; }
4262 # Remove the trailing spaces.
4263 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4264
4265 _ACEOF
4266
4267 # Transform confdefs.h into two sed scripts, `conftest.defines' and
4268 # `conftest.undefs', that substitutes the proper values into
4269 # config.h.in to produce config.h. The first handles `#define'
4270 # templates, and the second `#undef' templates.
4271 # And first: Protect against being on the right side of a sed subst in
4272 # config.status. Protect against being in an unquoted here document
4273 # in config.status.
4274 rm -f conftest.defines conftest.undefs
4275 # Using a here document instead of a string reduces the quoting nightmare.
4276 # Putting comments in sed scripts is not portable.
4277 #
4278 # `end' is used to avoid that the second main sed command (meant for
4279 # 0-ary CPP macros) applies to n-ary macro definitions.
4280 # See the Autoconf documentation for `clear'.
4281 cat >confdef2sed.sed <<\_ACEOF
4282 s/[\\&,]/\\&/g
4283 s,[\\$`],\\&,g
4284 t clear
4285 : clear
4286 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4287 t end
4288 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4289 : end
4290 _ACEOF
4291 # If some macros were called several times there might be several times
4292 # the same #defines, which is useless. Nevertheless, we may not want to
4293 # sort them, since we want the *last* AC-DEFINE to be honored.
4294 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4295 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4296 rm -f confdef2sed.sed
4297
4298 # This sed command replaces #undef with comments. This is necessary, for
4299 # example, in the case of _POSIX_SOURCE, which is predefined and required
4300 # on some systems where configure will not decide to define it.
4301 cat >>conftest.undefs <<\_ACEOF
4302 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4303 _ACEOF
4304
4305 # Break up conftest.defines because some shells have a limit on the size
4306 # of here documents, and old seds have small limits too (100 cmds).
4307 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4308 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4309 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4310 echo ' :' >>$CONFIG_STATUS
4311 rm -f conftest.tail
4312 while grep . conftest.defines >/dev/null
4313 do
4314 # Write a limited-size here document to $tmp/defines.sed.
4315 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4316 # Speed up: don't consider the non `#define' lines.
4317 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4318 # Work around the forget-to-reset-the-flag bug.
4319 echo 't clr' >>$CONFIG_STATUS
4320 echo ': clr' >>$CONFIG_STATUS
4321 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4322 echo 'CEOF
4323 sed -f $tmp/defines.sed $tmp/in >$tmp/out
4324 rm -f $tmp/in
4325 mv $tmp/out $tmp/in
4326 ' >>$CONFIG_STATUS
4327 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4328 rm -f conftest.defines
4329 mv conftest.tail conftest.defines
4330 done
4331 rm -f conftest.defines
4332 echo ' fi # grep' >>$CONFIG_STATUS
4333 echo >>$CONFIG_STATUS
4334
4335 # Break up conftest.undefs because some shells have a limit on the size
4336 # of here documents, and old seds have small limits too (100 cmds).
4337 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4338 rm -f conftest.tail
4339 while grep . conftest.undefs >/dev/null
4340 do
4341 # Write a limited-size here document to $tmp/undefs.sed.
4342 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4343 # Speed up: don't consider the non `#undef'
4344 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4345 # Work around the forget-to-reset-the-flag bug.
4346 echo 't clr' >>$CONFIG_STATUS
4347 echo ': clr' >>$CONFIG_STATUS
4348 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4349 echo 'CEOF
4350 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4351 rm -f $tmp/in
4352 mv $tmp/out $tmp/in
4353 ' >>$CONFIG_STATUS
4354 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4355 rm -f conftest.undefs
4356 mv conftest.tail conftest.undefs
4357 done
4358 rm -f conftest.undefs
4359
4360 cat >>$CONFIG_STATUS <<\_ACEOF
4361 # Let's still pretend it is `configure' which instantiates (i.e., don't
4362 # use $as_me), people would be surprised to read:
4363 # /* config.h. Generated by config.status. */
4364 if test x"$ac_file" = x-; then
4365 echo "/* Generated by configure. */" >$tmp/config.h
4366 else
4367 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4368 fi
4369 cat $tmp/in >>$tmp/config.h
4370 rm -f $tmp/in
4371 if test x"$ac_file" != x-; then
4372 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
4373 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4374 echo "$as_me: $ac_file is unchanged" >&6;}
4375 else
4376 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4377 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4378 X"$ac_file" : 'X\(//\)[^/]' \| \
4379 X"$ac_file" : 'X\(//\)$' \| \
4380 X"$ac_file" : 'X\(/\)' \| \
4381 . : '\(.\)' 2>/dev/null ||
4382 echo X"$ac_file" |
4383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4384 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4385 /^X\(\/\/\)$/{ s//\1/; q; }
4386 /^X\(\/\).*/{ s//\1/; q; }
4387 s/.*/./; q'`
4388 { if $as_mkdir_p; then
4389 mkdir -p "$ac_dir"
4390 else
4391 as_dir="$ac_dir"
4392 as_dirs=
4393 while test ! -d "$as_dir"; do
4394 as_dirs="$as_dir $as_dirs"
4395 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4396 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4397 X"$as_dir" : 'X\(//\)[^/]' \| \
4398 X"$as_dir" : 'X\(//\)$' \| \
4399 X"$as_dir" : 'X\(/\)' \| \
4400 . : '\(.\)' 2>/dev/null ||
4401 echo X"$as_dir" |
4402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4403 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4404 /^X\(\/\/\)$/{ s//\1/; q; }
4405 /^X\(\/\).*/{ s//\1/; q; }
4406 s/.*/./; q'`
4407 done
4408 test ! -n "$as_dirs" || mkdir $as_dirs
4409 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4410 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4411 { (exit 1); exit 1; }; }; }
4412
4413 rm -f $ac_file
4414 mv $tmp/config.h $ac_file
4415 fi
4416 else
4417 cat $tmp/config.h
4418 rm -f $tmp/config.h
4419 fi
4420 done
4421 _ACEOF
4422
4423 cat >>$CONFIG_STATUS <<\_ACEOF
4424
4425 { (exit 0); exit 0; }
4426 _ACEOF
4427 chmod +x $CONFIG_STATUS
4428 ac_clean_files=$ac_clean_files_save
4429
4430
4431 # configure is writing to config.log, and then calls config.status.
4432 # config.status does its own redirection, appending to config.log.
4433 # Unfortunately, on DOS this fails, as config.log is still kept open
4434 # by configure, so config.status won't be able to write to it; its
4435 # output is simply discarded. So we exec the FD to /dev/null,
4436 # effectively closing config.log, so it can be properly (re)opened and
4437 # appended to by config.status. When coming back to configure, we
4438 # need to make the FD available again.
4439 if test "$no_create" != yes; then
4440 ac_cs_success=:
4441 ac_config_status_args=
4442 test "$silent" = yes &&
4443 ac_config_status_args="$ac_config_status_args --quiet"
4444 exec 5>/dev/null
4445 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4446 exec 5>>config.log
4447 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4448 # would make configure fail if this is the last instruction.
4449 $ac_cs_success || { (exit 1); exit 1; }
4450 fi
4451