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 cr16"
277 ac_subdirs_all
="$ac_subdirs_all cris"
278 ac_subdirs_all
="$ac_subdirs_all d10v"
279 ac_subdirs_all
="$ac_subdirs_all frv"
280 ac_subdirs_all
="$ac_subdirs_all h8300"
281 ac_subdirs_all
="$ac_subdirs_all iq2000"
282 ac_subdirs_all
="$ac_subdirs_all m32c"
283 ac_subdirs_all
="$ac_subdirs_all m32r"
284 ac_subdirs_all
="$ac_subdirs_all m68hc11"
285 ac_subdirs_all
="$ac_subdirs_all mcore"
286 ac_subdirs_all
="$ac_subdirs_all mips"
287 ac_subdirs_all
="$ac_subdirs_all mn10300"
288 ac_subdirs_all
="$ac_subdirs_all sh64"
289 ac_subdirs_all
="$ac_subdirs_all sh"
290 ac_subdirs_all
="$ac_subdirs_all erc32"
291 ac_subdirs_all
="$ac_subdirs_all ppc"
292 ac_subdirs_all
="$ac_subdirs_all v850"
293 ac_subdirs_all
="$ac_subdirs_all testsuite"
294 ac_subdirs_all
="$ac_subdirs_all common"
295 ac_subdirs_all
="$ac_subdirs_all igen"
296 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'
299 # Initialize some variables set by options.
301 ac_init_version
=false
302 # The variables have the same names as the options, with
303 # dashes changed to underlines.
311 program_transform_name
=s
,x
,x
,
319 # Installation directory options.
320 # These are left unexpanded so users can "make install exec_prefix=/foo"
321 # and all the variables that are supposed to be based on exec_prefix
322 # by default will actually change.
323 # Use braces instead of parens because sh, perl, etc. also accept them.
324 bindir
='${exec_prefix}/bin'
325 sbindir
='${exec_prefix}/sbin'
326 libexecdir
='${exec_prefix}/libexec'
327 datadir
='${prefix}/share'
328 sysconfdir
='${prefix}/etc'
329 sharedstatedir
='${prefix}/com'
330 localstatedir
='${prefix}/var'
331 libdir
='${exec_prefix}/lib'
332 includedir
='${prefix}/include'
333 oldincludedir
='/usr/include'
334 infodir
='${prefix}/info'
335 mandir
='${prefix}/man'
340 # If the previous option needs an argument, assign it.
341 if test -n "$ac_prev"; then
342 eval "$ac_prev=\$ac_option"
347 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
349 # Accept the important Cygnus configure options, so we can diagnose typos.
353 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
355 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
358 -build |
--build |
--buil |
--bui |
--bu)
359 ac_prev
=build_alias
;;
360 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
361 build_alias
=$ac_optarg ;;
363 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
364 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
365 ac_prev
=cache_file
;;
366 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
367 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
368 cache_file
=$ac_optarg ;;
371 cache_file
=config.cache
;;
373 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
375 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
377 datadir
=$ac_optarg ;;
379 -disable-* |
--disable-*)
380 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
381 # Reject names that are not valid shell variable names.
382 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
383 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
384 { (exit 1); exit 1; }; }
385 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
386 eval "enable_$ac_feature=no" ;;
388 -enable-* |
--enable-*)
389 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
390 # Reject names that are not valid shell variable names.
391 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
392 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
393 { (exit 1); exit 1; }; }
394 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
396 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
399 eval "enable_$ac_feature='$ac_optarg'" ;;
401 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
402 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
403 |
--exec |
--exe |
--ex)
404 ac_prev
=exec_prefix
;;
405 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
406 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
407 |
--exec=* |
--exe=* |
--ex=*)
408 exec_prefix
=$ac_optarg ;;
410 -gas |
--gas |
--ga |
--g)
411 # Obsolete; use --with-gas.
414 -help |
--help |
--hel |
--he |
-h)
416 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
417 ac_init_help
=recursive
;;
418 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
419 ac_init_help
=short
;;
421 -host |
--host |
--hos |
--ho)
422 ac_prev
=host_alias
;;
423 -host=* |
--host=* |
--hos=* |
--ho=*)
424 host_alias
=$ac_optarg ;;
426 -includedir |
--includedir |
--includedi |
--included |
--include \
427 |
--includ |
--inclu |
--incl |
--inc)
428 ac_prev
=includedir
;;
429 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
430 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
431 includedir
=$ac_optarg ;;
433 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
435 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
436 infodir
=$ac_optarg ;;
438 -libdir |
--libdir |
--libdi |
--libd)
440 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
443 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
444 |
--libexe |
--libex |
--libe)
445 ac_prev
=libexecdir
;;
446 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
447 |
--libexe=* |
--libex=* |
--libe=*)
448 libexecdir
=$ac_optarg ;;
450 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
451 |
--localstate |
--localstat |
--localsta |
--localst \
452 |
--locals |
--local |
--loca |
--loc |
--lo)
453 ac_prev
=localstatedir
;;
454 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
455 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
456 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
457 localstatedir
=$ac_optarg ;;
459 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
461 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
465 # Obsolete; use --without-fp.
468 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
469 |
--no-cr |
--no-c |
-n)
472 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
473 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
476 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
477 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
478 |
--oldin |
--oldi |
--old |
--ol |
--o)
479 ac_prev
=oldincludedir
;;
480 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
481 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
482 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
483 oldincludedir
=$ac_optarg ;;
485 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
487 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
490 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
491 |
--program-pre |
--program-pr |
--program-p)
492 ac_prev
=program_prefix
;;
493 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
494 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
495 program_prefix
=$ac_optarg ;;
497 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
498 |
--program-suf |
--program-su |
--program-s)
499 ac_prev
=program_suffix
;;
500 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
501 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
502 program_suffix
=$ac_optarg ;;
504 -program-transform-name |
--program-transform-name \
505 |
--program-transform-nam |
--program-transform-na \
506 |
--program-transform-n |
--program-transform- \
507 |
--program-transform |
--program-transfor \
508 |
--program-transfo |
--program-transf \
509 |
--program-trans |
--program-tran \
510 |
--progr-tra |
--program-tr |
--program-t)
511 ac_prev
=program_transform_name
;;
512 -program-transform-name=* |
--program-transform-name=* \
513 |
--program-transform-nam=* |
--program-transform-na=* \
514 |
--program-transform-n=* |
--program-transform-=* \
515 |
--program-transform=* |
--program-transfor=* \
516 |
--program-transfo=* |
--program-transf=* \
517 |
--program-trans=* |
--program-tran=* \
518 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
519 program_transform_name
=$ac_optarg ;;
521 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
522 |
-silent |
--silent |
--silen |
--sile |
--sil)
525 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
527 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
529 sbindir
=$ac_optarg ;;
531 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
532 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
533 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
535 ac_prev
=sharedstatedir
;;
536 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
537 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
538 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
540 sharedstatedir
=$ac_optarg ;;
542 -site |
--site |
--sit)
544 -site=* |
--site=* |
--sit=*)
547 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
549 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
552 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
553 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
554 ac_prev
=sysconfdir
;;
555 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
556 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
557 sysconfdir
=$ac_optarg ;;
559 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
560 ac_prev
=target_alias
;;
561 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
562 target_alias
=$ac_optarg ;;
564 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
567 -version |
--version |
--versio |
--versi |
--vers |
-V)
571 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
572 # Reject names that are not valid shell variable names.
573 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
574 { echo "$as_me: error: invalid package name: $ac_package" >&2
575 { (exit 1); exit 1; }; }
576 ac_package
=`echo $ac_package| sed 's/-/_/g'`
578 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
581 eval "with_$ac_package='$ac_optarg'" ;;
583 -without-* |
--without-*)
584 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
585 # Reject names that are not valid shell variable names.
586 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
587 { echo "$as_me: error: invalid package name: $ac_package" >&2
588 { (exit 1); exit 1; }; }
589 ac_package
=`echo $ac_package | sed 's/-/_/g'`
590 eval "with_$ac_package=no" ;;
593 # Obsolete; use --with-x.
596 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
597 |
--x-incl |
--x-inc |
--x-in |
--x-i)
598 ac_prev
=x_includes
;;
599 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
600 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
601 x_includes
=$ac_optarg ;;
603 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
604 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
605 ac_prev
=x_libraries
;;
606 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
607 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
608 x_libraries
=$ac_optarg ;;
610 -*) { echo "$as_me: error: unrecognized option: $ac_option
611 Try \`$0 --help' for more information." >&2
612 { (exit 1); exit 1; }; }
616 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
617 # Reject names that are not valid shell variable names.
618 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
619 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
620 { (exit 1); exit 1; }; }
621 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
622 eval "$ac_envvar='$ac_optarg'"
626 # FIXME: should be removed in autoconf 3.0.
627 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
628 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
629 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
630 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
636 if test -n "$ac_prev"; then
637 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
638 { echo "$as_me: error: missing argument to $ac_option" >&2
639 { (exit 1); exit 1; }; }
642 # Be sure to have absolute paths.
643 for ac_var
in exec_prefix prefix
645 eval ac_val
=$
`echo $ac_var`
647 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
648 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
649 { (exit 1); exit 1; }; };;
653 # Be sure to have absolute paths.
654 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
655 localstatedir libdir includedir oldincludedir infodir mandir
657 eval ac_val
=$
`echo $ac_var`
659 [\\/$
]* | ?
:[\\/]* ) ;;
660 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
661 { (exit 1); exit 1; }; };;
665 # There might be people who depend on the old broken behavior: `$host'
666 # used to hold the argument of --host etc.
667 # FIXME: To remove some day.
672 # FIXME: To remove some day.
673 if test "x$host_alias" != x
; then
674 if test "x$build_alias" = x
; then
675 cross_compiling
=maybe
676 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
677 If a cross compiler is detected then cross compile mode will be used." >&2
678 elif test "x$build_alias" != "x$host_alias"; then
684 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
686 test "$silent" = yes && exec 6>/dev
/null
689 # Find the source files, if location was not specified.
690 if test -z "$srcdir"; then
691 ac_srcdir_defaulted
=yes
692 # Try the directory containing this script, then its parent.
693 ac_confdir
=`(dirname "$0") 2>/dev/null ||
694 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
695 X"$0" : 'X\(//\)[^/]' \| \
696 X"$0" : 'X\(//\)$' \| \
697 X"$0" : 'X\(/\)' \| \
698 . : '\(.\)' 2>/dev/null ||
700 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
701 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
702 /^X\(\/\/\)$/{ s//\1/; q; }
703 /^X\(\/\).*/{ s//\1/; q; }
706 if test ! -r $srcdir/$ac_unique_file; then
710 ac_srcdir_defaulted
=no
712 if test ! -r $srcdir/$ac_unique_file; then
713 if test "$ac_srcdir_defaulted" = yes; then
714 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
715 { (exit 1); exit 1; }; }
717 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
718 { (exit 1); exit 1; }; }
721 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
722 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
723 { (exit 1); exit 1; }; }
724 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
725 ac_env_build_alias_set
=${build_alias+set}
726 ac_env_build_alias_value
=$build_alias
727 ac_cv_env_build_alias_set
=${build_alias+set}
728 ac_cv_env_build_alias_value
=$build_alias
729 ac_env_host_alias_set
=${host_alias+set}
730 ac_env_host_alias_value
=$host_alias
731 ac_cv_env_host_alias_set
=${host_alias+set}
732 ac_cv_env_host_alias_value
=$host_alias
733 ac_env_target_alias_set
=${target_alias+set}
734 ac_env_target_alias_value
=$target_alias
735 ac_cv_env_target_alias_set
=${target_alias+set}
736 ac_cv_env_target_alias_value
=$target_alias
737 ac_env_CC_set
=${CC+set}
739 ac_cv_env_CC_set
=${CC+set}
740 ac_cv_env_CC_value
=$CC
741 ac_env_CFLAGS_set
=${CFLAGS+set}
742 ac_env_CFLAGS_value
=$CFLAGS
743 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
744 ac_cv_env_CFLAGS_value
=$CFLAGS
745 ac_env_LDFLAGS_set
=${LDFLAGS+set}
746 ac_env_LDFLAGS_value
=$LDFLAGS
747 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
748 ac_cv_env_LDFLAGS_value
=$LDFLAGS
749 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
750 ac_env_CPPFLAGS_value
=$CPPFLAGS
751 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
752 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
755 # Report the --help message.
757 if test "$ac_init_help" = "long"; then
758 # Omit some internal or obsolete options to make the list less imposing.
759 # This message is too long to be a string in the A/UX 3.1 sh.
761 \`configure' configures this package to adapt to many kinds of systems.
763 Usage: $0 [OPTION]... [VAR=VALUE]...
765 To assign environment variables (e.g., CC, CFLAGS...), specify them as
766 VAR=VALUE. See below for descriptions of some of the useful variables.
768 Defaults for the options are specified in brackets.
771 -h, --help display this help and exit
772 --help=short display options specific to this package
773 --help=recursive display the short help of all the included packages
774 -V, --version display version information and exit
775 -q, --quiet, --silent do not print \`checking...' messages
776 --cache-file=FILE cache test results in FILE [disabled]
777 -C, --config-cache alias for \`--cache-file=config.cache'
778 -n, --no-create do not create output files
779 --srcdir=DIR find the sources in DIR [configure dir or \`..']
784 Installation directories:
785 --prefix=PREFIX install architecture-independent files in PREFIX
787 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
790 By default, \`make install' will install all the files in
791 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
792 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
793 for instance \`--prefix=\$HOME'.
795 For better control, use the options below.
797 Fine tuning of the installation directories:
798 --bindir=DIR user executables [EPREFIX/bin]
799 --sbindir=DIR system admin executables [EPREFIX/sbin]
800 --libexecdir=DIR program executables [EPREFIX/libexec]
801 --datadir=DIR read-only architecture-independent data [PREFIX/share]
802 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
803 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
804 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
805 --libdir=DIR object code libraries [EPREFIX/lib]
806 --includedir=DIR C header files [PREFIX/include]
807 --oldincludedir=DIR C header files for non-gcc [/usr/include]
808 --infodir=DIR info documentation [PREFIX/info]
809 --mandir=DIR man documentation [PREFIX/man]
815 --program-prefix=PREFIX prepend PREFIX to installed program names
816 --program-suffix=SUFFIX append SUFFIX to installed program names
817 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
820 --build=BUILD configure
for building on BUILD
[guessed
]
821 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
822 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
826 if test -n "$ac_init_help"; then
831 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
832 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
835 Some influential environment variables
:
836 CC C compiler
command
837 CFLAGS C compiler flags
838 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
839 nonstandard directory
<lib dir
>
840 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
841 headers
in a nonstandard directory
<include dir
>
843 Use these variables to override the choices made by
`configure' or to help
844 it to find libraries and programs with nonstandard names/locations.
849 if test "$ac_init_help" = "recursive"; then
850 # If there are subdirs, report their specific --help.
852 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
853 test -d $ac_dir || continue
856 if test "$ac_dir" != .; then
857 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
858 # A "../" for each directory in $ac_dir_suffix.
859 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
861 ac_dir_suffix= ac_top_builddir=
865 .) # No --srcdir option. We are building in place.
867 if test -z "$ac_top_builddir"; then
870 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
872 [\\/]* | ?:[\\/]* ) # Absolute path.
873 ac_srcdir=$srcdir$ac_dir_suffix;
874 ac_top_srcdir=$srcdir ;;
876 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
877 ac_top_srcdir=$ac_top_builddir$srcdir ;;
880 # Do not use `cd foo
&& pwd` to compute absolute paths, because
881 # the directories may not exist.
883 .) ac_abs_builddir="$ac_dir";;
886 .) ac_abs_builddir=`pwd`;;
887 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
888 *) ac_abs_builddir=`pwd`/"$ac_dir";;
891 case $ac_abs_builddir in
892 .) ac_abs_top_builddir=${ac_top_builddir}.;;
894 case ${ac_top_builddir}. in
895 .) ac_abs_top_builddir=$ac_abs_builddir;;
896 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
897 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
900 case $ac_abs_builddir in
901 .) ac_abs_srcdir=$ac_srcdir;;
904 .) ac_abs_srcdir=$ac_abs_builddir;;
905 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
906 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
909 case $ac_abs_builddir in
910 .) ac_abs_top_srcdir=$ac_top_srcdir;;
912 case $ac_top_srcdir in
913 .) ac_abs_top_srcdir=$ac_abs_builddir;;
914 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
915 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
920 # Check for guested configure; otherwise get Cygnus style configure.
921 if test -f $ac_srcdir/configure.gnu; then
923 $SHELL $ac_srcdir/configure.gnu --help=recursive
924 elif test -f $ac_srcdir/configure; then
926 $SHELL $ac_srcdir/configure --help=recursive
927 elif test -f $ac_srcdir/configure.ac ||
928 test -f $ac_srcdir/configure.in; then
932 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
938 test -n "$ac_init_help" && exit 0
939 if $ac_init_version; then
942 Copyright (C) 2003 Free Software Foundation, Inc.
943 This configure script is free software; the Free Software Foundation
944 gives unlimited permission to copy, distribute and modify it.
950 This file contains any messages produced by compilers while
951 running configure, to aid debugging if configure makes a mistake.
953 It was created by $as_me, which was
954 generated by GNU Autoconf 2.59. Invocation command line was
965 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
966 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
967 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
968 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
969 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
971 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
972 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
974 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
975 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
976 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
977 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
978 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
979 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
980 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
988 test -z "$as_dir" && as_dir=.
1004 # Keep a trace of the command line.
1005 # Strip out --no-create and --no-recursion so they do not pile up.
1006 # Strip out --silent because we don't want to record it for future runs.
1007 # Also quote any args containing shell meta-characters.
1008 # Make two passes to allow for proper duplicate-argument suppression.
1013 ac_must_keep_next=false
1019 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1020 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1021 | -silent | --silent | --silen | --sile | --sil)
1023 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1024 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1027 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1029 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1030 if test $ac_must_keep_next = true; then
1031 ac_must_keep_next=false # Got value, back to normal.
1034 *=* | --config-cache | -C | -disable-* | --disable-* \
1035 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1036 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1037 | -with-* | --with-* | -without-* | --without-* | --x)
1038 case "$ac_configure_args0 " in
1039 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1042 -* ) ac_must_keep_next=true ;;
1045 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1046 # Get rid of the leading space.
1052 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1053 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1055 # When interrupted or exit'd, cleanup temporary files, and complete
1056 # config.log. We remove comments because anyway the quotes in there
1057 # would cause problems or look ugly.
1058 # WARNING: Be sure not to use single quotes in there, as some shells,
1059 # such as our DU 5.0 friend, will then `close
' the trap.
1060 trap 'exit_status
=$?
1061 # Save into config.log some information that might help in debugging.
1066 ## ---------------- ##
1067 ## Cache variables. ##
1068 ## ---------------- ##
1071 # The following way of writing the cache mishandles newlines in values,
1074 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1077 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1078 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1082 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1089 ## ----------------- ##
1090 ## Output variables. ##
1091 ## ----------------- ##
1094 for ac_var
in $ac_subst_vars
1096 eval ac_val
=$
`echo $ac_var`
1097 echo "$ac_var='"'"'$ac_val'"'"'"
1101 if test -n "$ac_subst_files"; then
1108 for ac_var
in $ac_subst_files
1110 eval ac_val
=$
`echo $ac_var`
1111 echo "$ac_var='"'"'$ac_val'"'"'"
1116 if test -s confdefs.h
; then
1123 sed "/^$/d" confdefs.h |
sort
1126 test "$ac_signal" != 0 &&
1127 echo "$as_me: caught signal $ac_signal"
1128 echo "$as_me: exit $exit_status"
1130 rm -f core
*.core
&&
1131 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1134 for ac_signal in 1 2 13 15; do
1135 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1139 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1140 rm -rf conftest* confdefs.h
1141 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1144 # Predefined preprocessor variables.
1146 cat >>confdefs.h <<_ACEOF
1147 #define PACKAGE_NAME "$PACKAGE_NAME"
1151 cat >>confdefs.h <<_ACEOF
1152 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1156 cat >>confdefs.h <<_ACEOF
1157 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1161 cat >>confdefs.h <<_ACEOF
1162 #define PACKAGE_STRING "$PACKAGE_STRING"
1166 cat >>confdefs.h <<_ACEOF
1167 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1171 # Let the site file select an alternate cache file if it wants to.
1172 # Prefer explicitly selected file to automatically selected ones.
1173 if test -z "$CONFIG_SITE"; then
1174 if test "x$prefix" != xNONE; then
1175 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1177 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1180 for ac_site_file in $CONFIG_SITE; do
1181 if test -r "$ac_site_file"; then
1182 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1183 echo "$as_me: loading site script $ac_site_file" >&6;}
1184 sed 's
/^
/|
/' "$ac_site_file" >&5
1189 if test -r "$cache_file"; then
1190 # Some versions of bash will fail to source /dev/null (special
1191 # files actually), so we avoid doing that.
1192 if test -f "$cache_file"; then
1193 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1194 echo "$as_me: loading cache $cache_file" >&6;}
1196 [\\/]* | ?:[\\/]* ) . $cache_file;;
1197 *) . ./$cache_file;;
1201 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1202 echo "$as_me: creating cache $cache_file" >&6;}
1206 # Check that the precious variables saved in the cache have kept the same
1208 ac_cache_corrupted=false
1209 for ac_var in `(set) 2>&1 |
1210 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1211 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1212 eval ac_new_set=\$ac_env_${ac_var}_set
1213 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1214 eval ac_new_val="\$ac_env_${ac_var}_value"
1215 case $ac_old_set,$ac_new_set in
1217 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1218 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1219 ac_cache_corrupted=: ;;
1221 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1222 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1223 ac_cache_corrupted=: ;;
1226 if test "x$ac_old_val" != "x$ac_new_val"; then
1227 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1228 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1229 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1230 echo "$as_me: former value: $ac_old_val" >&2;}
1231 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1232 echo "$as_me: current value: $ac_new_val" >&2;}
1233 ac_cache_corrupted=:
1236 # Pass precious variables to config.status.
1237 if test "$ac_new_set" = set; then
1239 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1240 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1241 *) ac_arg=$ac_var=$ac_new_val ;;
1243 case " $ac_configure_args " in
1244 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1245 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1249 if $ac_cache_corrupted; then
1250 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1251 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1252 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1253 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1254 { (exit 1); exit 1; }; }
1258 ac_cpp='$CPP $CPPFLAGS'
1259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1260 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1283 ac_cpp='$CPP $CPPFLAGS'
1284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1285 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1287 if test -n "$ac_tool_prefix"; then
1288 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1289 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1290 echo "$as_me:$LINENO: checking for $ac_word" >&5
1291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1292 if test "${ac_cv_prog_CC+set}" = set; then
1293 echo $ECHO_N "(cached) $ECHO_C" >&6
1295 if test -n "$CC"; then
1296 ac_cv_prog_CC="$CC" # Let the user override the test.
1298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1302 test -z "$as_dir" && as_dir=.
1303 for ac_exec_ext in '' $ac_executable_extensions; do
1304 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1305 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1315 if test -n "$CC"; then
1316 echo "$as_me:$LINENO: result: $CC" >&5
1317 echo "${ECHO_T}$CC" >&6
1319 echo "$as_me:$LINENO: result: no" >&5
1320 echo "${ECHO_T}no" >&6
1324 if test -z "$ac_cv_prog_CC"; then
1326 # Extract the first word of "gcc", so it can be a program name with args.
1327 set dummy gcc; ac_word=$2
1328 echo "$as_me:$LINENO: checking for $ac_word" >&5
1329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1330 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1331 echo $ECHO_N "(cached) $ECHO_C" >&6
1333 if test -n "$ac_ct_CC"; then
1334 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1340 test -z "$as_dir" && as_dir=.
1341 for ac_exec_ext in '' $ac_executable_extensions; do
1342 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1343 ac_cv_prog_ac_ct_CC="gcc"
1344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1352 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1353 if test -n "$ac_ct_CC"; then
1354 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1355 echo "${ECHO_T}$ac_ct_CC" >&6
1357 echo "$as_me:$LINENO: result: no" >&5
1358 echo "${ECHO_T}no" >&6
1366 if test -z "$CC"; then
1367 if test -n "$ac_tool_prefix"; then
1368 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1369 set dummy ${ac_tool_prefix}cc; ac_word=$2
1370 echo "$as_me:$LINENO: checking for $ac_word" >&5
1371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1372 if test "${ac_cv_prog_CC+set}" = set; then
1373 echo $ECHO_N "(cached) $ECHO_C" >&6
1375 if test -n "$CC"; then
1376 ac_cv_prog_CC="$CC" # Let the user override the test.
1378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1382 test -z "$as_dir" && as_dir=.
1383 for ac_exec_ext in '' $ac_executable_extensions; do
1384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1385 ac_cv_prog_CC="${ac_tool_prefix}cc"
1386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1395 if test -n "$CC"; then
1396 echo "$as_me:$LINENO: result: $CC" >&5
1397 echo "${ECHO_T}$CC" >&6
1399 echo "$as_me:$LINENO: result: no" >&5
1400 echo "${ECHO_T}no" >&6
1404 if test -z "$ac_cv_prog_CC"; then
1406 # Extract the first word of "cc", so it can be a program name with args.
1407 set dummy cc; ac_word=$2
1408 echo "$as_me:$LINENO: checking for $ac_word" >&5
1409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1410 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1411 echo $ECHO_N "(cached) $ECHO_C" >&6
1413 if test -n "$ac_ct_CC"; then
1414 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1420 test -z "$as_dir" && as_dir=.
1421 for ac_exec_ext in '' $ac_executable_extensions; do
1422 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1423 ac_cv_prog_ac_ct_CC="cc"
1424 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1432 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1433 if test -n "$ac_ct_CC"; then
1434 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1435 echo "${ECHO_T}$ac_ct_CC" >&6
1437 echo "$as_me:$LINENO: result: no" >&5
1438 echo "${ECHO_T}no" >&6
1447 if test -z "$CC"; then
1448 # Extract the first word of "cc", so it can be a program name with args.
1449 set dummy cc; ac_word=$2
1450 echo "$as_me:$LINENO: checking for $ac_word" >&5
1451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1452 if test "${ac_cv_prog_CC+set}" = set; then
1453 echo $ECHO_N "(cached) $ECHO_C" >&6
1455 if test -n "$CC"; then
1456 ac_cv_prog_CC="$CC" # Let the user override the test.
1459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1463 test -z "$as_dir" && as_dir=.
1464 for ac_exec_ext in '' $ac_executable_extensions; do
1465 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1466 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1467 ac_prog_rejected=yes
1471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1477 if test $ac_prog_rejected = yes; then
1478 # We found a bogon in the path, so make sure we never use it.
1479 set dummy $ac_cv_prog_CC
1481 if test $# != 0; then
1482 # We chose a different compiler from the bogus one.
1483 # However, it has the same basename, so the bogon will be chosen
1484 # first if we set CC to just the basename; use the full file name.
1486 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1492 if test -n "$CC"; then
1493 echo "$as_me:$LINENO: result: $CC" >&5
1494 echo "${ECHO_T}$CC" >&6
1496 echo "$as_me:$LINENO: result: no" >&5
1497 echo "${ECHO_T}no" >&6
1501 if test -z "$CC"; then
1502 if test -n "$ac_tool_prefix"; then
1505 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1506 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1507 echo "$as_me:$LINENO: checking for $ac_word" >&5
1508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1509 if test "${ac_cv_prog_CC+set}" = set; then
1510 echo $ECHO_N "(cached) $ECHO_C" >&6
1512 if test -n "$CC"; then
1513 ac_cv_prog_CC="$CC" # Let the user override the test.
1515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1519 test -z "$as_dir" && as_dir=.
1520 for ac_exec_ext in '' $ac_executable_extensions; do
1521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1522 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1532 if test -n "$CC"; then
1533 echo "$as_me:$LINENO: result: $CC" >&5
1534 echo "${ECHO_T}$CC" >&6
1536 echo "$as_me:$LINENO: result: no" >&5
1537 echo "${ECHO_T}no" >&6
1540 test -n "$CC" && break
1543 if test -z "$CC"; then
1547 # Extract the first word of "$ac_prog", so it can be a program name with args.
1548 set dummy $ac_prog; ac_word=$2
1549 echo "$as_me:$LINENO: checking for $ac_word" >&5
1550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1551 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1552 echo $ECHO_N "(cached) $ECHO_C" >&6
1554 if test -n "$ac_ct_CC"; then
1555 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1561 test -z "$as_dir" && as_dir=.
1562 for ac_exec_ext in '' $ac_executable_extensions; do
1563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1564 ac_cv_prog_ac_ct_CC="$ac_prog"
1565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1573 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1574 if test -n "$ac_ct_CC"; then
1575 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1576 echo "${ECHO_T}$ac_ct_CC" >&6
1578 echo "$as_me:$LINENO: result: no" >&5
1579 echo "${ECHO_T}no" >&6
1582 test -n "$ac_ct_CC" && break
1591 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1592 See \`config.log' for more details.
" >&5
1593 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1594 See \
`config.log' for more details." >&2;}
1595 { (exit 1); exit 1; }; }
1597 # Provide some information about the compiler.
1598 echo "$as_me:$LINENO:" \
1599 "checking for C compiler version" >&5
1600 ac_compiler=`set X
$ac_compile; echo $2`
1601 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1602 (eval $ac_compiler --version </dev/null >&5) 2>&5
1604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1605 (exit $ac_status); }
1606 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1607 (eval $ac_compiler -v </dev/null >&5) 2>&5
1609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1610 (exit $ac_status); }
1611 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1612 (eval $ac_compiler -V </dev/null >&5) 2>&5
1614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1615 (exit $ac_status); }
1617 cat >conftest.$ac_ext <<_ACEOF
1620 cat confdefs.h >>conftest.$ac_ext
1621 cat >>conftest.$ac_ext <<_ACEOF
1622 /* end confdefs.h. */
1632 ac_clean_files_save=$ac_clean_files
1633 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1634 # Try to create an executable without -o first, disregard a.out.
1635 # It will help us diagnose broken compilers, and finding out an intuition
1637 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1638 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1639 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1640 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1641 (eval $ac_link_default) 2>&5
1643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1644 (exit $ac_status); }; then
1645 # Find the output, starting from the most likely. This scheme is
1646 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1649 # Be careful to initialize this variable, since it used to be cached.
1650 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1652 # b.out is created by i960 compilers.
1653 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1655 test -f "$ac_file" || continue
1657 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1660 # This is the source file.
1663 # We found the default executable, but exeext='' is most
1667 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1668 # FIXME: I believe we export ac_cv_exeext for Libtool,
1669 # but it would be cool to find out if it's true. Does anybody
1670 # maintain Libtool? --akim.
1678 echo "$as_me: failed program was:" >&5
1679 sed 's/^/| /' conftest.$ac_ext >&5
1681 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1682 See \`config.log
' for more details." >&5
1683 echo "$as_me: error: C compiler cannot create executables
1684 See \`config.log' for more details.
" >&2;}
1685 { (exit 77); exit 77; }; }
1688 ac_exeext=$ac_cv_exeext
1689 echo "$as_me:$LINENO: result
: $ac_file" >&5
1690 echo "${ECHO_T}$ac_file" >&6
1692 # Check the compiler produces executables we can run. If not, either
1693 # the compiler is broken, or we cross compile.
1694 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1695 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1696 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1697 # If not cross compiling, check that we can run a simple program.
1698 if test "$cross_compiling" != yes; then
1699 if { ac_try='./$ac_file'
1700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1703 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1704 (exit $ac_status); }; }; then
1707 if test "$cross_compiling" = maybe; then
1710 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1711 If you meant to cross compile
, use \
`--host'.
1712 See \`config.log
' for more details." >&5
1713 echo "$as_me: error: cannot run C compiled programs.
1714 If you meant to cross compile, use \`--host'.
1715 See \
`config.log' for more details." >&2;}
1716 { (exit 1); exit 1; }; }
1720 echo "$as_me:$LINENO: result: yes" >&5
1721 echo "${ECHO_T}yes" >&6
1723 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1724 ac_clean_files=$ac_clean_files_save
1725 # Check the compiler produces executables we can run. If not, either
1726 # the compiler is broken, or we cross compile.
1727 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1728 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1729 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1730 echo "${ECHO_T}$cross_compiling" >&6
1732 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1733 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1735 (eval $ac_link) 2>&5
1737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1738 (exit $ac_status); }; then
1739 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1740 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1741 # work properly (i.e., refer to `conftest.exe'), while it won't with
1743 for ac_file
in conftest.exe conftest conftest.
*; do
1744 test -f "$ac_file" ||
continue
1746 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1747 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1754 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1755 See \`config.log' for more details." >&5
1756 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1757 See \`config.log' for more details." >&2;}
1758 { (exit 1); exit 1; }; }
1761 rm -f conftest
$ac_cv_exeext
1762 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1763 echo "${ECHO_T}$ac_cv_exeext" >&6
1765 rm -f conftest.
$ac_ext
1766 EXEEXT
=$ac_cv_exeext
1768 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1769 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1770 if test "${ac_cv_objext+set}" = set; then
1771 echo $ECHO_N "(cached) $ECHO_C" >&6
1773 cat >conftest.
$ac_ext <<_ACEOF
1776 cat confdefs.h
>>conftest.
$ac_ext
1777 cat >>conftest.
$ac_ext <<_ACEOF
1778 /* end confdefs.h. */
1788 rm -f conftest.o conftest.obj
1789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1790 (eval $ac_compile) 2>&5
1792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1793 (exit $ac_status); }; then
1794 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1796 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1797 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1802 echo "$as_me: failed program was:" >&5
1803 sed 's/^/| /' conftest.
$ac_ext >&5
1805 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1806 See \`config.log' for more details." >&5
1807 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1808 See \`config.log' for more details." >&2;}
1809 { (exit 1); exit 1; }; }
1812 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1814 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1815 echo "${ECHO_T}$ac_cv_objext" >&6
1816 OBJEXT
=$ac_cv_objext
1818 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1819 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1820 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1821 echo $ECHO_N "(cached) $ECHO_C" >&6
1823 cat >conftest.
$ac_ext <<_ACEOF
1826 cat confdefs.h
>>conftest.
$ac_ext
1827 cat >>conftest.
$ac_ext <<_ACEOF
1828 /* end confdefs.h. */
1841 rm -f conftest.
$ac_objext
1842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1843 (eval $ac_compile) 2>conftest.er1
1845 grep -v '^ *+' conftest.er1
>conftest.err
1847 cat conftest.err
>&5
1848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1849 (exit $ac_status); } &&
1850 { ac_try
='test -z "$ac_c_werror_flag"
1851 || test ! -s conftest.err'
1852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1856 (exit $ac_status); }; } &&
1857 { ac_try
='test -s conftest.$ac_objext'
1858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1862 (exit $ac_status); }; }; then
1865 echo "$as_me: failed program was:" >&5
1866 sed 's/^/| /' conftest.
$ac_ext >&5
1870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1871 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1874 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1875 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1876 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1877 ac_test_CFLAGS
=${CFLAGS+set}
1878 ac_save_CFLAGS
=$CFLAGS
1880 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1881 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1882 if test "${ac_cv_prog_cc_g+set}" = set; then
1883 echo $ECHO_N "(cached) $ECHO_C" >&6
1885 cat >conftest.
$ac_ext <<_ACEOF
1888 cat confdefs.h
>>conftest.
$ac_ext
1889 cat >>conftest.
$ac_ext <<_ACEOF
1890 /* end confdefs.h. */
1900 rm -f conftest.
$ac_objext
1901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1902 (eval $ac_compile) 2>conftest.er1
1904 grep -v '^ *+' conftest.er1
>conftest.err
1906 cat conftest.err
>&5
1907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1908 (exit $ac_status); } &&
1909 { ac_try
='test -z "$ac_c_werror_flag"
1910 || test ! -s conftest.err'
1911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1915 (exit $ac_status); }; } &&
1916 { ac_try
='test -s conftest.$ac_objext'
1917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1921 (exit $ac_status); }; }; then
1924 echo "$as_me: failed program was:" >&5
1925 sed 's/^/| /' conftest.
$ac_ext >&5
1929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1931 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1932 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1933 if test "$ac_test_CFLAGS" = set; then
1934 CFLAGS
=$ac_save_CFLAGS
1935 elif test $ac_cv_prog_cc_g = yes; then
1936 if test "$GCC" = yes; then
1942 if test "$GCC" = yes; then
1948 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1949 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1950 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1951 echo $ECHO_N "(cached) $ECHO_C" >&6
1953 ac_cv_prog_cc_stdc
=no
1955 cat >conftest.
$ac_ext <<_ACEOF
1958 cat confdefs.h
>>conftest.
$ac_ext
1959 cat >>conftest.
$ac_ext <<_ACEOF
1960 /* end confdefs.h. */
1963 #include <sys/types.h>
1964 #include <sys/stat.h>
1965 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1966 struct buf { int x; };
1967 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1968 static char *e (p, i)
1974 static char *f (char * (*g) (char **, int), char **p, ...)
1979 s = g (p, va_arg (v,int));
1984 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1985 function prototypes and stuff, but not '\xHH' hex character constants.
1986 These don't provoke an error unfortunately, instead are silently treated
1987 as 'x'. The following induces an error, until -std1 is added to get
1988 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1989 array size at least. It's necessary to write '\x00'==0 to get something
1990 that's true only with -std1. */
1991 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1993 int test (int i, double x);
1994 struct s1 {int (*f) (int a);};
1995 struct s2 {int (*f) (double a);};
1996 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2002 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2007 # Don't try gcc -ansi; that turns off useful extensions and
2008 # breaks some systems' header files.
2009 # AIX -qlanglvl=ansi
2010 # Ultrix and OSF/1 -std1
2011 # HP-UX 10.20 and later -Ae
2012 # HP-UX older versions -Aa -D_HPUX_SOURCE
2013 # SVR4 -Xc -D__EXTENSIONS__
2014 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2016 CC
="$ac_save_CC $ac_arg"
2017 rm -f conftest.
$ac_objext
2018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2019 (eval $ac_compile) 2>conftest.er1
2021 grep -v '^ *+' conftest.er1
>conftest.err
2023 cat conftest.err
>&5
2024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2025 (exit $ac_status); } &&
2026 { ac_try
='test -z "$ac_c_werror_flag"
2027 || test ! -s conftest.err'
2028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2032 (exit $ac_status); }; } &&
2033 { ac_try
='test -s conftest.$ac_objext'
2034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2038 (exit $ac_status); }; }; then
2039 ac_cv_prog_cc_stdc
=$ac_arg
2042 echo "$as_me: failed program was:" >&5
2043 sed 's/^/| /' conftest.
$ac_ext >&5
2046 rm -f conftest.err conftest.
$ac_objext
2048 rm -f conftest.
$ac_ext conftest.
$ac_objext
2053 case "x$ac_cv_prog_cc_stdc" in
2055 echo "$as_me:$LINENO: result: none needed" >&5
2056 echo "${ECHO_T}none needed" >&6 ;;
2058 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2059 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2060 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2063 # Some people use a C++ compiler to compile C. Since we use `exit',
2064 # in C++ we need to declare it. In case someone uses the same compiler
2065 # for both compiling C and C++ we need to have the C++ compiler decide
2066 # the declaration of exit, since it's the most demanding environment.
2067 cat >conftest.
$ac_ext <<_ACEOF
2072 rm -f conftest.
$ac_objext
2073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2074 (eval $ac_compile) 2>conftest.er1
2076 grep -v '^ *+' conftest.er1
>conftest.err
2078 cat conftest.err
>&5
2079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2080 (exit $ac_status); } &&
2081 { ac_try
='test -z "$ac_c_werror_flag"
2082 || test ! -s conftest.err'
2083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2087 (exit $ac_status); }; } &&
2088 { ac_try
='test -s conftest.$ac_objext'
2089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2093 (exit $ac_status); }; }; then
2094 for ac_declaration
in \
2096 'extern "C" void std::exit (int) throw (); using std::exit;' \
2097 'extern "C" void std::exit (int); using std::exit;' \
2098 'extern "C" void exit (int) throw ();' \
2099 'extern "C" void exit (int);' \
2102 cat >conftest.
$ac_ext <<_ACEOF
2105 cat confdefs.h
>>conftest.
$ac_ext
2106 cat >>conftest.
$ac_ext <<_ACEOF
2107 /* end confdefs.h. */
2118 rm -f conftest.
$ac_objext
2119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2120 (eval $ac_compile) 2>conftest.er1
2122 grep -v '^ *+' conftest.er1
>conftest.err
2124 cat conftest.err
>&5
2125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2126 (exit $ac_status); } &&
2127 { ac_try
='test -z "$ac_c_werror_flag"
2128 || test ! -s conftest.err'
2129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2133 (exit $ac_status); }; } &&
2134 { ac_try
='test -s conftest.$ac_objext'
2135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2139 (exit $ac_status); }; }; then
2142 echo "$as_me: failed program was:" >&5
2143 sed 's/^/| /' conftest.
$ac_ext >&5
2147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2148 cat >conftest.
$ac_ext <<_ACEOF
2151 cat confdefs.h
>>conftest.
$ac_ext
2152 cat >>conftest.
$ac_ext <<_ACEOF
2153 /* end confdefs.h. */
2163 rm -f conftest.
$ac_objext
2164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2165 (eval $ac_compile) 2>conftest.er1
2167 grep -v '^ *+' conftest.er1
>conftest.err
2169 cat conftest.err
>&5
2170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2171 (exit $ac_status); } &&
2172 { ac_try
='test -z "$ac_c_werror_flag"
2173 || test ! -s conftest.err'
2174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2178 (exit $ac_status); }; } &&
2179 { ac_try
='test -s conftest.$ac_objext'
2180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2184 (exit $ac_status); }; }; then
2187 echo "$as_me: failed program was:" >&5
2188 sed 's/^/| /' conftest.
$ac_ext >&5
2191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2194 if test -n "$ac_declaration"; then
2195 echo '#ifdef __cplusplus' >>confdefs.h
2196 echo $ac_declaration >>confdefs.h
2197 echo '#endif' >>confdefs.h
2201 echo "$as_me: failed program was:" >&5
2202 sed 's/^/| /' conftest.
$ac_ext >&5
2205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2207 ac_cpp
='$CPP $CPPFLAGS'
2208 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2209 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2210 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2213 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
2214 if test -f $ac_dir/install-sh
; then
2216 ac_install_sh
="$ac_aux_dir/install-sh -c"
2218 elif test -f $ac_dir/install.sh
; then
2220 ac_install_sh
="$ac_aux_dir/install.sh -c"
2222 elif test -f $ac_dir/shtool
; then
2224 ac_install_sh
="$ac_aux_dir/shtool install -c"
2228 if test -z "$ac_aux_dir"; then
2229 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2230 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2231 { (exit 1); exit 1; }; }
2233 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
2234 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
2235 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2237 # Find a good install program. We prefer a C program (faster),
2238 # so one script is as good as another. But avoid the broken or
2239 # incompatible versions:
2240 # SysV /etc/install, /usr/sbin/install
2241 # SunOS /usr/etc/install
2242 # IRIX /sbin/install
2244 # AmigaOS /C/install, which installs bootblocks on floppy discs
2245 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2246 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2247 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2248 # OS/2's system install, which has a completely different semantic
2249 # ./install, which can be erroneously created by make from ./install.sh.
2250 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2251 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2252 if test -z "$INSTALL"; then
2253 if test "${ac_cv_path_install+set}" = set; then
2254 echo $ECHO_N "(cached) $ECHO_C" >&6
2256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2260 test -z "$as_dir" && as_dir
=.
2261 # Account for people who put trailing slashes in PATH elements.
2263 .
/ | .
// |
/cC
/* | \
2264 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2265 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2268 # OSF1 and SCO ODT 3.0 have their own names for install.
2269 # Don't use installbsd from OSF since it installs stuff as root
2271 for ac_prog
in ginstall scoinst
install; do
2272 for ac_exec_ext
in '' $ac_executable_extensions; do
2273 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2274 if test $ac_prog = install &&
2275 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2276 # AIX install. It has an incompatible calling convention.
2278 elif test $ac_prog = install &&
2279 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2280 # program-specific install script used by HP pwplus--don't use.
2283 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2295 if test "${ac_cv_path_install+set}" = set; then
2296 INSTALL
=$ac_cv_path_install
2298 # As a last resort, use the slow shell script. We don't cache a
2299 # path for INSTALL within a source directory, because that will
2300 # break other packages using the cache if that directory is
2301 # removed, or if the path is relative.
2302 INSTALL
=$ac_install_sh
2305 echo "$as_me:$LINENO: result: $INSTALL" >&5
2306 echo "${ECHO_T}$INSTALL" >&6
2308 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2309 # It thinks the first close brace ends the variable substitution.
2310 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2312 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2314 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2316 if test -n "$ac_tool_prefix"; then
2317 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2318 set dummy
${ac_tool_prefix}ar; ac_word
=$2
2319 echo "$as_me:$LINENO: checking for $ac_word" >&5
2320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2321 if test "${ac_cv_prog_AR+set}" = set; then
2322 echo $ECHO_N "(cached) $ECHO_C" >&6
2324 if test -n "$AR"; then
2325 ac_cv_prog_AR
="$AR" # Let the user override the test.
2327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2331 test -z "$as_dir" && as_dir
=.
2332 for ac_exec_ext
in '' $ac_executable_extensions; do
2333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2334 ac_cv_prog_AR
="${ac_tool_prefix}ar"
2335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2344 if test -n "$AR"; then
2345 echo "$as_me:$LINENO: result: $AR" >&5
2346 echo "${ECHO_T}$AR" >&6
2348 echo "$as_me:$LINENO: result: no" >&5
2349 echo "${ECHO_T}no" >&6
2353 if test -z "$ac_cv_prog_AR"; then
2355 # Extract the first word of "ar", so it can be a program name with args.
2356 set dummy
ar; ac_word
=$2
2357 echo "$as_me:$LINENO: checking for $ac_word" >&5
2358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2359 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2360 echo $ECHO_N "(cached) $ECHO_C" >&6
2362 if test -n "$ac_ct_AR"; then
2363 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
2365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2369 test -z "$as_dir" && as_dir
=.
2370 for ac_exec_ext
in '' $ac_executable_extensions; do
2371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2372 ac_cv_prog_ac_ct_AR
="ar"
2373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2381 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
2382 if test -n "$ac_ct_AR"; then
2383 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2384 echo "${ECHO_T}$ac_ct_AR" >&6
2386 echo "$as_me:$LINENO: result: no" >&5
2387 echo "${ECHO_T}no" >&6
2395 if test -n "$ac_tool_prefix"; then
2396 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2397 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2398 echo "$as_me:$LINENO: checking for $ac_word" >&5
2399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2400 if test "${ac_cv_prog_RANLIB+set}" = set; then
2401 echo $ECHO_N "(cached) $ECHO_C" >&6
2403 if test -n "$RANLIB"; then
2404 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2410 test -z "$as_dir" && as_dir
=.
2411 for ac_exec_ext
in '' $ac_executable_extensions; do
2412 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2413 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2422 RANLIB
=$ac_cv_prog_RANLIB
2423 if test -n "$RANLIB"; then
2424 echo "$as_me:$LINENO: result: $RANLIB" >&5
2425 echo "${ECHO_T}$RANLIB" >&6
2427 echo "$as_me:$LINENO: result: no" >&5
2428 echo "${ECHO_T}no" >&6
2432 if test -z "$ac_cv_prog_RANLIB"; then
2433 ac_ct_RANLIB
=$RANLIB
2434 # Extract the first word of "ranlib", so it can be a program name with args.
2435 set dummy ranlib
; ac_word
=$2
2436 echo "$as_me:$LINENO: checking for $ac_word" >&5
2437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2438 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2439 echo $ECHO_N "(cached) $ECHO_C" >&6
2441 if test -n "$ac_ct_RANLIB"; then
2442 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2448 test -z "$as_dir" && as_dir
=.
2449 for ac_exec_ext
in '' $ac_executable_extensions; do
2450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2451 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2458 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2461 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2462 if test -n "$ac_ct_RANLIB"; then
2463 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2464 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2466 echo "$as_me:$LINENO: result: no" >&5
2467 echo "${ECHO_T}no" >&6
2470 RANLIB
=$ac_ct_RANLIB
2472 RANLIB
="$ac_cv_prog_RANLIB"
2476 # Make sure we can run config.sub.
2477 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2478 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2479 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2480 { (exit 1); exit 1; }; }
2482 echo "$as_me:$LINENO: checking build system type" >&5
2483 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2484 if test "${ac_cv_build+set}" = set; then
2485 echo $ECHO_N "(cached) $ECHO_C" >&6
2487 ac_cv_build_alias
=$build_alias
2488 test -z "$ac_cv_build_alias" &&
2489 ac_cv_build_alias
=`$ac_config_guess`
2490 test -z "$ac_cv_build_alias" &&
2491 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2492 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2493 { (exit 1); exit 1; }; }
2494 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2495 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2496 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2497 { (exit 1); exit 1; }; }
2500 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2501 echo "${ECHO_T}$ac_cv_build" >&6
2503 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2504 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2505 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2508 echo "$as_me:$LINENO: checking host system type" >&5
2509 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2510 if test "${ac_cv_host+set}" = set; then
2511 echo $ECHO_N "(cached) $ECHO_C" >&6
2513 ac_cv_host_alias
=$host_alias
2514 test -z "$ac_cv_host_alias" &&
2515 ac_cv_host_alias
=$ac_cv_build_alias
2516 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2517 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2518 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2519 { (exit 1); exit 1; }; }
2522 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2523 echo "${ECHO_T}$ac_cv_host" >&6
2525 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2526 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2527 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2530 echo "$as_me:$LINENO: checking target system type" >&5
2531 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2532 if test "${ac_cv_target+set}" = set; then
2533 echo $ECHO_N "(cached) $ECHO_C" >&6
2535 ac_cv_target_alias
=$target_alias
2536 test "x$ac_cv_target_alias" = "x" &&
2537 ac_cv_target_alias
=$ac_cv_host_alias
2538 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
2539 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2540 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2541 { (exit 1); exit 1; }; }
2544 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2545 echo "${ECHO_T}$ac_cv_target" >&6
2546 target
=$ac_cv_target
2547 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2548 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2549 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2552 # The aliases save the names the user supplied, while $host etc.
2553 # will get canonicalized.
2554 test -n "$target_alias" &&
2555 test "$program_prefix$program_suffix$program_transform_name" = \
2557 program_prefix
=${target_alias}-
2558 test "$program_prefix" != NONE
&&
2559 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2560 # Use a double $ so make ignores it.
2561 test "$program_suffix" != NONE
&&
2562 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2563 # Double any \ or $. echo might interpret backslashes.
2564 # By default was `s,x,x', remove it if useless.
2565 cat <<\_ACEOF
>conftest.
sed
2566 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2568 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2572 ac_cpp
='$CPP $CPPFLAGS'
2573 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2574 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2575 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2576 if test -n "$ac_tool_prefix"; then
2577 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2578 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2579 echo "$as_me:$LINENO: checking for $ac_word" >&5
2580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2581 if test "${ac_cv_prog_CC+set}" = set; then
2582 echo $ECHO_N "(cached) $ECHO_C" >&6
2584 if test -n "$CC"; then
2585 ac_cv_prog_CC
="$CC" # Let the user override the test.
2587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2591 test -z "$as_dir" && as_dir
=.
2592 for ac_exec_ext
in '' $ac_executable_extensions; do
2593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2594 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2604 if test -n "$CC"; then
2605 echo "$as_me:$LINENO: result: $CC" >&5
2606 echo "${ECHO_T}$CC" >&6
2608 echo "$as_me:$LINENO: result: no" >&5
2609 echo "${ECHO_T}no" >&6
2613 if test -z "$ac_cv_prog_CC"; then
2615 # Extract the first word of "gcc", so it can be a program name with args.
2616 set dummy gcc
; ac_word
=$2
2617 echo "$as_me:$LINENO: checking for $ac_word" >&5
2618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2619 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2620 echo $ECHO_N "(cached) $ECHO_C" >&6
2622 if test -n "$ac_ct_CC"; then
2623 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2629 test -z "$as_dir" && as_dir
=.
2630 for ac_exec_ext
in '' $ac_executable_extensions; do
2631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2632 ac_cv_prog_ac_ct_CC
="gcc"
2633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2641 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2642 if test -n "$ac_ct_CC"; then
2643 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2644 echo "${ECHO_T}$ac_ct_CC" >&6
2646 echo "$as_me:$LINENO: result: no" >&5
2647 echo "${ECHO_T}no" >&6
2655 if test -z "$CC"; then
2656 if test -n "$ac_tool_prefix"; then
2657 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2658 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2659 echo "$as_me:$LINENO: checking for $ac_word" >&5
2660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2661 if test "${ac_cv_prog_CC+set}" = set; then
2662 echo $ECHO_N "(cached) $ECHO_C" >&6
2664 if test -n "$CC"; then
2665 ac_cv_prog_CC
="$CC" # Let the user override the test.
2667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2671 test -z "$as_dir" && as_dir
=.
2672 for ac_exec_ext
in '' $ac_executable_extensions; do
2673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2674 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2684 if test -n "$CC"; then
2685 echo "$as_me:$LINENO: result: $CC" >&5
2686 echo "${ECHO_T}$CC" >&6
2688 echo "$as_me:$LINENO: result: no" >&5
2689 echo "${ECHO_T}no" >&6
2693 if test -z "$ac_cv_prog_CC"; then
2695 # Extract the first word of "cc", so it can be a program name with args.
2696 set dummy cc
; ac_word
=$2
2697 echo "$as_me:$LINENO: checking for $ac_word" >&5
2698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2699 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2700 echo $ECHO_N "(cached) $ECHO_C" >&6
2702 if test -n "$ac_ct_CC"; then
2703 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2709 test -z "$as_dir" && as_dir
=.
2710 for ac_exec_ext
in '' $ac_executable_extensions; do
2711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2712 ac_cv_prog_ac_ct_CC
="cc"
2713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2721 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2722 if test -n "$ac_ct_CC"; then
2723 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2724 echo "${ECHO_T}$ac_ct_CC" >&6
2726 echo "$as_me:$LINENO: result: no" >&5
2727 echo "${ECHO_T}no" >&6
2736 if test -z "$CC"; then
2737 # Extract the first word of "cc", so it can be a program name with args.
2738 set dummy cc
; ac_word
=$2
2739 echo "$as_me:$LINENO: checking for $ac_word" >&5
2740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2741 if test "${ac_cv_prog_CC+set}" = set; then
2742 echo $ECHO_N "(cached) $ECHO_C" >&6
2744 if test -n "$CC"; then
2745 ac_cv_prog_CC
="$CC" # Let the user override the test.
2748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2752 test -z "$as_dir" && as_dir
=.
2753 for ac_exec_ext
in '' $ac_executable_extensions; do
2754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2755 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2756 ac_prog_rejected
=yes
2760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2766 if test $ac_prog_rejected = yes; then
2767 # We found a bogon in the path, so make sure we never use it.
2768 set dummy
$ac_cv_prog_CC
2770 if test $# != 0; then
2771 # We chose a different compiler from the bogus one.
2772 # However, it has the same basename, so the bogon will be chosen
2773 # first if we set CC to just the basename; use the full file name.
2775 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2781 if test -n "$CC"; then
2782 echo "$as_me:$LINENO: result: $CC" >&5
2783 echo "${ECHO_T}$CC" >&6
2785 echo "$as_me:$LINENO: result: no" >&5
2786 echo "${ECHO_T}no" >&6
2790 if test -z "$CC"; then
2791 if test -n "$ac_tool_prefix"; then
2794 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2795 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2796 echo "$as_me:$LINENO: checking for $ac_word" >&5
2797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2798 if test "${ac_cv_prog_CC+set}" = set; then
2799 echo $ECHO_N "(cached) $ECHO_C" >&6
2801 if test -n "$CC"; then
2802 ac_cv_prog_CC
="$CC" # Let the user override the test.
2804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2808 test -z "$as_dir" && as_dir
=.
2809 for ac_exec_ext
in '' $ac_executable_extensions; do
2810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2811 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2821 if test -n "$CC"; then
2822 echo "$as_me:$LINENO: result: $CC" >&5
2823 echo "${ECHO_T}$CC" >&6
2825 echo "$as_me:$LINENO: result: no" >&5
2826 echo "${ECHO_T}no" >&6
2829 test -n "$CC" && break
2832 if test -z "$CC"; then
2836 # Extract the first word of "$ac_prog", so it can be a program name with args.
2837 set dummy
$ac_prog; ac_word
=$2
2838 echo "$as_me:$LINENO: checking for $ac_word" >&5
2839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2840 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2841 echo $ECHO_N "(cached) $ECHO_C" >&6
2843 if test -n "$ac_ct_CC"; then
2844 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2850 test -z "$as_dir" && as_dir
=.
2851 for ac_exec_ext
in '' $ac_executable_extensions; do
2852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2853 ac_cv_prog_ac_ct_CC
="$ac_prog"
2854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2862 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2863 if test -n "$ac_ct_CC"; then
2864 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2865 echo "${ECHO_T}$ac_ct_CC" >&6
2867 echo "$as_me:$LINENO: result: no" >&5
2868 echo "${ECHO_T}no" >&6
2871 test -n "$ac_ct_CC" && break
2880 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2881 See \`config.log' for more details." >&5
2882 echo "$as_me: error: no acceptable C compiler found in \$PATH
2883 See \`config.log' for more details." >&2;}
2884 { (exit 1); exit 1; }; }
2886 # Provide some information about the compiler.
2887 echo "$as_me:$LINENO:" \
2888 "checking for C compiler version" >&5
2889 ac_compiler
=`set X $ac_compile; echo $2`
2890 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2891 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894 (exit $ac_status); }
2895 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2896 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899 (exit $ac_status); }
2900 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2901 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2904 (exit $ac_status); }
2906 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2907 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2908 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2909 echo $ECHO_N "(cached) $ECHO_C" >&6
2911 cat >conftest.
$ac_ext <<_ACEOF
2914 cat confdefs.h
>>conftest.
$ac_ext
2915 cat >>conftest.
$ac_ext <<_ACEOF
2916 /* end confdefs.h. */
2929 rm -f conftest.
$ac_objext
2930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2931 (eval $ac_compile) 2>conftest.er1
2933 grep -v '^ *+' conftest.er1
>conftest.err
2935 cat conftest.err
>&5
2936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937 (exit $ac_status); } &&
2938 { ac_try
='test -z "$ac_c_werror_flag"
2939 || test ! -s conftest.err'
2940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944 (exit $ac_status); }; } &&
2945 { ac_try
='test -s conftest.$ac_objext'
2946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2950 (exit $ac_status); }; }; then
2953 echo "$as_me: failed program was:" >&5
2954 sed 's/^/| /' conftest.
$ac_ext >&5
2958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2959 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2962 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2963 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2964 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2965 ac_test_CFLAGS
=${CFLAGS+set}
2966 ac_save_CFLAGS
=$CFLAGS
2968 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2969 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2970 if test "${ac_cv_prog_cc_g+set}" = set; then
2971 echo $ECHO_N "(cached) $ECHO_C" >&6
2973 cat >conftest.
$ac_ext <<_ACEOF
2976 cat confdefs.h
>>conftest.
$ac_ext
2977 cat >>conftest.
$ac_ext <<_ACEOF
2978 /* end confdefs.h. */
2988 rm -f conftest.
$ac_objext
2989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2990 (eval $ac_compile) 2>conftest.er1
2992 grep -v '^ *+' conftest.er1
>conftest.err
2994 cat conftest.err
>&5
2995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2996 (exit $ac_status); } &&
2997 { ac_try
='test -z "$ac_c_werror_flag"
2998 || test ! -s conftest.err'
2999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3003 (exit $ac_status); }; } &&
3004 { ac_try
='test -s conftest.$ac_objext'
3005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009 (exit $ac_status); }; }; then
3012 echo "$as_me: failed program was:" >&5
3013 sed 's/^/| /' conftest.
$ac_ext >&5
3017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3019 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3020 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3021 if test "$ac_test_CFLAGS" = set; then
3022 CFLAGS
=$ac_save_CFLAGS
3023 elif test $ac_cv_prog_cc_g = yes; then
3024 if test "$GCC" = yes; then
3030 if test "$GCC" = yes; then
3036 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3037 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3038 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3039 echo $ECHO_N "(cached) $ECHO_C" >&6
3041 ac_cv_prog_cc_stdc
=no
3043 cat >conftest.
$ac_ext <<_ACEOF
3046 cat confdefs.h
>>conftest.
$ac_ext
3047 cat >>conftest.
$ac_ext <<_ACEOF
3048 /* end confdefs.h. */
3051 #include <sys/types.h>
3052 #include <sys/stat.h>
3053 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3054 struct buf { int x; };
3055 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3056 static char *e (p, i)
3062 static char *f (char * (*g) (char **, int), char **p, ...)
3067 s = g (p, va_arg (v,int));
3072 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3073 function prototypes and stuff, but not '\xHH' hex character constants.
3074 These don't provoke an error unfortunately, instead are silently treated
3075 as 'x'. The following induces an error, until -std1 is added to get
3076 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3077 array size at least. It's necessary to write '\x00'==0 to get something
3078 that's true only with -std1. */
3079 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3081 int test (int i, double x);
3082 struct s1 {int (*f) (int a);};
3083 struct s2 {int (*f) (double a);};
3084 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3090 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3095 # Don't try gcc -ansi; that turns off useful extensions and
3096 # breaks some systems' header files.
3097 # AIX -qlanglvl=ansi
3098 # Ultrix and OSF/1 -std1
3099 # HP-UX 10.20 and later -Ae
3100 # HP-UX older versions -Aa -D_HPUX_SOURCE
3101 # SVR4 -Xc -D__EXTENSIONS__
3102 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3104 CC
="$ac_save_CC $ac_arg"
3105 rm -f conftest.
$ac_objext
3106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3107 (eval $ac_compile) 2>conftest.er1
3109 grep -v '^ *+' conftest.er1
>conftest.err
3111 cat conftest.err
>&5
3112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3113 (exit $ac_status); } &&
3114 { ac_try
='test -z "$ac_c_werror_flag"
3115 || test ! -s conftest.err'
3116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120 (exit $ac_status); }; } &&
3121 { ac_try
='test -s conftest.$ac_objext'
3122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); }; }; then
3127 ac_cv_prog_cc_stdc
=$ac_arg
3130 echo "$as_me: failed program was:" >&5
3131 sed 's/^/| /' conftest.
$ac_ext >&5
3134 rm -f conftest.err conftest.
$ac_objext
3136 rm -f conftest.
$ac_ext conftest.
$ac_objext
3141 case "x$ac_cv_prog_cc_stdc" in
3143 echo "$as_me:$LINENO: result: none needed" >&5
3144 echo "${ECHO_T}none needed" >&6 ;;
3146 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3147 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3148 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3151 # Some people use a C++ compiler to compile C. Since we use `exit',
3152 # in C++ we need to declare it. In case someone uses the same compiler
3153 # for both compiling C and C++ we need to have the C++ compiler decide
3154 # the declaration of exit, since it's the most demanding environment.
3155 cat >conftest.
$ac_ext <<_ACEOF
3160 rm -f conftest.
$ac_objext
3161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3162 (eval $ac_compile) 2>conftest.er1
3164 grep -v '^ *+' conftest.er1
>conftest.err
3166 cat conftest.err
>&5
3167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168 (exit $ac_status); } &&
3169 { ac_try
='test -z "$ac_c_werror_flag"
3170 || test ! -s conftest.err'
3171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 (exit $ac_status); }; } &&
3176 { ac_try
='test -s conftest.$ac_objext'
3177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3181 (exit $ac_status); }; }; then
3182 for ac_declaration
in \
3184 'extern "C" void std::exit (int) throw (); using std::exit;' \
3185 'extern "C" void std::exit (int); using std::exit;' \
3186 'extern "C" void exit (int) throw ();' \
3187 'extern "C" void exit (int);' \
3190 cat >conftest.
$ac_ext <<_ACEOF
3193 cat confdefs.h
>>conftest.
$ac_ext
3194 cat >>conftest.
$ac_ext <<_ACEOF
3195 /* end confdefs.h. */
3206 rm -f conftest.
$ac_objext
3207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3208 (eval $ac_compile) 2>conftest.er1
3210 grep -v '^ *+' conftest.er1
>conftest.err
3212 cat conftest.err
>&5
3213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214 (exit $ac_status); } &&
3215 { ac_try
='test -z "$ac_c_werror_flag"
3216 || test ! -s conftest.err'
3217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221 (exit $ac_status); }; } &&
3222 { ac_try
='test -s conftest.$ac_objext'
3223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227 (exit $ac_status); }; }; then
3230 echo "$as_me: failed program was:" >&5
3231 sed 's/^/| /' conftest.
$ac_ext >&5
3235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3236 cat >conftest.
$ac_ext <<_ACEOF
3239 cat confdefs.h
>>conftest.
$ac_ext
3240 cat >>conftest.
$ac_ext <<_ACEOF
3241 /* end confdefs.h. */
3251 rm -f conftest.
$ac_objext
3252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3253 (eval $ac_compile) 2>conftest.er1
3255 grep -v '^ *+' conftest.er1
>conftest.err
3257 cat conftest.err
>&5
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); } &&
3260 { ac_try
='test -z "$ac_c_werror_flag"
3261 || test ! -s conftest.err'
3262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266 (exit $ac_status); }; } &&
3267 { ac_try
='test -s conftest.$ac_objext'
3268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272 (exit $ac_status); }; }; then
3275 echo "$as_me: failed program was:" >&5
3276 sed 's/^/| /' conftest.
$ac_ext >&5
3279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3282 if test -n "$ac_declaration"; then
3283 echo '#ifdef __cplusplus' >>confdefs.h
3284 echo $ac_declaration >>confdefs.h
3285 echo '#endif' >>confdefs.h
3289 echo "$as_me: failed program was:" >&5
3290 sed 's/^/| /' conftest.
$ac_ext >&5
3293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3295 ac_cpp
='$CPP $CPPFLAGS'
3296 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3297 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3298 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3304 if test -n "$ac_tool_prefix"; then
3305 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3306 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3307 echo "$as_me:$LINENO: checking for $ac_word" >&5
3308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3309 if test "${ac_cv_prog_RANLIB+set}" = set; then
3310 echo $ECHO_N "(cached) $ECHO_C" >&6
3312 if test -n "$RANLIB"; then
3313 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3319 test -z "$as_dir" && as_dir
=.
3320 for ac_exec_ext
in '' $ac_executable_extensions; do
3321 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3322 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3331 RANLIB
=$ac_cv_prog_RANLIB
3332 if test -n "$RANLIB"; then
3333 echo "$as_me:$LINENO: result: $RANLIB" >&5
3334 echo "${ECHO_T}$RANLIB" >&6
3336 echo "$as_me:$LINENO: result: no" >&5
3337 echo "${ECHO_T}no" >&6
3341 if test -z "$ac_cv_prog_RANLIB"; then
3342 ac_ct_RANLIB
=$RANLIB
3343 # Extract the first word of "ranlib", so it can be a program name with args.
3344 set dummy ranlib
; ac_word
=$2
3345 echo "$as_me:$LINENO: checking for $ac_word" >&5
3346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3347 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3348 echo $ECHO_N "(cached) $ECHO_C" >&6
3350 if test -n "$ac_ct_RANLIB"; then
3351 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3357 test -z "$as_dir" && as_dir
=.
3358 for ac_exec_ext
in '' $ac_executable_extensions; do
3359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3360 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3367 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3370 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3371 if test -n "$ac_ct_RANLIB"; then
3372 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3373 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3375 echo "$as_me:$LINENO: result: no" >&5
3376 echo "${ECHO_T}no" >&6
3379 RANLIB
=$ac_ct_RANLIB
3381 RANLIB
="$ac_cv_prog_RANLIB"
3385 # Put a plausible default for CC_FOR_BUILD in Makefile.
3386 if test "x$cross_compiling" = "xno"; then
3387 CC_FOR_BUILD
='$(CC)'
3392 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
3395 # If a cpu ever has more than one simulator to choose from, use
3396 # --enable-sim=... to choose.
3397 # Check whether --enable-sim or --disable-sim was given.
3398 if test "${enable_sim+set}" = set; then
3399 enableval
="$enable_sim"
3400 case "${enableval}" in
3402 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} given for --enable-sim option" >&5
3403 echo "$as_me: error: bad value ${enableval} given for --enable-sim option" >&2;}
3404 { (exit 1); exit 1; }; } ;;
3408 # WHEN ADDING ENTRIES TO THIS MATRIX:
3410 # Make sure that the left side always has two dashes. Otherwise you
3411 # can get spurious matches. Even for unambiguous cases, do this as a
3412 # convention, else the table becomes a real mess to understand and
3415 if test "${enable_sim}" != no
; then
3420 arm
*-*-* | thumb
*-*-* | strongarm
*-*-* | xscale-
*-*)
3423 subdirs
="$subdirs arm"
3430 subdirs
="$subdirs cr16"
3434 cris-
*-* | crisv32-
*-*)
3437 subdirs
="$subdirs cris"
3444 subdirs
="$subdirs d10v"
3450 subdirs
="$subdirs frv"
3457 subdirs
="$subdirs h8300"
3464 subdirs
="$subdirs iq2000"
3471 subdirs
="$subdirs m32c"
3477 subdirs
="$subdirs m32r"
3481 m68hc11-
*-*|m6811-
*-*)
3484 subdirs
="$subdirs m68hc11"
3491 subdirs
="$subdirs mcore"
3498 subdirs
="$subdirs mips"
3506 subdirs
="$subdirs mn10300"
3513 subdirs
="$subdirs sh64"
3520 subdirs
="$subdirs sh"
3524 sparc-
*-rtems*|sparc-
*-elf*)
3527 subdirs
="$subdirs erc32"
3534 subdirs
="$subdirs ppc"
3540 subdirs
="$subdirs v850"
3546 # No simulator subdir, so the subdir "common" isn't needed.
3550 if test "$testsuite" = yes; then
3553 subdirs
="$subdirs testsuite"
3556 if test "$common" = yes; then
3559 subdirs
="$subdirs common"
3562 if test "$igen" = yes; then
3565 subdirs
="$subdirs igen"
3570 ac_config_files
="$ac_config_files Makefile"
3571 cat >confcache
<<\_ACEOF
3572 # This file is a shell script that caches the results of configure
3573 # tests run on this system so they can be shared between configure
3574 # scripts and configure runs, see configure's option --config-cache.
3575 # It is not useful on other systems. If it contains results you don't
3576 # want to keep, you may remove or edit it.
3578 # config.status only pays attention to the cache file if you give it
3579 # the --recheck option to rerun configure.
3581 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3582 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3587 # The following way of writing the cache mishandles newlines in values,
3588 # but we know of no workaround that is simple, portable, and efficient.
3589 # So, don't put newlines in cache variables' values.
3590 # Ultrix sh set writes to stderr and can't be redirected directly,
3591 # and sets the high bit in the cache file unless we assign to the vars.
3594 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3596 # `set' does not quote correctly, so add quotes (double-quote
3597 # substitution turns \\\\ into \\, and sed turns \\ into \).
3600 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3603 # `set' quotes correctly as required by POSIX, so do not add quotes.
3605 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3612 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3614 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3616 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3617 if test -w $cache_file; then
3618 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3619 cat confcache
>$cache_file
3621 echo "not updating unwritable cache $cache_file"
3626 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3627 # Let make expand exec_prefix.
3628 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3630 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3631 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3632 # trailing colons and then remove the whole line if VPATH becomes empty
3633 # (actually we leave an empty line to preserve line numbers).
3634 if test "x$srcdir" = x.
; then
3635 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
3636 s/:*\$(srcdir):*/:/;
3637 s/:*\${srcdir}:*/:/;
3639 s/^\([^=]*=[ ]*\):*/\1/;
3645 # Transform confdefs.h into DEFS.
3646 # Protect against shell expansion while executing Makefile rules.
3647 # Protect against Makefile macro expansion.
3649 # If the first sed substitution is executed (which looks for macros that
3650 # take arguments), then we branch to the quote section. Otherwise,
3651 # look for a macro that doesn't take arguments.
3652 cat >confdef2opt.
sed <<\_ACEOF
3655 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3657 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3661 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3667 # We use echo to avoid assuming a particular line-breaking character.
3668 # The extra dot is to prevent the shell from consuming trailing
3669 # line-breaks from the sub-command output. A line-break within
3670 # single-quotes doesn't work because, if this script is created in a
3671 # platform that uses two characters for line-breaks (e.g., DOS), tr
3673 ac_LF_and_DOT=`echo; echo .
`
3674 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
3675 rm -f confdef2opt.sed
3680 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3681 # 1. Remove the extension, and $U if already installed.
3682 ac_i=`echo "$ac_i" |
3683 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3685 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3686 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3690 LTLIBOBJS=$ac_ltlibobjs
3694 : ${CONFIG_STATUS=./config.status}
3695 ac_clean_files_save=$ac_clean_files
3696 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3697 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3698 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3699 cat >$CONFIG_STATUS <<_ACEOF
3701 # Generated by $as_me.
3702 # Run this file to recreate the current configuration.
3703 # Compiler output produced by configure, useful for debugging
3704 # configure, is in config.log if it exists.
3709 SHELL=\${CONFIG_SHELL-$SHELL}
3712 cat >>$CONFIG_STATUS <<\_ACEOF
3713 ## --------------------- ##
3714 ## M4sh Initialization. ##
3715 ## --------------------- ##
3717 # Be Bourne compatible
3718 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3721 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3722 # is contrary to our usage. Disable this feature.
3723 alias -g '${1+"$@"}'='"$@"'
3724 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3727 DUALCASE=1; export DUALCASE # for MKS sh
3729 # Support unset when possible.
3730 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3737 # Work around bugs in pre-3.0 UWIN ksh.
3738 $as_unset ENV MAIL MAILPATH
3745 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3746 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3747 LC_TELEPHONE LC_TIME
3749 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
3750 eval $as_var=C; export $as_var
3756 # Required to use basename.
3757 if expr a : '\(a\)' >/dev/null 2>&1; then
3763 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3764 as_basename=basename
3770 # Name of the executable.
3771 as_me=`$as_basename "$0" ||
3772 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3773 X
"$0" : 'X\(//\)$' \| \
3774 X
"$0" : 'X\(/\)$' \| \
3775 .
: '\(.\)' 2>/dev
/null ||
3777 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3778 /^X\/\(\/\/\)$/{ s//\1/; q; }
3779 /^X\/\(\/\).*/{ s//\1/; q; }
3783 # PATH needs CR, and LINENO needs CR and PATH.
3784 # Avoid depending upon Character Ranges.
3785 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3786 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3787 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3788 as_cr_digits='0123456789'
3789 as_cr_alnum=$as_cr_Letters$as_cr_digits
3791 # The user is always right.
3792 if test "${PATH_SEPARATOR+set}" != set; then
3793 echo "#! /bin/sh" >conf$$.sh
3794 echo "exit 0" >>conf$$.sh
3796 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3807 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
3808 test "x$as_lineno_1" != "x$as_lineno_2" &&
3809 test "x$as_lineno_3" = "x$as_lineno_2" || {
3810 # Find who we are. Look in the path if we contain no path at all
3813 *[\\/]* ) as_myself=$0 ;;
3814 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3818 test -z "$as_dir" && as_dir=.
3819 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3824 # We did not find ourselves, most probably we were run as `sh COMMAND
'
3825 # in which case we are not to be found in the path.
3826 if test "x$as_myself" = x; then
3829 if test ! -f "$as_myself"; then
3830 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3831 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3832 { (exit 1); exit 1; }; }
3834 case $CONFIG_SHELL in
3836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3837 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3840 test -z "$as_dir" && as_dir=.
3841 for as_base in sh bash ksh sh5; do
3844 if ("$as_dir/$as_base" -c '
3847 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
3848 test "x$as_lineno_1" != "x$as_lineno_2" &&
3849 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3850 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3851 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3852 CONFIG_SHELL=$as_dir/$as_base
3854 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3862 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3863 # uniformly replaced by the line number. The first 'sed' inserts a
3864 # line-number line before each line; the second 'sed' does the real
3865 # work. The second script uses 'N
' to pair each line-number line
3866 # with the numbered line, and appends trailing '-' during
3867 # substitution so that $LINENO is not a special case at line end.
3868 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3869 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
3870 sed '=' <$as_myself |
3875 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3878 s,^['$as_cr_digits']*\n,,
3880 chmod +x
$as_me.lineno ||
3881 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3882 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3883 { (exit 1); exit 1; }; }
3885 # Don't try to exec as it changes $[0], causing all sort of problems
3886 # (the dirname of $[0] is not the place where we might find the
3887 # original and so on. Autoconf is especially sensible to this).
3889 # Exit status is that of the last command.
3894 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3895 *c
*,-n*) ECHO_N
= ECHO_C
='
3897 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
3898 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
3901 if expr a
: '\(a\)' >/dev
/null
2>&1; then
3907 rm -f conf$$ conf$$.exe conf$$.
file
3909 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3910 # We could just check for DJGPP; but this test a) works b) is more generic
3911 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3912 if test -f conf$$.exe
; then
3913 # Don't use ln at all; we don't have any links
3918 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3923 rm -f conf$$ conf$$.exe conf$$.
file
3925 if mkdir
-p .
2>/dev
/null
; then
3928 test -d .
/-p && rmdir .
/-p
3932 as_executable_p
="test -f"
3934 # Sed expression to map a string onto a valid CPP name.
3935 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3937 # Sed expression to map a string onto a valid variable name.
3938 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3942 # We need space, tab and new line, in precisely that order.
3952 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3953 # report actual input values of CONFIG_FILES etc. instead of their
3954 # values after options handling. Logging --version etc. is OK.
3958 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3959 ## Running $as_me. ##
3964 This file was extended by $as_me, which was
3965 generated by GNU Autoconf 2.59. Invocation command line was
3967 CONFIG_FILES = $CONFIG_FILES
3968 CONFIG_HEADERS = $CONFIG_HEADERS
3969 CONFIG_LINKS = $CONFIG_LINKS
3970 CONFIG_COMMANDS = $CONFIG_COMMANDS
3974 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3978 # Files that config.status was made for.
3979 if test -n "$ac_config_files"; then
3980 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3983 if test -n "$ac_config_headers"; then
3984 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3987 if test -n "$ac_config_links"; then
3988 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3991 if test -n "$ac_config_commands"; then
3992 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3995 cat >>$CONFIG_STATUS <<\_ACEOF
3998 \`$as_me' instantiates files from templates according to the
3999 current configuration.
4001 Usage: $0 [OPTIONS] [FILE]...
4003 -h, --help print this help, then exit
4004 -V, --version print version number, then exit
4005 -q, --quiet do not print progress messages
4006 -d, --debug don't remove temporary files
4007 --recheck update $as_me by reconfiguring in the same conditions
4008 --file=FILE[:TEMPLATE]
4009 instantiate the configuration file FILE
4011 Configuration files:
4014 Report bugs to <bug-autoconf@gnu.org>."
4017 cat >>$CONFIG_STATUS <<_ACEOF
4020 configured by $0, generated by GNU Autoconf 2.59,
4021 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4023 Copyright (C) 2003 Free Software Foundation, Inc.
4024 This config.status script is free software; the Free Software Foundation
4025 gives unlimited permission to copy, distribute and modify it."
4030 cat >>$CONFIG_STATUS <<\_ACEOF
4031 # If no file are specified by the user, then we need to provide default
4032 # value. By we need to know if files were specified by the user.
4038 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
4039 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
4047 *) # This is not an option, so the user has probably given explicit
4050 ac_need_defaults
=false
;;
4054 # Handling of the options.
4056 cat >>$CONFIG_STATUS <<\_ACEOF
4057 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4059 --version |
--vers* |
-V )
4060 echo "$ac_cs_version"; exit 0 ;;
4062 # Conflict between --help and --header
4063 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4064 Try \`$0 --help' for more information." >&5
4065 echo "$as_me: error: ambiguous option: $1
4066 Try \`$0 --help' for more information." >&2;}
4067 { (exit 1); exit 1; }; };;
4068 --help |
--hel |
-h )
4069 echo "$ac_cs_usage"; exit 0 ;;
4070 --debug |
--d* |
-d )
4072 --file |
--fil |
--fi |
--f )
4074 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
4075 ac_need_defaults
=false
;;
4076 --header |
--heade |
--head |
--hea )
4078 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
4079 ac_need_defaults
=false
;;
4080 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4081 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4085 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4086 Try \`$0 --help' for more information." >&5
4087 echo "$as_me: error: unrecognized option: $1
4088 Try \`$0 --help' for more information." >&2;}
4089 { (exit 1); exit 1; }; } ;;
4091 *) ac_config_targets
="$ac_config_targets $1" ;;
4097 ac_configure_extra_args
=
4099 if $ac_cs_silent; then
4101 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4105 cat >>$CONFIG_STATUS <<_ACEOF
4106 if \$ac_cs_recheck; then
4107 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4108 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4117 cat >>$CONFIG_STATUS <<\_ACEOF
4118 for ac_config_target
in $ac_config_targets
4120 case "$ac_config_target" in
4121 # Handling of arguments.
4122 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4123 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4124 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4125 { (exit 1); exit 1; }; };;
4129 # If the user did not use the arguments to specify the items to instantiate,
4130 # then the envvar interface is used. Set only those that are not.
4131 # We use the long form for the default assignment because of an extremely
4132 # bizarre bug on SunOS 4.1.3.
4133 if $ac_need_defaults; then
4134 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4137 # Have a temporary directory for convenience. Make it in the build tree
4138 # simply because there is no reason to put it here, and in addition,
4139 # creating and moving files from /tmp can sometimes cause problems.
4140 # Create a temporary directory, and hook for its removal unless debugging.
4143 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4144 trap '{ (exit 1); exit 1; }' 1 2 13 15
4147 # Create a (secure) tmp directory for tmp files.
4150 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4151 test -n "$tmp" && test -d "$tmp"
4154 tmp
=.
/confstat$$
-$RANDOM
4155 (umask 077 && mkdir
$tmp)
4158 echo "$me: cannot create a temporary directory in ." >&2
4159 { (exit 1); exit 1; }
4164 cat >>$CONFIG_STATUS <<_ACEOF
4167 # CONFIG_FILES section.
4170 # No need to generate the scripts if there are no CONFIG_FILES.
4171 # This happens for instance when ./config.status config.h
4172 if test -n "\$CONFIG_FILES"; then
4173 # Protect against being on the right side of a sed subst in config.status.
4174 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4175 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4176 s,@SHELL@,$SHELL,;t t
4177 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4178 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4179 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4180 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4181 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4182 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4183 s,@exec_prefix@,$exec_prefix,;t t
4184 s,@prefix@,$prefix,;t t
4185 s,@program_transform_name@,$program_transform_name,;t t
4186 s,@bindir@,$bindir,;t t
4187 s,@sbindir@,$sbindir,;t t
4188 s,@libexecdir@,$libexecdir,;t t
4189 s,@datadir@,$datadir,;t t
4190 s,@sysconfdir@,$sysconfdir,;t t
4191 s,@sharedstatedir@,$sharedstatedir,;t t
4192 s,@localstatedir@,$localstatedir,;t t
4193 s,@libdir@,$libdir,;t t
4194 s,@includedir@,$includedir,;t t
4195 s,@oldincludedir@,$oldincludedir,;t t
4196 s,@infodir@,$infodir,;t t
4197 s,@mandir@,$mandir,;t t
4198 s,@build_alias@,$build_alias,;t t
4199 s,@host_alias@,$host_alias,;t t
4200 s,@target_alias@,$target_alias,;t t
4202 s,@ECHO_C@,$ECHO_C,;t t
4203 s,@ECHO_N@,$ECHO_N,;t t
4204 s,@ECHO_T@,$ECHO_T,;t t
4207 s,@CFLAGS@,$CFLAGS,;t t
4208 s,@LDFLAGS@,$LDFLAGS,;t t
4209 s,@CPPFLAGS@,$CPPFLAGS,;t t
4210 s,@ac_ct_CC@,$ac_ct_CC,;t t
4211 s,@EXEEXT@,$EXEEXT,;t t
4212 s,@OBJEXT@,$OBJEXT,;t t
4213 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4214 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4215 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4217 s,@ac_ct_AR@,$ac_ct_AR,;t t
4218 s,@RANLIB@,$RANLIB,;t t
4219 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4220 s,@build@,$build,;t t
4221 s,@build_cpu@,$build_cpu,;t t
4222 s,@build_vendor@,$build_vendor,;t t
4223 s,@build_os@,$build_os,;t t
4225 s,@host_cpu@,$host_cpu,;t t
4226 s,@host_vendor@,$host_vendor,;t t
4227 s,@host_os@,$host_os,;t t
4228 s,@target@,$target,;t t
4229 s,@target_cpu@,$target_cpu,;t t
4230 s,@target_vendor@,$target_vendor,;t t
4231 s,@target_os@,$target_os,;t t
4232 s,@HDEFINES@,$HDEFINES,;t t
4233 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
4234 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
4235 s,@subdirs@,$subdirs,;t t
4236 s,@LIBOBJS@,$LIBOBJS,;t t
4237 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4242 cat >>$CONFIG_STATUS <<\_ACEOF
4243 # Split the substitutions into bite-sized pieces for seds with
4244 # small command number limits, like on Digital OSF/1 and HP-UX.
4246 ac_sed_frag
=1 # Number of current file.
4247 ac_beg
=1 # First line for current file.
4248 ac_end
=$ac_max_sed_lines # Line after last line for current file.
4251 while $ac_more_lines; do
4252 if test $ac_beg -gt 1; then
4253 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4255 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4257 if test ! -s $tmp/subs.frag
; then
4260 # The purpose of the label and of the branching condition is to
4261 # speed up the sed processing (if there are no `@' at all, there
4262 # is no need to browse any of the substitutions).
4263 # These are the two extra sed commands mentioned above.
4265 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
4266 if test -z "$ac_sed_cmds"; then
4267 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
4269 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4271 ac_sed_frag
=`expr $ac_sed_frag + 1`
4273 ac_end
=`expr $ac_end + $ac_max_sed_lines`
4276 if test -z "$ac_sed_cmds"; then
4279 fi # test -n "$CONFIG_FILES"
4282 cat >>$CONFIG_STATUS <<\_ACEOF
4283 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
4284 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4286 - |
*:- |
*:-:* ) # input from stdin
4288 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4289 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4290 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4291 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4292 * ) ac_file_in
=$ac_file.
in ;;
4295 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4296 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
4297 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4298 X"$ac_file" : 'X\(//\)[^/]' \| \
4299 X"$ac_file" : 'X\(//\)$' \| \
4300 X"$ac_file" : 'X\(/\)' \| \
4301 . : '\(.\)' 2>/dev/null ||
4303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4304 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4305 /^X\(\/\/\)$/{ s//\1/; q; }
4306 /^X\(\/\).*/{ s//\1/; q; }
4308 { if $as_mkdir_p; then
4313 while test ! -d "$as_dir"; do
4314 as_dirs
="$as_dir $as_dirs"
4315 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
4316 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4317 X"$as_dir" : 'X\(//\)[^/]' \| \
4318 X"$as_dir" : 'X\(//\)$' \| \
4319 X"$as_dir" : 'X\(/\)' \| \
4320 . : '\(.\)' 2>/dev/null ||
4322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4323 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4324 /^X\(\/\/\)$/{ s//\1/; q; }
4325 /^X\(\/\).*/{ s//\1/; q; }
4328 test ! -n "$as_dirs" || mkdir
$as_dirs
4329 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4330 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4331 { (exit 1); exit 1; }; }; }
4335 if test "$ac_dir" != .
; then
4336 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4337 # A "../" for each directory in $ac_dir_suffix.
4338 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4340 ac_dir_suffix
= ac_top_builddir
=
4344 .
) # No --srcdir option. We are building in place.
4346 if test -z "$ac_top_builddir"; then
4349 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
4351 [\\/]* | ?
:[\\/]* ) # Absolute path.
4352 ac_srcdir
=$srcdir$ac_dir_suffix;
4353 ac_top_srcdir
=$srcdir ;;
4355 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
4356 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
4359 # Do not use `cd foo && pwd` to compute absolute paths, because
4360 # the directories may not exist.
4362 .
) ac_abs_builddir
="$ac_dir";;
4365 .
) ac_abs_builddir
=`pwd`;;
4366 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
4367 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
4370 case $ac_abs_builddir in
4371 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4373 case ${ac_top_builddir}.
in
4374 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
4375 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4376 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
4379 case $ac_abs_builddir in
4380 .
) ac_abs_srcdir
=$ac_srcdir;;
4383 .
) ac_abs_srcdir
=$ac_abs_builddir;;
4384 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
4385 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
4388 case $ac_abs_builddir in
4389 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
4391 case $ac_top_srcdir in
4392 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
4393 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
4394 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
4400 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
4401 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
4404 if test x
"$ac_file" != x-
; then
4405 { echo "$as_me:$LINENO: creating $ac_file" >&5
4406 echo "$as_me: creating $ac_file" >&6;}
4409 # Let's still pretend it is `configure' which instantiates (i.e., don't
4410 # use $as_me), people would be surprised to read:
4411 # /* config.h. Generated by config.status. */
4412 if test x
"$ac_file" = x-
; then
4415 configure_input
="$ac_file. "
4417 configure_input
=$configure_input"Generated from `echo $ac_file_in |
4418 sed 's,.*/,,'` by configure."
4420 # First look for the input files in the build tree, otherwise in the
4422 ac_file_inputs
=`IFS=:
4423 for f in $ac_file_in; do
4425 -) echo $tmp/stdin ;;
4427 # Absolute (can't be DOS-style, as IFS=:)
4428 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4429 echo "$as_me: error: cannot find input file: $f" >&2;}
4430 { (exit 1); exit 1; }; }
4433 if test -f "$f"; then
4436 elif test -f "$srcdir/$f"; then
4441 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4442 echo "$as_me: error: cannot find input file: $f" >&2;}
4443 { (exit 1); exit 1; }; }
4446 done` ||
{ (exit 1); exit 1; }
4448 cat >>$CONFIG_STATUS <<_ACEOF
4452 cat >>$CONFIG_STATUS <<\_ACEOF
4454 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4455 s
,@configure_input@
,$configure_input,;t t
4456 s
,@srcdir@
,$ac_srcdir,;t t
4457 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
4458 s
,@top_srcdir@
,$ac_top_srcdir,;t t
4459 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
4460 s
,@builddir@
,$ac_builddir,;t t
4461 s
,@abs_builddir@
,$ac_abs_builddir,;t t
4462 s
,@top_builddir@
,$ac_top_builddir,;t t
4463 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
4464 s
,@INSTALL@
,$ac_INSTALL,;t t
4465 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4467 if test x"$ac_file" != x-; then
4468 mv $tmp/out $ac_file
4477 cat >>$CONFIG_STATUS <<\_ACEOF
4479 { (exit 0); exit 0; }
4481 chmod +x $CONFIG_STATUS
4482 ac_clean_files=$ac_clean_files_save
4485 # configure is writing to config.log, and then calls config.status.
4486 # config.status does its own redirection, appending to config.log.
4487 # Unfortunately, on DOS this fails, as config.log is still kept open
4488 # by configure, so config.status won't be able to write to it; its
4489 # output is simply discarded. So we exec the FD to /dev/null,
4490 # effectively closing config.log, so it can be properly (re)opened and
4491 # appended to by config.status. When coming back to configure, we
4492 # need to make the FD available again.
4493 if test "$no_create" != yes; then
4495 ac_config_status_args=
4496 test "$silent" = yes &&
4497 ac_config_status_args="$ac_config_status_args --quiet"
4499 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4501 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4502 # would make configure fail if this is the last instruction.
4503 $ac_cs_success || { (exit 1); exit 1; }
4507 # CONFIG_SUBDIRS section.
4509 if test "$no_recursion" != yes; then
4511 # Remove --cache-file and --srcdir arguments so they do not pile up.
4512 ac_sub_configure_args=
4514 for ac_arg in $ac_configure_args; do
4515 if test -n "$ac_prev"; then
4520 -cache-file | --cache-file | --cache-fil | --cache-fi \
4521 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
4522 ac_prev=cache_file ;;
4523 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
4524 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
4527 --config-cache | -C)
4529 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4531 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4533 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4535 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4537 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
4541 # Always prepend --prefix to ensure using the same prefix
4542 # in subdir configurations.
4543 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
4546 for ac_dir in : $subdirs; do test "x
$ac_dir" = x: && continue
4548 # Do not complain, so a configure script can configure whichever
4549 # parts of a large source tree are present.
4550 test -d $srcdir/$ac_dir || continue
4552 { echo "$as_me:$LINENO: configuring
in $ac_dir" >&5
4553 echo "$as_me: configuring
in $ac_dir" >&6;}
4554 { if $as_mkdir_p; then
4559 while test ! -d "$as_dir"; do
4560 as_dirs="$as_dir $as_dirs"
4561 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4562 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4563 X"$as_dir" : 'X\(//\)[^/]' \| \
4564 X"$as_dir" : 'X\(//\)$' \| \
4565 X"$as_dir" : 'X\(/\)' \| \
4566 . : '\(.\)' 2>/dev/null ||
4568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4569 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4570 /^X\(\/\/\)$/{ s//\1/; q; }
4571 /^X\(\/\).*/{ s//\1/; q; }
4574 test ! -n "$as_dirs" || mkdir $as_dirs
4575 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
\"$ac_dir\"" >&5
4576 echo "$as_me: error
: cannot create directory
\"$ac_dir\"" >&2;}
4577 { (exit 1); exit 1; }; }; }
4581 if test "$ac_dir" != .; then
4582 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4583 # A "..
/" for each directory in $ac_dir_suffix.
4584 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4586 ac_dir_suffix= ac_top_builddir=
4590 .) # No --srcdir option. We are building in place.
4592 if test -z "$ac_top_builddir"; then
4595 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4597 [\\/]* | ?:[\\/]* ) # Absolute path.
4598 ac_srcdir=$srcdir$ac_dir_suffix;
4599 ac_top_srcdir=$srcdir ;;
4601 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4602 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4605 # Do not use `cd foo && pwd` to compute absolute paths, because
4606 # the directories may not exist.
4608 .) ac_abs_builddir="$ac_dir";;
4611 .) ac_abs_builddir=`pwd`;;
4612 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4613 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4616 case $ac_abs_builddir in
4617 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4619 case ${ac_top_builddir}. in
4620 .) ac_abs_top_builddir=$ac_abs_builddir;;
4621 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4622 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4625 case $ac_abs_builddir in
4626 .) ac_abs_srcdir=$ac_srcdir;;
4629 .) ac_abs_srcdir=$ac_abs_builddir;;
4630 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4631 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4634 case $ac_abs_builddir in
4635 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4637 case $ac_top_srcdir in
4638 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4639 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4640 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4647 # Check for guested configure; otherwise get Cygnus style configure.
4648 if test -f $ac_srcdir/configure.gnu; then
4649 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
4650 elif test -f $ac_srcdir/configure; then
4651 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
4652 elif test -f $ac_srcdir/configure.in; then
4653 ac_sub_configure=$ac_configure
4655 { echo "$as_me:$LINENO: WARNING
: no configuration information is
in $ac_dir" >&5
4656 echo "$as_me: WARNING
: no configuration information is
in $ac_dir" >&2;}
4660 # The recursion is here.
4661 if test -n "$ac_sub_configure"; then
4662 # Make the cache file name correct relative to the subdirectory.
4664 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
4666 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
4669 { echo "$as_me:$LINENO: running
$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
4670 echo "$as_me: running
$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4671 # The eval makes quoting arguments work.
4672 eval $ac_sub_configure $ac_sub_configure_args \
4673 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
4674 { { echo "$as_me:$LINENO: error
: $ac_sub_configure failed
for $ac_dir" >&5
4675 echo "$as_me: error
: $ac_sub_configure failed
for $ac_dir" >&2;}
4676 { (exit 1); exit 1; }; }