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 d10v"
277 ac_subdirs_all
="$ac_subdirs_all frv"
278 ac_subdirs_all
="$ac_subdirs_all h8300"
279 ac_subdirs_all
="$ac_subdirs_all m32r"
280 ac_subdirs_all
="$ac_subdirs_all m68hc11"
281 ac_subdirs_all
="$ac_subdirs_all mcore"
282 ac_subdirs_all
="$ac_subdirs_all mips"
283 ac_subdirs_all
="$ac_subdirs_all mn10300"
284 ac_subdirs_all
="$ac_subdirs_all sh"
285 ac_subdirs_all
="$ac_subdirs_all ppc"
286 ac_subdirs_all
="$ac_subdirs_all v850"
287 ac_subdirs_all
="$ac_subdirs_all testsuite"
288 ac_subdirs_all
="$ac_subdirs_all common"
289 ac_subdirs_all
="$ac_subdirs_all igen"
290 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 subdirs LIBOBJS LTLIBOBJS'
293 # Initialize some variables set by options.
295 ac_init_version
=false
296 # The variables have the same names as the options, with
297 # dashes changed to underlines.
305 program_transform_name
=s
,x
,x
,
313 # Installation directory options.
314 # These are left unexpanded so users can "make install exec_prefix=/foo"
315 # and all the variables that are supposed to be based on exec_prefix
316 # by default will actually change.
317 # Use braces instead of parens because sh, perl, etc. also accept them.
318 bindir
='${exec_prefix}/bin'
319 sbindir
='${exec_prefix}/sbin'
320 libexecdir
='${exec_prefix}/libexec'
321 datadir
='${prefix}/share'
322 sysconfdir
='${prefix}/etc'
323 sharedstatedir
='${prefix}/com'
324 localstatedir
='${prefix}/var'
325 libdir
='${exec_prefix}/lib'
326 includedir
='${prefix}/include'
327 oldincludedir
='/usr/include'
328 infodir
='${prefix}/info'
329 mandir
='${prefix}/man'
334 # If the previous option needs an argument, assign it.
335 if test -n "$ac_prev"; then
336 eval "$ac_prev=\$ac_option"
341 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
343 # Accept the important Cygnus configure options, so we can diagnose typos.
347 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
349 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
352 -build |
--build |
--buil |
--bui |
--bu)
353 ac_prev
=build_alias
;;
354 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
355 build_alias
=$ac_optarg ;;
357 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
358 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
359 ac_prev
=cache_file
;;
360 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
361 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
362 cache_file
=$ac_optarg ;;
365 cache_file
=config.cache
;;
367 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
369 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
371 datadir
=$ac_optarg ;;
373 -disable-* |
--disable-*)
374 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
375 # Reject names that are not valid shell variable names.
376 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
377 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
378 { (exit 1); exit 1; }; }
379 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
380 eval "enable_$ac_feature=no" ;;
382 -enable-* |
--enable-*)
383 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
384 # Reject names that are not valid shell variable names.
385 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
386 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
387 { (exit 1); exit 1; }; }
388 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
390 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
393 eval "enable_$ac_feature='$ac_optarg'" ;;
395 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
396 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
397 |
--exec |
--exe |
--ex)
398 ac_prev
=exec_prefix
;;
399 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
400 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
401 |
--exec=* |
--exe=* |
--ex=*)
402 exec_prefix
=$ac_optarg ;;
404 -gas |
--gas |
--ga |
--g)
405 # Obsolete; use --with-gas.
408 -help |
--help |
--hel |
--he |
-h)
410 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
411 ac_init_help
=recursive
;;
412 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
413 ac_init_help
=short
;;
415 -host |
--host |
--hos |
--ho)
416 ac_prev
=host_alias
;;
417 -host=* |
--host=* |
--hos=* |
--ho=*)
418 host_alias
=$ac_optarg ;;
420 -includedir |
--includedir |
--includedi |
--included |
--include \
421 |
--includ |
--inclu |
--incl |
--inc)
422 ac_prev
=includedir
;;
423 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
424 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
425 includedir
=$ac_optarg ;;
427 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
429 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
430 infodir
=$ac_optarg ;;
432 -libdir |
--libdir |
--libdi |
--libd)
434 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
437 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
438 |
--libexe |
--libex |
--libe)
439 ac_prev
=libexecdir
;;
440 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
441 |
--libexe=* |
--libex=* |
--libe=*)
442 libexecdir
=$ac_optarg ;;
444 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
445 |
--localstate |
--localstat |
--localsta |
--localst \
446 |
--locals |
--local |
--loca |
--loc |
--lo)
447 ac_prev
=localstatedir
;;
448 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
449 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
450 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
451 localstatedir
=$ac_optarg ;;
453 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
455 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
459 # Obsolete; use --without-fp.
462 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
463 |
--no-cr |
--no-c |
-n)
466 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
467 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
470 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
471 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
472 |
--oldin |
--oldi |
--old |
--ol |
--o)
473 ac_prev
=oldincludedir
;;
474 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
475 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
476 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
477 oldincludedir
=$ac_optarg ;;
479 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
481 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
484 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
485 |
--program-pre |
--program-pr |
--program-p)
486 ac_prev
=program_prefix
;;
487 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
488 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
489 program_prefix
=$ac_optarg ;;
491 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
492 |
--program-suf |
--program-su |
--program-s)
493 ac_prev
=program_suffix
;;
494 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
495 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
496 program_suffix
=$ac_optarg ;;
498 -program-transform-name |
--program-transform-name \
499 |
--program-transform-nam |
--program-transform-na \
500 |
--program-transform-n |
--program-transform- \
501 |
--program-transform |
--program-transfor \
502 |
--program-transfo |
--program-transf \
503 |
--program-trans |
--program-tran \
504 |
--progr-tra |
--program-tr |
--program-t)
505 ac_prev
=program_transform_name
;;
506 -program-transform-name=* |
--program-transform-name=* \
507 |
--program-transform-nam=* |
--program-transform-na=* \
508 |
--program-transform-n=* |
--program-transform-=* \
509 |
--program-transform=* |
--program-transfor=* \
510 |
--program-transfo=* |
--program-transf=* \
511 |
--program-trans=* |
--program-tran=* \
512 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
513 program_transform_name
=$ac_optarg ;;
515 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
516 |
-silent |
--silent |
--silen |
--sile |
--sil)
519 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
521 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
523 sbindir
=$ac_optarg ;;
525 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
526 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
527 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
529 ac_prev
=sharedstatedir
;;
530 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
531 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
532 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
534 sharedstatedir
=$ac_optarg ;;
536 -site |
--site |
--sit)
538 -site=* |
--site=* |
--sit=*)
541 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
543 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
546 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
547 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
548 ac_prev
=sysconfdir
;;
549 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
550 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
551 sysconfdir
=$ac_optarg ;;
553 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
554 ac_prev
=target_alias
;;
555 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
556 target_alias
=$ac_optarg ;;
558 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
561 -version |
--version |
--versio |
--versi |
--vers |
-V)
565 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
566 # Reject names that are not valid shell variable names.
567 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
568 { echo "$as_me: error: invalid package name: $ac_package" >&2
569 { (exit 1); exit 1; }; }
570 ac_package
=`echo $ac_package| sed 's/-/_/g'`
572 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
575 eval "with_$ac_package='$ac_optarg'" ;;
577 -without-* |
--without-*)
578 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
579 # Reject names that are not valid shell variable names.
580 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
581 { echo "$as_me: error: invalid package name: $ac_package" >&2
582 { (exit 1); exit 1; }; }
583 ac_package
=`echo $ac_package | sed 's/-/_/g'`
584 eval "with_$ac_package=no" ;;
587 # Obsolete; use --with-x.
590 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
591 |
--x-incl |
--x-inc |
--x-in |
--x-i)
592 ac_prev
=x_includes
;;
593 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
594 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
595 x_includes
=$ac_optarg ;;
597 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
598 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
599 ac_prev
=x_libraries
;;
600 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
601 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
602 x_libraries
=$ac_optarg ;;
604 -*) { echo "$as_me: error: unrecognized option: $ac_option
605 Try \`$0 --help' for more information." >&2
606 { (exit 1); exit 1; }; }
610 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
611 # Reject names that are not valid shell variable names.
612 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
613 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
614 { (exit 1); exit 1; }; }
615 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
616 eval "$ac_envvar='$ac_optarg'"
620 # FIXME: should be removed in autoconf 3.0.
621 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
622 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
623 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
624 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
630 if test -n "$ac_prev"; then
631 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
632 { echo "$as_me: error: missing argument to $ac_option" >&2
633 { (exit 1); exit 1; }; }
636 # Be sure to have absolute paths.
637 for ac_var
in exec_prefix prefix
639 eval ac_val
=$
`echo $ac_var`
641 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
642 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
643 { (exit 1); exit 1; }; };;
647 # Be sure to have absolute paths.
648 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
649 localstatedir libdir includedir oldincludedir infodir mandir
651 eval ac_val
=$
`echo $ac_var`
653 [\\/$
]* | ?
:[\\/]* ) ;;
654 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
655 { (exit 1); exit 1; }; };;
659 # There might be people who depend on the old broken behavior: `$host'
660 # used to hold the argument of --host etc.
661 # FIXME: To remove some day.
666 # FIXME: To remove some day.
667 if test "x$host_alias" != x
; then
668 if test "x$build_alias" = x
; then
669 cross_compiling
=maybe
670 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
671 If a cross compiler is detected then cross compile mode will be used." >&2
672 elif test "x$build_alias" != "x$host_alias"; then
678 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
680 test "$silent" = yes && exec 6>/dev
/null
683 # Find the source files, if location was not specified.
684 if test -z "$srcdir"; then
685 ac_srcdir_defaulted
=yes
686 # Try the directory containing this script, then its parent.
687 ac_confdir
=`(dirname "$0") 2>/dev/null ||
688 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
689 X"$0" : 'X\(//\)[^/]' \| \
690 X"$0" : 'X\(//\)$' \| \
691 X"$0" : 'X\(/\)' \| \
692 . : '\(.\)' 2>/dev/null ||
694 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
695 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
696 /^X\(\/\/\)$/{ s//\1/; q; }
697 /^X\(\/\).*/{ s//\1/; q; }
700 if test ! -r $srcdir/$ac_unique_file; then
704 ac_srcdir_defaulted
=no
706 if test ! -r $srcdir/$ac_unique_file; then
707 if test "$ac_srcdir_defaulted" = yes; then
708 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
709 { (exit 1); exit 1; }; }
711 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
712 { (exit 1); exit 1; }; }
715 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
716 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
717 { (exit 1); exit 1; }; }
718 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
719 ac_env_build_alias_set
=${build_alias+set}
720 ac_env_build_alias_value
=$build_alias
721 ac_cv_env_build_alias_set
=${build_alias+set}
722 ac_cv_env_build_alias_value
=$build_alias
723 ac_env_host_alias_set
=${host_alias+set}
724 ac_env_host_alias_value
=$host_alias
725 ac_cv_env_host_alias_set
=${host_alias+set}
726 ac_cv_env_host_alias_value
=$host_alias
727 ac_env_target_alias_set
=${target_alias+set}
728 ac_env_target_alias_value
=$target_alias
729 ac_cv_env_target_alias_set
=${target_alias+set}
730 ac_cv_env_target_alias_value
=$target_alias
731 ac_env_CC_set
=${CC+set}
733 ac_cv_env_CC_set
=${CC+set}
734 ac_cv_env_CC_value
=$CC
735 ac_env_CFLAGS_set
=${CFLAGS+set}
736 ac_env_CFLAGS_value
=$CFLAGS
737 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
738 ac_cv_env_CFLAGS_value
=$CFLAGS
739 ac_env_LDFLAGS_set
=${LDFLAGS+set}
740 ac_env_LDFLAGS_value
=$LDFLAGS
741 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
742 ac_cv_env_LDFLAGS_value
=$LDFLAGS
743 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
744 ac_env_CPPFLAGS_value
=$CPPFLAGS
745 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
746 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
749 # Report the --help message.
751 if test "$ac_init_help" = "long"; then
752 # Omit some internal or obsolete options to make the list less imposing.
753 # This message is too long to be a string in the A/UX 3.1 sh.
755 \`configure' configures this package to adapt to many kinds of systems.
757 Usage: $0 [OPTION]... [VAR=VALUE]...
759 To assign environment variables (e.g., CC, CFLAGS...), specify them as
760 VAR=VALUE. See below for descriptions of some of the useful variables.
762 Defaults for the options are specified in brackets.
765 -h, --help display this help and exit
766 --help=short display options specific to this package
767 --help=recursive display the short help of all the included packages
768 -V, --version display version information and exit
769 -q, --quiet, --silent do not print \`checking...' messages
770 --cache-file=FILE cache test results in FILE [disabled]
771 -C, --config-cache alias for \`--cache-file=config.cache'
772 -n, --no-create do not create output files
773 --srcdir=DIR find the sources in DIR [configure dir or \`..']
778 Installation directories:
779 --prefix=PREFIX install architecture-independent files in PREFIX
781 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
784 By default, \`make install' will install all the files in
785 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
786 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
787 for instance \`--prefix=\$HOME'.
789 For better control, use the options below.
791 Fine tuning of the installation directories:
792 --bindir=DIR user executables [EPREFIX/bin]
793 --sbindir=DIR system admin executables [EPREFIX/sbin]
794 --libexecdir=DIR program executables [EPREFIX/libexec]
795 --datadir=DIR read-only architecture-independent data [PREFIX/share]
796 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
797 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
798 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
799 --libdir=DIR object code libraries [EPREFIX/lib]
800 --includedir=DIR C header files [PREFIX/include]
801 --oldincludedir=DIR C header files for non-gcc [/usr/include]
802 --infodir=DIR info documentation [PREFIX/info]
803 --mandir=DIR man documentation [PREFIX/man]
809 --program-prefix=PREFIX prepend PREFIX to installed program names
810 --program-suffix=SUFFIX append SUFFIX to installed program names
811 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
814 --build=BUILD configure
for building on BUILD
[guessed
]
815 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
816 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
820 if test -n "$ac_init_help"; then
825 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
826 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
829 Some influential environment variables
:
830 CC C compiler
command
831 CFLAGS C compiler flags
832 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
833 nonstandard directory
<lib dir
>
834 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
835 headers
in a nonstandard directory
<include dir
>
837 Use these variables to override the choices made by
`configure' or to help
838 it to find libraries and programs with nonstandard names/locations.
843 if test "$ac_init_help" = "recursive"; then
844 # If there are subdirs, report their specific --help.
846 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
847 test -d $ac_dir || continue
850 if test "$ac_dir" != .; then
851 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
852 # A "../" for each directory in $ac_dir_suffix.
853 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
855 ac_dir_suffix= ac_top_builddir=
859 .) # No --srcdir option. We are building in place.
861 if test -z "$ac_top_builddir"; then
864 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
866 [\\/]* | ?:[\\/]* ) # Absolute path.
867 ac_srcdir=$srcdir$ac_dir_suffix;
868 ac_top_srcdir=$srcdir ;;
870 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
871 ac_top_srcdir=$ac_top_builddir$srcdir ;;
874 # Do not use `cd foo
&& pwd` to compute absolute paths, because
875 # the directories may not exist.
877 .) ac_abs_builddir="$ac_dir";;
880 .) ac_abs_builddir=`pwd`;;
881 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
882 *) ac_abs_builddir=`pwd`/"$ac_dir";;
885 case $ac_abs_builddir in
886 .) ac_abs_top_builddir=${ac_top_builddir}.;;
888 case ${ac_top_builddir}. in
889 .) ac_abs_top_builddir=$ac_abs_builddir;;
890 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
891 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
894 case $ac_abs_builddir in
895 .) ac_abs_srcdir=$ac_srcdir;;
898 .) ac_abs_srcdir=$ac_abs_builddir;;
899 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
900 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
903 case $ac_abs_builddir in
904 .) ac_abs_top_srcdir=$ac_top_srcdir;;
906 case $ac_top_srcdir in
907 .) ac_abs_top_srcdir=$ac_abs_builddir;;
908 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
909 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
914 # Check for guested configure; otherwise get Cygnus style configure.
915 if test -f $ac_srcdir/configure.gnu; then
917 $SHELL $ac_srcdir/configure.gnu --help=recursive
918 elif test -f $ac_srcdir/configure; then
920 $SHELL $ac_srcdir/configure --help=recursive
921 elif test -f $ac_srcdir/configure.ac ||
922 test -f $ac_srcdir/configure.in; then
926 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
932 test -n "$ac_init_help" && exit 0
933 if $ac_init_version; then
936 Copyright (C) 2003 Free Software Foundation, Inc.
937 This configure script is free software; the Free Software Foundation
938 gives unlimited permission to copy, distribute and modify it.
944 This file contains any messages produced by compilers while
945 running configure, to aid debugging if configure makes a mistake.
947 It was created by $as_me, which was
948 generated by GNU Autoconf 2.59. Invocation command line was
959 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
960 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
961 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
962 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
963 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
965 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
966 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
968 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
969 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
970 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
971 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
972 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
973 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
974 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
982 test -z "$as_dir" && as_dir=.
998 # Keep a trace of the command line.
999 # Strip out --no-create and --no-recursion so they do not pile up.
1000 # Strip out --silent because we don't want to record it for future runs.
1001 # Also quote any args containing shell meta-characters.
1002 # Make two passes to allow for proper duplicate-argument suppression.
1007 ac_must_keep_next=false
1013 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1014 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1015 | -silent | --silent | --silen | --sile | --sil)
1017 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1018 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1021 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1023 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1024 if test $ac_must_keep_next = true; then
1025 ac_must_keep_next=false # Got value, back to normal.
1028 *=* | --config-cache | -C | -disable-* | --disable-* \
1029 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1030 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1031 | -with-* | --with-* | -without-* | --without-* | --x)
1032 case "$ac_configure_args0 " in
1033 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1036 -* ) ac_must_keep_next=true ;;
1039 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1040 # Get rid of the leading space.
1046 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1047 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1049 # When interrupted or exit'd, cleanup temporary files, and complete
1050 # config.log. We remove comments because anyway the quotes in there
1051 # would cause problems or look ugly.
1052 # WARNING: Be sure not to use single quotes in there, as some shells,
1053 # such as our DU 5.0 friend, will then `close
' the trap.
1054 trap 'exit_status
=$?
1055 # Save into config.log some information that might help in debugging.
1060 ## ---------------- ##
1061 ## Cache variables. ##
1062 ## ---------------- ##
1065 # The following way of writing the cache mishandles newlines in values,
1068 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1071 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1072 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1076 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1083 ## ----------------- ##
1084 ## Output variables. ##
1085 ## ----------------- ##
1088 for ac_var
in $ac_subst_vars
1090 eval ac_val
=$
`echo $ac_var`
1091 echo "$ac_var='"'"'$ac_val'"'"'"
1095 if test -n "$ac_subst_files"; then
1102 for ac_var
in $ac_subst_files
1104 eval ac_val
=$
`echo $ac_var`
1105 echo "$ac_var='"'"'$ac_val'"'"'"
1110 if test -s confdefs.h
; then
1117 sed "/^$/d" confdefs.h |
sort
1120 test "$ac_signal" != 0 &&
1121 echo "$as_me: caught signal $ac_signal"
1122 echo "$as_me: exit $exit_status"
1124 rm -f core
*.core
&&
1125 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1128 for ac_signal in 1 2 13 15; do
1129 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1133 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1134 rm -rf conftest* confdefs.h
1135 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1138 # Predefined preprocessor variables.
1140 cat >>confdefs.h <<_ACEOF
1141 #define PACKAGE_NAME "$PACKAGE_NAME"
1145 cat >>confdefs.h <<_ACEOF
1146 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1150 cat >>confdefs.h <<_ACEOF
1151 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1155 cat >>confdefs.h <<_ACEOF
1156 #define PACKAGE_STRING "$PACKAGE_STRING"
1160 cat >>confdefs.h <<_ACEOF
1161 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1165 # Let the site file select an alternate cache file if it wants to.
1166 # Prefer explicitly selected file to automatically selected ones.
1167 if test -z "$CONFIG_SITE"; then
1168 if test "x$prefix" != xNONE; then
1169 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1171 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1174 for ac_site_file in $CONFIG_SITE; do
1175 if test -r "$ac_site_file"; then
1176 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1177 echo "$as_me: loading site script $ac_site_file" >&6;}
1178 sed 's
/^
/|
/' "$ac_site_file" >&5
1183 if test -r "$cache_file"; then
1184 # Some versions of bash will fail to source /dev/null (special
1185 # files actually), so we avoid doing that.
1186 if test -f "$cache_file"; then
1187 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1188 echo "$as_me: loading cache $cache_file" >&6;}
1190 [\\/]* | ?:[\\/]* ) . $cache_file;;
1191 *) . ./$cache_file;;
1195 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1196 echo "$as_me: creating cache $cache_file" >&6;}
1200 # Check that the precious variables saved in the cache have kept the same
1202 ac_cache_corrupted=false
1203 for ac_var in `(set) 2>&1 |
1204 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1205 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1206 eval ac_new_set=\$ac_env_${ac_var}_set
1207 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1208 eval ac_new_val="\$ac_env_${ac_var}_value"
1209 case $ac_old_set,$ac_new_set in
1211 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1212 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1213 ac_cache_corrupted=: ;;
1215 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1216 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1217 ac_cache_corrupted=: ;;
1220 if test "x$ac_old_val" != "x$ac_new_val"; then
1221 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1222 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1223 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1224 echo "$as_me: former value: $ac_old_val" >&2;}
1225 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1226 echo "$as_me: current value: $ac_new_val" >&2;}
1227 ac_cache_corrupted=:
1230 # Pass precious variables to config.status.
1231 if test "$ac_new_set" = set; then
1233 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1234 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1235 *) ac_arg=$ac_var=$ac_new_val ;;
1237 case " $ac_configure_args " in
1238 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1239 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1243 if $ac_cache_corrupted; then
1244 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1245 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1246 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1247 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1248 { (exit 1); exit 1; }; }
1252 ac_cpp='$CPP $CPPFLAGS'
1253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1254 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1277 ac_cpp='$CPP $CPPFLAGS'
1278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1279 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1281 if test -n "$ac_tool_prefix"; then
1282 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1283 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1284 echo "$as_me:$LINENO: checking for $ac_word" >&5
1285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1286 if test "${ac_cv_prog_CC+set}" = set; then
1287 echo $ECHO_N "(cached) $ECHO_C" >&6
1289 if test -n "$CC"; then
1290 ac_cv_prog_CC="$CC" # Let the user override the test.
1292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1296 test -z "$as_dir" && as_dir=.
1297 for ac_exec_ext in '' $ac_executable_extensions; do
1298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1299 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1309 if test -n "$CC"; then
1310 echo "$as_me:$LINENO: result: $CC" >&5
1311 echo "${ECHO_T}$CC" >&6
1313 echo "$as_me:$LINENO: result: no" >&5
1314 echo "${ECHO_T}no" >&6
1318 if test -z "$ac_cv_prog_CC"; then
1320 # Extract the first word of "gcc", so it can be a program name with args.
1321 set dummy gcc; ac_word=$2
1322 echo "$as_me:$LINENO: checking for $ac_word" >&5
1323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1324 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1325 echo $ECHO_N "(cached) $ECHO_C" >&6
1327 if test -n "$ac_ct_CC"; then
1328 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1334 test -z "$as_dir" && as_dir=.
1335 for ac_exec_ext in '' $ac_executable_extensions; do
1336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1337 ac_cv_prog_ac_ct_CC="gcc"
1338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1346 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1347 if test -n "$ac_ct_CC"; then
1348 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1349 echo "${ECHO_T}$ac_ct_CC" >&6
1351 echo "$as_me:$LINENO: result: no" >&5
1352 echo "${ECHO_T}no" >&6
1360 if test -z "$CC"; then
1361 if test -n "$ac_tool_prefix"; then
1362 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1363 set dummy ${ac_tool_prefix}cc; ac_word=$2
1364 echo "$as_me:$LINENO: checking for $ac_word" >&5
1365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1366 if test "${ac_cv_prog_CC+set}" = set; then
1367 echo $ECHO_N "(cached) $ECHO_C" >&6
1369 if test -n "$CC"; then
1370 ac_cv_prog_CC="$CC" # Let the user override the test.
1372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1376 test -z "$as_dir" && as_dir=.
1377 for ac_exec_ext in '' $ac_executable_extensions; do
1378 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1379 ac_cv_prog_CC="${ac_tool_prefix}cc"
1380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1389 if test -n "$CC"; then
1390 echo "$as_me:$LINENO: result: $CC" >&5
1391 echo "${ECHO_T}$CC" >&6
1393 echo "$as_me:$LINENO: result: no" >&5
1394 echo "${ECHO_T}no" >&6
1398 if test -z "$ac_cv_prog_CC"; then
1400 # Extract the first word of "cc", so it can be a program name with args.
1401 set dummy cc; ac_word=$2
1402 echo "$as_me:$LINENO: checking for $ac_word" >&5
1403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1404 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1405 echo $ECHO_N "(cached) $ECHO_C" >&6
1407 if test -n "$ac_ct_CC"; then
1408 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1414 test -z "$as_dir" && as_dir=.
1415 for ac_exec_ext in '' $ac_executable_extensions; do
1416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1417 ac_cv_prog_ac_ct_CC="cc"
1418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1426 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1427 if test -n "$ac_ct_CC"; then
1428 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1429 echo "${ECHO_T}$ac_ct_CC" >&6
1431 echo "$as_me:$LINENO: result: no" >&5
1432 echo "${ECHO_T}no" >&6
1441 if test -z "$CC"; then
1442 # Extract the first word of "cc", so it can be a program name with args.
1443 set dummy cc; ac_word=$2
1444 echo "$as_me:$LINENO: checking for $ac_word" >&5
1445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1446 if test "${ac_cv_prog_CC+set}" = set; then
1447 echo $ECHO_N "(cached) $ECHO_C" >&6
1449 if test -n "$CC"; then
1450 ac_cv_prog_CC="$CC" # Let the user override the test.
1453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1457 test -z "$as_dir" && as_dir=.
1458 for ac_exec_ext in '' $ac_executable_extensions; do
1459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1460 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1461 ac_prog_rejected=yes
1465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1471 if test $ac_prog_rejected = yes; then
1472 # We found a bogon in the path, so make sure we never use it.
1473 set dummy $ac_cv_prog_CC
1475 if test $# != 0; then
1476 # We chose a different compiler from the bogus one.
1477 # However, it has the same basename, so the bogon will be chosen
1478 # first if we set CC to just the basename; use the full file name.
1480 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1486 if test -n "$CC"; then
1487 echo "$as_me:$LINENO: result: $CC" >&5
1488 echo "${ECHO_T}$CC" >&6
1490 echo "$as_me:$LINENO: result: no" >&5
1491 echo "${ECHO_T}no" >&6
1495 if test -z "$CC"; then
1496 if test -n "$ac_tool_prefix"; then
1499 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1500 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1501 echo "$as_me:$LINENO: checking for $ac_word" >&5
1502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1503 if test "${ac_cv_prog_CC+set}" = set; then
1504 echo $ECHO_N "(cached) $ECHO_C" >&6
1506 if test -n "$CC"; then
1507 ac_cv_prog_CC="$CC" # Let the user override the test.
1509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1513 test -z "$as_dir" && as_dir=.
1514 for ac_exec_ext in '' $ac_executable_extensions; do
1515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1516 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1526 if test -n "$CC"; then
1527 echo "$as_me:$LINENO: result: $CC" >&5
1528 echo "${ECHO_T}$CC" >&6
1530 echo "$as_me:$LINENO: result: no" >&5
1531 echo "${ECHO_T}no" >&6
1534 test -n "$CC" && break
1537 if test -z "$CC"; then
1541 # Extract the first word of "$ac_prog", so it can be a program name with args.
1542 set dummy $ac_prog; ac_word=$2
1543 echo "$as_me:$LINENO: checking for $ac_word" >&5
1544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1545 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1546 echo $ECHO_N "(cached) $ECHO_C" >&6
1548 if test -n "$ac_ct_CC"; then
1549 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1555 test -z "$as_dir" && as_dir=.
1556 for ac_exec_ext in '' $ac_executable_extensions; do
1557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1558 ac_cv_prog_ac_ct_CC="$ac_prog"
1559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1567 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1568 if test -n "$ac_ct_CC"; then
1569 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1570 echo "${ECHO_T}$ac_ct_CC" >&6
1572 echo "$as_me:$LINENO: result: no" >&5
1573 echo "${ECHO_T}no" >&6
1576 test -n "$ac_ct_CC" && break
1585 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1586 See \`config.log' for more details.
" >&5
1587 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1588 See \
`config.log' for more details." >&2;}
1589 { (exit 1); exit 1; }; }
1591 # Provide some information about the compiler.
1592 echo "$as_me:$LINENO:" \
1593 "checking for C compiler version" >&5
1594 ac_compiler=`set X
$ac_compile; echo $2`
1595 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1596 (eval $ac_compiler --version </dev/null >&5) 2>&5
1598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1599 (exit $ac_status); }
1600 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1601 (eval $ac_compiler -v </dev/null >&5) 2>&5
1603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1604 (exit $ac_status); }
1605 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1606 (eval $ac_compiler -V </dev/null >&5) 2>&5
1608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1609 (exit $ac_status); }
1611 cat >conftest.$ac_ext <<_ACEOF
1614 cat confdefs.h >>conftest.$ac_ext
1615 cat >>conftest.$ac_ext <<_ACEOF
1616 /* end confdefs.h. */
1626 ac_clean_files_save=$ac_clean_files
1627 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1628 # Try to create an executable without -o first, disregard a.out.
1629 # It will help us diagnose broken compilers, and finding out an intuition
1631 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1632 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1633 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1634 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1635 (eval $ac_link_default) 2>&5
1637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1638 (exit $ac_status); }; then
1639 # Find the output, starting from the most likely. This scheme is
1640 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1643 # Be careful to initialize this variable, since it used to be cached.
1644 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1646 # b.out is created by i960 compilers.
1647 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1649 test -f "$ac_file" || continue
1651 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1654 # This is the source file.
1657 # We found the default executable, but exeext='' is most
1661 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1662 # FIXME: I believe we export ac_cv_exeext for Libtool,
1663 # but it would be cool to find out if it's true. Does anybody
1664 # maintain Libtool? --akim.
1672 echo "$as_me: failed program was:" >&5
1673 sed 's/^/| /' conftest.$ac_ext >&5
1675 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1676 See \`config.log
' for more details." >&5
1677 echo "$as_me: error: C compiler cannot create executables
1678 See \`config.log' for more details.
" >&2;}
1679 { (exit 77); exit 77; }; }
1682 ac_exeext=$ac_cv_exeext
1683 echo "$as_me:$LINENO: result
: $ac_file" >&5
1684 echo "${ECHO_T}$ac_file" >&6
1686 # Check the compiler produces executables we can run. If not, either
1687 # the compiler is broken, or we cross compile.
1688 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1689 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1690 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1691 # If not cross compiling, check that we can run a simple program.
1692 if test "$cross_compiling" != yes; then
1693 if { ac_try='./$ac_file'
1694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1697 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1698 (exit $ac_status); }; }; then
1701 if test "$cross_compiling" = maybe; then
1704 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1705 If you meant to cross compile
, use \
`--host'.
1706 See \`config.log
' for more details." >&5
1707 echo "$as_me: error: cannot run C compiled programs.
1708 If you meant to cross compile, use \`--host'.
1709 See \
`config.log' for more details." >&2;}
1710 { (exit 1); exit 1; }; }
1714 echo "$as_me:$LINENO: result: yes" >&5
1715 echo "${ECHO_T}yes" >&6
1717 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1718 ac_clean_files=$ac_clean_files_save
1719 # Check the compiler produces executables we can run. If not, either
1720 # the compiler is broken, or we cross compile.
1721 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1722 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1723 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1724 echo "${ECHO_T}$cross_compiling" >&6
1726 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1727 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1729 (eval $ac_link) 2>&5
1731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1732 (exit $ac_status); }; then
1733 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1734 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1735 # work properly (i.e., refer to `conftest.exe'), while it won't with
1737 for ac_file
in conftest.exe conftest conftest.
*; do
1738 test -f "$ac_file" ||
continue
1740 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1741 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1748 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1749 See \`config.log' for more details." >&5
1750 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1751 See \`config.log' for more details." >&2;}
1752 { (exit 1); exit 1; }; }
1755 rm -f conftest
$ac_cv_exeext
1756 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1757 echo "${ECHO_T}$ac_cv_exeext" >&6
1759 rm -f conftest.
$ac_ext
1760 EXEEXT
=$ac_cv_exeext
1762 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1763 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1764 if test "${ac_cv_objext+set}" = set; then
1765 echo $ECHO_N "(cached) $ECHO_C" >&6
1767 cat >conftest.
$ac_ext <<_ACEOF
1770 cat confdefs.h
>>conftest.
$ac_ext
1771 cat >>conftest.
$ac_ext <<_ACEOF
1772 /* end confdefs.h. */
1782 rm -f conftest.o conftest.obj
1783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1784 (eval $ac_compile) 2>&5
1786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1787 (exit $ac_status); }; then
1788 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1790 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1791 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1796 echo "$as_me: failed program was:" >&5
1797 sed 's/^/| /' conftest.
$ac_ext >&5
1799 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1800 See \`config.log' for more details." >&5
1801 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1802 See \`config.log' for more details." >&2;}
1803 { (exit 1); exit 1; }; }
1806 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1808 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1809 echo "${ECHO_T}$ac_cv_objext" >&6
1810 OBJEXT
=$ac_cv_objext
1812 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1813 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1814 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1815 echo $ECHO_N "(cached) $ECHO_C" >&6
1817 cat >conftest.
$ac_ext <<_ACEOF
1820 cat confdefs.h
>>conftest.
$ac_ext
1821 cat >>conftest.
$ac_ext <<_ACEOF
1822 /* end confdefs.h. */
1835 rm -f conftest.
$ac_objext
1836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1837 (eval $ac_compile) 2>conftest.er1
1839 grep -v '^ *+' conftest.er1
>conftest.err
1841 cat conftest.err
>&5
1842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1843 (exit $ac_status); } &&
1844 { ac_try
='test -z "$ac_c_werror_flag"
1845 || test ! -s conftest.err'
1846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1850 (exit $ac_status); }; } &&
1851 { ac_try
='test -s conftest.$ac_objext'
1852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1856 (exit $ac_status); }; }; then
1859 echo "$as_me: failed program was:" >&5
1860 sed 's/^/| /' conftest.
$ac_ext >&5
1864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1865 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1868 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1869 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1870 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1871 ac_test_CFLAGS
=${CFLAGS+set}
1872 ac_save_CFLAGS
=$CFLAGS
1874 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1875 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1876 if test "${ac_cv_prog_cc_g+set}" = set; then
1877 echo $ECHO_N "(cached) $ECHO_C" >&6
1879 cat >conftest.
$ac_ext <<_ACEOF
1882 cat confdefs.h
>>conftest.
$ac_ext
1883 cat >>conftest.
$ac_ext <<_ACEOF
1884 /* end confdefs.h. */
1894 rm -f conftest.
$ac_objext
1895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1896 (eval $ac_compile) 2>conftest.er1
1898 grep -v '^ *+' conftest.er1
>conftest.err
1900 cat conftest.err
>&5
1901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1902 (exit $ac_status); } &&
1903 { ac_try
='test -z "$ac_c_werror_flag"
1904 || test ! -s conftest.err'
1905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1909 (exit $ac_status); }; } &&
1910 { ac_try
='test -s conftest.$ac_objext'
1911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1915 (exit $ac_status); }; }; then
1918 echo "$as_me: failed program was:" >&5
1919 sed 's/^/| /' conftest.
$ac_ext >&5
1923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1925 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1926 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1927 if test "$ac_test_CFLAGS" = set; then
1928 CFLAGS
=$ac_save_CFLAGS
1929 elif test $ac_cv_prog_cc_g = yes; then
1930 if test "$GCC" = yes; then
1936 if test "$GCC" = yes; then
1942 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1943 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1944 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1945 echo $ECHO_N "(cached) $ECHO_C" >&6
1947 ac_cv_prog_cc_stdc
=no
1949 cat >conftest.
$ac_ext <<_ACEOF
1952 cat confdefs.h
>>conftest.
$ac_ext
1953 cat >>conftest.
$ac_ext <<_ACEOF
1954 /* end confdefs.h. */
1957 #include <sys/types.h>
1958 #include <sys/stat.h>
1959 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1960 struct buf { int x; };
1961 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1962 static char *e (p, i)
1968 static char *f (char * (*g) (char **, int), char **p, ...)
1973 s = g (p, va_arg (v,int));
1978 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1979 function prototypes and stuff, but not '\xHH' hex character constants.
1980 These don't provoke an error unfortunately, instead are silently treated
1981 as 'x'. The following induces an error, until -std1 is added to get
1982 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1983 array size at least. It's necessary to write '\x00'==0 to get something
1984 that's true only with -std1. */
1985 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1987 int test (int i, double x);
1988 struct s1 {int (*f) (int a);};
1989 struct s2 {int (*f) (double a);};
1990 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1996 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2001 # Don't try gcc -ansi; that turns off useful extensions and
2002 # breaks some systems' header files.
2003 # AIX -qlanglvl=ansi
2004 # Ultrix and OSF/1 -std1
2005 # HP-UX 10.20 and later -Ae
2006 # HP-UX older versions -Aa -D_HPUX_SOURCE
2007 # SVR4 -Xc -D__EXTENSIONS__
2008 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2010 CC
="$ac_save_CC $ac_arg"
2011 rm -f conftest.
$ac_objext
2012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2013 (eval $ac_compile) 2>conftest.er1
2015 grep -v '^ *+' conftest.er1
>conftest.err
2017 cat conftest.err
>&5
2018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2019 (exit $ac_status); } &&
2020 { ac_try
='test -z "$ac_c_werror_flag"
2021 || test ! -s conftest.err'
2022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2026 (exit $ac_status); }; } &&
2027 { ac_try
='test -s conftest.$ac_objext'
2028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2032 (exit $ac_status); }; }; then
2033 ac_cv_prog_cc_stdc
=$ac_arg
2036 echo "$as_me: failed program was:" >&5
2037 sed 's/^/| /' conftest.
$ac_ext >&5
2040 rm -f conftest.err conftest.
$ac_objext
2042 rm -f conftest.
$ac_ext conftest.
$ac_objext
2047 case "x$ac_cv_prog_cc_stdc" in
2049 echo "$as_me:$LINENO: result: none needed" >&5
2050 echo "${ECHO_T}none needed" >&6 ;;
2052 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2053 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2054 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2057 # Some people use a C++ compiler to compile C. Since we use `exit',
2058 # in C++ we need to declare it. In case someone uses the same compiler
2059 # for both compiling C and C++ we need to have the C++ compiler decide
2060 # the declaration of exit, since it's the most demanding environment.
2061 cat >conftest.
$ac_ext <<_ACEOF
2066 rm -f conftest.
$ac_objext
2067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2068 (eval $ac_compile) 2>conftest.er1
2070 grep -v '^ *+' conftest.er1
>conftest.err
2072 cat conftest.err
>&5
2073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2074 (exit $ac_status); } &&
2075 { ac_try
='test -z "$ac_c_werror_flag"
2076 || test ! -s conftest.err'
2077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2081 (exit $ac_status); }; } &&
2082 { ac_try
='test -s conftest.$ac_objext'
2083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2087 (exit $ac_status); }; }; then
2088 for ac_declaration
in \
2090 'extern "C" void std::exit (int) throw (); using std::exit;' \
2091 'extern "C" void std::exit (int); using std::exit;' \
2092 'extern "C" void exit (int) throw ();' \
2093 'extern "C" void exit (int);' \
2096 cat >conftest.
$ac_ext <<_ACEOF
2099 cat confdefs.h
>>conftest.
$ac_ext
2100 cat >>conftest.
$ac_ext <<_ACEOF
2101 /* end confdefs.h. */
2112 rm -f conftest.
$ac_objext
2113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2114 (eval $ac_compile) 2>conftest.er1
2116 grep -v '^ *+' conftest.er1
>conftest.err
2118 cat conftest.err
>&5
2119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2120 (exit $ac_status); } &&
2121 { ac_try
='test -z "$ac_c_werror_flag"
2122 || test ! -s conftest.err'
2123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2127 (exit $ac_status); }; } &&
2128 { ac_try
='test -s conftest.$ac_objext'
2129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2133 (exit $ac_status); }; }; then
2136 echo "$as_me: failed program was:" >&5
2137 sed 's/^/| /' conftest.
$ac_ext >&5
2141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2142 cat >conftest.
$ac_ext <<_ACEOF
2145 cat confdefs.h
>>conftest.
$ac_ext
2146 cat >>conftest.
$ac_ext <<_ACEOF
2147 /* end confdefs.h. */
2157 rm -f conftest.
$ac_objext
2158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2159 (eval $ac_compile) 2>conftest.er1
2161 grep -v '^ *+' conftest.er1
>conftest.err
2163 cat conftest.err
>&5
2164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2165 (exit $ac_status); } &&
2166 { ac_try
='test -z "$ac_c_werror_flag"
2167 || test ! -s conftest.err'
2168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2172 (exit $ac_status); }; } &&
2173 { ac_try
='test -s conftest.$ac_objext'
2174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2178 (exit $ac_status); }; }; then
2181 echo "$as_me: failed program was:" >&5
2182 sed 's/^/| /' conftest.
$ac_ext >&5
2185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2188 if test -n "$ac_declaration"; then
2189 echo '#ifdef __cplusplus' >>confdefs.h
2190 echo $ac_declaration >>confdefs.h
2191 echo '#endif' >>confdefs.h
2195 echo "$as_me: failed program was:" >&5
2196 sed 's/^/| /' conftest.
$ac_ext >&5
2199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2201 ac_cpp
='$CPP $CPPFLAGS'
2202 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2203 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2204 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2207 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
2208 if test -f $ac_dir/install-sh
; then
2210 ac_install_sh
="$ac_aux_dir/install-sh -c"
2212 elif test -f $ac_dir/install.sh
; then
2214 ac_install_sh
="$ac_aux_dir/install.sh -c"
2216 elif test -f $ac_dir/shtool
; then
2218 ac_install_sh
="$ac_aux_dir/shtool install -c"
2222 if test -z "$ac_aux_dir"; then
2223 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2224 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2225 { (exit 1); exit 1; }; }
2227 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
2228 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
2229 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2231 # Find a good install program. We prefer a C program (faster),
2232 # so one script is as good as another. But avoid the broken or
2233 # incompatible versions:
2234 # SysV /etc/install, /usr/sbin/install
2235 # SunOS /usr/etc/install
2236 # IRIX /sbin/install
2238 # AmigaOS /C/install, which installs bootblocks on floppy discs
2239 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2240 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2241 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2242 # OS/2's system install, which has a completely different semantic
2243 # ./install, which can be erroneously created by make from ./install.sh.
2244 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2245 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2246 if test -z "$INSTALL"; then
2247 if test "${ac_cv_path_install+set}" = set; then
2248 echo $ECHO_N "(cached) $ECHO_C" >&6
2250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2254 test -z "$as_dir" && as_dir
=.
2255 # Account for people who put trailing slashes in PATH elements.
2257 .
/ | .
// |
/cC
/* | \
2258 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2259 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2262 # OSF1 and SCO ODT 3.0 have their own names for install.
2263 # Don't use installbsd from OSF since it installs stuff as root
2265 for ac_prog
in ginstall scoinst
install; do
2266 for ac_exec_ext
in '' $ac_executable_extensions; do
2267 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2268 if test $ac_prog = install &&
2269 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2270 # AIX install. It has an incompatible calling convention.
2272 elif test $ac_prog = install &&
2273 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2274 # program-specific install script used by HP pwplus--don't use.
2277 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2289 if test "${ac_cv_path_install+set}" = set; then
2290 INSTALL
=$ac_cv_path_install
2292 # As a last resort, use the slow shell script. We don't cache a
2293 # path for INSTALL within a source directory, because that will
2294 # break other packages using the cache if that directory is
2295 # removed, or if the path is relative.
2296 INSTALL
=$ac_install_sh
2299 echo "$as_me:$LINENO: result: $INSTALL" >&5
2300 echo "${ECHO_T}$INSTALL" >&6
2302 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2303 # It thinks the first close brace ends the variable substitution.
2304 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2306 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2308 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2310 if test -n "$ac_tool_prefix"; then
2311 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2312 set dummy
${ac_tool_prefix}ar; ac_word
=$2
2313 echo "$as_me:$LINENO: checking for $ac_word" >&5
2314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2315 if test "${ac_cv_prog_AR+set}" = set; then
2316 echo $ECHO_N "(cached) $ECHO_C" >&6
2318 if test -n "$AR"; then
2319 ac_cv_prog_AR
="$AR" # Let the user override the test.
2321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2325 test -z "$as_dir" && as_dir
=.
2326 for ac_exec_ext
in '' $ac_executable_extensions; do
2327 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2328 ac_cv_prog_AR
="${ac_tool_prefix}ar"
2329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2338 if test -n "$AR"; then
2339 echo "$as_me:$LINENO: result: $AR" >&5
2340 echo "${ECHO_T}$AR" >&6
2342 echo "$as_me:$LINENO: result: no" >&5
2343 echo "${ECHO_T}no" >&6
2347 if test -z "$ac_cv_prog_AR"; then
2349 # Extract the first word of "ar", so it can be a program name with args.
2350 set dummy
ar; ac_word
=$2
2351 echo "$as_me:$LINENO: checking for $ac_word" >&5
2352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2353 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2354 echo $ECHO_N "(cached) $ECHO_C" >&6
2356 if test -n "$ac_ct_AR"; then
2357 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
2359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2363 test -z "$as_dir" && as_dir
=.
2364 for ac_exec_ext
in '' $ac_executable_extensions; do
2365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2366 ac_cv_prog_ac_ct_AR
="ar"
2367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2375 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
2376 if test -n "$ac_ct_AR"; then
2377 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2378 echo "${ECHO_T}$ac_ct_AR" >&6
2380 echo "$as_me:$LINENO: result: no" >&5
2381 echo "${ECHO_T}no" >&6
2389 if test -n "$ac_tool_prefix"; then
2390 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2391 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2392 echo "$as_me:$LINENO: checking for $ac_word" >&5
2393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2394 if test "${ac_cv_prog_RANLIB+set}" = set; then
2395 echo $ECHO_N "(cached) $ECHO_C" >&6
2397 if test -n "$RANLIB"; then
2398 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2404 test -z "$as_dir" && as_dir
=.
2405 for ac_exec_ext
in '' $ac_executable_extensions; do
2406 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2407 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2416 RANLIB
=$ac_cv_prog_RANLIB
2417 if test -n "$RANLIB"; then
2418 echo "$as_me:$LINENO: result: $RANLIB" >&5
2419 echo "${ECHO_T}$RANLIB" >&6
2421 echo "$as_me:$LINENO: result: no" >&5
2422 echo "${ECHO_T}no" >&6
2426 if test -z "$ac_cv_prog_RANLIB"; then
2427 ac_ct_RANLIB
=$RANLIB
2428 # Extract the first word of "ranlib", so it can be a program name with args.
2429 set dummy ranlib
; ac_word
=$2
2430 echo "$as_me:$LINENO: checking for $ac_word" >&5
2431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2432 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2433 echo $ECHO_N "(cached) $ECHO_C" >&6
2435 if test -n "$ac_ct_RANLIB"; then
2436 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2442 test -z "$as_dir" && as_dir
=.
2443 for ac_exec_ext
in '' $ac_executable_extensions; do
2444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2445 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2452 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2455 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2456 if test -n "$ac_ct_RANLIB"; then
2457 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2458 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2460 echo "$as_me:$LINENO: result: no" >&5
2461 echo "${ECHO_T}no" >&6
2464 RANLIB
=$ac_ct_RANLIB
2466 RANLIB
="$ac_cv_prog_RANLIB"
2470 # Make sure we can run config.sub.
2471 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2472 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2473 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2474 { (exit 1); exit 1; }; }
2476 echo "$as_me:$LINENO: checking build system type" >&5
2477 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2478 if test "${ac_cv_build+set}" = set; then
2479 echo $ECHO_N "(cached) $ECHO_C" >&6
2481 ac_cv_build_alias
=$build_alias
2482 test -z "$ac_cv_build_alias" &&
2483 ac_cv_build_alias
=`$ac_config_guess`
2484 test -z "$ac_cv_build_alias" &&
2485 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2486 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2487 { (exit 1); exit 1; }; }
2488 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2489 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2490 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2491 { (exit 1); exit 1; }; }
2494 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2495 echo "${ECHO_T}$ac_cv_build" >&6
2497 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2498 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2499 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2502 echo "$as_me:$LINENO: checking host system type" >&5
2503 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2504 if test "${ac_cv_host+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 ac_cv_host_alias
=$host_alias
2508 test -z "$ac_cv_host_alias" &&
2509 ac_cv_host_alias
=$ac_cv_build_alias
2510 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2511 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2512 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2513 { (exit 1); exit 1; }; }
2516 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2517 echo "${ECHO_T}$ac_cv_host" >&6
2519 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2520 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2521 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2524 echo "$as_me:$LINENO: checking target system type" >&5
2525 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2526 if test "${ac_cv_target+set}" = set; then
2527 echo $ECHO_N "(cached) $ECHO_C" >&6
2529 ac_cv_target_alias
=$target_alias
2530 test "x$ac_cv_target_alias" = "x" &&
2531 ac_cv_target_alias
=$ac_cv_host_alias
2532 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
2533 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2534 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2535 { (exit 1); exit 1; }; }
2538 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2539 echo "${ECHO_T}$ac_cv_target" >&6
2540 target
=$ac_cv_target
2541 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2542 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2543 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2546 # The aliases save the names the user supplied, while $host etc.
2547 # will get canonicalized.
2548 test -n "$target_alias" &&
2549 test "$program_prefix$program_suffix$program_transform_name" = \
2551 program_prefix
=${target_alias}-
2552 test "$program_prefix" != NONE
&&
2553 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2554 # Use a double $ so make ignores it.
2555 test "$program_suffix" != NONE
&&
2556 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2557 # Double any \ or $. echo might interpret backslashes.
2558 # By default was `s,x,x', remove it if useless.
2559 cat <<\_ACEOF
>conftest.
sed
2560 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2562 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2566 ac_cpp
='$CPP $CPPFLAGS'
2567 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2568 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2569 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2570 if test -n "$ac_tool_prefix"; then
2571 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2572 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2573 echo "$as_me:$LINENO: checking for $ac_word" >&5
2574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2575 if test "${ac_cv_prog_CC+set}" = set; then
2576 echo $ECHO_N "(cached) $ECHO_C" >&6
2578 if test -n "$CC"; then
2579 ac_cv_prog_CC
="$CC" # Let the user override the test.
2581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2585 test -z "$as_dir" && as_dir
=.
2586 for ac_exec_ext
in '' $ac_executable_extensions; do
2587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2588 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2598 if test -n "$CC"; then
2599 echo "$as_me:$LINENO: result: $CC" >&5
2600 echo "${ECHO_T}$CC" >&6
2602 echo "$as_me:$LINENO: result: no" >&5
2603 echo "${ECHO_T}no" >&6
2607 if test -z "$ac_cv_prog_CC"; then
2609 # Extract the first word of "gcc", so it can be a program name with args.
2610 set dummy gcc
; ac_word
=$2
2611 echo "$as_me:$LINENO: checking for $ac_word" >&5
2612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2613 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2614 echo $ECHO_N "(cached) $ECHO_C" >&6
2616 if test -n "$ac_ct_CC"; then
2617 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2623 test -z "$as_dir" && as_dir
=.
2624 for ac_exec_ext
in '' $ac_executable_extensions; do
2625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2626 ac_cv_prog_ac_ct_CC
="gcc"
2627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2635 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2636 if test -n "$ac_ct_CC"; then
2637 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2638 echo "${ECHO_T}$ac_ct_CC" >&6
2640 echo "$as_me:$LINENO: result: no" >&5
2641 echo "${ECHO_T}no" >&6
2649 if test -z "$CC"; then
2650 if test -n "$ac_tool_prefix"; then
2651 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2652 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2653 echo "$as_me:$LINENO: checking for $ac_word" >&5
2654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2655 if test "${ac_cv_prog_CC+set}" = set; then
2656 echo $ECHO_N "(cached) $ECHO_C" >&6
2658 if test -n "$CC"; then
2659 ac_cv_prog_CC
="$CC" # Let the user override the test.
2661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2665 test -z "$as_dir" && as_dir
=.
2666 for ac_exec_ext
in '' $ac_executable_extensions; do
2667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2668 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2678 if test -n "$CC"; then
2679 echo "$as_me:$LINENO: result: $CC" >&5
2680 echo "${ECHO_T}$CC" >&6
2682 echo "$as_me:$LINENO: result: no" >&5
2683 echo "${ECHO_T}no" >&6
2687 if test -z "$ac_cv_prog_CC"; then
2689 # Extract the first word of "cc", so it can be a program name with args.
2690 set dummy cc
; ac_word
=$2
2691 echo "$as_me:$LINENO: checking for $ac_word" >&5
2692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2693 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2694 echo $ECHO_N "(cached) $ECHO_C" >&6
2696 if test -n "$ac_ct_CC"; then
2697 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2703 test -z "$as_dir" && as_dir
=.
2704 for ac_exec_ext
in '' $ac_executable_extensions; do
2705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2706 ac_cv_prog_ac_ct_CC
="cc"
2707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2715 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2716 if test -n "$ac_ct_CC"; then
2717 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2718 echo "${ECHO_T}$ac_ct_CC" >&6
2720 echo "$as_me:$LINENO: result: no" >&5
2721 echo "${ECHO_T}no" >&6
2730 if test -z "$CC"; then
2731 # Extract the first word of "cc", so it can be a program name with args.
2732 set dummy cc
; ac_word
=$2
2733 echo "$as_me:$LINENO: checking for $ac_word" >&5
2734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2735 if test "${ac_cv_prog_CC+set}" = set; then
2736 echo $ECHO_N "(cached) $ECHO_C" >&6
2738 if test -n "$CC"; then
2739 ac_cv_prog_CC
="$CC" # Let the user override the test.
2742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2746 test -z "$as_dir" && as_dir
=.
2747 for ac_exec_ext
in '' $ac_executable_extensions; do
2748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2749 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2750 ac_prog_rejected
=yes
2754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2760 if test $ac_prog_rejected = yes; then
2761 # We found a bogon in the path, so make sure we never use it.
2762 set dummy
$ac_cv_prog_CC
2764 if test $# != 0; then
2765 # We chose a different compiler from the bogus one.
2766 # However, it has the same basename, so the bogon will be chosen
2767 # first if we set CC to just the basename; use the full file name.
2769 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2775 if test -n "$CC"; then
2776 echo "$as_me:$LINENO: result: $CC" >&5
2777 echo "${ECHO_T}$CC" >&6
2779 echo "$as_me:$LINENO: result: no" >&5
2780 echo "${ECHO_T}no" >&6
2784 if test -z "$CC"; then
2785 if test -n "$ac_tool_prefix"; then
2788 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2789 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2790 echo "$as_me:$LINENO: checking for $ac_word" >&5
2791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2792 if test "${ac_cv_prog_CC+set}" = set; then
2793 echo $ECHO_N "(cached) $ECHO_C" >&6
2795 if test -n "$CC"; then
2796 ac_cv_prog_CC
="$CC" # Let the user override the test.
2798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2802 test -z "$as_dir" && as_dir
=.
2803 for ac_exec_ext
in '' $ac_executable_extensions; do
2804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2805 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2815 if test -n "$CC"; then
2816 echo "$as_me:$LINENO: result: $CC" >&5
2817 echo "${ECHO_T}$CC" >&6
2819 echo "$as_me:$LINENO: result: no" >&5
2820 echo "${ECHO_T}no" >&6
2823 test -n "$CC" && break
2826 if test -z "$CC"; then
2830 # Extract the first word of "$ac_prog", so it can be a program name with args.
2831 set dummy
$ac_prog; ac_word
=$2
2832 echo "$as_me:$LINENO: checking for $ac_word" >&5
2833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2834 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2835 echo $ECHO_N "(cached) $ECHO_C" >&6
2837 if test -n "$ac_ct_CC"; then
2838 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2844 test -z "$as_dir" && as_dir
=.
2845 for ac_exec_ext
in '' $ac_executable_extensions; do
2846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2847 ac_cv_prog_ac_ct_CC
="$ac_prog"
2848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2856 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2857 if test -n "$ac_ct_CC"; then
2858 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2859 echo "${ECHO_T}$ac_ct_CC" >&6
2861 echo "$as_me:$LINENO: result: no" >&5
2862 echo "${ECHO_T}no" >&6
2865 test -n "$ac_ct_CC" && break
2874 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2875 See \`config.log' for more details." >&5
2876 echo "$as_me: error: no acceptable C compiler found in \$PATH
2877 See \`config.log' for more details." >&2;}
2878 { (exit 1); exit 1; }; }
2880 # Provide some information about the compiler.
2881 echo "$as_me:$LINENO:" \
2882 "checking for C compiler version" >&5
2883 ac_compiler
=`set X $ac_compile; echo $2`
2884 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2885 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); }
2889 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2890 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); }
2894 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2895 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898 (exit $ac_status); }
2900 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2901 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2902 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2903 echo $ECHO_N "(cached) $ECHO_C" >&6
2905 cat >conftest.
$ac_ext <<_ACEOF
2908 cat confdefs.h
>>conftest.
$ac_ext
2909 cat >>conftest.
$ac_ext <<_ACEOF
2910 /* end confdefs.h. */
2923 rm -f conftest.
$ac_objext
2924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2925 (eval $ac_compile) 2>conftest.er1
2927 grep -v '^ *+' conftest.er1
>conftest.err
2929 cat conftest.err
>&5
2930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931 (exit $ac_status); } &&
2932 { ac_try
='test -z "$ac_c_werror_flag"
2933 || test ! -s conftest.err'
2934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); }; } &&
2939 { ac_try
='test -s conftest.$ac_objext'
2940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944 (exit $ac_status); }; }; then
2947 echo "$as_me: failed program was:" >&5
2948 sed 's/^/| /' conftest.
$ac_ext >&5
2952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2953 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2956 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2957 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2958 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2959 ac_test_CFLAGS
=${CFLAGS+set}
2960 ac_save_CFLAGS
=$CFLAGS
2962 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2963 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2964 if test "${ac_cv_prog_cc_g+set}" = set; then
2965 echo $ECHO_N "(cached) $ECHO_C" >&6
2967 cat >conftest.
$ac_ext <<_ACEOF
2970 cat confdefs.h
>>conftest.
$ac_ext
2971 cat >>conftest.
$ac_ext <<_ACEOF
2972 /* end confdefs.h. */
2982 rm -f conftest.
$ac_objext
2983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2984 (eval $ac_compile) 2>conftest.er1
2986 grep -v '^ *+' conftest.er1
>conftest.err
2988 cat conftest.err
>&5
2989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2990 (exit $ac_status); } &&
2991 { ac_try
='test -z "$ac_c_werror_flag"
2992 || test ! -s conftest.err'
2993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2997 (exit $ac_status); }; } &&
2998 { ac_try
='test -s conftest.$ac_objext'
2999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3003 (exit $ac_status); }; }; then
3006 echo "$as_me: failed program was:" >&5
3007 sed 's/^/| /' conftest.
$ac_ext >&5
3011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3013 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3014 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3015 if test "$ac_test_CFLAGS" = set; then
3016 CFLAGS
=$ac_save_CFLAGS
3017 elif test $ac_cv_prog_cc_g = yes; then
3018 if test "$GCC" = yes; then
3024 if test "$GCC" = yes; then
3030 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3031 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3032 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3033 echo $ECHO_N "(cached) $ECHO_C" >&6
3035 ac_cv_prog_cc_stdc
=no
3037 cat >conftest.
$ac_ext <<_ACEOF
3040 cat confdefs.h
>>conftest.
$ac_ext
3041 cat >>conftest.
$ac_ext <<_ACEOF
3042 /* end confdefs.h. */
3045 #include <sys/types.h>
3046 #include <sys/stat.h>
3047 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3048 struct buf { int x; };
3049 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3050 static char *e (p, i)
3056 static char *f (char * (*g) (char **, int), char **p, ...)
3061 s = g (p, va_arg (v,int));
3066 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3067 function prototypes and stuff, but not '\xHH' hex character constants.
3068 These don't provoke an error unfortunately, instead are silently treated
3069 as 'x'. The following induces an error, until -std1 is added to get
3070 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3071 array size at least. It's necessary to write '\x00'==0 to get something
3072 that's true only with -std1. */
3073 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3075 int test (int i, double x);
3076 struct s1 {int (*f) (int a);};
3077 struct s2 {int (*f) (double a);};
3078 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3084 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3089 # Don't try gcc -ansi; that turns off useful extensions and
3090 # breaks some systems' header files.
3091 # AIX -qlanglvl=ansi
3092 # Ultrix and OSF/1 -std1
3093 # HP-UX 10.20 and later -Ae
3094 # HP-UX older versions -Aa -D_HPUX_SOURCE
3095 # SVR4 -Xc -D__EXTENSIONS__
3096 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3098 CC
="$ac_save_CC $ac_arg"
3099 rm -f conftest.
$ac_objext
3100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3101 (eval $ac_compile) 2>conftest.er1
3103 grep -v '^ *+' conftest.er1
>conftest.err
3105 cat conftest.err
>&5
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); } &&
3108 { ac_try
='test -z "$ac_c_werror_flag"
3109 || test ! -s conftest.err'
3110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114 (exit $ac_status); }; } &&
3115 { ac_try
='test -s conftest.$ac_objext'
3116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120 (exit $ac_status); }; }; then
3121 ac_cv_prog_cc_stdc
=$ac_arg
3124 echo "$as_me: failed program was:" >&5
3125 sed 's/^/| /' conftest.
$ac_ext >&5
3128 rm -f conftest.err conftest.
$ac_objext
3130 rm -f conftest.
$ac_ext conftest.
$ac_objext
3135 case "x$ac_cv_prog_cc_stdc" in
3137 echo "$as_me:$LINENO: result: none needed" >&5
3138 echo "${ECHO_T}none needed" >&6 ;;
3140 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3141 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3142 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3145 # Some people use a C++ compiler to compile C. Since we use `exit',
3146 # in C++ we need to declare it. In case someone uses the same compiler
3147 # for both compiling C and C++ we need to have the C++ compiler decide
3148 # the declaration of exit, since it's the most demanding environment.
3149 cat >conftest.
$ac_ext <<_ACEOF
3154 rm -f conftest.
$ac_objext
3155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3156 (eval $ac_compile) 2>conftest.er1
3158 grep -v '^ *+' conftest.er1
>conftest.err
3160 cat conftest.err
>&5
3161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162 (exit $ac_status); } &&
3163 { ac_try
='test -z "$ac_c_werror_flag"
3164 || test ! -s conftest.err'
3165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 (exit $ac_status); }; } &&
3170 { ac_try
='test -s conftest.$ac_objext'
3171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 (exit $ac_status); }; }; then
3176 for ac_declaration
in \
3178 'extern "C" void std::exit (int) throw (); using std::exit;' \
3179 'extern "C" void std::exit (int); using std::exit;' \
3180 'extern "C" void exit (int) throw ();' \
3181 'extern "C" void exit (int);' \
3184 cat >conftest.
$ac_ext <<_ACEOF
3187 cat confdefs.h
>>conftest.
$ac_ext
3188 cat >>conftest.
$ac_ext <<_ACEOF
3189 /* end confdefs.h. */
3200 rm -f conftest.
$ac_objext
3201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3202 (eval $ac_compile) 2>conftest.er1
3204 grep -v '^ *+' conftest.er1
>conftest.err
3206 cat conftest.err
>&5
3207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3208 (exit $ac_status); } &&
3209 { ac_try
='test -z "$ac_c_werror_flag"
3210 || test ! -s conftest.err'
3211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3215 (exit $ac_status); }; } &&
3216 { ac_try
='test -s conftest.$ac_objext'
3217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221 (exit $ac_status); }; }; then
3224 echo "$as_me: failed program was:" >&5
3225 sed 's/^/| /' conftest.
$ac_ext >&5
3229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3230 cat >conftest.
$ac_ext <<_ACEOF
3233 cat confdefs.h
>>conftest.
$ac_ext
3234 cat >>conftest.
$ac_ext <<_ACEOF
3235 /* end confdefs.h. */
3245 rm -f conftest.
$ac_objext
3246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3247 (eval $ac_compile) 2>conftest.er1
3249 grep -v '^ *+' conftest.er1
>conftest.err
3251 cat conftest.err
>&5
3252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3253 (exit $ac_status); } &&
3254 { ac_try
='test -z "$ac_c_werror_flag"
3255 || test ! -s conftest.err'
3256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260 (exit $ac_status); }; } &&
3261 { ac_try
='test -s conftest.$ac_objext'
3262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266 (exit $ac_status); }; }; then
3269 echo "$as_me: failed program was:" >&5
3270 sed 's/^/| /' conftest.
$ac_ext >&5
3273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3276 if test -n "$ac_declaration"; then
3277 echo '#ifdef __cplusplus' >>confdefs.h
3278 echo $ac_declaration >>confdefs.h
3279 echo '#endif' >>confdefs.h
3283 echo "$as_me: failed program was:" >&5
3284 sed 's/^/| /' conftest.
$ac_ext >&5
3287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3289 ac_cpp
='$CPP $CPPFLAGS'
3290 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3291 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3292 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3298 if test -n "$ac_tool_prefix"; then
3299 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3300 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3301 echo "$as_me:$LINENO: checking for $ac_word" >&5
3302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3303 if test "${ac_cv_prog_RANLIB+set}" = set; then
3304 echo $ECHO_N "(cached) $ECHO_C" >&6
3306 if test -n "$RANLIB"; then
3307 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3313 test -z "$as_dir" && as_dir
=.
3314 for ac_exec_ext
in '' $ac_executable_extensions; do
3315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3316 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3325 RANLIB
=$ac_cv_prog_RANLIB
3326 if test -n "$RANLIB"; then
3327 echo "$as_me:$LINENO: result: $RANLIB" >&5
3328 echo "${ECHO_T}$RANLIB" >&6
3330 echo "$as_me:$LINENO: result: no" >&5
3331 echo "${ECHO_T}no" >&6
3335 if test -z "$ac_cv_prog_RANLIB"; then
3336 ac_ct_RANLIB
=$RANLIB
3337 # Extract the first word of "ranlib", so it can be a program name with args.
3338 set dummy ranlib
; ac_word
=$2
3339 echo "$as_me:$LINENO: checking for $ac_word" >&5
3340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3341 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3342 echo $ECHO_N "(cached) $ECHO_C" >&6
3344 if test -n "$ac_ct_RANLIB"; then
3345 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3351 test -z "$as_dir" && as_dir
=.
3352 for ac_exec_ext
in '' $ac_executable_extensions; do
3353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3354 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3361 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3364 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3365 if test -n "$ac_ct_RANLIB"; then
3366 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3367 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3369 echo "$as_me:$LINENO: result: no" >&5
3370 echo "${ECHO_T}no" >&6
3373 RANLIB
=$ac_ct_RANLIB
3375 RANLIB
="$ac_cv_prog_RANLIB"
3379 # Put a plausible default for CC_FOR_BUILD in Makefile.
3380 if test "x$cross_compiling" = "xno"; then
3381 CC_FOR_BUILD
='$(CC)'
3387 # If a cpu ever has more than one simulator to choose from, use
3388 # --enable-sim=... to choose.
3389 # Check whether --enable-sim or --disable-sim was given.
3390 if test "${enable_sim+set}" = set; then
3391 enableval
="$enable_sim"
3392 case "${enableval}" in
3394 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} given for --enable-sim option" >&5
3395 echo "$as_me: error: bad value ${enableval} given for --enable-sim option" >&2;}
3396 { (exit 1); exit 1; }; } ;;
3400 # WHEN ADDING ENTRIES TO THIS MATRIX:
3402 # Make sure that the left side always has two dashes. Otherwise you
3403 # can get spurious matches. Even for unambiguous cases, do this as a
3404 # convention, else the table becomes a real mess to understand and
3407 if test "${enable_sim}" != no
; then
3412 arm
*-*-* | thumb
*-*-* | strongarm
*-*-* | xscale-
*-*)
3415 subdirs
="$subdirs arm"
3423 subdirs
="$subdirs d10v"
3429 subdirs
="$subdirs frv"
3437 subdirs
="$subdirs h8300"
3445 subdirs
="$subdirs m32r"
3450 m68hc11-
*-*|m6811-
*-*)
3453 subdirs
="$subdirs m68hc11"
3461 subdirs
="$subdirs mcore"
3469 subdirs
="$subdirs mips"
3478 subdirs
="$subdirs mn10300"
3486 subdirs
="$subdirs sh"
3494 subdirs
="$subdirs ppc"
3501 subdirs
="$subdirs v850"
3506 if test "$testsuite" = yes; then
3509 subdirs
="$subdirs testsuite"
3512 if test "$common" = yes; then
3515 subdirs
="$subdirs common"
3518 if test "$igen" = yes; then
3521 subdirs
="$subdirs igen"
3526 ac_config_files
="$ac_config_files Makefile"
3527 cat >confcache
<<\_ACEOF
3528 # This file is a shell script that caches the results of configure
3529 # tests run on this system so they can be shared between configure
3530 # scripts and configure runs, see configure's option --config-cache.
3531 # It is not useful on other systems. If it contains results you don't
3532 # want to keep, you may remove or edit it.
3534 # config.status only pays attention to the cache file if you give it
3535 # the --recheck option to rerun configure.
3537 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3538 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3543 # The following way of writing the cache mishandles newlines in values,
3544 # but we know of no workaround that is simple, portable, and efficient.
3545 # So, don't put newlines in cache variables' values.
3546 # Ultrix sh set writes to stderr and can't be redirected directly,
3547 # and sets the high bit in the cache file unless we assign to the vars.
3550 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3552 # `set' does not quote correctly, so add quotes (double-quote
3553 # substitution turns \\\\ into \\, and sed turns \\ into \).
3556 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3559 # `set' quotes correctly as required by POSIX, so do not add quotes.
3561 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3568 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3570 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3572 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3573 if test -w $cache_file; then
3574 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3575 cat confcache
>$cache_file
3577 echo "not updating unwritable cache $cache_file"
3582 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3583 # Let make expand exec_prefix.
3584 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3586 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3587 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3588 # trailing colons and then remove the whole line if VPATH becomes empty
3589 # (actually we leave an empty line to preserve line numbers).
3590 if test "x$srcdir" = x.
; then
3591 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
3592 s/:*\$(srcdir):*/:/;
3593 s/:*\${srcdir}:*/:/;
3595 s/^\([^=]*=[ ]*\):*/\1/;
3601 # Transform confdefs.h into DEFS.
3602 # Protect against shell expansion while executing Makefile rules.
3603 # Protect against Makefile macro expansion.
3605 # If the first sed substitution is executed (which looks for macros that
3606 # take arguments), then we branch to the quote section. Otherwise,
3607 # look for a macro that doesn't take arguments.
3608 cat >confdef2opt.
sed <<\_ACEOF
3611 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3613 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3617 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3623 # We use echo to avoid assuming a particular line-breaking character.
3624 # The extra dot is to prevent the shell from consuming trailing
3625 # line-breaks from the sub-command output. A line-break within
3626 # single-quotes doesn't work because, if this script is created in a
3627 # platform that uses two characters for line-breaks (e.g., DOS), tr
3629 ac_LF_and_DOT=`echo; echo .
`
3630 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
3631 rm -f confdef2opt.sed
3636 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3637 # 1. Remove the extension, and $U if already installed.
3638 ac_i=`echo "$ac_i" |
3639 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3641 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3642 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3646 LTLIBOBJS=$ac_ltlibobjs
3650 : ${CONFIG_STATUS=./config.status}
3651 ac_clean_files_save=$ac_clean_files
3652 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3653 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3654 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3655 cat >$CONFIG_STATUS <<_ACEOF
3657 # Generated by $as_me.
3658 # Run this file to recreate the current configuration.
3659 # Compiler output produced by configure, useful for debugging
3660 # configure, is in config.log if it exists.
3665 SHELL=\${CONFIG_SHELL-$SHELL}
3668 cat >>$CONFIG_STATUS <<\_ACEOF
3669 ## --------------------- ##
3670 ## M4sh Initialization. ##
3671 ## --------------------- ##
3673 # Be Bourne compatible
3674 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3677 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3678 # is contrary to our usage. Disable this feature.
3679 alias -g '${1+"$@"}'='"$@"'
3680 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3683 DUALCASE=1; export DUALCASE # for MKS sh
3685 # Support unset when possible.
3686 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3693 # Work around bugs in pre-3.0 UWIN ksh.
3694 $as_unset ENV MAIL MAILPATH
3701 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3702 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3703 LC_TELEPHONE LC_TIME
3705 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
3706 eval $as_var=C; export $as_var
3712 # Required to use basename.
3713 if expr a : '\(a\)' >/dev/null 2>&1; then
3719 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3720 as_basename=basename
3726 # Name of the executable.
3727 as_me=`$as_basename "$0" ||
3728 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3729 X
"$0" : 'X\(//\)$' \| \
3730 X
"$0" : 'X\(/\)$' \| \
3731 .
: '\(.\)' 2>/dev
/null ||
3733 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3734 /^X\/\(\/\/\)$/{ s//\1/; q; }
3735 /^X\/\(\/\).*/{ s//\1/; q; }
3739 # PATH needs CR, and LINENO needs CR and PATH.
3740 # Avoid depending upon Character Ranges.
3741 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3742 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3743 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3744 as_cr_digits='0123456789'
3745 as_cr_alnum=$as_cr_Letters$as_cr_digits
3747 # The user is always right.
3748 if test "${PATH_SEPARATOR+set}" != set; then
3749 echo "#! /bin/sh" >conf$$.sh
3750 echo "exit 0" >>conf$$.sh
3752 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3763 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
3764 test "x$as_lineno_1" != "x$as_lineno_2" &&
3765 test "x$as_lineno_3" = "x$as_lineno_2" || {
3766 # Find who we are. Look in the path if we contain no path at all
3769 *[\\/]* ) as_myself=$0 ;;
3770 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3774 test -z "$as_dir" && as_dir=.
3775 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3780 # We did not find ourselves, most probably we were run as `sh COMMAND
'
3781 # in which case we are not to be found in the path.
3782 if test "x$as_myself" = x; then
3785 if test ! -f "$as_myself"; then
3786 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3787 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3788 { (exit 1); exit 1; }; }
3790 case $CONFIG_SHELL in
3792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3793 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3796 test -z "$as_dir" && as_dir=.
3797 for as_base in sh bash ksh sh5; do
3800 if ("$as_dir/$as_base" -c '
3803 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
3804 test "x$as_lineno_1" != "x$as_lineno_2" &&
3805 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3806 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3807 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3808 CONFIG_SHELL=$as_dir/$as_base
3810 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3818 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3819 # uniformly replaced by the line number. The first 'sed' inserts a
3820 # line-number line before each line; the second 'sed' does the real
3821 # work. The second script uses 'N
' to pair each line-number line
3822 # with the numbered line, and appends trailing '-' during
3823 # substitution so that $LINENO is not a special case at line end.
3824 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3825 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
3826 sed '=' <$as_myself |
3831 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3834 s,^['$as_cr_digits']*\n,,
3836 chmod +x
$as_me.lineno ||
3837 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3838 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3839 { (exit 1); exit 1; }; }
3841 # Don't try to exec as it changes $[0], causing all sort of problems
3842 # (the dirname of $[0] is not the place where we might find the
3843 # original and so on. Autoconf is especially sensible to this).
3845 # Exit status is that of the last command.
3850 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3851 *c
*,-n*) ECHO_N
= ECHO_C
='
3853 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
3854 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
3857 if expr a
: '\(a\)' >/dev
/null
2>&1; then
3863 rm -f conf$$ conf$$.exe conf$$.
file
3865 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3866 # We could just check for DJGPP; but this test a) works b) is more generic
3867 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3868 if test -f conf$$.exe
; then
3869 # Don't use ln at all; we don't have any links
3874 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3879 rm -f conf$$ conf$$.exe conf$$.
file
3881 if mkdir
-p .
2>/dev
/null
; then
3884 test -d .
/-p && rmdir .
/-p
3888 as_executable_p
="test -f"
3890 # Sed expression to map a string onto a valid CPP name.
3891 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3893 # Sed expression to map a string onto a valid variable name.
3894 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3898 # We need space, tab and new line, in precisely that order.
3908 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3909 # report actual input values of CONFIG_FILES etc. instead of their
3910 # values after options handling. Logging --version etc. is OK.
3914 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3915 ## Running $as_me. ##
3920 This file was extended by $as_me, which was
3921 generated by GNU Autoconf 2.59. Invocation command line was
3923 CONFIG_FILES = $CONFIG_FILES
3924 CONFIG_HEADERS = $CONFIG_HEADERS
3925 CONFIG_LINKS = $CONFIG_LINKS
3926 CONFIG_COMMANDS = $CONFIG_COMMANDS
3930 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3934 # Files that config.status was made for.
3935 if test -n "$ac_config_files"; then
3936 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3939 if test -n "$ac_config_headers"; then
3940 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3943 if test -n "$ac_config_links"; then
3944 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3947 if test -n "$ac_config_commands"; then
3948 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3951 cat >>$CONFIG_STATUS <<\_ACEOF
3954 \`$as_me' instantiates files from templates according to the
3955 current configuration.
3957 Usage: $0 [OPTIONS] [FILE]...
3959 -h, --help print this help, then exit
3960 -V, --version print version number, then exit
3961 -q, --quiet do not print progress messages
3962 -d, --debug don't remove temporary files
3963 --recheck update $as_me by reconfiguring in the same conditions
3964 --file=FILE[:TEMPLATE]
3965 instantiate the configuration file FILE
3967 Configuration files:
3970 Report bugs to <bug-autoconf@gnu.org>."
3973 cat >>$CONFIG_STATUS <<_ACEOF
3976 configured by $0, generated by GNU Autoconf 2.59,
3977 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3979 Copyright (C) 2003 Free Software Foundation, Inc.
3980 This config.status script is free software; the Free Software Foundation
3981 gives unlimited permission to copy, distribute and modify it."
3986 cat >>$CONFIG_STATUS <<\_ACEOF
3987 # If no file are specified by the user, then we need to provide default
3988 # value. By we need to know if files were specified by the user.
3994 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
3995 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
4003 *) # This is not an option, so the user has probably given explicit
4006 ac_need_defaults
=false
;;
4010 # Handling of the options.
4012 cat >>$CONFIG_STATUS <<\_ACEOF
4013 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4015 --version |
--vers* |
-V )
4016 echo "$ac_cs_version"; exit 0 ;;
4018 # Conflict between --help and --header
4019 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4020 Try \`$0 --help' for more information." >&5
4021 echo "$as_me: error: ambiguous option: $1
4022 Try \`$0 --help' for more information." >&2;}
4023 { (exit 1); exit 1; }; };;
4024 --help |
--hel |
-h )
4025 echo "$ac_cs_usage"; exit 0 ;;
4026 --debug |
--d* |
-d )
4028 --file |
--fil |
--fi |
--f )
4030 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
4031 ac_need_defaults
=false
;;
4032 --header |
--heade |
--head |
--hea )
4034 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
4035 ac_need_defaults
=false
;;
4036 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4037 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4041 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4042 Try \`$0 --help' for more information." >&5
4043 echo "$as_me: error: unrecognized option: $1
4044 Try \`$0 --help' for more information." >&2;}
4045 { (exit 1); exit 1; }; } ;;
4047 *) ac_config_targets
="$ac_config_targets $1" ;;
4053 ac_configure_extra_args
=
4055 if $ac_cs_silent; then
4057 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4061 cat >>$CONFIG_STATUS <<_ACEOF
4062 if \$ac_cs_recheck; then
4063 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4064 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4073 cat >>$CONFIG_STATUS <<\_ACEOF
4074 for ac_config_target
in $ac_config_targets
4076 case "$ac_config_target" in
4077 # Handling of arguments.
4078 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4079 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4080 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4081 { (exit 1); exit 1; }; };;
4085 # If the user did not use the arguments to specify the items to instantiate,
4086 # then the envvar interface is used. Set only those that are not.
4087 # We use the long form for the default assignment because of an extremely
4088 # bizarre bug on SunOS 4.1.3.
4089 if $ac_need_defaults; then
4090 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4093 # Have a temporary directory for convenience. Make it in the build tree
4094 # simply because there is no reason to put it here, and in addition,
4095 # creating and moving files from /tmp can sometimes cause problems.
4096 # Create a temporary directory, and hook for its removal unless debugging.
4099 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4100 trap '{ (exit 1); exit 1; }' 1 2 13 15
4103 # Create a (secure) tmp directory for tmp files.
4106 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4107 test -n "$tmp" && test -d "$tmp"
4110 tmp
=.
/confstat$$
-$RANDOM
4111 (umask 077 && mkdir
$tmp)
4114 echo "$me: cannot create a temporary directory in ." >&2
4115 { (exit 1); exit 1; }
4120 cat >>$CONFIG_STATUS <<_ACEOF
4123 # CONFIG_FILES section.
4126 # No need to generate the scripts if there are no CONFIG_FILES.
4127 # This happens for instance when ./config.status config.h
4128 if test -n "\$CONFIG_FILES"; then
4129 # Protect against being on the right side of a sed subst in config.status.
4130 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4131 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4132 s,@SHELL@,$SHELL,;t t
4133 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4134 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4135 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4136 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4137 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4138 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4139 s,@exec_prefix@,$exec_prefix,;t t
4140 s,@prefix@,$prefix,;t t
4141 s,@program_transform_name@,$program_transform_name,;t t
4142 s,@bindir@,$bindir,;t t
4143 s,@sbindir@,$sbindir,;t t
4144 s,@libexecdir@,$libexecdir,;t t
4145 s,@datadir@,$datadir,;t t
4146 s,@sysconfdir@,$sysconfdir,;t t
4147 s,@sharedstatedir@,$sharedstatedir,;t t
4148 s,@localstatedir@,$localstatedir,;t t
4149 s,@libdir@,$libdir,;t t
4150 s,@includedir@,$includedir,;t t
4151 s,@oldincludedir@,$oldincludedir,;t t
4152 s,@infodir@,$infodir,;t t
4153 s,@mandir@,$mandir,;t t
4154 s,@build_alias@,$build_alias,;t t
4155 s,@host_alias@,$host_alias,;t t
4156 s,@target_alias@,$target_alias,;t t
4158 s,@ECHO_C@,$ECHO_C,;t t
4159 s,@ECHO_N@,$ECHO_N,;t t
4160 s,@ECHO_T@,$ECHO_T,;t t
4163 s,@CFLAGS@,$CFLAGS,;t t
4164 s,@LDFLAGS@,$LDFLAGS,;t t
4165 s,@CPPFLAGS@,$CPPFLAGS,;t t
4166 s,@ac_ct_CC@,$ac_ct_CC,;t t
4167 s,@EXEEXT@,$EXEEXT,;t t
4168 s,@OBJEXT@,$OBJEXT,;t t
4169 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4170 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4171 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4173 s,@ac_ct_AR@,$ac_ct_AR,;t t
4174 s,@RANLIB@,$RANLIB,;t t
4175 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4176 s,@build@,$build,;t t
4177 s,@build_cpu@,$build_cpu,;t t
4178 s,@build_vendor@,$build_vendor,;t t
4179 s,@build_os@,$build_os,;t t
4181 s,@host_cpu@,$host_cpu,;t t
4182 s,@host_vendor@,$host_vendor,;t t
4183 s,@host_os@,$host_os,;t t
4184 s,@target@,$target,;t t
4185 s,@target_cpu@,$target_cpu,;t t
4186 s,@target_vendor@,$target_vendor,;t t
4187 s,@target_os@,$target_os,;t t
4188 s,@HDEFINES@,$HDEFINES,;t t
4189 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
4190 s,@subdirs@,$subdirs,;t t
4191 s,@LIBOBJS@,$LIBOBJS,;t t
4192 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4197 cat >>$CONFIG_STATUS <<\_ACEOF
4198 # Split the substitutions into bite-sized pieces for seds with
4199 # small command number limits, like on Digital OSF/1 and HP-UX.
4201 ac_sed_frag
=1 # Number of current file.
4202 ac_beg
=1 # First line for current file.
4203 ac_end
=$ac_max_sed_lines # Line after last line for current file.
4206 while $ac_more_lines; do
4207 if test $ac_beg -gt 1; then
4208 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4210 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4212 if test ! -s $tmp/subs.frag
; then
4215 # The purpose of the label and of the branching condition is to
4216 # speed up the sed processing (if there are no `@' at all, there
4217 # is no need to browse any of the substitutions).
4218 # These are the two extra sed commands mentioned above.
4220 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
4221 if test -z "$ac_sed_cmds"; then
4222 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
4224 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4226 ac_sed_frag
=`expr $ac_sed_frag + 1`
4228 ac_end
=`expr $ac_end + $ac_max_sed_lines`
4231 if test -z "$ac_sed_cmds"; then
4234 fi # test -n "$CONFIG_FILES"
4237 cat >>$CONFIG_STATUS <<\_ACEOF
4238 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
4239 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4241 - |
*:- |
*:-:* ) # input from stdin
4243 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4244 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4245 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4246 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4247 * ) ac_file_in
=$ac_file.
in ;;
4250 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4251 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
4252 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4253 X"$ac_file" : 'X\(//\)[^/]' \| \
4254 X"$ac_file" : 'X\(//\)$' \| \
4255 X"$ac_file" : 'X\(/\)' \| \
4256 . : '\(.\)' 2>/dev/null ||
4258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4259 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4260 /^X\(\/\/\)$/{ s//\1/; q; }
4261 /^X\(\/\).*/{ s//\1/; q; }
4263 { if $as_mkdir_p; then
4268 while test ! -d "$as_dir"; do
4269 as_dirs
="$as_dir $as_dirs"
4270 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
4271 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4272 X"$as_dir" : 'X\(//\)[^/]' \| \
4273 X"$as_dir" : 'X\(//\)$' \| \
4274 X"$as_dir" : 'X\(/\)' \| \
4275 . : '\(.\)' 2>/dev/null ||
4277 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4278 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4279 /^X\(\/\/\)$/{ s//\1/; q; }
4280 /^X\(\/\).*/{ s//\1/; q; }
4283 test ! -n "$as_dirs" || mkdir
$as_dirs
4284 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4285 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4286 { (exit 1); exit 1; }; }; }
4290 if test "$ac_dir" != .
; then
4291 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4292 # A "../" for each directory in $ac_dir_suffix.
4293 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4295 ac_dir_suffix
= ac_top_builddir
=
4299 .
) # No --srcdir option. We are building in place.
4301 if test -z "$ac_top_builddir"; then
4304 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
4306 [\\/]* | ?
:[\\/]* ) # Absolute path.
4307 ac_srcdir
=$srcdir$ac_dir_suffix;
4308 ac_top_srcdir
=$srcdir ;;
4310 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
4311 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
4314 # Do not use `cd foo && pwd` to compute absolute paths, because
4315 # the directories may not exist.
4317 .
) ac_abs_builddir
="$ac_dir";;
4320 .
) ac_abs_builddir
=`pwd`;;
4321 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
4322 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
4325 case $ac_abs_builddir in
4326 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4328 case ${ac_top_builddir}.
in
4329 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
4330 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4331 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
4334 case $ac_abs_builddir in
4335 .
) ac_abs_srcdir
=$ac_srcdir;;
4338 .
) ac_abs_srcdir
=$ac_abs_builddir;;
4339 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
4340 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
4343 case $ac_abs_builddir in
4344 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
4346 case $ac_top_srcdir in
4347 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
4348 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
4349 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
4355 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
4356 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
4359 if test x
"$ac_file" != x-
; then
4360 { echo "$as_me:$LINENO: creating $ac_file" >&5
4361 echo "$as_me: creating $ac_file" >&6;}
4364 # Let's still pretend it is `configure' which instantiates (i.e., don't
4365 # use $as_me), people would be surprised to read:
4366 # /* config.h. Generated by config.status. */
4367 if test x
"$ac_file" = x-
; then
4370 configure_input
="$ac_file. "
4372 configure_input
=$configure_input"Generated from `echo $ac_file_in |
4373 sed 's,.*/,,'` by configure."
4375 # First look for the input files in the build tree, otherwise in the
4377 ac_file_inputs
=`IFS=:
4378 for f in $ac_file_in; do
4380 -) echo $tmp/stdin ;;
4382 # Absolute (can't be DOS-style, as IFS=:)
4383 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4384 echo "$as_me: error: cannot find input file: $f" >&2;}
4385 { (exit 1); exit 1; }; }
4388 if test -f "$f"; then
4391 elif test -f "$srcdir/$f"; then
4396 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4397 echo "$as_me: error: cannot find input file: $f" >&2;}
4398 { (exit 1); exit 1; }; }
4401 done` ||
{ (exit 1); exit 1; }
4403 cat >>$CONFIG_STATUS <<_ACEOF
4407 cat >>$CONFIG_STATUS <<\_ACEOF
4409 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4410 s
,@configure_input@
,$configure_input,;t t
4411 s
,@srcdir@
,$ac_srcdir,;t t
4412 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
4413 s
,@top_srcdir@
,$ac_top_srcdir,;t t
4414 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
4415 s
,@builddir@
,$ac_builddir,;t t
4416 s
,@abs_builddir@
,$ac_abs_builddir,;t t
4417 s
,@top_builddir@
,$ac_top_builddir,;t t
4418 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
4419 s
,@INSTALL@
,$ac_INSTALL,;t t
4420 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4422 if test x"$ac_file" != x-; then
4423 mv $tmp/out $ac_file
4432 cat >>$CONFIG_STATUS <<\_ACEOF
4434 { (exit 0); exit 0; }
4436 chmod +x $CONFIG_STATUS
4437 ac_clean_files=$ac_clean_files_save
4440 # configure is writing to config.log, and then calls config.status.
4441 # config.status does its own redirection, appending to config.log.
4442 # Unfortunately, on DOS this fails, as config.log is still kept open
4443 # by configure, so config.status won't be able to write to it; its
4444 # output is simply discarded. So we exec the FD to /dev/null,
4445 # effectively closing config.log, so it can be properly (re)opened and
4446 # appended to by config.status. When coming back to configure, we
4447 # need to make the FD available again.
4448 if test "$no_create" != yes; then
4450 ac_config_status_args=
4451 test "$silent" = yes &&
4452 ac_config_status_args="$ac_config_status_args --quiet"
4454 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4456 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4457 # would make configure fail if this is the last instruction.
4458 $ac_cs_success || { (exit 1); exit 1; }
4462 # CONFIG_SUBDIRS section.
4464 if test "$no_recursion" != yes; then
4466 # Remove --cache-file and --srcdir arguments so they do not pile up.
4467 ac_sub_configure_args=
4469 for ac_arg in $ac_configure_args; do
4470 if test -n "$ac_prev"; then
4475 -cache-file | --cache-file | --cache-fil | --cache-fi \
4476 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
4477 ac_prev=cache_file ;;
4478 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
4479 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
4482 --config-cache | -C)
4484 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4486 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4488 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4490 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4492 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
4496 # Always prepend --prefix to ensure using the same prefix
4497 # in subdir configurations.
4498 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
4501 for ac_dir in : $subdirs; do test "x
$ac_dir" = x: && continue
4503 # Do not complain, so a configure script can configure whichever
4504 # parts of a large source tree are present.
4505 test -d $srcdir/$ac_dir || continue
4507 { echo "$as_me:$LINENO: configuring
in $ac_dir" >&5
4508 echo "$as_me: configuring
in $ac_dir" >&6;}
4509 { if $as_mkdir_p; then
4514 while test ! -d "$as_dir"; do
4515 as_dirs="$as_dir $as_dirs"
4516 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4517 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4518 X"$as_dir" : 'X\(//\)[^/]' \| \
4519 X"$as_dir" : 'X\(//\)$' \| \
4520 X"$as_dir" : 'X\(/\)' \| \
4521 . : '\(.\)' 2>/dev/null ||
4523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4524 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4525 /^X\(\/\/\)$/{ s//\1/; q; }
4526 /^X\(\/\).*/{ s//\1/; q; }
4529 test ! -n "$as_dirs" || mkdir $as_dirs
4530 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
\"$ac_dir\"" >&5
4531 echo "$as_me: error
: cannot create directory
\"$ac_dir\"" >&2;}
4532 { (exit 1); exit 1; }; }; }
4536 if test "$ac_dir" != .; then
4537 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4538 # A "..
/" for each directory in $ac_dir_suffix.
4539 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4541 ac_dir_suffix= ac_top_builddir=
4545 .) # No --srcdir option. We are building in place.
4547 if test -z "$ac_top_builddir"; then
4550 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4552 [\\/]* | ?:[\\/]* ) # Absolute path.
4553 ac_srcdir=$srcdir$ac_dir_suffix;
4554 ac_top_srcdir=$srcdir ;;
4556 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4557 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4560 # Do not use `cd foo && pwd` to compute absolute paths, because
4561 # the directories may not exist.
4563 .) ac_abs_builddir="$ac_dir";;
4566 .) ac_abs_builddir=`pwd`;;
4567 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4568 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4571 case $ac_abs_builddir in
4572 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4574 case ${ac_top_builddir}. in
4575 .) ac_abs_top_builddir=$ac_abs_builddir;;
4576 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4577 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4580 case $ac_abs_builddir in
4581 .) ac_abs_srcdir=$ac_srcdir;;
4584 .) ac_abs_srcdir=$ac_abs_builddir;;
4585 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4586 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4589 case $ac_abs_builddir in
4590 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4592 case $ac_top_srcdir in
4593 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4594 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4595 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4602 # Check for guested configure; otherwise get Cygnus style configure.
4603 if test -f $ac_srcdir/configure.gnu; then
4604 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
4605 elif test -f $ac_srcdir/configure; then
4606 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
4607 elif test -f $ac_srcdir/configure.in; then
4608 ac_sub_configure=$ac_configure
4610 { echo "$as_me:$LINENO: WARNING
: no configuration information is
in $ac_dir" >&5
4611 echo "$as_me: WARNING
: no configuration information is
in $ac_dir" >&2;}
4615 # The recursion is here.
4616 if test -n "$ac_sub_configure"; then
4617 # Make the cache file name correct relative to the subdirectory.
4619 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
4621 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
4624 { echo "$as_me:$LINENO: running
$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
4625 echo "$as_me: running
$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4626 # The eval makes quoting arguments work.
4627 eval $ac_sub_configure $ac_sub_configure_args \
4628 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
4629 { { echo "$as_me:$LINENO: error
: $ac_sub_configure failed
for $ac_dir" >&5
4630 echo "$as_me: error
: $ac_sub_configure failed
for $ac_dir" >&2;}
4631 { (exit 1); exit 1; }; }