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