sim/common/ChangeLog:
[deliverable/binutils-gdb.git] / sim / igen / 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="table.h"
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='sim_environment sim_alignment sim_assert sim_bitsize sim_endian sim_hostendian sim_float sim_scache sim_default_model sim_hw_cflags sim_hw_objs sim_hw sim_inline sim_packages sim_regparm sim_reserved_bits sim_smp sim_stdcall sim_xor_endian WARN_CFLAGS WERROR_CFLAGS SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CPP EGREP AR_FOR_BUILD AR_FLAGS_FOR_BUILD CC_FOR_BUILD CFLAGS_FOR_BUILD RANLIB_FOR_BUILD LIBIBERTY_LIB AR RANLIB ac_ct_RANLIB 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_CC_set=${CC+set}
754 ac_env_CC_value=$CC
755 ac_cv_env_CC_set=${CC+set}
756 ac_cv_env_CC_value=$CC
757 ac_env_CFLAGS_set=${CFLAGS+set}
758 ac_env_CFLAGS_value=$CFLAGS
759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value=$CFLAGS
761 ac_env_LDFLAGS_set=${LDFLAGS+set}
762 ac_env_LDFLAGS_value=$LDFLAGS
763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value=$LDFLAGS
765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769 ac_env_CPP_set=${CPP+set}
770 ac_env_CPP_value=$CPP
771 ac_cv_env_CPP_set=${CPP+set}
772 ac_cv_env_CPP_value=$CPP
773
774 #
775 # Report the --help message.
776 #
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
780 cat <<_ACEOF
781 \`configure' configures this package to adapt to many kinds of systems.
782
783 Usage: $0 [OPTION]... [VAR=VALUE]...
784
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
787
788 Defaults for the options are specified in brackets.
789
790 Configuration:
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
800
801 _ACEOF
802
803 cat <<_ACEOF
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
806 [$ac_default_prefix]
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
808 [PREFIX]
809
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
814
815 For better control, use the options below.
816
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
830 _ACEOF
831
832 cat <<\_ACEOF
833
834 Program names:
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
838
839 System types:
840 --build=BUILD configure for building on BUILD [guessed]
841 --host=HOST cross-compile to build programs to run on HOST [BUILD]
842 --target=TARGET configure for building compilers for TARGET [HOST]
843 _ACEOF
844 fi
845
846 if test -n "$ac_init_help"; then
847
848 cat <<\_ACEOF
849
850 Optional Features:
851 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
852 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
853 --enable-build-warnings Enable build-time compiler warnings if gcc is used
854 --enable-gdb-build-warnings Enable SIM specific build-time compiler warnings if gcc is used
855
856 Some influential environment variables:
857 CC C compiler command
858 CFLAGS C compiler flags
859 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
860 nonstandard directory <lib dir>
861 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
862 headers in a nonstandard directory <include dir>
863 CPP C preprocessor
864
865 Use these variables to override the choices made by `configure' or to help
866 it to find libraries and programs with nonstandard names/locations.
867
868 _ACEOF
869 fi
870
871 if test "$ac_init_help" = "recursive"; then
872 # If there are subdirs, report their specific --help.
873 ac_popdir=`pwd`
874 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
875 test -d $ac_dir || continue
876 ac_builddir=.
877
878 if test "$ac_dir" != .; then
879 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
880 # A "../" for each directory in $ac_dir_suffix.
881 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
882 else
883 ac_dir_suffix= ac_top_builddir=
884 fi
885
886 case $srcdir in
887 .) # No --srcdir option. We are building in place.
888 ac_srcdir=.
889 if test -z "$ac_top_builddir"; then
890 ac_top_srcdir=.
891 else
892 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
893 fi ;;
894 [\\/]* | ?:[\\/]* ) # Absolute path.
895 ac_srcdir=$srcdir$ac_dir_suffix;
896 ac_top_srcdir=$srcdir ;;
897 *) # Relative path.
898 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
899 ac_top_srcdir=$ac_top_builddir$srcdir ;;
900 esac
901
902 # Do not use `cd foo && pwd` to compute absolute paths, because
903 # the directories may not exist.
904 case `pwd` in
905 .) ac_abs_builddir="$ac_dir";;
906 *)
907 case "$ac_dir" in
908 .) ac_abs_builddir=`pwd`;;
909 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
910 *) ac_abs_builddir=`pwd`/"$ac_dir";;
911 esac;;
912 esac
913 case $ac_abs_builddir in
914 .) ac_abs_top_builddir=${ac_top_builddir}.;;
915 *)
916 case ${ac_top_builddir}. in
917 .) ac_abs_top_builddir=$ac_abs_builddir;;
918 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
919 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
920 esac;;
921 esac
922 case $ac_abs_builddir in
923 .) ac_abs_srcdir=$ac_srcdir;;
924 *)
925 case $ac_srcdir in
926 .) ac_abs_srcdir=$ac_abs_builddir;;
927 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
928 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
929 esac;;
930 esac
931 case $ac_abs_builddir in
932 .) ac_abs_top_srcdir=$ac_top_srcdir;;
933 *)
934 case $ac_top_srcdir in
935 .) ac_abs_top_srcdir=$ac_abs_builddir;;
936 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
937 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
938 esac;;
939 esac
940
941 cd $ac_dir
942 # Check for guested configure; otherwise get Cygnus style configure.
943 if test -f $ac_srcdir/configure.gnu; then
944 echo
945 $SHELL $ac_srcdir/configure.gnu --help=recursive
946 elif test -f $ac_srcdir/configure; then
947 echo
948 $SHELL $ac_srcdir/configure --help=recursive
949 elif test -f $ac_srcdir/configure.ac ||
950 test -f $ac_srcdir/configure.in; then
951 echo
952 $ac_configure --help
953 else
954 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
955 fi
956 cd $ac_popdir
957 done
958 fi
959
960 test -n "$ac_init_help" && exit 0
961 if $ac_init_version; then
962 cat <<\_ACEOF
963
964 Copyright (C) 2003 Free Software Foundation, Inc.
965 This configure script is free software; the Free Software Foundation
966 gives unlimited permission to copy, distribute and modify it.
967 _ACEOF
968 exit 0
969 fi
970 exec 5>config.log
971 cat >&5 <<_ACEOF
972 This file contains any messages produced by compilers while
973 running configure, to aid debugging if configure makes a mistake.
974
975 It was created by $as_me, which was
976 generated by GNU Autoconf 2.59. Invocation command line was
977
978 $ $0 $@
979
980 _ACEOF
981 {
982 cat <<_ASUNAME
983 ## --------- ##
984 ## Platform. ##
985 ## --------- ##
986
987 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
988 uname -m = `(uname -m) 2>/dev/null || echo unknown`
989 uname -r = `(uname -r) 2>/dev/null || echo unknown`
990 uname -s = `(uname -s) 2>/dev/null || echo unknown`
991 uname -v = `(uname -v) 2>/dev/null || echo unknown`
992
993 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
994 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
995
996 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
997 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
998 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
999 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1000 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1001 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1002 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1003
1004 _ASUNAME
1005
1006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1007 for as_dir in $PATH
1008 do
1009 IFS=$as_save_IFS
1010 test -z "$as_dir" && as_dir=.
1011 echo "PATH: $as_dir"
1012 done
1013
1014 } >&5
1015
1016 cat >&5 <<_ACEOF
1017
1018
1019 ## ----------- ##
1020 ## Core tests. ##
1021 ## ----------- ##
1022
1023 _ACEOF
1024
1025
1026 # Keep a trace of the command line.
1027 # Strip out --no-create and --no-recursion so they do not pile up.
1028 # Strip out --silent because we don't want to record it for future runs.
1029 # Also quote any args containing shell meta-characters.
1030 # Make two passes to allow for proper duplicate-argument suppression.
1031 ac_configure_args=
1032 ac_configure_args0=
1033 ac_configure_args1=
1034 ac_sep=
1035 ac_must_keep_next=false
1036 for ac_pass in 1 2
1037 do
1038 for ac_arg
1039 do
1040 case $ac_arg in
1041 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1042 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1043 | -silent | --silent | --silen | --sile | --sil)
1044 continue ;;
1045 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1046 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1047 esac
1048 case $ac_pass in
1049 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1050 2)
1051 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1052 if test $ac_must_keep_next = true; then
1053 ac_must_keep_next=false # Got value, back to normal.
1054 else
1055 case $ac_arg in
1056 *=* | --config-cache | -C | -disable-* | --disable-* \
1057 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1058 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1059 | -with-* | --with-* | -without-* | --without-* | --x)
1060 case "$ac_configure_args0 " in
1061 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1062 esac
1063 ;;
1064 -* ) ac_must_keep_next=true ;;
1065 esac
1066 fi
1067 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1068 # Get rid of the leading space.
1069 ac_sep=" "
1070 ;;
1071 esac
1072 done
1073 done
1074 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1075 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1076
1077 # When interrupted or exit'd, cleanup temporary files, and complete
1078 # config.log. We remove comments because anyway the quotes in there
1079 # would cause problems or look ugly.
1080 # WARNING: Be sure not to use single quotes in there, as some shells,
1081 # such as our DU 5.0 friend, will then `close' the trap.
1082 trap 'exit_status=$?
1083 # Save into config.log some information that might help in debugging.
1084 {
1085 echo
1086
1087 cat <<\_ASBOX
1088 ## ---------------- ##
1089 ## Cache variables. ##
1090 ## ---------------- ##
1091 _ASBOX
1092 echo
1093 # The following way of writing the cache mishandles newlines in values,
1094 {
1095 (set) 2>&1 |
1096 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1097 *ac_space=\ *)
1098 sed -n \
1099 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1100 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1101 ;;
1102 *)
1103 sed -n \
1104 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1105 ;;
1106 esac;
1107 }
1108 echo
1109
1110 cat <<\_ASBOX
1111 ## ----------------- ##
1112 ## Output variables. ##
1113 ## ----------------- ##
1114 _ASBOX
1115 echo
1116 for ac_var in $ac_subst_vars
1117 do
1118 eval ac_val=$`echo $ac_var`
1119 echo "$ac_var='"'"'$ac_val'"'"'"
1120 done | sort
1121 echo
1122
1123 if test -n "$ac_subst_files"; then
1124 cat <<\_ASBOX
1125 ## ------------- ##
1126 ## Output files. ##
1127 ## ------------- ##
1128 _ASBOX
1129 echo
1130 for ac_var in $ac_subst_files
1131 do
1132 eval ac_val=$`echo $ac_var`
1133 echo "$ac_var='"'"'$ac_val'"'"'"
1134 done | sort
1135 echo
1136 fi
1137
1138 if test -s confdefs.h; then
1139 cat <<\_ASBOX
1140 ## ----------- ##
1141 ## confdefs.h. ##
1142 ## ----------- ##
1143 _ASBOX
1144 echo
1145 sed "/^$/d" confdefs.h | sort
1146 echo
1147 fi
1148 test "$ac_signal" != 0 &&
1149 echo "$as_me: caught signal $ac_signal"
1150 echo "$as_me: exit $exit_status"
1151 } >&5
1152 rm -f core *.core &&
1153 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1154 exit $exit_status
1155 ' 0
1156 for ac_signal in 1 2 13 15; do
1157 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1158 done
1159 ac_signal=0
1160
1161 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1162 rm -rf conftest* confdefs.h
1163 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1164 echo >confdefs.h
1165
1166 # Predefined preprocessor variables.
1167
1168 cat >>confdefs.h <<_ACEOF
1169 #define PACKAGE_NAME "$PACKAGE_NAME"
1170 _ACEOF
1171
1172
1173 cat >>confdefs.h <<_ACEOF
1174 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1175 _ACEOF
1176
1177
1178 cat >>confdefs.h <<_ACEOF
1179 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1180 _ACEOF
1181
1182
1183 cat >>confdefs.h <<_ACEOF
1184 #define PACKAGE_STRING "$PACKAGE_STRING"
1185 _ACEOF
1186
1187
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1190 _ACEOF
1191
1192
1193 # Let the site file select an alternate cache file if it wants to.
1194 # Prefer explicitly selected file to automatically selected ones.
1195 if test -z "$CONFIG_SITE"; then
1196 if test "x$prefix" != xNONE; then
1197 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1198 else
1199 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1200 fi
1201 fi
1202 for ac_site_file in $CONFIG_SITE; do
1203 if test -r "$ac_site_file"; then
1204 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1205 echo "$as_me: loading site script $ac_site_file" >&6;}
1206 sed 's/^/| /' "$ac_site_file" >&5
1207 . "$ac_site_file"
1208 fi
1209 done
1210
1211 if test -r "$cache_file"; then
1212 # Some versions of bash will fail to source /dev/null (special
1213 # files actually), so we avoid doing that.
1214 if test -f "$cache_file"; then
1215 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1216 echo "$as_me: loading cache $cache_file" >&6;}
1217 case $cache_file in
1218 [\\/]* | ?:[\\/]* ) . $cache_file;;
1219 *) . ./$cache_file;;
1220 esac
1221 fi
1222 else
1223 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1224 echo "$as_me: creating cache $cache_file" >&6;}
1225 >$cache_file
1226 fi
1227
1228 # Check that the precious variables saved in the cache have kept the same
1229 # value.
1230 ac_cache_corrupted=false
1231 for ac_var in `(set) 2>&1 |
1232 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1233 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1234 eval ac_new_set=\$ac_env_${ac_var}_set
1235 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1236 eval ac_new_val="\$ac_env_${ac_var}_value"
1237 case $ac_old_set,$ac_new_set in
1238 set,)
1239 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1240 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1241 ac_cache_corrupted=: ;;
1242 ,set)
1243 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1244 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1245 ac_cache_corrupted=: ;;
1246 ,);;
1247 *)
1248 if test "x$ac_old_val" != "x$ac_new_val"; then
1249 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1250 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1251 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1252 echo "$as_me: former value: $ac_old_val" >&2;}
1253 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1254 echo "$as_me: current value: $ac_new_val" >&2;}
1255 ac_cache_corrupted=:
1256 fi;;
1257 esac
1258 # Pass precious variables to config.status.
1259 if test "$ac_new_set" = set; then
1260 case $ac_new_val in
1261 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1262 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1263 *) ac_arg=$ac_var=$ac_new_val ;;
1264 esac
1265 case " $ac_configure_args " in
1266 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1267 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1268 esac
1269 fi
1270 done
1271 if $ac_cache_corrupted; then
1272 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1273 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1274 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1275 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1276 { (exit 1); exit 1; }; }
1277 fi
1278
1279 ac_ext=c
1280 ac_cpp='$CPP $CPPFLAGS'
1281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304 ac_aux_dir=
1305 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1306 if test -f $ac_dir/install-sh; then
1307 ac_aux_dir=$ac_dir
1308 ac_install_sh="$ac_aux_dir/install-sh -c"
1309 break
1310 elif test -f $ac_dir/install.sh; then
1311 ac_aux_dir=$ac_dir
1312 ac_install_sh="$ac_aux_dir/install.sh -c"
1313 break
1314 elif test -f $ac_dir/shtool; then
1315 ac_aux_dir=$ac_dir
1316 ac_install_sh="$ac_aux_dir/shtool install -c"
1317 break
1318 fi
1319 done
1320 if test -z "$ac_aux_dir"; then
1321 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1322 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1323 { (exit 1); exit 1; }; }
1324 fi
1325 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1326 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1327 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1328
1329 # Find a good install program. We prefer a C program (faster),
1330 # so one script is as good as another. But avoid the broken or
1331 # incompatible versions:
1332 # SysV /etc/install, /usr/sbin/install
1333 # SunOS /usr/etc/install
1334 # IRIX /sbin/install
1335 # AIX /bin/install
1336 # AmigaOS /C/install, which installs bootblocks on floppy discs
1337 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1338 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1339 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1340 # OS/2's system install, which has a completely different semantic
1341 # ./install, which can be erroneously created by make from ./install.sh.
1342 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1343 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1344 if test -z "$INSTALL"; then
1345 if test "${ac_cv_path_install+set}" = set; then
1346 echo $ECHO_N "(cached) $ECHO_C" >&6
1347 else
1348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1349 for as_dir in $PATH
1350 do
1351 IFS=$as_save_IFS
1352 test -z "$as_dir" && as_dir=.
1353 # Account for people who put trailing slashes in PATH elements.
1354 case $as_dir/ in
1355 ./ | .// | /cC/* | \
1356 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1357 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1358 /usr/ucb/* ) ;;
1359 *)
1360 # OSF1 and SCO ODT 3.0 have their own names for install.
1361 # Don't use installbsd from OSF since it installs stuff as root
1362 # by default.
1363 for ac_prog in ginstall scoinst install; do
1364 for ac_exec_ext in '' $ac_executable_extensions; do
1365 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1366 if test $ac_prog = install &&
1367 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1368 # AIX install. It has an incompatible calling convention.
1369 :
1370 elif test $ac_prog = install &&
1371 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1372 # program-specific install script used by HP pwplus--don't use.
1373 :
1374 else
1375 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1376 break 3
1377 fi
1378 fi
1379 done
1380 done
1381 ;;
1382 esac
1383 done
1384
1385
1386 fi
1387 if test "${ac_cv_path_install+set}" = set; then
1388 INSTALL=$ac_cv_path_install
1389 else
1390 # As a last resort, use the slow shell script. We don't cache a
1391 # path for INSTALL within a source directory, because that will
1392 # break other packages using the cache if that directory is
1393 # removed, or if the path is relative.
1394 INSTALL=$ac_install_sh
1395 fi
1396 fi
1397 echo "$as_me:$LINENO: result: $INSTALL" >&5
1398 echo "${ECHO_T}$INSTALL" >&6
1399
1400 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1401 # It thinks the first close brace ends the variable substitution.
1402 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1403
1404 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1405
1406 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1407
1408 ac_ext=c
1409 ac_cpp='$CPP $CPPFLAGS'
1410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1413 if test -n "$ac_tool_prefix"; then
1414 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1415 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1416 echo "$as_me:$LINENO: checking for $ac_word" >&5
1417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1418 if test "${ac_cv_prog_CC+set}" = set; then
1419 echo $ECHO_N "(cached) $ECHO_C" >&6
1420 else
1421 if test -n "$CC"; then
1422 ac_cv_prog_CC="$CC" # Let the user override the test.
1423 else
1424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1425 for as_dir in $PATH
1426 do
1427 IFS=$as_save_IFS
1428 test -z "$as_dir" && as_dir=.
1429 for ac_exec_ext in '' $ac_executable_extensions; do
1430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1431 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1433 break 2
1434 fi
1435 done
1436 done
1437
1438 fi
1439 fi
1440 CC=$ac_cv_prog_CC
1441 if test -n "$CC"; then
1442 echo "$as_me:$LINENO: result: $CC" >&5
1443 echo "${ECHO_T}$CC" >&6
1444 else
1445 echo "$as_me:$LINENO: result: no" >&5
1446 echo "${ECHO_T}no" >&6
1447 fi
1448
1449 fi
1450 if test -z "$ac_cv_prog_CC"; then
1451 ac_ct_CC=$CC
1452 # Extract the first word of "gcc", so it can be a program name with args.
1453 set dummy gcc; ac_word=$2
1454 echo "$as_me:$LINENO: checking for $ac_word" >&5
1455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1456 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1457 echo $ECHO_N "(cached) $ECHO_C" >&6
1458 else
1459 if test -n "$ac_ct_CC"; then
1460 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1461 else
1462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1463 for as_dir in $PATH
1464 do
1465 IFS=$as_save_IFS
1466 test -z "$as_dir" && as_dir=.
1467 for ac_exec_ext in '' $ac_executable_extensions; do
1468 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1469 ac_cv_prog_ac_ct_CC="gcc"
1470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1471 break 2
1472 fi
1473 done
1474 done
1475
1476 fi
1477 fi
1478 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1479 if test -n "$ac_ct_CC"; then
1480 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1481 echo "${ECHO_T}$ac_ct_CC" >&6
1482 else
1483 echo "$as_me:$LINENO: result: no" >&5
1484 echo "${ECHO_T}no" >&6
1485 fi
1486
1487 CC=$ac_ct_CC
1488 else
1489 CC="$ac_cv_prog_CC"
1490 fi
1491
1492 if test -z "$CC"; then
1493 if test -n "$ac_tool_prefix"; then
1494 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1495 set dummy ${ac_tool_prefix}cc; ac_word=$2
1496 echo "$as_me:$LINENO: checking for $ac_word" >&5
1497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1498 if test "${ac_cv_prog_CC+set}" = set; then
1499 echo $ECHO_N "(cached) $ECHO_C" >&6
1500 else
1501 if test -n "$CC"; then
1502 ac_cv_prog_CC="$CC" # Let the user override the test.
1503 else
1504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1505 for as_dir in $PATH
1506 do
1507 IFS=$as_save_IFS
1508 test -z "$as_dir" && as_dir=.
1509 for ac_exec_ext in '' $ac_executable_extensions; do
1510 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1511 ac_cv_prog_CC="${ac_tool_prefix}cc"
1512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1513 break 2
1514 fi
1515 done
1516 done
1517
1518 fi
1519 fi
1520 CC=$ac_cv_prog_CC
1521 if test -n "$CC"; then
1522 echo "$as_me:$LINENO: result: $CC" >&5
1523 echo "${ECHO_T}$CC" >&6
1524 else
1525 echo "$as_me:$LINENO: result: no" >&5
1526 echo "${ECHO_T}no" >&6
1527 fi
1528
1529 fi
1530 if test -z "$ac_cv_prog_CC"; then
1531 ac_ct_CC=$CC
1532 # Extract the first word of "cc", so it can be a program name with args.
1533 set dummy cc; ac_word=$2
1534 echo "$as_me:$LINENO: checking for $ac_word" >&5
1535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1536 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1537 echo $ECHO_N "(cached) $ECHO_C" >&6
1538 else
1539 if test -n "$ac_ct_CC"; then
1540 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1541 else
1542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1543 for as_dir in $PATH
1544 do
1545 IFS=$as_save_IFS
1546 test -z "$as_dir" && as_dir=.
1547 for ac_exec_ext in '' $ac_executable_extensions; do
1548 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1549 ac_cv_prog_ac_ct_CC="cc"
1550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1551 break 2
1552 fi
1553 done
1554 done
1555
1556 fi
1557 fi
1558 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1559 if test -n "$ac_ct_CC"; then
1560 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1561 echo "${ECHO_T}$ac_ct_CC" >&6
1562 else
1563 echo "$as_me:$LINENO: result: no" >&5
1564 echo "${ECHO_T}no" >&6
1565 fi
1566
1567 CC=$ac_ct_CC
1568 else
1569 CC="$ac_cv_prog_CC"
1570 fi
1571
1572 fi
1573 if test -z "$CC"; then
1574 # Extract the first word of "cc", so it can be a program name with args.
1575 set dummy cc; ac_word=$2
1576 echo "$as_me:$LINENO: checking for $ac_word" >&5
1577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1578 if test "${ac_cv_prog_CC+set}" = set; then
1579 echo $ECHO_N "(cached) $ECHO_C" >&6
1580 else
1581 if test -n "$CC"; then
1582 ac_cv_prog_CC="$CC" # Let the user override the test.
1583 else
1584 ac_prog_rejected=no
1585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1586 for as_dir in $PATH
1587 do
1588 IFS=$as_save_IFS
1589 test -z "$as_dir" && as_dir=.
1590 for ac_exec_ext in '' $ac_executable_extensions; do
1591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1592 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1593 ac_prog_rejected=yes
1594 continue
1595 fi
1596 ac_cv_prog_CC="cc"
1597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1598 break 2
1599 fi
1600 done
1601 done
1602
1603 if test $ac_prog_rejected = yes; then
1604 # We found a bogon in the path, so make sure we never use it.
1605 set dummy $ac_cv_prog_CC
1606 shift
1607 if test $# != 0; then
1608 # We chose a different compiler from the bogus one.
1609 # However, it has the same basename, so the bogon will be chosen
1610 # first if we set CC to just the basename; use the full file name.
1611 shift
1612 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1613 fi
1614 fi
1615 fi
1616 fi
1617 CC=$ac_cv_prog_CC
1618 if test -n "$CC"; then
1619 echo "$as_me:$LINENO: result: $CC" >&5
1620 echo "${ECHO_T}$CC" >&6
1621 else
1622 echo "$as_me:$LINENO: result: no" >&5
1623 echo "${ECHO_T}no" >&6
1624 fi
1625
1626 fi
1627 if test -z "$CC"; then
1628 if test -n "$ac_tool_prefix"; then
1629 for ac_prog in cl
1630 do
1631 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1632 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1633 echo "$as_me:$LINENO: checking for $ac_word" >&5
1634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1635 if test "${ac_cv_prog_CC+set}" = set; then
1636 echo $ECHO_N "(cached) $ECHO_C" >&6
1637 else
1638 if test -n "$CC"; then
1639 ac_cv_prog_CC="$CC" # Let the user override the test.
1640 else
1641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1642 for as_dir in $PATH
1643 do
1644 IFS=$as_save_IFS
1645 test -z "$as_dir" && as_dir=.
1646 for ac_exec_ext in '' $ac_executable_extensions; do
1647 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1648 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1650 break 2
1651 fi
1652 done
1653 done
1654
1655 fi
1656 fi
1657 CC=$ac_cv_prog_CC
1658 if test -n "$CC"; then
1659 echo "$as_me:$LINENO: result: $CC" >&5
1660 echo "${ECHO_T}$CC" >&6
1661 else
1662 echo "$as_me:$LINENO: result: no" >&5
1663 echo "${ECHO_T}no" >&6
1664 fi
1665
1666 test -n "$CC" && break
1667 done
1668 fi
1669 if test -z "$CC"; then
1670 ac_ct_CC=$CC
1671 for ac_prog in cl
1672 do
1673 # Extract the first word of "$ac_prog", so it can be a program name with args.
1674 set dummy $ac_prog; ac_word=$2
1675 echo "$as_me:$LINENO: checking for $ac_word" >&5
1676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1677 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1678 echo $ECHO_N "(cached) $ECHO_C" >&6
1679 else
1680 if test -n "$ac_ct_CC"; then
1681 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1682 else
1683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1684 for as_dir in $PATH
1685 do
1686 IFS=$as_save_IFS
1687 test -z "$as_dir" && as_dir=.
1688 for ac_exec_ext in '' $ac_executable_extensions; do
1689 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1690 ac_cv_prog_ac_ct_CC="$ac_prog"
1691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1692 break 2
1693 fi
1694 done
1695 done
1696
1697 fi
1698 fi
1699 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1700 if test -n "$ac_ct_CC"; then
1701 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1702 echo "${ECHO_T}$ac_ct_CC" >&6
1703 else
1704 echo "$as_me:$LINENO: result: no" >&5
1705 echo "${ECHO_T}no" >&6
1706 fi
1707
1708 test -n "$ac_ct_CC" && break
1709 done
1710
1711 CC=$ac_ct_CC
1712 fi
1713
1714 fi
1715
1716
1717 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1718 See \`config.log' for more details." >&5
1719 echo "$as_me: error: no acceptable C compiler found in \$PATH
1720 See \`config.log' for more details." >&2;}
1721 { (exit 1); exit 1; }; }
1722
1723 # Provide some information about the compiler.
1724 echo "$as_me:$LINENO:" \
1725 "checking for C compiler version" >&5
1726 ac_compiler=`set X $ac_compile; echo $2`
1727 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1728 (eval $ac_compiler --version </dev/null >&5) 2>&5
1729 ac_status=$?
1730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1731 (exit $ac_status); }
1732 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1733 (eval $ac_compiler -v </dev/null >&5) 2>&5
1734 ac_status=$?
1735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1736 (exit $ac_status); }
1737 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1738 (eval $ac_compiler -V </dev/null >&5) 2>&5
1739 ac_status=$?
1740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1741 (exit $ac_status); }
1742
1743 cat >conftest.$ac_ext <<_ACEOF
1744 /* confdefs.h. */
1745 _ACEOF
1746 cat confdefs.h >>conftest.$ac_ext
1747 cat >>conftest.$ac_ext <<_ACEOF
1748 /* end confdefs.h. */
1749
1750 int
1751 main ()
1752 {
1753
1754 ;
1755 return 0;
1756 }
1757 _ACEOF
1758 ac_clean_files_save=$ac_clean_files
1759 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1760 # Try to create an executable without -o first, disregard a.out.
1761 # It will help us diagnose broken compilers, and finding out an intuition
1762 # of exeext.
1763 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1764 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1765 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1766 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1767 (eval $ac_link_default) 2>&5
1768 ac_status=$?
1769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1770 (exit $ac_status); }; then
1771 # Find the output, starting from the most likely. This scheme is
1772 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1773 # resort.
1774
1775 # Be careful to initialize this variable, since it used to be cached.
1776 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1777 ac_cv_exeext=
1778 # b.out is created by i960 compilers.
1779 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1780 do
1781 test -f "$ac_file" || continue
1782 case $ac_file in
1783 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1784 ;;
1785 conftest.$ac_ext )
1786 # This is the source file.
1787 ;;
1788 [ab].out )
1789 # We found the default executable, but exeext='' is most
1790 # certainly right.
1791 break;;
1792 *.* )
1793 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1794 # FIXME: I believe we export ac_cv_exeext for Libtool,
1795 # but it would be cool to find out if it's true. Does anybody
1796 # maintain Libtool? --akim.
1797 export ac_cv_exeext
1798 break;;
1799 * )
1800 break;;
1801 esac
1802 done
1803 else
1804 echo "$as_me: failed program was:" >&5
1805 sed 's/^/| /' conftest.$ac_ext >&5
1806
1807 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1808 See \`config.log' for more details." >&5
1809 echo "$as_me: error: C compiler cannot create executables
1810 See \`config.log' for more details." >&2;}
1811 { (exit 77); exit 77; }; }
1812 fi
1813
1814 ac_exeext=$ac_cv_exeext
1815 echo "$as_me:$LINENO: result: $ac_file" >&5
1816 echo "${ECHO_T}$ac_file" >&6
1817
1818 # Check the compiler produces executables we can run. If not, either
1819 # the compiler is broken, or we cross compile.
1820 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1821 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1822 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1823 # If not cross compiling, check that we can run a simple program.
1824 if test "$cross_compiling" != yes; then
1825 if { ac_try='./$ac_file'
1826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1827 (eval $ac_try) 2>&5
1828 ac_status=$?
1829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1830 (exit $ac_status); }; }; then
1831 cross_compiling=no
1832 else
1833 if test "$cross_compiling" = maybe; then
1834 cross_compiling=yes
1835 else
1836 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1837 If you meant to cross compile, use \`--host'.
1838 See \`config.log' for more details." >&5
1839 echo "$as_me: error: cannot run C compiled programs.
1840 If you meant to cross compile, use \`--host'.
1841 See \`config.log' for more details." >&2;}
1842 { (exit 1); exit 1; }; }
1843 fi
1844 fi
1845 fi
1846 echo "$as_me:$LINENO: result: yes" >&5
1847 echo "${ECHO_T}yes" >&6
1848
1849 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1850 ac_clean_files=$ac_clean_files_save
1851 # Check the compiler produces executables we can run. If not, either
1852 # the compiler is broken, or we cross compile.
1853 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1854 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1855 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1856 echo "${ECHO_T}$cross_compiling" >&6
1857
1858 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1859 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1861 (eval $ac_link) 2>&5
1862 ac_status=$?
1863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1864 (exit $ac_status); }; then
1865 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1866 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1867 # work properly (i.e., refer to `conftest.exe'), while it won't with
1868 # `rm'.
1869 for ac_file in conftest.exe conftest conftest.*; do
1870 test -f "$ac_file" || continue
1871 case $ac_file in
1872 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1873 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1874 export ac_cv_exeext
1875 break;;
1876 * ) break;;
1877 esac
1878 done
1879 else
1880 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1881 See \`config.log' for more details." >&5
1882 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1883 See \`config.log' for more details." >&2;}
1884 { (exit 1); exit 1; }; }
1885 fi
1886
1887 rm -f conftest$ac_cv_exeext
1888 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1889 echo "${ECHO_T}$ac_cv_exeext" >&6
1890
1891 rm -f conftest.$ac_ext
1892 EXEEXT=$ac_cv_exeext
1893 ac_exeext=$EXEEXT
1894 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1895 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1896 if test "${ac_cv_objext+set}" = set; then
1897 echo $ECHO_N "(cached) $ECHO_C" >&6
1898 else
1899 cat >conftest.$ac_ext <<_ACEOF
1900 /* confdefs.h. */
1901 _ACEOF
1902 cat confdefs.h >>conftest.$ac_ext
1903 cat >>conftest.$ac_ext <<_ACEOF
1904 /* end confdefs.h. */
1905
1906 int
1907 main ()
1908 {
1909
1910 ;
1911 return 0;
1912 }
1913 _ACEOF
1914 rm -f conftest.o conftest.obj
1915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1916 (eval $ac_compile) 2>&5
1917 ac_status=$?
1918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1919 (exit $ac_status); }; then
1920 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1921 case $ac_file in
1922 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1923 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1924 break;;
1925 esac
1926 done
1927 else
1928 echo "$as_me: failed program was:" >&5
1929 sed 's/^/| /' conftest.$ac_ext >&5
1930
1931 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1932 See \`config.log' for more details." >&5
1933 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1934 See \`config.log' for more details." >&2;}
1935 { (exit 1); exit 1; }; }
1936 fi
1937
1938 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1939 fi
1940 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1941 echo "${ECHO_T}$ac_cv_objext" >&6
1942 OBJEXT=$ac_cv_objext
1943 ac_objext=$OBJEXT
1944 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1945 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1946 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1947 echo $ECHO_N "(cached) $ECHO_C" >&6
1948 else
1949 cat >conftest.$ac_ext <<_ACEOF
1950 /* confdefs.h. */
1951 _ACEOF
1952 cat confdefs.h >>conftest.$ac_ext
1953 cat >>conftest.$ac_ext <<_ACEOF
1954 /* end confdefs.h. */
1955
1956 int
1957 main ()
1958 {
1959 #ifndef __GNUC__
1960 choke me
1961 #endif
1962
1963 ;
1964 return 0;
1965 }
1966 _ACEOF
1967 rm -f conftest.$ac_objext
1968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1969 (eval $ac_compile) 2>conftest.er1
1970 ac_status=$?
1971 grep -v '^ *+' conftest.er1 >conftest.err
1972 rm -f conftest.er1
1973 cat conftest.err >&5
1974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1975 (exit $ac_status); } &&
1976 { ac_try='test -z "$ac_c_werror_flag"
1977 || test ! -s conftest.err'
1978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1979 (eval $ac_try) 2>&5
1980 ac_status=$?
1981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1982 (exit $ac_status); }; } &&
1983 { ac_try='test -s conftest.$ac_objext'
1984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1985 (eval $ac_try) 2>&5
1986 ac_status=$?
1987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1988 (exit $ac_status); }; }; then
1989 ac_compiler_gnu=yes
1990 else
1991 echo "$as_me: failed program was:" >&5
1992 sed 's/^/| /' conftest.$ac_ext >&5
1993
1994 ac_compiler_gnu=no
1995 fi
1996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1997 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1998
1999 fi
2000 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2001 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2002 GCC=`test $ac_compiler_gnu = yes && echo yes`
2003 ac_test_CFLAGS=${CFLAGS+set}
2004 ac_save_CFLAGS=$CFLAGS
2005 CFLAGS="-g"
2006 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2007 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2008 if test "${ac_cv_prog_cc_g+set}" = set; then
2009 echo $ECHO_N "(cached) $ECHO_C" >&6
2010 else
2011 cat >conftest.$ac_ext <<_ACEOF
2012 /* confdefs.h. */
2013 _ACEOF
2014 cat confdefs.h >>conftest.$ac_ext
2015 cat >>conftest.$ac_ext <<_ACEOF
2016 /* end confdefs.h. */
2017
2018 int
2019 main ()
2020 {
2021
2022 ;
2023 return 0;
2024 }
2025 _ACEOF
2026 rm -f conftest.$ac_objext
2027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2028 (eval $ac_compile) 2>conftest.er1
2029 ac_status=$?
2030 grep -v '^ *+' conftest.er1 >conftest.err
2031 rm -f conftest.er1
2032 cat conftest.err >&5
2033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2034 (exit $ac_status); } &&
2035 { ac_try='test -z "$ac_c_werror_flag"
2036 || test ! -s conftest.err'
2037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2038 (eval $ac_try) 2>&5
2039 ac_status=$?
2040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2041 (exit $ac_status); }; } &&
2042 { ac_try='test -s conftest.$ac_objext'
2043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2044 (eval $ac_try) 2>&5
2045 ac_status=$?
2046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2047 (exit $ac_status); }; }; then
2048 ac_cv_prog_cc_g=yes
2049 else
2050 echo "$as_me: failed program was:" >&5
2051 sed 's/^/| /' conftest.$ac_ext >&5
2052
2053 ac_cv_prog_cc_g=no
2054 fi
2055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2056 fi
2057 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2058 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2059 if test "$ac_test_CFLAGS" = set; then
2060 CFLAGS=$ac_save_CFLAGS
2061 elif test $ac_cv_prog_cc_g = yes; then
2062 if test "$GCC" = yes; then
2063 CFLAGS="-g -O2"
2064 else
2065 CFLAGS="-g"
2066 fi
2067 else
2068 if test "$GCC" = yes; then
2069 CFLAGS="-O2"
2070 else
2071 CFLAGS=
2072 fi
2073 fi
2074 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2075 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2076 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2077 echo $ECHO_N "(cached) $ECHO_C" >&6
2078 else
2079 ac_cv_prog_cc_stdc=no
2080 ac_save_CC=$CC
2081 cat >conftest.$ac_ext <<_ACEOF
2082 /* confdefs.h. */
2083 _ACEOF
2084 cat confdefs.h >>conftest.$ac_ext
2085 cat >>conftest.$ac_ext <<_ACEOF
2086 /* end confdefs.h. */
2087 #include <stdarg.h>
2088 #include <stdio.h>
2089 #include <sys/types.h>
2090 #include <sys/stat.h>
2091 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2092 struct buf { int x; };
2093 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2094 static char *e (p, i)
2095 char **p;
2096 int i;
2097 {
2098 return p[i];
2099 }
2100 static char *f (char * (*g) (char **, int), char **p, ...)
2101 {
2102 char *s;
2103 va_list v;
2104 va_start (v,p);
2105 s = g (p, va_arg (v,int));
2106 va_end (v);
2107 return s;
2108 }
2109
2110 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2111 function prototypes and stuff, but not '\xHH' hex character constants.
2112 These don't provoke an error unfortunately, instead are silently treated
2113 as 'x'. The following induces an error, until -std1 is added to get
2114 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2115 array size at least. It's necessary to write '\x00'==0 to get something
2116 that's true only with -std1. */
2117 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2118
2119 int test (int i, double x);
2120 struct s1 {int (*f) (int a);};
2121 struct s2 {int (*f) (double a);};
2122 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2123 int argc;
2124 char **argv;
2125 int
2126 main ()
2127 {
2128 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2129 ;
2130 return 0;
2131 }
2132 _ACEOF
2133 # Don't try gcc -ansi; that turns off useful extensions and
2134 # breaks some systems' header files.
2135 # AIX -qlanglvl=ansi
2136 # Ultrix and OSF/1 -std1
2137 # HP-UX 10.20 and later -Ae
2138 # HP-UX older versions -Aa -D_HPUX_SOURCE
2139 # SVR4 -Xc -D__EXTENSIONS__
2140 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2141 do
2142 CC="$ac_save_CC $ac_arg"
2143 rm -f conftest.$ac_objext
2144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2145 (eval $ac_compile) 2>conftest.er1
2146 ac_status=$?
2147 grep -v '^ *+' conftest.er1 >conftest.err
2148 rm -f conftest.er1
2149 cat conftest.err >&5
2150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2151 (exit $ac_status); } &&
2152 { ac_try='test -z "$ac_c_werror_flag"
2153 || test ! -s conftest.err'
2154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2155 (eval $ac_try) 2>&5
2156 ac_status=$?
2157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2158 (exit $ac_status); }; } &&
2159 { ac_try='test -s conftest.$ac_objext'
2160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2161 (eval $ac_try) 2>&5
2162 ac_status=$?
2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2164 (exit $ac_status); }; }; then
2165 ac_cv_prog_cc_stdc=$ac_arg
2166 break
2167 else
2168 echo "$as_me: failed program was:" >&5
2169 sed 's/^/| /' conftest.$ac_ext >&5
2170
2171 fi
2172 rm -f conftest.err conftest.$ac_objext
2173 done
2174 rm -f conftest.$ac_ext conftest.$ac_objext
2175 CC=$ac_save_CC
2176
2177 fi
2178
2179 case "x$ac_cv_prog_cc_stdc" in
2180 x|xno)
2181 echo "$as_me:$LINENO: result: none needed" >&5
2182 echo "${ECHO_T}none needed" >&6 ;;
2183 *)
2184 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2185 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2186 CC="$CC $ac_cv_prog_cc_stdc" ;;
2187 esac
2188
2189 # Some people use a C++ compiler to compile C. Since we use `exit',
2190 # in C++ we need to declare it. In case someone uses the same compiler
2191 # for both compiling C and C++ we need to have the C++ compiler decide
2192 # the declaration of exit, since it's the most demanding environment.
2193 cat >conftest.$ac_ext <<_ACEOF
2194 #ifndef __cplusplus
2195 choke me
2196 #endif
2197 _ACEOF
2198 rm -f conftest.$ac_objext
2199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2200 (eval $ac_compile) 2>conftest.er1
2201 ac_status=$?
2202 grep -v '^ *+' conftest.er1 >conftest.err
2203 rm -f conftest.er1
2204 cat conftest.err >&5
2205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2206 (exit $ac_status); } &&
2207 { ac_try='test -z "$ac_c_werror_flag"
2208 || test ! -s conftest.err'
2209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2210 (eval $ac_try) 2>&5
2211 ac_status=$?
2212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2213 (exit $ac_status); }; } &&
2214 { ac_try='test -s conftest.$ac_objext'
2215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2216 (eval $ac_try) 2>&5
2217 ac_status=$?
2218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2219 (exit $ac_status); }; }; then
2220 for ac_declaration in \
2221 '' \
2222 'extern "C" void std::exit (int) throw (); using std::exit;' \
2223 'extern "C" void std::exit (int); using std::exit;' \
2224 'extern "C" void exit (int) throw ();' \
2225 'extern "C" void exit (int);' \
2226 'void exit (int);'
2227 do
2228 cat >conftest.$ac_ext <<_ACEOF
2229 /* confdefs.h. */
2230 _ACEOF
2231 cat confdefs.h >>conftest.$ac_ext
2232 cat >>conftest.$ac_ext <<_ACEOF
2233 /* end confdefs.h. */
2234 $ac_declaration
2235 #include <stdlib.h>
2236 int
2237 main ()
2238 {
2239 exit (42);
2240 ;
2241 return 0;
2242 }
2243 _ACEOF
2244 rm -f conftest.$ac_objext
2245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2246 (eval $ac_compile) 2>conftest.er1
2247 ac_status=$?
2248 grep -v '^ *+' conftest.er1 >conftest.err
2249 rm -f conftest.er1
2250 cat conftest.err >&5
2251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2252 (exit $ac_status); } &&
2253 { ac_try='test -z "$ac_c_werror_flag"
2254 || test ! -s conftest.err'
2255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2256 (eval $ac_try) 2>&5
2257 ac_status=$?
2258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259 (exit $ac_status); }; } &&
2260 { ac_try='test -s conftest.$ac_objext'
2261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2262 (eval $ac_try) 2>&5
2263 ac_status=$?
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); }; }; then
2266 :
2267 else
2268 echo "$as_me: failed program was:" >&5
2269 sed 's/^/| /' conftest.$ac_ext >&5
2270
2271 continue
2272 fi
2273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2274 cat >conftest.$ac_ext <<_ACEOF
2275 /* confdefs.h. */
2276 _ACEOF
2277 cat confdefs.h >>conftest.$ac_ext
2278 cat >>conftest.$ac_ext <<_ACEOF
2279 /* end confdefs.h. */
2280 $ac_declaration
2281 int
2282 main ()
2283 {
2284 exit (42);
2285 ;
2286 return 0;
2287 }
2288 _ACEOF
2289 rm -f conftest.$ac_objext
2290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2291 (eval $ac_compile) 2>conftest.er1
2292 ac_status=$?
2293 grep -v '^ *+' conftest.er1 >conftest.err
2294 rm -f conftest.er1
2295 cat conftest.err >&5
2296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2297 (exit $ac_status); } &&
2298 { ac_try='test -z "$ac_c_werror_flag"
2299 || test ! -s conftest.err'
2300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2301 (eval $ac_try) 2>&5
2302 ac_status=$?
2303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2304 (exit $ac_status); }; } &&
2305 { ac_try='test -s conftest.$ac_objext'
2306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2307 (eval $ac_try) 2>&5
2308 ac_status=$?
2309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2310 (exit $ac_status); }; }; then
2311 break
2312 else
2313 echo "$as_me: failed program was:" >&5
2314 sed 's/^/| /' conftest.$ac_ext >&5
2315
2316 fi
2317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2318 done
2319 rm -f conftest*
2320 if test -n "$ac_declaration"; then
2321 echo '#ifdef __cplusplus' >>confdefs.h
2322 echo $ac_declaration >>confdefs.h
2323 echo '#endif' >>confdefs.h
2324 fi
2325
2326 else
2327 echo "$as_me: failed program was:" >&5
2328 sed 's/^/| /' conftest.$ac_ext >&5
2329
2330 fi
2331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2332 ac_ext=c
2333 ac_cpp='$CPP $CPPFLAGS'
2334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2337
2338
2339
2340
2341 # NOTE: Don't add -Wall or -Wunused, they both include
2342 # -Wunused-parameter which reports bogus warnings.
2343 # NOTE: If you add to this list, remember to update
2344 # gdb/doc/gdbint.texinfo.
2345 build_warnings="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
2346 -Wformat -Wparentheses -Wpointer-arith"
2347 # GCC supports -Wuninitialized only with -O or -On, n != 0.
2348 if test x${CFLAGS+set} = xset; then
2349 case "${CFLAGS}" in
2350 *"-O0"* ) ;;
2351 *"-O"* )
2352 build_warnings="${build_warnings} -Wuninitialized"
2353 ;;
2354 esac
2355 else
2356 build_warnings="${build_warnings} -Wuninitialized"
2357 fi
2358 # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs
2359 # -Wunused-function -Wunused-label -Wunused-variable -Wunused-value
2360 # -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual
2361 # -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes
2362 # -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
2363 # -Woverloaded-virtual -Winline -Werror"
2364 # Check whether --enable-build-warnings or --disable-build-warnings was given.
2365 if test "${enable_build_warnings+set}" = set; then
2366 enableval="$enable_build_warnings"
2367 case "${enableval}" in
2368 yes) ;;
2369 no) build_warnings="-w";;
2370 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
2371 build_warnings="${build_warnings} ${t}";;
2372 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
2373 build_warnings="${t} ${build_warnings}";;
2374 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;;
2375 esac
2376 if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then
2377 echo "Setting compiler warning flags = $build_warnings" 6>&1
2378 fi
2379 fi; # Check whether --enable-sim-build-warnings or --disable-sim-build-warnings was given.
2380 if test "${enable_sim_build_warnings+set}" = set; then
2381 enableval="$enable_sim_build_warnings"
2382 case "${enableval}" in
2383 yes) ;;
2384 no) build_warnings="-w";;
2385 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
2386 build_warnings="${build_warnings} ${t}";;
2387 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
2388 build_warnings="${t} ${build_warnings}";;
2389 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;;
2390 esac
2391 if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then
2392 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
2393 fi
2394 fi; WARN_CFLAGS=""
2395 WERROR_CFLAGS=""
2396 if test "x${build_warnings}" != x -a "x$GCC" = xyes
2397 then
2398 echo "$as_me:$LINENO: checking compiler warning flags" >&5
2399 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
2400 # Separate out the -Werror flag as some files just cannot be
2401 # compiled with it enabled.
2402 for w in ${build_warnings}; do
2403 case $w in
2404 -Werr*) WERROR_CFLAGS=-Werror ;;
2405 *) # Check that GCC accepts it
2406 saved_CFLAGS="$CFLAGS"
2407 CFLAGS="$CFLAGS $w"
2408 cat >conftest.$ac_ext <<_ACEOF
2409 /* confdefs.h. */
2410 _ACEOF
2411 cat confdefs.h >>conftest.$ac_ext
2412 cat >>conftest.$ac_ext <<_ACEOF
2413 /* end confdefs.h. */
2414
2415 int
2416 main ()
2417 {
2418
2419 ;
2420 return 0;
2421 }
2422 _ACEOF
2423 rm -f conftest.$ac_objext
2424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2425 (eval $ac_compile) 2>conftest.er1
2426 ac_status=$?
2427 grep -v '^ *+' conftest.er1 >conftest.err
2428 rm -f conftest.er1
2429 cat conftest.err >&5
2430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2431 (exit $ac_status); } &&
2432 { ac_try='test -z "$ac_c_werror_flag"
2433 || test ! -s conftest.err'
2434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2435 (eval $ac_try) 2>&5
2436 ac_status=$?
2437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438 (exit $ac_status); }; } &&
2439 { ac_try='test -s conftest.$ac_objext'
2440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2441 (eval $ac_try) 2>&5
2442 ac_status=$?
2443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2444 (exit $ac_status); }; }; then
2445 WARN_CFLAGS="${WARN_CFLAGS} $w"
2446 else
2447 echo "$as_me: failed program was:" >&5
2448 sed 's/^/| /' conftest.$ac_ext >&5
2449
2450 fi
2451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2452 CFLAGS="$saved_CFLAGS"
2453 esac
2454 done
2455 echo "$as_me:$LINENO: result: ${WARN_CFLAGS}${WERROR_CFLAGS}" >&5
2456 echo "${ECHO_T}${WARN_CFLAGS}${WERROR_CFLAGS}" >&6
2457 fi
2458
2459
2460 # Put a plausible default for CC_FOR_BUILD in Makefile.
2461 if test "x$cross_compiling" = "xno" -a "x$host" != "xi386-windows"; then
2462 AR_FOR_BUILD='$(AR)'
2463 AR_FLAGS_FOR_BUILD='$(AR_FLAGS)'
2464 CC_FOR_BUILD='$(CC)'
2465 CFLAGS_FOR_BUILD='$(CFLAGS)'
2466 RANLIB_FOR_BUILD='$(RANLIB)'
2467 LIBIBERTY_LIB=../../libiberty/libiberty.a
2468 else
2469 AR_FOR_BUILD=${AR_FOR_BUILD-ar}
2470 AR_FLAGS_FOR_BUILD=${AR_FLAGS_FOR_BUILD-rc}
2471 CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
2472 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-"-g"}
2473 RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
2474 LIBIBERTY_LIB=
2475 fi
2476
2477
2478 # Make sure we can run config.sub.
2479 $ac_config_sub sun4 >/dev/null 2>&1 ||
2480 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2481 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2482 { (exit 1); exit 1; }; }
2483
2484 echo "$as_me:$LINENO: checking build system type" >&5
2485 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2486 if test "${ac_cv_build+set}" = set; then
2487 echo $ECHO_N "(cached) $ECHO_C" >&6
2488 else
2489 ac_cv_build_alias=$build_alias
2490 test -z "$ac_cv_build_alias" &&
2491 ac_cv_build_alias=`$ac_config_guess`
2492 test -z "$ac_cv_build_alias" &&
2493 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2494 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2495 { (exit 1); exit 1; }; }
2496 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2497 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2498 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2499 { (exit 1); exit 1; }; }
2500
2501 fi
2502 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2503 echo "${ECHO_T}$ac_cv_build" >&6
2504 build=$ac_cv_build
2505 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2506 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2507 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2508
2509
2510 echo "$as_me:$LINENO: checking host system type" >&5
2511 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2512 if test "${ac_cv_host+set}" = set; then
2513 echo $ECHO_N "(cached) $ECHO_C" >&6
2514 else
2515 ac_cv_host_alias=$host_alias
2516 test -z "$ac_cv_host_alias" &&
2517 ac_cv_host_alias=$ac_cv_build_alias
2518 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2519 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2520 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2521 { (exit 1); exit 1; }; }
2522
2523 fi
2524 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2525 echo "${ECHO_T}$ac_cv_host" >&6
2526 host=$ac_cv_host
2527 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2528 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2529 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2530
2531
2532 echo "$as_me:$LINENO: checking target system type" >&5
2533 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2534 if test "${ac_cv_target+set}" = set; then
2535 echo $ECHO_N "(cached) $ECHO_C" >&6
2536 else
2537 ac_cv_target_alias=$target_alias
2538 test "x$ac_cv_target_alias" = "x" &&
2539 ac_cv_target_alias=$ac_cv_host_alias
2540 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2541 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2542 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2543 { (exit 1); exit 1; }; }
2544
2545 fi
2546 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2547 echo "${ECHO_T}$ac_cv_target" >&6
2548 target=$ac_cv_target
2549 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2550 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2551 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2552
2553
2554 # The aliases save the names the user supplied, while $host etc.
2555 # will get canonicalized.
2556 test -n "$target_alias" &&
2557 test "$program_prefix$program_suffix$program_transform_name" = \
2558 NONENONEs,x,x, &&
2559 program_prefix=${target_alias}-
2560 test "$program_prefix" != NONE &&
2561 program_transform_name="s,^,$program_prefix,;$program_transform_name"
2562 # Use a double $ so make ignores it.
2563 test "$program_suffix" != NONE &&
2564 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2565 # Double any \ or $. echo might interpret backslashes.
2566 # By default was `s,x,x', remove it if useless.
2567 cat <<\_ACEOF >conftest.sed
2568 s/[\\$]/&&/g;s/;s,x,x,$//
2569 _ACEOF
2570 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2571 rm conftest.sed
2572
2573
2574 . ${srcdir}/../../bfd/configure.host
2575
2576 ac_config_headers="$ac_config_headers config.h:config.in"
2577
2578
2579 ac_ext=c
2580 ac_cpp='$CPP $CPPFLAGS'
2581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2584 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2585 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2586 # On Suns, sometimes $CPP names a directory.
2587 if test -n "$CPP" && test -d "$CPP"; then
2588 CPP=
2589 fi
2590 if test -z "$CPP"; then
2591 if test "${ac_cv_prog_CPP+set}" = set; then
2592 echo $ECHO_N "(cached) $ECHO_C" >&6
2593 else
2594 # Double quotes because CPP needs to be expanded
2595 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2596 do
2597 ac_preproc_ok=false
2598 for ac_c_preproc_warn_flag in '' yes
2599 do
2600 # Use a header file that comes with gcc, so configuring glibc
2601 # with a fresh cross-compiler works.
2602 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2603 # <limits.h> exists even on freestanding compilers.
2604 # On the NeXT, cc -E runs the code through the compiler's parser,
2605 # not just through cpp. "Syntax error" is here to catch this case.
2606 cat >conftest.$ac_ext <<_ACEOF
2607 /* confdefs.h. */
2608 _ACEOF
2609 cat confdefs.h >>conftest.$ac_ext
2610 cat >>conftest.$ac_ext <<_ACEOF
2611 /* end confdefs.h. */
2612 #ifdef __STDC__
2613 # include <limits.h>
2614 #else
2615 # include <assert.h>
2616 #endif
2617 Syntax error
2618 _ACEOF
2619 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2620 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2621 ac_status=$?
2622 grep -v '^ *+' conftest.er1 >conftest.err
2623 rm -f conftest.er1
2624 cat conftest.err >&5
2625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626 (exit $ac_status); } >/dev/null; then
2627 if test -s conftest.err; then
2628 ac_cpp_err=$ac_c_preproc_warn_flag
2629 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2630 else
2631 ac_cpp_err=
2632 fi
2633 else
2634 ac_cpp_err=yes
2635 fi
2636 if test -z "$ac_cpp_err"; then
2637 :
2638 else
2639 echo "$as_me: failed program was:" >&5
2640 sed 's/^/| /' conftest.$ac_ext >&5
2641
2642 # Broken: fails on valid input.
2643 continue
2644 fi
2645 rm -f conftest.err conftest.$ac_ext
2646
2647 # OK, works on sane cases. Now check whether non-existent headers
2648 # can be detected and how.
2649 cat >conftest.$ac_ext <<_ACEOF
2650 /* confdefs.h. */
2651 _ACEOF
2652 cat confdefs.h >>conftest.$ac_ext
2653 cat >>conftest.$ac_ext <<_ACEOF
2654 /* end confdefs.h. */
2655 #include <ac_nonexistent.h>
2656 _ACEOF
2657 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2658 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2659 ac_status=$?
2660 grep -v '^ *+' conftest.er1 >conftest.err
2661 rm -f conftest.er1
2662 cat conftest.err >&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); } >/dev/null; then
2665 if test -s conftest.err; then
2666 ac_cpp_err=$ac_c_preproc_warn_flag
2667 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2668 else
2669 ac_cpp_err=
2670 fi
2671 else
2672 ac_cpp_err=yes
2673 fi
2674 if test -z "$ac_cpp_err"; then
2675 # Broken: success on invalid input.
2676 continue
2677 else
2678 echo "$as_me: failed program was:" >&5
2679 sed 's/^/| /' conftest.$ac_ext >&5
2680
2681 # Passes both tests.
2682 ac_preproc_ok=:
2683 break
2684 fi
2685 rm -f conftest.err conftest.$ac_ext
2686
2687 done
2688 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2689 rm -f conftest.err conftest.$ac_ext
2690 if $ac_preproc_ok; then
2691 break
2692 fi
2693
2694 done
2695 ac_cv_prog_CPP=$CPP
2696
2697 fi
2698 CPP=$ac_cv_prog_CPP
2699 else
2700 ac_cv_prog_CPP=$CPP
2701 fi
2702 echo "$as_me:$LINENO: result: $CPP" >&5
2703 echo "${ECHO_T}$CPP" >&6
2704 ac_preproc_ok=false
2705 for ac_c_preproc_warn_flag in '' yes
2706 do
2707 # Use a header file that comes with gcc, so configuring glibc
2708 # with a fresh cross-compiler works.
2709 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2710 # <limits.h> exists even on freestanding compilers.
2711 # On the NeXT, cc -E runs the code through the compiler's parser,
2712 # not just through cpp. "Syntax error" is here to catch this case.
2713 cat >conftest.$ac_ext <<_ACEOF
2714 /* confdefs.h. */
2715 _ACEOF
2716 cat confdefs.h >>conftest.$ac_ext
2717 cat >>conftest.$ac_ext <<_ACEOF
2718 /* end confdefs.h. */
2719 #ifdef __STDC__
2720 # include <limits.h>
2721 #else
2722 # include <assert.h>
2723 #endif
2724 Syntax error
2725 _ACEOF
2726 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2727 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2728 ac_status=$?
2729 grep -v '^ *+' conftest.er1 >conftest.err
2730 rm -f conftest.er1
2731 cat conftest.err >&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); } >/dev/null; then
2734 if test -s conftest.err; then
2735 ac_cpp_err=$ac_c_preproc_warn_flag
2736 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2737 else
2738 ac_cpp_err=
2739 fi
2740 else
2741 ac_cpp_err=yes
2742 fi
2743 if test -z "$ac_cpp_err"; then
2744 :
2745 else
2746 echo "$as_me: failed program was:" >&5
2747 sed 's/^/| /' conftest.$ac_ext >&5
2748
2749 # Broken: fails on valid input.
2750 continue
2751 fi
2752 rm -f conftest.err conftest.$ac_ext
2753
2754 # OK, works on sane cases. Now check whether non-existent headers
2755 # can be detected and how.
2756 cat >conftest.$ac_ext <<_ACEOF
2757 /* confdefs.h. */
2758 _ACEOF
2759 cat confdefs.h >>conftest.$ac_ext
2760 cat >>conftest.$ac_ext <<_ACEOF
2761 /* end confdefs.h. */
2762 #include <ac_nonexistent.h>
2763 _ACEOF
2764 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2765 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2766 ac_status=$?
2767 grep -v '^ *+' conftest.er1 >conftest.err
2768 rm -f conftest.er1
2769 cat conftest.err >&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); } >/dev/null; then
2772 if test -s conftest.err; then
2773 ac_cpp_err=$ac_c_preproc_warn_flag
2774 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2775 else
2776 ac_cpp_err=
2777 fi
2778 else
2779 ac_cpp_err=yes
2780 fi
2781 if test -z "$ac_cpp_err"; then
2782 # Broken: success on invalid input.
2783 continue
2784 else
2785 echo "$as_me: failed program was:" >&5
2786 sed 's/^/| /' conftest.$ac_ext >&5
2787
2788 # Passes both tests.
2789 ac_preproc_ok=:
2790 break
2791 fi
2792 rm -f conftest.err conftest.$ac_ext
2793
2794 done
2795 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2796 rm -f conftest.err conftest.$ac_ext
2797 if $ac_preproc_ok; then
2798 :
2799 else
2800 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2801 See \`config.log' for more details." >&5
2802 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2803 See \`config.log' for more details." >&2;}
2804 { (exit 1); exit 1; }; }
2805 fi
2806
2807 ac_ext=c
2808 ac_cpp='$CPP $CPPFLAGS'
2809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2812
2813
2814 echo "$as_me:$LINENO: checking for egrep" >&5
2815 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2816 if test "${ac_cv_prog_egrep+set}" = set; then
2817 echo $ECHO_N "(cached) $ECHO_C" >&6
2818 else
2819 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2820 then ac_cv_prog_egrep='grep -E'
2821 else ac_cv_prog_egrep='egrep'
2822 fi
2823 fi
2824 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2825 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2826 EGREP=$ac_cv_prog_egrep
2827
2828
2829 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2830 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2831 if test "${ac_cv_header_stdc+set}" = set; then
2832 echo $ECHO_N "(cached) $ECHO_C" >&6
2833 else
2834 cat >conftest.$ac_ext <<_ACEOF
2835 /* confdefs.h. */
2836 _ACEOF
2837 cat confdefs.h >>conftest.$ac_ext
2838 cat >>conftest.$ac_ext <<_ACEOF
2839 /* end confdefs.h. */
2840 #include <stdlib.h>
2841 #include <stdarg.h>
2842 #include <string.h>
2843 #include <float.h>
2844
2845 int
2846 main ()
2847 {
2848
2849 ;
2850 return 0;
2851 }
2852 _ACEOF
2853 rm -f conftest.$ac_objext
2854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2855 (eval $ac_compile) 2>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_objext'
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_header_stdc=yes
2876 else
2877 echo "$as_me: failed program was:" >&5
2878 sed 's/^/| /' conftest.$ac_ext >&5
2879
2880 ac_cv_header_stdc=no
2881 fi
2882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2883
2884 if test $ac_cv_header_stdc = yes; then
2885 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2886 cat >conftest.$ac_ext <<_ACEOF
2887 /* confdefs.h. */
2888 _ACEOF
2889 cat confdefs.h >>conftest.$ac_ext
2890 cat >>conftest.$ac_ext <<_ACEOF
2891 /* end confdefs.h. */
2892 #include <string.h>
2893
2894 _ACEOF
2895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2896 $EGREP "memchr" >/dev/null 2>&1; then
2897 :
2898 else
2899 ac_cv_header_stdc=no
2900 fi
2901 rm -f conftest*
2902
2903 fi
2904
2905 if test $ac_cv_header_stdc = yes; then
2906 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2907 cat >conftest.$ac_ext <<_ACEOF
2908 /* confdefs.h. */
2909 _ACEOF
2910 cat confdefs.h >>conftest.$ac_ext
2911 cat >>conftest.$ac_ext <<_ACEOF
2912 /* end confdefs.h. */
2913 #include <stdlib.h>
2914
2915 _ACEOF
2916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2917 $EGREP "free" >/dev/null 2>&1; then
2918 :
2919 else
2920 ac_cv_header_stdc=no
2921 fi
2922 rm -f conftest*
2923
2924 fi
2925
2926 if test $ac_cv_header_stdc = yes; then
2927 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2928 if test "$cross_compiling" = yes; then
2929 :
2930 else
2931 cat >conftest.$ac_ext <<_ACEOF
2932 /* confdefs.h. */
2933 _ACEOF
2934 cat confdefs.h >>conftest.$ac_ext
2935 cat >>conftest.$ac_ext <<_ACEOF
2936 /* end confdefs.h. */
2937 #include <ctype.h>
2938 #if ((' ' & 0x0FF) == 0x020)
2939 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2940 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2941 #else
2942 # define ISLOWER(c) \
2943 (('a' <= (c) && (c) <= 'i') \
2944 || ('j' <= (c) && (c) <= 'r') \
2945 || ('s' <= (c) && (c) <= 'z'))
2946 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2947 #endif
2948
2949 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2950 int
2951 main ()
2952 {
2953 int i;
2954 for (i = 0; i < 256; i++)
2955 if (XOR (islower (i), ISLOWER (i))
2956 || toupper (i) != TOUPPER (i))
2957 exit(2);
2958 exit (0);
2959 }
2960 _ACEOF
2961 rm -f conftest$ac_exeext
2962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2963 (eval $ac_link) 2>&5
2964 ac_status=$?
2965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2968 (eval $ac_try) 2>&5
2969 ac_status=$?
2970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971 (exit $ac_status); }; }; then
2972 :
2973 else
2974 echo "$as_me: program exited with status $ac_status" >&5
2975 echo "$as_me: failed program was:" >&5
2976 sed 's/^/| /' conftest.$ac_ext >&5
2977
2978 ( exit $ac_status )
2979 ac_cv_header_stdc=no
2980 fi
2981 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2982 fi
2983 fi
2984 fi
2985 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2986 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2987 if test $ac_cv_header_stdc = yes; then
2988
2989 cat >>confdefs.h <<\_ACEOF
2990 #define STDC_HEADERS 1
2991 _ACEOF
2992
2993 fi
2994
2995 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3006 inttypes.h stdint.h unistd.h
3007 do
3008 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3009 echo "$as_me:$LINENO: checking for $ac_header" >&5
3010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3012 echo $ECHO_N "(cached) $ECHO_C" >&6
3013 else
3014 cat >conftest.$ac_ext <<_ACEOF
3015 /* confdefs.h. */
3016 _ACEOF
3017 cat confdefs.h >>conftest.$ac_ext
3018 cat >>conftest.$ac_ext <<_ACEOF
3019 /* end confdefs.h. */
3020 $ac_includes_default
3021
3022 #include <$ac_header>
3023 _ACEOF
3024 rm -f conftest.$ac_objext
3025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3026 (eval $ac_compile) 2>conftest.er1
3027 ac_status=$?
3028 grep -v '^ *+' conftest.er1 >conftest.err
3029 rm -f conftest.er1
3030 cat conftest.err >&5
3031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3032 (exit $ac_status); } &&
3033 { ac_try='test -z "$ac_c_werror_flag"
3034 || test ! -s conftest.err'
3035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3036 (eval $ac_try) 2>&5
3037 ac_status=$?
3038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3039 (exit $ac_status); }; } &&
3040 { ac_try='test -s conftest.$ac_objext'
3041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3042 (eval $ac_try) 2>&5
3043 ac_status=$?
3044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3045 (exit $ac_status); }; }; then
3046 eval "$as_ac_Header=yes"
3047 else
3048 echo "$as_me: failed program was:" >&5
3049 sed 's/^/| /' conftest.$ac_ext >&5
3050
3051 eval "$as_ac_Header=no"
3052 fi
3053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3054 fi
3055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3056 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3057 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3058 cat >>confdefs.h <<_ACEOF
3059 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3060 _ACEOF
3061
3062 fi
3063
3064 done
3065
3066
3067
3068
3069
3070
3071
3072
3073 for ac_header in stdlib.h string.h strings.h sys/stat.h sys/types.h unistd.h
3074 do
3075 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3077 echo "$as_me:$LINENO: checking for $ac_header" >&5
3078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3079 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3080 echo $ECHO_N "(cached) $ECHO_C" >&6
3081 fi
3082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3083 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3084 else
3085 # Is the header compilable?
3086 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3087 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3088 cat >conftest.$ac_ext <<_ACEOF
3089 /* confdefs.h. */
3090 _ACEOF
3091 cat confdefs.h >>conftest.$ac_ext
3092 cat >>conftest.$ac_ext <<_ACEOF
3093 /* end confdefs.h. */
3094 $ac_includes_default
3095 #include <$ac_header>
3096 _ACEOF
3097 rm -f conftest.$ac_objext
3098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3099 (eval $ac_compile) 2>conftest.er1
3100 ac_status=$?
3101 grep -v '^ *+' conftest.er1 >conftest.err
3102 rm -f conftest.er1
3103 cat conftest.err >&5
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); } &&
3106 { ac_try='test -z "$ac_c_werror_flag"
3107 || test ! -s conftest.err'
3108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3109 (eval $ac_try) 2>&5
3110 ac_status=$?
3111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112 (exit $ac_status); }; } &&
3113 { ac_try='test -s conftest.$ac_objext'
3114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3115 (eval $ac_try) 2>&5
3116 ac_status=$?
3117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118 (exit $ac_status); }; }; then
3119 ac_header_compiler=yes
3120 else
3121 echo "$as_me: failed program was:" >&5
3122 sed 's/^/| /' conftest.$ac_ext >&5
3123
3124 ac_header_compiler=no
3125 fi
3126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3127 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3128 echo "${ECHO_T}$ac_header_compiler" >&6
3129
3130 # Is the header present?
3131 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3132 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3133 cat >conftest.$ac_ext <<_ACEOF
3134 /* confdefs.h. */
3135 _ACEOF
3136 cat confdefs.h >>conftest.$ac_ext
3137 cat >>conftest.$ac_ext <<_ACEOF
3138 /* end confdefs.h. */
3139 #include <$ac_header>
3140 _ACEOF
3141 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3142 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3143 ac_status=$?
3144 grep -v '^ *+' conftest.er1 >conftest.err
3145 rm -f conftest.er1
3146 cat conftest.err >&5
3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); } >/dev/null; then
3149 if test -s conftest.err; then
3150 ac_cpp_err=$ac_c_preproc_warn_flag
3151 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3152 else
3153 ac_cpp_err=
3154 fi
3155 else
3156 ac_cpp_err=yes
3157 fi
3158 if test -z "$ac_cpp_err"; then
3159 ac_header_preproc=yes
3160 else
3161 echo "$as_me: failed program was:" >&5
3162 sed 's/^/| /' conftest.$ac_ext >&5
3163
3164 ac_header_preproc=no
3165 fi
3166 rm -f conftest.err conftest.$ac_ext
3167 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3168 echo "${ECHO_T}$ac_header_preproc" >&6
3169
3170 # So? What about this header?
3171 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3172 yes:no: )
3173 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3174 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3175 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3176 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3177 ac_header_preproc=yes
3178 ;;
3179 no:yes:* )
3180 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3181 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3182 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3183 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3184 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3185 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3186 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3187 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3188 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3189 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3190 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3191 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3192 (
3193 cat <<\_ASBOX
3194 ## ------------------------------------------ ##
3195 ## Report this to the AC_PACKAGE_NAME lists. ##
3196 ## ------------------------------------------ ##
3197 _ASBOX
3198 ) |
3199 sed "s/^/$as_me: WARNING: /" >&2
3200 ;;
3201 esac
3202 echo "$as_me:$LINENO: checking for $ac_header" >&5
3203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3205 echo $ECHO_N "(cached) $ECHO_C" >&6
3206 else
3207 eval "$as_ac_Header=\$ac_header_preproc"
3208 fi
3209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3210 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3211
3212 fi
3213 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3214 cat >>confdefs.h <<_ACEOF
3215 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3216 _ACEOF
3217
3218 fi
3219
3220 done
3221
3222
3223
3224
3225
3226
3227 ac_header_dirent=no
3228 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
3229 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3230 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
3231 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
3232 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3233 echo $ECHO_N "(cached) $ECHO_C" >&6
3234 else
3235 cat >conftest.$ac_ext <<_ACEOF
3236 /* confdefs.h. */
3237 _ACEOF
3238 cat confdefs.h >>conftest.$ac_ext
3239 cat >>conftest.$ac_ext <<_ACEOF
3240 /* end confdefs.h. */
3241 #include <sys/types.h>
3242 #include <$ac_hdr>
3243
3244 int
3245 main ()
3246 {
3247 if ((DIR *) 0)
3248 return 0;
3249 ;
3250 return 0;
3251 }
3252 _ACEOF
3253 rm -f conftest.$ac_objext
3254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3255 (eval $ac_compile) 2>conftest.er1
3256 ac_status=$?
3257 grep -v '^ *+' conftest.er1 >conftest.err
3258 rm -f conftest.er1
3259 cat conftest.err >&5
3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261 (exit $ac_status); } &&
3262 { ac_try='test -z "$ac_c_werror_flag"
3263 || test ! -s conftest.err'
3264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3265 (eval $ac_try) 2>&5
3266 ac_status=$?
3267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268 (exit $ac_status); }; } &&
3269 { ac_try='test -s conftest.$ac_objext'
3270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3271 (eval $ac_try) 2>&5
3272 ac_status=$?
3273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274 (exit $ac_status); }; }; then
3275 eval "$as_ac_Header=yes"
3276 else
3277 echo "$as_me: failed program was:" >&5
3278 sed 's/^/| /' conftest.$ac_ext >&5
3279
3280 eval "$as_ac_Header=no"
3281 fi
3282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3283 fi
3284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3285 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3286 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3287 cat >>confdefs.h <<_ACEOF
3288 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
3289 _ACEOF
3290
3291 ac_header_dirent=$ac_hdr; break
3292 fi
3293
3294 done
3295 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3296 if test $ac_header_dirent = dirent.h; then
3297 echo "$as_me:$LINENO: checking for library containing opendir" >&5
3298 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3299 if test "${ac_cv_search_opendir+set}" = set; then
3300 echo $ECHO_N "(cached) $ECHO_C" >&6
3301 else
3302 ac_func_search_save_LIBS=$LIBS
3303 ac_cv_search_opendir=no
3304 cat >conftest.$ac_ext <<_ACEOF
3305 /* confdefs.h. */
3306 _ACEOF
3307 cat confdefs.h >>conftest.$ac_ext
3308 cat >>conftest.$ac_ext <<_ACEOF
3309 /* end confdefs.h. */
3310
3311 /* Override any gcc2 internal prototype to avoid an error. */
3312 #ifdef __cplusplus
3313 extern "C"
3314 #endif
3315 /* We use char because int might match the return type of a gcc2
3316 builtin and then its argument prototype would still apply. */
3317 char opendir ();
3318 int
3319 main ()
3320 {
3321 opendir ();
3322 ;
3323 return 0;
3324 }
3325 _ACEOF
3326 rm -f conftest.$ac_objext conftest$ac_exeext
3327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3328 (eval $ac_link) 2>conftest.er1
3329 ac_status=$?
3330 grep -v '^ *+' conftest.er1 >conftest.err
3331 rm -f conftest.er1
3332 cat conftest.err >&5
3333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3334 (exit $ac_status); } &&
3335 { ac_try='test -z "$ac_c_werror_flag"
3336 || test ! -s conftest.err'
3337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3338 (eval $ac_try) 2>&5
3339 ac_status=$?
3340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341 (exit $ac_status); }; } &&
3342 { ac_try='test -s conftest$ac_exeext'
3343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3344 (eval $ac_try) 2>&5
3345 ac_status=$?
3346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3347 (exit $ac_status); }; }; then
3348 ac_cv_search_opendir="none required"
3349 else
3350 echo "$as_me: failed program was:" >&5
3351 sed 's/^/| /' conftest.$ac_ext >&5
3352
3353 fi
3354 rm -f conftest.err conftest.$ac_objext \
3355 conftest$ac_exeext conftest.$ac_ext
3356 if test "$ac_cv_search_opendir" = no; then
3357 for ac_lib in dir; do
3358 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3359 cat >conftest.$ac_ext <<_ACEOF
3360 /* confdefs.h. */
3361 _ACEOF
3362 cat confdefs.h >>conftest.$ac_ext
3363 cat >>conftest.$ac_ext <<_ACEOF
3364 /* end confdefs.h. */
3365
3366 /* Override any gcc2 internal prototype to avoid an error. */
3367 #ifdef __cplusplus
3368 extern "C"
3369 #endif
3370 /* We use char because int might match the return type of a gcc2
3371 builtin and then its argument prototype would still apply. */
3372 char opendir ();
3373 int
3374 main ()
3375 {
3376 opendir ();
3377 ;
3378 return 0;
3379 }
3380 _ACEOF
3381 rm -f conftest.$ac_objext conftest$ac_exeext
3382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3383 (eval $ac_link) 2>conftest.er1
3384 ac_status=$?
3385 grep -v '^ *+' conftest.er1 >conftest.err
3386 rm -f conftest.er1
3387 cat conftest.err >&5
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); } &&
3390 { ac_try='test -z "$ac_c_werror_flag"
3391 || test ! -s conftest.err'
3392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3393 (eval $ac_try) 2>&5
3394 ac_status=$?
3395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396 (exit $ac_status); }; } &&
3397 { ac_try='test -s conftest$ac_exeext'
3398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3399 (eval $ac_try) 2>&5
3400 ac_status=$?
3401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402 (exit $ac_status); }; }; then
3403 ac_cv_search_opendir="-l$ac_lib"
3404 break
3405 else
3406 echo "$as_me: failed program was:" >&5
3407 sed 's/^/| /' conftest.$ac_ext >&5
3408
3409 fi
3410 rm -f conftest.err conftest.$ac_objext \
3411 conftest$ac_exeext conftest.$ac_ext
3412 done
3413 fi
3414 LIBS=$ac_func_search_save_LIBS
3415 fi
3416 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3417 echo "${ECHO_T}$ac_cv_search_opendir" >&6
3418 if test "$ac_cv_search_opendir" != no; then
3419 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
3420
3421 fi
3422
3423 else
3424 echo "$as_me:$LINENO: checking for library containing opendir" >&5
3425 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3426 if test "${ac_cv_search_opendir+set}" = set; then
3427 echo $ECHO_N "(cached) $ECHO_C" >&6
3428 else
3429 ac_func_search_save_LIBS=$LIBS
3430 ac_cv_search_opendir=no
3431 cat >conftest.$ac_ext <<_ACEOF
3432 /* confdefs.h. */
3433 _ACEOF
3434 cat confdefs.h >>conftest.$ac_ext
3435 cat >>conftest.$ac_ext <<_ACEOF
3436 /* end confdefs.h. */
3437
3438 /* Override any gcc2 internal prototype to avoid an error. */
3439 #ifdef __cplusplus
3440 extern "C"
3441 #endif
3442 /* We use char because int might match the return type of a gcc2
3443 builtin and then its argument prototype would still apply. */
3444 char opendir ();
3445 int
3446 main ()
3447 {
3448 opendir ();
3449 ;
3450 return 0;
3451 }
3452 _ACEOF
3453 rm -f conftest.$ac_objext conftest$ac_exeext
3454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3455 (eval $ac_link) 2>conftest.er1
3456 ac_status=$?
3457 grep -v '^ *+' conftest.er1 >conftest.err
3458 rm -f conftest.er1
3459 cat conftest.err >&5
3460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461 (exit $ac_status); } &&
3462 { ac_try='test -z "$ac_c_werror_flag"
3463 || test ! -s conftest.err'
3464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3465 (eval $ac_try) 2>&5
3466 ac_status=$?
3467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3468 (exit $ac_status); }; } &&
3469 { ac_try='test -s conftest$ac_exeext'
3470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3471 (eval $ac_try) 2>&5
3472 ac_status=$?
3473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3474 (exit $ac_status); }; }; then
3475 ac_cv_search_opendir="none required"
3476 else
3477 echo "$as_me: failed program was:" >&5
3478 sed 's/^/| /' conftest.$ac_ext >&5
3479
3480 fi
3481 rm -f conftest.err conftest.$ac_objext \
3482 conftest$ac_exeext conftest.$ac_ext
3483 if test "$ac_cv_search_opendir" = no; then
3484 for ac_lib in x; do
3485 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3486 cat >conftest.$ac_ext <<_ACEOF
3487 /* confdefs.h. */
3488 _ACEOF
3489 cat confdefs.h >>conftest.$ac_ext
3490 cat >>conftest.$ac_ext <<_ACEOF
3491 /* end confdefs.h. */
3492
3493 /* Override any gcc2 internal prototype to avoid an error. */
3494 #ifdef __cplusplus
3495 extern "C"
3496 #endif
3497 /* We use char because int might match the return type of a gcc2
3498 builtin and then its argument prototype would still apply. */
3499 char opendir ();
3500 int
3501 main ()
3502 {
3503 opendir ();
3504 ;
3505 return 0;
3506 }
3507 _ACEOF
3508 rm -f conftest.$ac_objext conftest$ac_exeext
3509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3510 (eval $ac_link) 2>conftest.er1
3511 ac_status=$?
3512 grep -v '^ *+' conftest.er1 >conftest.err
3513 rm -f conftest.er1
3514 cat conftest.err >&5
3515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3516 (exit $ac_status); } &&
3517 { ac_try='test -z "$ac_c_werror_flag"
3518 || test ! -s conftest.err'
3519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3520 (eval $ac_try) 2>&5
3521 ac_status=$?
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); }; } &&
3524 { ac_try='test -s conftest$ac_exeext'
3525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3526 (eval $ac_try) 2>&5
3527 ac_status=$?
3528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529 (exit $ac_status); }; }; then
3530 ac_cv_search_opendir="-l$ac_lib"
3531 break
3532 else
3533 echo "$as_me: failed program was:" >&5
3534 sed 's/^/| /' conftest.$ac_ext >&5
3535
3536 fi
3537 rm -f conftest.err conftest.$ac_objext \
3538 conftest$ac_exeext conftest.$ac_ext
3539 done
3540 fi
3541 LIBS=$ac_func_search_save_LIBS
3542 fi
3543 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3544 echo "${ECHO_T}$ac_cv_search_opendir" >&6
3545 if test "$ac_cv_search_opendir" != no; then
3546 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
3547
3548 fi
3549
3550 fi
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562 if test -n "$ac_tool_prefix"; then
3563 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3564 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3565 echo "$as_me:$LINENO: checking for $ac_word" >&5
3566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3567 if test "${ac_cv_prog_RANLIB+set}" = set; then
3568 echo $ECHO_N "(cached) $ECHO_C" >&6
3569 else
3570 if test -n "$RANLIB"; then
3571 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3572 else
3573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3574 for as_dir in $PATH
3575 do
3576 IFS=$as_save_IFS
3577 test -z "$as_dir" && as_dir=.
3578 for ac_exec_ext in '' $ac_executable_extensions; do
3579 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3580 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3582 break 2
3583 fi
3584 done
3585 done
3586
3587 fi
3588 fi
3589 RANLIB=$ac_cv_prog_RANLIB
3590 if test -n "$RANLIB"; then
3591 echo "$as_me:$LINENO: result: $RANLIB" >&5
3592 echo "${ECHO_T}$RANLIB" >&6
3593 else
3594 echo "$as_me:$LINENO: result: no" >&5
3595 echo "${ECHO_T}no" >&6
3596 fi
3597
3598 fi
3599 if test -z "$ac_cv_prog_RANLIB"; then
3600 ac_ct_RANLIB=$RANLIB
3601 # Extract the first word of "ranlib", so it can be a program name with args.
3602 set dummy ranlib; ac_word=$2
3603 echo "$as_me:$LINENO: checking for $ac_word" >&5
3604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3605 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3606 echo $ECHO_N "(cached) $ECHO_C" >&6
3607 else
3608 if test -n "$ac_ct_RANLIB"; then
3609 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3610 else
3611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3612 for as_dir in $PATH
3613 do
3614 IFS=$as_save_IFS
3615 test -z "$as_dir" && as_dir=.
3616 for ac_exec_ext in '' $ac_executable_extensions; do
3617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3618 ac_cv_prog_ac_ct_RANLIB="ranlib"
3619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3620 break 2
3621 fi
3622 done
3623 done
3624
3625 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3626 fi
3627 fi
3628 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3629 if test -n "$ac_ct_RANLIB"; then
3630 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3631 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3632 else
3633 echo "$as_me:$LINENO: result: no" >&5
3634 echo "${ECHO_T}no" >&6
3635 fi
3636
3637 RANLIB=$ac_ct_RANLIB
3638 else
3639 RANLIB="$ac_cv_prog_RANLIB"
3640 fi
3641
3642
3643 ac_config_files="$ac_config_files Makefile"
3644 ac_config_commands="$ac_config_commands default"
3645 cat >confcache <<\_ACEOF
3646 # This file is a shell script that caches the results of configure
3647 # tests run on this system so they can be shared between configure
3648 # scripts and configure runs, see configure's option --config-cache.
3649 # It is not useful on other systems. If it contains results you don't
3650 # want to keep, you may remove or edit it.
3651 #
3652 # config.status only pays attention to the cache file if you give it
3653 # the --recheck option to rerun configure.
3654 #
3655 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3656 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3657 # following values.
3658
3659 _ACEOF
3660
3661 # The following way of writing the cache mishandles newlines in values,
3662 # but we know of no workaround that is simple, portable, and efficient.
3663 # So, don't put newlines in cache variables' values.
3664 # Ultrix sh set writes to stderr and can't be redirected directly,
3665 # and sets the high bit in the cache file unless we assign to the vars.
3666 {
3667 (set) 2>&1 |
3668 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3669 *ac_space=\ *)
3670 # `set' does not quote correctly, so add quotes (double-quote
3671 # substitution turns \\\\ into \\, and sed turns \\ into \).
3672 sed -n \
3673 "s/'/'\\\\''/g;
3674 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3675 ;;
3676 *)
3677 # `set' quotes correctly as required by POSIX, so do not add quotes.
3678 sed -n \
3679 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3680 ;;
3681 esac;
3682 } |
3683 sed '
3684 t clear
3685 : clear
3686 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3687 t end
3688 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3689 : end' >>confcache
3690 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3691 if test -w $cache_file; then
3692 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3693 cat confcache >$cache_file
3694 else
3695 echo "not updating unwritable cache $cache_file"
3696 fi
3697 fi
3698 rm -f confcache
3699
3700 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3701 # Let make expand exec_prefix.
3702 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3703
3704 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3705 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3706 # trailing colons and then remove the whole line if VPATH becomes empty
3707 # (actually we leave an empty line to preserve line numbers).
3708 if test "x$srcdir" = x.; then
3709 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3710 s/:*\$(srcdir):*/:/;
3711 s/:*\${srcdir}:*/:/;
3712 s/:*@srcdir@:*/:/;
3713 s/^\([^=]*=[ ]*\):*/\1/;
3714 s/:*$//;
3715 s/^[^=]*=[ ]*$//;
3716 }'
3717 fi
3718
3719 DEFS=-DHAVE_CONFIG_H
3720
3721 ac_libobjs=
3722 ac_ltlibobjs=
3723 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3724 # 1. Remove the extension, and $U if already installed.
3725 ac_i=`echo "$ac_i" |
3726 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3727 # 2. Add them.
3728 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3729 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3730 done
3731 LIBOBJS=$ac_libobjs
3732
3733 LTLIBOBJS=$ac_ltlibobjs
3734
3735
3736
3737 : ${CONFIG_STATUS=./config.status}
3738 ac_clean_files_save=$ac_clean_files
3739 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3740 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3741 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3742 cat >$CONFIG_STATUS <<_ACEOF
3743 #! $SHELL
3744 # Generated by $as_me.
3745 # Run this file to recreate the current configuration.
3746 # Compiler output produced by configure, useful for debugging
3747 # configure, is in config.log if it exists.
3748
3749 debug=false
3750 ac_cs_recheck=false
3751 ac_cs_silent=false
3752 SHELL=\${CONFIG_SHELL-$SHELL}
3753 _ACEOF
3754
3755 cat >>$CONFIG_STATUS <<\_ACEOF
3756 ## --------------------- ##
3757 ## M4sh Initialization. ##
3758 ## --------------------- ##
3759
3760 # Be Bourne compatible
3761 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3762 emulate sh
3763 NULLCMD=:
3764 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3765 # is contrary to our usage. Disable this feature.
3766 alias -g '${1+"$@"}'='"$@"'
3767 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3768 set -o posix
3769 fi
3770 DUALCASE=1; export DUALCASE # for MKS sh
3771
3772 # Support unset when possible.
3773 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3774 as_unset=unset
3775 else
3776 as_unset=false
3777 fi
3778
3779
3780 # Work around bugs in pre-3.0 UWIN ksh.
3781 $as_unset ENV MAIL MAILPATH
3782 PS1='$ '
3783 PS2='> '
3784 PS4='+ '
3785
3786 # NLS nuisances.
3787 for as_var in \
3788 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3789 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3790 LC_TELEPHONE LC_TIME
3791 do
3792 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3793 eval $as_var=C; export $as_var
3794 else
3795 $as_unset $as_var
3796 fi
3797 done
3798
3799 # Required to use basename.
3800 if expr a : '\(a\)' >/dev/null 2>&1; then
3801 as_expr=expr
3802 else
3803 as_expr=false
3804 fi
3805
3806 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3807 as_basename=basename
3808 else
3809 as_basename=false
3810 fi
3811
3812
3813 # Name of the executable.
3814 as_me=`$as_basename "$0" ||
3815 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3816 X"$0" : 'X\(//\)$' \| \
3817 X"$0" : 'X\(/\)$' \| \
3818 . : '\(.\)' 2>/dev/null ||
3819 echo X/"$0" |
3820 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3821 /^X\/\(\/\/\)$/{ s//\1/; q; }
3822 /^X\/\(\/\).*/{ s//\1/; q; }
3823 s/.*/./; q'`
3824
3825
3826 # PATH needs CR, and LINENO needs CR and PATH.
3827 # Avoid depending upon Character Ranges.
3828 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3829 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3830 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3831 as_cr_digits='0123456789'
3832 as_cr_alnum=$as_cr_Letters$as_cr_digits
3833
3834 # The user is always right.
3835 if test "${PATH_SEPARATOR+set}" != set; then
3836 echo "#! /bin/sh" >conf$$.sh
3837 echo "exit 0" >>conf$$.sh
3838 chmod +x conf$$.sh
3839 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3840 PATH_SEPARATOR=';'
3841 else
3842 PATH_SEPARATOR=:
3843 fi
3844 rm -f conf$$.sh
3845 fi
3846
3847
3848 as_lineno_1=$LINENO
3849 as_lineno_2=$LINENO
3850 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3851 test "x$as_lineno_1" != "x$as_lineno_2" &&
3852 test "x$as_lineno_3" = "x$as_lineno_2" || {
3853 # Find who we are. Look in the path if we contain no path at all
3854 # relative or not.
3855 case $0 in
3856 *[\\/]* ) as_myself=$0 ;;
3857 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3858 for as_dir in $PATH
3859 do
3860 IFS=$as_save_IFS
3861 test -z "$as_dir" && as_dir=.
3862 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3863 done
3864
3865 ;;
3866 esac
3867 # We did not find ourselves, most probably we were run as `sh COMMAND'
3868 # in which case we are not to be found in the path.
3869 if test "x$as_myself" = x; then
3870 as_myself=$0
3871 fi
3872 if test ! -f "$as_myself"; then
3873 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3874 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3875 { (exit 1); exit 1; }; }
3876 fi
3877 case $CONFIG_SHELL in
3878 '')
3879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3880 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3881 do
3882 IFS=$as_save_IFS
3883 test -z "$as_dir" && as_dir=.
3884 for as_base in sh bash ksh sh5; do
3885 case $as_dir in
3886 /*)
3887 if ("$as_dir/$as_base" -c '
3888 as_lineno_1=$LINENO
3889 as_lineno_2=$LINENO
3890 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3891 test "x$as_lineno_1" != "x$as_lineno_2" &&
3892 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3893 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3894 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3895 CONFIG_SHELL=$as_dir/$as_base
3896 export CONFIG_SHELL
3897 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3898 fi;;
3899 esac
3900 done
3901 done
3902 ;;
3903 esac
3904
3905 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3906 # uniformly replaced by the line number. The first 'sed' inserts a
3907 # line-number line before each line; the second 'sed' does the real
3908 # work. The second script uses 'N' to pair each line-number line
3909 # with the numbered line, and appends trailing '-' during
3910 # substitution so that $LINENO is not a special case at line end.
3911 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3912 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3913 sed '=' <$as_myself |
3914 sed '
3915 N
3916 s,$,-,
3917 : loop
3918 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3919 t loop
3920 s,-$,,
3921 s,^['$as_cr_digits']*\n,,
3922 ' >$as_me.lineno &&
3923 chmod +x $as_me.lineno ||
3924 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3925 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3926 { (exit 1); exit 1; }; }
3927
3928 # Don't try to exec as it changes $[0], causing all sort of problems
3929 # (the dirname of $[0] is not the place where we might find the
3930 # original and so on. Autoconf is especially sensible to this).
3931 . ./$as_me.lineno
3932 # Exit status is that of the last command.
3933 exit
3934 }
3935
3936
3937 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3938 *c*,-n*) ECHO_N= ECHO_C='
3939 ' ECHO_T=' ' ;;
3940 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3941 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3942 esac
3943
3944 if expr a : '\(a\)' >/dev/null 2>&1; then
3945 as_expr=expr
3946 else
3947 as_expr=false
3948 fi
3949
3950 rm -f conf$$ conf$$.exe conf$$.file
3951 echo >conf$$.file
3952 if ln -s conf$$.file conf$$ 2>/dev/null; then
3953 # We could just check for DJGPP; but this test a) works b) is more generic
3954 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3955 if test -f conf$$.exe; then
3956 # Don't use ln at all; we don't have any links
3957 as_ln_s='cp -p'
3958 else
3959 as_ln_s='ln -s'
3960 fi
3961 elif ln conf$$.file conf$$ 2>/dev/null; then
3962 as_ln_s=ln
3963 else
3964 as_ln_s='cp -p'
3965 fi
3966 rm -f conf$$ conf$$.exe conf$$.file
3967
3968 if mkdir -p . 2>/dev/null; then
3969 as_mkdir_p=:
3970 else
3971 test -d ./-p && rmdir ./-p
3972 as_mkdir_p=false
3973 fi
3974
3975 as_executable_p="test -f"
3976
3977 # Sed expression to map a string onto a valid CPP name.
3978 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3979
3980 # Sed expression to map a string onto a valid variable name.
3981 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3982
3983
3984 # IFS
3985 # We need space, tab and new line, in precisely that order.
3986 as_nl='
3987 '
3988 IFS=" $as_nl"
3989
3990 # CDPATH.
3991 $as_unset CDPATH
3992
3993 exec 6>&1
3994
3995 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3996 # report actual input values of CONFIG_FILES etc. instead of their
3997 # values after options handling. Logging --version etc. is OK.
3998 exec 5>>config.log
3999 {
4000 echo
4001 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4002 ## Running $as_me. ##
4003 _ASBOX
4004 } >&5
4005 cat >&5 <<_CSEOF
4006
4007 This file was extended by $as_me, which was
4008 generated by GNU Autoconf 2.59. Invocation command line was
4009
4010 CONFIG_FILES = $CONFIG_FILES
4011 CONFIG_HEADERS = $CONFIG_HEADERS
4012 CONFIG_LINKS = $CONFIG_LINKS
4013 CONFIG_COMMANDS = $CONFIG_COMMANDS
4014 $ $0 $@
4015
4016 _CSEOF
4017 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4018 echo >&5
4019 _ACEOF
4020
4021 # Files that config.status was made for.
4022 if test -n "$ac_config_files"; then
4023 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4024 fi
4025
4026 if test -n "$ac_config_headers"; then
4027 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4028 fi
4029
4030 if test -n "$ac_config_links"; then
4031 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4032 fi
4033
4034 if test -n "$ac_config_commands"; then
4035 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4036 fi
4037
4038 cat >>$CONFIG_STATUS <<\_ACEOF
4039
4040 ac_cs_usage="\
4041 \`$as_me' instantiates files from templates according to the
4042 current configuration.
4043
4044 Usage: $0 [OPTIONS] [FILE]...
4045
4046 -h, --help print this help, then exit
4047 -V, --version print version number, then exit
4048 -q, --quiet do not print progress messages
4049 -d, --debug don't remove temporary files
4050 --recheck update $as_me by reconfiguring in the same conditions
4051 --file=FILE[:TEMPLATE]
4052 instantiate the configuration file FILE
4053 --header=FILE[:TEMPLATE]
4054 instantiate the configuration header FILE
4055
4056 Configuration files:
4057 $config_files
4058
4059 Configuration headers:
4060 $config_headers
4061
4062 Configuration commands:
4063 $config_commands
4064
4065 Report bugs to <bug-autoconf@gnu.org>."
4066 _ACEOF
4067
4068 cat >>$CONFIG_STATUS <<_ACEOF
4069 ac_cs_version="\\
4070 config.status
4071 configured by $0, generated by GNU Autoconf 2.59,
4072 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4073
4074 Copyright (C) 2003 Free Software Foundation, Inc.
4075 This config.status script is free software; the Free Software Foundation
4076 gives unlimited permission to copy, distribute and modify it."
4077 srcdir=$srcdir
4078 INSTALL="$INSTALL"
4079 _ACEOF
4080
4081 cat >>$CONFIG_STATUS <<\_ACEOF
4082 # If no file are specified by the user, then we need to provide default
4083 # value. By we need to know if files were specified by the user.
4084 ac_need_defaults=:
4085 while test $# != 0
4086 do
4087 case $1 in
4088 --*=*)
4089 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4090 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4091 ac_shift=:
4092 ;;
4093 -*)
4094 ac_option=$1
4095 ac_optarg=$2
4096 ac_shift=shift
4097 ;;
4098 *) # This is not an option, so the user has probably given explicit
4099 # arguments.
4100 ac_option=$1
4101 ac_need_defaults=false;;
4102 esac
4103
4104 case $ac_option in
4105 # Handling of the options.
4106 _ACEOF
4107 cat >>$CONFIG_STATUS <<\_ACEOF
4108 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4109 ac_cs_recheck=: ;;
4110 --version | --vers* | -V )
4111 echo "$ac_cs_version"; exit 0 ;;
4112 --he | --h)
4113 # Conflict between --help and --header
4114 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4115 Try \`$0 --help' for more information." >&5
4116 echo "$as_me: error: ambiguous option: $1
4117 Try \`$0 --help' for more information." >&2;}
4118 { (exit 1); exit 1; }; };;
4119 --help | --hel | -h )
4120 echo "$ac_cs_usage"; exit 0 ;;
4121 --debug | --d* | -d )
4122 debug=: ;;
4123 --file | --fil | --fi | --f )
4124 $ac_shift
4125 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4126 ac_need_defaults=false;;
4127 --header | --heade | --head | --hea )
4128 $ac_shift
4129 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4130 ac_need_defaults=false;;
4131 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4132 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4133 ac_cs_silent=: ;;
4134
4135 # This is an error.
4136 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4137 Try \`$0 --help' for more information." >&5
4138 echo "$as_me: error: unrecognized option: $1
4139 Try \`$0 --help' for more information." >&2;}
4140 { (exit 1); exit 1; }; } ;;
4141
4142 *) ac_config_targets="$ac_config_targets $1" ;;
4143
4144 esac
4145 shift
4146 done
4147
4148 ac_configure_extra_args=
4149
4150 if $ac_cs_silent; then
4151 exec 6>/dev/null
4152 ac_configure_extra_args="$ac_configure_extra_args --silent"
4153 fi
4154
4155 _ACEOF
4156 cat >>$CONFIG_STATUS <<_ACEOF
4157 if \$ac_cs_recheck; then
4158 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4159 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4160 fi
4161
4162 _ACEOF
4163
4164
4165
4166
4167
4168 cat >>$CONFIG_STATUS <<\_ACEOF
4169 for ac_config_target in $ac_config_targets
4170 do
4171 case "$ac_config_target" in
4172 # Handling of arguments.
4173 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4174 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
4175 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
4176 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4177 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4178 { (exit 1); exit 1; }; };;
4179 esac
4180 done
4181
4182 # If the user did not use the arguments to specify the items to instantiate,
4183 # then the envvar interface is used. Set only those that are not.
4184 # We use the long form for the default assignment because of an extremely
4185 # bizarre bug on SunOS 4.1.3.
4186 if $ac_need_defaults; then
4187 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4188 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4189 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4190 fi
4191
4192 # Have a temporary directory for convenience. Make it in the build tree
4193 # simply because there is no reason to put it here, and in addition,
4194 # creating and moving files from /tmp can sometimes cause problems.
4195 # Create a temporary directory, and hook for its removal unless debugging.
4196 $debug ||
4197 {
4198 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4199 trap '{ (exit 1); exit 1; }' 1 2 13 15
4200 }
4201
4202 # Create a (secure) tmp directory for tmp files.
4203
4204 {
4205 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4206 test -n "$tmp" && test -d "$tmp"
4207 } ||
4208 {
4209 tmp=./confstat$$-$RANDOM
4210 (umask 077 && mkdir $tmp)
4211 } ||
4212 {
4213 echo "$me: cannot create a temporary directory in ." >&2
4214 { (exit 1); exit 1; }
4215 }
4216
4217 _ACEOF
4218
4219 cat >>$CONFIG_STATUS <<_ACEOF
4220
4221 #
4222 # CONFIG_FILES section.
4223 #
4224
4225 # No need to generate the scripts if there are no CONFIG_FILES.
4226 # This happens for instance when ./config.status config.h
4227 if test -n "\$CONFIG_FILES"; then
4228 # Protect against being on the right side of a sed subst in config.status.
4229 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4230 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4231 s,@sim_environment@,$sim_environment,;t t
4232 s,@sim_alignment@,$sim_alignment,;t t
4233 s,@sim_assert@,$sim_assert,;t t
4234 s,@sim_bitsize@,$sim_bitsize,;t t
4235 s,@sim_endian@,$sim_endian,;t t
4236 s,@sim_hostendian@,$sim_hostendian,;t t
4237 s,@sim_float@,$sim_float,;t t
4238 s,@sim_scache@,$sim_scache,;t t
4239 s,@sim_default_model@,$sim_default_model,;t t
4240 s,@sim_hw_cflags@,$sim_hw_cflags,;t t
4241 s,@sim_hw_objs@,$sim_hw_objs,;t t
4242 s,@sim_hw@,$sim_hw,;t t
4243 s,@sim_inline@,$sim_inline,;t t
4244 s,@sim_packages@,$sim_packages,;t t
4245 s,@sim_regparm@,$sim_regparm,;t t
4246 s,@sim_reserved_bits@,$sim_reserved_bits,;t t
4247 s,@sim_smp@,$sim_smp,;t t
4248 s,@sim_stdcall@,$sim_stdcall,;t t
4249 s,@sim_xor_endian@,$sim_xor_endian,;t t
4250 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
4251 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
4252 s,@SHELL@,$SHELL,;t t
4253 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4254 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4255 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4256 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4257 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4258 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4259 s,@exec_prefix@,$exec_prefix,;t t
4260 s,@prefix@,$prefix,;t t
4261 s,@program_transform_name@,$program_transform_name,;t t
4262 s,@bindir@,$bindir,;t t
4263 s,@sbindir@,$sbindir,;t t
4264 s,@libexecdir@,$libexecdir,;t t
4265 s,@datadir@,$datadir,;t t
4266 s,@sysconfdir@,$sysconfdir,;t t
4267 s,@sharedstatedir@,$sharedstatedir,;t t
4268 s,@localstatedir@,$localstatedir,;t t
4269 s,@libdir@,$libdir,;t t
4270 s,@includedir@,$includedir,;t t
4271 s,@oldincludedir@,$oldincludedir,;t t
4272 s,@infodir@,$infodir,;t t
4273 s,@mandir@,$mandir,;t t
4274 s,@build_alias@,$build_alias,;t t
4275 s,@host_alias@,$host_alias,;t t
4276 s,@target_alias@,$target_alias,;t t
4277 s,@DEFS@,$DEFS,;t t
4278 s,@ECHO_C@,$ECHO_C,;t t
4279 s,@ECHO_N@,$ECHO_N,;t t
4280 s,@ECHO_T@,$ECHO_T,;t t
4281 s,@LIBS@,$LIBS,;t t
4282 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4283 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4284 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4285 s,@CC@,$CC,;t t
4286 s,@CFLAGS@,$CFLAGS,;t t
4287 s,@LDFLAGS@,$LDFLAGS,;t t
4288 s,@CPPFLAGS@,$CPPFLAGS,;t t
4289 s,@ac_ct_CC@,$ac_ct_CC,;t t
4290 s,@EXEEXT@,$EXEEXT,;t t
4291 s,@OBJEXT@,$OBJEXT,;t t
4292 s,@build@,$build,;t t
4293 s,@build_cpu@,$build_cpu,;t t
4294 s,@build_vendor@,$build_vendor,;t t
4295 s,@build_os@,$build_os,;t t
4296 s,@host@,$host,;t t
4297 s,@host_cpu@,$host_cpu,;t t
4298 s,@host_vendor@,$host_vendor,;t t
4299 s,@host_os@,$host_os,;t t
4300 s,@target@,$target,;t t
4301 s,@target_cpu@,$target_cpu,;t t
4302 s,@target_vendor@,$target_vendor,;t t
4303 s,@target_os@,$target_os,;t t
4304 s,@CPP@,$CPP,;t t
4305 s,@EGREP@,$EGREP,;t t
4306 s,@AR_FOR_BUILD@,$AR_FOR_BUILD,;t t
4307 s,@AR_FLAGS_FOR_BUILD@,$AR_FLAGS_FOR_BUILD,;t t
4308 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
4309 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
4310 s,@RANLIB_FOR_BUILD@,$RANLIB_FOR_BUILD,;t t
4311 s,@LIBIBERTY_LIB@,$LIBIBERTY_LIB,;t t
4312 s,@AR@,$AR,;t t
4313 s,@RANLIB@,$RANLIB,;t t
4314 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4315 s,@LIBOBJS@,$LIBOBJS,;t t
4316 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4317 CEOF
4318
4319 _ACEOF
4320
4321 cat >>$CONFIG_STATUS <<\_ACEOF
4322 # Split the substitutions into bite-sized pieces for seds with
4323 # small command number limits, like on Digital OSF/1 and HP-UX.
4324 ac_max_sed_lines=48
4325 ac_sed_frag=1 # Number of current file.
4326 ac_beg=1 # First line for current file.
4327 ac_end=$ac_max_sed_lines # Line after last line for current file.
4328 ac_more_lines=:
4329 ac_sed_cmds=
4330 while $ac_more_lines; do
4331 if test $ac_beg -gt 1; then
4332 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4333 else
4334 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4335 fi
4336 if test ! -s $tmp/subs.frag; then
4337 ac_more_lines=false
4338 else
4339 # The purpose of the label and of the branching condition is to
4340 # speed up the sed processing (if there are no `@' at all, there
4341 # is no need to browse any of the substitutions).
4342 # These are the two extra sed commands mentioned above.
4343 (echo ':t
4344 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4345 if test -z "$ac_sed_cmds"; then
4346 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4347 else
4348 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4349 fi
4350 ac_sed_frag=`expr $ac_sed_frag + 1`
4351 ac_beg=$ac_end
4352 ac_end=`expr $ac_end + $ac_max_sed_lines`
4353 fi
4354 done
4355 if test -z "$ac_sed_cmds"; then
4356 ac_sed_cmds=cat
4357 fi
4358 fi # test -n "$CONFIG_FILES"
4359
4360 _ACEOF
4361 cat >>$CONFIG_STATUS <<\_ACEOF
4362 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4363 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4364 case $ac_file in
4365 - | *:- | *:-:* ) # input from stdin
4366 cat >$tmp/stdin
4367 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4368 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4369 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4370 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4371 * ) ac_file_in=$ac_file.in ;;
4372 esac
4373
4374 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4375 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4376 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4377 X"$ac_file" : 'X\(//\)[^/]' \| \
4378 X"$ac_file" : 'X\(//\)$' \| \
4379 X"$ac_file" : 'X\(/\)' \| \
4380 . : '\(.\)' 2>/dev/null ||
4381 echo X"$ac_file" |
4382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4383 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4384 /^X\(\/\/\)$/{ s//\1/; q; }
4385 /^X\(\/\).*/{ s//\1/; q; }
4386 s/.*/./; q'`
4387 { if $as_mkdir_p; then
4388 mkdir -p "$ac_dir"
4389 else
4390 as_dir="$ac_dir"
4391 as_dirs=
4392 while test ! -d "$as_dir"; do
4393 as_dirs="$as_dir $as_dirs"
4394 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4395 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4396 X"$as_dir" : 'X\(//\)[^/]' \| \
4397 X"$as_dir" : 'X\(//\)$' \| \
4398 X"$as_dir" : 'X\(/\)' \| \
4399 . : '\(.\)' 2>/dev/null ||
4400 echo X"$as_dir" |
4401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4402 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4403 /^X\(\/\/\)$/{ s//\1/; q; }
4404 /^X\(\/\).*/{ s//\1/; q; }
4405 s/.*/./; q'`
4406 done
4407 test ! -n "$as_dirs" || mkdir $as_dirs
4408 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4409 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4410 { (exit 1); exit 1; }; }; }
4411
4412 ac_builddir=.
4413
4414 if test "$ac_dir" != .; then
4415 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4416 # A "../" for each directory in $ac_dir_suffix.
4417 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4418 else
4419 ac_dir_suffix= ac_top_builddir=
4420 fi
4421
4422 case $srcdir in
4423 .) # No --srcdir option. We are building in place.
4424 ac_srcdir=.
4425 if test -z "$ac_top_builddir"; then
4426 ac_top_srcdir=.
4427 else
4428 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4429 fi ;;
4430 [\\/]* | ?:[\\/]* ) # Absolute path.
4431 ac_srcdir=$srcdir$ac_dir_suffix;
4432 ac_top_srcdir=$srcdir ;;
4433 *) # Relative path.
4434 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4435 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4436 esac
4437
4438 # Do not use `cd foo && pwd` to compute absolute paths, because
4439 # the directories may not exist.
4440 case `pwd` in
4441 .) ac_abs_builddir="$ac_dir";;
4442 *)
4443 case "$ac_dir" in
4444 .) ac_abs_builddir=`pwd`;;
4445 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4446 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4447 esac;;
4448 esac
4449 case $ac_abs_builddir in
4450 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4451 *)
4452 case ${ac_top_builddir}. in
4453 .) ac_abs_top_builddir=$ac_abs_builddir;;
4454 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4455 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4456 esac;;
4457 esac
4458 case $ac_abs_builddir in
4459 .) ac_abs_srcdir=$ac_srcdir;;
4460 *)
4461 case $ac_srcdir in
4462 .) ac_abs_srcdir=$ac_abs_builddir;;
4463 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4464 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4465 esac;;
4466 esac
4467 case $ac_abs_builddir in
4468 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4469 *)
4470 case $ac_top_srcdir in
4471 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4472 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4473 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4474 esac;;
4475 esac
4476
4477
4478 case $INSTALL in
4479 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4480 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4481 esac
4482
4483 if test x"$ac_file" != x-; then
4484 { echo "$as_me:$LINENO: creating $ac_file" >&5
4485 echo "$as_me: creating $ac_file" >&6;}
4486 rm -f "$ac_file"
4487 fi
4488 # Let's still pretend it is `configure' which instantiates (i.e., don't
4489 # use $as_me), people would be surprised to read:
4490 # /* config.h. Generated by config.status. */
4491 if test x"$ac_file" = x-; then
4492 configure_input=
4493 else
4494 configure_input="$ac_file. "
4495 fi
4496 configure_input=$configure_input"Generated from `echo $ac_file_in |
4497 sed 's,.*/,,'` by configure."
4498
4499 # First look for the input files in the build tree, otherwise in the
4500 # src tree.
4501 ac_file_inputs=`IFS=:
4502 for f in $ac_file_in; do
4503 case $f in
4504 -) echo $tmp/stdin ;;
4505 [\\/$]*)
4506 # Absolute (can't be DOS-style, as IFS=:)
4507 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4508 echo "$as_me: error: cannot find input file: $f" >&2;}
4509 { (exit 1); exit 1; }; }
4510 echo "$f";;
4511 *) # Relative
4512 if test -f "$f"; then
4513 # Build tree
4514 echo "$f"
4515 elif test -f "$srcdir/$f"; then
4516 # Source tree
4517 echo "$srcdir/$f"
4518 else
4519 # /dev/null tree
4520 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4521 echo "$as_me: error: cannot find input file: $f" >&2;}
4522 { (exit 1); exit 1; }; }
4523 fi;;
4524 esac
4525 done` || { (exit 1); exit 1; }
4526 _ACEOF
4527 cat >>$CONFIG_STATUS <<_ACEOF
4528 sed "$ac_vpsub
4529 $extrasub
4530 _ACEOF
4531 cat >>$CONFIG_STATUS <<\_ACEOF
4532 :t
4533 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4534 s,@configure_input@,$configure_input,;t t
4535 s,@srcdir@,$ac_srcdir,;t t
4536 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4537 s,@top_srcdir@,$ac_top_srcdir,;t t
4538 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4539 s,@builddir@,$ac_builddir,;t t
4540 s,@abs_builddir@,$ac_abs_builddir,;t t
4541 s,@top_builddir@,$ac_top_builddir,;t t
4542 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4543 s,@INSTALL@,$ac_INSTALL,;t t
4544 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4545 rm -f $tmp/stdin
4546 if test x"$ac_file" != x-; then
4547 mv $tmp/out $ac_file
4548 else
4549 cat $tmp/out
4550 rm -f $tmp/out
4551 fi
4552
4553 done
4554 _ACEOF
4555 cat >>$CONFIG_STATUS <<\_ACEOF
4556
4557 #
4558 # CONFIG_HEADER section.
4559 #
4560
4561 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4562 # NAME is the cpp macro being defined and VALUE is the value it is being given.
4563 #
4564 # ac_d sets the value in "#define NAME VALUE" lines.
4565 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4566 ac_dB='[ ].*$,\1#\2'
4567 ac_dC=' '
4568 ac_dD=',;t'
4569 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4570 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4571 ac_uB='$,\1#\2define\3'
4572 ac_uC=' '
4573 ac_uD=',;t'
4574
4575 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
4576 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4577 case $ac_file in
4578 - | *:- | *:-:* ) # input from stdin
4579 cat >$tmp/stdin
4580 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4581 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4582 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4583 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4584 * ) ac_file_in=$ac_file.in ;;
4585 esac
4586
4587 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
4588 echo "$as_me: creating $ac_file" >&6;}
4589
4590 # First look for the input files in the build tree, otherwise in the
4591 # src tree.
4592 ac_file_inputs=`IFS=:
4593 for f in $ac_file_in; do
4594 case $f in
4595 -) echo $tmp/stdin ;;
4596 [\\/$]*)
4597 # Absolute (can't be DOS-style, as IFS=:)
4598 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4599 echo "$as_me: error: cannot find input file: $f" >&2;}
4600 { (exit 1); exit 1; }; }
4601 # Do quote $f, to prevent DOS paths from being IFS'd.
4602 echo "$f";;
4603 *) # Relative
4604 if test -f "$f"; then
4605 # Build tree
4606 echo "$f"
4607 elif test -f "$srcdir/$f"; then
4608 # Source tree
4609 echo "$srcdir/$f"
4610 else
4611 # /dev/null tree
4612 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4613 echo "$as_me: error: cannot find input file: $f" >&2;}
4614 { (exit 1); exit 1; }; }
4615 fi;;
4616 esac
4617 done` || { (exit 1); exit 1; }
4618 # Remove the trailing spaces.
4619 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4620
4621 _ACEOF
4622
4623 # Transform confdefs.h into two sed scripts, `conftest.defines' and
4624 # `conftest.undefs', that substitutes the proper values into
4625 # config.h.in to produce config.h. The first handles `#define'
4626 # templates, and the second `#undef' templates.
4627 # And first: Protect against being on the right side of a sed subst in
4628 # config.status. Protect against being in an unquoted here document
4629 # in config.status.
4630 rm -f conftest.defines conftest.undefs
4631 # Using a here document instead of a string reduces the quoting nightmare.
4632 # Putting comments in sed scripts is not portable.
4633 #
4634 # `end' is used to avoid that the second main sed command (meant for
4635 # 0-ary CPP macros) applies to n-ary macro definitions.
4636 # See the Autoconf documentation for `clear'.
4637 cat >confdef2sed.sed <<\_ACEOF
4638 s/[\\&,]/\\&/g
4639 s,[\\$`],\\&,g
4640 t clear
4641 : clear
4642 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4643 t end
4644 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4645 : end
4646 _ACEOF
4647 # If some macros were called several times there might be several times
4648 # the same #defines, which is useless. Nevertheless, we may not want to
4649 # sort them, since we want the *last* AC-DEFINE to be honored.
4650 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4651 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4652 rm -f confdef2sed.sed
4653
4654 # This sed command replaces #undef with comments. This is necessary, for
4655 # example, in the case of _POSIX_SOURCE, which is predefined and required
4656 # on some systems where configure will not decide to define it.
4657 cat >>conftest.undefs <<\_ACEOF
4658 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4659 _ACEOF
4660
4661 # Break up conftest.defines because some shells have a limit on the size
4662 # of here documents, and old seds have small limits too (100 cmds).
4663 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4664 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4665 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4666 echo ' :' >>$CONFIG_STATUS
4667 rm -f conftest.tail
4668 while grep . conftest.defines >/dev/null
4669 do
4670 # Write a limited-size here document to $tmp/defines.sed.
4671 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4672 # Speed up: don't consider the non `#define' lines.
4673 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4674 # Work around the forget-to-reset-the-flag bug.
4675 echo 't clr' >>$CONFIG_STATUS
4676 echo ': clr' >>$CONFIG_STATUS
4677 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4678 echo 'CEOF
4679 sed -f $tmp/defines.sed $tmp/in >$tmp/out
4680 rm -f $tmp/in
4681 mv $tmp/out $tmp/in
4682 ' >>$CONFIG_STATUS
4683 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4684 rm -f conftest.defines
4685 mv conftest.tail conftest.defines
4686 done
4687 rm -f conftest.defines
4688 echo ' fi # grep' >>$CONFIG_STATUS
4689 echo >>$CONFIG_STATUS
4690
4691 # Break up conftest.undefs because some shells have a limit on the size
4692 # of here documents, and old seds have small limits too (100 cmds).
4693 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4694 rm -f conftest.tail
4695 while grep . conftest.undefs >/dev/null
4696 do
4697 # Write a limited-size here document to $tmp/undefs.sed.
4698 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4699 # Speed up: don't consider the non `#undef'
4700 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4701 # Work around the forget-to-reset-the-flag bug.
4702 echo 't clr' >>$CONFIG_STATUS
4703 echo ': clr' >>$CONFIG_STATUS
4704 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4705 echo 'CEOF
4706 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4707 rm -f $tmp/in
4708 mv $tmp/out $tmp/in
4709 ' >>$CONFIG_STATUS
4710 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4711 rm -f conftest.undefs
4712 mv conftest.tail conftest.undefs
4713 done
4714 rm -f conftest.undefs
4715
4716 cat >>$CONFIG_STATUS <<\_ACEOF
4717 # Let's still pretend it is `configure' which instantiates (i.e., don't
4718 # use $as_me), people would be surprised to read:
4719 # /* config.h. Generated by config.status. */
4720 if test x"$ac_file" = x-; then
4721 echo "/* Generated by configure. */" >$tmp/config.h
4722 else
4723 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4724 fi
4725 cat $tmp/in >>$tmp/config.h
4726 rm -f $tmp/in
4727 if test x"$ac_file" != x-; then
4728 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
4729 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4730 echo "$as_me: $ac_file is unchanged" >&6;}
4731 else
4732 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4733 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4734 X"$ac_file" : 'X\(//\)[^/]' \| \
4735 X"$ac_file" : 'X\(//\)$' \| \
4736 X"$ac_file" : 'X\(/\)' \| \
4737 . : '\(.\)' 2>/dev/null ||
4738 echo X"$ac_file" |
4739 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4740 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4741 /^X\(\/\/\)$/{ s//\1/; q; }
4742 /^X\(\/\).*/{ s//\1/; q; }
4743 s/.*/./; q'`
4744 { if $as_mkdir_p; then
4745 mkdir -p "$ac_dir"
4746 else
4747 as_dir="$ac_dir"
4748 as_dirs=
4749 while test ! -d "$as_dir"; do
4750 as_dirs="$as_dir $as_dirs"
4751 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4752 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4753 X"$as_dir" : 'X\(//\)[^/]' \| \
4754 X"$as_dir" : 'X\(//\)$' \| \
4755 X"$as_dir" : 'X\(/\)' \| \
4756 . : '\(.\)' 2>/dev/null ||
4757 echo X"$as_dir" |
4758 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4759 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4760 /^X\(\/\/\)$/{ s//\1/; q; }
4761 /^X\(\/\).*/{ s//\1/; q; }
4762 s/.*/./; q'`
4763 done
4764 test ! -n "$as_dirs" || mkdir $as_dirs
4765 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4766 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4767 { (exit 1); exit 1; }; }; }
4768
4769 rm -f $ac_file
4770 mv $tmp/config.h $ac_file
4771 fi
4772 else
4773 cat $tmp/config.h
4774 rm -f $tmp/config.h
4775 fi
4776 done
4777 _ACEOF
4778 cat >>$CONFIG_STATUS <<\_ACEOF
4779
4780 #
4781 # CONFIG_COMMANDS section.
4782 #
4783 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4784 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4785 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4786 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4787 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4788 X"$ac_dest" : 'X\(//\)[^/]' \| \
4789 X"$ac_dest" : 'X\(//\)$' \| \
4790 X"$ac_dest" : 'X\(/\)' \| \
4791 . : '\(.\)' 2>/dev/null ||
4792 echo X"$ac_dest" |
4793 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4794 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4795 /^X\(\/\/\)$/{ s//\1/; q; }
4796 /^X\(\/\).*/{ s//\1/; q; }
4797 s/.*/./; q'`
4798 { if $as_mkdir_p; then
4799 mkdir -p "$ac_dir"
4800 else
4801 as_dir="$ac_dir"
4802 as_dirs=
4803 while test ! -d "$as_dir"; do
4804 as_dirs="$as_dir $as_dirs"
4805 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4806 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4807 X"$as_dir" : 'X\(//\)[^/]' \| \
4808 X"$as_dir" : 'X\(//\)$' \| \
4809 X"$as_dir" : 'X\(/\)' \| \
4810 . : '\(.\)' 2>/dev/null ||
4811 echo X"$as_dir" |
4812 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4813 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4814 /^X\(\/\/\)$/{ s//\1/; q; }
4815 /^X\(\/\).*/{ s//\1/; q; }
4816 s/.*/./; q'`
4817 done
4818 test ! -n "$as_dirs" || mkdir $as_dirs
4819 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4820 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4821 { (exit 1); exit 1; }; }; }
4822
4823 ac_builddir=.
4824
4825 if test "$ac_dir" != .; then
4826 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4827 # A "../" for each directory in $ac_dir_suffix.
4828 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4829 else
4830 ac_dir_suffix= ac_top_builddir=
4831 fi
4832
4833 case $srcdir in
4834 .) # No --srcdir option. We are building in place.
4835 ac_srcdir=.
4836 if test -z "$ac_top_builddir"; then
4837 ac_top_srcdir=.
4838 else
4839 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4840 fi ;;
4841 [\\/]* | ?:[\\/]* ) # Absolute path.
4842 ac_srcdir=$srcdir$ac_dir_suffix;
4843 ac_top_srcdir=$srcdir ;;
4844 *) # Relative path.
4845 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4846 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4847 esac
4848
4849 # Do not use `cd foo && pwd` to compute absolute paths, because
4850 # the directories may not exist.
4851 case `pwd` in
4852 .) ac_abs_builddir="$ac_dir";;
4853 *)
4854 case "$ac_dir" in
4855 .) ac_abs_builddir=`pwd`;;
4856 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4857 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4858 esac;;
4859 esac
4860 case $ac_abs_builddir in
4861 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4862 *)
4863 case ${ac_top_builddir}. in
4864 .) ac_abs_top_builddir=$ac_abs_builddir;;
4865 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4866 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4867 esac;;
4868 esac
4869 case $ac_abs_builddir in
4870 .) ac_abs_srcdir=$ac_srcdir;;
4871 *)
4872 case $ac_srcdir in
4873 .) ac_abs_srcdir=$ac_abs_builddir;;
4874 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4875 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4876 esac;;
4877 esac
4878 case $ac_abs_builddir in
4879 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4880 *)
4881 case $ac_top_srcdir in
4882 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4883 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4884 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4885 esac;;
4886 esac
4887
4888
4889 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4890 echo "$as_me: executing $ac_dest commands" >&6;}
4891 case $ac_dest in
4892 default ) case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac ;;
4893 esac
4894 done
4895 _ACEOF
4896
4897 cat >>$CONFIG_STATUS <<\_ACEOF
4898
4899 { (exit 0); exit 0; }
4900 _ACEOF
4901 chmod +x $CONFIG_STATUS
4902 ac_clean_files=$ac_clean_files_save
4903
4904
4905 # configure is writing to config.log, and then calls config.status.
4906 # config.status does its own redirection, appending to config.log.
4907 # Unfortunately, on DOS this fails, as config.log is still kept open
4908 # by configure, so config.status won't be able to write to it; its
4909 # output is simply discarded. So we exec the FD to /dev/null,
4910 # effectively closing config.log, so it can be properly (re)opened and
4911 # appended to by config.status. When coming back to configure, we
4912 # need to make the FD available again.
4913 if test "$no_create" != yes; then
4914 ac_cs_success=:
4915 ac_config_status_args=
4916 test "$silent" = yes &&
4917 ac_config_status_args="$ac_config_status_args --quiet"
4918 exec 5>/dev/null
4919 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4920 exec 5>>config.log
4921 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4922 # would make configure fail if this is the last instruction.
4923 $ac_cs_success || { (exit 1); exit 1; }
4924 fi
4925
This page took 0.153098 seconds and 5 git commands to generate.