2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
554 ac_unique_file
="Makefile.in"
555 # Factoring default headers for most tests.
556 ac_includes_default
="\
558 #ifdef HAVE_SYS_TYPES_H
559 # include <sys/types.h>
561 #ifdef HAVE_SYS_STAT_H
562 # include <sys/stat.h>
568 # ifdef HAVE_STDLIB_H
573 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
578 #ifdef HAVE_STRINGS_H
579 # include <strings.h>
581 #ifdef HAVE_INTTYPES_H
582 # include <inttypes.h>
591 ac_subst_vars
='LTLIBOBJS
599 default_gnatlib_target
659 program_transform_name
672 enable_option_checking
674 enable_maintainer_mode
677 with_system_libunwind
678 with_gcc_major_version_only
680 ac_precious_vars
='build_alias
687 # Initialize some variables set by options.
689 ac_init_version
=false
690 ac_unrecognized_opts
=
692 # The variables have the same names as the options, with
693 # dashes changed to underlines.
701 program_transform_name
=s
,x
,x
,
709 # Installation directory options.
710 # These are left unexpanded so users can "make install exec_prefix=/foo"
711 # and all the variables that are supposed to be based on exec_prefix
712 # by default will actually change.
713 # Use braces instead of parens because sh, perl, etc. also accept them.
714 # (The list follows the same order as the GNU Coding Standards.)
715 bindir
='${exec_prefix}/bin'
716 sbindir
='${exec_prefix}/sbin'
717 libexecdir
='${exec_prefix}/libexec'
718 datarootdir
='${prefix}/share'
719 datadir
='${datarootdir}'
720 sysconfdir
='${prefix}/etc'
721 sharedstatedir
='${prefix}/com'
722 localstatedir
='${prefix}/var'
723 includedir
='${prefix}/include'
724 oldincludedir
='/usr/include'
725 docdir
='${datarootdir}/doc/${PACKAGE}'
726 infodir
='${datarootdir}/info'
731 libdir
='${exec_prefix}/lib'
732 localedir
='${datarootdir}/locale'
733 mandir
='${datarootdir}/man'
739 # If the previous option needs an argument, assign it.
740 if test -n "$ac_prev"; then
741 eval $ac_prev=\
$ac_option
747 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
751 # Accept the important Cygnus configure options, so we can diagnose typos.
753 case $ac_dashdash$ac_option in
757 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
759 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
762 -build |
--build |
--buil |
--bui |
--bu)
763 ac_prev
=build_alias
;;
764 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
765 build_alias
=$ac_optarg ;;
767 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
768 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
769 ac_prev
=cache_file
;;
770 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
771 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
772 cache_file
=$ac_optarg ;;
775 cache_file
=config.cache
;;
777 -datadir |
--datadir |
--datadi |
--datad)
779 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
780 datadir
=$ac_optarg ;;
782 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
783 |
--dataroo |
--dataro |
--datar)
784 ac_prev
=datarootdir
;;
785 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
786 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
787 datarootdir
=$ac_optarg ;;
789 -disable-* |
--disable-*)
790 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
791 # Reject names that are not valid shell variable names.
792 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
793 as_fn_error
"invalid feature name: $ac_useropt"
794 ac_useropt_orig
=$ac_useropt
795 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
796 case $ac_user_opts in
800 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
801 ac_unrecognized_sep
=', ';;
803 eval enable_
$ac_useropt=no
;;
805 -docdir |
--docdir |
--docdi |
--doc |
--do)
807 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
810 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
812 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
815 -enable-* |
--enable-*)
816 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
817 # Reject names that are not valid shell variable names.
818 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
819 as_fn_error
"invalid feature name: $ac_useropt"
820 ac_useropt_orig
=$ac_useropt
821 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
822 case $ac_user_opts in
826 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
827 ac_unrecognized_sep
=', ';;
829 eval enable_
$ac_useropt=\
$ac_optarg ;;
831 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
832 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
833 |
--exec |
--exe |
--ex)
834 ac_prev
=exec_prefix
;;
835 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
836 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
837 |
--exec=* |
--exe=* |
--ex=*)
838 exec_prefix
=$ac_optarg ;;
840 -gas |
--gas |
--ga |
--g)
841 # Obsolete; use --with-gas.
844 -help |
--help |
--hel |
--he |
-h)
846 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
847 ac_init_help
=recursive
;;
848 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
849 ac_init_help
=short
;;
851 -host |
--host |
--hos |
--ho)
852 ac_prev
=host_alias
;;
853 -host=* |
--host=* |
--hos=* |
--ho=*)
854 host_alias
=$ac_optarg ;;
856 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
858 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
860 htmldir
=$ac_optarg ;;
862 -includedir |
--includedir |
--includedi |
--included |
--include \
863 |
--includ |
--inclu |
--incl |
--inc)
864 ac_prev
=includedir
;;
865 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
866 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
867 includedir
=$ac_optarg ;;
869 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
871 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
872 infodir
=$ac_optarg ;;
874 -libdir |
--libdir |
--libdi |
--libd)
876 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
879 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
880 |
--libexe |
--libex |
--libe)
881 ac_prev
=libexecdir
;;
882 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
883 |
--libexe=* |
--libex=* |
--libe=*)
884 libexecdir
=$ac_optarg ;;
886 -localedir |
--localedir |
--localedi |
--localed |
--locale)
888 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
889 localedir
=$ac_optarg ;;
891 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
892 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
893 ac_prev
=localstatedir
;;
894 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
895 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
896 localstatedir
=$ac_optarg ;;
898 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
900 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
904 # Obsolete; use --without-fp.
907 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
908 |
--no-cr |
--no-c |
-n)
911 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
912 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
915 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
916 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
917 |
--oldin |
--oldi |
--old |
--ol |
--o)
918 ac_prev
=oldincludedir
;;
919 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
920 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
921 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
922 oldincludedir
=$ac_optarg ;;
924 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
926 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
929 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
930 |
--program-pre |
--program-pr |
--program-p)
931 ac_prev
=program_prefix
;;
932 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
933 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
934 program_prefix
=$ac_optarg ;;
936 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
937 |
--program-suf |
--program-su |
--program-s)
938 ac_prev
=program_suffix
;;
939 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
940 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
941 program_suffix
=$ac_optarg ;;
943 -program-transform-name |
--program-transform-name \
944 |
--program-transform-nam |
--program-transform-na \
945 |
--program-transform-n |
--program-transform- \
946 |
--program-transform |
--program-transfor \
947 |
--program-transfo |
--program-transf \
948 |
--program-trans |
--program-tran \
949 |
--progr-tra |
--program-tr |
--program-t)
950 ac_prev
=program_transform_name
;;
951 -program-transform-name=* |
--program-transform-name=* \
952 |
--program-transform-nam=* |
--program-transform-na=* \
953 |
--program-transform-n=* |
--program-transform-=* \
954 |
--program-transform=* |
--program-transfor=* \
955 |
--program-transfo=* |
--program-transf=* \
956 |
--program-trans=* |
--program-tran=* \
957 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
958 program_transform_name
=$ac_optarg ;;
960 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
962 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
965 -psdir |
--psdir |
--psdi |
--psd |
--ps)
967 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
970 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
971 |
-silent |
--silent |
--silen |
--sile |
--sil)
974 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
976 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
978 sbindir
=$ac_optarg ;;
980 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
981 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
982 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
984 ac_prev
=sharedstatedir
;;
985 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
986 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
987 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
989 sharedstatedir
=$ac_optarg ;;
991 -site |
--site |
--sit)
993 -site=* |
--site=* |
--sit=*)
996 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
998 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1001 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1002 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1003 ac_prev
=sysconfdir
;;
1004 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1005 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1006 sysconfdir
=$ac_optarg ;;
1008 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1009 ac_prev
=target_alias
;;
1010 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1011 target_alias
=$ac_optarg ;;
1013 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1016 -version |
--version |
--versio |
--versi |
--vers |
-V)
1017 ac_init_version
=: ;;
1020 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1023 as_fn_error
"invalid package name: $ac_useropt"
1024 ac_useropt_orig
=$ac_useropt
1025 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1030 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1031 ac_unrecognized_sep
=', ';;
1033 eval with_
$ac_useropt=\
$ac_optarg ;;
1035 -without-* |
--without-*)
1036 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1037 # Reject names that are not valid shell variable names.
1038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1039 as_fn_error
"invalid package name: $ac_useropt"
1040 ac_useropt_orig
=$ac_useropt
1041 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1042 case $ac_user_opts in
1046 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1047 ac_unrecognized_sep
=', ';;
1049 eval with_
$ac_useropt=no
;;
1052 # Obsolete; use --with-x.
1055 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1056 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1057 ac_prev
=x_includes
;;
1058 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1059 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1060 x_includes
=$ac_optarg ;;
1062 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1063 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1064 ac_prev
=x_libraries
;;
1065 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1066 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1067 x_libraries
=$ac_optarg ;;
1069 -*) as_fn_error
"unrecognized option: \`$ac_option'
1070 Try \`$0 --help' for more information."
1074 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1075 # Reject names that are not valid shell variable names.
1076 case $ac_envvar in #(
1077 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1078 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1080 eval $ac_envvar=\
$ac_optarg
1081 export $ac_envvar ;;
1084 # FIXME: should be removed in autoconf 3.0.
1085 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1086 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1087 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1088 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1094 if test -n "$ac_prev"; then
1095 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1096 as_fn_error
"missing argument to $ac_option"
1099 if test -n "$ac_unrecognized_opts"; then
1100 case $enable_option_checking in
1102 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1103 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1107 # Check all directory arguments for consistency.
1108 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1109 datadir sysconfdir sharedstatedir localstatedir includedir \
1110 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1111 libdir localedir mandir
1113 eval ac_val
=\$
$ac_var
1114 # Remove trailing slashes.
1117 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1118 eval $ac_var=\
$ac_val;;
1120 # Be sure to have absolute directory names.
1122 [\\/$
]* | ?
:[\\/]* ) continue;;
1123 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1125 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1128 # There might be people who depend on the old broken behavior: `$host'
1129 # used to hold the argument of --host etc.
1130 # FIXME: To remove some day.
1133 target
=$target_alias
1135 # FIXME: To remove some day.
1136 if test "x$host_alias" != x
; then
1137 if test "x$build_alias" = x
; then
1138 cross_compiling
=maybe
1139 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1140 If a cross compiler is detected then cross compile mode will be used." >&2
1141 elif test "x$build_alias" != "x$host_alias"; then
1147 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1149 test "$silent" = yes && exec 6>/dev
/null
1152 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1153 ac_ls_di
=`ls -di .` &&
1154 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1155 as_fn_error
"working directory cannot be determined"
1156 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1157 as_fn_error
"pwd does not report name of working directory"
1160 # Find the source files, if location was not specified.
1161 if test -z "$srcdir"; then
1162 ac_srcdir_defaulted
=yes
1163 # Try the directory containing this script, then the parent directory.
1164 ac_confdir
=`$as_dirname -- "$as_myself" ||
1165 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1166 X"$as_myself" : 'X\(//\)[^/]' \| \
1167 X"$as_myself" : 'X\(//\)$' \| \
1168 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1169 $as_echo X"$as_myself" |
1170 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1188 if test ! -r "$srcdir/$ac_unique_file"; then
1192 ac_srcdir_defaulted
=no
1194 if test ! -r "$srcdir/$ac_unique_file"; then
1195 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1196 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1198 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1200 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1202 # When building in place, set srcdir=.
1203 if test "$ac_abs_confdir" = "$ac_pwd"; then
1206 # Remove unnecessary trailing slashes from srcdir.
1207 # Double slashes in file names in object file debugging info
1208 # mess up M-x gdb in Emacs.
1210 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1212 for ac_var
in $ac_precious_vars; do
1213 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1214 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1215 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1216 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1220 # Report the --help message.
1222 if test "$ac_init_help" = "long"; then
1223 # Omit some internal or obsolete options to make the list less imposing.
1224 # This message is too long to be a string in the A/UX 3.1 sh.
1226 \`configure' configures this package to adapt to many kinds of systems.
1228 Usage: $0 [OPTION]... [VAR=VALUE]...
1230 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1231 VAR=VALUE. See below for descriptions of some of the useful variables.
1233 Defaults for the options are specified in brackets.
1236 -h, --help display this help and exit
1237 --help=short display options specific to this package
1238 --help=recursive display the short help of all the included packages
1239 -V, --version display version information and exit
1240 -q, --quiet, --silent do not print \`checking...' messages
1241 --cache-file=FILE cache test results in FILE [disabled]
1242 -C, --config-cache alias for \`--cache-file=config.cache'
1243 -n, --no-create do not create output files
1244 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1246 Installation directories:
1247 --prefix=PREFIX install architecture-independent files in PREFIX
1248 [$ac_default_prefix]
1249 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1252 By default, \`make install' will install all the files in
1253 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1254 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1255 for instance \`--prefix=\$HOME'.
1257 For better control, use the options below.
1259 Fine tuning of the installation directories:
1260 --bindir=DIR user executables [EPREFIX/bin]
1261 --sbindir=DIR system admin executables [EPREFIX/sbin]
1262 --libexecdir=DIR program executables [EPREFIX/libexec]
1263 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1264 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1265 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1266 --libdir=DIR object code libraries [EPREFIX/lib]
1267 --includedir=DIR C header files [PREFIX/include]
1268 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1269 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1270 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1271 --infodir=DIR info documentation [DATAROOTDIR/info]
1272 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1273 --mandir=DIR man documentation [DATAROOTDIR/man]
1274 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1275 --htmldir=DIR html documentation [DOCDIR]
1276 --dvidir=DIR dvi documentation [DOCDIR]
1277 --pdfdir=DIR pdf documentation [DOCDIR]
1278 --psdir=DIR ps documentation [DOCDIR]
1284 --build=BUILD configure
for building on BUILD
[guessed
]
1285 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1286 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1290 if test -n "$ac_init_help"; then
1295 --disable-option-checking ignore unrecognized
--enable/--with options
1296 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1297 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1298 --enable-maintainer-mode
1299 enable make rules and dependencies not useful
(and
1300 sometimes confusing
) to the casual installer
1301 --enable-multilib build many library versions
(default
)
1302 --disable-shared don
't provide a shared libgnat
1305 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1306 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1307 --with-build-libsubdir=DIR Directory where to find libraries for build system
1308 --with-system-libunwind use installed libunwind
1309 --with-gcc-major-version-only
1310 use only GCC major number in filesystem paths
1312 Some influential environment variables:
1313 CC C compiler command
1314 CFLAGS C compiler flags
1315 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1316 nonstandard directory <lib dir>
1317 LIBS libraries to pass to the linker, e.g. -l<library>
1318 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1319 you have headers in a nonstandard directory <include dir>
1322 Use these variables to override the choices made by `configure' or to
help
1323 it to
find libraries and programs with nonstandard names
/locations.
1325 Report bugs to the package provider.
1330 if test "$ac_init_help" = "recursive"; then
1331 # If there are subdirs, report their specific --help.
1332 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1333 test -d "$ac_dir" ||
1334 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1339 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1341 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1342 # A ".." for each directory in $ac_dir_suffix.
1343 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1344 case $ac_top_builddir_sub in
1345 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1346 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1349 ac_abs_top_builddir
=$ac_pwd
1350 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1351 # for backward compatibility:
1352 ac_top_builddir
=$ac_top_build_prefix
1355 .
) # We are building in place.
1357 ac_top_srcdir
=$ac_top_builddir_sub
1358 ac_abs_top_srcdir
=$ac_pwd ;;
1359 [\\/]* | ?
:[\\/]* ) # Absolute name.
1360 ac_srcdir
=$srcdir$ac_dir_suffix;
1361 ac_top_srcdir
=$srcdir
1362 ac_abs_top_srcdir
=$srcdir ;;
1364 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1365 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1366 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1368 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1370 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1371 # Check for guested configure.
1372 if test -f "$ac_srcdir/configure.gnu"; then
1374 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1375 elif test -f "$ac_srcdir/configure"; then
1377 $SHELL "$ac_srcdir/configure" --help=recursive
1379 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1381 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1385 test -n "$ac_init_help" && exit $ac_status
1386 if $ac_init_version; then
1389 generated by GNU Autoconf
2.64
1391 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1392 This configure
script is free software
; the Free Software Foundation
1393 gives unlimited permission to copy
, distribute and modify it.
1398 ## ------------------------ ##
1399 ## Autoconf initialization. ##
1400 ## ------------------------ ##
1402 # ac_fn_c_try_compile LINENO
1403 # --------------------------
1404 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1405 ac_fn_c_try_compile
()
1407 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1408 rm -f conftest.
$ac_objext
1409 if { { ac_try
="$ac_compile"
1411 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1412 *) ac_try_echo=$ac_try;;
1414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1415 $as_echo "$ac_try_echo"; } >&5
1416 (eval "$ac_compile") 2>conftest.err
1418 if test -s conftest.err; then
1419 grep -v '^ *+' conftest.err >conftest.er1
1420 cat conftest.er1 >&5
1421 mv -f conftest.er1 conftest.err
1423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1424 test $ac_status = 0; } && {
1425 test -z "$ac_c_werror_flag" ||
1426 test ! -s conftest.err
1427 } && test -s conftest.$ac_objext; then :
1430 $as_echo "$as_me: failed program was:" >&5
1431 sed 's/^/| /' conftest.$ac_ext >&5
1435 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1438 } # ac_fn_c_try_compile
1440 # ac_fn_c_try_cpp LINENO
1441 # ----------------------
1442 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1445 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1446 if { { ac_try="$ac_cpp conftest.$ac_ext"
1448 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1449 *) ac_try_echo
=$ac_try;;
1451 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1452 $as_echo "$ac_try_echo"; } >&5
1453 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1455 if test -s conftest.err
; then
1456 grep -v '^ *+' conftest.err
>conftest.er1
1457 cat conftest.er1
>&5
1458 mv -f conftest.er1 conftest.err
1460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1461 test $ac_status = 0; } >/dev
/null
&& {
1462 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1463 test ! -s conftest.err
1467 $as_echo "$as_me: failed program was:" >&5
1468 sed 's/^/| /' conftest.
$ac_ext >&5
1472 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1477 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1478 # -------------------------------------------------------
1479 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1480 # the include files in INCLUDES and setting the cache variable VAR
1482 ac_fn_c_check_header_mongrel
()
1484 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1485 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1487 $as_echo_n "checking for $2... " >&6; }
1488 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1489 $as_echo_n "(cached) " >&6
1492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1493 $as_echo "$ac_res" >&6; }
1495 # Is the header compilable?
1496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1497 $as_echo_n "checking $2 usability... " >&6; }
1498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1499 /* end confdefs.h. */
1503 if ac_fn_c_try_compile
"$LINENO"; then :
1504 ac_header_compiler
=yes
1506 ac_header_compiler
=no
1508 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1510 $as_echo "$ac_header_compiler" >&6; }
1512 # Is the header present?
1513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1514 $as_echo_n "checking $2 presence... " >&6; }
1515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1516 /* end confdefs.h. */
1519 if ac_fn_c_try_cpp
"$LINENO"; then :
1520 ac_header_preproc
=yes
1522 ac_header_preproc
=no
1524 rm -f conftest.err conftest.
$ac_ext
1525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1526 $as_echo "$ac_header_preproc" >&6; }
1528 # So? What about this header?
1529 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1532 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1534 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1538 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1540 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1542 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1544 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1546 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1550 $as_echo_n "checking for $2... " >&6; }
1551 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1552 $as_echo_n "(cached) " >&6
1554 eval "$3=\$ac_header_compiler"
1557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1558 $as_echo "$ac_res" >&6; }
1560 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1562 } # ac_fn_c_check_header_mongrel
1564 # ac_fn_c_try_run LINENO
1565 # ----------------------
1566 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1567 # that executables *can* be run.
1570 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1571 if { { ac_try
="$ac_link"
1573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1574 *) ac_try_echo=$ac_try;;
1576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1577 $as_echo "$ac_try_echo"; } >&5
1578 (eval "$ac_link") 2>&5
1580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1581 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1582 { { case "(($ac_try" in
1583 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1584 *) ac_try_echo
=$ac_try;;
1586 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1587 $as_echo "$ac_try_echo"; } >&5
1588 (eval "$ac_try") 2>&5
1590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1591 test $ac_status = 0; }; }; then :
1594 $as_echo "$as_me: program exited with status $ac_status" >&5
1595 $as_echo "$as_me: failed program was:" >&5
1596 sed 's/^/| /' conftest.
$ac_ext >&5
1598 ac_retval
=$ac_status
1600 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1601 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1606 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1607 # -------------------------------------------------------
1608 # Tests whether HEADER exists and can be compiled using the include files in
1609 # INCLUDES, setting the cache variable VAR accordingly.
1610 ac_fn_c_check_header_compile
()
1612 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1614 $as_echo_n "checking for $2... " >&6; }
1615 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1616 $as_echo_n "(cached) " >&6
1618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1619 /* end confdefs.h. */
1623 if ac_fn_c_try_compile
"$LINENO"; then :
1628 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1632 $as_echo "$ac_res" >&6; }
1633 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1635 } # ac_fn_c_check_header_compile
1636 cat >config.log
<<_ACEOF
1637 This file contains any messages produced by compilers while
1638 running configure, to aid debugging if configure makes a mistake.
1640 It was created by $as_me, which was
1641 generated by GNU Autoconf 2.64. Invocation command line was
1653 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1654 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1655 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1656 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1657 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1659 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1660 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1662 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1663 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1664 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1665 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1666 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1667 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1668 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1676 test -z "$as_dir" && as_dir
=.
1677 $as_echo "PATH: $as_dir"
1693 # Keep a trace of the command line.
1694 # Strip out --no-create and --no-recursion so they do not pile up.
1695 # Strip out --silent because we don't want to record it for future runs.
1696 # Also quote any args containing shell meta-characters.
1697 # Make two passes to allow for proper duplicate-argument suppression.
1701 ac_must_keep_next
=false
1707 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1708 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1709 |
-silent |
--silent |
--silen |
--sile |
--sil)
1712 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1715 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1717 as_fn_append ac_configure_args1
" '$ac_arg'"
1718 if test $ac_must_keep_next = true
; then
1719 ac_must_keep_next
=false
# Got value, back to normal.
1722 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1723 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1724 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1725 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1726 case "$ac_configure_args0 " in
1727 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1730 -* ) ac_must_keep_next
=true
;;
1733 as_fn_append ac_configure_args
" '$ac_arg'"
1738 { ac_configure_args0
=; unset ac_configure_args0
;}
1739 { ac_configure_args1
=; unset ac_configure_args1
;}
1741 # When interrupted or exit'd, cleanup temporary files, and complete
1742 # config.log. We remove comments because anyway the quotes in there
1743 # would cause problems or look ugly.
1744 # WARNING: Use '\'' to represent an apostrophe within the trap.
1745 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1746 trap 'exit_status=$?
1747 # Save into config.log some information that might help in debugging.
1752 ## ---------------- ##
1753 ## Cache variables. ##
1754 ## ---------------- ##
1757 # The following way of writing the cache mishandles newlines in values,
1759 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1760 eval ac_val=\$$ac_var
1764 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1765 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1768 _ | IFS | as_nl) ;; #(
1769 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1770 *) { eval $ac_var=; unset $ac_var;} ;;
1775 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1776 *${as_nl}ac_space=\ *)
1778 "s/'\''/'\''\\\\'\'''\''/g;
1779 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1782 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1790 ## ----------------- ##
1791 ## Output variables. ##
1792 ## ----------------- ##
1795 for ac_var in $ac_subst_vars
1797 eval ac_val=\$$ac_var
1799 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1801 $as_echo "$ac_var='\''$ac_val'\''"
1805 if test -n "$ac_subst_files"; then
1807 ## ------------------- ##
1808 ## File substitutions. ##
1809 ## ------------------- ##
1812 for ac_var
in $ac_subst_files
1814 eval ac_val
=\$
$ac_var
1816 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1818 $as_echo "$ac_var='\''$ac_val'\''"
1823 if test -s confdefs.h; then
1833 test "$ac_signal" != 0 &&
1834 $as_echo "$as_me: caught signal $ac_signal"
1835 $as_echo "$as_me: exit $exit_status"
1837 rm -f core *.core core.conftest.* &&
1838 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1841 for ac_signal
in 1 2 13 15; do
1842 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1846 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1847 rm -f -r conftest
* confdefs.h
1849 $as_echo "/* confdefs.h */" > confdefs.h
1851 # Predefined preprocessor variables.
1853 cat >>confdefs.h
<<_ACEOF
1854 #define PACKAGE_NAME "$PACKAGE_NAME"
1857 cat >>confdefs.h
<<_ACEOF
1858 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1861 cat >>confdefs.h
<<_ACEOF
1862 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1865 cat >>confdefs.h
<<_ACEOF
1866 #define PACKAGE_STRING "$PACKAGE_STRING"
1869 cat >>confdefs.h
<<_ACEOF
1870 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1873 cat >>confdefs.h
<<_ACEOF
1874 #define PACKAGE_URL "$PACKAGE_URL"
1878 # Let the site file select an alternate cache file if it wants to.
1879 # Prefer an explicitly selected file to automatically selected ones.
1882 if test -n "$CONFIG_SITE"; then
1883 ac_site_file1
=$CONFIG_SITE
1884 elif test "x$prefix" != xNONE
; then
1885 ac_site_file1
=$prefix/share
/config.site
1886 ac_site_file2
=$prefix/etc
/config.site
1888 ac_site_file1
=$ac_default_prefix/share
/config.site
1889 ac_site_file2
=$ac_default_prefix/etc
/config.site
1891 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1893 test "x$ac_site_file" = xNONE
&& continue
1894 if test -r "$ac_site_file"; then
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1896 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1897 sed 's/^/| /' "$ac_site_file" >&5
1902 if test -r "$cache_file"; then
1903 # Some versions of bash will fail to source /dev/null (special
1904 # files actually), so we avoid doing that.
1905 if test -f "$cache_file"; then
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1907 $as_echo "$as_me: loading cache $cache_file" >&6;}
1909 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1910 *) .
"./$cache_file";;
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1915 $as_echo "$as_me: creating cache $cache_file" >&6;}
1919 # Check that the precious variables saved in the cache have kept the same
1921 ac_cache_corrupted
=false
1922 for ac_var
in $ac_precious_vars; do
1923 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1924 eval ac_new_set
=\
$ac_env_${ac_var}_set
1925 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1926 eval ac_new_val
=\
$ac_env_${ac_var}_value
1927 case $ac_old_set,$ac_new_set in
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1930 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1931 ac_cache_corrupted
=: ;;
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1934 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1935 ac_cache_corrupted
=: ;;
1938 if test "x$ac_old_val" != "x$ac_new_val"; then
1939 # differences in whitespace do not lead to failure.
1940 ac_old_val_w
=`echo x $ac_old_val`
1941 ac_new_val_w
=`echo x $ac_new_val`
1942 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1944 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1945 ac_cache_corrupted
=:
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1948 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1949 eval $ac_var=\
$ac_old_val
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1952 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1954 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1957 # Pass precious variables to config.status.
1958 if test "$ac_new_set" = set; then
1960 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1961 *) ac_arg
=$ac_var=$ac_new_val ;;
1963 case " $ac_configure_args " in
1964 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1965 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1969 if $ac_cache_corrupted; then
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1971 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1973 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1974 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1976 ## -------------------- ##
1977 ## Main body of script. ##
1978 ## -------------------- ##
1981 ac_cpp
='$CPP $CPPFLAGS'
1982 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1983 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1984 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1994 # Determine the host, build, and target systems
1996 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1997 for ac_t
in install-sh
install.sh shtool
; do
1998 if test -f "$ac_dir/$ac_t"; then
2000 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2005 if test -z "$ac_aux_dir"; then
2006 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2009 # These three variables are undocumented and unsupported,
2010 # and are intended to be withdrawn in a future Autoconf release.
2011 # They can cause serious problems if a builder's source tree is in a directory
2012 # whose full name contains unusual characters.
2013 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2014 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2015 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2018 # Make sure we can run config.sub.
2019 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2020 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2023 $as_echo_n "checking build system type... " >&6; }
2024 if test "${ac_cv_build+set}" = set; then :
2025 $as_echo_n "(cached) " >&6
2027 ac_build_alias
=$build_alias
2028 test "x$ac_build_alias" = x
&&
2029 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2030 test "x$ac_build_alias" = x
&&
2031 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2032 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2033 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2037 $as_echo "$ac_cv_build" >&6; }
2038 case $ac_cv_build in
2040 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2043 ac_save_IFS
=$IFS; IFS
='-'
2049 # Remember, the first character of IFS is used to create $*,
2050 # except with old shells:
2053 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2057 $as_echo_n "checking host system type... " >&6; }
2058 if test "${ac_cv_host+set}" = set; then :
2059 $as_echo_n "(cached) " >&6
2061 if test "x$host_alias" = x
; then
2062 ac_cv_host
=$ac_cv_build
2064 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2065 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2070 $as_echo "$ac_cv_host" >&6; }
2073 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2076 ac_save_IFS
=$IFS; IFS
='-'
2082 # Remember, the first character of IFS is used to create $*,
2083 # except with old shells:
2086 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2090 $as_echo_n "checking target system type... " >&6; }
2091 if test "${ac_cv_target+set}" = set; then :
2092 $as_echo_n "(cached) " >&6
2094 if test "x$target_alias" = x
; then
2095 ac_cv_target
=$ac_cv_host
2097 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2098 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2103 $as_echo "$ac_cv_target" >&6; }
2104 case $ac_cv_target in
2106 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2108 target
=$ac_cv_target
2109 ac_save_IFS
=$IFS; IFS
='-'
2115 # Remember, the first character of IFS is used to create $*,
2116 # except with old shells:
2119 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2122 # The aliases save the names the user supplied, while $host etc.
2123 # will get canonicalized.
2124 test -n "$target_alias" &&
2125 test "$program_prefix$program_suffix$program_transform_name" = \
2127 program_prefix
=${target_alias}-
2128 target_alias
=${target_alias-$host_alias}
2130 # Determine the noncanonical target name, for directory use.
2131 case ${build_alias} in
2132 "") build_noncanonical
=${build} ;;
2133 *) build_noncanonical
=${build_alias} ;;
2136 case ${host_alias} in
2137 "") host_noncanonical
=${build_noncanonical} ;;
2138 *) host_noncanonical
=${host_alias} ;;
2141 case ${target_alias} in
2142 "") target_noncanonical
=${host_noncanonical} ;;
2143 *) target_noncanonical
=${target_alias} ;;
2149 # Determine the target- and build-specific subdirectories
2151 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2152 # have matching libraries, they should use host libraries: Makefile.tpl
2153 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2154 # However, they still use the build modules, because the corresponding
2155 # host modules (e.g. bison) are only built for the host when bootstrap
2157 # - build_subdir is where we find build modules, and never changes.
2158 # - build_libsubdir is where we find build libraries, and can be overridden.
2160 # Prefix 'build-' so this never conflicts with target_subdir.
2161 build_subdir
="build-${build_noncanonical}"
2163 # Check whether --with-build-libsubdir was given.
2164 if test "${with_build_libsubdir+set}" = set; then :
2165 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2167 build_libsubdir
="$build_subdir"
2170 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2171 if ( test $srcdir = .
&& test -d gcc
) \
2172 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2173 host_subdir
="host-${host_noncanonical}"
2178 target_subdir
=${target_noncanonical}
2181 # Command-line options.
2182 # Very limited version of AC_MAINTAINER_MODE.
2183 # Check whether --enable-maintainer-mode was given.
2184 if test "${enable_maintainer_mode+set}" = set; then :
2185 enableval
=$enable_maintainer_mode; case ${enable_maintainer_mode} in
2188 *) as_fn_error
"--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
2190 maintainer_mode
=${enableval}
2196 # Default to --enable-multilib
2197 # Check whether --enable-multilib was given.
2198 if test "${enable_multilib+set}" = set; then :
2199 enableval
=$enable_multilib; case "$enableval" in
2200 yes) multilib
=yes ;;
2202 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2209 # We may get other options which we leave undocumented:
2210 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2211 # See config-ml.in if you want the gory details.
2213 if test "$srcdir" = "."; then
2214 if test "$with_target_subdir" != "."; then
2215 multi_basedir
="$srcdir/$with_multisrctop../.."
2217 multi_basedir
="$srcdir/$with_multisrctop.."
2220 multi_basedir
="$srcdir/.."
2224 # Even if the default multilib is not a cross compilation,
2225 # it may be that some of the other multilibs are.
2226 if test $cross_compiling = no
&& test $multilib = yes \
2227 && test "x${with_multisubdir}" != x
; then
2228 cross_compiling
=maybe
2231 ac_config_commands
="$ac_config_commands default-1"
2233 # Calculate toolexeclibdir
2234 # Also toolexecdir, though it's only used in toolexeclibdir
2235 case ${enable_version_specific_runtime_libs} in
2237 # Need the gcc compiler version to know where to install libraries
2238 # and header files if --enable-version-specific-runtime-libs option
2240 toolexecdir
='$(libdir)/gcc/$(target_alias)'
2241 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2244 if test -n "$with_cross_host" &&
2245 test x
"$with_cross_host" != x
"no"; then
2246 # Install a library built with a cross compiler in tooldir, not libdir.
2247 toolexecdir
='$(exec_prefix)/$(target_alias)'
2248 toolexeclibdir
='$(toolexecdir)/lib'
2250 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
2251 toolexeclibdir
='$(libdir)'
2253 multi_os_directory
=`$CC -print-multi-os-directory`
2254 case $multi_os_directory in
2255 .
) ;; # Avoid trailing /.
2256 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
2262 #TODO: toolexeclibdir is currently disregarded
2264 # Check the compiler.
2265 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2266 # We must force CC to /not/ be precious variables; otherwise
2267 # the wrong, non-multilib-adjusted value will be used in multilibs.
2268 # As a side effect, we have to subst CFLAGS ourselves.
2273 ac_cpp
='$CPP $CPPFLAGS'
2274 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2275 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2276 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2277 if test -n "$ac_tool_prefix"; then
2278 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2279 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2281 $as_echo_n "checking for $ac_word... " >&6; }
2282 if test "${ac_cv_prog_CC+set}" = set; then :
2283 $as_echo_n "(cached) " >&6
2285 if test -n "$CC"; then
2286 ac_cv_prog_CC
="$CC" # Let the user override the test.
2288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2292 test -z "$as_dir" && as_dir
=.
2293 for ac_exec_ext
in '' $ac_executable_extensions; do
2294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2295 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2306 if test -n "$CC"; then
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2308 $as_echo "$CC" >&6; }
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2311 $as_echo "no" >&6; }
2316 if test -z "$ac_cv_prog_CC"; then
2318 # Extract the first word of "gcc", so it can be a program name with args.
2319 set dummy gcc
; ac_word
=$2
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2321 $as_echo_n "checking for $ac_word... " >&6; }
2322 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2323 $as_echo_n "(cached) " >&6
2325 if test -n "$ac_ct_CC"; then
2326 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2332 test -z "$as_dir" && as_dir
=.
2333 for ac_exec_ext
in '' $ac_executable_extensions; do
2334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2335 ac_cv_prog_ac_ct_CC
="gcc"
2336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2345 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2346 if test -n "$ac_ct_CC"; then
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2348 $as_echo "$ac_ct_CC" >&6; }
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2351 $as_echo "no" >&6; }
2354 if test "x$ac_ct_CC" = x
; then
2357 case $cross_compiling:$ac_tool_warned in
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2361 ac_tool_warned
=yes ;;
2369 if test -z "$CC"; then
2370 if test -n "$ac_tool_prefix"; then
2371 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2372 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2374 $as_echo_n "checking for $ac_word... " >&6; }
2375 if test "${ac_cv_prog_CC+set}" = set; then :
2376 $as_echo_n "(cached) " >&6
2378 if test -n "$CC"; then
2379 ac_cv_prog_CC
="$CC" # Let the user override the test.
2381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2385 test -z "$as_dir" && as_dir
=.
2386 for ac_exec_ext
in '' $ac_executable_extensions; do
2387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2388 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2399 if test -n "$CC"; then
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2401 $as_echo "$CC" >&6; }
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2404 $as_echo "no" >&6; }
2410 if test -z "$CC"; then
2411 # Extract the first word of "cc", so it can be a program name with args.
2412 set dummy cc
; ac_word
=$2
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2414 $as_echo_n "checking for $ac_word... " >&6; }
2415 if test "${ac_cv_prog_CC+set}" = set; then :
2416 $as_echo_n "(cached) " >&6
2418 if test -n "$CC"; then
2419 ac_cv_prog_CC
="$CC" # Let the user override the test.
2422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2426 test -z "$as_dir" && as_dir
=.
2427 for ac_exec_ext
in '' $ac_executable_extensions; do
2428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2429 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2430 ac_prog_rejected
=yes
2434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2441 if test $ac_prog_rejected = yes; then
2442 # We found a bogon in the path, so make sure we never use it.
2443 set dummy
$ac_cv_prog_CC
2445 if test $# != 0; then
2446 # We chose a different compiler from the bogus one.
2447 # However, it has the same basename, so the bogon will be chosen
2448 # first if we set CC to just the basename; use the full file name.
2450 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2456 if test -n "$CC"; then
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2458 $as_echo "$CC" >&6; }
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2461 $as_echo "no" >&6; }
2466 if test -z "$CC"; then
2467 if test -n "$ac_tool_prefix"; then
2468 for ac_prog
in cl.exe
2470 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2471 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2473 $as_echo_n "checking for $ac_word... " >&6; }
2474 if test "${ac_cv_prog_CC+set}" = set; then :
2475 $as_echo_n "(cached) " >&6
2477 if test -n "$CC"; then
2478 ac_cv_prog_CC
="$CC" # Let the user override the test.
2480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2484 test -z "$as_dir" && as_dir
=.
2485 for ac_exec_ext
in '' $ac_executable_extensions; do
2486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2487 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2498 if test -n "$CC"; then
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2500 $as_echo "$CC" >&6; }
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2503 $as_echo "no" >&6; }
2507 test -n "$CC" && break
2510 if test -z "$CC"; then
2512 for ac_prog
in cl.exe
2514 # Extract the first word of "$ac_prog", so it can be a program name with args.
2515 set dummy
$ac_prog; ac_word
=$2
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2517 $as_echo_n "checking for $ac_word... " >&6; }
2518 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2519 $as_echo_n "(cached) " >&6
2521 if test -n "$ac_ct_CC"; then
2522 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2528 test -z "$as_dir" && as_dir
=.
2529 for ac_exec_ext
in '' $ac_executable_extensions; do
2530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2531 ac_cv_prog_ac_ct_CC
="$ac_prog"
2532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2541 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2542 if test -n "$ac_ct_CC"; then
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2544 $as_echo "$ac_ct_CC" >&6; }
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2547 $as_echo "no" >&6; }
2551 test -n "$ac_ct_CC" && break
2554 if test "x$ac_ct_CC" = x
; then
2557 case $cross_compiling:$ac_tool_warned in
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2561 ac_tool_warned
=yes ;;
2570 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2572 as_fn_error
"no acceptable C compiler found in \$PATH
2573 See \`config.log' for more details." "$LINENO" 5; }
2575 # Provide some information about the compiler.
2576 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2579 for ac_option
in --version -v -V -qversion; do
2580 { { ac_try
="$ac_compiler $ac_option >&5"
2582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2583 *) ac_try_echo=$ac_try;;
2585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2586 $as_echo "$ac_try_echo"; } >&5
2587 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2589 if test -s conftest.err; then
2591 ... rest of stderr output deleted ...
2592 10q' conftest.err >conftest.er1
2593 cat conftest.er1 >&5
2594 rm -f conftest.er1 conftest.err
2596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2597 test $ac_status = 0; }
2600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2601 /* end confdefs.h. */
2611 ac_clean_files_save=$ac_clean_files
2612 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2613 # Try to create an executable without -o first, disregard a.out.
2614 # It will help us diagnose broken compilers, and finding out an intuition
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2617 $as_echo_n "checking for C compiler default output file name... " >&6; }
2618 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2620 # The possible output files:
2621 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2624 for ac_file in $ac_files
2627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2628 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2633 if { { ac_try="$ac_link_default"
2635 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2636 *) ac_try_echo
=$ac_try;;
2638 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2639 $as_echo "$ac_try_echo"; } >&5
2640 (eval "$ac_link_default") 2>&5
2642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2643 test $ac_status = 0; }; then :
2644 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2645 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2646 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2647 # so that the user can short-circuit this test for compilers unknown to
2649 for ac_file
in $ac_files ''
2651 test -f "$ac_file" ||
continue
2653 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2656 # We found the default executable, but exeext='' is most
2660 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2662 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2664 # We set ac_cv_exeext here because the later test for it is not
2665 # safe: cross compilers may not add the suffix if given an `-o'
2666 # argument, so we may need to know it at that point already.
2667 # Even if this section looks crufty: it has the advantage of
2674 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2680 $as_echo "$ac_file" >&6; }
2681 if test -z "$ac_file"; then :
2682 $as_echo "$as_me: failed program was:" >&5
2683 sed 's/^/| /' conftest.
$ac_ext >&5
2685 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2687 { as_fn_set_status
77
2688 as_fn_error
"C compiler cannot create executables
2689 See \`config.log' for more details." "$LINENO" 5; }; }
2691 ac_exeext
=$ac_cv_exeext
2693 # Check that the compiler produces executables we can run. If not, either
2694 # the compiler is broken, or we cross compile.
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2696 $as_echo_n "checking whether the C compiler works... " >&6; }
2697 # If not cross compiling, check that we can run a simple program.
2698 if test "$cross_compiling" != yes; then
2699 if { ac_try
='./$ac_file'
2700 { { case "(($ac_try" in
2701 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2702 *) ac_try_echo=$ac_try;;
2704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2705 $as_echo "$ac_try_echo"; } >&5
2706 (eval "$ac_try") 2>&5
2708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2709 test $ac_status = 0; }; }; then
2712 if test "$cross_compiling" = maybe; then
2715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2717 as_fn_error "cannot run C compiled programs.
2718 If you meant to cross compile
, use \
`--host'.
2719 See \`config.log
' for more details." "$LINENO" 5; }
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2724 $as_echo "yes" >&6; }
2726 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2727 ac_clean_files=$ac_clean_files_save
2728 # Check that the compiler produces executables we can run. If not, either
2729 # the compiler is broken, or we cross compile.
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2731 $as_echo_n "checking whether we are cross compiling... " >&6; }
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2733 $as_echo "$cross_compiling" >&6; }
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2736 $as_echo_n "checking for suffix of executables... " >&6; }
2737 if { { ac_try="$ac_link"
2739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2740 *) ac_try_echo=$ac_try;;
2742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2743 $as_echo "$ac_try_echo"; } >&5
2744 (eval "$ac_link") 2>&5
2746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2747 test $ac_status = 0; }; then :
2748 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2749 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2750 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2752 for ac_file
in conftest.exe conftest conftest.
*; do
2753 test -f "$ac_file" ||
continue
2755 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2756 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2764 as_fn_error
"cannot compute suffix of executables: cannot compile and link
2765 See \`config.log' for more details." "$LINENO" 5; }
2767 rm -f conftest
$ac_cv_exeext
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2769 $as_echo "$ac_cv_exeext" >&6; }
2771 rm -f conftest.
$ac_ext
2772 EXEEXT
=$ac_cv_exeext
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2775 $as_echo_n "checking for suffix of object files... " >&6; }
2776 if test "${ac_cv_objext+set}" = set; then :
2777 $as_echo_n "(cached) " >&6
2779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2780 /* end confdefs.h. */
2790 rm -f conftest.o conftest.obj
2791 if { { ac_try
="$ac_compile"
2793 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2794 *) ac_try_echo=$ac_try;;
2796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2797 $as_echo "$ac_try_echo"; } >&5
2798 (eval "$ac_compile") 2>&5
2800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2801 test $ac_status = 0; }; then :
2802 for ac_file in conftest.o conftest.obj conftest.*; do
2803 test -f "$ac_file" || continue;
2805 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2806 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2811 $as_echo "$as_me: failed program was:" >&5
2812 sed 's/^/| /' conftest.$ac_ext >&5
2814 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2815 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2816 as_fn_error "cannot compute suffix of object files
: cannot compile
2817 See \
`config.log' for more details." "$LINENO" 5; }
2819 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2822 $as_echo "$ac_cv_objext" >&6; }
2823 OBJEXT=$ac_cv_objext
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2826 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2827 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2828 $as_echo_n "(cached) " >&6
2830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2831 /* end confdefs.h. */
2844 if ac_fn_c_try_compile "$LINENO"; then :
2849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2850 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2854 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2855 if test $ac_compiler_gnu = yes; then
2860 ac_test_CFLAGS=${CFLAGS+set}
2861 ac_save_CFLAGS=$CFLAGS
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2863 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2864 if test "${ac_cv_prog_cc_g+set}" = set; then :
2865 $as_echo_n "(cached) " >&6
2867 ac_save_c_werror_flag=$ac_c_werror_flag
2868 ac_c_werror_flag=yes
2871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2872 /* end confdefs.h. */
2882 if ac_fn_c_try_compile "$LINENO"; then :
2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2897 if ac_fn_c_try_compile "$LINENO"; then :
2900 ac_c_werror_flag=$ac_save_c_werror_flag
2902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2903 /* end confdefs.h. */
2913 if ac_fn_c_try_compile "$LINENO"; then :
2916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2921 ac_c_werror_flag=$ac_save_c_werror_flag
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2924 $as_echo "$ac_cv_prog_cc_g" >&6; }
2925 if test "$ac_test_CFLAGS" = set; then
2926 CFLAGS=$ac_save_CFLAGS
2927 elif test $ac_cv_prog_cc_g = yes; then
2928 if test "$GCC" = yes; then
2934 if test "$GCC" = yes; then
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2941 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2942 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2943 $as_echo_n "(cached) " >&6
2945 ac_cv_prog_cc_c89=no
2947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2948 /* end confdefs.h. */
2951 #include <sys/types.h>
2952 #include <sys/stat.h>
2953 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2954 struct buf { int x; };
2955 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2956 static char *e (p, i)
2962 static char *f (char * (*g) (char **, int), char **p, ...)
2967 s = g (p, va_arg (v,int));
2972 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2973 function prototypes and stuff, but not '\xHH' hex character constants.
2974 These don't provoke an error unfortunately, instead are silently treated
2975 as 'x'. The following induces an error, until -std is added to get
2976 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2977 array size at least. It's necessary to write '\x00'==0 to get something
2978 that's true only with -std. */
2979 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2981 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2982 inside strings and character constants. */
2984 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2986 int test (int i, double x);
2987 struct s1 {int (*f) (int a);};
2988 struct s2 {int (*f) (double a);};
2989 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2995 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3000 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3001 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3003 CC="$ac_save_CC $ac_arg"
3004 if ac_fn_c_try_compile "$LINENO"; then :
3005 ac_cv_prog_cc_c89=$ac_arg
3007 rm -f core conftest.err conftest.$ac_objext
3008 test "x$ac_cv_prog_cc_c89" != "xno" && break
3010 rm -f conftest.$ac_ext
3015 case "x$ac_cv_prog_cc_c89" in
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3018 $as_echo "none needed" >&6; } ;;
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3021 $as_echo "unsupported" >&6; } ;;
3023 CC="$CC $ac_cv_prog_cc_c89"
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3025 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3027 if test "x$ac_cv_prog_cc_c89" != xno; then :
3032 ac_cpp='$CPP $CPPFLAGS'
3033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3041 # Check whether --enable-shared was given.
3042 if test "${enable_shared+set}" = set; then :
3043 enableval=$enable_shared;
3044 case $enable_shared in
3048 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3049 for pkg in $enableval; do
3052 enable_shared=yes ;;
3070 # PIC is the default on some targets or must not be used.
3072 # For darwin, common symbols are not allowed in MH_DYLIB files
3074 # If we are using a compiler supporting mdynamic-no-pic
3075 # and the option has been tested as safe to add, then cancel
3076 # it here, since the code generated is incompatible with shared
3078 *-mdynamic-no-pic*) PICFLAG='-fno-common -mno-dynamic-no-pic' ;;
3079 *) PICFLAG=-fno-common ;;
3083 # PIC is the default.
3086 # PIC is the default for 64-bit PA HP-UX.
3088 i[34567]86-*-cygwin* | x86_64-*-cygwin*)
3090 i[34567]86-*-mingw* | x86_64-*-mingw*)
3092 i[34567]86-*-interix[3-9]*)
3093 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
3094 # Instead, we relocate shared libraries at runtime.
3096 i[34567]86-*-nto-qnx*)
3097 # QNX uses GNU C++, but need to define -shared option too, otherwise
3099 PICFLAG='-fPIC -shared'
3101 i[34567]86-pc-msdosdjgpp*)
3102 # DJGPP does not support shared libraries at all.
3105 # On IA64 HP-UX, PIC is the default but the pic flag
3106 # sets the default TLS model and affects inlining.
3110 # PIC is the default.
3112 rs6000-ibm-aix* | powerpc-ibm-aix*)
3113 # All AIX code is PIC.
3116 # Some targets support both -fPIC and -fpic, but prefer the latter.
3118 i[34567]86-*-* | x86_64-*-*)
3121 # FIXME: Override -fPIC default in libgcc only?
3122 sh-*-linux* | sh[2346lbe]*-*-linux*)
3125 # FIXME: Simplify to sh*-*-netbsd*?
3126 sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
3127 sh64-*-netbsd* | sh64l*-*-netbsd*)
3130 # Default to -fPIC unless specified otherwise.
3136 # If the user explicitly uses -fpic/-fPIC, keep that.
3148 # These must be passed down, or are needed by gcc/libgcc.mvars
3149 for ac_prog in gawk mawk nawk awk
3151 # Extract the first word of "$ac_prog", so it can be a program name with args.
3152 set dummy $ac_prog; ac_word=$2
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3154 $as_echo_n "checking for $ac_word... " >&6; }
3155 if test "${ac_cv_prog_AWK+set}" = set; then :
3156 $as_echo_n "(cached) " >&6
3158 if test -n "$AWK"; then
3159 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3165 test -z "$as_dir" && as_dir=.
3166 for ac_exec_ext in '' $ac_executable_extensions; do
3167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3168 ac_cv_prog_AWK="$ac_prog"
3169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3179 if test -n "$AWK"; then
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3181 $as_echo "$AWK" >&6; }
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3184 $as_echo "no" >&6; }
3188 test -n "$AWK" && break
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3192 $as_echo_n "checking whether ln -s works... " >&6; }
3194 if test "$LN_S" = "ln -s"; then
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3196 $as_echo "yes" >&6; }
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3199 $as_echo "no, using $LN_S" >&6; }
3203 # Determine what to build for 'gnatlib'
3204 if test ${enable_shared} = yes; then
3205 default_gnatlib_target="gnatlib-shared"
3207 default_gnatlib_target="gnatlib-plain"
3211 # Check for _Unwind_GetIPInfo
3214 # Check whether --with-system-libunwind was given.
3215 if test "${with_system_libunwind+set}" = set; then :
3216 withval=$with_system_libunwind;
3219 # If system-libunwind was not specifically set, pick a default setting.
3220 if test x$with_system_libunwind = x; then
3222 ia64-*-hpux*) with_system_libunwind=yes ;;
3223 *) with_system_libunwind=no ;;
3226 # Based on system-libunwind and target, do we have ipinfo?
3227 if test x$with_system_libunwind = xyes; then
3229 ia64-*-*) have_unwind_getipinfo=no ;;
3230 *) have_unwind_getipinfo=yes ;;
3233 # Darwin before version 9 does not have _Unwind_GetIPInfo.
3236 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
3237 *) have_unwind_getipinfo=yes ;;
3242 if test x$have_unwind_getipinfo = xyes; then
3244 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
3248 if test x$have_unwind_getipinfo = xyes; then
3249 have_getipinfo=-DHAVE_GETIPINFO
3255 # Check for <sys/capability.h>
3258 ac_cpp='$CPP $CPPFLAGS'
3259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3263 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3264 # On Suns, sometimes $CPP names a directory.
3265 if test -n "$CPP" && test -d "$CPP"; then
3268 if test -z "$CPP"; then
3269 if test "${ac_cv_prog_CPP+set}" = set; then :
3270 $as_echo_n "(cached) " >&6
3272 # Double quotes because CPP needs to be expanded
3273 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3276 for ac_c_preproc_warn_flag in '' yes
3278 # Use a header file that comes with gcc, so configuring glibc
3279 # with a fresh cross-compiler works.
3280 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3281 # <limits.h> exists even on freestanding compilers.
3282 # On the NeXT, cc -E runs the code through the compiler's parser,
3283 # not just through cpp. "Syntax error" is here to catch this case.
3284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3285 /* end confdefs.h. */
3287 # include <limits.h>
3289 # include <assert.h>
3293 if ac_fn_c_try_cpp "$LINENO"; then :
3296 # Broken: fails on valid input.
3299 rm -f conftest.err conftest.$ac_ext
3301 # OK, works on sane cases. Now check whether nonexistent headers
3302 # can be detected and how.
3303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3304 /* end confdefs.h. */
3305 #include <ac_nonexistent.h>
3307 if ac_fn_c_try_cpp "$LINENO"; then :
3308 # Broken: success on invalid input.
3311 # Passes both tests.
3315 rm -f conftest.err conftest.$ac_ext
3318 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3319 rm -f conftest.err conftest.
$ac_ext
3320 if $ac_preproc_ok; then :
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3333 $as_echo "$CPP" >&6; }
3335 for ac_c_preproc_warn_flag
in '' yes
3337 # Use a header file that comes with gcc, so configuring glibc
3338 # with a fresh cross-compiler works.
3339 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3340 # <limits.h> exists even on freestanding compilers.
3341 # On the NeXT, cc -E runs the code through the compiler's parser,
3342 # not just through cpp. "Syntax error" is here to catch this case.
3343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3344 /* end confdefs.h. */
3346 # include <limits.h>
3348 # include <assert.h>
3352 if ac_fn_c_try_cpp
"$LINENO"; then :
3355 # Broken: fails on valid input.
3358 rm -f conftest.err conftest.
$ac_ext
3360 # OK, works on sane cases. Now check whether nonexistent headers
3361 # can be detected and how.
3362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3363 /* end confdefs.h. */
3364 #include <ac_nonexistent.h>
3366 if ac_fn_c_try_cpp
"$LINENO"; then :
3367 # Broken: success on invalid input.
3370 # Passes both tests.
3374 rm -f conftest.err conftest.
$ac_ext
3377 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3378 rm -f conftest.err conftest.
$ac_ext
3379 if $ac_preproc_ok; then :
3382 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3384 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3385 See \`config.log' for more details." "$LINENO" 5; }
3389 ac_cpp
='$CPP $CPPFLAGS'
3390 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3391 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3392 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3396 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3397 if test "${ac_cv_path_GREP+set}" = set; then :
3398 $as_echo_n "(cached) " >&6
3400 if test -z "$GREP"; then
3401 ac_path_GREP_found
=false
3402 # Loop through the user's path and test for each of PROGNAME-LIST
3403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3404 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3407 test -z "$as_dir" && as_dir
=.
3408 for ac_prog
in grep ggrep
; do
3409 for ac_exec_ext
in '' $ac_executable_extensions; do
3410 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3411 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3412 # Check for GNU ac_path_GREP and select it if it is found.
3413 # Check for GNU $ac_path_GREP
3414 case `"$ac_path_GREP" --version 2>&1` in
3416 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3419 $as_echo_n 0123456789 >"conftest.in"
3422 cat "conftest.in" "conftest.in" >"conftest.tmp"
3423 mv "conftest.tmp" "conftest.in"
3424 cp "conftest.in" "conftest.nl"
3425 $as_echo 'GREP' >> "conftest.nl"
3426 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3427 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3428 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3429 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3430 # Best one so far, save it but keep looking for a better one
3431 ac_cv_path_GREP
="$ac_path_GREP"
3432 ac_path_GREP_max
=$ac_count
3434 # 10*(2^10) chars as input seems more than enough
3435 test $ac_count -gt 10 && break
3437 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3440 $ac_path_GREP_found && break 3
3445 if test -z "$ac_cv_path_GREP"; then
3446 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3449 ac_cv_path_GREP
=$GREP
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3454 $as_echo "$ac_cv_path_GREP" >&6; }
3455 GREP
="$ac_cv_path_GREP"
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3459 $as_echo_n "checking for egrep... " >&6; }
3460 if test "${ac_cv_path_EGREP+set}" = set; then :
3461 $as_echo_n "(cached) " >&6
3463 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3464 then ac_cv_path_EGREP
="$GREP -E"
3466 if test -z "$EGREP"; then
3467 ac_path_EGREP_found
=false
3468 # Loop through the user's path and test for each of PROGNAME-LIST
3469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3470 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3473 test -z "$as_dir" && as_dir
=.
3474 for ac_prog
in egrep; do
3475 for ac_exec_ext
in '' $ac_executable_extensions; do
3476 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3477 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3478 # Check for GNU ac_path_EGREP and select it if it is found.
3479 # Check for GNU $ac_path_EGREP
3480 case `"$ac_path_EGREP" --version 2>&1` in
3482 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3485 $as_echo_n 0123456789 >"conftest.in"
3488 cat "conftest.in" "conftest.in" >"conftest.tmp"
3489 mv "conftest.tmp" "conftest.in"
3490 cp "conftest.in" "conftest.nl"
3491 $as_echo 'EGREP' >> "conftest.nl"
3492 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3493 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3494 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3495 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3496 # Best one so far, save it but keep looking for a better one
3497 ac_cv_path_EGREP
="$ac_path_EGREP"
3498 ac_path_EGREP_max
=$ac_count
3500 # 10*(2^10) chars as input seems more than enough
3501 test $ac_count -gt 10 && break
3503 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3506 $ac_path_EGREP_found && break 3
3511 if test -z "$ac_cv_path_EGREP"; then
3512 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3515 ac_cv_path_EGREP
=$EGREP
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3521 $as_echo "$ac_cv_path_EGREP" >&6; }
3522 EGREP
="$ac_cv_path_EGREP"
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3526 $as_echo_n "checking for ANSI C header files... " >&6; }
3527 if test "${ac_cv_header_stdc+set}" = set; then :
3528 $as_echo_n "(cached) " >&6
3530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3531 /* end confdefs.h. */
3545 if ac_fn_c_try_compile
"$LINENO"; then :
3546 ac_cv_header_stdc
=yes
3548 ac_cv_header_stdc
=no
3550 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3552 if test $ac_cv_header_stdc = yes; then
3553 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3555 /* end confdefs.h. */
3559 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3560 $EGREP "memchr" >/dev
/null
2>&1; then :
3563 ac_cv_header_stdc
=no
3569 if test $ac_cv_header_stdc = yes; then
3570 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3572 /* end confdefs.h. */
3576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3577 $EGREP "free" >/dev
/null
2>&1; then :
3580 ac_cv_header_stdc
=no
3586 if test $ac_cv_header_stdc = yes; then
3587 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3588 if test "$cross_compiling" = yes; then :
3591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3592 /* end confdefs.h. */
3595 #if ((' ' & 0x0FF) == 0x020)
3596 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3597 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3599 # define ISLOWER(c) \
3600 (('a' <= (c) && (c) <= 'i') \
3601 || ('j' <= (c) && (c) <= 'r') \
3602 || ('s' <= (c) && (c) <= 'z'))
3603 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3606 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3611 for (i = 0; i < 256; i++)
3612 if (XOR (islower (i), ISLOWER (i))
3613 || toupper (i) != TOUPPER (i))
3618 if ac_fn_c_try_run
"$LINENO"; then :
3621 ac_cv_header_stdc
=no
3623 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3624 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3630 $as_echo "$ac_cv_header_stdc" >&6; }
3631 if test $ac_cv_header_stdc = yes; then
3633 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3637 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3638 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3639 inttypes.h stdint.h unistd.h
3641 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3642 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3644 eval as_val
=\$
$as_ac_Header
3645 if test "x$as_val" = x
""yes; then :
3646 cat >>confdefs.h
<<_ACEOF
3647 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3655 ac_fn_c_check_header_mongrel
"$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
3656 if test "x$ac_cv_header_sys_capability_h" = x
""yes; then :
3657 have_capability
=-DHAVE_CAPABILITY
3665 # Determine what GCC version number to use in filesystem paths.
3667 get_gcc_base_ver
="cat"
3669 # Check whether --with-gcc-major-version-only was given.
3670 if test "${with_gcc_major_version_only+set}" = set; then :
3671 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
3672 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
3680 # Output: create a Makefile.
3681 ac_config_files
="$ac_config_files Makefile"
3684 cat >confcache
<<\_ACEOF
3685 # This file is a shell script that caches the results of configure
3686 # tests run on this system so they can be shared between configure
3687 # scripts and configure runs, see configure's option --config-cache.
3688 # It is not useful on other systems. If it contains results you don't
3689 # want to keep, you may remove or edit it.
3691 # config.status only pays attention to the cache file if you give it
3692 # the --recheck option to rerun configure.
3694 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3695 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3700 # The following way of writing the cache mishandles newlines in values,
3701 # but we know of no workaround that is simple, portable, and efficient.
3702 # So, we kill variables containing newlines.
3703 # Ultrix sh set writes to stderr and can't be redirected directly,
3704 # and sets the high bit in the cache file unless we assign to the vars.
3706 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3707 eval ac_val
=\$
$ac_var
3711 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3712 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3715 _ | IFS | as_nl
) ;; #(
3716 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3717 *) { eval $ac_var=; unset $ac_var;} ;;
3723 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3724 *${as_nl}ac_space
=\
*)
3725 # `set' does not quote correctly, so add quotes: double-quote
3726 # substitution turns \\\\ into \\, and sed turns \\ into \.
3729 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3732 # `set' quotes correctly as required by POSIX, so do not add quotes.
3733 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3742 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3744 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3746 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3747 if test -w "$cache_file"; then
3748 test "x$cache_file" != "x/dev/null" &&
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3750 $as_echo "$as_me: updating cache $cache_file" >&6;}
3751 cat confcache
>$cache_file
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3754 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3759 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3760 # Let make expand exec_prefix.
3761 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3763 # Transform confdefs.h into DEFS.
3764 # Protect against shell expansion while executing Makefile rules.
3765 # Protect against Makefile macro expansion.
3767 # If the first sed substitution is executed (which looks for macros that
3768 # take arguments), then branch to the quote section. Otherwise,
3769 # look for a macro that doesn't take arguments.
3779 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3781 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3785 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3798 DEFS
=`sed -n "$ac_script" confdefs.h`
3803 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3804 # 1. Remove the extension, and $U if already installed.
3805 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3806 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3807 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3808 # will be set to the directory where LIBOBJS objects are built.
3809 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3810 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
3814 LTLIBOBJS
=$ac_ltlibobjs
3818 : ${CONFIG_STATUS=./config.status}
3820 ac_clean_files_save
=$ac_clean_files
3821 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3823 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3825 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3827 # Generated by $as_me.
3828 # Run this file to recreate the current configuration.
3829 # Compiler output produced by configure, useful for debugging
3830 # configure, is in config.log if it exists.
3836 SHELL=\${CONFIG_SHELL-$SHELL}
3839 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
3840 ## -------------------- ##
3841 ## M4sh Initialization. ##
3842 ## -------------------- ##
3844 # Be more Bourne compatible
3845 DUALCASE
=1; export DUALCASE
# for MKS sh
3846 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
3849 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3850 # is contrary to our usage. Disable this feature.
3851 alias -g '${1+"$@"}'='"$@"'
3852 setopt NO_GLOB_SUBST
3854 case `(set -o) 2>/dev/null` in #(
3866 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3867 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3868 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3869 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3870 # Prefer a ksh shell builtin over an external printf program on Solaris,
3871 # but without wasting forks for bash or zsh.
3872 if test -z "$BASH_VERSION$ZSH_VERSION" \
3873 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3874 as_echo='print
-r --'
3875 as_echo_n='print
-rn --'
3876 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3877 as_echo='printf %s
\n'
3878 as_echo_n='printf %s
'
3880 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3881 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3882 as_echo_n='/usr
/ucb
/echo -n'
3884 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3885 as_echo_n_body='eval
3889 expr "X$arg" : "X\\(.*\\)$as_nl";
3890 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3892 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3894 export as_echo_n_body
3895 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3898 as_echo='sh
-c $as_echo_body as_echo
'
3901 # The user is always right.
3902 if test "${PATH_SEPARATOR+set}" != set; then
3904 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3905 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3912 # We need space, tab and new line, in precisely that order. Quoting is
3913 # there to prevent editors from complaining about space-tab.
3914 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3915 # splitting by setting IFS to empty value.)
3918 # Find who we are. Look in the path if we contain no directory separator.
3920 *[\\/]* ) as_myself=$0 ;;
3921 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3925 test -z "$as_dir" && as_dir=.
3926 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3932 # We did not find ourselves, most probably we were run as `sh COMMAND'
3933 # in which case we are not to be found in the path.
3934 if test "x$as_myself" = x
; then
3937 if test ! -f "$as_myself"; then
3938 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3942 # Unset variables that we do not need and which cause bugs (e.g. in
3943 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3944 # suppresses any "Segmentation fault" message there. '((' could
3945 # trigger a bug in pdksh 5.2.14.
3946 for as_var
in BASH_ENV ENV MAIL MAILPATH
3947 do eval test x\
${$as_var+set} = xset \
3948 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
3961 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
3964 # as_fn_error ERROR [LINENO LOG_FD]
3965 # ---------------------------------
3966 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3967 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3968 # script with status $?, using 1 if that was 0.
3971 as_status
=$?
; test $as_status -eq 0 && as_status
=1
3973 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3974 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3976 $as_echo "$as_me: error: $1" >&2
3977 as_fn_exit
$as_status
3981 # as_fn_set_status STATUS
3982 # -----------------------
3983 # Set $? to STATUS, without forking.
3987 } # as_fn_set_status
3991 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4001 # Portably unset VAR.
4004 { eval $1=; unset $1;}
4006 as_unset
=as_fn_unset
4007 # as_fn_append VAR VALUE
4008 # ----------------------
4009 # Append the text in VALUE to the end of the definition contained in VAR. Take
4010 # advantage of any shell optimizations that allow amortized linear growth over
4011 # repeated appends, instead of the typical quadratic growth present in naive
4013 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4014 eval 'as_fn_append ()
4025 # as_fn_arith ARG...
4026 # ------------------
4027 # Perform arithmetic evaluation on the ARGs, and store the result in the
4028 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4029 # must be portable across $(()) and expr.
4030 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4031 eval 'as_fn_arith ()
4038 as_val
=`expr "$@" || test $? -eq 1`
4043 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4044 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4050 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4051 as_basename
=basename
4056 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4062 as_me
=`$as_basename -- "$0" ||
4063 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4064 X"$0" : 'X\(//\)$' \| \
4065 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4067 sed '/^.*\/\([^/][^/]*\)\/*$/{
4081 # Avoid depending upon Character Ranges.
4082 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4083 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4084 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4085 as_cr_digits
='0123456789'
4086 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4088 ECHO_C
= ECHO_N
= ECHO_T
=
4089 case `echo -n x` in #(((((
4091 case `echo 'xy\c'` in
4092 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4094 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4101 rm -f conf$$ conf$$.exe conf$$.
file
4102 if test -d conf$$.dir
; then
4103 rm -f conf$$.dir
/conf$$.
file
4106 mkdir conf$$.dir
2>/dev
/null
4108 if (echo >conf$$.
file) 2>/dev
/null
; then
4109 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4111 # ... but there are two gotchas:
4112 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4113 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4114 # In both cases, we have to default to `cp -p'.
4115 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4117 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4125 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4126 rmdir conf$$.dir
2>/dev
/null
4131 # Create "$as_dir" as a directory, including parents if necessary.
4136 -*) as_dir
=.
/$as_dir;;
4138 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4142 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4143 *) as_qdir
=$as_dir;;
4145 as_dirs
="'$as_qdir' $as_dirs"
4146 as_dir
=`$as_dirname -- "$as_dir" ||
4147 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4148 X"$as_dir" : 'X\(//\)[^/]' \| \
4149 X"$as_dir" : 'X\(//\)$' \| \
4150 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4151 $as_echo X"$as_dir" |
4152 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4169 test -d "$as_dir" && break
4171 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4172 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
4176 if mkdir
-p .
2>/dev
/null
; then
4177 as_mkdir_p
='mkdir -p "$as_dir"'
4179 test -d .
/-p && rmdir .
/-p
4183 if test -x / >/dev
/null
2>&1; then
4186 if ls -dL / >/dev
/null
2>&1; then
4193 if test -d "$1"; then
4199 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4200 ???[sx]*):;;*)false;;esac;fi
4204 as_executable_p
=$as_test_x
4206 # Sed expression to map a string onto a valid CPP name.
4207 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4209 # Sed expression to map a string onto a valid variable name.
4210 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4214 ## ----------------------------------- ##
4215 ## Main body of $CONFIG_STATUS script. ##
4216 ## ----------------------------------- ##
4218 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4221 # Save the log message, to keep $0 and so on meaningful, and to
4222 # report actual input values of CONFIG_FILES etc. instead of their
4223 # values after options handling.
4225 This file was extended by $as_me, which was
4226 generated by GNU Autoconf 2.64. Invocation command line was
4228 CONFIG_FILES = $CONFIG_FILES
4229 CONFIG_HEADERS = $CONFIG_HEADERS
4230 CONFIG_LINKS = $CONFIG_LINKS
4231 CONFIG_COMMANDS = $CONFIG_COMMANDS
4234 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4239 case $ac_config_files in *"
4240 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4245 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4246 # Files that config.status was made for.
4247 config_files="$ac_config_files"
4248 config_commands="$ac_config_commands"
4252 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4254 \`$as_me' instantiates files and other configuration actions
4255 from templates according to the current configuration. Unless the files
4256 and actions are specified as TAGs, all are instantiated by default.
4258 Usage: $0 [OPTION]... [TAG]...
4260 -h, --help print this help, then exit
4261 -V, --version print version number and configuration settings, then exit
4262 -q, --quiet, --silent
4263 do not print progress messages
4264 -d, --debug don't remove temporary files
4265 --recheck update $as_me by reconfiguring in the same conditions
4266 --file=FILE[:TEMPLATE]
4267 instantiate the configuration file FILE
4269 Configuration files:
4272 Configuration commands:
4275 Report bugs to the package provider."
4278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4281 configured by $0, generated by GNU Autoconf 2.64,
4282 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4284 Copyright (C) 2009 Free Software Foundation, Inc.
4285 This config.status script is free software; the Free Software Foundation
4286 gives unlimited permission to copy, distribute and modify it."
4291 test -n "\$AWK" || AWK=awk
4294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4295 # The default lists apply if the user does not specify any file.
4301 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4302 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4313 # Handling of the options.
4314 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4316 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4317 $as_echo "$ac_cs_version"; exit ;;
4318 --debug |
--debu |
--deb |
--de |
--d |
-d )
4320 --file |
--fil |
--fi |
--f )
4323 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4325 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4326 ac_need_defaults
=false
;;
4327 --he |
--h |
--help |
--hel |
-h )
4328 $as_echo "$ac_cs_usage"; exit ;;
4329 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4330 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4334 -*) as_fn_error
"unrecognized option: \`$1'
4335 Try \`$0 --help' for more information." ;;
4337 *) as_fn_append ac_config_targets
" $1"
4338 ac_need_defaults
=false
;;
4344 ac_configure_extra_args
=
4346 if $ac_cs_silent; then
4348 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4353 if \$ac_cs_recheck; then
4354 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4356 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4357 CONFIG_SHELL='$SHELL'
4363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4367 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4368 ## Running $as_me. ##
4374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4382 with_multisubdir="$with_multisubdir"
4383 with_multisrctop="$with_multisrctop"
4384 with_target_subdir="$with_target_subdir"
4385 ac_configure_args="${multilib_arg} ${ac_configure_args}"
4386 multi_basedir="$multi_basedir"
4387 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
4390 GFORTRAN="$GFORTRAN"
4394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4396 # Handling of arguments.
4397 for ac_config_target
in $ac_config_targets
4399 case $ac_config_target in
4400 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
4401 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4403 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4408 # If the user did not use the arguments to specify the items to instantiate,
4409 # then the envvar interface is used. Set only those that are not.
4410 # We use the long form for the default assignment because of an extremely
4411 # bizarre bug on SunOS 4.1.3.
4412 if $ac_need_defaults; then
4413 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4414 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
4417 # Have a temporary directory for convenience. Make it in the build tree
4418 # simply because there is no reason against having it here, and in addition,
4419 # creating and moving files from /tmp can sometimes cause problems.
4420 # Hook for its removal unless debugging.
4421 # Note that there is a small window in which the directory will not be cleaned:
4422 # after its creation but before its name has been assigned to `$tmp'.
4426 trap 'exit_status=$?
4427 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4429 trap 'as_fn_exit 1' 1 2 13 15
4431 # Create a (secure) tmp directory for tmp files.
4434 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4435 test -n "$tmp" && test -d "$tmp"
4438 tmp
=.
/conf$$
-$RANDOM
4439 (umask 077 && mkdir
"$tmp")
4440 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
4442 # Set up the scripts for CONFIG_FILES section.
4443 # No need to generate them if there are no CONFIG_FILES.
4444 # This happens for instance with `./config.status config.h'.
4445 if test -n "$CONFIG_FILES"; then
4448 ac_cr
=`echo X | tr X '\015'`
4449 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4450 # But we know of no other shell where ac_cr would be empty at this
4451 # point, so we can use a bashism as a fallback.
4452 if test "x$ac_cr" = x
; then
4453 eval ac_cr
=\$
\'\\r
\'
4455 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4456 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4462 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4467 echo "cat >conf$$subs.awk <<_ACEOF" &&
4468 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4471 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4472 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4474 for ac_last_try in false false false false false :; do
4475 . ./conf$$subs.sh ||
4476 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4478 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4479 if test $ac_delim_n = $ac_delim_num; then
4481 elif $ac_last_try; then
4482 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4484 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4489 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4490 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
4494 s/^/S["/; s
/!.
*/"]=/
4504 s/\(.\{148\}\).*/\1/
4506 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4511 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4518 s/\(.\{148\}\).*/\1/
4520 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4524 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4529 ' <conf$$subs.awk | sed '
4534 ' >>$CONFIG_STATUS || ac_write_fail=1
4535 rm -f conf$$subs.awk
4536 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4538 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
4539 for (key in S) S_is_set[key] = 1
4545 nfields = split(line, field, "@
")
4547 len = length(field[1])
4548 for (i = 2; i < nfields; i++) {
4550 keylen = length(key)
4551 if (S_is_set[key]) {
4553 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4554 len += length(value) + length(field[++i])
4565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4566 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4567 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4570 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
4571 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
4574 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4575 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
4576 # trailing colons and then remove the whole line if VPATH becomes empty
4577 # (actually we leave an empty line to preserve line numbers).
4578 if test "x
$srcdir" = x.; then
4579 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4583 s/^\([^=]*=[ ]*\):*/\1/
4589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4590 fi # test -n "$CONFIG_FILES"
4593 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
4598 :[FHLC]) ac_mode=$ac_tag; continue;;
4600 case $ac_mode$ac_tag in
4602 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
4603 :[FH]-) ac_tag=-:-;;
4604 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4621 -) ac_f="$tmp/stdin";;
4622 *) # Look for the file first in the build tree, then in the source tree
4623 # (if the path is not absolute). The absolute path cannot be DOS-style,
4624 # because $ac_f cannot contain `:'.
4628 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4630 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4632 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
4633 as_fn_append ac_file_inputs " '$ac_f'"
4636 # Let's still pretend it is `configure' which instantiates (i.e., don't
4637 # use $as_me), people would be surprised to read:
4638 # /* config.h. Generated by config.status. */
4639 configure_input='Generated from '`
4640 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4642 if test x"$ac_file" != x-; then
4643 configure_input="$ac_file.
$configure_input"
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
4645 $as_echo "$as_me: creating
$ac_file" >&6;}
4647 # Neutralize special characters interpreted by sed in replacement strings.
4648 case $configure_input in #(
4649 *\&* | *\|* | *\\* )
4650 ac_sed_conf_input=`$as_echo "$configure_input" |
4651 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4652 *) ac_sed_conf_input=$configure_input;;
4656 *:-:* | *:-) cat >"$tmp/stdin
" \
4657 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
4662 ac_dir=`$as_dirname -- "$ac_file" ||
4663 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4664 X"$ac_file" : 'X\(//\)[^/]' \| \
4665 X"$ac_file" : 'X\(//\)$' \| \
4666 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4667 $as_echo X"$ac_file" |
4668 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4685 as_dir="$ac_dir"; as_fn_mkdir_p
4689 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4691 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4692 # A "..
" for each directory in $ac_dir_suffix.
4693 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4694 case $ac_top_builddir_sub in
4695 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4696 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4699 ac_abs_top_builddir=$ac_pwd
4700 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4701 # for backward compatibility:
4702 ac_top_builddir=$ac_top_build_prefix
4705 .) # We are building in place.
4707 ac_top_srcdir=$ac_top_builddir_sub
4708 ac_abs_top_srcdir=$ac_pwd ;;
4709 [\\/]* | ?:[\\/]* ) # Absolute name.
4710 ac_srcdir=$srcdir$ac_dir_suffix;
4711 ac_top_srcdir=$srcdir
4712 ac_abs_top_srcdir=$srcdir ;;
4714 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4715 ac_top_srcdir=$ac_top_build_prefix$srcdir
4716 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4718 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4730 # If the template does not know about datarootdir, expand it.
4731 # FIXME: This hack should be removed a few years after 2.60.
4732 ac_datarootdir_hack=; ac_datarootdir_seen=
4743 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
4744 *datarootdir*) ac_datarootdir_seen=yes;;
4745 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
4747 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
4749 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4750 ac_datarootdir_hack='
4751 s&@datadir@&$datadir&g
4752 s&@docdir@&$docdir&g
4753 s&@infodir@&$infodir&g
4754 s&@localedir@&$localedir&g
4755 s&@mandir@&$mandir&g
4756 s&\\\${datarootdir}&$datarootdir&g' ;;
4760 # Neutralize VPATH when `$srcdir' = `.'.
4761 # Shell code in configure.ac might set extrasub.
4762 # FIXME: do we really want to maintain this feature?
4763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4764 ac_sed_extra="$ac_vpsub
4767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4769 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4770 s|@configure_input@|
$ac_sed_conf_input|
;t t
4771 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
4772 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
4773 s
&@srcdir@
&$ac_srcdir&;t t
4774 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
4775 s
&@top_srcdir@
&$ac_top_srcdir&;t t
4776 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
4777 s
&@builddir@
&$ac_builddir&;t t
4778 s
&@abs_builddir@
&$ac_abs_builddir&;t t
4779 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
4780 $ac_datarootdir_hack
4782 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
4783 || as_fn_error "could not create
$ac_file" "$LINENO" 5
4785 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4786 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
4787 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
4789 which seems to be undefined. Please make sure it is defined." >&5
4790 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
4791 which seems to be undefined. Please make sure it is defined." >&2;}
4795 -) cat "$tmp/out" && rm -f "$tmp/out";;
4796 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4798 || as_fn_error "could not create $ac_file" "$LINENO" 5
4802 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4803 $as_echo "$as_me: executing $ac_file commands" >&6;}
4808 case $ac_file$ac_mode in
4810 # Only add multilib support code if we just rebuilt the top-level
4812 case " $CONFIG_FILES " in
4814 ac_file=Makefile . ${multi_basedir}/config-ml.in
4824 ac_clean_files=$ac_clean_files_save
4826 test $ac_write_fail = 0 ||
4827 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4830 # configure is writing to config.log, and then calls config.status.
4831 # config.status does its own redirection, appending to config.log.
4832 # Unfortunately, on DOS this fails, as config.log is still kept open
4833 # by configure, so config.status won't be able to
write to it
; its
4834 # output is simply discarded. So we exec the FD to /dev/null,
4835 # effectively closing config.log, so it can be properly (re)opened and
4836 # appended to by config.status. When coming back to configure, we
4837 # need to make the FD available again.
4838 if test "$no_create" != yes; then
4840 ac_config_status_args
=
4841 test "$silent" = yes &&
4842 ac_config_status_args
="$ac_config_status_args --quiet"
4844 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4846 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4847 # would make configure fail if this is the last instruction.
4848 $ac_cs_success || as_fn_exit $?
4850 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4852 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}