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'
303 # Initialize some variables set by options.
305 ac_init_version
=false
306 # The variables have the same names as the options, with
307 # dashes changed to underlines.
315 program_transform_name
=s
,x
,x
,
323 # Installation directory options.
324 # These are left unexpanded so users can "make install exec_prefix=/foo"
325 # and all the variables that are supposed to be based on exec_prefix
326 # by default will actually change.
327 # Use braces instead of parens because sh, perl, etc. also accept them.
328 bindir
='${exec_prefix}/bin'
329 sbindir
='${exec_prefix}/sbin'
330 libexecdir
='${exec_prefix}/libexec'
331 datadir
='${prefix}/share'
332 sysconfdir
='${prefix}/etc'
333 sharedstatedir
='${prefix}/com'
334 localstatedir
='${prefix}/var'
335 libdir
='${exec_prefix}/lib'
336 includedir
='${prefix}/include'
337 oldincludedir
='/usr/include'
338 infodir
='${prefix}/info'
339 mandir
='${prefix}/man'
344 # If the previous option needs an argument, assign it.
345 if test -n "$ac_prev"; then
346 eval "$ac_prev=\$ac_option"
351 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
353 # Accept the important Cygnus configure options, so we can diagnose typos.
357 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
359 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
362 -build |
--build |
--buil |
--bui |
--bu)
363 ac_prev
=build_alias
;;
364 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
365 build_alias
=$ac_optarg ;;
367 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
368 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
369 ac_prev
=cache_file
;;
370 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
371 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
372 cache_file
=$ac_optarg ;;
375 cache_file
=config.cache
;;
377 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
379 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
381 datadir
=$ac_optarg ;;
383 -disable-* |
--disable-*)
384 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
385 # Reject names that are not valid shell variable names.
386 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
387 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
388 { (exit 1); exit 1; }; }
389 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
390 eval "enable_$ac_feature=no" ;;
392 -enable-* |
--enable-*)
393 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
394 # Reject names that are not valid shell variable names.
395 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
396 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
397 { (exit 1); exit 1; }; }
398 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
400 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
403 eval "enable_$ac_feature='$ac_optarg'" ;;
405 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
406 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
407 |
--exec |
--exe |
--ex)
408 ac_prev
=exec_prefix
;;
409 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
410 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
411 |
--exec=* |
--exe=* |
--ex=*)
412 exec_prefix
=$ac_optarg ;;
414 -gas |
--gas |
--ga |
--g)
415 # Obsolete; use --with-gas.
418 -help |
--help |
--hel |
--he |
-h)
420 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
421 ac_init_help
=recursive
;;
422 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
423 ac_init_help
=short
;;
425 -host |
--host |
--hos |
--ho)
426 ac_prev
=host_alias
;;
427 -host=* |
--host=* |
--hos=* |
--ho=*)
428 host_alias
=$ac_optarg ;;
430 -includedir |
--includedir |
--includedi |
--included |
--include \
431 |
--includ |
--inclu |
--incl |
--inc)
432 ac_prev
=includedir
;;
433 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
434 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
435 includedir
=$ac_optarg ;;
437 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
439 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
440 infodir
=$ac_optarg ;;
442 -libdir |
--libdir |
--libdi |
--libd)
444 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
447 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
448 |
--libexe |
--libex |
--libe)
449 ac_prev
=libexecdir
;;
450 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
451 |
--libexe=* |
--libex=* |
--libe=*)
452 libexecdir
=$ac_optarg ;;
454 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
455 |
--localstate |
--localstat |
--localsta |
--localst \
456 |
--locals |
--local |
--loca |
--loc |
--lo)
457 ac_prev
=localstatedir
;;
458 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
459 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
460 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
461 localstatedir
=$ac_optarg ;;
463 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
465 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
469 # Obsolete; use --without-fp.
472 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
473 |
--no-cr |
--no-c |
-n)
476 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
477 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
480 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
481 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
482 |
--oldin |
--oldi |
--old |
--ol |
--o)
483 ac_prev
=oldincludedir
;;
484 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
485 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
486 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
487 oldincludedir
=$ac_optarg ;;
489 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
491 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
494 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
495 |
--program-pre |
--program-pr |
--program-p)
496 ac_prev
=program_prefix
;;
497 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
498 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
499 program_prefix
=$ac_optarg ;;
501 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
502 |
--program-suf |
--program-su |
--program-s)
503 ac_prev
=program_suffix
;;
504 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
505 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
506 program_suffix
=$ac_optarg ;;
508 -program-transform-name |
--program-transform-name \
509 |
--program-transform-nam |
--program-transform-na \
510 |
--program-transform-n |
--program-transform- \
511 |
--program-transform |
--program-transfor \
512 |
--program-transfo |
--program-transf \
513 |
--program-trans |
--program-tran \
514 |
--progr-tra |
--program-tr |
--program-t)
515 ac_prev
=program_transform_name
;;
516 -program-transform-name=* |
--program-transform-name=* \
517 |
--program-transform-nam=* |
--program-transform-na=* \
518 |
--program-transform-n=* |
--program-transform-=* \
519 |
--program-transform=* |
--program-transfor=* \
520 |
--program-transfo=* |
--program-transf=* \
521 |
--program-trans=* |
--program-tran=* \
522 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
523 program_transform_name
=$ac_optarg ;;
525 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
526 |
-silent |
--silent |
--silen |
--sile |
--sil)
529 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
531 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
533 sbindir
=$ac_optarg ;;
535 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
536 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
537 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
539 ac_prev
=sharedstatedir
;;
540 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
541 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
542 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
544 sharedstatedir
=$ac_optarg ;;
546 -site |
--site |
--sit)
548 -site=* |
--site=* |
--sit=*)
551 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
553 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
556 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
557 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
558 ac_prev
=sysconfdir
;;
559 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
560 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
561 sysconfdir
=$ac_optarg ;;
563 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
564 ac_prev
=target_alias
;;
565 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
566 target_alias
=$ac_optarg ;;
568 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
571 -version |
--version |
--versio |
--versi |
--vers |
-V)
575 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
576 # Reject names that are not valid shell variable names.
577 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
578 { echo "$as_me: error: invalid package name: $ac_package" >&2
579 { (exit 1); exit 1; }; }
580 ac_package
=`echo $ac_package| sed 's/-/_/g'`
582 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
585 eval "with_$ac_package='$ac_optarg'" ;;
587 -without-* |
--without-*)
588 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package
=`echo $ac_package | sed 's/-/_/g'`
594 eval "with_$ac_package=no" ;;
597 # Obsolete; use --with-x.
600 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
601 |
--x-incl |
--x-inc |
--x-in |
--x-i)
602 ac_prev
=x_includes
;;
603 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
604 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
605 x_includes
=$ac_optarg ;;
607 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
608 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
609 ac_prev
=x_libraries
;;
610 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
611 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
612 x_libraries
=$ac_optarg ;;
614 -*) { echo "$as_me: error: unrecognized option: $ac_option
615 Try \`$0 --help' for more information." >&2
616 { (exit 1); exit 1; }; }
620 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
621 # Reject names that are not valid shell variable names.
622 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
623 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
624 { (exit 1); exit 1; }; }
625 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
626 eval "$ac_envvar='$ac_optarg'"
630 # FIXME: should be removed in autoconf 3.0.
631 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
632 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
633 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
634 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
640 if test -n "$ac_prev"; then
641 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
642 { echo "$as_me: error: missing argument to $ac_option" >&2
643 { (exit 1); exit 1; }; }
646 # Be sure to have absolute paths.
647 for ac_var
in exec_prefix prefix
649 eval ac_val
=$
`echo $ac_var`
651 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
652 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
653 { (exit 1); exit 1; }; };;
657 # Be sure to have absolute paths.
658 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
659 localstatedir libdir includedir oldincludedir infodir mandir
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # There might be people who depend on the old broken behavior: `$host'
670 # used to hold the argument of --host etc.
671 # FIXME: To remove some day.
676 # FIXME: To remove some day.
677 if test "x$host_alias" != x
; then
678 if test "x$build_alias" = x
; then
679 cross_compiling
=maybe
680 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
681 If a cross compiler is detected then cross compile mode will be used." >&2
682 elif test "x$build_alias" != "x$host_alias"; then
688 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
690 test "$silent" = yes && exec 6>/dev
/null
693 # Find the source files, if location was not specified.
694 if test -z "$srcdir"; then
695 ac_srcdir_defaulted
=yes
696 # Try the directory containing this script, then its parent.
697 ac_confdir
=`(dirname "$0") 2>/dev/null ||
698 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
699 X"$0" : 'X\(//\)[^/]' \| \
700 X"$0" : 'X\(//\)$' \| \
701 X"$0" : 'X\(/\)' \| \
702 . : '\(.\)' 2>/dev/null ||
704 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
705 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
706 /^X\(\/\/\)$/{ s//\1/; q; }
707 /^X\(\/\).*/{ s//\1/; q; }
710 if test ! -r $srcdir/$ac_unique_file; then
714 ac_srcdir_defaulted
=no
716 if test ! -r $srcdir/$ac_unique_file; then
717 if test "$ac_srcdir_defaulted" = yes; then
718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
719 { (exit 1); exit 1; }; }
721 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
722 { (exit 1); exit 1; }; }
725 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
726 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
727 { (exit 1); exit 1; }; }
728 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
729 ac_env_build_alias_set
=${build_alias+set}
730 ac_env_build_alias_value
=$build_alias
731 ac_cv_env_build_alias_set
=${build_alias+set}
732 ac_cv_env_build_alias_value
=$build_alias
733 ac_env_host_alias_set
=${host_alias+set}
734 ac_env_host_alias_value
=$host_alias
735 ac_cv_env_host_alias_set
=${host_alias+set}
736 ac_cv_env_host_alias_value
=$host_alias
737 ac_env_target_alias_set
=${target_alias+set}
738 ac_env_target_alias_value
=$target_alias
739 ac_cv_env_target_alias_set
=${target_alias+set}
740 ac_cv_env_target_alias_value
=$target_alias
741 ac_env_CC_set
=${CC+set}
743 ac_cv_env_CC_set
=${CC+set}
744 ac_cv_env_CC_value
=$CC
745 ac_env_CFLAGS_set
=${CFLAGS+set}
746 ac_env_CFLAGS_value
=$CFLAGS
747 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
748 ac_cv_env_CFLAGS_value
=$CFLAGS
749 ac_env_LDFLAGS_set
=${LDFLAGS+set}
750 ac_env_LDFLAGS_value
=$LDFLAGS
751 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
752 ac_cv_env_LDFLAGS_value
=$LDFLAGS
753 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
754 ac_env_CPPFLAGS_value
=$CPPFLAGS
755 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
756 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
759 # Report the --help message.
761 if test "$ac_init_help" = "long"; then
762 # Omit some internal or obsolete options to make the list less imposing.
763 # This message is too long to be a string in the A/UX 3.1 sh.
765 \`configure' configures this package to adapt to many kinds of systems.
767 Usage: $0 [OPTION]... [VAR=VALUE]...
769 To assign environment variables (e.g., CC, CFLAGS...), specify them as
770 VAR=VALUE. See below for descriptions of some of the useful variables.
772 Defaults for the options are specified in brackets.
775 -h, --help display this help and exit
776 --help=short display options specific to this package
777 --help=recursive display the short help of all the included packages
778 -V, --version display version information and exit
779 -q, --quiet, --silent do not print \`checking...' messages
780 --cache-file=FILE cache test results in FILE [disabled]
781 -C, --config-cache alias for \`--cache-file=config.cache'
782 -n, --no-create do not create output files
783 --srcdir=DIR find the sources in DIR [configure dir or \`..']
788 Installation directories:
789 --prefix=PREFIX install architecture-independent files in PREFIX
791 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
794 By default, \`make install' will install all the files in
795 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
796 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
797 for instance \`--prefix=\$HOME'.
799 For better control, use the options below.
801 Fine tuning of the installation directories:
802 --bindir=DIR user executables [EPREFIX/bin]
803 --sbindir=DIR system admin executables [EPREFIX/sbin]
804 --libexecdir=DIR program executables [EPREFIX/libexec]
805 --datadir=DIR read-only architecture-independent data [PREFIX/share]
806 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
807 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
808 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
809 --libdir=DIR object code libraries [EPREFIX/lib]
810 --includedir=DIR C header files [PREFIX/include]
811 --oldincludedir=DIR C header files for non-gcc [/usr/include]
812 --infodir=DIR info documentation [PREFIX/info]
813 --mandir=DIR man documentation [PREFIX/man]
819 --program-prefix=PREFIX prepend PREFIX to installed program names
820 --program-suffix=SUFFIX append SUFFIX to installed program names
821 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
824 --build=BUILD configure
for building on BUILD
[guessed
]
825 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
826 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
830 if test -n "$ac_init_help"; then
835 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
836 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
839 Some influential environment variables
:
840 CC C compiler
command
841 CFLAGS C compiler flags
842 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
843 nonstandard directory
<lib dir
>
844 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
845 headers
in a nonstandard directory
<include dir
>
847 Use these variables to override the choices made by
`configure' or to help
848 it to find libraries and programs with nonstandard names/locations.
853 if test "$ac_init_help" = "recursive"; then
854 # If there are subdirs, report their specific --help.
856 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
857 test -d $ac_dir || continue
860 if test "$ac_dir" != .; then
861 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
862 # A "../" for each directory in $ac_dir_suffix.
863 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
865 ac_dir_suffix= ac_top_builddir=
869 .) # No --srcdir option. We are building in place.
871 if test -z "$ac_top_builddir"; then
874 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
876 [\\/]* | ?:[\\/]* ) # Absolute path.
877 ac_srcdir=$srcdir$ac_dir_suffix;
878 ac_top_srcdir=$srcdir ;;
880 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
881 ac_top_srcdir=$ac_top_builddir$srcdir ;;
884 # Do not use `cd foo
&& pwd` to compute absolute paths, because
885 # the directories may not exist.
887 .) ac_abs_builddir="$ac_dir";;
890 .) ac_abs_builddir=`pwd`;;
891 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
892 *) ac_abs_builddir=`pwd`/"$ac_dir";;
895 case $ac_abs_builddir in
896 .) ac_abs_top_builddir=${ac_top_builddir}.;;
898 case ${ac_top_builddir}. in
899 .) ac_abs_top_builddir=$ac_abs_builddir;;
900 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
901 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
904 case $ac_abs_builddir in
905 .) ac_abs_srcdir=$ac_srcdir;;
908 .) ac_abs_srcdir=$ac_abs_builddir;;
909 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
910 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
913 case $ac_abs_builddir in
914 .) ac_abs_top_srcdir=$ac_top_srcdir;;
916 case $ac_top_srcdir in
917 .) ac_abs_top_srcdir=$ac_abs_builddir;;
918 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
919 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
924 # Check for guested configure; otherwise get Cygnus style configure.
925 if test -f $ac_srcdir/configure.gnu; then
927 $SHELL $ac_srcdir/configure.gnu --help=recursive
928 elif test -f $ac_srcdir/configure; then
930 $SHELL $ac_srcdir/configure --help=recursive
931 elif test -f $ac_srcdir/configure.ac ||
932 test -f $ac_srcdir/configure.in; then
936 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
942 test -n "$ac_init_help" && exit 0
943 if $ac_init_version; then
946 Copyright (C) 2003 Free Software Foundation, Inc.
947 This configure script is free software; the Free Software Foundation
948 gives unlimited permission to copy, distribute and modify it.
954 This file contains any messages produced by compilers while
955 running configure, to aid debugging if configure makes a mistake.
957 It was created by $as_me, which was
958 generated by GNU Autoconf 2.59. Invocation command line was
969 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
970 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
971 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
972 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
973 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
975 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
976 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
978 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
979 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
980 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
981 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
982 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
983 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
984 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
992 test -z "$as_dir" && as_dir=.
1008 # Keep a trace of the command line.
1009 # Strip out --no-create and --no-recursion so they do not pile up.
1010 # Strip out --silent because we don't want to record it for future runs.
1011 # Also quote any args containing shell meta-characters.
1012 # Make two passes to allow for proper duplicate-argument suppression.
1017 ac_must_keep_next=false
1023 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1024 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1025 | -silent | --silent | --silen | --sile | --sil)
1027 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1028 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1031 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1033 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1034 if test $ac_must_keep_next = true; then
1035 ac_must_keep_next=false # Got value, back to normal.
1038 *=* | --config-cache | -C | -disable-* | --disable-* \
1039 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1040 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1041 | -with-* | --with-* | -without-* | --without-* | --x)
1042 case "$ac_configure_args0 " in
1043 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1046 -* ) ac_must_keep_next=true ;;
1049 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1050 # Get rid of the leading space.
1056 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1057 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1059 # When interrupted or exit'd, cleanup temporary files, and complete
1060 # config.log. We remove comments because anyway the quotes in there
1061 # would cause problems or look ugly.
1062 # WARNING: Be sure not to use single quotes in there, as some shells,
1063 # such as our DU 5.0 friend, will then `close
' the trap.
1064 trap 'exit_status
=$?
1065 # Save into config.log some information that might help in debugging.
1070 ## ---------------- ##
1071 ## Cache variables. ##
1072 ## ---------------- ##
1075 # The following way of writing the cache mishandles newlines in values,
1078 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1081 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1082 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1086 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1093 ## ----------------- ##
1094 ## Output variables. ##
1095 ## ----------------- ##
1098 for ac_var
in $ac_subst_vars
1100 eval ac_val
=$
`echo $ac_var`
1101 echo "$ac_var='"'"'$ac_val'"'"'"
1105 if test -n "$ac_subst_files"; then
1112 for ac_var
in $ac_subst_files
1114 eval ac_val
=$
`echo $ac_var`
1115 echo "$ac_var='"'"'$ac_val'"'"'"
1120 if test -s confdefs.h
; then
1127 sed "/^$/d" confdefs.h |
sort
1130 test "$ac_signal" != 0 &&
1131 echo "$as_me: caught signal $ac_signal"
1132 echo "$as_me: exit $exit_status"
1134 rm -f core
*.core
&&
1135 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1138 for ac_signal in 1 2 13 15; do
1139 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1143 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1144 rm -rf conftest* confdefs.h
1145 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1148 # Predefined preprocessor variables.
1150 cat >>confdefs.h <<_ACEOF
1151 #define PACKAGE_NAME "$PACKAGE_NAME"
1155 cat >>confdefs.h <<_ACEOF
1156 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1160 cat >>confdefs.h <<_ACEOF
1161 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1165 cat >>confdefs.h <<_ACEOF
1166 #define PACKAGE_STRING "$PACKAGE_STRING"
1170 cat >>confdefs.h <<_ACEOF
1171 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1175 # Let the site file select an alternate cache file if it wants to.
1176 # Prefer explicitly selected file to automatically selected ones.
1177 if test -z "$CONFIG_SITE"; then
1178 if test "x$prefix" != xNONE; then
1179 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1181 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1184 for ac_site_file in $CONFIG_SITE; do
1185 if test -r "$ac_site_file"; then
1186 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1187 echo "$as_me: loading site script $ac_site_file" >&6;}
1188 sed 's
/^
/|
/' "$ac_site_file" >&5
1193 if test -r "$cache_file"; then
1194 # Some versions of bash will fail to source /dev/null (special
1195 # files actually), so we avoid doing that.
1196 if test -f "$cache_file"; then
1197 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1198 echo "$as_me: loading cache $cache_file" >&6;}
1200 [\\/]* | ?:[\\/]* ) . $cache_file;;
1201 *) . ./$cache_file;;
1205 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1206 echo "$as_me: creating cache $cache_file" >&6;}
1210 # Check that the precious variables saved in the cache have kept the same
1212 ac_cache_corrupted=false
1213 for ac_var in `(set) 2>&1 |
1214 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1215 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1216 eval ac_new_set=\$ac_env_${ac_var}_set
1217 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1218 eval ac_new_val="\$ac_env_${ac_var}_value"
1219 case $ac_old_set,$ac_new_set in
1221 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1222 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1223 ac_cache_corrupted=: ;;
1225 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1226 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1227 ac_cache_corrupted=: ;;
1230 if test "x$ac_old_val" != "x$ac_new_val"; then
1231 # differences in whitespace do not lead to failure.
1232 ac_old_val_w=`echo x $ac_old_val`
1233 ac_new_val_w=`echo x $ac_new_val`
1234 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1235 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1236 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1237 ac_cache_corrupted=:
1239 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1240 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run
:" >&2;}
1241 eval $ac_var=\$ac_old_val
1243 { echo "$as_me:$LINENO: former value
: \
`$ac_old_val'" >&5
1244 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1245 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1246 echo "$as_me: current value
: \
`$ac_new_val'" >&2;}
1249 # Pass precious variables to config.status.
1250 if test "$ac_new_set" = set; then
1252 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1253 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1254 *) ac_arg=$ac_var=$ac_new_val ;;
1256 case " $ac_configure_args " in
1257 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1258 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1262 if $ac_cache_corrupted; then
1263 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1264 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1265 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1266 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1267 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1268 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1269 { (exit 1); exit 1; }; }
1273 ac_cpp='$CPP $CPPFLAGS'
1274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1301 ac_cpp='$CPP $CPPFLAGS'
1302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1305 if test -n "$ac_tool_prefix"; then
1306 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1307 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1308 echo "$as_me:$LINENO: checking for $ac_word" >&5
1309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1310 if test "${ac_cv_prog_CC+set}" = set; then
1311 echo $ECHO_N "(cached) $ECHO_C" >&6
1313 if test -n "$CC"; then
1314 ac_cv_prog_CC="$CC" # Let the user override the test.
1316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1320 test -z "$as_dir" && as_dir=.
1321 for ac_exec_ext in '' $ac_executable_extensions; do
1322 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1323 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1333 if test -n "$CC"; then
1334 echo "$as_me:$LINENO: result: $CC" >&5
1335 echo "${ECHO_T}$CC" >&6
1337 echo "$as_me:$LINENO: result: no" >&5
1338 echo "${ECHO_T}no" >&6
1342 if test -z "$ac_cv_prog_CC"; then
1344 # Extract the first word of "gcc", so it can be a program name with args.
1345 set dummy gcc; ac_word=$2
1346 echo "$as_me:$LINENO: checking for $ac_word" >&5
1347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1348 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1349 echo $ECHO_N "(cached) $ECHO_C" >&6
1351 if test -n "$ac_ct_CC"; then
1352 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1358 test -z "$as_dir" && as_dir=.
1359 for ac_exec_ext in '' $ac_executable_extensions; do
1360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1361 ac_cv_prog_ac_ct_CC="gcc"
1362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1370 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1371 if test -n "$ac_ct_CC"; then
1372 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1373 echo "${ECHO_T}$ac_ct_CC" >&6
1375 echo "$as_me:$LINENO: result: no" >&5
1376 echo "${ECHO_T}no" >&6
1384 if test -z "$CC"; then
1385 if test -n "$ac_tool_prefix"; then
1386 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1387 set dummy ${ac_tool_prefix}cc; ac_word=$2
1388 echo "$as_me:$LINENO: checking for $ac_word" >&5
1389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1390 if test "${ac_cv_prog_CC+set}" = set; then
1391 echo $ECHO_N "(cached) $ECHO_C" >&6
1393 if test -n "$CC"; then
1394 ac_cv_prog_CC="$CC" # Let the user override the test.
1396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1400 test -z "$as_dir" && as_dir=.
1401 for ac_exec_ext in '' $ac_executable_extensions; do
1402 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1403 ac_cv_prog_CC="${ac_tool_prefix}cc"
1404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1413 if test -n "$CC"; then
1414 echo "$as_me:$LINENO: result: $CC" >&5
1415 echo "${ECHO_T}$CC" >&6
1417 echo "$as_me:$LINENO: result: no" >&5
1418 echo "${ECHO_T}no" >&6
1422 if test -z "$ac_cv_prog_CC"; then
1424 # Extract the first word of "cc", so it can be a program name with args.
1425 set dummy cc; ac_word=$2
1426 echo "$as_me:$LINENO: checking for $ac_word" >&5
1427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1428 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1429 echo $ECHO_N "(cached) $ECHO_C" >&6
1431 if test -n "$ac_ct_CC"; then
1432 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1438 test -z "$as_dir" && as_dir=.
1439 for ac_exec_ext in '' $ac_executable_extensions; do
1440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1441 ac_cv_prog_ac_ct_CC="cc"
1442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1450 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1451 if test -n "$ac_ct_CC"; then
1452 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1453 echo "${ECHO_T}$ac_ct_CC" >&6
1455 echo "$as_me:$LINENO: result: no" >&5
1456 echo "${ECHO_T}no" >&6
1465 if test -z "$CC"; then
1466 # Extract the first word of "cc", so it can be a program name with args.
1467 set dummy cc; ac_word=$2
1468 echo "$as_me:$LINENO: checking for $ac_word" >&5
1469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1470 if test "${ac_cv_prog_CC+set}" = set; then
1471 echo $ECHO_N "(cached) $ECHO_C" >&6
1473 if test -n "$CC"; then
1474 ac_cv_prog_CC="$CC" # Let the user override the test.
1477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1481 test -z "$as_dir" && as_dir=.
1482 for ac_exec_ext in '' $ac_executable_extensions; do
1483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1484 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1485 ac_prog_rejected=yes
1489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1495 if test $ac_prog_rejected = yes; then
1496 # We found a bogon in the path, so make sure we never use it.
1497 set dummy $ac_cv_prog_CC
1499 if test $# != 0; then
1500 # We chose a different compiler from the bogus one.
1501 # However, it has the same basename, so the bogon will be chosen
1502 # first if we set CC to just the basename; use the full file name.
1504 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1510 if test -n "$CC"; then
1511 echo "$as_me:$LINENO: result: $CC" >&5
1512 echo "${ECHO_T}$CC" >&6
1514 echo "$as_me:$LINENO: result: no" >&5
1515 echo "${ECHO_T}no" >&6
1519 if test -z "$CC"; then
1520 if test -n "$ac_tool_prefix"; then
1523 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1524 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1525 echo "$as_me:$LINENO: checking for $ac_word" >&5
1526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1527 if test "${ac_cv_prog_CC+set}" = set; then
1528 echo $ECHO_N "(cached) $ECHO_C" >&6
1530 if test -n "$CC"; then
1531 ac_cv_prog_CC="$CC" # Let the user override the test.
1533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1537 test -z "$as_dir" && as_dir=.
1538 for ac_exec_ext in '' $ac_executable_extensions; do
1539 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1540 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1550 if test -n "$CC"; then
1551 echo "$as_me:$LINENO: result: $CC" >&5
1552 echo "${ECHO_T}$CC" >&6
1554 echo "$as_me:$LINENO: result: no" >&5
1555 echo "${ECHO_T}no" >&6
1558 test -n "$CC" && break
1561 if test -z "$CC"; then
1565 # Extract the first word of "$ac_prog", so it can be a program name with args.
1566 set dummy $ac_prog; ac_word=$2
1567 echo "$as_me:$LINENO: checking for $ac_word" >&5
1568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1569 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1570 echo $ECHO_N "(cached) $ECHO_C" >&6
1572 if test -n "$ac_ct_CC"; then
1573 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1579 test -z "$as_dir" && as_dir=.
1580 for ac_exec_ext in '' $ac_executable_extensions; do
1581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1582 ac_cv_prog_ac_ct_CC="$ac_prog"
1583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1591 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1592 if test -n "$ac_ct_CC"; then
1593 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1594 echo "${ECHO_T}$ac_ct_CC" >&6
1596 echo "$as_me:$LINENO: result: no" >&5
1597 echo "${ECHO_T}no" >&6
1600 test -n "$ac_ct_CC" && break
1609 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1610 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1611 { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
1612 See \
`config.log' for more details." >&5
1613 echo "$as_me: error: no acceptable C compiler found in \$PATH
1614 See \`config.log
' for more details." >&2;}
1615 { (exit 1); exit 1; }; }; }
1617 # Provide some information about the compiler.
1618 echo "$as_me:$LINENO:" \
1619 "checking for C compiler version" >&5
1620 ac_compiler=`set X $ac_compile; echo $2`
1621 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1622 (eval $ac_compiler --version </dev/null >&5) 2>&5
1624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1625 (exit $ac_status); }
1626 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1627 (eval $ac_compiler -v </dev/null >&5) 2>&5
1629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1630 (exit $ac_status); }
1631 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1632 (eval $ac_compiler -V </dev/null >&5) 2>&5
1634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1635 (exit $ac_status); }
1637 cat >conftest.$ac_ext <<_ACEOF
1640 cat confdefs.h >>conftest.$ac_ext
1641 cat >>conftest.$ac_ext <<_ACEOF
1642 /* end confdefs.h. */
1652 ac_clean_files_save=$ac_clean_files
1653 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1654 # Try to create an executable without -o first, disregard a.out.
1655 # It will help us diagnose broken compilers, and finding out an intuition
1657 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1658 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1659 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
1660 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1661 (eval $ac_link_default) 2>&5
1663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1664 (exit $ac_status); }; then
1665 # Find the output, starting from the most likely. This scheme is
1666 # not robust to junk in `.', hence go to wildcards
(a.
*) only as a last
1669 # Be careful to initialize this variable, since it used to be cached.
1670 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1672 # b.out is created by i960 compilers.
1673 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1675 test -f "$ac_file" ||
continue
1677 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1680 # This is the source file.
1683 # We found the default executable, but exeext='' is most
1687 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1688 # FIXME: I believe we export ac_cv_exeext for Libtool,
1689 # but it would be cool to find out if it's true. Does anybody
1690 # maintain Libtool? --akim.
1698 echo "$as_me: failed program was:" >&5
1699 sed 's/^/| /' conftest.
$ac_ext >&5
1701 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1702 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1703 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1704 See \`config.log' for more details." >&5
1705 echo "$as_me: error: C compiler cannot create executables
1706 See \`config.log' for more details." >&2;}
1707 { (exit 77); exit 77; }; }; }
1710 ac_exeext
=$ac_cv_exeext
1711 echo "$as_me:$LINENO: result: $ac_file" >&5
1712 echo "${ECHO_T}$ac_file" >&6
1714 # Check the compiler produces executables we can run. If not, either
1715 # the compiler is broken, or we cross compile.
1716 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1717 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1718 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1719 # If not cross compiling, check that we can run a simple program.
1720 if test "$cross_compiling" != yes; then
1721 if { ac_try
='./$ac_file'
1722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1726 (exit $ac_status); }; }; then
1729 if test "$cross_compiling" = maybe
; then
1732 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1733 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1734 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1735 If you meant to cross compile, use \`--host'.
1736 See \`config.log' for more details." >&5
1737 echo "$as_me: error: cannot run C compiled programs.
1738 If you meant to cross compile, use \`--host'.
1739 See \`config.log' for more details." >&2;}
1740 { (exit 1); exit 1; }; }; }
1744 echo "$as_me:$LINENO: result: yes" >&5
1745 echo "${ECHO_T}yes" >&6
1747 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1748 ac_clean_files
=$ac_clean_files_save
1749 # Check the compiler produces executables we can run. If not, either
1750 # the compiler is broken, or we cross compile.
1751 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1752 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1753 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1754 echo "${ECHO_T}$cross_compiling" >&6
1756 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1757 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1759 (eval $ac_link) 2>&5
1761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1762 (exit $ac_status); }; then
1763 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1764 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1765 # work properly (i.e., refer to `conftest.exe'), while it won't with
1767 for ac_file
in conftest.exe conftest conftest.
*; do
1768 test -f "$ac_file" ||
continue
1770 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1771 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1778 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1779 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1780 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1781 See \`config.log' for more details." >&5
1782 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1783 See \`config.log' for more details." >&2;}
1784 { (exit 1); exit 1; }; }; }
1787 rm -f conftest
$ac_cv_exeext
1788 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1789 echo "${ECHO_T}$ac_cv_exeext" >&6
1791 rm -f conftest.
$ac_ext
1792 EXEEXT
=$ac_cv_exeext
1794 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1795 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1796 if test "${ac_cv_objext+set}" = set; then
1797 echo $ECHO_N "(cached) $ECHO_C" >&6
1799 cat >conftest.
$ac_ext <<_ACEOF
1802 cat confdefs.h
>>conftest.
$ac_ext
1803 cat >>conftest.
$ac_ext <<_ACEOF
1804 /* end confdefs.h. */
1814 rm -f conftest.o conftest.obj
1815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1816 (eval $ac_compile) 2>&5
1818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1819 (exit $ac_status); }; then
1820 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1822 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1823 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1828 echo "$as_me: failed program was:" >&5
1829 sed 's/^/| /' conftest.
$ac_ext >&5
1831 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1832 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1833 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1834 See \`config.log' for more details." >&5
1835 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1836 See \`config.log' for more details." >&2;}
1837 { (exit 1); exit 1; }; }; }
1840 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1842 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1843 echo "${ECHO_T}$ac_cv_objext" >&6
1844 OBJEXT
=$ac_cv_objext
1846 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1847 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1848 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1849 echo $ECHO_N "(cached) $ECHO_C" >&6
1851 cat >conftest.
$ac_ext <<_ACEOF
1854 cat confdefs.h
>>conftest.
$ac_ext
1855 cat >>conftest.
$ac_ext <<_ACEOF
1856 /* end confdefs.h. */
1869 rm -f conftest.
$ac_objext
1870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1871 (eval $ac_compile) 2>conftest.er1
1873 grep -v '^ *+' conftest.er1
>conftest.err
1875 cat conftest.err
>&5
1876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1877 (exit $ac_status); } &&
1878 { ac_try
='test -z "$ac_c_werror_flag"
1879 || test ! -s conftest.err'
1880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1884 (exit $ac_status); }; } &&
1885 { ac_try
='test -s conftest.$ac_objext'
1886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1890 (exit $ac_status); }; }; then
1893 echo "$as_me: failed program was:" >&5
1894 sed 's/^/| /' conftest.
$ac_ext >&5
1898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1899 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1902 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1903 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1904 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1905 ac_test_CFLAGS
=${CFLAGS+set}
1906 ac_save_CFLAGS
=$CFLAGS
1908 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1909 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1910 if test "${ac_cv_prog_cc_g+set}" = set; then
1911 echo $ECHO_N "(cached) $ECHO_C" >&6
1913 cat >conftest.
$ac_ext <<_ACEOF
1916 cat confdefs.h
>>conftest.
$ac_ext
1917 cat >>conftest.
$ac_ext <<_ACEOF
1918 /* end confdefs.h. */
1928 rm -f conftest.
$ac_objext
1929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1930 (eval $ac_compile) 2>conftest.er1
1932 grep -v '^ *+' conftest.er1
>conftest.err
1934 cat conftest.err
>&5
1935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1936 (exit $ac_status); } &&
1937 { ac_try
='test -z "$ac_c_werror_flag"
1938 || test ! -s conftest.err'
1939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1943 (exit $ac_status); }; } &&
1944 { ac_try
='test -s conftest.$ac_objext'
1945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1949 (exit $ac_status); }; }; then
1952 echo "$as_me: failed program was:" >&5
1953 sed 's/^/| /' conftest.
$ac_ext >&5
1957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1959 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1960 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1961 if test "$ac_test_CFLAGS" = set; then
1962 CFLAGS
=$ac_save_CFLAGS
1963 elif test $ac_cv_prog_cc_g = yes; then
1964 if test "$GCC" = yes; then
1970 if test "$GCC" = yes; then
1976 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1977 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1978 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1979 echo $ECHO_N "(cached) $ECHO_C" >&6
1981 ac_cv_prog_cc_stdc
=no
1983 cat >conftest.
$ac_ext <<_ACEOF
1986 cat confdefs.h
>>conftest.
$ac_ext
1987 cat >>conftest.
$ac_ext <<_ACEOF
1988 /* end confdefs.h. */
1991 #include <sys/types.h>
1992 #include <sys/stat.h>
1993 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1994 struct buf { int x; };
1995 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1996 static char *e (p, i)
2002 static char *f (char * (*g) (char **, int), char **p, ...)
2007 s = g (p, va_arg (v,int));
2012 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2013 function prototypes and stuff, but not '\xHH' hex character constants.
2014 These don't provoke an error unfortunately, instead are silently treated
2015 as 'x'. The following induces an error, until -std1 is added to get
2016 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2017 array size at least. It's necessary to write '\x00'==0 to get something
2018 that's true only with -std1. */
2019 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2021 int test (int i, double x);
2022 struct s1 {int (*f) (int a);};
2023 struct s2 {int (*f) (double a);};
2024 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2030 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2035 # Don't try gcc -ansi; that turns off useful extensions and
2036 # breaks some systems' header files.
2037 # AIX -qlanglvl=ansi
2038 # Ultrix and OSF/1 -std1
2039 # HP-UX 10.20 and later -Ae
2040 # HP-UX older versions -Aa -D_HPUX_SOURCE
2041 # SVR4 -Xc -D__EXTENSIONS__
2042 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2044 CC
="$ac_save_CC $ac_arg"
2045 rm -f conftest.
$ac_objext
2046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2047 (eval $ac_compile) 2>conftest.er1
2049 grep -v '^ *+' conftest.er1
>conftest.err
2051 cat conftest.err
>&5
2052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2053 (exit $ac_status); } &&
2054 { ac_try
='test -z "$ac_c_werror_flag"
2055 || test ! -s conftest.err'
2056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2060 (exit $ac_status); }; } &&
2061 { ac_try
='test -s conftest.$ac_objext'
2062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2066 (exit $ac_status); }; }; then
2067 ac_cv_prog_cc_stdc
=$ac_arg
2070 echo "$as_me: failed program was:" >&5
2071 sed 's/^/| /' conftest.
$ac_ext >&5
2074 rm -f conftest.err conftest.
$ac_objext
2076 rm -f conftest.
$ac_ext conftest.
$ac_objext
2081 case "x$ac_cv_prog_cc_stdc" in
2083 echo "$as_me:$LINENO: result: none needed" >&5
2084 echo "${ECHO_T}none needed" >&6 ;;
2086 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2087 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2088 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2091 # Some people use a C++ compiler to compile C. Since we use `exit',
2092 # in C++ we need to declare it. In case someone uses the same compiler
2093 # for both compiling C and C++ we need to have the C++ compiler decide
2094 # the declaration of exit, since it's the most demanding environment.
2095 cat >conftest.
$ac_ext <<_ACEOF
2100 rm -f conftest.
$ac_objext
2101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2102 (eval $ac_compile) 2>conftest.er1
2104 grep -v '^ *+' conftest.er1
>conftest.err
2106 cat conftest.err
>&5
2107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2108 (exit $ac_status); } &&
2109 { ac_try
='test -z "$ac_c_werror_flag"
2110 || test ! -s conftest.err'
2111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2115 (exit $ac_status); }; } &&
2116 { ac_try
='test -s conftest.$ac_objext'
2117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2121 (exit $ac_status); }; }; then
2122 for ac_declaration
in \
2124 'extern "C" void std::exit (int) throw (); using std::exit;' \
2125 'extern "C" void std::exit (int); using std::exit;' \
2126 'extern "C" void exit (int) throw ();' \
2127 'extern "C" void exit (int);' \
2130 cat >conftest.
$ac_ext <<_ACEOF
2133 cat confdefs.h
>>conftest.
$ac_ext
2134 cat >>conftest.
$ac_ext <<_ACEOF
2135 /* end confdefs.h. */
2146 rm -f conftest.
$ac_objext
2147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2148 (eval $ac_compile) 2>conftest.er1
2150 grep -v '^ *+' conftest.er1
>conftest.err
2152 cat conftest.err
>&5
2153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2154 (exit $ac_status); } &&
2155 { ac_try
='test -z "$ac_c_werror_flag"
2156 || test ! -s conftest.err'
2157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2161 (exit $ac_status); }; } &&
2162 { ac_try
='test -s conftest.$ac_objext'
2163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2167 (exit $ac_status); }; }; then
2170 echo "$as_me: failed program was:" >&5
2171 sed 's/^/| /' conftest.
$ac_ext >&5
2175 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2176 cat >conftest.
$ac_ext <<_ACEOF
2179 cat confdefs.h
>>conftest.
$ac_ext
2180 cat >>conftest.
$ac_ext <<_ACEOF
2181 /* end confdefs.h. */
2191 rm -f conftest.
$ac_objext
2192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2193 (eval $ac_compile) 2>conftest.er1
2195 grep -v '^ *+' conftest.er1
>conftest.err
2197 cat conftest.err
>&5
2198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2199 (exit $ac_status); } &&
2200 { ac_try
='test -z "$ac_c_werror_flag"
2201 || test ! -s conftest.err'
2202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2206 (exit $ac_status); }; } &&
2207 { ac_try
='test -s conftest.$ac_objext'
2208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2212 (exit $ac_status); }; }; then
2215 echo "$as_me: failed program was:" >&5
2216 sed 's/^/| /' conftest.
$ac_ext >&5
2219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2222 if test -n "$ac_declaration"; then
2223 echo '#ifdef __cplusplus' >>confdefs.h
2224 echo $ac_declaration >>confdefs.h
2225 echo '#endif' >>confdefs.h
2229 echo "$as_me: failed program was:" >&5
2230 sed 's/^/| /' conftest.
$ac_ext >&5
2233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2235 ac_cpp
='$CPP $CPPFLAGS'
2236 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2237 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2238 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2241 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
2242 if test -f $ac_dir/install-sh
; then
2244 ac_install_sh
="$ac_aux_dir/install-sh -c"
2246 elif test -f $ac_dir/install.sh
; then
2248 ac_install_sh
="$ac_aux_dir/install.sh -c"
2250 elif test -f $ac_dir/shtool
; then
2252 ac_install_sh
="$ac_aux_dir/shtool install -c"
2256 if test -z "$ac_aux_dir"; then
2257 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2258 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2259 { (exit 1); exit 1; }; }
2261 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
2262 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
2263 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2265 # Find a good install program. We prefer a C program (faster),
2266 # so one script is as good as another. But avoid the broken or
2267 # incompatible versions:
2268 # SysV /etc/install, /usr/sbin/install
2269 # SunOS /usr/etc/install
2270 # IRIX /sbin/install
2272 # AmigaOS /C/install, which installs bootblocks on floppy discs
2273 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2274 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2275 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2276 # OS/2's system install, which has a completely different semantic
2277 # ./install, which can be erroneously created by make from ./install.sh.
2278 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2279 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2280 if test -z "$INSTALL"; then
2281 if test "${ac_cv_path_install+set}" = set; then
2282 echo $ECHO_N "(cached) $ECHO_C" >&6
2284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2288 test -z "$as_dir" && as_dir
=.
2289 # Account for people who put trailing slashes in PATH elements.
2291 .
/ | .
// |
/cC
/* | \
2292 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2293 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2296 # OSF1 and SCO ODT 3.0 have their own names for install.
2297 # Don't use installbsd from OSF since it installs stuff as root
2299 for ac_prog
in ginstall scoinst
install; do
2300 for ac_exec_ext
in '' $ac_executable_extensions; do
2301 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2302 if test $ac_prog = install &&
2303 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2304 # AIX install. It has an incompatible calling convention.
2306 elif test $ac_prog = install &&
2307 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2308 # program-specific install script used by HP pwplus--don't use.
2311 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2323 if test "${ac_cv_path_install+set}" = set; then
2324 INSTALL
=$ac_cv_path_install
2326 # As a last resort, use the slow shell script. We don't cache a
2327 # path for INSTALL within a source directory, because that will
2328 # break other packages using the cache if that directory is
2329 # removed, or if the path is relative.
2330 INSTALL
=$ac_install_sh
2333 echo "$as_me:$LINENO: result: $INSTALL" >&5
2334 echo "${ECHO_T}$INSTALL" >&6
2336 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2337 # It thinks the first close brace ends the variable substitution.
2338 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2340 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2342 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2344 if test -n "$ac_tool_prefix"; then
2345 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2346 set dummy
${ac_tool_prefix}ar; ac_word
=$2
2347 echo "$as_me:$LINENO: checking for $ac_word" >&5
2348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2349 if test "${ac_cv_prog_AR+set}" = set; then
2350 echo $ECHO_N "(cached) $ECHO_C" >&6
2352 if test -n "$AR"; then
2353 ac_cv_prog_AR
="$AR" # Let the user override the test.
2355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2359 test -z "$as_dir" && as_dir
=.
2360 for ac_exec_ext
in '' $ac_executable_extensions; do
2361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2362 ac_cv_prog_AR
="${ac_tool_prefix}ar"
2363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2372 if test -n "$AR"; then
2373 echo "$as_me:$LINENO: result: $AR" >&5
2374 echo "${ECHO_T}$AR" >&6
2376 echo "$as_me:$LINENO: result: no" >&5
2377 echo "${ECHO_T}no" >&6
2381 if test -z "$ac_cv_prog_AR"; then
2383 # Extract the first word of "ar", so it can be a program name with args.
2384 set dummy
ar; ac_word
=$2
2385 echo "$as_me:$LINENO: checking for $ac_word" >&5
2386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2387 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2388 echo $ECHO_N "(cached) $ECHO_C" >&6
2390 if test -n "$ac_ct_AR"; then
2391 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
2393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2397 test -z "$as_dir" && as_dir
=.
2398 for ac_exec_ext
in '' $ac_executable_extensions; do
2399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2400 ac_cv_prog_ac_ct_AR
="ar"
2401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2409 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
2410 if test -n "$ac_ct_AR"; then
2411 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2412 echo "${ECHO_T}$ac_ct_AR" >&6
2414 echo "$as_me:$LINENO: result: no" >&5
2415 echo "${ECHO_T}no" >&6
2423 if test -n "$ac_tool_prefix"; then
2424 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2425 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2426 echo "$as_me:$LINENO: checking for $ac_word" >&5
2427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2428 if test "${ac_cv_prog_RANLIB+set}" = set; then
2429 echo $ECHO_N "(cached) $ECHO_C" >&6
2431 if test -n "$RANLIB"; then
2432 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2438 test -z "$as_dir" && as_dir
=.
2439 for ac_exec_ext
in '' $ac_executable_extensions; do
2440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2441 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2450 RANLIB
=$ac_cv_prog_RANLIB
2451 if test -n "$RANLIB"; then
2452 echo "$as_me:$LINENO: result: $RANLIB" >&5
2453 echo "${ECHO_T}$RANLIB" >&6
2455 echo "$as_me:$LINENO: result: no" >&5
2456 echo "${ECHO_T}no" >&6
2460 if test -z "$ac_cv_prog_RANLIB"; then
2461 ac_ct_RANLIB
=$RANLIB
2462 # Extract the first word of "ranlib", so it can be a program name with args.
2463 set dummy ranlib
; ac_word
=$2
2464 echo "$as_me:$LINENO: checking for $ac_word" >&5
2465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2466 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2467 echo $ECHO_N "(cached) $ECHO_C" >&6
2469 if test -n "$ac_ct_RANLIB"; then
2470 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2476 test -z "$as_dir" && as_dir
=.
2477 for ac_exec_ext
in '' $ac_executable_extensions; do
2478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2479 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2486 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2489 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2490 if test -n "$ac_ct_RANLIB"; then
2491 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2492 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2494 echo "$as_me:$LINENO: result: no" >&5
2495 echo "${ECHO_T}no" >&6
2498 RANLIB
=$ac_ct_RANLIB
2500 RANLIB
="$ac_cv_prog_RANLIB"
2504 # Make sure we can run config.sub.
2505 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2506 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2507 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2508 { (exit 1); exit 1; }; }
2510 echo "$as_me:$LINENO: checking build system type" >&5
2511 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2512 if test "${ac_cv_build+set}" = set; then
2513 echo $ECHO_N "(cached) $ECHO_C" >&6
2515 ac_cv_build_alias
=$build_alias
2516 test -z "$ac_cv_build_alias" &&
2517 ac_cv_build_alias
=`$ac_config_guess`
2518 test -z "$ac_cv_build_alias" &&
2519 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2520 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2521 { (exit 1); exit 1; }; }
2522 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2523 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2524 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2525 { (exit 1); exit 1; }; }
2528 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2529 echo "${ECHO_T}$ac_cv_build" >&6
2531 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2532 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2533 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2536 echo "$as_me:$LINENO: checking host system type" >&5
2537 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2538 if test "${ac_cv_host+set}" = set; then
2539 echo $ECHO_N "(cached) $ECHO_C" >&6
2541 ac_cv_host_alias
=$host_alias
2542 test -z "$ac_cv_host_alias" &&
2543 ac_cv_host_alias
=$ac_cv_build_alias
2544 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2545 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2546 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2547 { (exit 1); exit 1; }; }
2550 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2551 echo "${ECHO_T}$ac_cv_host" >&6
2553 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2554 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2555 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2558 echo "$as_me:$LINENO: checking target system type" >&5
2559 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2560 if test "${ac_cv_target+set}" = set; then
2561 echo $ECHO_N "(cached) $ECHO_C" >&6
2563 ac_cv_target_alias
=$target_alias
2564 test "x$ac_cv_target_alias" = "x" &&
2565 ac_cv_target_alias
=$ac_cv_host_alias
2566 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
2567 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2568 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2569 { (exit 1); exit 1; }; }
2572 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2573 echo "${ECHO_T}$ac_cv_target" >&6
2574 target
=$ac_cv_target
2575 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2576 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2577 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2580 # The aliases save the names the user supplied, while $host etc.
2581 # will get canonicalized.
2582 test -n "$target_alias" &&
2583 test "$program_prefix$program_suffix$program_transform_name" = \
2585 program_prefix
=${target_alias}-
2586 test "$program_prefix" != NONE
&&
2587 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2588 # Use a double $ so make ignores it.
2589 test "$program_suffix" != NONE
&&
2590 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2591 # Double any \ or $. echo might interpret backslashes.
2592 # By default was `s,x,x', remove it if useless.
2593 cat <<\_ACEOF
>conftest.
sed
2594 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2596 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2600 ac_cpp
='$CPP $CPPFLAGS'
2601 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2602 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2603 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2604 if test -n "$ac_tool_prefix"; then
2605 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2606 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2607 echo "$as_me:$LINENO: checking for $ac_word" >&5
2608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2609 if test "${ac_cv_prog_CC+set}" = set; then
2610 echo $ECHO_N "(cached) $ECHO_C" >&6
2612 if test -n "$CC"; then
2613 ac_cv_prog_CC
="$CC" # Let the user override the test.
2615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2619 test -z "$as_dir" && as_dir
=.
2620 for ac_exec_ext
in '' $ac_executable_extensions; do
2621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2622 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2632 if test -n "$CC"; then
2633 echo "$as_me:$LINENO: result: $CC" >&5
2634 echo "${ECHO_T}$CC" >&6
2636 echo "$as_me:$LINENO: result: no" >&5
2637 echo "${ECHO_T}no" >&6
2641 if test -z "$ac_cv_prog_CC"; then
2643 # Extract the first word of "gcc", so it can be a program name with args.
2644 set dummy gcc
; ac_word
=$2
2645 echo "$as_me:$LINENO: checking for $ac_word" >&5
2646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2647 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2648 echo $ECHO_N "(cached) $ECHO_C" >&6
2650 if test -n "$ac_ct_CC"; then
2651 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2657 test -z "$as_dir" && as_dir
=.
2658 for ac_exec_ext
in '' $ac_executable_extensions; do
2659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2660 ac_cv_prog_ac_ct_CC
="gcc"
2661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2669 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2670 if test -n "$ac_ct_CC"; then
2671 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2672 echo "${ECHO_T}$ac_ct_CC" >&6
2674 echo "$as_me:$LINENO: result: no" >&5
2675 echo "${ECHO_T}no" >&6
2683 if test -z "$CC"; then
2684 if test -n "$ac_tool_prefix"; then
2685 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2686 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2687 echo "$as_me:$LINENO: checking for $ac_word" >&5
2688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2689 if test "${ac_cv_prog_CC+set}" = set; then
2690 echo $ECHO_N "(cached) $ECHO_C" >&6
2692 if test -n "$CC"; then
2693 ac_cv_prog_CC
="$CC" # Let the user override the test.
2695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2699 test -z "$as_dir" && as_dir
=.
2700 for ac_exec_ext
in '' $ac_executable_extensions; do
2701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2702 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2712 if test -n "$CC"; then
2713 echo "$as_me:$LINENO: result: $CC" >&5
2714 echo "${ECHO_T}$CC" >&6
2716 echo "$as_me:$LINENO: result: no" >&5
2717 echo "${ECHO_T}no" >&6
2721 if test -z "$ac_cv_prog_CC"; then
2723 # Extract the first word of "cc", so it can be a program name with args.
2724 set dummy cc
; ac_word
=$2
2725 echo "$as_me:$LINENO: checking for $ac_word" >&5
2726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2727 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2728 echo $ECHO_N "(cached) $ECHO_C" >&6
2730 if test -n "$ac_ct_CC"; then
2731 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2737 test -z "$as_dir" && as_dir
=.
2738 for ac_exec_ext
in '' $ac_executable_extensions; do
2739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2740 ac_cv_prog_ac_ct_CC
="cc"
2741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2749 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2750 if test -n "$ac_ct_CC"; then
2751 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2752 echo "${ECHO_T}$ac_ct_CC" >&6
2754 echo "$as_me:$LINENO: result: no" >&5
2755 echo "${ECHO_T}no" >&6
2764 if test -z "$CC"; then
2765 # Extract the first word of "cc", so it can be a program name with args.
2766 set dummy cc
; ac_word
=$2
2767 echo "$as_me:$LINENO: checking for $ac_word" >&5
2768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2769 if test "${ac_cv_prog_CC+set}" = set; then
2770 echo $ECHO_N "(cached) $ECHO_C" >&6
2772 if test -n "$CC"; then
2773 ac_cv_prog_CC
="$CC" # Let the user override the test.
2776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2780 test -z "$as_dir" && as_dir
=.
2781 for ac_exec_ext
in '' $ac_executable_extensions; do
2782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2783 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2784 ac_prog_rejected
=yes
2788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2794 if test $ac_prog_rejected = yes; then
2795 # We found a bogon in the path, so make sure we never use it.
2796 set dummy
$ac_cv_prog_CC
2798 if test $# != 0; then
2799 # We chose a different compiler from the bogus one.
2800 # However, it has the same basename, so the bogon will be chosen
2801 # first if we set CC to just the basename; use the full file name.
2803 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2809 if test -n "$CC"; then
2810 echo "$as_me:$LINENO: result: $CC" >&5
2811 echo "${ECHO_T}$CC" >&6
2813 echo "$as_me:$LINENO: result: no" >&5
2814 echo "${ECHO_T}no" >&6
2818 if test -z "$CC"; then
2819 if test -n "$ac_tool_prefix"; then
2822 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2823 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2824 echo "$as_me:$LINENO: checking for $ac_word" >&5
2825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2826 if test "${ac_cv_prog_CC+set}" = set; then
2827 echo $ECHO_N "(cached) $ECHO_C" >&6
2829 if test -n "$CC"; then
2830 ac_cv_prog_CC
="$CC" # Let the user override the test.
2832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2836 test -z "$as_dir" && as_dir
=.
2837 for ac_exec_ext
in '' $ac_executable_extensions; do
2838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2839 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2849 if test -n "$CC"; then
2850 echo "$as_me:$LINENO: result: $CC" >&5
2851 echo "${ECHO_T}$CC" >&6
2853 echo "$as_me:$LINENO: result: no" >&5
2854 echo "${ECHO_T}no" >&6
2857 test -n "$CC" && break
2860 if test -z "$CC"; then
2864 # Extract the first word of "$ac_prog", so it can be a program name with args.
2865 set dummy
$ac_prog; ac_word
=$2
2866 echo "$as_me:$LINENO: checking for $ac_word" >&5
2867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2868 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2869 echo $ECHO_N "(cached) $ECHO_C" >&6
2871 if test -n "$ac_ct_CC"; then
2872 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2878 test -z "$as_dir" && as_dir
=.
2879 for ac_exec_ext
in '' $ac_executable_extensions; do
2880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2881 ac_cv_prog_ac_ct_CC
="$ac_prog"
2882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2890 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2891 if test -n "$ac_ct_CC"; then
2892 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2893 echo "${ECHO_T}$ac_ct_CC" >&6
2895 echo "$as_me:$LINENO: result: no" >&5
2896 echo "${ECHO_T}no" >&6
2899 test -n "$ac_ct_CC" && break
2908 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2909 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2910 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2911 See \`config.log' for more details." >&5
2912 echo "$as_me: error: no acceptable C compiler found in \$PATH
2913 See \`config.log' for more details." >&2;}
2914 { (exit 1); exit 1; }; }; }
2916 # Provide some information about the compiler.
2917 echo "$as_me:$LINENO:" \
2918 "checking for C compiler version" >&5
2919 ac_compiler
=`set X $ac_compile; echo $2`
2920 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2921 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); }
2925 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2926 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929 (exit $ac_status); }
2930 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2931 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); }
2936 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2937 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2938 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2939 echo $ECHO_N "(cached) $ECHO_C" >&6
2941 cat >conftest.
$ac_ext <<_ACEOF
2944 cat confdefs.h
>>conftest.
$ac_ext
2945 cat >>conftest.
$ac_ext <<_ACEOF
2946 /* end confdefs.h. */
2959 rm -f conftest.
$ac_objext
2960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2961 (eval $ac_compile) 2>conftest.er1
2963 grep -v '^ *+' conftest.er1
>conftest.err
2965 cat conftest.err
>&5
2966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967 (exit $ac_status); } &&
2968 { ac_try
='test -z "$ac_c_werror_flag"
2969 || test ! -s conftest.err'
2970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974 (exit $ac_status); }; } &&
2975 { ac_try
='test -s conftest.$ac_objext'
2976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 (exit $ac_status); }; }; then
2983 echo "$as_me: failed program was:" >&5
2984 sed 's/^/| /' conftest.
$ac_ext >&5
2988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2989 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2992 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2993 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2994 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2995 ac_test_CFLAGS
=${CFLAGS+set}
2996 ac_save_CFLAGS
=$CFLAGS
2998 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2999 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3000 if test "${ac_cv_prog_cc_g+set}" = set; then
3001 echo $ECHO_N "(cached) $ECHO_C" >&6
3003 cat >conftest.
$ac_ext <<_ACEOF
3006 cat confdefs.h
>>conftest.
$ac_ext
3007 cat >>conftest.
$ac_ext <<_ACEOF
3008 /* end confdefs.h. */
3018 rm -f conftest.
$ac_objext
3019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3020 (eval $ac_compile) 2>conftest.er1
3022 grep -v '^ *+' conftest.er1
>conftest.err
3024 cat conftest.err
>&5
3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026 (exit $ac_status); } &&
3027 { ac_try
='test -z "$ac_c_werror_flag"
3028 || test ! -s conftest.err'
3029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3033 (exit $ac_status); }; } &&
3034 { ac_try
='test -s conftest.$ac_objext'
3035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3039 (exit $ac_status); }; }; then
3042 echo "$as_me: failed program was:" >&5
3043 sed 's/^/| /' conftest.
$ac_ext >&5
3047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3049 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3050 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3051 if test "$ac_test_CFLAGS" = set; then
3052 CFLAGS
=$ac_save_CFLAGS
3053 elif test $ac_cv_prog_cc_g = yes; then
3054 if test "$GCC" = yes; then
3060 if test "$GCC" = yes; then
3066 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3067 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3068 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3069 echo $ECHO_N "(cached) $ECHO_C" >&6
3071 ac_cv_prog_cc_stdc
=no
3073 cat >conftest.
$ac_ext <<_ACEOF
3076 cat confdefs.h
>>conftest.
$ac_ext
3077 cat >>conftest.
$ac_ext <<_ACEOF
3078 /* end confdefs.h. */
3081 #include <sys/types.h>
3082 #include <sys/stat.h>
3083 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3084 struct buf { int x; };
3085 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3086 static char *e (p, i)
3092 static char *f (char * (*g) (char **, int), char **p, ...)
3097 s = g (p, va_arg (v,int));
3102 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3103 function prototypes and stuff, but not '\xHH' hex character constants.
3104 These don't provoke an error unfortunately, instead are silently treated
3105 as 'x'. The following induces an error, until -std1 is added to get
3106 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3107 array size at least. It's necessary to write '\x00'==0 to get something
3108 that's true only with -std1. */
3109 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3111 int test (int i, double x);
3112 struct s1 {int (*f) (int a);};
3113 struct s2 {int (*f) (double a);};
3114 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3120 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3125 # Don't try gcc -ansi; that turns off useful extensions and
3126 # breaks some systems' header files.
3127 # AIX -qlanglvl=ansi
3128 # Ultrix and OSF/1 -std1
3129 # HP-UX 10.20 and later -Ae
3130 # HP-UX older versions -Aa -D_HPUX_SOURCE
3131 # SVR4 -Xc -D__EXTENSIONS__
3132 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3134 CC
="$ac_save_CC $ac_arg"
3135 rm -f conftest.
$ac_objext
3136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3137 (eval $ac_compile) 2>conftest.er1
3139 grep -v '^ *+' conftest.er1
>conftest.err
3141 cat conftest.err
>&5
3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 (exit $ac_status); } &&
3144 { ac_try
='test -z "$ac_c_werror_flag"
3145 || test ! -s conftest.err'
3146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150 (exit $ac_status); }; } &&
3151 { ac_try
='test -s conftest.$ac_objext'
3152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156 (exit $ac_status); }; }; then
3157 ac_cv_prog_cc_stdc
=$ac_arg
3160 echo "$as_me: failed program was:" >&5
3161 sed 's/^/| /' conftest.
$ac_ext >&5
3164 rm -f conftest.err conftest.
$ac_objext
3166 rm -f conftest.
$ac_ext conftest.
$ac_objext
3171 case "x$ac_cv_prog_cc_stdc" in
3173 echo "$as_me:$LINENO: result: none needed" >&5
3174 echo "${ECHO_T}none needed" >&6 ;;
3176 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3177 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3178 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3181 # Some people use a C++ compiler to compile C. Since we use `exit',
3182 # in C++ we need to declare it. In case someone uses the same compiler
3183 # for both compiling C and C++ we need to have the C++ compiler decide
3184 # the declaration of exit, since it's the most demanding environment.
3185 cat >conftest.
$ac_ext <<_ACEOF
3190 rm -f conftest.
$ac_objext
3191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3192 (eval $ac_compile) 2>conftest.er1
3194 grep -v '^ *+' conftest.er1
>conftest.err
3196 cat conftest.err
>&5
3197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198 (exit $ac_status); } &&
3199 { ac_try
='test -z "$ac_c_werror_flag"
3200 || test ! -s conftest.err'
3201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3205 (exit $ac_status); }; } &&
3206 { ac_try
='test -s conftest.$ac_objext'
3207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3211 (exit $ac_status); }; }; then
3212 for ac_declaration
in \
3214 'extern "C" void std::exit (int) throw (); using std::exit;' \
3215 'extern "C" void std::exit (int); using std::exit;' \
3216 'extern "C" void exit (int) throw ();' \
3217 'extern "C" void exit (int);' \
3220 cat >conftest.
$ac_ext <<_ACEOF
3223 cat confdefs.h
>>conftest.
$ac_ext
3224 cat >>conftest.
$ac_ext <<_ACEOF
3225 /* end confdefs.h. */
3236 rm -f conftest.
$ac_objext
3237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3238 (eval $ac_compile) 2>conftest.er1
3240 grep -v '^ *+' conftest.er1
>conftest.err
3242 cat conftest.err
>&5
3243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3244 (exit $ac_status); } &&
3245 { ac_try
='test -z "$ac_c_werror_flag"
3246 || test ! -s conftest.err'
3247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3251 (exit $ac_status); }; } &&
3252 { ac_try
='test -s conftest.$ac_objext'
3253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3257 (exit $ac_status); }; }; then
3260 echo "$as_me: failed program was:" >&5
3261 sed 's/^/| /' conftest.
$ac_ext >&5
3265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3266 cat >conftest.
$ac_ext <<_ACEOF
3269 cat confdefs.h
>>conftest.
$ac_ext
3270 cat >>conftest.
$ac_ext <<_ACEOF
3271 /* end confdefs.h. */
3281 rm -f conftest.
$ac_objext
3282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3283 (eval $ac_compile) 2>conftest.er1
3285 grep -v '^ *+' conftest.er1
>conftest.err
3287 cat conftest.err
>&5
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); } &&
3290 { ac_try
='test -z "$ac_c_werror_flag"
3291 || test ! -s conftest.err'
3292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296 (exit $ac_status); }; } &&
3297 { ac_try
='test -s conftest.$ac_objext'
3298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302 (exit $ac_status); }; }; then
3305 echo "$as_me: failed program was:" >&5
3306 sed 's/^/| /' conftest.
$ac_ext >&5
3309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3312 if test -n "$ac_declaration"; then
3313 echo '#ifdef __cplusplus' >>confdefs.h
3314 echo $ac_declaration >>confdefs.h
3315 echo '#endif' >>confdefs.h
3319 echo "$as_me: failed program was:" >&5
3320 sed 's/^/| /' conftest.
$ac_ext >&5
3323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3325 ac_cpp
='$CPP $CPPFLAGS'
3326 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3327 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3328 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3334 if test -n "$ac_tool_prefix"; then
3335 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3336 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3337 echo "$as_me:$LINENO: checking for $ac_word" >&5
3338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3339 if test "${ac_cv_prog_RANLIB+set}" = set; then
3340 echo $ECHO_N "(cached) $ECHO_C" >&6
3342 if test -n "$RANLIB"; then
3343 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3349 test -z "$as_dir" && as_dir
=.
3350 for ac_exec_ext
in '' $ac_executable_extensions; do
3351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3352 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3361 RANLIB
=$ac_cv_prog_RANLIB
3362 if test -n "$RANLIB"; then
3363 echo "$as_me:$LINENO: result: $RANLIB" >&5
3364 echo "${ECHO_T}$RANLIB" >&6
3366 echo "$as_me:$LINENO: result: no" >&5
3367 echo "${ECHO_T}no" >&6
3371 if test -z "$ac_cv_prog_RANLIB"; then
3372 ac_ct_RANLIB
=$RANLIB
3373 # Extract the first word of "ranlib", so it can be a program name with args.
3374 set dummy ranlib
; ac_word
=$2
3375 echo "$as_me:$LINENO: checking for $ac_word" >&5
3376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3377 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3378 echo $ECHO_N "(cached) $ECHO_C" >&6
3380 if test -n "$ac_ct_RANLIB"; then
3381 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3387 test -z "$as_dir" && as_dir
=.
3388 for ac_exec_ext
in '' $ac_executable_extensions; do
3389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3390 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3397 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3400 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3401 if test -n "$ac_ct_RANLIB"; then
3402 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3403 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3405 echo "$as_me:$LINENO: result: no" >&5
3406 echo "${ECHO_T}no" >&6
3409 RANLIB
=$ac_ct_RANLIB
3411 RANLIB
="$ac_cv_prog_RANLIB"
3415 # Put a plausible default for CC_FOR_BUILD in Makefile.
3416 if test "x$cross_compiling" = "xno"; then
3417 CC_FOR_BUILD
='$(CC)'
3422 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
3425 # If a cpu ever has more than one simulator to choose from, use
3426 # --enable-sim=... to choose.
3427 # Check whether --enable-sim or --disable-sim was given.
3428 if test "${enable_sim+set}" = set; then
3429 enableval
="$enable_sim"
3430 case "${enableval}" in
3432 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} given for --enable-sim option" >&5
3433 echo "$as_me: error: bad value ${enableval} given for --enable-sim option" >&2;}
3434 { (exit 1); exit 1; }; } ;;
3438 # WHEN ADDING ENTRIES TO THIS MATRIX:
3440 # Make sure that the left side always has two dashes. Otherwise you
3441 # can get spurious matches. Even for unambiguous cases, do this as a
3442 # convention, else the table becomes a real mess to understand and
3445 if test "${enable_sim}" != no
; then
3450 arm
*-*-* | thumb
*-*-* | strongarm
*-*-* | xscale-
*-*)
3453 subdirs
="$subdirs arm"
3460 subdirs
="$subdirs avr"
3466 subdirs
="$subdirs cr16"
3470 cris-
*-* | crisv32-
*-*)
3473 subdirs
="$subdirs cris"
3480 subdirs
="$subdirs d10v"
3486 subdirs
="$subdirs frv"
3493 subdirs
="$subdirs h8300"
3500 subdirs
="$subdirs iq2000"
3507 subdirs
="$subdirs lm32"
3514 subdirs
="$subdirs m32c"
3520 subdirs
="$subdirs m32r"
3524 m68hc11-
*-*|m6811-
*-*)
3527 subdirs
="$subdirs m68hc11"
3534 subdirs
="$subdirs mcore"
3541 subdirs
="$subdirs mips"
3549 subdirs
="$subdirs mn10300"
3556 subdirs
="$subdirs moxie"
3563 subdirs
="$subdirs sh64"
3570 subdirs
="$subdirs sh"
3574 sparc-
*-rtems*|sparc-
*-elf*)
3577 subdirs
="$subdirs erc32"
3584 subdirs
="$subdirs ppc"
3590 subdirs
="$subdirs v850"
3596 # No simulator subdir, so the subdir "common" isn't needed.
3600 if test "$testsuite" = yes; then
3603 subdirs
="$subdirs testsuite"
3606 if test "$common" = yes; then
3609 subdirs
="$subdirs common"
3612 if test "$igen" = yes; then
3615 subdirs
="$subdirs igen"
3620 ac_config_files
="$ac_config_files Makefile"
3621 cat >confcache
<<\_ACEOF
3622 # This file is a shell script that caches the results of configure
3623 # tests run on this system so they can be shared between configure
3624 # scripts and configure runs, see configure's option --config-cache.
3625 # It is not useful on other systems. If it contains results you don't
3626 # want to keep, you may remove or edit it.
3628 # config.status only pays attention to the cache file if you give it
3629 # the --recheck option to rerun configure.
3631 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3632 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3637 # The following way of writing the cache mishandles newlines in values,
3638 # but we know of no workaround that is simple, portable, and efficient.
3639 # So, don't put newlines in cache variables' values.
3640 # Ultrix sh set writes to stderr and can't be redirected directly,
3641 # and sets the high bit in the cache file unless we assign to the vars.
3644 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3646 # `set' does not quote correctly, so add quotes (double-quote
3647 # substitution turns \\\\ into \\, and sed turns \\ into \).
3650 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3653 # `set' quotes correctly as required by POSIX, so do not add quotes.
3655 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3662 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3664 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3666 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3667 if test -w $cache_file; then
3668 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3669 cat confcache
>$cache_file
3671 echo "not updating unwritable cache $cache_file"
3676 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3677 # Let make expand exec_prefix.
3678 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3680 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3681 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3682 # trailing colons and then remove the whole line if VPATH becomes empty
3683 # (actually we leave an empty line to preserve line numbers).
3684 if test "x$srcdir" = x.
; then
3685 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
3686 s/:*\$(srcdir):*/:/;
3687 s/:*\${srcdir}:*/:/;
3689 s/^\([^=]*=[ ]*\):*/\1/;
3695 # Transform confdefs.h into DEFS.
3696 # Protect against shell expansion while executing Makefile rules.
3697 # Protect against Makefile macro expansion.
3699 # If the first sed substitution is executed (which looks for macros that
3700 # take arguments), then we branch to the quote section. Otherwise,
3701 # look for a macro that doesn't take arguments.
3702 cat >confdef2opt.
sed <<\_ACEOF
3705 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3707 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3711 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3717 # We use echo to avoid assuming a particular line-breaking character.
3718 # The extra dot is to prevent the shell from consuming trailing
3719 # line-breaks from the sub-command output. A line-break within
3720 # single-quotes doesn't work because, if this script is created in a
3721 # platform that uses two characters for line-breaks (e.g., DOS), tr
3723 ac_LF_and_DOT=`echo; echo .
`
3724 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
3725 rm -f confdef2opt.sed
3730 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3731 # 1. Remove the extension, and $U if already installed.
3732 ac_i=`echo "$ac_i" |
3733 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3735 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3736 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3740 LTLIBOBJS=$ac_ltlibobjs
3744 : ${CONFIG_STATUS=./config.status}
3745 ac_clean_files_save=$ac_clean_files
3746 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3747 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3748 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3749 cat >$CONFIG_STATUS <<_ACEOF
3751 # Generated by $as_me.
3752 # Run this file to recreate the current configuration.
3753 # Compiler output produced by configure, useful for debugging
3754 # configure, is in config.log if it exists.
3759 SHELL=\${CONFIG_SHELL-$SHELL}
3762 cat >>$CONFIG_STATUS <<\_ACEOF
3763 ## --------------------- ##
3764 ## M4sh Initialization. ##
3765 ## --------------------- ##
3767 # Be Bourne compatible
3768 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3771 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3772 # is contrary to our usage. Disable this feature.
3773 alias -g '${1+"$@"}'='"$@"'
3774 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3777 DUALCASE=1; export DUALCASE # for MKS sh
3779 # Support unset when possible.
3780 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3787 # Work around bugs in pre-3.0 UWIN ksh.
3788 $as_unset ENV MAIL MAILPATH
3795 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3796 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3797 LC_TELEPHONE LC_TIME
3799 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
3800 eval $as_var=C; export $as_var
3806 # Required to use basename.
3807 if expr a : '\(a\)' >/dev/null 2>&1; then
3813 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3814 as_basename=basename
3820 # Name of the executable.
3821 as_me=`$as_basename "$0" ||
3822 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3823 X
"$0" : 'X\(//\)$' \| \
3824 X
"$0" : 'X\(/\)$' \| \
3825 .
: '\(.\)' 2>/dev
/null ||
3827 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3828 /^X\/\(\/\/\)$/{ s//\1/; q; }
3829 /^X\/\(\/\).*/{ s//\1/; q; }
3833 # PATH needs CR, and LINENO needs CR and PATH.
3834 # Avoid depending upon Character Ranges.
3835 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3836 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3837 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3838 as_cr_digits='0123456789'
3839 as_cr_alnum=$as_cr_Letters$as_cr_digits
3841 # The user is always right.
3842 if test "${PATH_SEPARATOR+set}" != set; then
3843 echo "#! /bin/sh" >conf$$.sh
3844 echo "exit 0" >>conf$$.sh
3846 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3857 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
3858 test "x$as_lineno_1" != "x$as_lineno_2" &&
3859 test "x$as_lineno_3" = "x$as_lineno_2" || {
3860 # Find who we are. Look in the path if we contain no path at all
3863 *[\\/]* ) as_myself=$0 ;;
3864 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3868 test -z "$as_dir" && as_dir=.
3869 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3874 # We did not find ourselves, most probably we were run as `sh COMMAND
'
3875 # in which case we are not to be found in the path.
3876 if test "x$as_myself" = x; then
3879 if test ! -f "$as_myself"; then
3880 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3881 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3882 { (exit 1); exit 1; }; }
3884 case $CONFIG_SHELL in
3886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3887 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3890 test -z "$as_dir" && as_dir=.
3891 for as_base in sh bash ksh sh5; do
3894 if ("$as_dir/$as_base" -c '
3897 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
3898 test "x$as_lineno_1" != "x$as_lineno_2" &&
3899 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3900 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3901 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3902 CONFIG_SHELL=$as_dir/$as_base
3904 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3912 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3913 # uniformly replaced by the line number. The first 'sed' inserts a
3914 # line-number line before each line; the second 'sed' does the real
3915 # work. The second script uses 'N
' to pair each line-number line
3916 # with the numbered line, and appends trailing '-' during
3917 # substitution so that $LINENO is not a special case at line end.
3918 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3919 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
3920 sed '=' <$as_myself |
3925 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3928 s,^['$as_cr_digits']*\n,,
3930 chmod +x
$as_me.lineno ||
3931 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3932 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3933 { (exit 1); exit 1; }; }
3935 # Don't try to exec as it changes $[0], causing all sort of problems
3936 # (the dirname of $[0] is not the place where we might find the
3937 # original and so on. Autoconf is especially sensible to this).
3939 # Exit status is that of the last command.
3944 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3945 *c
*,-n*) ECHO_N
= ECHO_C
='
3947 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
3948 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
3951 if expr a
: '\(a\)' >/dev
/null
2>&1; then
3957 rm -f conf$$ conf$$.exe conf$$.
file
3959 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3960 # We could just check for DJGPP; but this test a) works b) is more generic
3961 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3962 if test -f conf$$.exe
; then
3963 # Don't use ln at all; we don't have any links
3968 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3973 rm -f conf$$ conf$$.exe conf$$.
file
3975 if mkdir
-p .
2>/dev
/null
; then
3978 test -d .
/-p && rmdir .
/-p
3982 as_executable_p
="test -f"
3984 # Sed expression to map a string onto a valid CPP name.
3985 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3987 # Sed expression to map a string onto a valid variable name.
3988 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3992 # We need space, tab and new line, in precisely that order.
4002 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4003 # report actual input values of CONFIG_FILES etc. instead of their
4004 # values after options handling. Logging --version etc. is OK.
4008 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4009 ## Running $as_me. ##
4014 This file was extended by $as_me, which was
4015 generated by GNU Autoconf 2.59. Invocation command line was
4017 CONFIG_FILES = $CONFIG_FILES
4018 CONFIG_HEADERS = $CONFIG_HEADERS
4019 CONFIG_LINKS = $CONFIG_LINKS
4020 CONFIG_COMMANDS = $CONFIG_COMMANDS
4024 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4028 # Files that config.status was made for.
4029 if test -n "$ac_config_files"; then
4030 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4033 if test -n "$ac_config_headers"; then
4034 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4037 if test -n "$ac_config_links"; then
4038 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4041 if test -n "$ac_config_commands"; then
4042 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4045 cat >>$CONFIG_STATUS <<\_ACEOF
4048 \`$as_me' instantiates files from templates according to the
4049 current configuration.
4051 Usage: $0 [OPTIONS] [FILE]...
4053 -h, --help print this help, then exit
4054 -V, --version print version number, then exit
4055 -q, --quiet do not print progress messages
4056 -d, --debug don't remove temporary files
4057 --recheck update $as_me by reconfiguring in the same conditions
4058 --file=FILE[:TEMPLATE]
4059 instantiate the configuration file FILE
4061 Configuration files:
4064 Report bugs to <bug-autoconf@gnu.org>."
4067 cat >>$CONFIG_STATUS <<_ACEOF
4070 configured by $0, generated by GNU Autoconf 2.59,
4071 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4073 Copyright (C) 2003 Free Software Foundation, Inc.
4074 This config.status script is free software; the Free Software Foundation
4075 gives unlimited permission to copy, distribute and modify it."
4080 cat >>$CONFIG_STATUS <<\_ACEOF
4081 # If no file are specified by the user, then we need to provide default
4082 # value. By we need to know if files were specified by the user.
4088 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
4089 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
4097 *) # This is not an option, so the user has probably given explicit
4100 ac_need_defaults
=false
;;
4104 # Handling of the options.
4106 cat >>$CONFIG_STATUS <<\_ACEOF
4107 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4109 --version |
--vers* |
-V )
4110 echo "$ac_cs_version"; exit 0 ;;
4112 # Conflict between --help and --header
4113 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4114 Try \`$0 --help' for more information." >&5
4115 echo "$as_me: error: ambiguous option: $1
4116 Try \`$0 --help' for more information." >&2;}
4117 { (exit 1); exit 1; }; };;
4118 --help |
--hel |
-h )
4119 echo "$ac_cs_usage"; exit 0 ;;
4120 --debug |
--d* |
-d )
4122 --file |
--fil |
--fi |
--f )
4124 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
4125 ac_need_defaults
=false
;;
4126 --header |
--heade |
--head |
--hea )
4128 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
4129 ac_need_defaults
=false
;;
4130 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4131 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4135 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4136 Try \`$0 --help' for more information." >&5
4137 echo "$as_me: error: unrecognized option: $1
4138 Try \`$0 --help' for more information." >&2;}
4139 { (exit 1); exit 1; }; } ;;
4141 *) ac_config_targets
="$ac_config_targets $1" ;;
4147 ac_configure_extra_args
=
4149 if $ac_cs_silent; then
4151 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4155 cat >>$CONFIG_STATUS <<_ACEOF
4156 if \$ac_cs_recheck; then
4157 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4158 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4167 cat >>$CONFIG_STATUS <<\_ACEOF
4168 for ac_config_target
in $ac_config_targets
4170 case "$ac_config_target" in
4171 # Handling of arguments.
4172 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4173 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4174 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4175 { (exit 1); exit 1; }; };;
4179 # If the user did not use the arguments to specify the items to instantiate,
4180 # then the envvar interface is used. Set only those that are not.
4181 # We use the long form for the default assignment because of an extremely
4182 # bizarre bug on SunOS 4.1.3.
4183 if $ac_need_defaults; then
4184 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4187 # Have a temporary directory for convenience. Make it in the build tree
4188 # simply because there is no reason to put it here, and in addition,
4189 # creating and moving files from /tmp can sometimes cause problems.
4190 # Create a temporary directory, and hook for its removal unless debugging.
4193 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4194 trap '{ (exit 1); exit 1; }' 1 2 13 15
4197 # Create a (secure) tmp directory for tmp files.
4200 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4201 test -n "$tmp" && test -d "$tmp"
4204 tmp
=.
/confstat$$
-$RANDOM
4205 (umask 077 && mkdir
$tmp)
4208 echo "$me: cannot create a temporary directory in ." >&2
4209 { (exit 1); exit 1; }
4214 cat >>$CONFIG_STATUS <<_ACEOF
4217 # CONFIG_FILES section.
4220 # No need to generate the scripts if there are no CONFIG_FILES.
4221 # This happens for instance when ./config.status config.h
4222 if test -n "\$CONFIG_FILES"; then
4223 # Protect against being on the right side of a sed subst in config.status.
4224 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4225 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4226 s,@SHELL@,$SHELL,;t t
4227 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4228 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4229 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4230 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4231 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4232 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4233 s,@exec_prefix@,$exec_prefix,;t t
4234 s,@prefix@,$prefix,;t t
4235 s,@program_transform_name@,$program_transform_name,;t t
4236 s,@bindir@,$bindir,;t t
4237 s,@sbindir@,$sbindir,;t t
4238 s,@libexecdir@,$libexecdir,;t t
4239 s,@datadir@,$datadir,;t t
4240 s,@sysconfdir@,$sysconfdir,;t t
4241 s,@sharedstatedir@,$sharedstatedir,;t t
4242 s,@localstatedir@,$localstatedir,;t t
4243 s,@libdir@,$libdir,;t t
4244 s,@includedir@,$includedir,;t t
4245 s,@oldincludedir@,$oldincludedir,;t t
4246 s,@infodir@,$infodir,;t t
4247 s,@mandir@,$mandir,;t t
4248 s,@build_alias@,$build_alias,;t t
4249 s,@host_alias@,$host_alias,;t t
4250 s,@target_alias@,$target_alias,;t t
4252 s,@ECHO_C@,$ECHO_C,;t t
4253 s,@ECHO_N@,$ECHO_N,;t t
4254 s,@ECHO_T@,$ECHO_T,;t t
4257 s,@CFLAGS@,$CFLAGS,;t t
4258 s,@LDFLAGS@,$LDFLAGS,;t t
4259 s,@CPPFLAGS@,$CPPFLAGS,;t t
4260 s,@ac_ct_CC@,$ac_ct_CC,;t t
4261 s,@EXEEXT@,$EXEEXT,;t t
4262 s,@OBJEXT@,$OBJEXT,;t t
4263 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4264 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4265 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4267 s,@ac_ct_AR@,$ac_ct_AR,;t t
4268 s,@RANLIB@,$RANLIB,;t t
4269 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4270 s,@build@,$build,;t t
4271 s,@build_cpu@,$build_cpu,;t t
4272 s,@build_vendor@,$build_vendor,;t t
4273 s,@build_os@,$build_os,;t t
4275 s,@host_cpu@,$host_cpu,;t t
4276 s,@host_vendor@,$host_vendor,;t t
4277 s,@host_os@,$host_os,;t t
4278 s,@target@,$target,;t t
4279 s,@target_cpu@,$target_cpu,;t t
4280 s,@target_vendor@,$target_vendor,;t t
4281 s,@target_os@,$target_os,;t t
4282 s,@HDEFINES@,$HDEFINES,;t t
4283 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
4284 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
4285 s,@subdirs@,$subdirs,;t t
4286 s,@LIBOBJS@,$LIBOBJS,;t t
4287 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4292 cat >>$CONFIG_STATUS <<\_ACEOF
4293 # Split the substitutions into bite-sized pieces for seds with
4294 # small command number limits, like on Digital OSF/1 and HP-UX.
4296 ac_sed_frag
=1 # Number of current file.
4297 ac_beg
=1 # First line for current file.
4298 ac_end
=$ac_max_sed_lines # Line after last line for current file.
4301 while $ac_more_lines; do
4302 if test $ac_beg -gt 1; then
4303 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4305 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4307 if test ! -s $tmp/subs.frag
; then
4310 # The purpose of the label and of the branching condition is to
4311 # speed up the sed processing (if there are no `@' at all, there
4312 # is no need to browse any of the substitutions).
4313 # These are the two extra sed commands mentioned above.
4315 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
4316 if test -z "$ac_sed_cmds"; then
4317 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
4319 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4321 ac_sed_frag
=`expr $ac_sed_frag + 1`
4323 ac_end
=`expr $ac_end + $ac_max_sed_lines`
4326 if test -z "$ac_sed_cmds"; then
4329 fi # test -n "$CONFIG_FILES"
4332 cat >>$CONFIG_STATUS <<\_ACEOF
4333 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
4334 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4336 - |
*:- |
*:-:* ) # input from stdin
4338 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4339 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4340 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4341 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4342 * ) ac_file_in
=$ac_file.
in ;;
4345 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4346 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
4347 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4348 X"$ac_file" : 'X\(//\)[^/]' \| \
4349 X"$ac_file" : 'X\(//\)$' \| \
4350 X"$ac_file" : 'X\(/\)' \| \
4351 . : '\(.\)' 2>/dev/null ||
4353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4354 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4355 /^X\(\/\/\)$/{ s//\1/; q; }
4356 /^X\(\/\).*/{ s//\1/; q; }
4358 { if $as_mkdir_p; then
4363 while test ! -d "$as_dir"; do
4364 as_dirs
="$as_dir $as_dirs"
4365 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
4366 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4367 X"$as_dir" : 'X\(//\)[^/]' \| \
4368 X"$as_dir" : 'X\(//\)$' \| \
4369 X"$as_dir" : 'X\(/\)' \| \
4370 . : '\(.\)' 2>/dev/null ||
4372 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4373 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4374 /^X\(\/\/\)$/{ s//\1/; q; }
4375 /^X\(\/\).*/{ s//\1/; q; }
4378 test ! -n "$as_dirs" || mkdir
$as_dirs
4379 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4380 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4381 { (exit 1); exit 1; }; }; }
4385 if test "$ac_dir" != .
; then
4386 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4387 # A "../" for each directory in $ac_dir_suffix.
4388 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4390 ac_dir_suffix
= ac_top_builddir
=
4394 .
) # No --srcdir option. We are building in place.
4396 if test -z "$ac_top_builddir"; then
4399 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
4401 [\\/]* | ?
:[\\/]* ) # Absolute path.
4402 ac_srcdir
=$srcdir$ac_dir_suffix;
4403 ac_top_srcdir
=$srcdir ;;
4405 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
4406 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
4409 # Do not use `cd foo && pwd` to compute absolute paths, because
4410 # the directories may not exist.
4412 .
) ac_abs_builddir
="$ac_dir";;
4415 .
) ac_abs_builddir
=`pwd`;;
4416 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
4417 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
4420 case $ac_abs_builddir in
4421 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4423 case ${ac_top_builddir}.
in
4424 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
4425 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4426 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
4429 case $ac_abs_builddir in
4430 .
) ac_abs_srcdir
=$ac_srcdir;;
4433 .
) ac_abs_srcdir
=$ac_abs_builddir;;
4434 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
4435 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
4438 case $ac_abs_builddir in
4439 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
4441 case $ac_top_srcdir in
4442 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
4443 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
4444 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
4450 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
4451 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
4454 if test x
"$ac_file" != x-
; then
4455 { echo "$as_me:$LINENO: creating $ac_file" >&5
4456 echo "$as_me: creating $ac_file" >&6;}
4459 # Let's still pretend it is `configure' which instantiates (i.e., don't
4460 # use $as_me), people would be surprised to read:
4461 # /* config.h. Generated by config.status. */
4462 if test x
"$ac_file" = x-
; then
4465 configure_input
="$ac_file. "
4467 configure_input
=$configure_input"Generated from `echo $ac_file_in |
4468 sed 's,.*/,,'` by configure."
4470 # First look for the input files in the build tree, otherwise in the
4472 ac_file_inputs
=`IFS=:
4473 for f in $ac_file_in; do
4475 -) echo $tmp/stdin ;;
4477 # Absolute (can't be DOS-style, as IFS=:)
4478 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4479 echo "$as_me: error: cannot find input file: $f" >&2;}
4480 { (exit 1); exit 1; }; }
4483 if test -f "$f"; then
4486 elif test -f "$srcdir/$f"; then
4491 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4492 echo "$as_me: error: cannot find input file: $f" >&2;}
4493 { (exit 1); exit 1; }; }
4496 done` ||
{ (exit 1); exit 1; }
4498 cat >>$CONFIG_STATUS <<_ACEOF
4502 cat >>$CONFIG_STATUS <<\_ACEOF
4504 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4505 s
,@configure_input@
,$configure_input,;t t
4506 s
,@srcdir@
,$ac_srcdir,;t t
4507 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
4508 s
,@top_srcdir@
,$ac_top_srcdir,;t t
4509 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
4510 s
,@builddir@
,$ac_builddir,;t t
4511 s
,@abs_builddir@
,$ac_abs_builddir,;t t
4512 s
,@top_builddir@
,$ac_top_builddir,;t t
4513 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
4514 s
,@INSTALL@
,$ac_INSTALL,;t t
4515 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4517 if test x"$ac_file" != x-; then
4518 mv $tmp/out $ac_file
4527 cat >>$CONFIG_STATUS <<\_ACEOF
4529 { (exit 0); exit 0; }
4531 chmod +x $CONFIG_STATUS
4532 ac_clean_files=$ac_clean_files_save
4535 # configure is writing to config.log, and then calls config.status.
4536 # config.status does its own redirection, appending to config.log.
4537 # Unfortunately, on DOS this fails, as config.log is still kept open
4538 # by configure, so config.status won't be able to write to it; its
4539 # output is simply discarded. So we exec the FD to /dev/null,
4540 # effectively closing config.log, so it can be properly (re)opened and
4541 # appended to by config.status. When coming back to configure, we
4542 # need to make the FD available again.
4543 if test "$no_create" != yes; then
4545 ac_config_status_args=
4546 test "$silent" = yes &&
4547 ac_config_status_args="$ac_config_status_args --quiet"
4549 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4551 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4552 # would make configure fail if this is the last instruction.
4553 $ac_cs_success || { (exit 1); exit 1; }
4557 # CONFIG_SUBDIRS section, as fixed in confsubdir.m4.
4559 if test "$no_recursion" != yes; then
4561 # Remove --cache-file and --srcdir arguments so they do not pile up.
4562 ac_sub_configure_args=
4564 eval "set x
$ac_configure_args"
4568 if test -n "$ac_prev"; then
4573 -cache-file | --cache-file | --cache-fil | --cache-fi \
4574 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
4575 ac_prev=cache_file ;;
4576 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
4577 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
4580 --config-cache | -C)
4582 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4584 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4586 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4588 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4592 *\'*) ac_arg=`echo "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
4594 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
4598 # Always prepend --prefix to ensure using the same prefix
4599 # in subdir configurations.
4600 ac_arg="--prefix=$prefix"
4602 *\'*) ac_arg=`echo "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
4604 ac_sub_configure_args="$ac_arg $ac_sub_configure_args"
4607 for ac_dir in : $subdirs; do test "x
$ac_dir" = x: && continue
4609 # Do not complain, so a configure script can configure whichever
4610 # parts of a large source tree are present.
4611 test -d "$srcdir/$ac_dir" || continue
4613 { echo "$as_me:$LINENO: configuring
in $ac_dir" >&5
4614 echo "$as_me: configuring
in $ac_dir" >&6;}
4615 { if $as_mkdir_p; then
4620 while test ! -d "$as_dir"; do
4621 as_dirs="$as_dir $as_dirs"
4622 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4623 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4624 X"$as_dir" : 'X\(//\)[^/]' \| \
4625 X"$as_dir" : 'X\(//\)$' \| \
4626 X"$as_dir" : 'X\(/\)' \| \
4627 . : '\(.\)' 2>/dev/null ||
4629 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4630 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4631 /^X\(\/\/\)$/{ s//\1/; q; }
4632 /^X\(\/\).*/{ s//\1/; q; }
4635 test ! -n "$as_dirs" || mkdir $as_dirs
4636 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
\"$ac_dir\"" >&5
4637 echo "$as_me: error
: cannot create directory
\"$ac_dir\"" >&2;}
4638 { (exit 1); exit 1; }; }; }
4642 if test "$ac_dir" != .; then
4643 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4644 # A "..
/" for each directory in $ac_dir_suffix.
4645 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4647 ac_dir_suffix= ac_top_builddir=
4651 .) # No --srcdir option. We are building in place.
4653 if test -z "$ac_top_builddir"; then
4656 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4658 [\\/]* | ?:[\\/]* ) # Absolute path.
4659 ac_srcdir=$srcdir$ac_dir_suffix;
4660 ac_top_srcdir=$srcdir ;;
4662 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4663 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4666 # Do not use `cd foo && pwd` to compute absolute paths, because
4667 # the directories may not exist.
4669 .) ac_abs_builddir="$ac_dir";;
4672 .) ac_abs_builddir=`pwd`;;
4673 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4674 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4677 case $ac_abs_builddir in
4678 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4680 case ${ac_top_builddir}. in
4681 .) ac_abs_top_builddir=$ac_abs_builddir;;
4682 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4683 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4686 case $ac_abs_builddir in
4687 .) ac_abs_srcdir=$ac_srcdir;;
4690 .) ac_abs_srcdir=$ac_abs_builddir;;
4691 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4692 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4695 case $ac_abs_builddir in
4696 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4698 case $ac_top_srcdir in
4699 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4700 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4701 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4708 # Check for guested configure; otherwise get Cygnus style configure.
4709 if test -f "$ac_srcdir/configure.gnu
"; then
4710 ac_sub_configure=$ac_srcdir/configure.gnu
4711 elif test -f "$ac_srcdir/configure
"; then
4712 ac_sub_configure=$ac_srcdir/configure
4713 elif test -f "$ac_srcdir/configure.
in"; then
4714 # This should be Cygnus configure.
4715 ac_sub_configure=$ac_aux_dir/configure
4717 { echo "$as_me:$LINENO: WARNING
: no configuration information is
in $ac_dir" >&5
4718 echo "$as_me: WARNING
: no configuration information is
in $ac_dir" >&2;}
4722 # The recursion is here.
4723 if test -n "$ac_sub_configure"; then
4724 # Make the cache file name correct relative to the subdirectory.
4726 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
4728 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
4731 { echo "$as_me:$LINENO: running
$SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
4732 echo "$as_me: running
$SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4733 # The eval makes quoting arguments work.
4734 eval "\
$SHELL \"\
$ac_sub_configure\" $ac_sub_configure_args \
4735 --cache-file=\"\
$ac_sub_cache_file\" --srcdir=\"\
$ac_srcdir\"" ||
4736 { { echo "$as_me:$LINENO: error
: $ac_sub_configure failed
for $ac_dir" >&5
4737 echo "$as_me: error
: $ac_sub_configure failed
for $ac_dir" >&2;}
4738 { (exit 1); exit 1; }; }