2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
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 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
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
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
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 \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
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 ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
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
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
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
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
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
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
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; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
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
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
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 |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
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; }; }
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).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe 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
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
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'"
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'"
235 # We need space, tab and new line, in precisely that order.
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`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
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}
267 # Identity of this package.
274 ac_unique_file
="Makefile.in"
275 ac_subdirs_all
="$ac_subdirs_all arm"
276 ac_subdirs_all
="$ac_subdirs_all avr"
277 ac_subdirs_all
="$ac_subdirs_all cr16"
278 ac_subdirs_all
="$ac_subdirs_all cris"
279 ac_subdirs_all
="$ac_subdirs_all d10v"
280 ac_subdirs_all
="$ac_subdirs_all frv"
281 ac_subdirs_all
="$ac_subdirs_all h8300"
282 ac_subdirs_all
="$ac_subdirs_all iq2000"
283 ac_subdirs_all
="$ac_subdirs_all lm32"
284 ac_subdirs_all
="$ac_subdirs_all m32c"
285 ac_subdirs_all
="$ac_subdirs_all m32r"
286 ac_subdirs_all
="$ac_subdirs_all m68hc11"
287 ac_subdirs_all
="$ac_subdirs_all mcore"
288 ac_subdirs_all
="$ac_subdirs_all mips"
289 ac_subdirs_all
="$ac_subdirs_all mn10300"
290 ac_subdirs_all
="$ac_subdirs_all moxie"
291 ac_subdirs_all
="$ac_subdirs_all sh64"
292 ac_subdirs_all
="$ac_subdirs_all sh"
293 ac_subdirs_all
="$ac_subdirs_all erc32"
294 ac_subdirs_all
="$ac_subdirs_all ppc"
295 ac_subdirs_all
="$ac_subdirs_all v850"
296 ac_subdirs_all
="$ac_subdirs_all testsuite"
297 ac_subdirs_all
="$ac_subdirs_all common"
298 ac_subdirs_all
="$ac_subdirs_all igen"
299 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AR ac_ct_AR RANLIB ac_ct_RANLIB build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os HDEFINES CC_FOR_BUILD CFLAGS_FOR_BUILD subdirs LIBOBJS LTLIBOBJS'
302 # Initialize some variables set by options.
304 ac_init_version
=false
305 # The variables have the same names as the options, with
306 # dashes changed to underlines.
314 program_transform_name
=s
,x
,x
,
322 # Installation directory options.
323 # These are left unexpanded so users can "make install exec_prefix=/foo"
324 # and all the variables that are supposed to be based on exec_prefix
325 # by default will actually change.
326 # Use braces instead of parens because sh, perl, etc. also accept them.
327 bindir
='${exec_prefix}/bin'
328 sbindir
='${exec_prefix}/sbin'
329 libexecdir
='${exec_prefix}/libexec'
330 datadir
='${prefix}/share'
331 sysconfdir
='${prefix}/etc'
332 sharedstatedir
='${prefix}/com'
333 localstatedir
='${prefix}/var'
334 libdir
='${exec_prefix}/lib'
335 includedir
='${prefix}/include'
336 oldincludedir
='/usr/include'
337 infodir
='${prefix}/info'
338 mandir
='${prefix}/man'
343 # If the previous option needs an argument, assign it.
344 if test -n "$ac_prev"; then
345 eval "$ac_prev=\$ac_option"
350 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
352 # Accept the important Cygnus configure options, so we can diagnose typos.
356 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
358 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
361 -build |
--build |
--buil |
--bui |
--bu)
362 ac_prev
=build_alias
;;
363 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
364 build_alias
=$ac_optarg ;;
366 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
367 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
368 ac_prev
=cache_file
;;
369 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
370 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
371 cache_file
=$ac_optarg ;;
374 cache_file
=config.cache
;;
376 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
378 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
380 datadir
=$ac_optarg ;;
382 -disable-* |
--disable-*)
383 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
384 # Reject names that are not valid shell variable names.
385 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
386 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
387 { (exit 1); exit 1; }; }
388 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
389 eval "enable_$ac_feature=no" ;;
391 -enable-* |
--enable-*)
392 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
393 # Reject names that are not valid shell variable names.
394 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
395 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
396 { (exit 1); exit 1; }; }
397 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
399 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
402 eval "enable_$ac_feature='$ac_optarg'" ;;
404 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
405 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
406 |
--exec |
--exe |
--ex)
407 ac_prev
=exec_prefix
;;
408 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
409 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
410 |
--exec=* |
--exe=* |
--ex=*)
411 exec_prefix
=$ac_optarg ;;
413 -gas |
--gas |
--ga |
--g)
414 # Obsolete; use --with-gas.
417 -help |
--help |
--hel |
--he |
-h)
419 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
420 ac_init_help
=recursive
;;
421 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
422 ac_init_help
=short
;;
424 -host |
--host |
--hos |
--ho)
425 ac_prev
=host_alias
;;
426 -host=* |
--host=* |
--hos=* |
--ho=*)
427 host_alias
=$ac_optarg ;;
429 -includedir |
--includedir |
--includedi |
--included |
--include \
430 |
--includ |
--inclu |
--incl |
--inc)
431 ac_prev
=includedir
;;
432 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
433 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
434 includedir
=$ac_optarg ;;
436 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
438 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
439 infodir
=$ac_optarg ;;
441 -libdir |
--libdir |
--libdi |
--libd)
443 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
446 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
447 |
--libexe |
--libex |
--libe)
448 ac_prev
=libexecdir
;;
449 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
450 |
--libexe=* |
--libex=* |
--libe=*)
451 libexecdir
=$ac_optarg ;;
453 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
454 |
--localstate |
--localstat |
--localsta |
--localst \
455 |
--locals |
--local |
--loca |
--loc |
--lo)
456 ac_prev
=localstatedir
;;
457 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
458 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
459 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
460 localstatedir
=$ac_optarg ;;
462 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
464 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
468 # Obsolete; use --without-fp.
471 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
472 |
--no-cr |
--no-c |
-n)
475 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
476 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
479 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
480 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
481 |
--oldin |
--oldi |
--old |
--ol |
--o)
482 ac_prev
=oldincludedir
;;
483 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
484 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
485 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
486 oldincludedir
=$ac_optarg ;;
488 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
490 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
493 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
494 |
--program-pre |
--program-pr |
--program-p)
495 ac_prev
=program_prefix
;;
496 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
497 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
498 program_prefix
=$ac_optarg ;;
500 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
501 |
--program-suf |
--program-su |
--program-s)
502 ac_prev
=program_suffix
;;
503 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
504 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
505 program_suffix
=$ac_optarg ;;
507 -program-transform-name |
--program-transform-name \
508 |
--program-transform-nam |
--program-transform-na \
509 |
--program-transform-n |
--program-transform- \
510 |
--program-transform |
--program-transfor \
511 |
--program-transfo |
--program-transf \
512 |
--program-trans |
--program-tran \
513 |
--progr-tra |
--program-tr |
--program-t)
514 ac_prev
=program_transform_name
;;
515 -program-transform-name=* |
--program-transform-name=* \
516 |
--program-transform-nam=* |
--program-transform-na=* \
517 |
--program-transform-n=* |
--program-transform-=* \
518 |
--program-transform=* |
--program-transfor=* \
519 |
--program-transfo=* |
--program-transf=* \
520 |
--program-trans=* |
--program-tran=* \
521 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
522 program_transform_name
=$ac_optarg ;;
524 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
525 |
-silent |
--silent |
--silen |
--sile |
--sil)
528 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
530 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
532 sbindir
=$ac_optarg ;;
534 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
535 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
536 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
538 ac_prev
=sharedstatedir
;;
539 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
540 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
541 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
543 sharedstatedir
=$ac_optarg ;;
545 -site |
--site |
--sit)
547 -site=* |
--site=* |
--sit=*)
550 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
552 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
555 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
556 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
557 ac_prev
=sysconfdir
;;
558 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
559 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
560 sysconfdir
=$ac_optarg ;;
562 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
563 ac_prev
=target_alias
;;
564 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
565 target_alias
=$ac_optarg ;;
567 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
570 -version |
--version |
--versio |
--versi |
--vers |
-V)
574 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
575 # Reject names that are not valid shell variable names.
576 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
577 { echo "$as_me: error: invalid package name: $ac_package" >&2
578 { (exit 1); exit 1; }; }
579 ac_package
=`echo $ac_package| sed 's/-/_/g'`
581 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
584 eval "with_$ac_package='$ac_optarg'" ;;
586 -without-* |
--without-*)
587 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package | sed 's/-/_/g'`
593 eval "with_$ac_package=no" ;;
596 # Obsolete; use --with-x.
599 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
600 |
--x-incl |
--x-inc |
--x-in |
--x-i)
601 ac_prev
=x_includes
;;
602 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
603 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
604 x_includes
=$ac_optarg ;;
606 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
607 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
608 ac_prev
=x_libraries
;;
609 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
610 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
611 x_libraries
=$ac_optarg ;;
613 -*) { echo "$as_me: error: unrecognized option: $ac_option
614 Try \`$0 --help' for more information." >&2
615 { (exit 1); exit 1; }; }
619 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
620 # Reject names that are not valid shell variable names.
621 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
622 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
623 { (exit 1); exit 1; }; }
624 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
625 eval "$ac_envvar='$ac_optarg'"
629 # FIXME: should be removed in autoconf 3.0.
630 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
631 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
632 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
633 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
639 if test -n "$ac_prev"; then
640 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
641 { echo "$as_me: error: missing argument to $ac_option" >&2
642 { (exit 1); exit 1; }; }
645 # Be sure to have absolute paths.
646 for ac_var
in exec_prefix prefix
648 eval ac_val
=$
`echo $ac_var`
650 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
651 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
652 { (exit 1); exit 1; }; };;
656 # Be sure to have absolute paths.
657 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
658 localstatedir libdir includedir oldincludedir infodir mandir
660 eval ac_val
=$
`echo $ac_var`
662 [\\/$
]* | ?
:[\\/]* ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # There might be people who depend on the old broken behavior: `$host'
669 # used to hold the argument of --host etc.
670 # FIXME: To remove some day.
675 # FIXME: To remove some day.
676 if test "x$host_alias" != x
; then
677 if test "x$build_alias" = x
; then
678 cross_compiling
=maybe
679 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
680 If a cross compiler is detected then cross compile mode will be used." >&2
681 elif test "x$build_alias" != "x$host_alias"; then
687 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
689 test "$silent" = yes && exec 6>/dev
/null
692 # Find the source files, if location was not specified.
693 if test -z "$srcdir"; then
694 ac_srcdir_defaulted
=yes
695 # Try the directory containing this script, then its parent.
696 ac_confdir
=`(dirname "$0") 2>/dev/null ||
697 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
698 X"$0" : 'X\(//\)[^/]' \| \
699 X"$0" : 'X\(//\)$' \| \
700 X"$0" : 'X\(/\)' \| \
701 . : '\(.\)' 2>/dev/null ||
703 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
704 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
705 /^X\(\/\/\)$/{ s//\1/; q; }
706 /^X\(\/\).*/{ s//\1/; q; }
709 if test ! -r $srcdir/$ac_unique_file; then
713 ac_srcdir_defaulted
=no
715 if test ! -r $srcdir/$ac_unique_file; then
716 if test "$ac_srcdir_defaulted" = yes; then
717 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
718 { (exit 1); exit 1; }; }
720 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
721 { (exit 1); exit 1; }; }
724 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
725 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
726 { (exit 1); exit 1; }; }
727 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
728 ac_env_build_alias_set
=${build_alias+set}
729 ac_env_build_alias_value
=$build_alias
730 ac_cv_env_build_alias_set
=${build_alias+set}
731 ac_cv_env_build_alias_value
=$build_alias
732 ac_env_host_alias_set
=${host_alias+set}
733 ac_env_host_alias_value
=$host_alias
734 ac_cv_env_host_alias_set
=${host_alias+set}
735 ac_cv_env_host_alias_value
=$host_alias
736 ac_env_target_alias_set
=${target_alias+set}
737 ac_env_target_alias_value
=$target_alias
738 ac_cv_env_target_alias_set
=${target_alias+set}
739 ac_cv_env_target_alias_value
=$target_alias
740 ac_env_CC_set
=${CC+set}
742 ac_cv_env_CC_set
=${CC+set}
743 ac_cv_env_CC_value
=$CC
744 ac_env_CFLAGS_set
=${CFLAGS+set}
745 ac_env_CFLAGS_value
=$CFLAGS
746 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
747 ac_cv_env_CFLAGS_value
=$CFLAGS
748 ac_env_LDFLAGS_set
=${LDFLAGS+set}
749 ac_env_LDFLAGS_value
=$LDFLAGS
750 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
751 ac_cv_env_LDFLAGS_value
=$LDFLAGS
752 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
753 ac_env_CPPFLAGS_value
=$CPPFLAGS
754 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
755 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
758 # Report the --help message.
760 if test "$ac_init_help" = "long"; then
761 # Omit some internal or obsolete options to make the list less imposing.
762 # This message is too long to be a string in the A/UX 3.1 sh.
764 \`configure' configures this package to adapt to many kinds of systems.
766 Usage: $0 [OPTION]... [VAR=VALUE]...
768 To assign environment variables (e.g., CC, CFLAGS...), specify them as
769 VAR=VALUE. See below for descriptions of some of the useful variables.
771 Defaults for the options are specified in brackets.
774 -h, --help display this help and exit
775 --help=short display options specific to this package
776 --help=recursive display the short help of all the included packages
777 -V, --version display version information and exit
778 -q, --quiet, --silent do not print \`checking...' messages
779 --cache-file=FILE cache test results in FILE [disabled]
780 -C, --config-cache alias for \`--cache-file=config.cache'
781 -n, --no-create do not create output files
782 --srcdir=DIR find the sources in DIR [configure dir or \`..']
787 Installation directories:
788 --prefix=PREFIX install architecture-independent files in PREFIX
790 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
793 By default, \`make install' will install all the files in
794 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
795 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
796 for instance \`--prefix=\$HOME'.
798 For better control, use the options below.
800 Fine tuning of the installation directories:
801 --bindir=DIR user executables [EPREFIX/bin]
802 --sbindir=DIR system admin executables [EPREFIX/sbin]
803 --libexecdir=DIR program executables [EPREFIX/libexec]
804 --datadir=DIR read-only architecture-independent data [PREFIX/share]
805 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
806 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
807 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
808 --libdir=DIR object code libraries [EPREFIX/lib]
809 --includedir=DIR C header files [PREFIX/include]
810 --oldincludedir=DIR C header files for non-gcc [/usr/include]
811 --infodir=DIR info documentation [PREFIX/info]
812 --mandir=DIR man documentation [PREFIX/man]
818 --program-prefix=PREFIX prepend PREFIX to installed program names
819 --program-suffix=SUFFIX append SUFFIX to installed program names
820 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
823 --build=BUILD configure
for building on BUILD
[guessed
]
824 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
825 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
829 if test -n "$ac_init_help"; then
834 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
835 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
838 Some influential environment variables
:
839 CC C compiler
command
840 CFLAGS C compiler flags
841 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
842 nonstandard directory
<lib dir
>
843 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
844 headers
in a nonstandard directory
<include dir
>
846 Use these variables to override the choices made by
`configure' or to help
847 it to find libraries and programs with nonstandard names/locations.
852 if test "$ac_init_help" = "recursive"; then
853 # If there are subdirs, report their specific --help.
855 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
856 test -d $ac_dir || continue
859 if test "$ac_dir" != .; then
860 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
861 # A "../" for each directory in $ac_dir_suffix.
862 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
864 ac_dir_suffix= ac_top_builddir=
868 .) # No --srcdir option. We are building in place.
870 if test -z "$ac_top_builddir"; then
873 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
875 [\\/]* | ?:[\\/]* ) # Absolute path.
876 ac_srcdir=$srcdir$ac_dir_suffix;
877 ac_top_srcdir=$srcdir ;;
879 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
880 ac_top_srcdir=$ac_top_builddir$srcdir ;;
883 # Do not use `cd foo
&& pwd` to compute absolute paths, because
884 # the directories may not exist.
886 .) ac_abs_builddir="$ac_dir";;
889 .) ac_abs_builddir=`pwd`;;
890 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
891 *) ac_abs_builddir=`pwd`/"$ac_dir";;
894 case $ac_abs_builddir in
895 .) ac_abs_top_builddir=${ac_top_builddir}.;;
897 case ${ac_top_builddir}. in
898 .) ac_abs_top_builddir=$ac_abs_builddir;;
899 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
900 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
903 case $ac_abs_builddir in
904 .) ac_abs_srcdir=$ac_srcdir;;
907 .) ac_abs_srcdir=$ac_abs_builddir;;
908 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
909 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
912 case $ac_abs_builddir in
913 .) ac_abs_top_srcdir=$ac_top_srcdir;;
915 case $ac_top_srcdir in
916 .) ac_abs_top_srcdir=$ac_abs_builddir;;
917 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
918 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
923 # Check for guested configure; otherwise get Cygnus style configure.
924 if test -f $ac_srcdir/configure.gnu; then
926 $SHELL $ac_srcdir/configure.gnu --help=recursive
927 elif test -f $ac_srcdir/configure; then
929 $SHELL $ac_srcdir/configure --help=recursive
930 elif test -f $ac_srcdir/configure.ac ||
931 test -f $ac_srcdir/configure.in; then
935 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
941 test -n "$ac_init_help" && exit 0
942 if $ac_init_version; then
945 Copyright (C) 2003 Free Software Foundation, Inc.
946 This configure script is free software; the Free Software Foundation
947 gives unlimited permission to copy, distribute and modify it.
953 This file contains any messages produced by compilers while
954 running configure, to aid debugging if configure makes a mistake.
956 It was created by $as_me, which was
957 generated by GNU Autoconf 2.59. Invocation command line was
968 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
969 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
970 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
971 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
972 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
974 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
975 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
977 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
978 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
979 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
980 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
981 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
982 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
983 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
991 test -z "$as_dir" && as_dir=.
1007 # Keep a trace of the command line.
1008 # Strip out --no-create and --no-recursion so they do not pile up.
1009 # Strip out --silent because we don't want to record it for future runs.
1010 # Also quote any args containing shell meta-characters.
1011 # Make two passes to allow for proper duplicate-argument suppression.
1016 ac_must_keep_next=false
1022 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1023 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1024 | -silent | --silent | --silen | --sile | --sil)
1026 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1027 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1030 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1032 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1033 if test $ac_must_keep_next = true; then
1034 ac_must_keep_next=false # Got value, back to normal.
1037 *=* | --config-cache | -C | -disable-* | --disable-* \
1038 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1039 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1040 | -with-* | --with-* | -without-* | --without-* | --x)
1041 case "$ac_configure_args0 " in
1042 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1045 -* ) ac_must_keep_next=true ;;
1048 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1049 # Get rid of the leading space.
1055 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1056 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1058 # When interrupted or exit'd, cleanup temporary files, and complete
1059 # config.log. We remove comments because anyway the quotes in there
1060 # would cause problems or look ugly.
1061 # WARNING: Be sure not to use single quotes in there, as some shells,
1062 # such as our DU 5.0 friend, will then `close
' the trap.
1063 trap 'exit_status
=$?
1064 # Save into config.log some information that might help in debugging.
1069 ## ---------------- ##
1070 ## Cache variables. ##
1071 ## ---------------- ##
1074 # The following way of writing the cache mishandles newlines in values,
1077 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1080 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1081 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1085 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1092 ## ----------------- ##
1093 ## Output variables. ##
1094 ## ----------------- ##
1097 for ac_var
in $ac_subst_vars
1099 eval ac_val
=$
`echo $ac_var`
1100 echo "$ac_var='"'"'$ac_val'"'"'"
1104 if test -n "$ac_subst_files"; then
1111 for ac_var
in $ac_subst_files
1113 eval ac_val
=$
`echo $ac_var`
1114 echo "$ac_var='"'"'$ac_val'"'"'"
1119 if test -s confdefs.h
; then
1126 sed "/^$/d" confdefs.h |
sort
1129 test "$ac_signal" != 0 &&
1130 echo "$as_me: caught signal $ac_signal"
1131 echo "$as_me: exit $exit_status"
1133 rm -f core
*.core
&&
1134 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1137 for ac_signal in 1 2 13 15; do
1138 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1142 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1143 rm -rf conftest* confdefs.h
1144 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1147 # Predefined preprocessor variables.
1149 cat >>confdefs.h <<_ACEOF
1150 #define PACKAGE_NAME "$PACKAGE_NAME"
1154 cat >>confdefs.h <<_ACEOF
1155 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1159 cat >>confdefs.h <<_ACEOF
1160 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1164 cat >>confdefs.h <<_ACEOF
1165 #define PACKAGE_STRING "$PACKAGE_STRING"
1169 cat >>confdefs.h <<_ACEOF
1170 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1174 # Let the site file select an alternate cache file if it wants to.
1175 # Prefer explicitly selected file to automatically selected ones.
1176 if test -z "$CONFIG_SITE"; then
1177 if test "x$prefix" != xNONE; then
1178 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1180 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1183 for ac_site_file in $CONFIG_SITE; do
1184 if test -r "$ac_site_file"; then
1185 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1186 echo "$as_me: loading site script $ac_site_file" >&6;}
1187 sed 's
/^
/|
/' "$ac_site_file" >&5
1192 if test -r "$cache_file"; then
1193 # Some versions of bash will fail to source /dev/null (special
1194 # files actually), so we avoid doing that.
1195 if test -f "$cache_file"; then
1196 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1197 echo "$as_me: loading cache $cache_file" >&6;}
1199 [\\/]* | ?:[\\/]* ) . $cache_file;;
1200 *) . ./$cache_file;;
1204 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1205 echo "$as_me: creating cache $cache_file" >&6;}
1209 # Check that the precious variables saved in the cache have kept the same
1211 ac_cache_corrupted=false
1212 for ac_var in `(set) 2>&1 |
1213 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1214 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1215 eval ac_new_set=\$ac_env_${ac_var}_set
1216 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1217 eval ac_new_val="\$ac_env_${ac_var}_value"
1218 case $ac_old_set,$ac_new_set in
1220 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1221 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1222 ac_cache_corrupted=: ;;
1224 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1225 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1226 ac_cache_corrupted=: ;;
1229 if test "x$ac_old_val" != "x$ac_new_val"; then
1230 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1231 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1232 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1233 echo "$as_me: former value: $ac_old_val" >&2;}
1234 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1235 echo "$as_me: current value: $ac_new_val" >&2;}
1236 ac_cache_corrupted=:
1239 # Pass precious variables to config.status.
1240 if test "$ac_new_set" = set; then
1242 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1243 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1244 *) ac_arg=$ac_var=$ac_new_val ;;
1246 case " $ac_configure_args " in
1247 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1248 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1252 if $ac_cache_corrupted; then
1253 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1254 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1255 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1256 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1257 { (exit 1); exit 1; }; }
1261 ac_cpp='$CPP $CPPFLAGS'
1262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1263 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1286 ac_cpp='$CPP $CPPFLAGS'
1287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1288 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1290 if test -n "$ac_tool_prefix"; then
1291 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1292 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1293 echo "$as_me:$LINENO: checking for $ac_word" >&5
1294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1295 if test "${ac_cv_prog_CC+set}" = set; then
1296 echo $ECHO_N "(cached) $ECHO_C" >&6
1298 if test -n "$CC"; then
1299 ac_cv_prog_CC="$CC" # Let the user override the test.
1301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1305 test -z "$as_dir" && as_dir=.
1306 for ac_exec_ext in '' $ac_executable_extensions; do
1307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1308 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1318 if test -n "$CC"; then
1319 echo "$as_me:$LINENO: result: $CC" >&5
1320 echo "${ECHO_T}$CC" >&6
1322 echo "$as_me:$LINENO: result: no" >&5
1323 echo "${ECHO_T}no" >&6
1327 if test -z "$ac_cv_prog_CC"; then
1329 # Extract the first word of "gcc", so it can be a program name with args.
1330 set dummy gcc; ac_word=$2
1331 echo "$as_me:$LINENO: checking for $ac_word" >&5
1332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1333 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1334 echo $ECHO_N "(cached) $ECHO_C" >&6
1336 if test -n "$ac_ct_CC"; then
1337 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1343 test -z "$as_dir" && as_dir=.
1344 for ac_exec_ext in '' $ac_executable_extensions; do
1345 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1346 ac_cv_prog_ac_ct_CC="gcc"
1347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1355 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1356 if test -n "$ac_ct_CC"; then
1357 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1358 echo "${ECHO_T}$ac_ct_CC" >&6
1360 echo "$as_me:$LINENO: result: no" >&5
1361 echo "${ECHO_T}no" >&6
1369 if test -z "$CC"; then
1370 if test -n "$ac_tool_prefix"; then
1371 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1372 set dummy ${ac_tool_prefix}cc; ac_word=$2
1373 echo "$as_me:$LINENO: checking for $ac_word" >&5
1374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1375 if test "${ac_cv_prog_CC+set}" = set; then
1376 echo $ECHO_N "(cached) $ECHO_C" >&6
1378 if test -n "$CC"; then
1379 ac_cv_prog_CC="$CC" # Let the user override the test.
1381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1385 test -z "$as_dir" && as_dir=.
1386 for ac_exec_ext in '' $ac_executable_extensions; do
1387 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1388 ac_cv_prog_CC="${ac_tool_prefix}cc"
1389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1398 if test -n "$CC"; then
1399 echo "$as_me:$LINENO: result: $CC" >&5
1400 echo "${ECHO_T}$CC" >&6
1402 echo "$as_me:$LINENO: result: no" >&5
1403 echo "${ECHO_T}no" >&6
1407 if test -z "$ac_cv_prog_CC"; then
1409 # Extract the first word of "cc", so it can be a program name with args.
1410 set dummy cc; ac_word=$2
1411 echo "$as_me:$LINENO: checking for $ac_word" >&5
1412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1413 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1414 echo $ECHO_N "(cached) $ECHO_C" >&6
1416 if test -n "$ac_ct_CC"; then
1417 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1423 test -z "$as_dir" && as_dir=.
1424 for ac_exec_ext in '' $ac_executable_extensions; do
1425 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1426 ac_cv_prog_ac_ct_CC="cc"
1427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1435 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1436 if test -n "$ac_ct_CC"; then
1437 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1438 echo "${ECHO_T}$ac_ct_CC" >&6
1440 echo "$as_me:$LINENO: result: no" >&5
1441 echo "${ECHO_T}no" >&6
1450 if test -z "$CC"; then
1451 # Extract the first word of "cc", so it can be a program name with args.
1452 set dummy cc; ac_word=$2
1453 echo "$as_me:$LINENO: checking for $ac_word" >&5
1454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1455 if test "${ac_cv_prog_CC+set}" = set; then
1456 echo $ECHO_N "(cached) $ECHO_C" >&6
1458 if test -n "$CC"; then
1459 ac_cv_prog_CC="$CC" # Let the user override the test.
1462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1470 ac_prog_rejected=yes
1474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1480 if test $ac_prog_rejected = yes; then
1481 # We found a bogon in the path, so make sure we never use it.
1482 set dummy $ac_cv_prog_CC
1484 if test $# != 0; then
1485 # We chose a different compiler from the bogus one.
1486 # However, it has the same basename, so the bogon will be chosen
1487 # first if we set CC to just the basename; use the full file name.
1489 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1495 if test -n "$CC"; then
1496 echo "$as_me:$LINENO: result: $CC" >&5
1497 echo "${ECHO_T}$CC" >&6
1499 echo "$as_me:$LINENO: result: no" >&5
1500 echo "${ECHO_T}no" >&6
1504 if test -z "$CC"; then
1505 if test -n "$ac_tool_prefix"; then
1508 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1509 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1510 echo "$as_me:$LINENO: checking for $ac_word" >&5
1511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1512 if test "${ac_cv_prog_CC+set}" = set; then
1513 echo $ECHO_N "(cached) $ECHO_C" >&6
1515 if test -n "$CC"; then
1516 ac_cv_prog_CC="$CC" # Let the user override the test.
1518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1522 test -z "$as_dir" && as_dir=.
1523 for ac_exec_ext in '' $ac_executable_extensions; do
1524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1525 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1535 if test -n "$CC"; then
1536 echo "$as_me:$LINENO: result: $CC" >&5
1537 echo "${ECHO_T}$CC" >&6
1539 echo "$as_me:$LINENO: result: no" >&5
1540 echo "${ECHO_T}no" >&6
1543 test -n "$CC" && break
1546 if test -z "$CC"; then
1550 # Extract the first word of "$ac_prog", so it can be a program name with args.
1551 set dummy $ac_prog; ac_word=$2
1552 echo "$as_me:$LINENO: checking for $ac_word" >&5
1553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1554 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1555 echo $ECHO_N "(cached) $ECHO_C" >&6
1557 if test -n "$ac_ct_CC"; then
1558 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1564 test -z "$as_dir" && as_dir=.
1565 for ac_exec_ext in '' $ac_executable_extensions; do
1566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1567 ac_cv_prog_ac_ct_CC="$ac_prog"
1568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1576 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1577 if test -n "$ac_ct_CC"; then
1578 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1579 echo "${ECHO_T}$ac_ct_CC" >&6
1581 echo "$as_me:$LINENO: result: no" >&5
1582 echo "${ECHO_T}no" >&6
1585 test -n "$ac_ct_CC" && break
1594 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1595 See \`config.log' for more details.
" >&5
1596 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1597 See \
`config.log' for more details." >&2;}
1598 { (exit 1); exit 1; }; }
1600 # Provide some information about the compiler.
1601 echo "$as_me:$LINENO:" \
1602 "checking for C compiler version" >&5
1603 ac_compiler=`set X
$ac_compile; echo $2`
1604 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1605 (eval $ac_compiler --version </dev/null >&5) 2>&5
1607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1608 (exit $ac_status); }
1609 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1610 (eval $ac_compiler -v </dev/null >&5) 2>&5
1612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1613 (exit $ac_status); }
1614 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1615 (eval $ac_compiler -V </dev/null >&5) 2>&5
1617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1618 (exit $ac_status); }
1620 cat >conftest.$ac_ext <<_ACEOF
1623 cat confdefs.h >>conftest.$ac_ext
1624 cat >>conftest.$ac_ext <<_ACEOF
1625 /* end confdefs.h. */
1635 ac_clean_files_save=$ac_clean_files
1636 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1637 # Try to create an executable without -o first, disregard a.out.
1638 # It will help us diagnose broken compilers, and finding out an intuition
1640 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1641 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1642 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1643 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1644 (eval $ac_link_default) 2>&5
1646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1647 (exit $ac_status); }; then
1648 # Find the output, starting from the most likely. This scheme is
1649 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1652 # Be careful to initialize this variable, since it used to be cached.
1653 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1655 # b.out is created by i960 compilers.
1656 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1658 test -f "$ac_file" || continue
1660 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1663 # This is the source file.
1666 # We found the default executable, but exeext='' is most
1670 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1671 # FIXME: I believe we export ac_cv_exeext for Libtool,
1672 # but it would be cool to find out if it's true. Does anybody
1673 # maintain Libtool? --akim.
1681 echo "$as_me: failed program was:" >&5
1682 sed 's/^/| /' conftest.$ac_ext >&5
1684 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1685 See \`config.log
' for more details." >&5
1686 echo "$as_me: error: C compiler cannot create executables
1687 See \`config.log' for more details.
" >&2;}
1688 { (exit 77); exit 77; }; }
1691 ac_exeext=$ac_cv_exeext
1692 echo "$as_me:$LINENO: result
: $ac_file" >&5
1693 echo "${ECHO_T}$ac_file" >&6
1695 # Check the compiler produces executables we can run. If not, either
1696 # the compiler is broken, or we cross compile.
1697 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1698 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1699 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1700 # If not cross compiling, check that we can run a simple program.
1701 if test "$cross_compiling" != yes; then
1702 if { ac_try='./$ac_file'
1703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1706 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1707 (exit $ac_status); }; }; then
1710 if test "$cross_compiling" = maybe; then
1713 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1714 If you meant to cross compile
, use \
`--host'.
1715 See \`config.log
' for more details." >&5
1716 echo "$as_me: error: cannot run C compiled programs.
1717 If you meant to cross compile, use \`--host'.
1718 See \
`config.log' for more details." >&2;}
1719 { (exit 1); exit 1; }; }
1723 echo "$as_me:$LINENO: result: yes" >&5
1724 echo "${ECHO_T}yes" >&6
1726 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1727 ac_clean_files=$ac_clean_files_save
1728 # Check the compiler produces executables we can run. If not, either
1729 # the compiler is broken, or we cross compile.
1730 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1731 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1732 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1733 echo "${ECHO_T}$cross_compiling" >&6
1735 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1736 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1738 (eval $ac_link) 2>&5
1740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1741 (exit $ac_status); }; then
1742 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1743 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1744 # work properly (i.e., refer to `conftest.exe'), while it won't with
1746 for ac_file
in conftest.exe conftest conftest.
*; do
1747 test -f "$ac_file" ||
continue
1749 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1750 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1757 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1758 See \`config.log' for more details." >&5
1759 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1760 See \`config.log' for more details." >&2;}
1761 { (exit 1); exit 1; }; }
1764 rm -f conftest
$ac_cv_exeext
1765 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1766 echo "${ECHO_T}$ac_cv_exeext" >&6
1768 rm -f conftest.
$ac_ext
1769 EXEEXT
=$ac_cv_exeext
1771 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1772 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1773 if test "${ac_cv_objext+set}" = set; then
1774 echo $ECHO_N "(cached) $ECHO_C" >&6
1776 cat >conftest.
$ac_ext <<_ACEOF
1779 cat confdefs.h
>>conftest.
$ac_ext
1780 cat >>conftest.
$ac_ext <<_ACEOF
1781 /* end confdefs.h. */
1791 rm -f conftest.o conftest.obj
1792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1793 (eval $ac_compile) 2>&5
1795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1796 (exit $ac_status); }; then
1797 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1799 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1800 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1805 echo "$as_me: failed program was:" >&5
1806 sed 's/^/| /' conftest.
$ac_ext >&5
1808 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1809 See \`config.log' for more details." >&5
1810 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1811 See \`config.log' for more details." >&2;}
1812 { (exit 1); exit 1; }; }
1815 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1817 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1818 echo "${ECHO_T}$ac_cv_objext" >&6
1819 OBJEXT
=$ac_cv_objext
1821 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1822 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1823 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1824 echo $ECHO_N "(cached) $ECHO_C" >&6
1826 cat >conftest.
$ac_ext <<_ACEOF
1829 cat confdefs.h
>>conftest.
$ac_ext
1830 cat >>conftest.
$ac_ext <<_ACEOF
1831 /* end confdefs.h. */
1844 rm -f conftest.
$ac_objext
1845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1846 (eval $ac_compile) 2>conftest.er1
1848 grep -v '^ *+' conftest.er1
>conftest.err
1850 cat conftest.err
>&5
1851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1852 (exit $ac_status); } &&
1853 { ac_try
='test -z "$ac_c_werror_flag"
1854 || test ! -s conftest.err'
1855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1859 (exit $ac_status); }; } &&
1860 { ac_try
='test -s conftest.$ac_objext'
1861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1865 (exit $ac_status); }; }; then
1868 echo "$as_me: failed program was:" >&5
1869 sed 's/^/| /' conftest.
$ac_ext >&5
1873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1874 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1877 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1878 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1879 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1880 ac_test_CFLAGS
=${CFLAGS+set}
1881 ac_save_CFLAGS
=$CFLAGS
1883 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1884 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1885 if test "${ac_cv_prog_cc_g+set}" = set; then
1886 echo $ECHO_N "(cached) $ECHO_C" >&6
1888 cat >conftest.
$ac_ext <<_ACEOF
1891 cat confdefs.h
>>conftest.
$ac_ext
1892 cat >>conftest.
$ac_ext <<_ACEOF
1893 /* end confdefs.h. */
1903 rm -f conftest.
$ac_objext
1904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1905 (eval $ac_compile) 2>conftest.er1
1907 grep -v '^ *+' conftest.er1
>conftest.err
1909 cat conftest.err
>&5
1910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1911 (exit $ac_status); } &&
1912 { ac_try
='test -z "$ac_c_werror_flag"
1913 || test ! -s conftest.err'
1914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1918 (exit $ac_status); }; } &&
1919 { ac_try
='test -s conftest.$ac_objext'
1920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1924 (exit $ac_status); }; }; then
1927 echo "$as_me: failed program was:" >&5
1928 sed 's/^/| /' conftest.
$ac_ext >&5
1932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1934 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1935 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1936 if test "$ac_test_CFLAGS" = set; then
1937 CFLAGS
=$ac_save_CFLAGS
1938 elif test $ac_cv_prog_cc_g = yes; then
1939 if test "$GCC" = yes; then
1945 if test "$GCC" = yes; then
1951 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1952 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1953 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1954 echo $ECHO_N "(cached) $ECHO_C" >&6
1956 ac_cv_prog_cc_stdc
=no
1958 cat >conftest.
$ac_ext <<_ACEOF
1961 cat confdefs.h
>>conftest.
$ac_ext
1962 cat >>conftest.
$ac_ext <<_ACEOF
1963 /* end confdefs.h. */
1966 #include <sys/types.h>
1967 #include <sys/stat.h>
1968 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1969 struct buf { int x; };
1970 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1971 static char *e (p, i)
1977 static char *f (char * (*g) (char **, int), char **p, ...)
1982 s = g (p, va_arg (v,int));
1987 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1988 function prototypes and stuff, but not '\xHH' hex character constants.
1989 These don't provoke an error unfortunately, instead are silently treated
1990 as 'x'. The following induces an error, until -std1 is added to get
1991 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1992 array size at least. It's necessary to write '\x00'==0 to get something
1993 that's true only with -std1. */
1994 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1996 int test (int i, double x);
1997 struct s1 {int (*f) (int a);};
1998 struct s2 {int (*f) (double a);};
1999 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2005 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2010 # Don't try gcc -ansi; that turns off useful extensions and
2011 # breaks some systems' header files.
2012 # AIX -qlanglvl=ansi
2013 # Ultrix and OSF/1 -std1
2014 # HP-UX 10.20 and later -Ae
2015 # HP-UX older versions -Aa -D_HPUX_SOURCE
2016 # SVR4 -Xc -D__EXTENSIONS__
2017 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2019 CC
="$ac_save_CC $ac_arg"
2020 rm -f conftest.
$ac_objext
2021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2022 (eval $ac_compile) 2>conftest.er1
2024 grep -v '^ *+' conftest.er1
>conftest.err
2026 cat conftest.err
>&5
2027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2028 (exit $ac_status); } &&
2029 { ac_try
='test -z "$ac_c_werror_flag"
2030 || test ! -s conftest.err'
2031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2035 (exit $ac_status); }; } &&
2036 { ac_try
='test -s conftest.$ac_objext'
2037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2041 (exit $ac_status); }; }; then
2042 ac_cv_prog_cc_stdc
=$ac_arg
2045 echo "$as_me: failed program was:" >&5
2046 sed 's/^/| /' conftest.
$ac_ext >&5
2049 rm -f conftest.err conftest.
$ac_objext
2051 rm -f conftest.
$ac_ext conftest.
$ac_objext
2056 case "x$ac_cv_prog_cc_stdc" in
2058 echo "$as_me:$LINENO: result: none needed" >&5
2059 echo "${ECHO_T}none needed" >&6 ;;
2061 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2062 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2063 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2066 # Some people use a C++ compiler to compile C. Since we use `exit',
2067 # in C++ we need to declare it. In case someone uses the same compiler
2068 # for both compiling C and C++ we need to have the C++ compiler decide
2069 # the declaration of exit, since it's the most demanding environment.
2070 cat >conftest.
$ac_ext <<_ACEOF
2075 rm -f conftest.
$ac_objext
2076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2077 (eval $ac_compile) 2>conftest.er1
2079 grep -v '^ *+' conftest.er1
>conftest.err
2081 cat conftest.err
>&5
2082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2083 (exit $ac_status); } &&
2084 { ac_try
='test -z "$ac_c_werror_flag"
2085 || test ! -s conftest.err'
2086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2090 (exit $ac_status); }; } &&
2091 { ac_try
='test -s conftest.$ac_objext'
2092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2096 (exit $ac_status); }; }; then
2097 for ac_declaration
in \
2099 'extern "C" void std::exit (int) throw (); using std::exit;' \
2100 'extern "C" void std::exit (int); using std::exit;' \
2101 'extern "C" void exit (int) throw ();' \
2102 'extern "C" void exit (int);' \
2105 cat >conftest.
$ac_ext <<_ACEOF
2108 cat confdefs.h
>>conftest.
$ac_ext
2109 cat >>conftest.
$ac_ext <<_ACEOF
2110 /* end confdefs.h. */
2121 rm -f conftest.
$ac_objext
2122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2123 (eval $ac_compile) 2>conftest.er1
2125 grep -v '^ *+' conftest.er1
>conftest.err
2127 cat conftest.err
>&5
2128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2129 (exit $ac_status); } &&
2130 { ac_try
='test -z "$ac_c_werror_flag"
2131 || test ! -s conftest.err'
2132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2136 (exit $ac_status); }; } &&
2137 { ac_try
='test -s conftest.$ac_objext'
2138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2142 (exit $ac_status); }; }; then
2145 echo "$as_me: failed program was:" >&5
2146 sed 's/^/| /' conftest.
$ac_ext >&5
2150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2151 cat >conftest.
$ac_ext <<_ACEOF
2154 cat confdefs.h
>>conftest.
$ac_ext
2155 cat >>conftest.
$ac_ext <<_ACEOF
2156 /* end confdefs.h. */
2166 rm -f conftest.
$ac_objext
2167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2168 (eval $ac_compile) 2>conftest.er1
2170 grep -v '^ *+' conftest.er1
>conftest.err
2172 cat conftest.err
>&5
2173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2174 (exit $ac_status); } &&
2175 { ac_try
='test -z "$ac_c_werror_flag"
2176 || test ! -s conftest.err'
2177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2181 (exit $ac_status); }; } &&
2182 { ac_try
='test -s conftest.$ac_objext'
2183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187 (exit $ac_status); }; }; then
2190 echo "$as_me: failed program was:" >&5
2191 sed 's/^/| /' conftest.
$ac_ext >&5
2194 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2197 if test -n "$ac_declaration"; then
2198 echo '#ifdef __cplusplus' >>confdefs.h
2199 echo $ac_declaration >>confdefs.h
2200 echo '#endif' >>confdefs.h
2204 echo "$as_me: failed program was:" >&5
2205 sed 's/^/| /' conftest.
$ac_ext >&5
2208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2210 ac_cpp
='$CPP $CPPFLAGS'
2211 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2212 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2213 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2216 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
2217 if test -f $ac_dir/install-sh
; then
2219 ac_install_sh
="$ac_aux_dir/install-sh -c"
2221 elif test -f $ac_dir/install.sh
; then
2223 ac_install_sh
="$ac_aux_dir/install.sh -c"
2225 elif test -f $ac_dir/shtool
; then
2227 ac_install_sh
="$ac_aux_dir/shtool install -c"
2231 if test -z "$ac_aux_dir"; then
2232 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2233 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2234 { (exit 1); exit 1; }; }
2236 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
2237 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
2238 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2240 # Find a good install program. We prefer a C program (faster),
2241 # so one script is as good as another. But avoid the broken or
2242 # incompatible versions:
2243 # SysV /etc/install, /usr/sbin/install
2244 # SunOS /usr/etc/install
2245 # IRIX /sbin/install
2247 # AmigaOS /C/install, which installs bootblocks on floppy discs
2248 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2249 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2250 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2251 # OS/2's system install, which has a completely different semantic
2252 # ./install, which can be erroneously created by make from ./install.sh.
2253 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2254 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2255 if test -z "$INSTALL"; then
2256 if test "${ac_cv_path_install+set}" = set; then
2257 echo $ECHO_N "(cached) $ECHO_C" >&6
2259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2263 test -z "$as_dir" && as_dir
=.
2264 # Account for people who put trailing slashes in PATH elements.
2266 .
/ | .
// |
/cC
/* | \
2267 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2268 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2271 # OSF1 and SCO ODT 3.0 have their own names for install.
2272 # Don't use installbsd from OSF since it installs stuff as root
2274 for ac_prog
in ginstall scoinst
install; do
2275 for ac_exec_ext
in '' $ac_executable_extensions; do
2276 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2277 if test $ac_prog = install &&
2278 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2279 # AIX install. It has an incompatible calling convention.
2281 elif test $ac_prog = install &&
2282 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2283 # program-specific install script used by HP pwplus--don't use.
2286 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2298 if test "${ac_cv_path_install+set}" = set; then
2299 INSTALL
=$ac_cv_path_install
2301 # As a last resort, use the slow shell script. We don't cache a
2302 # path for INSTALL within a source directory, because that will
2303 # break other packages using the cache if that directory is
2304 # removed, or if the path is relative.
2305 INSTALL
=$ac_install_sh
2308 echo "$as_me:$LINENO: result: $INSTALL" >&5
2309 echo "${ECHO_T}$INSTALL" >&6
2311 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2312 # It thinks the first close brace ends the variable substitution.
2313 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2315 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2317 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2319 if test -n "$ac_tool_prefix"; then
2320 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2321 set dummy
${ac_tool_prefix}ar; ac_word
=$2
2322 echo "$as_me:$LINENO: checking for $ac_word" >&5
2323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2324 if test "${ac_cv_prog_AR+set}" = set; then
2325 echo $ECHO_N "(cached) $ECHO_C" >&6
2327 if test -n "$AR"; then
2328 ac_cv_prog_AR
="$AR" # Let the user override the test.
2330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2334 test -z "$as_dir" && as_dir
=.
2335 for ac_exec_ext
in '' $ac_executable_extensions; do
2336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2337 ac_cv_prog_AR
="${ac_tool_prefix}ar"
2338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2347 if test -n "$AR"; then
2348 echo "$as_me:$LINENO: result: $AR" >&5
2349 echo "${ECHO_T}$AR" >&6
2351 echo "$as_me:$LINENO: result: no" >&5
2352 echo "${ECHO_T}no" >&6
2356 if test -z "$ac_cv_prog_AR"; then
2358 # Extract the first word of "ar", so it can be a program name with args.
2359 set dummy
ar; ac_word
=$2
2360 echo "$as_me:$LINENO: checking for $ac_word" >&5
2361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2362 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2363 echo $ECHO_N "(cached) $ECHO_C" >&6
2365 if test -n "$ac_ct_AR"; then
2366 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
2368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2372 test -z "$as_dir" && as_dir
=.
2373 for ac_exec_ext
in '' $ac_executable_extensions; do
2374 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2375 ac_cv_prog_ac_ct_AR
="ar"
2376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2384 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
2385 if test -n "$ac_ct_AR"; then
2386 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2387 echo "${ECHO_T}$ac_ct_AR" >&6
2389 echo "$as_me:$LINENO: result: no" >&5
2390 echo "${ECHO_T}no" >&6
2398 if test -n "$ac_tool_prefix"; then
2399 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2400 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2401 echo "$as_me:$LINENO: checking for $ac_word" >&5
2402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2403 if test "${ac_cv_prog_RANLIB+set}" = set; then
2404 echo $ECHO_N "(cached) $ECHO_C" >&6
2406 if test -n "$RANLIB"; then
2407 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2413 test -z "$as_dir" && as_dir
=.
2414 for ac_exec_ext
in '' $ac_executable_extensions; do
2415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2416 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2425 RANLIB
=$ac_cv_prog_RANLIB
2426 if test -n "$RANLIB"; then
2427 echo "$as_me:$LINENO: result: $RANLIB" >&5
2428 echo "${ECHO_T}$RANLIB" >&6
2430 echo "$as_me:$LINENO: result: no" >&5
2431 echo "${ECHO_T}no" >&6
2435 if test -z "$ac_cv_prog_RANLIB"; then
2436 ac_ct_RANLIB
=$RANLIB
2437 # Extract the first word of "ranlib", so it can be a program name with args.
2438 set dummy ranlib
; ac_word
=$2
2439 echo "$as_me:$LINENO: checking for $ac_word" >&5
2440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2441 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2442 echo $ECHO_N "(cached) $ECHO_C" >&6
2444 if test -n "$ac_ct_RANLIB"; then
2445 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2451 test -z "$as_dir" && as_dir
=.
2452 for ac_exec_ext
in '' $ac_executable_extensions; do
2453 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2454 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2461 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2464 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2465 if test -n "$ac_ct_RANLIB"; then
2466 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2467 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2469 echo "$as_me:$LINENO: result: no" >&5
2470 echo "${ECHO_T}no" >&6
2473 RANLIB
=$ac_ct_RANLIB
2475 RANLIB
="$ac_cv_prog_RANLIB"
2479 # Make sure we can run config.sub.
2480 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2481 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2482 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2483 { (exit 1); exit 1; }; }
2485 echo "$as_me:$LINENO: checking build system type" >&5
2486 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2487 if test "${ac_cv_build+set}" = set; then
2488 echo $ECHO_N "(cached) $ECHO_C" >&6
2490 ac_cv_build_alias
=$build_alias
2491 test -z "$ac_cv_build_alias" &&
2492 ac_cv_build_alias
=`$ac_config_guess`
2493 test -z "$ac_cv_build_alias" &&
2494 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2495 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2496 { (exit 1); exit 1; }; }
2497 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2498 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2499 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2500 { (exit 1); exit 1; }; }
2503 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2504 echo "${ECHO_T}$ac_cv_build" >&6
2506 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2507 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2508 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2511 echo "$as_me:$LINENO: checking host system type" >&5
2512 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2513 if test "${ac_cv_host+set}" = set; then
2514 echo $ECHO_N "(cached) $ECHO_C" >&6
2516 ac_cv_host_alias
=$host_alias
2517 test -z "$ac_cv_host_alias" &&
2518 ac_cv_host_alias
=$ac_cv_build_alias
2519 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2520 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2521 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2522 { (exit 1); exit 1; }; }
2525 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2526 echo "${ECHO_T}$ac_cv_host" >&6
2528 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2529 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2530 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2533 echo "$as_me:$LINENO: checking target system type" >&5
2534 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2535 if test "${ac_cv_target+set}" = set; then
2536 echo $ECHO_N "(cached) $ECHO_C" >&6
2538 ac_cv_target_alias
=$target_alias
2539 test "x$ac_cv_target_alias" = "x" &&
2540 ac_cv_target_alias
=$ac_cv_host_alias
2541 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
2542 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2543 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2544 { (exit 1); exit 1; }; }
2547 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2548 echo "${ECHO_T}$ac_cv_target" >&6
2549 target
=$ac_cv_target
2550 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2551 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2552 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2555 # The aliases save the names the user supplied, while $host etc.
2556 # will get canonicalized.
2557 test -n "$target_alias" &&
2558 test "$program_prefix$program_suffix$program_transform_name" = \
2560 program_prefix
=${target_alias}-
2561 test "$program_prefix" != NONE
&&
2562 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2563 # Use a double $ so make ignores it.
2564 test "$program_suffix" != NONE
&&
2565 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2566 # Double any \ or $. echo might interpret backslashes.
2567 # By default was `s,x,x', remove it if useless.
2568 cat <<\_ACEOF
>conftest.
sed
2569 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2571 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2575 ac_cpp
='$CPP $CPPFLAGS'
2576 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2577 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2578 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2579 if test -n "$ac_tool_prefix"; then
2580 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2581 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2582 echo "$as_me:$LINENO: checking for $ac_word" >&5
2583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2584 if test "${ac_cv_prog_CC+set}" = set; then
2585 echo $ECHO_N "(cached) $ECHO_C" >&6
2587 if test -n "$CC"; then
2588 ac_cv_prog_CC
="$CC" # Let the user override the test.
2590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2594 test -z "$as_dir" && as_dir
=.
2595 for ac_exec_ext
in '' $ac_executable_extensions; do
2596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2597 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2607 if test -n "$CC"; then
2608 echo "$as_me:$LINENO: result: $CC" >&5
2609 echo "${ECHO_T}$CC" >&6
2611 echo "$as_me:$LINENO: result: no" >&5
2612 echo "${ECHO_T}no" >&6
2616 if test -z "$ac_cv_prog_CC"; then
2618 # Extract the first word of "gcc", so it can be a program name with args.
2619 set dummy gcc
; ac_word
=$2
2620 echo "$as_me:$LINENO: checking for $ac_word" >&5
2621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2622 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2623 echo $ECHO_N "(cached) $ECHO_C" >&6
2625 if test -n "$ac_ct_CC"; then
2626 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2632 test -z "$as_dir" && as_dir
=.
2633 for ac_exec_ext
in '' $ac_executable_extensions; do
2634 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2635 ac_cv_prog_ac_ct_CC
="gcc"
2636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2644 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2645 if test -n "$ac_ct_CC"; then
2646 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2647 echo "${ECHO_T}$ac_ct_CC" >&6
2649 echo "$as_me:$LINENO: result: no" >&5
2650 echo "${ECHO_T}no" >&6
2658 if test -z "$CC"; then
2659 if test -n "$ac_tool_prefix"; then
2660 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2661 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2662 echo "$as_me:$LINENO: checking for $ac_word" >&5
2663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2664 if test "${ac_cv_prog_CC+set}" = set; then
2665 echo $ECHO_N "(cached) $ECHO_C" >&6
2667 if test -n "$CC"; then
2668 ac_cv_prog_CC
="$CC" # Let the user override the test.
2670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2674 test -z "$as_dir" && as_dir
=.
2675 for ac_exec_ext
in '' $ac_executable_extensions; do
2676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2677 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2687 if test -n "$CC"; then
2688 echo "$as_me:$LINENO: result: $CC" >&5
2689 echo "${ECHO_T}$CC" >&6
2691 echo "$as_me:$LINENO: result: no" >&5
2692 echo "${ECHO_T}no" >&6
2696 if test -z "$ac_cv_prog_CC"; then
2698 # Extract the first word of "cc", so it can be a program name with args.
2699 set dummy cc
; ac_word
=$2
2700 echo "$as_me:$LINENO: checking for $ac_word" >&5
2701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2702 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2703 echo $ECHO_N "(cached) $ECHO_C" >&6
2705 if test -n "$ac_ct_CC"; then
2706 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2712 test -z "$as_dir" && as_dir
=.
2713 for ac_exec_ext
in '' $ac_executable_extensions; do
2714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2715 ac_cv_prog_ac_ct_CC
="cc"
2716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2724 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2725 if test -n "$ac_ct_CC"; then
2726 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2727 echo "${ECHO_T}$ac_ct_CC" >&6
2729 echo "$as_me:$LINENO: result: no" >&5
2730 echo "${ECHO_T}no" >&6
2739 if test -z "$CC"; then
2740 # Extract the first word of "cc", so it can be a program name with args.
2741 set dummy cc
; ac_word
=$2
2742 echo "$as_me:$LINENO: checking for $ac_word" >&5
2743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2744 if test "${ac_cv_prog_CC+set}" = set; then
2745 echo $ECHO_N "(cached) $ECHO_C" >&6
2747 if test -n "$CC"; then
2748 ac_cv_prog_CC
="$CC" # Let the user override the test.
2751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2755 test -z "$as_dir" && as_dir
=.
2756 for ac_exec_ext
in '' $ac_executable_extensions; do
2757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2758 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2759 ac_prog_rejected
=yes
2763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2769 if test $ac_prog_rejected = yes; then
2770 # We found a bogon in the path, so make sure we never use it.
2771 set dummy
$ac_cv_prog_CC
2773 if test $# != 0; then
2774 # We chose a different compiler from the bogus one.
2775 # However, it has the same basename, so the bogon will be chosen
2776 # first if we set CC to just the basename; use the full file name.
2778 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2784 if test -n "$CC"; then
2785 echo "$as_me:$LINENO: result: $CC" >&5
2786 echo "${ECHO_T}$CC" >&6
2788 echo "$as_me:$LINENO: result: no" >&5
2789 echo "${ECHO_T}no" >&6
2793 if test -z "$CC"; then
2794 if test -n "$ac_tool_prefix"; then
2797 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2798 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2799 echo "$as_me:$LINENO: checking for $ac_word" >&5
2800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2801 if test "${ac_cv_prog_CC+set}" = set; then
2802 echo $ECHO_N "(cached) $ECHO_C" >&6
2804 if test -n "$CC"; then
2805 ac_cv_prog_CC
="$CC" # Let the user override the test.
2807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2811 test -z "$as_dir" && as_dir
=.
2812 for ac_exec_ext
in '' $ac_executable_extensions; do
2813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2814 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2824 if test -n "$CC"; then
2825 echo "$as_me:$LINENO: result: $CC" >&5
2826 echo "${ECHO_T}$CC" >&6
2828 echo "$as_me:$LINENO: result: no" >&5
2829 echo "${ECHO_T}no" >&6
2832 test -n "$CC" && break
2835 if test -z "$CC"; then
2839 # Extract the first word of "$ac_prog", so it can be a program name with args.
2840 set dummy
$ac_prog; ac_word
=$2
2841 echo "$as_me:$LINENO: checking for $ac_word" >&5
2842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2843 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2844 echo $ECHO_N "(cached) $ECHO_C" >&6
2846 if test -n "$ac_ct_CC"; then
2847 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2853 test -z "$as_dir" && as_dir
=.
2854 for ac_exec_ext
in '' $ac_executable_extensions; do
2855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2856 ac_cv_prog_ac_ct_CC
="$ac_prog"
2857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2865 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2866 if test -n "$ac_ct_CC"; then
2867 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2868 echo "${ECHO_T}$ac_ct_CC" >&6
2870 echo "$as_me:$LINENO: result: no" >&5
2871 echo "${ECHO_T}no" >&6
2874 test -n "$ac_ct_CC" && break
2883 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2884 See \`config.log' for more details." >&5
2885 echo "$as_me: error: no acceptable C compiler found in \$PATH
2886 See \`config.log' for more details." >&2;}
2887 { (exit 1); exit 1; }; }
2889 # Provide some information about the compiler.
2890 echo "$as_me:$LINENO:" \
2891 "checking for C compiler version" >&5
2892 ac_compiler
=`set X $ac_compile; echo $2`
2893 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2894 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897 (exit $ac_status); }
2898 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2899 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902 (exit $ac_status); }
2903 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2904 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2907 (exit $ac_status); }
2909 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2910 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2911 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2912 echo $ECHO_N "(cached) $ECHO_C" >&6
2914 cat >conftest.
$ac_ext <<_ACEOF
2917 cat confdefs.h
>>conftest.
$ac_ext
2918 cat >>conftest.
$ac_ext <<_ACEOF
2919 /* end confdefs.h. */
2932 rm -f conftest.
$ac_objext
2933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2934 (eval $ac_compile) 2>conftest.er1
2936 grep -v '^ *+' conftest.er1
>conftest.err
2938 cat conftest.err
>&5
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); } &&
2941 { ac_try
='test -z "$ac_c_werror_flag"
2942 || test ! -s conftest.err'
2943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); }; } &&
2948 { ac_try
='test -s conftest.$ac_objext'
2949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2953 (exit $ac_status); }; }; then
2956 echo "$as_me: failed program was:" >&5
2957 sed 's/^/| /' conftest.
$ac_ext >&5
2961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2962 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2965 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2966 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2967 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2968 ac_test_CFLAGS
=${CFLAGS+set}
2969 ac_save_CFLAGS
=$CFLAGS
2971 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2972 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2973 if test "${ac_cv_prog_cc_g+set}" = set; then
2974 echo $ECHO_N "(cached) $ECHO_C" >&6
2976 cat >conftest.
$ac_ext <<_ACEOF
2979 cat confdefs.h
>>conftest.
$ac_ext
2980 cat >>conftest.
$ac_ext <<_ACEOF
2981 /* end confdefs.h. */
2991 rm -f conftest.
$ac_objext
2992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2993 (eval $ac_compile) 2>conftest.er1
2995 grep -v '^ *+' conftest.er1
>conftest.err
2997 cat conftest.err
>&5
2998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999 (exit $ac_status); } &&
3000 { ac_try
='test -z "$ac_c_werror_flag"
3001 || test ! -s conftest.err'
3002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006 (exit $ac_status); }; } &&
3007 { ac_try
='test -s conftest.$ac_objext'
3008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012 (exit $ac_status); }; }; then
3015 echo "$as_me: failed program was:" >&5
3016 sed 's/^/| /' conftest.
$ac_ext >&5
3020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3022 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3023 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3024 if test "$ac_test_CFLAGS" = set; then
3025 CFLAGS
=$ac_save_CFLAGS
3026 elif test $ac_cv_prog_cc_g = yes; then
3027 if test "$GCC" = yes; then
3033 if test "$GCC" = yes; then
3039 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3040 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3041 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3042 echo $ECHO_N "(cached) $ECHO_C" >&6
3044 ac_cv_prog_cc_stdc
=no
3046 cat >conftest.
$ac_ext <<_ACEOF
3049 cat confdefs.h
>>conftest.
$ac_ext
3050 cat >>conftest.
$ac_ext <<_ACEOF
3051 /* end confdefs.h. */
3054 #include <sys/types.h>
3055 #include <sys/stat.h>
3056 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3057 struct buf { int x; };
3058 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3059 static char *e (p, i)
3065 static char *f (char * (*g) (char **, int), char **p, ...)
3070 s = g (p, va_arg (v,int));
3075 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3076 function prototypes and stuff, but not '\xHH' hex character constants.
3077 These don't provoke an error unfortunately, instead are silently treated
3078 as 'x'. The following induces an error, until -std1 is added to get
3079 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3080 array size at least. It's necessary to write '\x00'==0 to get something
3081 that's true only with -std1. */
3082 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3084 int test (int i, double x);
3085 struct s1 {int (*f) (int a);};
3086 struct s2 {int (*f) (double a);};
3087 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3093 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3098 # Don't try gcc -ansi; that turns off useful extensions and
3099 # breaks some systems' header files.
3100 # AIX -qlanglvl=ansi
3101 # Ultrix and OSF/1 -std1
3102 # HP-UX 10.20 and later -Ae
3103 # HP-UX older versions -Aa -D_HPUX_SOURCE
3104 # SVR4 -Xc -D__EXTENSIONS__
3105 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3107 CC
="$ac_save_CC $ac_arg"
3108 rm -f conftest.
$ac_objext
3109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3110 (eval $ac_compile) 2>conftest.er1
3112 grep -v '^ *+' conftest.er1
>conftest.err
3114 cat conftest.err
>&5
3115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3116 (exit $ac_status); } &&
3117 { ac_try
='test -z "$ac_c_werror_flag"
3118 || test ! -s conftest.err'
3119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123 (exit $ac_status); }; } &&
3124 { ac_try
='test -s conftest.$ac_objext'
3125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129 (exit $ac_status); }; }; then
3130 ac_cv_prog_cc_stdc
=$ac_arg
3133 echo "$as_me: failed program was:" >&5
3134 sed 's/^/| /' conftest.
$ac_ext >&5
3137 rm -f conftest.err conftest.
$ac_objext
3139 rm -f conftest.
$ac_ext conftest.
$ac_objext
3144 case "x$ac_cv_prog_cc_stdc" in
3146 echo "$as_me:$LINENO: result: none needed" >&5
3147 echo "${ECHO_T}none needed" >&6 ;;
3149 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3150 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3151 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3154 # Some people use a C++ compiler to compile C. Since we use `exit',
3155 # in C++ we need to declare it. In case someone uses the same compiler
3156 # for both compiling C and C++ we need to have the C++ compiler decide
3157 # the declaration of exit, since it's the most demanding environment.
3158 cat >conftest.
$ac_ext <<_ACEOF
3163 rm -f conftest.
$ac_objext
3164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3165 (eval $ac_compile) 2>conftest.er1
3167 grep -v '^ *+' conftest.er1
>conftest.err
3169 cat conftest.err
>&5
3170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171 (exit $ac_status); } &&
3172 { ac_try
='test -z "$ac_c_werror_flag"
3173 || test ! -s conftest.err'
3174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178 (exit $ac_status); }; } &&
3179 { ac_try
='test -s conftest.$ac_objext'
3180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184 (exit $ac_status); }; }; then
3185 for ac_declaration
in \
3187 'extern "C" void std::exit (int) throw (); using std::exit;' \
3188 'extern "C" void std::exit (int); using std::exit;' \
3189 'extern "C" void exit (int) throw ();' \
3190 'extern "C" void exit (int);' \
3193 cat >conftest.
$ac_ext <<_ACEOF
3196 cat confdefs.h
>>conftest.
$ac_ext
3197 cat >>conftest.
$ac_ext <<_ACEOF
3198 /* end confdefs.h. */
3209 rm -f conftest.
$ac_objext
3210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3211 (eval $ac_compile) 2>conftest.er1
3213 grep -v '^ *+' conftest.er1
>conftest.err
3215 cat conftest.err
>&5
3216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217 (exit $ac_status); } &&
3218 { ac_try
='test -z "$ac_c_werror_flag"
3219 || test ! -s conftest.err'
3220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3224 (exit $ac_status); }; } &&
3225 { ac_try
='test -s conftest.$ac_objext'
3226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3230 (exit $ac_status); }; }; then
3233 echo "$as_me: failed program was:" >&5
3234 sed 's/^/| /' conftest.
$ac_ext >&5
3238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3239 cat >conftest.
$ac_ext <<_ACEOF
3242 cat confdefs.h
>>conftest.
$ac_ext
3243 cat >>conftest.
$ac_ext <<_ACEOF
3244 /* end confdefs.h. */
3254 rm -f conftest.
$ac_objext
3255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3256 (eval $ac_compile) 2>conftest.er1
3258 grep -v '^ *+' conftest.er1
>conftest.err
3260 cat conftest.err
>&5
3261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3262 (exit $ac_status); } &&
3263 { ac_try
='test -z "$ac_c_werror_flag"
3264 || test ! -s conftest.err'
3265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269 (exit $ac_status); }; } &&
3270 { ac_try
='test -s conftest.$ac_objext'
3271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275 (exit $ac_status); }; }; then
3278 echo "$as_me: failed program was:" >&5
3279 sed 's/^/| /' conftest.
$ac_ext >&5
3282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3285 if test -n "$ac_declaration"; then
3286 echo '#ifdef __cplusplus' >>confdefs.h
3287 echo $ac_declaration >>confdefs.h
3288 echo '#endif' >>confdefs.h
3292 echo "$as_me: failed program was:" >&5
3293 sed 's/^/| /' conftest.
$ac_ext >&5
3296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3298 ac_cpp
='$CPP $CPPFLAGS'
3299 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3300 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3301 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3307 if test -n "$ac_tool_prefix"; then
3308 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3309 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3310 echo "$as_me:$LINENO: checking for $ac_word" >&5
3311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3312 if test "${ac_cv_prog_RANLIB+set}" = set; then
3313 echo $ECHO_N "(cached) $ECHO_C" >&6
3315 if test -n "$RANLIB"; then
3316 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3322 test -z "$as_dir" && as_dir
=.
3323 for ac_exec_ext
in '' $ac_executable_extensions; do
3324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3325 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3334 RANLIB
=$ac_cv_prog_RANLIB
3335 if test -n "$RANLIB"; then
3336 echo "$as_me:$LINENO: result: $RANLIB" >&5
3337 echo "${ECHO_T}$RANLIB" >&6
3339 echo "$as_me:$LINENO: result: no" >&5
3340 echo "${ECHO_T}no" >&6
3344 if test -z "$ac_cv_prog_RANLIB"; then
3345 ac_ct_RANLIB
=$RANLIB
3346 # Extract the first word of "ranlib", so it can be a program name with args.
3347 set dummy ranlib
; ac_word
=$2
3348 echo "$as_me:$LINENO: checking for $ac_word" >&5
3349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3350 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3351 echo $ECHO_N "(cached) $ECHO_C" >&6
3353 if test -n "$ac_ct_RANLIB"; then
3354 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3360 test -z "$as_dir" && as_dir
=.
3361 for ac_exec_ext
in '' $ac_executable_extensions; do
3362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3363 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3370 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3373 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3374 if test -n "$ac_ct_RANLIB"; then
3375 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3376 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3378 echo "$as_me:$LINENO: result: no" >&5
3379 echo "${ECHO_T}no" >&6
3382 RANLIB
=$ac_ct_RANLIB
3384 RANLIB
="$ac_cv_prog_RANLIB"
3388 # Put a plausible default for CC_FOR_BUILD in Makefile.
3389 if test "x$cross_compiling" = "xno"; then
3390 CC_FOR_BUILD
='$(CC)'
3395 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
3398 # If a cpu ever has more than one simulator to choose from, use
3399 # --enable-sim=... to choose.
3400 # Check whether --enable-sim or --disable-sim was given.
3401 if test "${enable_sim+set}" = set; then
3402 enableval
="$enable_sim"
3403 case "${enableval}" in
3405 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} given for --enable-sim option" >&5
3406 echo "$as_me: error: bad value ${enableval} given for --enable-sim option" >&2;}
3407 { (exit 1); exit 1; }; } ;;
3411 # WHEN ADDING ENTRIES TO THIS MATRIX:
3413 # Make sure that the left side always has two dashes. Otherwise you
3414 # can get spurious matches. Even for unambiguous cases, do this as a
3415 # convention, else the table becomes a real mess to understand and
3418 if test "${enable_sim}" != no
; then
3423 arm
*-*-* | thumb
*-*-* | strongarm
*-*-* | xscale-
*-*)
3426 subdirs
="$subdirs arm"
3433 subdirs
="$subdirs avr"
3439 subdirs
="$subdirs cr16"
3443 cris-
*-* | crisv32-
*-*)
3446 subdirs
="$subdirs cris"
3453 subdirs
="$subdirs d10v"
3459 subdirs
="$subdirs frv"
3466 subdirs
="$subdirs h8300"
3473 subdirs
="$subdirs iq2000"
3480 subdirs
="$subdirs lm32"
3487 subdirs
="$subdirs m32c"
3493 subdirs
="$subdirs m32r"
3497 m68hc11-
*-*|m6811-
*-*)
3500 subdirs
="$subdirs m68hc11"
3507 subdirs
="$subdirs mcore"
3514 subdirs
="$subdirs mips"
3522 subdirs
="$subdirs mn10300"
3529 subdirs
="$subdirs moxie"
3536 subdirs
="$subdirs sh64"
3543 subdirs
="$subdirs sh"
3547 sparc-
*-rtems*|sparc-
*-elf*)
3550 subdirs
="$subdirs erc32"
3557 subdirs
="$subdirs ppc"
3563 subdirs
="$subdirs v850"
3569 # No simulator subdir, so the subdir "common" isn't needed.
3573 if test "$testsuite" = yes; then
3576 subdirs
="$subdirs testsuite"
3579 if test "$common" = yes; then
3582 subdirs
="$subdirs common"
3585 if test "$igen" = yes; then
3588 subdirs
="$subdirs igen"
3593 ac_config_files
="$ac_config_files Makefile"
3594 cat >confcache
<<\_ACEOF
3595 # This file is a shell script that caches the results of configure
3596 # tests run on this system so they can be shared between configure
3597 # scripts and configure runs, see configure's option --config-cache.
3598 # It is not useful on other systems. If it contains results you don't
3599 # want to keep, you may remove or edit it.
3601 # config.status only pays attention to the cache file if you give it
3602 # the --recheck option to rerun configure.
3604 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3605 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3610 # The following way of writing the cache mishandles newlines in values,
3611 # but we know of no workaround that is simple, portable, and efficient.
3612 # So, don't put newlines in cache variables' values.
3613 # Ultrix sh set writes to stderr and can't be redirected directly,
3614 # and sets the high bit in the cache file unless we assign to the vars.
3617 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3619 # `set' does not quote correctly, so add quotes (double-quote
3620 # substitution turns \\\\ into \\, and sed turns \\ into \).
3623 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3626 # `set' quotes correctly as required by POSIX, so do not add quotes.
3628 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3635 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3637 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3639 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3640 if test -w $cache_file; then
3641 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3642 cat confcache
>$cache_file
3644 echo "not updating unwritable cache $cache_file"
3649 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3650 # Let make expand exec_prefix.
3651 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3653 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3654 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3655 # trailing colons and then remove the whole line if VPATH becomes empty
3656 # (actually we leave an empty line to preserve line numbers).
3657 if test "x$srcdir" = x.
; then
3658 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
3659 s/:*\$(srcdir):*/:/;
3660 s/:*\${srcdir}:*/:/;
3662 s/^\([^=]*=[ ]*\):*/\1/;
3668 # Transform confdefs.h into DEFS.
3669 # Protect against shell expansion while executing Makefile rules.
3670 # Protect against Makefile macro expansion.
3672 # If the first sed substitution is executed (which looks for macros that
3673 # take arguments), then we branch to the quote section. Otherwise,
3674 # look for a macro that doesn't take arguments.
3675 cat >confdef2opt.
sed <<\_ACEOF
3678 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3680 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3684 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3690 # We use echo to avoid assuming a particular line-breaking character.
3691 # The extra dot is to prevent the shell from consuming trailing
3692 # line-breaks from the sub-command output. A line-break within
3693 # single-quotes doesn't work because, if this script is created in a
3694 # platform that uses two characters for line-breaks (e.g., DOS), tr
3696 ac_LF_and_DOT=`echo; echo .
`
3697 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
3698 rm -f confdef2opt.sed
3703 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3704 # 1. Remove the extension, and $U if already installed.
3705 ac_i=`echo "$ac_i" |
3706 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3708 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3709 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3713 LTLIBOBJS=$ac_ltlibobjs
3717 : ${CONFIG_STATUS=./config.status}
3718 ac_clean_files_save=$ac_clean_files
3719 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3720 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3721 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3722 cat >$CONFIG_STATUS <<_ACEOF
3724 # Generated by $as_me.
3725 # Run this file to recreate the current configuration.
3726 # Compiler output produced by configure, useful for debugging
3727 # configure, is in config.log if it exists.
3732 SHELL=\${CONFIG_SHELL-$SHELL}
3735 cat >>$CONFIG_STATUS <<\_ACEOF
3736 ## --------------------- ##
3737 ## M4sh Initialization. ##
3738 ## --------------------- ##
3740 # Be Bourne compatible
3741 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3744 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3745 # is contrary to our usage. Disable this feature.
3746 alias -g '${1+"$@"}'='"$@"'
3747 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3750 DUALCASE=1; export DUALCASE # for MKS sh
3752 # Support unset when possible.
3753 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3760 # Work around bugs in pre-3.0 UWIN ksh.
3761 $as_unset ENV MAIL MAILPATH
3768 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3769 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3770 LC_TELEPHONE LC_TIME
3772 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
3773 eval $as_var=C; export $as_var
3779 # Required to use basename.
3780 if expr a : '\(a\)' >/dev/null 2>&1; then
3786 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3787 as_basename=basename
3793 # Name of the executable.
3794 as_me=`$as_basename "$0" ||
3795 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3796 X
"$0" : 'X\(//\)$' \| \
3797 X
"$0" : 'X\(/\)$' \| \
3798 .
: '\(.\)' 2>/dev
/null ||
3800 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3801 /^X\/\(\/\/\)$/{ s//\1/; q; }
3802 /^X\/\(\/\).*/{ s//\1/; q; }
3806 # PATH needs CR, and LINENO needs CR and PATH.
3807 # Avoid depending upon Character Ranges.
3808 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3809 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3810 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3811 as_cr_digits='0123456789'
3812 as_cr_alnum=$as_cr_Letters$as_cr_digits
3814 # The user is always right.
3815 if test "${PATH_SEPARATOR+set}" != set; then
3816 echo "#! /bin/sh" >conf$$.sh
3817 echo "exit 0" >>conf$$.sh
3819 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3830 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
3831 test "x$as_lineno_1" != "x$as_lineno_2" &&
3832 test "x$as_lineno_3" = "x$as_lineno_2" || {
3833 # Find who we are. Look in the path if we contain no path at all
3836 *[\\/]* ) as_myself=$0 ;;
3837 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3841 test -z "$as_dir" && as_dir=.
3842 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3847 # We did not find ourselves, most probably we were run as `sh COMMAND
'
3848 # in which case we are not to be found in the path.
3849 if test "x$as_myself" = x; then
3852 if test ! -f "$as_myself"; then
3853 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3854 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3855 { (exit 1); exit 1; }; }
3857 case $CONFIG_SHELL in
3859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3860 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3863 test -z "$as_dir" && as_dir=.
3864 for as_base in sh bash ksh sh5; do
3867 if ("$as_dir/$as_base" -c '
3870 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
3871 test "x$as_lineno_1" != "x$as_lineno_2" &&
3872 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3873 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3874 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3875 CONFIG_SHELL=$as_dir/$as_base
3877 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3885 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3886 # uniformly replaced by the line number. The first 'sed' inserts a
3887 # line-number line before each line; the second 'sed' does the real
3888 # work. The second script uses 'N
' to pair each line-number line
3889 # with the numbered line, and appends trailing '-' during
3890 # substitution so that $LINENO is not a special case at line end.
3891 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3892 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
3893 sed '=' <$as_myself |
3898 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3901 s,^['$as_cr_digits']*\n,,
3903 chmod +x
$as_me.lineno ||
3904 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3905 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3906 { (exit 1); exit 1; }; }
3908 # Don't try to exec as it changes $[0], causing all sort of problems
3909 # (the dirname of $[0] is not the place where we might find the
3910 # original and so on. Autoconf is especially sensible to this).
3912 # Exit status is that of the last command.
3917 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3918 *c
*,-n*) ECHO_N
= ECHO_C
='
3920 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
3921 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
3924 if expr a
: '\(a\)' >/dev
/null
2>&1; then
3930 rm -f conf$$ conf$$.exe conf$$.
file
3932 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3933 # We could just check for DJGPP; but this test a) works b) is more generic
3934 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3935 if test -f conf$$.exe
; then
3936 # Don't use ln at all; we don't have any links
3941 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3946 rm -f conf$$ conf$$.exe conf$$.
file
3948 if mkdir
-p .
2>/dev
/null
; then
3951 test -d .
/-p && rmdir .
/-p
3955 as_executable_p
="test -f"
3957 # Sed expression to map a string onto a valid CPP name.
3958 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3960 # Sed expression to map a string onto a valid variable name.
3961 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3965 # We need space, tab and new line, in precisely that order.
3975 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3976 # report actual input values of CONFIG_FILES etc. instead of their
3977 # values after options handling. Logging --version etc. is OK.
3981 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3982 ## Running $as_me. ##
3987 This file was extended by $as_me, which was
3988 generated by GNU Autoconf 2.59. Invocation command line was
3990 CONFIG_FILES = $CONFIG_FILES
3991 CONFIG_HEADERS = $CONFIG_HEADERS
3992 CONFIG_LINKS = $CONFIG_LINKS
3993 CONFIG_COMMANDS = $CONFIG_COMMANDS
3997 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4001 # Files that config.status was made for.
4002 if test -n "$ac_config_files"; then
4003 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4006 if test -n "$ac_config_headers"; then
4007 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4010 if test -n "$ac_config_links"; then
4011 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4014 if test -n "$ac_config_commands"; then
4015 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4018 cat >>$CONFIG_STATUS <<\_ACEOF
4021 \`$as_me' instantiates files from templates according to the
4022 current configuration.
4024 Usage: $0 [OPTIONS] [FILE]...
4026 -h, --help print this help, then exit
4027 -V, --version print version number, then exit
4028 -q, --quiet do not print progress messages
4029 -d, --debug don't remove temporary files
4030 --recheck update $as_me by reconfiguring in the same conditions
4031 --file=FILE[:TEMPLATE]
4032 instantiate the configuration file FILE
4034 Configuration files:
4037 Report bugs to <bug-autoconf@gnu.org>."
4040 cat >>$CONFIG_STATUS <<_ACEOF
4043 configured by $0, generated by GNU Autoconf 2.59,
4044 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4046 Copyright (C) 2003 Free Software Foundation, Inc.
4047 This config.status script is free software; the Free Software Foundation
4048 gives unlimited permission to copy, distribute and modify it."
4053 cat >>$CONFIG_STATUS <<\_ACEOF
4054 # If no file are specified by the user, then we need to provide default
4055 # value. By we need to know if files were specified by the user.
4061 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
4062 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
4070 *) # This is not an option, so the user has probably given explicit
4073 ac_need_defaults
=false
;;
4077 # Handling of the options.
4079 cat >>$CONFIG_STATUS <<\_ACEOF
4080 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4082 --version |
--vers* |
-V )
4083 echo "$ac_cs_version"; exit 0 ;;
4085 # Conflict between --help and --header
4086 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4087 Try \`$0 --help' for more information." >&5
4088 echo "$as_me: error: ambiguous option: $1
4089 Try \`$0 --help' for more information." >&2;}
4090 { (exit 1); exit 1; }; };;
4091 --help |
--hel |
-h )
4092 echo "$ac_cs_usage"; exit 0 ;;
4093 --debug |
--d* |
-d )
4095 --file |
--fil |
--fi |
--f )
4097 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
4098 ac_need_defaults
=false
;;
4099 --header |
--heade |
--head |
--hea )
4101 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
4102 ac_need_defaults
=false
;;
4103 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4104 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4108 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4109 Try \`$0 --help' for more information." >&5
4110 echo "$as_me: error: unrecognized option: $1
4111 Try \`$0 --help' for more information." >&2;}
4112 { (exit 1); exit 1; }; } ;;
4114 *) ac_config_targets
="$ac_config_targets $1" ;;
4120 ac_configure_extra_args
=
4122 if $ac_cs_silent; then
4124 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4128 cat >>$CONFIG_STATUS <<_ACEOF
4129 if \$ac_cs_recheck; then
4130 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4131 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4140 cat >>$CONFIG_STATUS <<\_ACEOF
4141 for ac_config_target
in $ac_config_targets
4143 case "$ac_config_target" in
4144 # Handling of arguments.
4145 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4146 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4147 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4148 { (exit 1); exit 1; }; };;
4152 # If the user did not use the arguments to specify the items to instantiate,
4153 # then the envvar interface is used. Set only those that are not.
4154 # We use the long form for the default assignment because of an extremely
4155 # bizarre bug on SunOS 4.1.3.
4156 if $ac_need_defaults; then
4157 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4160 # Have a temporary directory for convenience. Make it in the build tree
4161 # simply because there is no reason to put it here, and in addition,
4162 # creating and moving files from /tmp can sometimes cause problems.
4163 # Create a temporary directory, and hook for its removal unless debugging.
4166 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4167 trap '{ (exit 1); exit 1; }' 1 2 13 15
4170 # Create a (secure) tmp directory for tmp files.
4173 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4174 test -n "$tmp" && test -d "$tmp"
4177 tmp
=.
/confstat$$
-$RANDOM
4178 (umask 077 && mkdir
$tmp)
4181 echo "$me: cannot create a temporary directory in ." >&2
4182 { (exit 1); exit 1; }
4187 cat >>$CONFIG_STATUS <<_ACEOF
4190 # CONFIG_FILES section.
4193 # No need to generate the scripts if there are no CONFIG_FILES.
4194 # This happens for instance when ./config.status config.h
4195 if test -n "\$CONFIG_FILES"; then
4196 # Protect against being on the right side of a sed subst in config.status.
4197 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4198 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4199 s,@SHELL@,$SHELL,;t t
4200 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4201 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4202 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4203 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4204 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4205 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4206 s,@exec_prefix@,$exec_prefix,;t t
4207 s,@prefix@,$prefix,;t t
4208 s,@program_transform_name@,$program_transform_name,;t t
4209 s,@bindir@,$bindir,;t t
4210 s,@sbindir@,$sbindir,;t t
4211 s,@libexecdir@,$libexecdir,;t t
4212 s,@datadir@,$datadir,;t t
4213 s,@sysconfdir@,$sysconfdir,;t t
4214 s,@sharedstatedir@,$sharedstatedir,;t t
4215 s,@localstatedir@,$localstatedir,;t t
4216 s,@libdir@,$libdir,;t t
4217 s,@includedir@,$includedir,;t t
4218 s,@oldincludedir@,$oldincludedir,;t t
4219 s,@infodir@,$infodir,;t t
4220 s,@mandir@,$mandir,;t t
4221 s,@build_alias@,$build_alias,;t t
4222 s,@host_alias@,$host_alias,;t t
4223 s,@target_alias@,$target_alias,;t t
4225 s,@ECHO_C@,$ECHO_C,;t t
4226 s,@ECHO_N@,$ECHO_N,;t t
4227 s,@ECHO_T@,$ECHO_T,;t t
4230 s,@CFLAGS@,$CFLAGS,;t t
4231 s,@LDFLAGS@,$LDFLAGS,;t t
4232 s,@CPPFLAGS@,$CPPFLAGS,;t t
4233 s,@ac_ct_CC@,$ac_ct_CC,;t t
4234 s,@EXEEXT@,$EXEEXT,;t t
4235 s,@OBJEXT@,$OBJEXT,;t t
4236 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4237 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4238 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4240 s,@ac_ct_AR@,$ac_ct_AR,;t t
4241 s,@RANLIB@,$RANLIB,;t t
4242 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4243 s,@build@,$build,;t t
4244 s,@build_cpu@,$build_cpu,;t t
4245 s,@build_vendor@,$build_vendor,;t t
4246 s,@build_os@,$build_os,;t t
4248 s,@host_cpu@,$host_cpu,;t t
4249 s,@host_vendor@,$host_vendor,;t t
4250 s,@host_os@,$host_os,;t t
4251 s,@target@,$target,;t t
4252 s,@target_cpu@,$target_cpu,;t t
4253 s,@target_vendor@,$target_vendor,;t t
4254 s,@target_os@,$target_os,;t t
4255 s,@HDEFINES@,$HDEFINES,;t t
4256 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
4257 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
4258 s,@subdirs@,$subdirs,;t t
4259 s,@LIBOBJS@,$LIBOBJS,;t t
4260 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4265 cat >>$CONFIG_STATUS <<\_ACEOF
4266 # Split the substitutions into bite-sized pieces for seds with
4267 # small command number limits, like on Digital OSF/1 and HP-UX.
4269 ac_sed_frag
=1 # Number of current file.
4270 ac_beg
=1 # First line for current file.
4271 ac_end
=$ac_max_sed_lines # Line after last line for current file.
4274 while $ac_more_lines; do
4275 if test $ac_beg -gt 1; then
4276 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4278 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4280 if test ! -s $tmp/subs.frag
; then
4283 # The purpose of the label and of the branching condition is to
4284 # speed up the sed processing (if there are no `@' at all, there
4285 # is no need to browse any of the substitutions).
4286 # These are the two extra sed commands mentioned above.
4288 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
4289 if test -z "$ac_sed_cmds"; then
4290 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
4292 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4294 ac_sed_frag
=`expr $ac_sed_frag + 1`
4296 ac_end
=`expr $ac_end + $ac_max_sed_lines`
4299 if test -z "$ac_sed_cmds"; then
4302 fi # test -n "$CONFIG_FILES"
4305 cat >>$CONFIG_STATUS <<\_ACEOF
4306 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
4307 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4309 - |
*:- |
*:-:* ) # input from stdin
4311 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4312 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4313 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4314 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4315 * ) ac_file_in
=$ac_file.
in ;;
4318 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4319 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
4320 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4321 X"$ac_file" : 'X\(//\)[^/]' \| \
4322 X"$ac_file" : 'X\(//\)$' \| \
4323 X"$ac_file" : 'X\(/\)' \| \
4324 . : '\(.\)' 2>/dev/null ||
4326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4327 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4328 /^X\(\/\/\)$/{ s//\1/; q; }
4329 /^X\(\/\).*/{ s//\1/; q; }
4331 { if $as_mkdir_p; then
4336 while test ! -d "$as_dir"; do
4337 as_dirs
="$as_dir $as_dirs"
4338 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
4339 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4340 X"$as_dir" : 'X\(//\)[^/]' \| \
4341 X"$as_dir" : 'X\(//\)$' \| \
4342 X"$as_dir" : 'X\(/\)' \| \
4343 . : '\(.\)' 2>/dev/null ||
4345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4346 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4347 /^X\(\/\/\)$/{ s//\1/; q; }
4348 /^X\(\/\).*/{ s//\1/; q; }
4351 test ! -n "$as_dirs" || mkdir
$as_dirs
4352 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4353 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4354 { (exit 1); exit 1; }; }; }
4358 if test "$ac_dir" != .
; then
4359 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4360 # A "../" for each directory in $ac_dir_suffix.
4361 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4363 ac_dir_suffix
= ac_top_builddir
=
4367 .
) # No --srcdir option. We are building in place.
4369 if test -z "$ac_top_builddir"; then
4372 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
4374 [\\/]* | ?
:[\\/]* ) # Absolute path.
4375 ac_srcdir
=$srcdir$ac_dir_suffix;
4376 ac_top_srcdir
=$srcdir ;;
4378 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
4379 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
4382 # Do not use `cd foo && pwd` to compute absolute paths, because
4383 # the directories may not exist.
4385 .
) ac_abs_builddir
="$ac_dir";;
4388 .
) ac_abs_builddir
=`pwd`;;
4389 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
4390 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
4393 case $ac_abs_builddir in
4394 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4396 case ${ac_top_builddir}.
in
4397 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
4398 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4399 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
4402 case $ac_abs_builddir in
4403 .
) ac_abs_srcdir
=$ac_srcdir;;
4406 .
) ac_abs_srcdir
=$ac_abs_builddir;;
4407 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
4408 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
4411 case $ac_abs_builddir in
4412 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
4414 case $ac_top_srcdir in
4415 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
4416 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
4417 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
4423 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
4424 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
4427 if test x
"$ac_file" != x-
; then
4428 { echo "$as_me:$LINENO: creating $ac_file" >&5
4429 echo "$as_me: creating $ac_file" >&6;}
4432 # Let's still pretend it is `configure' which instantiates (i.e., don't
4433 # use $as_me), people would be surprised to read:
4434 # /* config.h. Generated by config.status. */
4435 if test x
"$ac_file" = x-
; then
4438 configure_input
="$ac_file. "
4440 configure_input
=$configure_input"Generated from `echo $ac_file_in |
4441 sed 's,.*/,,'` by configure."
4443 # First look for the input files in the build tree, otherwise in the
4445 ac_file_inputs
=`IFS=:
4446 for f in $ac_file_in; do
4448 -) echo $tmp/stdin ;;
4450 # Absolute (can't be DOS-style, as IFS=:)
4451 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4452 echo "$as_me: error: cannot find input file: $f" >&2;}
4453 { (exit 1); exit 1; }; }
4456 if test -f "$f"; then
4459 elif test -f "$srcdir/$f"; then
4464 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4465 echo "$as_me: error: cannot find input file: $f" >&2;}
4466 { (exit 1); exit 1; }; }
4469 done` ||
{ (exit 1); exit 1; }
4471 cat >>$CONFIG_STATUS <<_ACEOF
4475 cat >>$CONFIG_STATUS <<\_ACEOF
4477 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4478 s
,@configure_input@
,$configure_input,;t t
4479 s
,@srcdir@
,$ac_srcdir,;t t
4480 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
4481 s
,@top_srcdir@
,$ac_top_srcdir,;t t
4482 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
4483 s
,@builddir@
,$ac_builddir,;t t
4484 s
,@abs_builddir@
,$ac_abs_builddir,;t t
4485 s
,@top_builddir@
,$ac_top_builddir,;t t
4486 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
4487 s
,@INSTALL@
,$ac_INSTALL,;t t
4488 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4490 if test x"$ac_file" != x-; then
4491 mv $tmp/out $ac_file
4500 cat >>$CONFIG_STATUS <<\_ACEOF
4502 { (exit 0); exit 0; }
4504 chmod +x $CONFIG_STATUS
4505 ac_clean_files=$ac_clean_files_save
4508 # configure is writing to config.log, and then calls config.status.
4509 # config.status does its own redirection, appending to config.log.
4510 # Unfortunately, on DOS this fails, as config.log is still kept open
4511 # by configure, so config.status won't be able to write to it; its
4512 # output is simply discarded. So we exec the FD to /dev/null,
4513 # effectively closing config.log, so it can be properly (re)opened and
4514 # appended to by config.status. When coming back to configure, we
4515 # need to make the FD available again.
4516 if test "$no_create" != yes; then
4518 ac_config_status_args=
4519 test "$silent" = yes &&
4520 ac_config_status_args="$ac_config_status_args --quiet"
4522 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4524 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4525 # would make configure fail if this is the last instruction.
4526 $ac_cs_success || { (exit 1); exit 1; }
4530 # CONFIG_SUBDIRS section.
4532 if test "$no_recursion" != yes; then
4534 # Remove --cache-file and --srcdir arguments so they do not pile up.
4535 ac_sub_configure_args=
4537 for ac_arg in $ac_configure_args; do
4538 if test -n "$ac_prev"; then
4543 -cache-file | --cache-file | --cache-fil | --cache-fi \
4544 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
4545 ac_prev=cache_file ;;
4546 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
4547 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
4550 --config-cache | -C)
4552 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4554 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4556 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4558 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4560 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
4564 # Always prepend --prefix to ensure using the same prefix
4565 # in subdir configurations.
4566 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
4569 for ac_dir in : $subdirs; do test "x
$ac_dir" = x: && continue
4571 # Do not complain, so a configure script can configure whichever
4572 # parts of a large source tree are present.
4573 test -d $srcdir/$ac_dir || continue
4575 { echo "$as_me:$LINENO: configuring
in $ac_dir" >&5
4576 echo "$as_me: configuring
in $ac_dir" >&6;}
4577 { if $as_mkdir_p; then
4582 while test ! -d "$as_dir"; do
4583 as_dirs="$as_dir $as_dirs"
4584 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4585 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4586 X"$as_dir" : 'X\(//\)[^/]' \| \
4587 X"$as_dir" : 'X\(//\)$' \| \
4588 X"$as_dir" : 'X\(/\)' \| \
4589 . : '\(.\)' 2>/dev/null ||
4591 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4592 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4593 /^X\(\/\/\)$/{ s//\1/; q; }
4594 /^X\(\/\).*/{ s//\1/; q; }
4597 test ! -n "$as_dirs" || mkdir $as_dirs
4598 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
\"$ac_dir\"" >&5
4599 echo "$as_me: error
: cannot create directory
\"$ac_dir\"" >&2;}
4600 { (exit 1); exit 1; }; }; }
4604 if test "$ac_dir" != .; then
4605 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4606 # A "..
/" for each directory in $ac_dir_suffix.
4607 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4609 ac_dir_suffix= ac_top_builddir=
4613 .) # No --srcdir option. We are building in place.
4615 if test -z "$ac_top_builddir"; then
4618 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4620 [\\/]* | ?:[\\/]* ) # Absolute path.
4621 ac_srcdir=$srcdir$ac_dir_suffix;
4622 ac_top_srcdir=$srcdir ;;
4624 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4625 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4628 # Do not use `cd foo && pwd` to compute absolute paths, because
4629 # the directories may not exist.
4631 .) ac_abs_builddir="$ac_dir";;
4634 .) ac_abs_builddir=`pwd`;;
4635 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4636 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4639 case $ac_abs_builddir in
4640 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4642 case ${ac_top_builddir}. in
4643 .) ac_abs_top_builddir=$ac_abs_builddir;;
4644 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4645 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4648 case $ac_abs_builddir in
4649 .) ac_abs_srcdir=$ac_srcdir;;
4652 .) ac_abs_srcdir=$ac_abs_builddir;;
4653 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4654 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4657 case $ac_abs_builddir in
4658 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4660 case $ac_top_srcdir in
4661 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4662 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4663 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4670 # Check for guested configure; otherwise get Cygnus style configure.
4671 if test -f $ac_srcdir/configure.gnu; then
4672 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
4673 elif test -f $ac_srcdir/configure; then
4674 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
4675 elif test -f $ac_srcdir/configure.in; then
4676 ac_sub_configure=$ac_configure
4678 { echo "$as_me:$LINENO: WARNING
: no configuration information is
in $ac_dir" >&5
4679 echo "$as_me: WARNING
: no configuration information is
in $ac_dir" >&2;}
4683 # The recursion is here.
4684 if test -n "$ac_sub_configure"; then
4685 # Make the cache file name correct relative to the subdirectory.
4687 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
4689 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
4692 { echo "$as_me:$LINENO: running
$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
4693 echo "$as_me: running
$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4694 # The eval makes quoting arguments work.
4695 eval $ac_sub_configure $ac_sub_configure_args \
4696 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
4697 { { echo "$as_me:$LINENO: error
: $ac_sub_configure failed
for $ac_dir" >&5
4698 echo "$as_me: error
: $ac_sub_configure failed
for $ac_dir" >&2;}
4699 { (exit 1); exit 1; }; }