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 m32c"
284 ac_subdirs_all
="$ac_subdirs_all m32r"
285 ac_subdirs_all
="$ac_subdirs_all m68hc11"
286 ac_subdirs_all
="$ac_subdirs_all mcore"
287 ac_subdirs_all
="$ac_subdirs_all mips"
288 ac_subdirs_all
="$ac_subdirs_all mn10300"
289 ac_subdirs_all
="$ac_subdirs_all moxie"
290 ac_subdirs_all
="$ac_subdirs_all sh64"
291 ac_subdirs_all
="$ac_subdirs_all sh"
292 ac_subdirs_all
="$ac_subdirs_all erc32"
293 ac_subdirs_all
="$ac_subdirs_all ppc"
294 ac_subdirs_all
="$ac_subdirs_all v850"
295 ac_subdirs_all
="$ac_subdirs_all testsuite"
296 ac_subdirs_all
="$ac_subdirs_all common"
297 ac_subdirs_all
="$ac_subdirs_all igen"
298 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'
301 # Initialize some variables set by options.
303 ac_init_version
=false
304 # The variables have the same names as the options, with
305 # dashes changed to underlines.
313 program_transform_name
=s
,x
,x
,
321 # Installation directory options.
322 # These are left unexpanded so users can "make install exec_prefix=/foo"
323 # and all the variables that are supposed to be based on exec_prefix
324 # by default will actually change.
325 # Use braces instead of parens because sh, perl, etc. also accept them.
326 bindir
='${exec_prefix}/bin'
327 sbindir
='${exec_prefix}/sbin'
328 libexecdir
='${exec_prefix}/libexec'
329 datadir
='${prefix}/share'
330 sysconfdir
='${prefix}/etc'
331 sharedstatedir
='${prefix}/com'
332 localstatedir
='${prefix}/var'
333 libdir
='${exec_prefix}/lib'
334 includedir
='${prefix}/include'
335 oldincludedir
='/usr/include'
336 infodir
='${prefix}/info'
337 mandir
='${prefix}/man'
342 # If the previous option needs an argument, assign it.
343 if test -n "$ac_prev"; then
344 eval "$ac_prev=\$ac_option"
349 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
351 # Accept the important Cygnus configure options, so we can diagnose typos.
355 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
357 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
360 -build |
--build |
--buil |
--bui |
--bu)
361 ac_prev
=build_alias
;;
362 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
363 build_alias
=$ac_optarg ;;
365 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
366 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
367 ac_prev
=cache_file
;;
368 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
369 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
370 cache_file
=$ac_optarg ;;
373 cache_file
=config.cache
;;
375 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
377 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
379 datadir
=$ac_optarg ;;
381 -disable-* |
--disable-*)
382 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
383 # Reject names that are not valid shell variable names.
384 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
385 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
386 { (exit 1); exit 1; }; }
387 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
388 eval "enable_$ac_feature=no" ;;
390 -enable-* |
--enable-*)
391 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
392 # Reject names that are not valid shell variable names.
393 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
394 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
395 { (exit 1); exit 1; }; }
396 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
398 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
401 eval "enable_$ac_feature='$ac_optarg'" ;;
403 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
404 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
405 |
--exec |
--exe |
--ex)
406 ac_prev
=exec_prefix
;;
407 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
408 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
409 |
--exec=* |
--exe=* |
--ex=*)
410 exec_prefix
=$ac_optarg ;;
412 -gas |
--gas |
--ga |
--g)
413 # Obsolete; use --with-gas.
416 -help |
--help |
--hel |
--he |
-h)
418 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
419 ac_init_help
=recursive
;;
420 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
421 ac_init_help
=short
;;
423 -host |
--host |
--hos |
--ho)
424 ac_prev
=host_alias
;;
425 -host=* |
--host=* |
--hos=* |
--ho=*)
426 host_alias
=$ac_optarg ;;
428 -includedir |
--includedir |
--includedi |
--included |
--include \
429 |
--includ |
--inclu |
--incl |
--inc)
430 ac_prev
=includedir
;;
431 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
432 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
433 includedir
=$ac_optarg ;;
435 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
437 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
438 infodir
=$ac_optarg ;;
440 -libdir |
--libdir |
--libdi |
--libd)
442 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
445 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
446 |
--libexe |
--libex |
--libe)
447 ac_prev
=libexecdir
;;
448 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
449 |
--libexe=* |
--libex=* |
--libe=*)
450 libexecdir
=$ac_optarg ;;
452 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
453 |
--localstate |
--localstat |
--localsta |
--localst \
454 |
--locals |
--local |
--loca |
--loc |
--lo)
455 ac_prev
=localstatedir
;;
456 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
457 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
458 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
459 localstatedir
=$ac_optarg ;;
461 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
463 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
467 # Obsolete; use --without-fp.
470 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
471 |
--no-cr |
--no-c |
-n)
474 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
475 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
478 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
479 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
480 |
--oldin |
--oldi |
--old |
--ol |
--o)
481 ac_prev
=oldincludedir
;;
482 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
483 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
484 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
485 oldincludedir
=$ac_optarg ;;
487 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
489 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
492 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
493 |
--program-pre |
--program-pr |
--program-p)
494 ac_prev
=program_prefix
;;
495 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
496 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
497 program_prefix
=$ac_optarg ;;
499 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
500 |
--program-suf |
--program-su |
--program-s)
501 ac_prev
=program_suffix
;;
502 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
503 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
504 program_suffix
=$ac_optarg ;;
506 -program-transform-name |
--program-transform-name \
507 |
--program-transform-nam |
--program-transform-na \
508 |
--program-transform-n |
--program-transform- \
509 |
--program-transform |
--program-transfor \
510 |
--program-transfo |
--program-transf \
511 |
--program-trans |
--program-tran \
512 |
--progr-tra |
--program-tr |
--program-t)
513 ac_prev
=program_transform_name
;;
514 -program-transform-name=* |
--program-transform-name=* \
515 |
--program-transform-nam=* |
--program-transform-na=* \
516 |
--program-transform-n=* |
--program-transform-=* \
517 |
--program-transform=* |
--program-transfor=* \
518 |
--program-transfo=* |
--program-transf=* \
519 |
--program-trans=* |
--program-tran=* \
520 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
521 program_transform_name
=$ac_optarg ;;
523 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
524 |
-silent |
--silent |
--silen |
--sile |
--sil)
527 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
529 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
531 sbindir
=$ac_optarg ;;
533 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
534 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
535 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
537 ac_prev
=sharedstatedir
;;
538 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
539 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
540 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
542 sharedstatedir
=$ac_optarg ;;
544 -site |
--site |
--sit)
546 -site=* |
--site=* |
--sit=*)
549 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
551 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
554 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
555 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
556 ac_prev
=sysconfdir
;;
557 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
558 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
559 sysconfdir
=$ac_optarg ;;
561 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
562 ac_prev
=target_alias
;;
563 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
564 target_alias
=$ac_optarg ;;
566 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
569 -version |
--version |
--versio |
--versi |
--vers |
-V)
573 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
574 # Reject names that are not valid shell variable names.
575 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
576 { echo "$as_me: error: invalid package name: $ac_package" >&2
577 { (exit 1); exit 1; }; }
578 ac_package
=`echo $ac_package| sed 's/-/_/g'`
580 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
583 eval "with_$ac_package='$ac_optarg'" ;;
585 -without-* |
--without-*)
586 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package
=`echo $ac_package | sed 's/-/_/g'`
592 eval "with_$ac_package=no" ;;
595 # Obsolete; use --with-x.
598 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
599 |
--x-incl |
--x-inc |
--x-in |
--x-i)
600 ac_prev
=x_includes
;;
601 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
602 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
603 x_includes
=$ac_optarg ;;
605 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
606 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
607 ac_prev
=x_libraries
;;
608 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
609 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
610 x_libraries
=$ac_optarg ;;
612 -*) { echo "$as_me: error: unrecognized option: $ac_option
613 Try \`$0 --help' for more information." >&2
614 { (exit 1); exit 1; }; }
618 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
619 # Reject names that are not valid shell variable names.
620 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
621 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
622 { (exit 1); exit 1; }; }
623 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
624 eval "$ac_envvar='$ac_optarg'"
628 # FIXME: should be removed in autoconf 3.0.
629 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
630 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
631 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
632 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
638 if test -n "$ac_prev"; then
639 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
640 { echo "$as_me: error: missing argument to $ac_option" >&2
641 { (exit 1); exit 1; }; }
644 # Be sure to have absolute paths.
645 for ac_var
in exec_prefix prefix
647 eval ac_val
=$
`echo $ac_var`
649 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
650 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
651 { (exit 1); exit 1; }; };;
655 # Be sure to have absolute paths.
656 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
657 localstatedir libdir includedir oldincludedir infodir mandir
659 eval ac_val
=$
`echo $ac_var`
661 [\\/$
]* | ?
:[\\/]* ) ;;
662 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
663 { (exit 1); exit 1; }; };;
667 # There might be people who depend on the old broken behavior: `$host'
668 # used to hold the argument of --host etc.
669 # FIXME: To remove some day.
674 # FIXME: To remove some day.
675 if test "x$host_alias" != x
; then
676 if test "x$build_alias" = x
; then
677 cross_compiling
=maybe
678 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
679 If a cross compiler is detected then cross compile mode will be used." >&2
680 elif test "x$build_alias" != "x$host_alias"; then
686 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
688 test "$silent" = yes && exec 6>/dev
/null
691 # Find the source files, if location was not specified.
692 if test -z "$srcdir"; then
693 ac_srcdir_defaulted
=yes
694 # Try the directory containing this script, then its parent.
695 ac_confdir
=`(dirname "$0") 2>/dev/null ||
696 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
697 X"$0" : 'X\(//\)[^/]' \| \
698 X"$0" : 'X\(//\)$' \| \
699 X"$0" : 'X\(/\)' \| \
700 . : '\(.\)' 2>/dev/null ||
702 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
703 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
704 /^X\(\/\/\)$/{ s//\1/; q; }
705 /^X\(\/\).*/{ s//\1/; q; }
708 if test ! -r $srcdir/$ac_unique_file; then
712 ac_srcdir_defaulted
=no
714 if test ! -r $srcdir/$ac_unique_file; then
715 if test "$ac_srcdir_defaulted" = yes; then
716 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
717 { (exit 1); exit 1; }; }
719 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
720 { (exit 1); exit 1; }; }
723 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
724 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
725 { (exit 1); exit 1; }; }
726 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
727 ac_env_build_alias_set
=${build_alias+set}
728 ac_env_build_alias_value
=$build_alias
729 ac_cv_env_build_alias_set
=${build_alias+set}
730 ac_cv_env_build_alias_value
=$build_alias
731 ac_env_host_alias_set
=${host_alias+set}
732 ac_env_host_alias_value
=$host_alias
733 ac_cv_env_host_alias_set
=${host_alias+set}
734 ac_cv_env_host_alias_value
=$host_alias
735 ac_env_target_alias_set
=${target_alias+set}
736 ac_env_target_alias_value
=$target_alias
737 ac_cv_env_target_alias_set
=${target_alias+set}
738 ac_cv_env_target_alias_value
=$target_alias
739 ac_env_CC_set
=${CC+set}
741 ac_cv_env_CC_set
=${CC+set}
742 ac_cv_env_CC_value
=$CC
743 ac_env_CFLAGS_set
=${CFLAGS+set}
744 ac_env_CFLAGS_value
=$CFLAGS
745 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
746 ac_cv_env_CFLAGS_value
=$CFLAGS
747 ac_env_LDFLAGS_set
=${LDFLAGS+set}
748 ac_env_LDFLAGS_value
=$LDFLAGS
749 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
750 ac_cv_env_LDFLAGS_value
=$LDFLAGS
751 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
752 ac_env_CPPFLAGS_value
=$CPPFLAGS
753 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
754 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
757 # Report the --help message.
759 if test "$ac_init_help" = "long"; then
760 # Omit some internal or obsolete options to make the list less imposing.
761 # This message is too long to be a string in the A/UX 3.1 sh.
763 \`configure' configures this package to adapt to many kinds of systems.
765 Usage: $0 [OPTION]... [VAR=VALUE]...
767 To assign environment variables (e.g., CC, CFLAGS...), specify them as
768 VAR=VALUE. See below for descriptions of some of the useful variables.
770 Defaults for the options are specified in brackets.
773 -h, --help display this help and exit
774 --help=short display options specific to this package
775 --help=recursive display the short help of all the included packages
776 -V, --version display version information and exit
777 -q, --quiet, --silent do not print \`checking...' messages
778 --cache-file=FILE cache test results in FILE [disabled]
779 -C, --config-cache alias for \`--cache-file=config.cache'
780 -n, --no-create do not create output files
781 --srcdir=DIR find the sources in DIR [configure dir or \`..']
786 Installation directories:
787 --prefix=PREFIX install architecture-independent files in PREFIX
789 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
792 By default, \`make install' will install all the files in
793 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
794 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
795 for instance \`--prefix=\$HOME'.
797 For better control, use the options below.
799 Fine tuning of the installation directories:
800 --bindir=DIR user executables [EPREFIX/bin]
801 --sbindir=DIR system admin executables [EPREFIX/sbin]
802 --libexecdir=DIR program executables [EPREFIX/libexec]
803 --datadir=DIR read-only architecture-independent data [PREFIX/share]
804 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
805 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
806 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
807 --libdir=DIR object code libraries [EPREFIX/lib]
808 --includedir=DIR C header files [PREFIX/include]
809 --oldincludedir=DIR C header files for non-gcc [/usr/include]
810 --infodir=DIR info documentation [PREFIX/info]
811 --mandir=DIR man documentation [PREFIX/man]
817 --program-prefix=PREFIX prepend PREFIX to installed program names
818 --program-suffix=SUFFIX append SUFFIX to installed program names
819 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
822 --build=BUILD configure
for building on BUILD
[guessed
]
823 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
824 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
828 if test -n "$ac_init_help"; then
833 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
834 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
837 Some influential environment variables
:
838 CC C compiler
command
839 CFLAGS C compiler flags
840 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
841 nonstandard directory
<lib dir
>
842 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
843 headers
in a nonstandard directory
<include dir
>
845 Use these variables to override the choices made by
`configure' or to help
846 it to find libraries and programs with nonstandard names/locations.
851 if test "$ac_init_help" = "recursive"; then
852 # If there are subdirs, report their specific --help.
854 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
855 test -d $ac_dir || continue
858 if test "$ac_dir" != .; then
859 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
860 # A "../" for each directory in $ac_dir_suffix.
861 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
863 ac_dir_suffix= ac_top_builddir=
867 .) # No --srcdir option. We are building in place.
869 if test -z "$ac_top_builddir"; then
872 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
874 [\\/]* | ?:[\\/]* ) # Absolute path.
875 ac_srcdir=$srcdir$ac_dir_suffix;
876 ac_top_srcdir=$srcdir ;;
878 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
879 ac_top_srcdir=$ac_top_builddir$srcdir ;;
882 # Do not use `cd foo
&& pwd` to compute absolute paths, because
883 # the directories may not exist.
885 .) ac_abs_builddir="$ac_dir";;
888 .) ac_abs_builddir=`pwd`;;
889 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
890 *) ac_abs_builddir=`pwd`/"$ac_dir";;
893 case $ac_abs_builddir in
894 .) ac_abs_top_builddir=${ac_top_builddir}.;;
896 case ${ac_top_builddir}. in
897 .) ac_abs_top_builddir=$ac_abs_builddir;;
898 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
899 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
902 case $ac_abs_builddir in
903 .) ac_abs_srcdir=$ac_srcdir;;
906 .) ac_abs_srcdir=$ac_abs_builddir;;
907 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
908 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
911 case $ac_abs_builddir in
912 .) ac_abs_top_srcdir=$ac_top_srcdir;;
914 case $ac_top_srcdir in
915 .) ac_abs_top_srcdir=$ac_abs_builddir;;
916 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
917 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
922 # Check for guested configure; otherwise get Cygnus style configure.
923 if test -f $ac_srcdir/configure.gnu; then
925 $SHELL $ac_srcdir/configure.gnu --help=recursive
926 elif test -f $ac_srcdir/configure; then
928 $SHELL $ac_srcdir/configure --help=recursive
929 elif test -f $ac_srcdir/configure.ac ||
930 test -f $ac_srcdir/configure.in; then
934 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
940 test -n "$ac_init_help" && exit 0
941 if $ac_init_version; then
944 Copyright (C) 2003 Free Software Foundation, Inc.
945 This configure script is free software; the Free Software Foundation
946 gives unlimited permission to copy, distribute and modify it.
952 This file contains any messages produced by compilers while
953 running configure, to aid debugging if configure makes a mistake.
955 It was created by $as_me, which was
956 generated by GNU Autoconf 2.59. Invocation command line was
967 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
968 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
969 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
970 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
971 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
973 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
974 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
976 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
977 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
978 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
979 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
980 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
981 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
982 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
990 test -z "$as_dir" && as_dir=.
1006 # Keep a trace of the command line.
1007 # Strip out --no-create and --no-recursion so they do not pile up.
1008 # Strip out --silent because we don't want to record it for future runs.
1009 # Also quote any args containing shell meta-characters.
1010 # Make two passes to allow for proper duplicate-argument suppression.
1015 ac_must_keep_next=false
1021 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1022 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1023 | -silent | --silent | --silen | --sile | --sil)
1025 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1026 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1029 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1031 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1032 if test $ac_must_keep_next = true; then
1033 ac_must_keep_next=false # Got value, back to normal.
1036 *=* | --config-cache | -C | -disable-* | --disable-* \
1037 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1038 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1039 | -with-* | --with-* | -without-* | --without-* | --x)
1040 case "$ac_configure_args0 " in
1041 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1044 -* ) ac_must_keep_next=true ;;
1047 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1048 # Get rid of the leading space.
1054 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1055 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1057 # When interrupted or exit'd, cleanup temporary files, and complete
1058 # config.log. We remove comments because anyway the quotes in there
1059 # would cause problems or look ugly.
1060 # WARNING: Be sure not to use single quotes in there, as some shells,
1061 # such as our DU 5.0 friend, will then `close
' the trap.
1062 trap 'exit_status
=$?
1063 # Save into config.log some information that might help in debugging.
1068 ## ---------------- ##
1069 ## Cache variables. ##
1070 ## ---------------- ##
1073 # The following way of writing the cache mishandles newlines in values,
1076 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1079 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1080 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1084 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1091 ## ----------------- ##
1092 ## Output variables. ##
1093 ## ----------------- ##
1096 for ac_var
in $ac_subst_vars
1098 eval ac_val
=$
`echo $ac_var`
1099 echo "$ac_var='"'"'$ac_val'"'"'"
1103 if test -n "$ac_subst_files"; then
1110 for ac_var
in $ac_subst_files
1112 eval ac_val
=$
`echo $ac_var`
1113 echo "$ac_var='"'"'$ac_val'"'"'"
1118 if test -s confdefs.h
; then
1125 sed "/^$/d" confdefs.h |
sort
1128 test "$ac_signal" != 0 &&
1129 echo "$as_me: caught signal $ac_signal"
1130 echo "$as_me: exit $exit_status"
1132 rm -f core
*.core
&&
1133 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1136 for ac_signal in 1 2 13 15; do
1137 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1141 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1142 rm -rf conftest* confdefs.h
1143 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1146 # Predefined preprocessor variables.
1148 cat >>confdefs.h <<_ACEOF
1149 #define PACKAGE_NAME "$PACKAGE_NAME"
1153 cat >>confdefs.h <<_ACEOF
1154 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1158 cat >>confdefs.h <<_ACEOF
1159 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1163 cat >>confdefs.h <<_ACEOF
1164 #define PACKAGE_STRING "$PACKAGE_STRING"
1168 cat >>confdefs.h <<_ACEOF
1169 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1173 # Let the site file select an alternate cache file if it wants to.
1174 # Prefer explicitly selected file to automatically selected ones.
1175 if test -z "$CONFIG_SITE"; then
1176 if test "x$prefix" != xNONE; then
1177 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1179 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1182 for ac_site_file in $CONFIG_SITE; do
1183 if test -r "$ac_site_file"; then
1184 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1185 echo "$as_me: loading site script $ac_site_file" >&6;}
1186 sed 's
/^
/|
/' "$ac_site_file" >&5
1191 if test -r "$cache_file"; then
1192 # Some versions of bash will fail to source /dev/null (special
1193 # files actually), so we avoid doing that.
1194 if test -f "$cache_file"; then
1195 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1196 echo "$as_me: loading cache $cache_file" >&6;}
1198 [\\/]* | ?:[\\/]* ) . $cache_file;;
1199 *) . ./$cache_file;;
1203 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1204 echo "$as_me: creating cache $cache_file" >&6;}
1208 # Check that the precious variables saved in the cache have kept the same
1210 ac_cache_corrupted=false
1211 for ac_var in `(set) 2>&1 |
1212 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1213 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1214 eval ac_new_set=\$ac_env_${ac_var}_set
1215 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1216 eval ac_new_val="\$ac_env_${ac_var}_value"
1217 case $ac_old_set,$ac_new_set in
1219 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1220 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1221 ac_cache_corrupted=: ;;
1223 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1224 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1225 ac_cache_corrupted=: ;;
1228 if test "x$ac_old_val" != "x$ac_new_val"; then
1229 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1230 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1231 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1232 echo "$as_me: former value: $ac_old_val" >&2;}
1233 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1234 echo "$as_me: current value: $ac_new_val" >&2;}
1235 ac_cache_corrupted=:
1238 # Pass precious variables to config.status.
1239 if test "$ac_new_set" = set; then
1241 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1242 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1243 *) ac_arg=$ac_var=$ac_new_val ;;
1245 case " $ac_configure_args " in
1246 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1247 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1251 if $ac_cache_corrupted; then
1252 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1253 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1254 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1255 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1256 { (exit 1); exit 1; }; }
1260 ac_cpp='$CPP $CPPFLAGS'
1261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1262 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1285 ac_cpp='$CPP $CPPFLAGS'
1286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1287 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1289 if test -n "$ac_tool_prefix"; then
1290 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1291 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1292 echo "$as_me:$LINENO: checking for $ac_word" >&5
1293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1294 if test "${ac_cv_prog_CC+set}" = set; then
1295 echo $ECHO_N "(cached) $ECHO_C" >&6
1297 if test -n "$CC"; then
1298 ac_cv_prog_CC="$CC" # Let the user override the test.
1300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1304 test -z "$as_dir" && as_dir=.
1305 for ac_exec_ext in '' $ac_executable_extensions; do
1306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1307 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1317 if test -n "$CC"; then
1318 echo "$as_me:$LINENO: result: $CC" >&5
1319 echo "${ECHO_T}$CC" >&6
1321 echo "$as_me:$LINENO: result: no" >&5
1322 echo "${ECHO_T}no" >&6
1326 if test -z "$ac_cv_prog_CC"; then
1328 # Extract the first word of "gcc", so it can be a program name with args.
1329 set dummy gcc; ac_word=$2
1330 echo "$as_me:$LINENO: checking for $ac_word" >&5
1331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1332 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1333 echo $ECHO_N "(cached) $ECHO_C" >&6
1335 if test -n "$ac_ct_CC"; then
1336 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1342 test -z "$as_dir" && as_dir=.
1343 for ac_exec_ext in '' $ac_executable_extensions; do
1344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1345 ac_cv_prog_ac_ct_CC="gcc"
1346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1354 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1355 if test -n "$ac_ct_CC"; then
1356 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1357 echo "${ECHO_T}$ac_ct_CC" >&6
1359 echo "$as_me:$LINENO: result: no" >&5
1360 echo "${ECHO_T}no" >&6
1368 if test -z "$CC"; then
1369 if test -n "$ac_tool_prefix"; then
1370 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1371 set dummy ${ac_tool_prefix}cc; ac_word=$2
1372 echo "$as_me:$LINENO: checking for $ac_word" >&5
1373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1374 if test "${ac_cv_prog_CC+set}" = set; then
1375 echo $ECHO_N "(cached) $ECHO_C" >&6
1377 if test -n "$CC"; then
1378 ac_cv_prog_CC="$CC" # Let the user override the test.
1380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1384 test -z "$as_dir" && as_dir=.
1385 for ac_exec_ext in '' $ac_executable_extensions; do
1386 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1387 ac_cv_prog_CC="${ac_tool_prefix}cc"
1388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1397 if test -n "$CC"; then
1398 echo "$as_me:$LINENO: result: $CC" >&5
1399 echo "${ECHO_T}$CC" >&6
1401 echo "$as_me:$LINENO: result: no" >&5
1402 echo "${ECHO_T}no" >&6
1406 if test -z "$ac_cv_prog_CC"; then
1408 # Extract the first word of "cc", so it can be a program name with args.
1409 set dummy cc; ac_word=$2
1410 echo "$as_me:$LINENO: checking for $ac_word" >&5
1411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1412 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1413 echo $ECHO_N "(cached) $ECHO_C" >&6
1415 if test -n "$ac_ct_CC"; then
1416 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1422 test -z "$as_dir" && as_dir=.
1423 for ac_exec_ext in '' $ac_executable_extensions; do
1424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1425 ac_cv_prog_ac_ct_CC="cc"
1426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1434 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1435 if test -n "$ac_ct_CC"; then
1436 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1437 echo "${ECHO_T}$ac_ct_CC" >&6
1439 echo "$as_me:$LINENO: result: no" >&5
1440 echo "${ECHO_T}no" >&6
1449 if test -z "$CC"; then
1450 # Extract the first word of "cc", so it can be a program name with args.
1451 set dummy cc; ac_word=$2
1452 echo "$as_me:$LINENO: checking for $ac_word" >&5
1453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1454 if test "${ac_cv_prog_CC+set}" = set; then
1455 echo $ECHO_N "(cached) $ECHO_C" >&6
1457 if test -n "$CC"; then
1458 ac_cv_prog_CC="$CC" # Let the user override the test.
1461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1465 test -z "$as_dir" && as_dir=.
1466 for ac_exec_ext in '' $ac_executable_extensions; do
1467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1468 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1469 ac_prog_rejected=yes
1473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1479 if test $ac_prog_rejected = yes; then
1480 # We found a bogon in the path, so make sure we never use it.
1481 set dummy $ac_cv_prog_CC
1483 if test $# != 0; then
1484 # We chose a different compiler from the bogus one.
1485 # However, it has the same basename, so the bogon will be chosen
1486 # first if we set CC to just the basename; use the full file name.
1488 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1494 if test -n "$CC"; then
1495 echo "$as_me:$LINENO: result: $CC" >&5
1496 echo "${ECHO_T}$CC" >&6
1498 echo "$as_me:$LINENO: result: no" >&5
1499 echo "${ECHO_T}no" >&6
1503 if test -z "$CC"; then
1504 if test -n "$ac_tool_prefix"; then
1507 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1508 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1509 echo "$as_me:$LINENO: checking for $ac_word" >&5
1510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1511 if test "${ac_cv_prog_CC+set}" = set; then
1512 echo $ECHO_N "(cached) $ECHO_C" >&6
1514 if test -n "$CC"; then
1515 ac_cv_prog_CC="$CC" # Let the user override the test.
1517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1521 test -z "$as_dir" && as_dir=.
1522 for ac_exec_ext in '' $ac_executable_extensions; do
1523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1524 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1534 if test -n "$CC"; then
1535 echo "$as_me:$LINENO: result: $CC" >&5
1536 echo "${ECHO_T}$CC" >&6
1538 echo "$as_me:$LINENO: result: no" >&5
1539 echo "${ECHO_T}no" >&6
1542 test -n "$CC" && break
1545 if test -z "$CC"; then
1549 # Extract the first word of "$ac_prog", so it can be a program name with args.
1550 set dummy $ac_prog; ac_word=$2
1551 echo "$as_me:$LINENO: checking for $ac_word" >&5
1552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1553 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1556 if test -n "$ac_ct_CC"; then
1557 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1563 test -z "$as_dir" && as_dir=.
1564 for ac_exec_ext in '' $ac_executable_extensions; do
1565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1566 ac_cv_prog_ac_ct_CC="$ac_prog"
1567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1575 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1576 if test -n "$ac_ct_CC"; then
1577 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1578 echo "${ECHO_T}$ac_ct_CC" >&6
1580 echo "$as_me:$LINENO: result: no" >&5
1581 echo "${ECHO_T}no" >&6
1584 test -n "$ac_ct_CC" && break
1593 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1594 See \`config.log' for more details.
" >&5
1595 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1596 See \
`config.log' for more details." >&2;}
1597 { (exit 1); exit 1; }; }
1599 # Provide some information about the compiler.
1600 echo "$as_me:$LINENO:" \
1601 "checking for C compiler version" >&5
1602 ac_compiler=`set X
$ac_compile; echo $2`
1603 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1604 (eval $ac_compiler --version </dev/null >&5) 2>&5
1606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1607 (exit $ac_status); }
1608 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1609 (eval $ac_compiler -v </dev/null >&5) 2>&5
1611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1612 (exit $ac_status); }
1613 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1614 (eval $ac_compiler -V </dev/null >&5) 2>&5
1616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1617 (exit $ac_status); }
1619 cat >conftest.$ac_ext <<_ACEOF
1622 cat confdefs.h >>conftest.$ac_ext
1623 cat >>conftest.$ac_ext <<_ACEOF
1624 /* end confdefs.h. */
1634 ac_clean_files_save=$ac_clean_files
1635 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1636 # Try to create an executable without -o first, disregard a.out.
1637 # It will help us diagnose broken compilers, and finding out an intuition
1639 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1640 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1641 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1642 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1643 (eval $ac_link_default) 2>&5
1645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1646 (exit $ac_status); }; then
1647 # Find the output, starting from the most likely. This scheme is
1648 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1651 # Be careful to initialize this variable, since it used to be cached.
1652 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1654 # b.out is created by i960 compilers.
1655 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1657 test -f "$ac_file" || continue
1659 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1662 # This is the source file.
1665 # We found the default executable, but exeext='' is most
1669 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1670 # FIXME: I believe we export ac_cv_exeext for Libtool,
1671 # but it would be cool to find out if it's true. Does anybody
1672 # maintain Libtool? --akim.
1680 echo "$as_me: failed program was:" >&5
1681 sed 's/^/| /' conftest.$ac_ext >&5
1683 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1684 See \`config.log
' for more details." >&5
1685 echo "$as_me: error: C compiler cannot create executables
1686 See \`config.log' for more details.
" >&2;}
1687 { (exit 77); exit 77; }; }
1690 ac_exeext=$ac_cv_exeext
1691 echo "$as_me:$LINENO: result
: $ac_file" >&5
1692 echo "${ECHO_T}$ac_file" >&6
1694 # Check the compiler produces executables we can run. If not, either
1695 # the compiler is broken, or we cross compile.
1696 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1697 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1698 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1699 # If not cross compiling, check that we can run a simple program.
1700 if test "$cross_compiling" != yes; then
1701 if { ac_try='./$ac_file'
1702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1705 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1706 (exit $ac_status); }; }; then
1709 if test "$cross_compiling" = maybe; then
1712 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1713 If you meant to cross compile
, use \
`--host'.
1714 See \`config.log
' for more details." >&5
1715 echo "$as_me: error: cannot run C compiled programs.
1716 If you meant to cross compile, use \`--host'.
1717 See \
`config.log' for more details." >&2;}
1718 { (exit 1); exit 1; }; }
1722 echo "$as_me:$LINENO: result: yes" >&5
1723 echo "${ECHO_T}yes" >&6
1725 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1726 ac_clean_files=$ac_clean_files_save
1727 # Check the compiler produces executables we can run. If not, either
1728 # the compiler is broken, or we cross compile.
1729 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1730 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1731 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1732 echo "${ECHO_T}$cross_compiling" >&6
1734 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1735 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1737 (eval $ac_link) 2>&5
1739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1740 (exit $ac_status); }; then
1741 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1742 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1743 # work properly (i.e., refer to `conftest.exe'), while it won't with
1745 for ac_file
in conftest.exe conftest conftest.
*; do
1746 test -f "$ac_file" ||
continue
1748 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1749 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1756 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1757 See \`config.log' for more details." >&5
1758 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1759 See \`config.log' for more details." >&2;}
1760 { (exit 1); exit 1; }; }
1763 rm -f conftest
$ac_cv_exeext
1764 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1765 echo "${ECHO_T}$ac_cv_exeext" >&6
1767 rm -f conftest.
$ac_ext
1768 EXEEXT
=$ac_cv_exeext
1770 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1771 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1772 if test "${ac_cv_objext+set}" = set; then
1773 echo $ECHO_N "(cached) $ECHO_C" >&6
1775 cat >conftest.
$ac_ext <<_ACEOF
1778 cat confdefs.h
>>conftest.
$ac_ext
1779 cat >>conftest.
$ac_ext <<_ACEOF
1780 /* end confdefs.h. */
1790 rm -f conftest.o conftest.obj
1791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1792 (eval $ac_compile) 2>&5
1794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1795 (exit $ac_status); }; then
1796 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1798 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1799 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1804 echo "$as_me: failed program was:" >&5
1805 sed 's/^/| /' conftest.
$ac_ext >&5
1807 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1808 See \`config.log' for more details." >&5
1809 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1810 See \`config.log' for more details." >&2;}
1811 { (exit 1); exit 1; }; }
1814 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1816 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1817 echo "${ECHO_T}$ac_cv_objext" >&6
1818 OBJEXT
=$ac_cv_objext
1820 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1821 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1822 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1823 echo $ECHO_N "(cached) $ECHO_C" >&6
1825 cat >conftest.
$ac_ext <<_ACEOF
1828 cat confdefs.h
>>conftest.
$ac_ext
1829 cat >>conftest.
$ac_ext <<_ACEOF
1830 /* end confdefs.h. */
1843 rm -f conftest.
$ac_objext
1844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1845 (eval $ac_compile) 2>conftest.er1
1847 grep -v '^ *+' conftest.er1
>conftest.err
1849 cat conftest.err
>&5
1850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1851 (exit $ac_status); } &&
1852 { ac_try
='test -z "$ac_c_werror_flag"
1853 || test ! -s conftest.err'
1854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1858 (exit $ac_status); }; } &&
1859 { ac_try
='test -s conftest.$ac_objext'
1860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1864 (exit $ac_status); }; }; then
1867 echo "$as_me: failed program was:" >&5
1868 sed 's/^/| /' conftest.
$ac_ext >&5
1872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1873 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1876 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1877 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1878 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1879 ac_test_CFLAGS
=${CFLAGS+set}
1880 ac_save_CFLAGS
=$CFLAGS
1882 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1883 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1884 if test "${ac_cv_prog_cc_g+set}" = set; then
1885 echo $ECHO_N "(cached) $ECHO_C" >&6
1887 cat >conftest.
$ac_ext <<_ACEOF
1890 cat confdefs.h
>>conftest.
$ac_ext
1891 cat >>conftest.
$ac_ext <<_ACEOF
1892 /* end confdefs.h. */
1902 rm -f conftest.
$ac_objext
1903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1904 (eval $ac_compile) 2>conftest.er1
1906 grep -v '^ *+' conftest.er1
>conftest.err
1908 cat conftest.err
>&5
1909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1910 (exit $ac_status); } &&
1911 { ac_try
='test -z "$ac_c_werror_flag"
1912 || test ! -s conftest.err'
1913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1917 (exit $ac_status); }; } &&
1918 { ac_try
='test -s conftest.$ac_objext'
1919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1923 (exit $ac_status); }; }; then
1926 echo "$as_me: failed program was:" >&5
1927 sed 's/^/| /' conftest.
$ac_ext >&5
1931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1933 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1934 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1935 if test "$ac_test_CFLAGS" = set; then
1936 CFLAGS
=$ac_save_CFLAGS
1937 elif test $ac_cv_prog_cc_g = yes; then
1938 if test "$GCC" = yes; then
1944 if test "$GCC" = yes; then
1950 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1951 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1952 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1953 echo $ECHO_N "(cached) $ECHO_C" >&6
1955 ac_cv_prog_cc_stdc
=no
1957 cat >conftest.
$ac_ext <<_ACEOF
1960 cat confdefs.h
>>conftest.
$ac_ext
1961 cat >>conftest.
$ac_ext <<_ACEOF
1962 /* end confdefs.h. */
1965 #include <sys/types.h>
1966 #include <sys/stat.h>
1967 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1968 struct buf { int x; };
1969 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1970 static char *e (p, i)
1976 static char *f (char * (*g) (char **, int), char **p, ...)
1981 s = g (p, va_arg (v,int));
1986 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1987 function prototypes and stuff, but not '\xHH' hex character constants.
1988 These don't provoke an error unfortunately, instead are silently treated
1989 as 'x'. The following induces an error, until -std1 is added to get
1990 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1991 array size at least. It's necessary to write '\x00'==0 to get something
1992 that's true only with -std1. */
1993 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1995 int test (int i, double x);
1996 struct s1 {int (*f) (int a);};
1997 struct s2 {int (*f) (double a);};
1998 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2004 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2009 # Don't try gcc -ansi; that turns off useful extensions and
2010 # breaks some systems' header files.
2011 # AIX -qlanglvl=ansi
2012 # Ultrix and OSF/1 -std1
2013 # HP-UX 10.20 and later -Ae
2014 # HP-UX older versions -Aa -D_HPUX_SOURCE
2015 # SVR4 -Xc -D__EXTENSIONS__
2016 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2018 CC
="$ac_save_CC $ac_arg"
2019 rm -f conftest.
$ac_objext
2020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2021 (eval $ac_compile) 2>conftest.er1
2023 grep -v '^ *+' conftest.er1
>conftest.err
2025 cat conftest.err
>&5
2026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2027 (exit $ac_status); } &&
2028 { ac_try
='test -z "$ac_c_werror_flag"
2029 || test ! -s conftest.err'
2030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2034 (exit $ac_status); }; } &&
2035 { ac_try
='test -s conftest.$ac_objext'
2036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2040 (exit $ac_status); }; }; then
2041 ac_cv_prog_cc_stdc
=$ac_arg
2044 echo "$as_me: failed program was:" >&5
2045 sed 's/^/| /' conftest.
$ac_ext >&5
2048 rm -f conftest.err conftest.
$ac_objext
2050 rm -f conftest.
$ac_ext conftest.
$ac_objext
2055 case "x$ac_cv_prog_cc_stdc" in
2057 echo "$as_me:$LINENO: result: none needed" >&5
2058 echo "${ECHO_T}none needed" >&6 ;;
2060 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2061 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2062 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2065 # Some people use a C++ compiler to compile C. Since we use `exit',
2066 # in C++ we need to declare it. In case someone uses the same compiler
2067 # for both compiling C and C++ we need to have the C++ compiler decide
2068 # the declaration of exit, since it's the most demanding environment.
2069 cat >conftest.
$ac_ext <<_ACEOF
2074 rm -f conftest.
$ac_objext
2075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2076 (eval $ac_compile) 2>conftest.er1
2078 grep -v '^ *+' conftest.er1
>conftest.err
2080 cat conftest.err
>&5
2081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2082 (exit $ac_status); } &&
2083 { ac_try
='test -z "$ac_c_werror_flag"
2084 || test ! -s conftest.err'
2085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2089 (exit $ac_status); }; } &&
2090 { ac_try
='test -s conftest.$ac_objext'
2091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2095 (exit $ac_status); }; }; then
2096 for ac_declaration
in \
2098 'extern "C" void std::exit (int) throw (); using std::exit;' \
2099 'extern "C" void std::exit (int); using std::exit;' \
2100 'extern "C" void exit (int) throw ();' \
2101 'extern "C" void exit (int);' \
2104 cat >conftest.
$ac_ext <<_ACEOF
2107 cat confdefs.h
>>conftest.
$ac_ext
2108 cat >>conftest.
$ac_ext <<_ACEOF
2109 /* end confdefs.h. */
2120 rm -f conftest.
$ac_objext
2121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2122 (eval $ac_compile) 2>conftest.er1
2124 grep -v '^ *+' conftest.er1
>conftest.err
2126 cat conftest.err
>&5
2127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2128 (exit $ac_status); } &&
2129 { ac_try
='test -z "$ac_c_werror_flag"
2130 || test ! -s conftest.err'
2131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2135 (exit $ac_status); }; } &&
2136 { ac_try
='test -s conftest.$ac_objext'
2137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2141 (exit $ac_status); }; }; then
2144 echo "$as_me: failed program was:" >&5
2145 sed 's/^/| /' conftest.
$ac_ext >&5
2149 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2150 cat >conftest.
$ac_ext <<_ACEOF
2153 cat confdefs.h
>>conftest.
$ac_ext
2154 cat >>conftest.
$ac_ext <<_ACEOF
2155 /* end confdefs.h. */
2165 rm -f conftest.
$ac_objext
2166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2167 (eval $ac_compile) 2>conftest.er1
2169 grep -v '^ *+' conftest.er1
>conftest.err
2171 cat conftest.err
>&5
2172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2173 (exit $ac_status); } &&
2174 { ac_try
='test -z "$ac_c_werror_flag"
2175 || test ! -s conftest.err'
2176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); }; } &&
2181 { ac_try
='test -s conftest.$ac_objext'
2182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186 (exit $ac_status); }; }; then
2189 echo "$as_me: failed program was:" >&5
2190 sed 's/^/| /' conftest.
$ac_ext >&5
2193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2196 if test -n "$ac_declaration"; then
2197 echo '#ifdef __cplusplus' >>confdefs.h
2198 echo $ac_declaration >>confdefs.h
2199 echo '#endif' >>confdefs.h
2203 echo "$as_me: failed program was:" >&5
2204 sed 's/^/| /' conftest.
$ac_ext >&5
2207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2209 ac_cpp
='$CPP $CPPFLAGS'
2210 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2211 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2212 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2215 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
2216 if test -f $ac_dir/install-sh
; then
2218 ac_install_sh
="$ac_aux_dir/install-sh -c"
2220 elif test -f $ac_dir/install.sh
; then
2222 ac_install_sh
="$ac_aux_dir/install.sh -c"
2224 elif test -f $ac_dir/shtool
; then
2226 ac_install_sh
="$ac_aux_dir/shtool install -c"
2230 if test -z "$ac_aux_dir"; then
2231 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2232 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2233 { (exit 1); exit 1; }; }
2235 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
2236 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
2237 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2239 # Find a good install program. We prefer a C program (faster),
2240 # so one script is as good as another. But avoid the broken or
2241 # incompatible versions:
2242 # SysV /etc/install, /usr/sbin/install
2243 # SunOS /usr/etc/install
2244 # IRIX /sbin/install
2246 # AmigaOS /C/install, which installs bootblocks on floppy discs
2247 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2248 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2249 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2250 # OS/2's system install, which has a completely different semantic
2251 # ./install, which can be erroneously created by make from ./install.sh.
2252 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2253 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2254 if test -z "$INSTALL"; then
2255 if test "${ac_cv_path_install+set}" = set; then
2256 echo $ECHO_N "(cached) $ECHO_C" >&6
2258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2262 test -z "$as_dir" && as_dir
=.
2263 # Account for people who put trailing slashes in PATH elements.
2265 .
/ | .
// |
/cC
/* | \
2266 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2267 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2270 # OSF1 and SCO ODT 3.0 have their own names for install.
2271 # Don't use installbsd from OSF since it installs stuff as root
2273 for ac_prog
in ginstall scoinst
install; do
2274 for ac_exec_ext
in '' $ac_executable_extensions; do
2275 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2276 if test $ac_prog = install &&
2277 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2278 # AIX install. It has an incompatible calling convention.
2280 elif test $ac_prog = install &&
2281 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2282 # program-specific install script used by HP pwplus--don't use.
2285 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2297 if test "${ac_cv_path_install+set}" = set; then
2298 INSTALL
=$ac_cv_path_install
2300 # As a last resort, use the slow shell script. We don't cache a
2301 # path for INSTALL within a source directory, because that will
2302 # break other packages using the cache if that directory is
2303 # removed, or if the path is relative.
2304 INSTALL
=$ac_install_sh
2307 echo "$as_me:$LINENO: result: $INSTALL" >&5
2308 echo "${ECHO_T}$INSTALL" >&6
2310 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2311 # It thinks the first close brace ends the variable substitution.
2312 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2314 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2316 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2318 if test -n "$ac_tool_prefix"; then
2319 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2320 set dummy
${ac_tool_prefix}ar; ac_word
=$2
2321 echo "$as_me:$LINENO: checking for $ac_word" >&5
2322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2323 if test "${ac_cv_prog_AR+set}" = set; then
2324 echo $ECHO_N "(cached) $ECHO_C" >&6
2326 if test -n "$AR"; then
2327 ac_cv_prog_AR
="$AR" # Let the user override the test.
2329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2333 test -z "$as_dir" && as_dir
=.
2334 for ac_exec_ext
in '' $ac_executable_extensions; do
2335 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2336 ac_cv_prog_AR
="${ac_tool_prefix}ar"
2337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2346 if test -n "$AR"; then
2347 echo "$as_me:$LINENO: result: $AR" >&5
2348 echo "${ECHO_T}$AR" >&6
2350 echo "$as_me:$LINENO: result: no" >&5
2351 echo "${ECHO_T}no" >&6
2355 if test -z "$ac_cv_prog_AR"; then
2357 # Extract the first word of "ar", so it can be a program name with args.
2358 set dummy
ar; ac_word
=$2
2359 echo "$as_me:$LINENO: checking for $ac_word" >&5
2360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2361 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2362 echo $ECHO_N "(cached) $ECHO_C" >&6
2364 if test -n "$ac_ct_AR"; then
2365 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
2367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2371 test -z "$as_dir" && as_dir
=.
2372 for ac_exec_ext
in '' $ac_executable_extensions; do
2373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2374 ac_cv_prog_ac_ct_AR
="ar"
2375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2383 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
2384 if test -n "$ac_ct_AR"; then
2385 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2386 echo "${ECHO_T}$ac_ct_AR" >&6
2388 echo "$as_me:$LINENO: result: no" >&5
2389 echo "${ECHO_T}no" >&6
2397 if test -n "$ac_tool_prefix"; then
2398 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2399 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2400 echo "$as_me:$LINENO: checking for $ac_word" >&5
2401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2402 if test "${ac_cv_prog_RANLIB+set}" = set; then
2403 echo $ECHO_N "(cached) $ECHO_C" >&6
2405 if test -n "$RANLIB"; then
2406 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2412 test -z "$as_dir" && as_dir
=.
2413 for ac_exec_ext
in '' $ac_executable_extensions; do
2414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2415 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2424 RANLIB
=$ac_cv_prog_RANLIB
2425 if test -n "$RANLIB"; then
2426 echo "$as_me:$LINENO: result: $RANLIB" >&5
2427 echo "${ECHO_T}$RANLIB" >&6
2429 echo "$as_me:$LINENO: result: no" >&5
2430 echo "${ECHO_T}no" >&6
2434 if test -z "$ac_cv_prog_RANLIB"; then
2435 ac_ct_RANLIB
=$RANLIB
2436 # Extract the first word of "ranlib", so it can be a program name with args.
2437 set dummy ranlib
; ac_word
=$2
2438 echo "$as_me:$LINENO: checking for $ac_word" >&5
2439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2440 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2441 echo $ECHO_N "(cached) $ECHO_C" >&6
2443 if test -n "$ac_ct_RANLIB"; then
2444 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2450 test -z "$as_dir" && as_dir
=.
2451 for ac_exec_ext
in '' $ac_executable_extensions; do
2452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2453 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2460 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2463 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2464 if test -n "$ac_ct_RANLIB"; then
2465 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2466 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2468 echo "$as_me:$LINENO: result: no" >&5
2469 echo "${ECHO_T}no" >&6
2472 RANLIB
=$ac_ct_RANLIB
2474 RANLIB
="$ac_cv_prog_RANLIB"
2478 # Make sure we can run config.sub.
2479 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2480 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2481 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2482 { (exit 1); exit 1; }; }
2484 echo "$as_me:$LINENO: checking build system type" >&5
2485 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2486 if test "${ac_cv_build+set}" = set; then
2487 echo $ECHO_N "(cached) $ECHO_C" >&6
2489 ac_cv_build_alias
=$build_alias
2490 test -z "$ac_cv_build_alias" &&
2491 ac_cv_build_alias
=`$ac_config_guess`
2492 test -z "$ac_cv_build_alias" &&
2493 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2494 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2495 { (exit 1); exit 1; }; }
2496 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2497 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2498 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2499 { (exit 1); exit 1; }; }
2502 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2503 echo "${ECHO_T}$ac_cv_build" >&6
2505 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2506 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2507 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2510 echo "$as_me:$LINENO: checking host system type" >&5
2511 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2512 if test "${ac_cv_host+set}" = set; then
2513 echo $ECHO_N "(cached) $ECHO_C" >&6
2515 ac_cv_host_alias
=$host_alias
2516 test -z "$ac_cv_host_alias" &&
2517 ac_cv_host_alias
=$ac_cv_build_alias
2518 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2519 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2520 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2521 { (exit 1); exit 1; }; }
2524 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2525 echo "${ECHO_T}$ac_cv_host" >&6
2527 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2528 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2529 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2532 echo "$as_me:$LINENO: checking target system type" >&5
2533 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2534 if test "${ac_cv_target+set}" = set; then
2535 echo $ECHO_N "(cached) $ECHO_C" >&6
2537 ac_cv_target_alias
=$target_alias
2538 test "x$ac_cv_target_alias" = "x" &&
2539 ac_cv_target_alias
=$ac_cv_host_alias
2540 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
2541 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2542 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2543 { (exit 1); exit 1; }; }
2546 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2547 echo "${ECHO_T}$ac_cv_target" >&6
2548 target
=$ac_cv_target
2549 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2550 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2551 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2554 # The aliases save the names the user supplied, while $host etc.
2555 # will get canonicalized.
2556 test -n "$target_alias" &&
2557 test "$program_prefix$program_suffix$program_transform_name" = \
2559 program_prefix
=${target_alias}-
2560 test "$program_prefix" != NONE
&&
2561 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2562 # Use a double $ so make ignores it.
2563 test "$program_suffix" != NONE
&&
2564 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2565 # Double any \ or $. echo might interpret backslashes.
2566 # By default was `s,x,x', remove it if useless.
2567 cat <<\_ACEOF
>conftest.
sed
2568 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2570 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2574 ac_cpp
='$CPP $CPPFLAGS'
2575 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2576 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2577 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2578 if test -n "$ac_tool_prefix"; then
2579 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2580 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2581 echo "$as_me:$LINENO: checking for $ac_word" >&5
2582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2583 if test "${ac_cv_prog_CC+set}" = set; then
2584 echo $ECHO_N "(cached) $ECHO_C" >&6
2586 if test -n "$CC"; then
2587 ac_cv_prog_CC
="$CC" # Let the user override the test.
2589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2593 test -z "$as_dir" && as_dir
=.
2594 for ac_exec_ext
in '' $ac_executable_extensions; do
2595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2596 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2606 if test -n "$CC"; then
2607 echo "$as_me:$LINENO: result: $CC" >&5
2608 echo "${ECHO_T}$CC" >&6
2610 echo "$as_me:$LINENO: result: no" >&5
2611 echo "${ECHO_T}no" >&6
2615 if test -z "$ac_cv_prog_CC"; then
2617 # Extract the first word of "gcc", so it can be a program name with args.
2618 set dummy gcc
; ac_word
=$2
2619 echo "$as_me:$LINENO: checking for $ac_word" >&5
2620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2621 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2622 echo $ECHO_N "(cached) $ECHO_C" >&6
2624 if test -n "$ac_ct_CC"; then
2625 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2631 test -z "$as_dir" && as_dir
=.
2632 for ac_exec_ext
in '' $ac_executable_extensions; do
2633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2634 ac_cv_prog_ac_ct_CC
="gcc"
2635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2643 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2644 if test -n "$ac_ct_CC"; then
2645 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2646 echo "${ECHO_T}$ac_ct_CC" >&6
2648 echo "$as_me:$LINENO: result: no" >&5
2649 echo "${ECHO_T}no" >&6
2657 if test -z "$CC"; then
2658 if test -n "$ac_tool_prefix"; then
2659 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2660 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2661 echo "$as_me:$LINENO: checking for $ac_word" >&5
2662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2663 if test "${ac_cv_prog_CC+set}" = set; then
2664 echo $ECHO_N "(cached) $ECHO_C" >&6
2666 if test -n "$CC"; then
2667 ac_cv_prog_CC
="$CC" # Let the user override the test.
2669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2673 test -z "$as_dir" && as_dir
=.
2674 for ac_exec_ext
in '' $ac_executable_extensions; do
2675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2676 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2686 if test -n "$CC"; then
2687 echo "$as_me:$LINENO: result: $CC" >&5
2688 echo "${ECHO_T}$CC" >&6
2690 echo "$as_me:$LINENO: result: no" >&5
2691 echo "${ECHO_T}no" >&6
2695 if test -z "$ac_cv_prog_CC"; then
2697 # Extract the first word of "cc", so it can be a program name with args.
2698 set dummy cc
; ac_word
=$2
2699 echo "$as_me:$LINENO: checking for $ac_word" >&5
2700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2701 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2702 echo $ECHO_N "(cached) $ECHO_C" >&6
2704 if test -n "$ac_ct_CC"; then
2705 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2711 test -z "$as_dir" && as_dir
=.
2712 for ac_exec_ext
in '' $ac_executable_extensions; do
2713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2714 ac_cv_prog_ac_ct_CC
="cc"
2715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2723 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2724 if test -n "$ac_ct_CC"; then
2725 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2726 echo "${ECHO_T}$ac_ct_CC" >&6
2728 echo "$as_me:$LINENO: result: no" >&5
2729 echo "${ECHO_T}no" >&6
2738 if test -z "$CC"; then
2739 # Extract the first word of "cc", so it can be a program name with args.
2740 set dummy cc
; ac_word
=$2
2741 echo "$as_me:$LINENO: checking for $ac_word" >&5
2742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2743 if test "${ac_cv_prog_CC+set}" = set; then
2744 echo $ECHO_N "(cached) $ECHO_C" >&6
2746 if test -n "$CC"; then
2747 ac_cv_prog_CC
="$CC" # Let the user override the test.
2750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2754 test -z "$as_dir" && as_dir
=.
2755 for ac_exec_ext
in '' $ac_executable_extensions; do
2756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2757 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2758 ac_prog_rejected
=yes
2762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2768 if test $ac_prog_rejected = yes; then
2769 # We found a bogon in the path, so make sure we never use it.
2770 set dummy
$ac_cv_prog_CC
2772 if test $# != 0; then
2773 # We chose a different compiler from the bogus one.
2774 # However, it has the same basename, so the bogon will be chosen
2775 # first if we set CC to just the basename; use the full file name.
2777 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2783 if test -n "$CC"; then
2784 echo "$as_me:$LINENO: result: $CC" >&5
2785 echo "${ECHO_T}$CC" >&6
2787 echo "$as_me:$LINENO: result: no" >&5
2788 echo "${ECHO_T}no" >&6
2792 if test -z "$CC"; then
2793 if test -n "$ac_tool_prefix"; then
2796 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2797 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2798 echo "$as_me:$LINENO: checking for $ac_word" >&5
2799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2800 if test "${ac_cv_prog_CC+set}" = set; then
2801 echo $ECHO_N "(cached) $ECHO_C" >&6
2803 if test -n "$CC"; then
2804 ac_cv_prog_CC
="$CC" # Let the user override the test.
2806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2810 test -z "$as_dir" && as_dir
=.
2811 for ac_exec_ext
in '' $ac_executable_extensions; do
2812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2813 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2823 if test -n "$CC"; then
2824 echo "$as_me:$LINENO: result: $CC" >&5
2825 echo "${ECHO_T}$CC" >&6
2827 echo "$as_me:$LINENO: result: no" >&5
2828 echo "${ECHO_T}no" >&6
2831 test -n "$CC" && break
2834 if test -z "$CC"; then
2838 # Extract the first word of "$ac_prog", so it can be a program name with args.
2839 set dummy
$ac_prog; ac_word
=$2
2840 echo "$as_me:$LINENO: checking for $ac_word" >&5
2841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2842 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2843 echo $ECHO_N "(cached) $ECHO_C" >&6
2845 if test -n "$ac_ct_CC"; then
2846 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2852 test -z "$as_dir" && as_dir
=.
2853 for ac_exec_ext
in '' $ac_executable_extensions; do
2854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2855 ac_cv_prog_ac_ct_CC
="$ac_prog"
2856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2864 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2865 if test -n "$ac_ct_CC"; then
2866 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2867 echo "${ECHO_T}$ac_ct_CC" >&6
2869 echo "$as_me:$LINENO: result: no" >&5
2870 echo "${ECHO_T}no" >&6
2873 test -n "$ac_ct_CC" && break
2882 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2883 See \`config.log' for more details." >&5
2884 echo "$as_me: error: no acceptable C compiler found in \$PATH
2885 See \`config.log' for more details." >&2;}
2886 { (exit 1); exit 1; }; }
2888 # Provide some information about the compiler.
2889 echo "$as_me:$LINENO:" \
2890 "checking for C compiler version" >&5
2891 ac_compiler
=`set X $ac_compile; echo $2`
2892 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2893 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 (exit $ac_status); }
2897 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2898 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901 (exit $ac_status); }
2902 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2903 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2906 (exit $ac_status); }
2908 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2909 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2910 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2911 echo $ECHO_N "(cached) $ECHO_C" >&6
2913 cat >conftest.
$ac_ext <<_ACEOF
2916 cat confdefs.h
>>conftest.
$ac_ext
2917 cat >>conftest.
$ac_ext <<_ACEOF
2918 /* end confdefs.h. */
2931 rm -f conftest.
$ac_objext
2932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2933 (eval $ac_compile) 2>conftest.er1
2935 grep -v '^ *+' conftest.er1
>conftest.err
2937 cat conftest.err
>&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); } &&
2940 { ac_try
='test -z "$ac_c_werror_flag"
2941 || test ! -s conftest.err'
2942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); }; } &&
2947 { ac_try
='test -s conftest.$ac_objext'
2948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952 (exit $ac_status); }; }; then
2955 echo "$as_me: failed program was:" >&5
2956 sed 's/^/| /' conftest.
$ac_ext >&5
2960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2961 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2964 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2965 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2966 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2967 ac_test_CFLAGS
=${CFLAGS+set}
2968 ac_save_CFLAGS
=$CFLAGS
2970 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2971 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2972 if test "${ac_cv_prog_cc_g+set}" = set; then
2973 echo $ECHO_N "(cached) $ECHO_C" >&6
2975 cat >conftest.
$ac_ext <<_ACEOF
2978 cat confdefs.h
>>conftest.
$ac_ext
2979 cat >>conftest.
$ac_ext <<_ACEOF
2980 /* end confdefs.h. */
2990 rm -f conftest.
$ac_objext
2991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2992 (eval $ac_compile) 2>conftest.er1
2994 grep -v '^ *+' conftest.er1
>conftest.err
2996 cat conftest.err
>&5
2997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998 (exit $ac_status); } &&
2999 { ac_try
='test -z "$ac_c_werror_flag"
3000 || test ! -s conftest.err'
3001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005 (exit $ac_status); }; } &&
3006 { ac_try
='test -s conftest.$ac_objext'
3007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 (exit $ac_status); }; }; then
3014 echo "$as_me: failed program was:" >&5
3015 sed 's/^/| /' conftest.
$ac_ext >&5
3019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3021 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3022 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3023 if test "$ac_test_CFLAGS" = set; then
3024 CFLAGS
=$ac_save_CFLAGS
3025 elif test $ac_cv_prog_cc_g = yes; then
3026 if test "$GCC" = yes; then
3032 if test "$GCC" = yes; then
3038 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3039 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3040 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3041 echo $ECHO_N "(cached) $ECHO_C" >&6
3043 ac_cv_prog_cc_stdc
=no
3045 cat >conftest.
$ac_ext <<_ACEOF
3048 cat confdefs.h
>>conftest.
$ac_ext
3049 cat >>conftest.
$ac_ext <<_ACEOF
3050 /* end confdefs.h. */
3053 #include <sys/types.h>
3054 #include <sys/stat.h>
3055 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3056 struct buf { int x; };
3057 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3058 static char *e (p, i)
3064 static char *f (char * (*g) (char **, int), char **p, ...)
3069 s = g (p, va_arg (v,int));
3074 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3075 function prototypes and stuff, but not '\xHH' hex character constants.
3076 These don't provoke an error unfortunately, instead are silently treated
3077 as 'x'. The following induces an error, until -std1 is added to get
3078 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3079 array size at least. It's necessary to write '\x00'==0 to get something
3080 that's true only with -std1. */
3081 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3083 int test (int i, double x);
3084 struct s1 {int (*f) (int a);};
3085 struct s2 {int (*f) (double a);};
3086 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3092 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3097 # Don't try gcc -ansi; that turns off useful extensions and
3098 # breaks some systems' header files.
3099 # AIX -qlanglvl=ansi
3100 # Ultrix and OSF/1 -std1
3101 # HP-UX 10.20 and later -Ae
3102 # HP-UX older versions -Aa -D_HPUX_SOURCE
3103 # SVR4 -Xc -D__EXTENSIONS__
3104 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3106 CC
="$ac_save_CC $ac_arg"
3107 rm -f conftest.
$ac_objext
3108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3109 (eval $ac_compile) 2>conftest.er1
3111 grep -v '^ *+' conftest.er1
>conftest.err
3113 cat conftest.err
>&5
3114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3115 (exit $ac_status); } &&
3116 { ac_try
='test -z "$ac_c_werror_flag"
3117 || test ! -s conftest.err'
3118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122 (exit $ac_status); }; } &&
3123 { ac_try
='test -s conftest.$ac_objext'
3124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128 (exit $ac_status); }; }; then
3129 ac_cv_prog_cc_stdc
=$ac_arg
3132 echo "$as_me: failed program was:" >&5
3133 sed 's/^/| /' conftest.
$ac_ext >&5
3136 rm -f conftest.err conftest.
$ac_objext
3138 rm -f conftest.
$ac_ext conftest.
$ac_objext
3143 case "x$ac_cv_prog_cc_stdc" in
3145 echo "$as_me:$LINENO: result: none needed" >&5
3146 echo "${ECHO_T}none needed" >&6 ;;
3148 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3149 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3150 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3153 # Some people use a C++ compiler to compile C. Since we use `exit',
3154 # in C++ we need to declare it. In case someone uses the same compiler
3155 # for both compiling C and C++ we need to have the C++ compiler decide
3156 # the declaration of exit, since it's the most demanding environment.
3157 cat >conftest.
$ac_ext <<_ACEOF
3162 rm -f conftest.
$ac_objext
3163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3164 (eval $ac_compile) 2>conftest.er1
3166 grep -v '^ *+' conftest.er1
>conftest.err
3168 cat conftest.err
>&5
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); } &&
3171 { ac_try
='test -z "$ac_c_werror_flag"
3172 || test ! -s conftest.err'
3173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); }; } &&
3178 { ac_try
='test -s conftest.$ac_objext'
3179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183 (exit $ac_status); }; }; then
3184 for ac_declaration
in \
3186 'extern "C" void std::exit (int) throw (); using std::exit;' \
3187 'extern "C" void std::exit (int); using std::exit;' \
3188 'extern "C" void exit (int) throw ();' \
3189 'extern "C" void exit (int);' \
3192 cat >conftest.
$ac_ext <<_ACEOF
3195 cat confdefs.h
>>conftest.
$ac_ext
3196 cat >>conftest.
$ac_ext <<_ACEOF
3197 /* end confdefs.h. */
3208 rm -f conftest.
$ac_objext
3209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3210 (eval $ac_compile) 2>conftest.er1
3212 grep -v '^ *+' conftest.er1
>conftest.err
3214 cat conftest.err
>&5
3215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 (exit $ac_status); } &&
3217 { ac_try
='test -z "$ac_c_werror_flag"
3218 || test ! -s conftest.err'
3219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223 (exit $ac_status); }; } &&
3224 { ac_try
='test -s conftest.$ac_objext'
3225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229 (exit $ac_status); }; }; then
3232 echo "$as_me: failed program was:" >&5
3233 sed 's/^/| /' conftest.
$ac_ext >&5
3237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3238 cat >conftest.
$ac_ext <<_ACEOF
3241 cat confdefs.h
>>conftest.
$ac_ext
3242 cat >>conftest.
$ac_ext <<_ACEOF
3243 /* end confdefs.h. */
3253 rm -f conftest.
$ac_objext
3254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3255 (eval $ac_compile) 2>conftest.er1
3257 grep -v '^ *+' conftest.er1
>conftest.err
3259 cat conftest.err
>&5
3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261 (exit $ac_status); } &&
3262 { ac_try
='test -z "$ac_c_werror_flag"
3263 || test ! -s conftest.err'
3264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268 (exit $ac_status); }; } &&
3269 { ac_try
='test -s conftest.$ac_objext'
3270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274 (exit $ac_status); }; }; then
3277 echo "$as_me: failed program was:" >&5
3278 sed 's/^/| /' conftest.
$ac_ext >&5
3281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3284 if test -n "$ac_declaration"; then
3285 echo '#ifdef __cplusplus' >>confdefs.h
3286 echo $ac_declaration >>confdefs.h
3287 echo '#endif' >>confdefs.h
3291 echo "$as_me: failed program was:" >&5
3292 sed 's/^/| /' conftest.
$ac_ext >&5
3295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3297 ac_cpp
='$CPP $CPPFLAGS'
3298 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3299 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3300 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3306 if test -n "$ac_tool_prefix"; then
3307 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3308 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3309 echo "$as_me:$LINENO: checking for $ac_word" >&5
3310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3311 if test "${ac_cv_prog_RANLIB+set}" = set; then
3312 echo $ECHO_N "(cached) $ECHO_C" >&6
3314 if test -n "$RANLIB"; then
3315 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3321 test -z "$as_dir" && as_dir
=.
3322 for ac_exec_ext
in '' $ac_executable_extensions; do
3323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3324 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3333 RANLIB
=$ac_cv_prog_RANLIB
3334 if test -n "$RANLIB"; then
3335 echo "$as_me:$LINENO: result: $RANLIB" >&5
3336 echo "${ECHO_T}$RANLIB" >&6
3338 echo "$as_me:$LINENO: result: no" >&5
3339 echo "${ECHO_T}no" >&6
3343 if test -z "$ac_cv_prog_RANLIB"; then
3344 ac_ct_RANLIB
=$RANLIB
3345 # Extract the first word of "ranlib", so it can be a program name with args.
3346 set dummy ranlib
; ac_word
=$2
3347 echo "$as_me:$LINENO: checking for $ac_word" >&5
3348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3349 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3350 echo $ECHO_N "(cached) $ECHO_C" >&6
3352 if test -n "$ac_ct_RANLIB"; then
3353 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3359 test -z "$as_dir" && as_dir
=.
3360 for ac_exec_ext
in '' $ac_executable_extensions; do
3361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3362 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3369 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3372 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3373 if test -n "$ac_ct_RANLIB"; then
3374 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3375 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3377 echo "$as_me:$LINENO: result: no" >&5
3378 echo "${ECHO_T}no" >&6
3381 RANLIB
=$ac_ct_RANLIB
3383 RANLIB
="$ac_cv_prog_RANLIB"
3387 # Put a plausible default for CC_FOR_BUILD in Makefile.
3388 if test "x$cross_compiling" = "xno"; then
3389 CC_FOR_BUILD
='$(CC)'
3394 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
3397 # If a cpu ever has more than one simulator to choose from, use
3398 # --enable-sim=... to choose.
3399 # Check whether --enable-sim or --disable-sim was given.
3400 if test "${enable_sim+set}" = set; then
3401 enableval
="$enable_sim"
3402 case "${enableval}" in
3404 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} given for --enable-sim option" >&5
3405 echo "$as_me: error: bad value ${enableval} given for --enable-sim option" >&2;}
3406 { (exit 1); exit 1; }; } ;;
3410 # WHEN ADDING ENTRIES TO THIS MATRIX:
3412 # Make sure that the left side always has two dashes. Otherwise you
3413 # can get spurious matches. Even for unambiguous cases, do this as a
3414 # convention, else the table becomes a real mess to understand and
3417 if test "${enable_sim}" != no
; then
3422 arm
*-*-* | thumb
*-*-* | strongarm
*-*-* | xscale-
*-*)
3425 subdirs
="$subdirs arm"
3432 subdirs
="$subdirs avr"
3438 subdirs
="$subdirs cr16"
3442 cris-
*-* | crisv32-
*-*)
3445 subdirs
="$subdirs cris"
3452 subdirs
="$subdirs d10v"
3458 subdirs
="$subdirs frv"
3465 subdirs
="$subdirs h8300"
3472 subdirs
="$subdirs iq2000"
3479 subdirs
="$subdirs m32c"
3485 subdirs
="$subdirs m32r"
3489 m68hc11-
*-*|m6811-
*-*)
3492 subdirs
="$subdirs m68hc11"
3499 subdirs
="$subdirs mcore"
3506 subdirs
="$subdirs mips"
3514 subdirs
="$subdirs mn10300"
3521 subdirs
="$subdirs moxie"
3528 subdirs
="$subdirs sh64"
3535 subdirs
="$subdirs sh"
3539 sparc-
*-rtems*|sparc-
*-elf*)
3542 subdirs
="$subdirs erc32"
3549 subdirs
="$subdirs ppc"
3555 subdirs
="$subdirs v850"
3561 # No simulator subdir, so the subdir "common" isn't needed.
3565 if test "$testsuite" = yes; then
3568 subdirs
="$subdirs testsuite"
3571 if test "$common" = yes; then
3574 subdirs
="$subdirs common"
3577 if test "$igen" = yes; then
3580 subdirs
="$subdirs igen"
3585 ac_config_files
="$ac_config_files Makefile"
3586 cat >confcache
<<\_ACEOF
3587 # This file is a shell script that caches the results of configure
3588 # tests run on this system so they can be shared between configure
3589 # scripts and configure runs, see configure's option --config-cache.
3590 # It is not useful on other systems. If it contains results you don't
3591 # want to keep, you may remove or edit it.
3593 # config.status only pays attention to the cache file if you give it
3594 # the --recheck option to rerun configure.
3596 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3597 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3602 # The following way of writing the cache mishandles newlines in values,
3603 # but we know of no workaround that is simple, portable, and efficient.
3604 # So, don't put newlines in cache variables' values.
3605 # Ultrix sh set writes to stderr and can't be redirected directly,
3606 # and sets the high bit in the cache file unless we assign to the vars.
3609 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3611 # `set' does not quote correctly, so add quotes (double-quote
3612 # substitution turns \\\\ into \\, and sed turns \\ into \).
3615 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3618 # `set' quotes correctly as required by POSIX, so do not add quotes.
3620 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3627 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3629 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3631 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3632 if test -w $cache_file; then
3633 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3634 cat confcache
>$cache_file
3636 echo "not updating unwritable cache $cache_file"
3641 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3642 # Let make expand exec_prefix.
3643 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3645 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3646 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3647 # trailing colons and then remove the whole line if VPATH becomes empty
3648 # (actually we leave an empty line to preserve line numbers).
3649 if test "x$srcdir" = x.
; then
3650 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
3651 s/:*\$(srcdir):*/:/;
3652 s/:*\${srcdir}:*/:/;
3654 s/^\([^=]*=[ ]*\):*/\1/;
3660 # Transform confdefs.h into DEFS.
3661 # Protect against shell expansion while executing Makefile rules.
3662 # Protect against Makefile macro expansion.
3664 # If the first sed substitution is executed (which looks for macros that
3665 # take arguments), then we branch to the quote section. Otherwise,
3666 # look for a macro that doesn't take arguments.
3667 cat >confdef2opt.
sed <<\_ACEOF
3670 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3672 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3676 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3682 # We use echo to avoid assuming a particular line-breaking character.
3683 # The extra dot is to prevent the shell from consuming trailing
3684 # line-breaks from the sub-command output. A line-break within
3685 # single-quotes doesn't work because, if this script is created in a
3686 # platform that uses two characters for line-breaks (e.g., DOS), tr
3688 ac_LF_and_DOT=`echo; echo .
`
3689 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
3690 rm -f confdef2opt.sed
3695 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3696 # 1. Remove the extension, and $U if already installed.
3697 ac_i=`echo "$ac_i" |
3698 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3700 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3701 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3705 LTLIBOBJS=$ac_ltlibobjs
3709 : ${CONFIG_STATUS=./config.status}
3710 ac_clean_files_save=$ac_clean_files
3711 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3712 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3713 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3714 cat >$CONFIG_STATUS <<_ACEOF
3716 # Generated by $as_me.
3717 # Run this file to recreate the current configuration.
3718 # Compiler output produced by configure, useful for debugging
3719 # configure, is in config.log if it exists.
3724 SHELL=\${CONFIG_SHELL-$SHELL}
3727 cat >>$CONFIG_STATUS <<\_ACEOF
3728 ## --------------------- ##
3729 ## M4sh Initialization. ##
3730 ## --------------------- ##
3732 # Be Bourne compatible
3733 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3736 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3737 # is contrary to our usage. Disable this feature.
3738 alias -g '${1+"$@"}'='"$@"'
3739 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3742 DUALCASE=1; export DUALCASE # for MKS sh
3744 # Support unset when possible.
3745 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3752 # Work around bugs in pre-3.0 UWIN ksh.
3753 $as_unset ENV MAIL MAILPATH
3760 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3761 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3762 LC_TELEPHONE LC_TIME
3764 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
3765 eval $as_var=C; export $as_var
3771 # Required to use basename.
3772 if expr a : '\(a\)' >/dev/null 2>&1; then
3778 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3779 as_basename=basename
3785 # Name of the executable.
3786 as_me=`$as_basename "$0" ||
3787 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3788 X
"$0" : 'X\(//\)$' \| \
3789 X
"$0" : 'X\(/\)$' \| \
3790 .
: '\(.\)' 2>/dev
/null ||
3792 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3793 /^X\/\(\/\/\)$/{ s//\1/; q; }
3794 /^X\/\(\/\).*/{ s//\1/; q; }
3798 # PATH needs CR, and LINENO needs CR and PATH.
3799 # Avoid depending upon Character Ranges.
3800 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3801 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3802 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3803 as_cr_digits='0123456789'
3804 as_cr_alnum=$as_cr_Letters$as_cr_digits
3806 # The user is always right.
3807 if test "${PATH_SEPARATOR+set}" != set; then
3808 echo "#! /bin/sh" >conf$$.sh
3809 echo "exit 0" >>conf$$.sh
3811 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3822 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
3823 test "x$as_lineno_1" != "x$as_lineno_2" &&
3824 test "x$as_lineno_3" = "x$as_lineno_2" || {
3825 # Find who we are. Look in the path if we contain no path at all
3828 *[\\/]* ) as_myself=$0 ;;
3829 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3833 test -z "$as_dir" && as_dir=.
3834 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3839 # We did not find ourselves, most probably we were run as `sh COMMAND
'
3840 # in which case we are not to be found in the path.
3841 if test "x$as_myself" = x; then
3844 if test ! -f "$as_myself"; then
3845 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3846 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3847 { (exit 1); exit 1; }; }
3849 case $CONFIG_SHELL in
3851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3852 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3855 test -z "$as_dir" && as_dir=.
3856 for as_base in sh bash ksh sh5; do
3859 if ("$as_dir/$as_base" -c '
3862 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
3863 test "x$as_lineno_1" != "x$as_lineno_2" &&
3864 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3865 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3866 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3867 CONFIG_SHELL=$as_dir/$as_base
3869 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3877 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3878 # uniformly replaced by the line number. The first 'sed' inserts a
3879 # line-number line before each line; the second 'sed' does the real
3880 # work. The second script uses 'N
' to pair each line-number line
3881 # with the numbered line, and appends trailing '-' during
3882 # substitution so that $LINENO is not a special case at line end.
3883 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3884 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
3885 sed '=' <$as_myself |
3890 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3893 s,^['$as_cr_digits']*\n,,
3895 chmod +x
$as_me.lineno ||
3896 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3897 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3898 { (exit 1); exit 1; }; }
3900 # Don't try to exec as it changes $[0], causing all sort of problems
3901 # (the dirname of $[0] is not the place where we might find the
3902 # original and so on. Autoconf is especially sensible to this).
3904 # Exit status is that of the last command.
3909 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3910 *c
*,-n*) ECHO_N
= ECHO_C
='
3912 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
3913 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
3916 if expr a
: '\(a\)' >/dev
/null
2>&1; then
3922 rm -f conf$$ conf$$.exe conf$$.
file
3924 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3925 # We could just check for DJGPP; but this test a) works b) is more generic
3926 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3927 if test -f conf$$.exe
; then
3928 # Don't use ln at all; we don't have any links
3933 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3938 rm -f conf$$ conf$$.exe conf$$.
file
3940 if mkdir
-p .
2>/dev
/null
; then
3943 test -d .
/-p && rmdir .
/-p
3947 as_executable_p
="test -f"
3949 # Sed expression to map a string onto a valid CPP name.
3950 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3952 # Sed expression to map a string onto a valid variable name.
3953 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3957 # We need space, tab and new line, in precisely that order.
3967 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3968 # report actual input values of CONFIG_FILES etc. instead of their
3969 # values after options handling. Logging --version etc. is OK.
3973 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3974 ## Running $as_me. ##
3979 This file was extended by $as_me, which was
3980 generated by GNU Autoconf 2.59. Invocation command line was
3982 CONFIG_FILES = $CONFIG_FILES
3983 CONFIG_HEADERS = $CONFIG_HEADERS
3984 CONFIG_LINKS = $CONFIG_LINKS
3985 CONFIG_COMMANDS = $CONFIG_COMMANDS
3989 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3993 # Files that config.status was made for.
3994 if test -n "$ac_config_files"; then
3995 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3998 if test -n "$ac_config_headers"; then
3999 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4002 if test -n "$ac_config_links"; then
4003 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4006 if test -n "$ac_config_commands"; then
4007 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4010 cat >>$CONFIG_STATUS <<\_ACEOF
4013 \`$as_me' instantiates files from templates according to the
4014 current configuration.
4016 Usage: $0 [OPTIONS] [FILE]...
4018 -h, --help print this help, then exit
4019 -V, --version print version number, then exit
4020 -q, --quiet do not print progress messages
4021 -d, --debug don't remove temporary files
4022 --recheck update $as_me by reconfiguring in the same conditions
4023 --file=FILE[:TEMPLATE]
4024 instantiate the configuration file FILE
4026 Configuration files:
4029 Report bugs to <bug-autoconf@gnu.org>."
4032 cat >>$CONFIG_STATUS <<_ACEOF
4035 configured by $0, generated by GNU Autoconf 2.59,
4036 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4038 Copyright (C) 2003 Free Software Foundation, Inc.
4039 This config.status script is free software; the Free Software Foundation
4040 gives unlimited permission to copy, distribute and modify it."
4045 cat >>$CONFIG_STATUS <<\_ACEOF
4046 # If no file are specified by the user, then we need to provide default
4047 # value. By we need to know if files were specified by the user.
4053 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
4054 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
4062 *) # This is not an option, so the user has probably given explicit
4065 ac_need_defaults
=false
;;
4069 # Handling of the options.
4071 cat >>$CONFIG_STATUS <<\_ACEOF
4072 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4074 --version |
--vers* |
-V )
4075 echo "$ac_cs_version"; exit 0 ;;
4077 # Conflict between --help and --header
4078 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4079 Try \`$0 --help' for more information." >&5
4080 echo "$as_me: error: ambiguous option: $1
4081 Try \`$0 --help' for more information." >&2;}
4082 { (exit 1); exit 1; }; };;
4083 --help |
--hel |
-h )
4084 echo "$ac_cs_usage"; exit 0 ;;
4085 --debug |
--d* |
-d )
4087 --file |
--fil |
--fi |
--f )
4089 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
4090 ac_need_defaults
=false
;;
4091 --header |
--heade |
--head |
--hea )
4093 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
4094 ac_need_defaults
=false
;;
4095 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4096 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4100 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4101 Try \`$0 --help' for more information." >&5
4102 echo "$as_me: error: unrecognized option: $1
4103 Try \`$0 --help' for more information." >&2;}
4104 { (exit 1); exit 1; }; } ;;
4106 *) ac_config_targets
="$ac_config_targets $1" ;;
4112 ac_configure_extra_args
=
4114 if $ac_cs_silent; then
4116 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4120 cat >>$CONFIG_STATUS <<_ACEOF
4121 if \$ac_cs_recheck; then
4122 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4123 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4132 cat >>$CONFIG_STATUS <<\_ACEOF
4133 for ac_config_target
in $ac_config_targets
4135 case "$ac_config_target" in
4136 # Handling of arguments.
4137 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4138 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4139 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4140 { (exit 1); exit 1; }; };;
4144 # If the user did not use the arguments to specify the items to instantiate,
4145 # then the envvar interface is used. Set only those that are not.
4146 # We use the long form for the default assignment because of an extremely
4147 # bizarre bug on SunOS 4.1.3.
4148 if $ac_need_defaults; then
4149 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4152 # Have a temporary directory for convenience. Make it in the build tree
4153 # simply because there is no reason to put it here, and in addition,
4154 # creating and moving files from /tmp can sometimes cause problems.
4155 # Create a temporary directory, and hook for its removal unless debugging.
4158 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4159 trap '{ (exit 1); exit 1; }' 1 2 13 15
4162 # Create a (secure) tmp directory for tmp files.
4165 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4166 test -n "$tmp" && test -d "$tmp"
4169 tmp
=.
/confstat$$
-$RANDOM
4170 (umask 077 && mkdir
$tmp)
4173 echo "$me: cannot create a temporary directory in ." >&2
4174 { (exit 1); exit 1; }
4179 cat >>$CONFIG_STATUS <<_ACEOF
4182 # CONFIG_FILES section.
4185 # No need to generate the scripts if there are no CONFIG_FILES.
4186 # This happens for instance when ./config.status config.h
4187 if test -n "\$CONFIG_FILES"; then
4188 # Protect against being on the right side of a sed subst in config.status.
4189 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4190 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4191 s,@SHELL@,$SHELL,;t t
4192 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4193 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4194 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4195 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4196 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4197 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4198 s,@exec_prefix@,$exec_prefix,;t t
4199 s,@prefix@,$prefix,;t t
4200 s,@program_transform_name@,$program_transform_name,;t t
4201 s,@bindir@,$bindir,;t t
4202 s,@sbindir@,$sbindir,;t t
4203 s,@libexecdir@,$libexecdir,;t t
4204 s,@datadir@,$datadir,;t t
4205 s,@sysconfdir@,$sysconfdir,;t t
4206 s,@sharedstatedir@,$sharedstatedir,;t t
4207 s,@localstatedir@,$localstatedir,;t t
4208 s,@libdir@,$libdir,;t t
4209 s,@includedir@,$includedir,;t t
4210 s,@oldincludedir@,$oldincludedir,;t t
4211 s,@infodir@,$infodir,;t t
4212 s,@mandir@,$mandir,;t t
4213 s,@build_alias@,$build_alias,;t t
4214 s,@host_alias@,$host_alias,;t t
4215 s,@target_alias@,$target_alias,;t t
4217 s,@ECHO_C@,$ECHO_C,;t t
4218 s,@ECHO_N@,$ECHO_N,;t t
4219 s,@ECHO_T@,$ECHO_T,;t t
4222 s,@CFLAGS@,$CFLAGS,;t t
4223 s,@LDFLAGS@,$LDFLAGS,;t t
4224 s,@CPPFLAGS@,$CPPFLAGS,;t t
4225 s,@ac_ct_CC@,$ac_ct_CC,;t t
4226 s,@EXEEXT@,$EXEEXT,;t t
4227 s,@OBJEXT@,$OBJEXT,;t t
4228 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4229 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4230 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4232 s,@ac_ct_AR@,$ac_ct_AR,;t t
4233 s,@RANLIB@,$RANLIB,;t t
4234 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4235 s,@build@,$build,;t t
4236 s,@build_cpu@,$build_cpu,;t t
4237 s,@build_vendor@,$build_vendor,;t t
4238 s,@build_os@,$build_os,;t t
4240 s,@host_cpu@,$host_cpu,;t t
4241 s,@host_vendor@,$host_vendor,;t t
4242 s,@host_os@,$host_os,;t t
4243 s,@target@,$target,;t t
4244 s,@target_cpu@,$target_cpu,;t t
4245 s,@target_vendor@,$target_vendor,;t t
4246 s,@target_os@,$target_os,;t t
4247 s,@HDEFINES@,$HDEFINES,;t t
4248 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
4249 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
4250 s,@subdirs@,$subdirs,;t t
4251 s,@LIBOBJS@,$LIBOBJS,;t t
4252 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4257 cat >>$CONFIG_STATUS <<\_ACEOF
4258 # Split the substitutions into bite-sized pieces for seds with
4259 # small command number limits, like on Digital OSF/1 and HP-UX.
4261 ac_sed_frag
=1 # Number of current file.
4262 ac_beg
=1 # First line for current file.
4263 ac_end
=$ac_max_sed_lines # Line after last line for current file.
4266 while $ac_more_lines; do
4267 if test $ac_beg -gt 1; then
4268 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4270 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4272 if test ! -s $tmp/subs.frag
; then
4275 # The purpose of the label and of the branching condition is to
4276 # speed up the sed processing (if there are no `@' at all, there
4277 # is no need to browse any of the substitutions).
4278 # These are the two extra sed commands mentioned above.
4280 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
4281 if test -z "$ac_sed_cmds"; then
4282 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
4284 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4286 ac_sed_frag
=`expr $ac_sed_frag + 1`
4288 ac_end
=`expr $ac_end + $ac_max_sed_lines`
4291 if test -z "$ac_sed_cmds"; then
4294 fi # test -n "$CONFIG_FILES"
4297 cat >>$CONFIG_STATUS <<\_ACEOF
4298 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
4299 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4301 - |
*:- |
*:-:* ) # input from stdin
4303 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4304 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4305 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4306 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4307 * ) ac_file_in
=$ac_file.
in ;;
4310 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4311 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
4312 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4313 X"$ac_file" : 'X\(//\)[^/]' \| \
4314 X"$ac_file" : 'X\(//\)$' \| \
4315 X"$ac_file" : 'X\(/\)' \| \
4316 . : '\(.\)' 2>/dev/null ||
4318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4319 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4320 /^X\(\/\/\)$/{ s//\1/; q; }
4321 /^X\(\/\).*/{ s//\1/; q; }
4323 { if $as_mkdir_p; then
4328 while test ! -d "$as_dir"; do
4329 as_dirs
="$as_dir $as_dirs"
4330 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
4331 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4332 X"$as_dir" : 'X\(//\)[^/]' \| \
4333 X"$as_dir" : 'X\(//\)$' \| \
4334 X"$as_dir" : 'X\(/\)' \| \
4335 . : '\(.\)' 2>/dev/null ||
4337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4338 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4339 /^X\(\/\/\)$/{ s//\1/; q; }
4340 /^X\(\/\).*/{ s//\1/; q; }
4343 test ! -n "$as_dirs" || mkdir
$as_dirs
4344 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4345 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4346 { (exit 1); exit 1; }; }; }
4350 if test "$ac_dir" != .
; then
4351 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4352 # A "../" for each directory in $ac_dir_suffix.
4353 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4355 ac_dir_suffix
= ac_top_builddir
=
4359 .
) # No --srcdir option. We are building in place.
4361 if test -z "$ac_top_builddir"; then
4364 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
4366 [\\/]* | ?
:[\\/]* ) # Absolute path.
4367 ac_srcdir
=$srcdir$ac_dir_suffix;
4368 ac_top_srcdir
=$srcdir ;;
4370 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
4371 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
4374 # Do not use `cd foo && pwd` to compute absolute paths, because
4375 # the directories may not exist.
4377 .
) ac_abs_builddir
="$ac_dir";;
4380 .
) ac_abs_builddir
=`pwd`;;
4381 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
4382 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
4385 case $ac_abs_builddir in
4386 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4388 case ${ac_top_builddir}.
in
4389 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
4390 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4391 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
4394 case $ac_abs_builddir in
4395 .
) ac_abs_srcdir
=$ac_srcdir;;
4398 .
) ac_abs_srcdir
=$ac_abs_builddir;;
4399 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
4400 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
4403 case $ac_abs_builddir in
4404 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
4406 case $ac_top_srcdir in
4407 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
4408 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
4409 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
4415 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
4416 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
4419 if test x
"$ac_file" != x-
; then
4420 { echo "$as_me:$LINENO: creating $ac_file" >&5
4421 echo "$as_me: creating $ac_file" >&6;}
4424 # Let's still pretend it is `configure' which instantiates (i.e., don't
4425 # use $as_me), people would be surprised to read:
4426 # /* config.h. Generated by config.status. */
4427 if test x
"$ac_file" = x-
; then
4430 configure_input
="$ac_file. "
4432 configure_input
=$configure_input"Generated from `echo $ac_file_in |
4433 sed 's,.*/,,'` by configure."
4435 # First look for the input files in the build tree, otherwise in the
4437 ac_file_inputs
=`IFS=:
4438 for f in $ac_file_in; do
4440 -) echo $tmp/stdin ;;
4442 # Absolute (can't be DOS-style, as IFS=:)
4443 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4444 echo "$as_me: error: cannot find input file: $f" >&2;}
4445 { (exit 1); exit 1; }; }
4448 if test -f "$f"; then
4451 elif test -f "$srcdir/$f"; then
4456 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4457 echo "$as_me: error: cannot find input file: $f" >&2;}
4458 { (exit 1); exit 1; }; }
4461 done` ||
{ (exit 1); exit 1; }
4463 cat >>$CONFIG_STATUS <<_ACEOF
4467 cat >>$CONFIG_STATUS <<\_ACEOF
4469 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4470 s
,@configure_input@
,$configure_input,;t t
4471 s
,@srcdir@
,$ac_srcdir,;t t
4472 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
4473 s
,@top_srcdir@
,$ac_top_srcdir,;t t
4474 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
4475 s
,@builddir@
,$ac_builddir,;t t
4476 s
,@abs_builddir@
,$ac_abs_builddir,;t t
4477 s
,@top_builddir@
,$ac_top_builddir,;t t
4478 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
4479 s
,@INSTALL@
,$ac_INSTALL,;t t
4480 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4482 if test x"$ac_file" != x-; then
4483 mv $tmp/out $ac_file
4492 cat >>$CONFIG_STATUS <<\_ACEOF
4494 { (exit 0); exit 0; }
4496 chmod +x $CONFIG_STATUS
4497 ac_clean_files=$ac_clean_files_save
4500 # configure is writing to config.log, and then calls config.status.
4501 # config.status does its own redirection, appending to config.log.
4502 # Unfortunately, on DOS this fails, as config.log is still kept open
4503 # by configure, so config.status won't be able to write to it; its
4504 # output is simply discarded. So we exec the FD to /dev/null,
4505 # effectively closing config.log, so it can be properly (re)opened and
4506 # appended to by config.status. When coming back to configure, we
4507 # need to make the FD available again.
4508 if test "$no_create" != yes; then
4510 ac_config_status_args=
4511 test "$silent" = yes &&
4512 ac_config_status_args="$ac_config_status_args --quiet"
4514 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4516 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4517 # would make configure fail if this is the last instruction.
4518 $ac_cs_success || { (exit 1); exit 1; }
4522 # CONFIG_SUBDIRS section.
4524 if test "$no_recursion" != yes; then
4526 # Remove --cache-file and --srcdir arguments so they do not pile up.
4527 ac_sub_configure_args=
4529 for ac_arg in $ac_configure_args; do
4530 if test -n "$ac_prev"; then
4535 -cache-file | --cache-file | --cache-fil | --cache-fi \
4536 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
4537 ac_prev=cache_file ;;
4538 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
4539 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
4542 --config-cache | -C)
4544 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4546 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4548 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4550 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4552 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
4556 # Always prepend --prefix to ensure using the same prefix
4557 # in subdir configurations.
4558 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
4561 for ac_dir in : $subdirs; do test "x
$ac_dir" = x: && continue
4563 # Do not complain, so a configure script can configure whichever
4564 # parts of a large source tree are present.
4565 test -d $srcdir/$ac_dir || continue
4567 { echo "$as_me:$LINENO: configuring
in $ac_dir" >&5
4568 echo "$as_me: configuring
in $ac_dir" >&6;}
4569 { if $as_mkdir_p; then
4574 while test ! -d "$as_dir"; do
4575 as_dirs="$as_dir $as_dirs"
4576 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4577 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4578 X"$as_dir" : 'X\(//\)[^/]' \| \
4579 X"$as_dir" : 'X\(//\)$' \| \
4580 X"$as_dir" : 'X\(/\)' \| \
4581 . : '\(.\)' 2>/dev/null ||
4583 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4584 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4585 /^X\(\/\/\)$/{ s//\1/; q; }
4586 /^X\(\/\).*/{ s//\1/; q; }
4589 test ! -n "$as_dirs" || mkdir $as_dirs
4590 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
\"$ac_dir\"" >&5
4591 echo "$as_me: error
: cannot create directory
\"$ac_dir\"" >&2;}
4592 { (exit 1); exit 1; }; }; }
4596 if test "$ac_dir" != .; then
4597 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4598 # A "..
/" for each directory in $ac_dir_suffix.
4599 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4601 ac_dir_suffix= ac_top_builddir=
4605 .) # No --srcdir option. We are building in place.
4607 if test -z "$ac_top_builddir"; then
4610 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4612 [\\/]* | ?:[\\/]* ) # Absolute path.
4613 ac_srcdir=$srcdir$ac_dir_suffix;
4614 ac_top_srcdir=$srcdir ;;
4616 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4617 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4620 # Do not use `cd foo && pwd` to compute absolute paths, because
4621 # the directories may not exist.
4623 .) ac_abs_builddir="$ac_dir";;
4626 .) ac_abs_builddir=`pwd`;;
4627 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4628 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4631 case $ac_abs_builddir in
4632 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4634 case ${ac_top_builddir}. in
4635 .) ac_abs_top_builddir=$ac_abs_builddir;;
4636 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4637 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4640 case $ac_abs_builddir in
4641 .) ac_abs_srcdir=$ac_srcdir;;
4644 .) ac_abs_srcdir=$ac_abs_builddir;;
4645 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4646 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4649 case $ac_abs_builddir in
4650 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4652 case $ac_top_srcdir in
4653 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4654 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4655 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4662 # Check for guested configure; otherwise get Cygnus style configure.
4663 if test -f $ac_srcdir/configure.gnu; then
4664 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
4665 elif test -f $ac_srcdir/configure; then
4666 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
4667 elif test -f $ac_srcdir/configure.in; then
4668 ac_sub_configure=$ac_configure
4670 { echo "$as_me:$LINENO: WARNING
: no configuration information is
in $ac_dir" >&5
4671 echo "$as_me: WARNING
: no configuration information is
in $ac_dir" >&2;}
4675 # The recursion is here.
4676 if test -n "$ac_sub_configure"; then
4677 # Make the cache file name correct relative to the subdirectory.
4679 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
4681 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
4684 { echo "$as_me:$LINENO: running
$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
4685 echo "$as_me: running
$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4686 # The eval makes quoting arguments work.
4687 eval $ac_sub_configure $ac_sub_configure_args \
4688 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
4689 { { echo "$as_me:$LINENO: error
: $ac_sub_configure failed
for $ac_dir" >&5
4690 echo "$as_me: error
: $ac_sub_configure failed
for $ac_dir" >&2;}
4691 { (exit 1); exit 1; }; }