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 $build = $target \
3205 && test ${enable_shared} = yes ; then
3206 # Note that build=target is almost certainly the wrong test; FIXME
3207 default_gnatlib_target="gnatlib-shared"
3209 default_gnatlib_target="gnatlib-plain"
3213 # Check for _Unwind_GetIPInfo
3216 # Check whether --with-system-libunwind was given.
3217 if test "${with_system_libunwind+set}" = set; then :
3218 withval=$with_system_libunwind;
3221 # If system-libunwind was not specifically set, pick a default setting.
3222 if test x$with_system_libunwind = x; then
3224 ia64-*-hpux*) with_system_libunwind=yes ;;
3225 *) with_system_libunwind=no ;;
3228 # Based on system-libunwind and target, do we have ipinfo?
3229 if test x$with_system_libunwind = xyes; then
3231 ia64-*-*) have_unwind_getipinfo=no ;;
3232 *) have_unwind_getipinfo=yes ;;
3235 # Darwin before version 9 does not have _Unwind_GetIPInfo.
3238 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
3239 *) have_unwind_getipinfo=yes ;;
3244 if test x$have_unwind_getipinfo = xyes; then
3246 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
3251 if test x$have_unwind_getipinfo = xyes; then
3252 have_getipinfo=-DHAVE_GETIPINFO
3256 # Check for <sys/capability.h>
3259 ac_cpp='$CPP $CPPFLAGS'
3260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3264 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3265 # On Suns, sometimes $CPP names a directory.
3266 if test -n "$CPP" && test -d "$CPP"; then
3269 if test -z "$CPP"; then
3270 if test "${ac_cv_prog_CPP+set}" = set; then :
3271 $as_echo_n "(cached) " >&6
3273 # Double quotes because CPP needs to be expanded
3274 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3277 for ac_c_preproc_warn_flag in '' yes
3279 # Use a header file that comes with gcc, so configuring glibc
3280 # with a fresh cross-compiler works.
3281 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3282 # <limits.h> exists even on freestanding compilers.
3283 # On the NeXT, cc -E runs the code through the compiler's parser,
3284 # not just through cpp. "Syntax error" is here to catch this case.
3285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3286 /* end confdefs.h. */
3288 # include <limits.h>
3290 # include <assert.h>
3294 if ac_fn_c_try_cpp "$LINENO"; then :
3297 # Broken: fails on valid input.
3300 rm -f conftest.err conftest.$ac_ext
3302 # OK, works on sane cases. Now check whether nonexistent headers
3303 # can be detected and how.
3304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3305 /* end confdefs.h. */
3306 #include <ac_nonexistent.h>
3308 if ac_fn_c_try_cpp "$LINENO"; then :
3309 # Broken: success on invalid input.
3312 # Passes both tests.
3316 rm -f conftest.err conftest.$ac_ext
3319 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3320 rm -f conftest.err conftest.
$ac_ext
3321 if $ac_preproc_ok; then :
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3334 $as_echo "$CPP" >&6; }
3336 for ac_c_preproc_warn_flag
in '' yes
3338 # Use a header file that comes with gcc, so configuring glibc
3339 # with a fresh cross-compiler works.
3340 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3341 # <limits.h> exists even on freestanding compilers.
3342 # On the NeXT, cc -E runs the code through the compiler's parser,
3343 # not just through cpp. "Syntax error" is here to catch this case.
3344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3345 /* end confdefs.h. */
3347 # include <limits.h>
3349 # include <assert.h>
3353 if ac_fn_c_try_cpp
"$LINENO"; then :
3356 # Broken: fails on valid input.
3359 rm -f conftest.err conftest.
$ac_ext
3361 # OK, works on sane cases. Now check whether nonexistent headers
3362 # can be detected and how.
3363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3364 /* end confdefs.h. */
3365 #include <ac_nonexistent.h>
3367 if ac_fn_c_try_cpp
"$LINENO"; then :
3368 # Broken: success on invalid input.
3371 # Passes both tests.
3375 rm -f conftest.err conftest.
$ac_ext
3378 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3379 rm -f conftest.err conftest.
$ac_ext
3380 if $ac_preproc_ok; then :
3383 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3385 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3386 See \`config.log' for more details." "$LINENO" 5; }
3390 ac_cpp
='$CPP $CPPFLAGS'
3391 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3392 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3393 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3397 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3398 if test "${ac_cv_path_GREP+set}" = set; then :
3399 $as_echo_n "(cached) " >&6
3401 if test -z "$GREP"; then
3402 ac_path_GREP_found
=false
3403 # Loop through the user's path and test for each of PROGNAME-LIST
3404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3405 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3408 test -z "$as_dir" && as_dir
=.
3409 for ac_prog
in grep ggrep
; do
3410 for ac_exec_ext
in '' $ac_executable_extensions; do
3411 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3412 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3413 # Check for GNU ac_path_GREP and select it if it is found.
3414 # Check for GNU $ac_path_GREP
3415 case `"$ac_path_GREP" --version 2>&1` in
3417 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3420 $as_echo_n 0123456789 >"conftest.in"
3423 cat "conftest.in" "conftest.in" >"conftest.tmp"
3424 mv "conftest.tmp" "conftest.in"
3425 cp "conftest.in" "conftest.nl"
3426 $as_echo 'GREP' >> "conftest.nl"
3427 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3428 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3429 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3430 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3431 # Best one so far, save it but keep looking for a better one
3432 ac_cv_path_GREP
="$ac_path_GREP"
3433 ac_path_GREP_max
=$ac_count
3435 # 10*(2^10) chars as input seems more than enough
3436 test $ac_count -gt 10 && break
3438 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3441 $ac_path_GREP_found && break 3
3446 if test -z "$ac_cv_path_GREP"; then
3447 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3450 ac_cv_path_GREP
=$GREP
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3455 $as_echo "$ac_cv_path_GREP" >&6; }
3456 GREP
="$ac_cv_path_GREP"
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3460 $as_echo_n "checking for egrep... " >&6; }
3461 if test "${ac_cv_path_EGREP+set}" = set; then :
3462 $as_echo_n "(cached) " >&6
3464 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3465 then ac_cv_path_EGREP
="$GREP -E"
3467 if test -z "$EGREP"; then
3468 ac_path_EGREP_found
=false
3469 # Loop through the user's path and test for each of PROGNAME-LIST
3470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3471 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3474 test -z "$as_dir" && as_dir
=.
3475 for ac_prog
in egrep; do
3476 for ac_exec_ext
in '' $ac_executable_extensions; do
3477 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3478 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3479 # Check for GNU ac_path_EGREP and select it if it is found.
3480 # Check for GNU $ac_path_EGREP
3481 case `"$ac_path_EGREP" --version 2>&1` in
3483 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3486 $as_echo_n 0123456789 >"conftest.in"
3489 cat "conftest.in" "conftest.in" >"conftest.tmp"
3490 mv "conftest.tmp" "conftest.in"
3491 cp "conftest.in" "conftest.nl"
3492 $as_echo 'EGREP' >> "conftest.nl"
3493 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3494 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3495 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3496 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3497 # Best one so far, save it but keep looking for a better one
3498 ac_cv_path_EGREP
="$ac_path_EGREP"
3499 ac_path_EGREP_max
=$ac_count
3501 # 10*(2^10) chars as input seems more than enough
3502 test $ac_count -gt 10 && break
3504 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3507 $ac_path_EGREP_found && break 3
3512 if test -z "$ac_cv_path_EGREP"; then
3513 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3516 ac_cv_path_EGREP
=$EGREP
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3522 $as_echo "$ac_cv_path_EGREP" >&6; }
3523 EGREP
="$ac_cv_path_EGREP"
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3527 $as_echo_n "checking for ANSI C header files... " >&6; }
3528 if test "${ac_cv_header_stdc+set}" = set; then :
3529 $as_echo_n "(cached) " >&6
3531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3532 /* end confdefs.h. */
3546 if ac_fn_c_try_compile
"$LINENO"; then :
3547 ac_cv_header_stdc
=yes
3549 ac_cv_header_stdc
=no
3551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3553 if test $ac_cv_header_stdc = yes; then
3554 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3556 /* end confdefs.h. */
3560 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3561 $EGREP "memchr" >/dev
/null
2>&1; then :
3564 ac_cv_header_stdc
=no
3570 if test $ac_cv_header_stdc = yes; then
3571 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3573 /* end confdefs.h. */
3577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3578 $EGREP "free" >/dev
/null
2>&1; then :
3581 ac_cv_header_stdc
=no
3587 if test $ac_cv_header_stdc = yes; then
3588 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3589 if test "$cross_compiling" = yes; then :
3592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3593 /* end confdefs.h. */
3596 #if ((' ' & 0x0FF) == 0x020)
3597 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3598 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3600 # define ISLOWER(c) \
3601 (('a' <= (c) && (c) <= 'i') \
3602 || ('j' <= (c) && (c) <= 'r') \
3603 || ('s' <= (c) && (c) <= 'z'))
3604 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3607 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3612 for (i = 0; i < 256; i++)
3613 if (XOR (islower (i), ISLOWER (i))
3614 || toupper (i) != TOUPPER (i))
3619 if ac_fn_c_try_run
"$LINENO"; then :
3622 ac_cv_header_stdc
=no
3624 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3625 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3631 $as_echo "$ac_cv_header_stdc" >&6; }
3632 if test $ac_cv_header_stdc = yes; then
3634 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3638 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3639 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3640 inttypes.h stdint.h unistd.h
3642 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3643 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3645 eval as_val
=\$
$as_ac_Header
3646 if test "x$as_val" = x
""yes; then :
3647 cat >>confdefs.h
<<_ACEOF
3648 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3656 ac_fn_c_check_header_mongrel
"$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
3657 if test "x$ac_cv_header_sys_capability_h" = x
""yes; then :
3658 have_capability
=-DHAVE_CAPABILITY
3666 # Determine what GCC version number to use in filesystem paths.
3668 get_gcc_base_ver
="cat"
3670 # Check whether --with-gcc-major-version-only was given.
3671 if test "${with_gcc_major_version_only+set}" = set; then :
3672 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
3673 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
3681 # Output: create a Makefile.
3682 ac_config_files
="$ac_config_files Makefile"
3685 cat >confcache
<<\_ACEOF
3686 # This file is a shell script that caches the results of configure
3687 # tests run on this system so they can be shared between configure
3688 # scripts and configure runs, see configure's option --config-cache.
3689 # It is not useful on other systems. If it contains results you don't
3690 # want to keep, you may remove or edit it.
3692 # config.status only pays attention to the cache file if you give it
3693 # the --recheck option to rerun configure.
3695 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3696 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3701 # The following way of writing the cache mishandles newlines in values,
3702 # but we know of no workaround that is simple, portable, and efficient.
3703 # So, we kill variables containing newlines.
3704 # Ultrix sh set writes to stderr and can't be redirected directly,
3705 # and sets the high bit in the cache file unless we assign to the vars.
3707 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3708 eval ac_val
=\$
$ac_var
3712 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3713 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3716 _ | IFS | as_nl
) ;; #(
3717 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3718 *) { eval $ac_var=; unset $ac_var;} ;;
3724 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3725 *${as_nl}ac_space
=\
*)
3726 # `set' does not quote correctly, so add quotes: double-quote
3727 # substitution turns \\\\ into \\, and sed turns \\ into \.
3730 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3733 # `set' quotes correctly as required by POSIX, so do not add quotes.
3734 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3743 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3745 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3747 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3748 if test -w "$cache_file"; then
3749 test "x$cache_file" != "x/dev/null" &&
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3751 $as_echo "$as_me: updating cache $cache_file" >&6;}
3752 cat confcache
>$cache_file
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3755 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3760 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3761 # Let make expand exec_prefix.
3762 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3764 # Transform confdefs.h into DEFS.
3765 # Protect against shell expansion while executing Makefile rules.
3766 # Protect against Makefile macro expansion.
3768 # If the first sed substitution is executed (which looks for macros that
3769 # take arguments), then branch to the quote section. Otherwise,
3770 # look for a macro that doesn't take arguments.
3780 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3782 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3786 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3799 DEFS
=`sed -n "$ac_script" confdefs.h`
3804 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3805 # 1. Remove the extension, and $U if already installed.
3806 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3807 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3808 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3809 # will be set to the directory where LIBOBJS objects are built.
3810 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3811 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
3815 LTLIBOBJS
=$ac_ltlibobjs
3819 : ${CONFIG_STATUS=./config.status}
3821 ac_clean_files_save
=$ac_clean_files
3822 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3824 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3826 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3828 # Generated by $as_me.
3829 # Run this file to recreate the current configuration.
3830 # Compiler output produced by configure, useful for debugging
3831 # configure, is in config.log if it exists.
3837 SHELL=\${CONFIG_SHELL-$SHELL}
3840 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
3841 ## -------------------- ##
3842 ## M4sh Initialization. ##
3843 ## -------------------- ##
3845 # Be more Bourne compatible
3846 DUALCASE
=1; export DUALCASE
# for MKS sh
3847 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
3850 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3851 # is contrary to our usage. Disable this feature.
3852 alias -g '${1+"$@"}'='"$@"'
3853 setopt NO_GLOB_SUBST
3855 case `(set -o) 2>/dev/null` in #(
3867 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3868 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3869 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3870 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3871 # Prefer a ksh shell builtin over an external printf program on Solaris,
3872 # but without wasting forks for bash or zsh.
3873 if test -z "$BASH_VERSION$ZSH_VERSION" \
3874 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3875 as_echo='print
-r --'
3876 as_echo_n='print
-rn --'
3877 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3878 as_echo='printf %s
\n'
3879 as_echo_n='printf %s
'
3881 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3882 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3883 as_echo_n='/usr
/ucb
/echo -n'
3885 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3886 as_echo_n_body='eval
3890 expr "X$arg" : "X\\(.*\\)$as_nl";
3891 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3893 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3895 export as_echo_n_body
3896 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3899 as_echo='sh
-c $as_echo_body as_echo
'
3902 # The user is always right.
3903 if test "${PATH_SEPARATOR+set}" != set; then
3905 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3906 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3913 # We need space, tab and new line, in precisely that order. Quoting is
3914 # there to prevent editors from complaining about space-tab.
3915 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3916 # splitting by setting IFS to empty value.)
3919 # Find who we are. Look in the path if we contain no directory separator.
3921 *[\\/]* ) as_myself=$0 ;;
3922 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3926 test -z "$as_dir" && as_dir=.
3927 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3933 # We did not find ourselves, most probably we were run as `sh COMMAND'
3934 # in which case we are not to be found in the path.
3935 if test "x$as_myself" = x
; then
3938 if test ! -f "$as_myself"; then
3939 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3943 # Unset variables that we do not need and which cause bugs (e.g. in
3944 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3945 # suppresses any "Segmentation fault" message there. '((' could
3946 # trigger a bug in pdksh 5.2.14.
3947 for as_var
in BASH_ENV ENV MAIL MAILPATH
3948 do eval test x\
${$as_var+set} = xset \
3949 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
3962 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
3965 # as_fn_error ERROR [LINENO LOG_FD]
3966 # ---------------------------------
3967 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3968 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3969 # script with status $?, using 1 if that was 0.
3972 as_status
=$?
; test $as_status -eq 0 && as_status
=1
3974 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3975 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3977 $as_echo "$as_me: error: $1" >&2
3978 as_fn_exit
$as_status
3982 # as_fn_set_status STATUS
3983 # -----------------------
3984 # Set $? to STATUS, without forking.
3988 } # as_fn_set_status
3992 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4002 # Portably unset VAR.
4005 { eval $1=; unset $1;}
4007 as_unset
=as_fn_unset
4008 # as_fn_append VAR VALUE
4009 # ----------------------
4010 # Append the text in VALUE to the end of the definition contained in VAR. Take
4011 # advantage of any shell optimizations that allow amortized linear growth over
4012 # repeated appends, instead of the typical quadratic growth present in naive
4014 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4015 eval 'as_fn_append ()
4026 # as_fn_arith ARG...
4027 # ------------------
4028 # Perform arithmetic evaluation on the ARGs, and store the result in the
4029 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4030 # must be portable across $(()) and expr.
4031 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4032 eval 'as_fn_arith ()
4039 as_val
=`expr "$@" || test $? -eq 1`
4044 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4045 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4051 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4052 as_basename
=basename
4057 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4063 as_me
=`$as_basename -- "$0" ||
4064 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4065 X"$0" : 'X\(//\)$' \| \
4066 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4068 sed '/^.*\/\([^/][^/]*\)\/*$/{
4082 # Avoid depending upon Character Ranges.
4083 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4084 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4085 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4086 as_cr_digits
='0123456789'
4087 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4089 ECHO_C
= ECHO_N
= ECHO_T
=
4090 case `echo -n x` in #(((((
4092 case `echo 'xy\c'` in
4093 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4095 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4102 rm -f conf$$ conf$$.exe conf$$.
file
4103 if test -d conf$$.dir
; then
4104 rm -f conf$$.dir
/conf$$.
file
4107 mkdir conf$$.dir
2>/dev
/null
4109 if (echo >conf$$.
file) 2>/dev
/null
; then
4110 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4112 # ... but there are two gotchas:
4113 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4114 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4115 # In both cases, we have to default to `cp -p'.
4116 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4118 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4126 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4127 rmdir conf$$.dir
2>/dev
/null
4132 # Create "$as_dir" as a directory, including parents if necessary.
4137 -*) as_dir
=.
/$as_dir;;
4139 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4143 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4144 *) as_qdir
=$as_dir;;
4146 as_dirs
="'$as_qdir' $as_dirs"
4147 as_dir
=`$as_dirname -- "$as_dir" ||
4148 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4149 X"$as_dir" : 'X\(//\)[^/]' \| \
4150 X"$as_dir" : 'X\(//\)$' \| \
4151 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4152 $as_echo X"$as_dir" |
4153 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4170 test -d "$as_dir" && break
4172 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4173 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
4177 if mkdir
-p .
2>/dev
/null
; then
4178 as_mkdir_p
='mkdir -p "$as_dir"'
4180 test -d .
/-p && rmdir .
/-p
4184 if test -x / >/dev
/null
2>&1; then
4187 if ls -dL / >/dev
/null
2>&1; then
4194 if test -d "$1"; then
4200 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4201 ???[sx]*):;;*)false;;esac;fi
4205 as_executable_p
=$as_test_x
4207 # Sed expression to map a string onto a valid CPP name.
4208 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4210 # Sed expression to map a string onto a valid variable name.
4211 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4215 ## ----------------------------------- ##
4216 ## Main body of $CONFIG_STATUS script. ##
4217 ## ----------------------------------- ##
4219 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4222 # Save the log message, to keep $0 and so on meaningful, and to
4223 # report actual input values of CONFIG_FILES etc. instead of their
4224 # values after options handling.
4226 This file was extended by $as_me, which was
4227 generated by GNU Autoconf 2.64. Invocation command line was
4229 CONFIG_FILES = $CONFIG_FILES
4230 CONFIG_HEADERS = $CONFIG_HEADERS
4231 CONFIG_LINKS = $CONFIG_LINKS
4232 CONFIG_COMMANDS = $CONFIG_COMMANDS
4235 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4240 case $ac_config_files in *"
4241 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4246 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4247 # Files that config.status was made for.
4248 config_files="$ac_config_files"
4249 config_commands="$ac_config_commands"
4253 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4255 \`$as_me' instantiates files and other configuration actions
4256 from templates according to the current configuration. Unless the files
4257 and actions are specified as TAGs, all are instantiated by default.
4259 Usage: $0 [OPTION]... [TAG]...
4261 -h, --help print this help, then exit
4262 -V, --version print version number and configuration settings, then exit
4263 -q, --quiet, --silent
4264 do not print progress messages
4265 -d, --debug don't remove temporary files
4266 --recheck update $as_me by reconfiguring in the same conditions
4267 --file=FILE[:TEMPLATE]
4268 instantiate the configuration file FILE
4270 Configuration files:
4273 Configuration commands:
4276 Report bugs to the package provider."
4279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4282 configured by $0, generated by GNU Autoconf 2.64,
4283 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4285 Copyright (C) 2009 Free Software Foundation, Inc.
4286 This config.status script is free software; the Free Software Foundation
4287 gives unlimited permission to copy, distribute and modify it."
4292 test -n "\$AWK" || AWK=awk
4295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4296 # The default lists apply if the user does not specify any file.
4302 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4303 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4314 # Handling of the options.
4315 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4317 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4318 $as_echo "$ac_cs_version"; exit ;;
4319 --debug |
--debu |
--deb |
--de |
--d |
-d )
4321 --file |
--fil |
--fi |
--f )
4324 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4326 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4327 ac_need_defaults
=false
;;
4328 --he |
--h |
--help |
--hel |
-h )
4329 $as_echo "$ac_cs_usage"; exit ;;
4330 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4331 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4335 -*) as_fn_error
"unrecognized option: \`$1'
4336 Try \`$0 --help' for more information." ;;
4338 *) as_fn_append ac_config_targets
" $1"
4339 ac_need_defaults
=false
;;
4345 ac_configure_extra_args
=
4347 if $ac_cs_silent; then
4349 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4353 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4354 if \$ac_cs_recheck; then
4355 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4357 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4358 CONFIG_SHELL='$SHELL'
4364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4368 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4369 ## Running $as_me. ##
4375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4383 with_multisubdir="$with_multisubdir"
4384 with_multisrctop="$with_multisrctop"
4385 with_target_subdir="$with_target_subdir"
4386 ac_configure_args="${multilib_arg} ${ac_configure_args}"
4387 multi_basedir="$multi_basedir"
4388 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
4391 GFORTRAN="$GFORTRAN"
4395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4397 # Handling of arguments.
4398 for ac_config_target
in $ac_config_targets
4400 case $ac_config_target in
4401 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
4402 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4404 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4409 # If the user did not use the arguments to specify the items to instantiate,
4410 # then the envvar interface is used. Set only those that are not.
4411 # We use the long form for the default assignment because of an extremely
4412 # bizarre bug on SunOS 4.1.3.
4413 if $ac_need_defaults; then
4414 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4415 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
4418 # Have a temporary directory for convenience. Make it in the build tree
4419 # simply because there is no reason against having it here, and in addition,
4420 # creating and moving files from /tmp can sometimes cause problems.
4421 # Hook for its removal unless debugging.
4422 # Note that there is a small window in which the directory will not be cleaned:
4423 # after its creation but before its name has been assigned to `$tmp'.
4427 trap 'exit_status=$?
4428 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4430 trap 'as_fn_exit 1' 1 2 13 15
4432 # Create a (secure) tmp directory for tmp files.
4435 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4436 test -n "$tmp" && test -d "$tmp"
4439 tmp
=.
/conf$$
-$RANDOM
4440 (umask 077 && mkdir
"$tmp")
4441 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
4443 # Set up the scripts for CONFIG_FILES section.
4444 # No need to generate them if there are no CONFIG_FILES.
4445 # This happens for instance with `./config.status config.h'.
4446 if test -n "$CONFIG_FILES"; then
4449 ac_cr
=`echo X | tr X '\015'`
4450 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4451 # But we know of no other shell where ac_cr would be empty at this
4452 # point, so we can use a bashism as a fallback.
4453 if test "x$ac_cr" = x
; then
4454 eval ac_cr
=\$
\'\\r
\'
4456 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4457 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4463 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4468 echo "cat >conf$$subs.awk <<_ACEOF" &&
4469 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4472 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4473 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4475 for ac_last_try in false false false false false :; do
4476 . ./conf$$subs.sh ||
4477 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4479 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4480 if test $ac_delim_n = $ac_delim_num; then
4482 elif $ac_last_try; then
4483 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4485 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4491 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
4495 s/^/S["/; s
/!.
*/"]=/
4505 s/\(.\{148\}\).*/\1/
4507 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4512 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4519 s/\(.\{148\}\).*/\1/
4521 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4525 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4530 ' <conf$$subs.awk | sed '
4535 ' >>$CONFIG_STATUS || ac_write_fail=1
4536 rm -f conf$$subs.awk
4537 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4539 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
4540 for (key in S) S_is_set[key] = 1
4546 nfields = split(line, field, "@
")
4548 len = length(field[1])
4549 for (i = 2; i < nfields; i++) {
4551 keylen = length(key)
4552 if (S_is_set[key]) {
4554 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4555 len += length(value) + length(field[++i])
4566 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4567 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4568 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4571 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
4572 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
4575 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4576 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
4577 # trailing colons and then remove the whole line if VPATH becomes empty
4578 # (actually we leave an empty line to preserve line numbers).
4579 if test "x
$srcdir" = x.; then
4580 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4584 s/^\([^=]*=[ ]*\):*/\1/
4590 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4591 fi # test -n "$CONFIG_FILES"
4594 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
4599 :[FHLC]) ac_mode=$ac_tag; continue;;
4601 case $ac_mode$ac_tag in
4603 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
4604 :[FH]-) ac_tag=-:-;;
4605 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4622 -) ac_f="$tmp/stdin";;
4623 *) # Look for the file first in the build tree, then in the source tree
4624 # (if the path is not absolute). The absolute path cannot be DOS-style,
4625 # because $ac_f cannot contain `:'.
4629 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4631 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4633 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
4634 as_fn_append ac_file_inputs " '$ac_f'"
4637 # Let's still pretend it is `configure' which instantiates (i.e., don't
4638 # use $as_me), people would be surprised to read:
4639 # /* config.h. Generated by config.status. */
4640 configure_input='Generated from '`
4641 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4643 if test x"$ac_file" != x-; then
4644 configure_input="$ac_file.
$configure_input"
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
4646 $as_echo "$as_me: creating
$ac_file" >&6;}
4648 # Neutralize special characters interpreted by sed in replacement strings.
4649 case $configure_input in #(
4650 *\&* | *\|* | *\\* )
4651 ac_sed_conf_input=`$as_echo "$configure_input" |
4652 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4653 *) ac_sed_conf_input=$configure_input;;
4657 *:-:* | *:-) cat >"$tmp/stdin
" \
4658 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
4663 ac_dir=`$as_dirname -- "$ac_file" ||
4664 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4665 X"$ac_file" : 'X\(//\)[^/]' \| \
4666 X"$ac_file" : 'X\(//\)$' \| \
4667 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4668 $as_echo X"$ac_file" |
4669 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4686 as_dir="$ac_dir"; as_fn_mkdir_p
4690 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4692 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4693 # A "..
" for each directory in $ac_dir_suffix.
4694 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4695 case $ac_top_builddir_sub in
4696 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4697 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4700 ac_abs_top_builddir=$ac_pwd
4701 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4702 # for backward compatibility:
4703 ac_top_builddir=$ac_top_build_prefix
4706 .) # We are building in place.
4708 ac_top_srcdir=$ac_top_builddir_sub
4709 ac_abs_top_srcdir=$ac_pwd ;;
4710 [\\/]* | ?:[\\/]* ) # Absolute name.
4711 ac_srcdir=$srcdir$ac_dir_suffix;
4712 ac_top_srcdir=$srcdir
4713 ac_abs_top_srcdir=$srcdir ;;
4715 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4716 ac_top_srcdir=$ac_top_build_prefix$srcdir
4717 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4719 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4731 # If the template does not know about datarootdir, expand it.
4732 # FIXME: This hack should be removed a few years after 2.60.
4733 ac_datarootdir_hack=; ac_datarootdir_seen=
4744 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
4745 *datarootdir*) ac_datarootdir_seen=yes;;
4746 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
4748 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
4750 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4751 ac_datarootdir_hack='
4752 s&@datadir@&$datadir&g
4753 s&@docdir@&$docdir&g
4754 s&@infodir@&$infodir&g
4755 s&@localedir@&$localedir&g
4756 s&@mandir@&$mandir&g
4757 s&\\\${datarootdir}&$datarootdir&g' ;;
4761 # Neutralize VPATH when `$srcdir' = `.'.
4762 # Shell code in configure.ac might set extrasub.
4763 # FIXME: do we really want to maintain this feature?
4764 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4765 ac_sed_extra="$ac_vpsub
4768 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4770 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4771 s|@configure_input@|
$ac_sed_conf_input|
;t t
4772 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
4773 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
4774 s
&@srcdir@
&$ac_srcdir&;t t
4775 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
4776 s
&@top_srcdir@
&$ac_top_srcdir&;t t
4777 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
4778 s
&@builddir@
&$ac_builddir&;t t
4779 s
&@abs_builddir@
&$ac_abs_builddir&;t t
4780 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
4781 $ac_datarootdir_hack
4783 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
4784 || as_fn_error "could not create
$ac_file" "$LINENO" 5
4786 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4787 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
4788 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
4790 which seems to be undefined. Please make sure it is defined." >&5
4791 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
4792 which seems to be undefined. Please make sure it is defined." >&2;}
4796 -) cat "$tmp/out" && rm -f "$tmp/out";;
4797 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4799 || as_fn_error "could not create $ac_file" "$LINENO" 5
4803 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4804 $as_echo "$as_me: executing $ac_file commands" >&6;}
4809 case $ac_file$ac_mode in
4811 # Only add multilib support code if we just rebuilt the top-level
4813 case " $CONFIG_FILES " in
4815 ac_file=Makefile . ${multi_basedir}/config-ml.in
4825 ac_clean_files=$ac_clean_files_save
4827 test $ac_write_fail = 0 ||
4828 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4831 # configure is writing to config.log, and then calls config.status.
4832 # config.status does its own redirection, appending to config.log.
4833 # Unfortunately, on DOS this fails, as config.log is still kept open
4834 # by configure, so config.status won't be able to
write to it
; its
4835 # output is simply discarded. So we exec the FD to /dev/null,
4836 # effectively closing config.log, so it can be properly (re)opened and
4837 # appended to by config.status. When coming back to configure, we
4838 # need to make the FD available again.
4839 if test "$no_create" != yes; then
4841 ac_config_status_args
=
4842 test "$silent" = yes &&
4843 ac_config_status_args
="$ac_config_status_args --quiet"
4845 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4847 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4848 # would make configure fail if this is the last instruction.
4849 $ac_cs_success || as_fn_exit $?
4851 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4853 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}