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