2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 ac_unique_file
="Makefile.in"
586 # Factoring default headers for most tests.
587 ac_includes_default
="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
622 ac_subst_vars
='LTLIBOBJS
630 default_gnatlib_target
690 program_transform_name
703 enable_option_checking
705 enable_maintainer_mode
708 with_system_libunwind
709 with_gcc_major_version_only
711 ac_precious_vars
='build_alias
718 # Initialize some variables set by options.
720 ac_init_version
=false
721 ac_unrecognized_opts
=
723 # The variables have the same names as the options, with
724 # dashes changed to underlines.
732 program_transform_name
=s
,x
,x
,
740 # Installation directory options.
741 # These are left unexpanded so users can "make install exec_prefix=/foo"
742 # and all the variables that are supposed to be based on exec_prefix
743 # by default will actually change.
744 # Use braces instead of parens because sh, perl, etc. also accept them.
745 # (The list follows the same order as the GNU Coding Standards.)
746 bindir
='${exec_prefix}/bin'
747 sbindir
='${exec_prefix}/sbin'
748 libexecdir
='${exec_prefix}/libexec'
749 datarootdir
='${prefix}/share'
750 datadir
='${datarootdir}'
751 sysconfdir
='${prefix}/etc'
752 sharedstatedir
='${prefix}/com'
753 localstatedir
='${prefix}/var'
754 includedir
='${prefix}/include'
755 oldincludedir
='/usr/include'
756 docdir
='${datarootdir}/doc/${PACKAGE}'
757 infodir
='${datarootdir}/info'
762 libdir
='${exec_prefix}/lib'
763 localedir
='${datarootdir}/locale'
764 mandir
='${datarootdir}/man'
770 # If the previous option needs an argument, assign it.
771 if test -n "$ac_prev"; then
772 eval $ac_prev=\
$ac_option
778 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
783 # Accept the important Cygnus configure options, so we can diagnose typos.
785 case $ac_dashdash$ac_option in
789 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
791 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
794 -build |
--build |
--buil |
--bui |
--bu)
795 ac_prev
=build_alias
;;
796 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
797 build_alias
=$ac_optarg ;;
799 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
800 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
801 ac_prev
=cache_file
;;
802 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
803 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
804 cache_file
=$ac_optarg ;;
807 cache_file
=config.cache
;;
809 -datadir |
--datadir |
--datadi |
--datad)
811 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
812 datadir
=$ac_optarg ;;
814 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
815 |
--dataroo |
--dataro |
--datar)
816 ac_prev
=datarootdir
;;
817 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
818 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
819 datarootdir
=$ac_optarg ;;
821 -disable-* |
--disable-*)
822 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
823 # Reject names that are not valid shell variable names.
824 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
825 as_fn_error $?
"invalid feature name: $ac_useropt"
826 ac_useropt_orig
=$ac_useropt
827 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
828 case $ac_user_opts in
832 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
833 ac_unrecognized_sep
=', ';;
835 eval enable_
$ac_useropt=no
;;
837 -docdir |
--docdir |
--docdi |
--doc |
--do)
839 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
842 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
844 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
847 -enable-* |
--enable-*)
848 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
849 # Reject names that are not valid shell variable names.
850 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
851 as_fn_error $?
"invalid feature name: $ac_useropt"
852 ac_useropt_orig
=$ac_useropt
853 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
854 case $ac_user_opts in
858 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
859 ac_unrecognized_sep
=', ';;
861 eval enable_
$ac_useropt=\
$ac_optarg ;;
863 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
864 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
865 |
--exec |
--exe |
--ex)
866 ac_prev
=exec_prefix
;;
867 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
868 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
869 |
--exec=* |
--exe=* |
--ex=*)
870 exec_prefix
=$ac_optarg ;;
872 -gas |
--gas |
--ga |
--g)
873 # Obsolete; use --with-gas.
876 -help |
--help |
--hel |
--he |
-h)
878 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
879 ac_init_help
=recursive
;;
880 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
881 ac_init_help
=short
;;
883 -host |
--host |
--hos |
--ho)
884 ac_prev
=host_alias
;;
885 -host=* |
--host=* |
--hos=* |
--ho=*)
886 host_alias
=$ac_optarg ;;
888 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
890 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
892 htmldir
=$ac_optarg ;;
894 -includedir |
--includedir |
--includedi |
--included |
--include \
895 |
--includ |
--inclu |
--incl |
--inc)
896 ac_prev
=includedir
;;
897 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
898 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
899 includedir
=$ac_optarg ;;
901 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
903 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
904 infodir
=$ac_optarg ;;
906 -libdir |
--libdir |
--libdi |
--libd)
908 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
911 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
912 |
--libexe |
--libex |
--libe)
913 ac_prev
=libexecdir
;;
914 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
915 |
--libexe=* |
--libex=* |
--libe=*)
916 libexecdir
=$ac_optarg ;;
918 -localedir |
--localedir |
--localedi |
--localed |
--locale)
920 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
921 localedir
=$ac_optarg ;;
923 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
924 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
925 ac_prev
=localstatedir
;;
926 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
927 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
928 localstatedir
=$ac_optarg ;;
930 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
932 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
936 # Obsolete; use --without-fp.
939 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
940 |
--no-cr |
--no-c |
-n)
943 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
944 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
947 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
948 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
949 |
--oldin |
--oldi |
--old |
--ol |
--o)
950 ac_prev
=oldincludedir
;;
951 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
952 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
953 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
954 oldincludedir
=$ac_optarg ;;
956 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
958 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
961 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
962 |
--program-pre |
--program-pr |
--program-p)
963 ac_prev
=program_prefix
;;
964 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
965 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
966 program_prefix
=$ac_optarg ;;
968 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
969 |
--program-suf |
--program-su |
--program-s)
970 ac_prev
=program_suffix
;;
971 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
972 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
973 program_suffix
=$ac_optarg ;;
975 -program-transform-name |
--program-transform-name \
976 |
--program-transform-nam |
--program-transform-na \
977 |
--program-transform-n |
--program-transform- \
978 |
--program-transform |
--program-transfor \
979 |
--program-transfo |
--program-transf \
980 |
--program-trans |
--program-tran \
981 |
--progr-tra |
--program-tr |
--program-t)
982 ac_prev
=program_transform_name
;;
983 -program-transform-name=* |
--program-transform-name=* \
984 |
--program-transform-nam=* |
--program-transform-na=* \
985 |
--program-transform-n=* |
--program-transform-=* \
986 |
--program-transform=* |
--program-transfor=* \
987 |
--program-transfo=* |
--program-transf=* \
988 |
--program-trans=* |
--program-tran=* \
989 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
990 program_transform_name
=$ac_optarg ;;
992 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
994 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
997 -psdir |
--psdir |
--psdi |
--psd |
--ps)
999 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1002 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1003 |
-silent |
--silent |
--silen |
--sile |
--sil)
1006 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1008 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1010 sbindir
=$ac_optarg ;;
1012 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1013 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1014 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1016 ac_prev
=sharedstatedir
;;
1017 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1018 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1019 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1021 sharedstatedir
=$ac_optarg ;;
1023 -site |
--site |
--sit)
1025 -site=* |
--site=* |
--sit=*)
1028 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1030 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1031 srcdir
=$ac_optarg ;;
1033 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1034 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1035 ac_prev
=sysconfdir
;;
1036 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1037 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1038 sysconfdir
=$ac_optarg ;;
1040 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1041 ac_prev
=target_alias
;;
1042 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1043 target_alias
=$ac_optarg ;;
1045 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1048 -version |
--version |
--versio |
--versi |
--vers |
-V)
1049 ac_init_version
=: ;;
1052 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1053 # Reject names that are not valid shell variable names.
1054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1055 as_fn_error $?
"invalid package name: $ac_useropt"
1056 ac_useropt_orig
=$ac_useropt
1057 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1058 case $ac_user_opts in
1062 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1063 ac_unrecognized_sep
=', ';;
1065 eval with_
$ac_useropt=\
$ac_optarg ;;
1067 -without-* |
--without-*)
1068 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1069 # Reject names that are not valid shell variable names.
1070 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1071 as_fn_error $?
"invalid package name: $ac_useropt"
1072 ac_useropt_orig
=$ac_useropt
1073 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1074 case $ac_user_opts in
1078 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1079 ac_unrecognized_sep
=', ';;
1081 eval with_
$ac_useropt=no
;;
1084 # Obsolete; use --with-x.
1087 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1088 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1089 ac_prev
=x_includes
;;
1090 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1091 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1092 x_includes
=$ac_optarg ;;
1094 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1095 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1096 ac_prev
=x_libraries
;;
1097 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1098 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1099 x_libraries
=$ac_optarg ;;
1101 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1102 Try \`$0 --help' for more information"
1106 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1107 # Reject names that are not valid shell variable names.
1108 case $ac_envvar in #(
1109 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1110 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1112 eval $ac_envvar=\
$ac_optarg
1113 export $ac_envvar ;;
1116 # FIXME: should be removed in autoconf 3.0.
1117 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1118 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1119 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1120 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1126 if test -n "$ac_prev"; then
1127 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1128 as_fn_error $?
"missing argument to $ac_option"
1131 if test -n "$ac_unrecognized_opts"; then
1132 case $enable_option_checking in
1134 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1135 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1139 # Check all directory arguments for consistency.
1140 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1141 datadir sysconfdir sharedstatedir localstatedir includedir \
1142 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1143 libdir localedir mandir
1145 eval ac_val
=\$
$ac_var
1146 # Remove trailing slashes.
1149 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1150 eval $ac_var=\
$ac_val;;
1152 # Be sure to have absolute directory names.
1154 [\\/$
]* | ?
:[\\/]* ) continue;;
1155 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1157 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1160 # There might be people who depend on the old broken behavior: `$host'
1161 # used to hold the argument of --host etc.
1162 # FIXME: To remove some day.
1165 target
=$target_alias
1167 # FIXME: To remove some day.
1168 if test "x$host_alias" != x
; then
1169 if test "x$build_alias" = x
; then
1170 cross_compiling
=maybe
1171 elif test "x$build_alias" != "x$host_alias"; then
1177 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1179 test "$silent" = yes && exec 6>/dev
/null
1182 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1183 ac_ls_di
=`ls -di .` &&
1184 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1185 as_fn_error $?
"working directory cannot be determined"
1186 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1187 as_fn_error $?
"pwd does not report name of working directory"
1190 # Find the source files, if location was not specified.
1191 if test -z "$srcdir"; then
1192 ac_srcdir_defaulted
=yes
1193 # Try the directory containing this script, then the parent directory.
1194 ac_confdir
=`$as_dirname -- "$as_myself" ||
1195 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1196 X"$as_myself" : 'X\(//\)[^/]' \| \
1197 X"$as_myself" : 'X\(//\)$' \| \
1198 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1199 $as_echo X"$as_myself" |
1200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1218 if test ! -r "$srcdir/$ac_unique_file"; then
1222 ac_srcdir_defaulted
=no
1224 if test ! -r "$srcdir/$ac_unique_file"; then
1225 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1226 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1228 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1230 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1232 # When building in place, set srcdir=.
1233 if test "$ac_abs_confdir" = "$ac_pwd"; then
1236 # Remove unnecessary trailing slashes from srcdir.
1237 # Double slashes in file names in object file debugging info
1238 # mess up M-x gdb in Emacs.
1240 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1242 for ac_var
in $ac_precious_vars; do
1243 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1244 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1245 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1246 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1250 # Report the --help message.
1252 if test "$ac_init_help" = "long"; then
1253 # Omit some internal or obsolete options to make the list less imposing.
1254 # This message is too long to be a string in the A/UX 3.1 sh.
1256 \`configure' configures this package to adapt to many kinds of systems.
1258 Usage: $0 [OPTION]... [VAR=VALUE]...
1260 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1261 VAR=VALUE. See below for descriptions of some of the useful variables.
1263 Defaults for the options are specified in brackets.
1266 -h, --help display this help and exit
1267 --help=short display options specific to this package
1268 --help=recursive display the short help of all the included packages
1269 -V, --version display version information and exit
1270 -q, --quiet, --silent do not print \`checking ...' messages
1271 --cache-file=FILE cache test results in FILE [disabled]
1272 -C, --config-cache alias for \`--cache-file=config.cache'
1273 -n, --no-create do not create output files
1274 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1276 Installation directories:
1277 --prefix=PREFIX install architecture-independent files in PREFIX
1278 [$ac_default_prefix]
1279 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1282 By default, \`make install' will install all the files in
1283 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1284 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1285 for instance \`--prefix=\$HOME'.
1287 For better control, use the options below.
1289 Fine tuning of the installation directories:
1290 --bindir=DIR user executables [EPREFIX/bin]
1291 --sbindir=DIR system admin executables [EPREFIX/sbin]
1292 --libexecdir=DIR program executables [EPREFIX/libexec]
1293 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1294 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1295 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1296 --libdir=DIR object code libraries [EPREFIX/lib]
1297 --includedir=DIR C header files [PREFIX/include]
1298 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1299 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1300 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1301 --infodir=DIR info documentation [DATAROOTDIR/info]
1302 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1303 --mandir=DIR man documentation [DATAROOTDIR/man]
1304 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1305 --htmldir=DIR html documentation [DOCDIR]
1306 --dvidir=DIR dvi documentation [DOCDIR]
1307 --pdfdir=DIR pdf documentation [DOCDIR]
1308 --psdir=DIR ps documentation [DOCDIR]
1314 --build=BUILD configure
for building on BUILD
[guessed
]
1315 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1316 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1320 if test -n "$ac_init_help"; then
1325 --disable-option-checking ignore unrecognized
--enable/--with options
1326 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1327 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1328 --enable-maintainer-mode
1329 enable make rules and dependencies not useful
(and
1330 sometimes confusing
) to the casual installer
1331 --enable-multilib build many library versions
(default
)
1332 --disable-shared don
't provide a shared libgnat
1335 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1336 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1337 --with-build-libsubdir=DIR Directory where to find libraries for build system
1338 --with-system-libunwind use installed libunwind
1339 --with-gcc-major-version-only
1340 use only GCC major number in filesystem paths
1342 Some influential environment variables:
1343 CC C compiler command
1344 CFLAGS C compiler flags
1345 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1346 nonstandard directory <lib dir>
1347 LIBS libraries to pass to the linker, e.g. -l<library>
1348 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1349 you have headers in a nonstandard directory <include dir>
1352 Use these variables to override the choices made by `configure' or to
help
1353 it to
find libraries and programs with nonstandard names
/locations.
1355 Report bugs to the package provider.
1360 if test "$ac_init_help" = "recursive"; then
1361 # If there are subdirs, report their specific --help.
1362 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1363 test -d "$ac_dir" ||
1364 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1369 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1371 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1372 # A ".." for each directory in $ac_dir_suffix.
1373 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1374 case $ac_top_builddir_sub in
1375 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1376 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1379 ac_abs_top_builddir
=$ac_pwd
1380 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1381 # for backward compatibility:
1382 ac_top_builddir
=$ac_top_build_prefix
1385 .
) # We are building in place.
1387 ac_top_srcdir
=$ac_top_builddir_sub
1388 ac_abs_top_srcdir
=$ac_pwd ;;
1389 [\\/]* | ?
:[\\/]* ) # Absolute name.
1390 ac_srcdir
=$srcdir$ac_dir_suffix;
1391 ac_top_srcdir
=$srcdir
1392 ac_abs_top_srcdir
=$srcdir ;;
1394 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1395 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1396 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1398 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1400 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1401 # Check for guested configure.
1402 if test -f "$ac_srcdir/configure.gnu"; then
1404 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1405 elif test -f "$ac_srcdir/configure"; then
1407 $SHELL "$ac_srcdir/configure" --help=recursive
1409 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1411 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1415 test -n "$ac_init_help" && exit $ac_status
1416 if $ac_init_version; then
1419 generated by GNU Autoconf
2.69
1421 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1422 This configure
script is free software
; the Free Software Foundation
1423 gives unlimited permission to copy
, distribute and modify it.
1428 ## ------------------------ ##
1429 ## Autoconf initialization. ##
1430 ## ------------------------ ##
1432 # ac_fn_c_try_compile LINENO
1433 # --------------------------
1434 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1435 ac_fn_c_try_compile
()
1437 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1438 rm -f conftest.
$ac_objext
1439 if { { ac_try
="$ac_compile"
1441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1442 *) ac_try_echo=$ac_try;;
1444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1445 $as_echo "$ac_try_echo"; } >&5
1446 (eval "$ac_compile") 2>conftest.err
1448 if test -s conftest.err; then
1449 grep -v '^ *+' conftest.err >conftest.er1
1450 cat conftest.er1 >&5
1451 mv -f conftest.er1 conftest.err
1453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1454 test $ac_status = 0; } && {
1455 test -z "$ac_c_werror_flag" ||
1456 test ! -s conftest.err
1457 } && test -s conftest.$ac_objext; then :
1460 $as_echo "$as_me: failed program was:" >&5
1461 sed 's/^/| /' conftest.$ac_ext >&5
1465 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1466 as_fn_set_status $ac_retval
1468 } # ac_fn_c_try_compile
1470 # ac_fn_c_try_cpp LINENO
1471 # ----------------------
1472 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1475 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1476 if { { ac_try="$ac_cpp conftest.$ac_ext"
1478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1479 *) ac_try_echo
=$ac_try;;
1481 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1482 $as_echo "$ac_try_echo"; } >&5
1483 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1485 if test -s conftest.err
; then
1486 grep -v '^ *+' conftest.err
>conftest.er1
1487 cat conftest.er1
>&5
1488 mv -f conftest.er1 conftest.err
1490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1491 test $ac_status = 0; } > conftest.i
&& {
1492 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1493 test ! -s conftest.err
1497 $as_echo "$as_me: failed program was:" >&5
1498 sed 's/^/| /' conftest.
$ac_ext >&5
1502 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1503 as_fn_set_status
$ac_retval
1507 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1508 # -------------------------------------------------------
1509 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1510 # the include files in INCLUDES and setting the cache variable VAR
1512 ac_fn_c_check_header_mongrel
()
1514 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1515 if eval \
${$3+:} false
; then :
1516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1517 $as_echo_n "checking for $2... " >&6; }
1518 if eval \
${$3+:} false
; then :
1519 $as_echo_n "(cached) " >&6
1522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1523 $as_echo "$ac_res" >&6; }
1525 # Is the header compilable?
1526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1527 $as_echo_n "checking $2 usability... " >&6; }
1528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1529 /* end confdefs.h. */
1533 if ac_fn_c_try_compile
"$LINENO"; then :
1534 ac_header_compiler
=yes
1536 ac_header_compiler
=no
1538 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1540 $as_echo "$ac_header_compiler" >&6; }
1542 # Is the header present?
1543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1544 $as_echo_n "checking $2 presence... " >&6; }
1545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1546 /* end confdefs.h. */
1549 if ac_fn_c_try_cpp
"$LINENO"; then :
1550 ac_header_preproc
=yes
1552 ac_header_preproc
=no
1554 rm -f conftest.err conftest.i conftest.
$ac_ext
1555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1556 $as_echo "$ac_header_preproc" >&6; }
1558 # So? What about this header?
1559 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1562 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1564 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1568 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1570 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1572 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1574 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1576 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1580 $as_echo_n "checking for $2... " >&6; }
1581 if eval \
${$3+:} false
; then :
1582 $as_echo_n "(cached) " >&6
1584 eval "$3=\$ac_header_compiler"
1587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1588 $as_echo "$ac_res" >&6; }
1590 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1592 } # ac_fn_c_check_header_mongrel
1594 # ac_fn_c_try_run LINENO
1595 # ----------------------
1596 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1597 # that executables *can* be run.
1600 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1601 if { { ac_try
="$ac_link"
1603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1604 *) ac_try_echo=$ac_try;;
1606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1607 $as_echo "$ac_try_echo"; } >&5
1608 (eval "$ac_link") 2>&5
1610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1611 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1612 { { case "(($ac_try" in
1613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1614 *) ac_try_echo
=$ac_try;;
1616 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1617 $as_echo "$ac_try_echo"; } >&5
1618 (eval "$ac_try") 2>&5
1620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1621 test $ac_status = 0; }; }; then :
1624 $as_echo "$as_me: program exited with status $ac_status" >&5
1625 $as_echo "$as_me: failed program was:" >&5
1626 sed 's/^/| /' conftest.
$ac_ext >&5
1628 ac_retval
=$ac_status
1630 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1631 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1632 as_fn_set_status
$ac_retval
1636 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1637 # -------------------------------------------------------
1638 # Tests whether HEADER exists and can be compiled using the include files in
1639 # INCLUDES, setting the cache variable VAR accordingly.
1640 ac_fn_c_check_header_compile
()
1642 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1644 $as_echo_n "checking for $2... " >&6; }
1645 if eval \
${$3+:} false
; then :
1646 $as_echo_n "(cached) " >&6
1648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1649 /* end confdefs.h. */
1653 if ac_fn_c_try_compile
"$LINENO"; then :
1658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1662 $as_echo "$ac_res" >&6; }
1663 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1665 } # ac_fn_c_check_header_compile
1666 cat >config.log
<<_ACEOF
1667 This file contains any messages produced by compilers while
1668 running configure, to aid debugging if configure makes a mistake.
1670 It was created by $as_me, which was
1671 generated by GNU Autoconf 2.69. Invocation command line was
1683 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1684 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1685 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1686 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1687 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1689 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1690 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1692 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1693 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1694 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1695 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1696 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1697 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1698 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1706 test -z "$as_dir" && as_dir
=.
1707 $as_echo "PATH: $as_dir"
1723 # Keep a trace of the command line.
1724 # Strip out --no-create and --no-recursion so they do not pile up.
1725 # Strip out --silent because we don't want to record it for future runs.
1726 # Also quote any args containing shell meta-characters.
1727 # Make two passes to allow for proper duplicate-argument suppression.
1731 ac_must_keep_next
=false
1737 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1738 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1739 |
-silent |
--silent |
--silen |
--sile |
--sil)
1742 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1745 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1747 as_fn_append ac_configure_args1
" '$ac_arg'"
1748 if test $ac_must_keep_next = true
; then
1749 ac_must_keep_next
=false
# Got value, back to normal.
1752 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1753 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1754 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1755 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1756 case "$ac_configure_args0 " in
1757 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1760 -* ) ac_must_keep_next
=true
;;
1763 as_fn_append ac_configure_args
" '$ac_arg'"
1768 { ac_configure_args0
=; unset ac_configure_args0
;}
1769 { ac_configure_args1
=; unset ac_configure_args1
;}
1771 # When interrupted or exit'd, cleanup temporary files, and complete
1772 # config.log. We remove comments because anyway the quotes in there
1773 # would cause problems or look ugly.
1774 # WARNING: Use '\'' to represent an apostrophe within the trap.
1775 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1776 trap 'exit_status=$?
1777 # Save into config.log some information that might help in debugging.
1781 $as_echo "## ---------------- ##
1782 ## Cache variables. ##
1783 ## ---------------- ##"
1785 # The following way of writing the cache mishandles newlines in values,
1787 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1788 eval ac_val=\$$ac_var
1792 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1793 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1796 _ | IFS | as_nl) ;; #(
1797 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1798 *) { eval $ac_var=; unset $ac_var;} ;;
1803 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1804 *${as_nl}ac_space=\ *)
1806 "s/'\''/'\''\\\\'\'''\''/g;
1807 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1810 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1817 $as_echo "## ----------------- ##
1818 ## Output variables. ##
1819 ## ----------------- ##"
1821 for ac_var in $ac_subst_vars
1823 eval ac_val=\$$ac_var
1825 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1827 $as_echo "$ac_var='\''$ac_val'\''"
1831 if test -n "$ac_subst_files"; then
1832 $as_echo "## ------------------- ##
1833 ## File substitutions. ##
1834 ## ------------------- ##"
1836 for ac_var
in $ac_subst_files
1838 eval ac_val
=\$
$ac_var
1840 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1842 $as_echo "$ac_var='\''$ac_val'\''"
1847 if test -s confdefs.h; then
1848 $as_echo "## ----------- ##
1855 test "$ac_signal" != 0 &&
1856 $as_echo "$as_me: caught signal $ac_signal"
1857 $as_echo "$as_me: exit $exit_status"
1859 rm -f core *.core core.conftest.* &&
1860 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1863 for ac_signal
in 1 2 13 15; do
1864 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1868 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1869 rm -f -r conftest
* confdefs.h
1871 $as_echo "/* confdefs.h */" > confdefs.h
1873 # Predefined preprocessor variables.
1875 cat >>confdefs.h
<<_ACEOF
1876 #define PACKAGE_NAME "$PACKAGE_NAME"
1879 cat >>confdefs.h
<<_ACEOF
1880 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1883 cat >>confdefs.h
<<_ACEOF
1884 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1887 cat >>confdefs.h
<<_ACEOF
1888 #define PACKAGE_STRING "$PACKAGE_STRING"
1891 cat >>confdefs.h
<<_ACEOF
1892 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1895 cat >>confdefs.h
<<_ACEOF
1896 #define PACKAGE_URL "$PACKAGE_URL"
1900 # Let the site file select an alternate cache file if it wants to.
1901 # Prefer an explicitly selected file to automatically selected ones.
1904 if test -n "$CONFIG_SITE"; then
1905 # We do not want a PATH search for config.site.
1906 case $CONFIG_SITE in #((
1907 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1908 */*) ac_site_file1
=$CONFIG_SITE;;
1909 *) ac_site_file1
=.
/$CONFIG_SITE;;
1911 elif test "x$prefix" != xNONE
; then
1912 ac_site_file1
=$prefix/share
/config.site
1913 ac_site_file2
=$prefix/etc
/config.site
1915 ac_site_file1
=$ac_default_prefix/share
/config.site
1916 ac_site_file2
=$ac_default_prefix/etc
/config.site
1918 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1920 test "x$ac_site_file" = xNONE
&& continue
1921 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1923 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1924 sed 's/^/| /' "$ac_site_file" >&5
1926 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1927 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1928 as_fn_error $?
"failed to load site script $ac_site_file
1929 See \`config.log' for more details" "$LINENO" 5; }
1933 if test -r "$cache_file"; then
1934 # Some versions of bash will fail to source /dev/null (special files
1935 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1936 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1938 $as_echo "$as_me: loading cache $cache_file" >&6;}
1940 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1941 *) .
"./$cache_file";;
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1946 $as_echo "$as_me: creating cache $cache_file" >&6;}
1950 # Check that the precious variables saved in the cache have kept the same
1952 ac_cache_corrupted
=false
1953 for ac_var
in $ac_precious_vars; do
1954 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1955 eval ac_new_set
=\
$ac_env_${ac_var}_set
1956 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1957 eval ac_new_val
=\
$ac_env_${ac_var}_value
1958 case $ac_old_set,$ac_new_set in
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1961 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1962 ac_cache_corrupted
=: ;;
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1965 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1966 ac_cache_corrupted
=: ;;
1969 if test "x$ac_old_val" != "x$ac_new_val"; then
1970 # differences in whitespace do not lead to failure.
1971 ac_old_val_w
=`echo x $ac_old_val`
1972 ac_new_val_w
=`echo x $ac_new_val`
1973 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1975 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1976 ac_cache_corrupted
=:
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1979 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1980 eval $ac_var=\
$ac_old_val
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1983 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1985 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1988 # Pass precious variables to config.status.
1989 if test "$ac_new_set" = set; then
1991 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1992 *) ac_arg
=$ac_var=$ac_new_val ;;
1994 case " $ac_configure_args " in
1995 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1996 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2000 if $ac_cache_corrupted; then
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2002 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2004 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2005 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2007 ## -------------------- ##
2008 ## Main body of script. ##
2009 ## -------------------- ##
2012 ac_cpp
='$CPP $CPPFLAGS'
2013 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2014 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2015 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2024 # Determine the host, build, and target systems
2026 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2027 if test -f "$ac_dir/install-sh"; then
2029 ac_install_sh
="$ac_aux_dir/install-sh -c"
2031 elif test -f "$ac_dir/install.sh"; then
2033 ac_install_sh
="$ac_aux_dir/install.sh -c"
2035 elif test -f "$ac_dir/shtool"; then
2037 ac_install_sh
="$ac_aux_dir/shtool install -c"
2041 if test -z "$ac_aux_dir"; then
2042 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2045 # These three variables are undocumented and unsupported,
2046 # and are intended to be withdrawn in a future Autoconf release.
2047 # They can cause serious problems if a builder's source tree is in a directory
2048 # whose full name contains unusual characters.
2049 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2050 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2051 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2054 # Make sure we can run config.sub.
2055 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2056 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2059 $as_echo_n "checking build system type... " >&6; }
2060 if ${ac_cv_build+:} false
; then :
2061 $as_echo_n "(cached) " >&6
2063 ac_build_alias
=$build_alias
2064 test "x$ac_build_alias" = x
&&
2065 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2066 test "x$ac_build_alias" = x
&&
2067 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2068 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2069 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2073 $as_echo "$ac_cv_build" >&6; }
2074 case $ac_cv_build in
2076 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2079 ac_save_IFS
=$IFS; IFS
='-'
2085 # Remember, the first character of IFS is used to create $*,
2086 # except with old shells:
2089 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2093 $as_echo_n "checking host system type... " >&6; }
2094 if ${ac_cv_host+:} false
; then :
2095 $as_echo_n "(cached) " >&6
2097 if test "x$host_alias" = x
; then
2098 ac_cv_host
=$ac_cv_build
2100 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2101 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2106 $as_echo "$ac_cv_host" >&6; }
2109 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2112 ac_save_IFS
=$IFS; IFS
='-'
2118 # Remember, the first character of IFS is used to create $*,
2119 # except with old shells:
2122 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2126 $as_echo_n "checking target system type... " >&6; }
2127 if ${ac_cv_target+:} false
; then :
2128 $as_echo_n "(cached) " >&6
2130 if test "x$target_alias" = x
; then
2131 ac_cv_target
=$ac_cv_host
2133 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2134 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2139 $as_echo "$ac_cv_target" >&6; }
2140 case $ac_cv_target in
2142 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2144 target
=$ac_cv_target
2145 ac_save_IFS
=$IFS; IFS
='-'
2151 # Remember, the first character of IFS is used to create $*,
2152 # except with old shells:
2155 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2158 # The aliases save the names the user supplied, while $host etc.
2159 # will get canonicalized.
2160 test -n "$target_alias" &&
2161 test "$program_prefix$program_suffix$program_transform_name" = \
2163 program_prefix
=${target_alias}-
2164 target_alias
=${target_alias-$host_alias}
2166 # Determine the noncanonical target name, for directory use.
2167 case ${build_alias} in
2168 "") build_noncanonical
=${build} ;;
2169 *) build_noncanonical
=${build_alias} ;;
2172 case ${host_alias} in
2173 "") host_noncanonical
=${build_noncanonical} ;;
2174 *) host_noncanonical
=${host_alias} ;;
2177 case ${target_alias} in
2178 "") target_noncanonical
=${host_noncanonical} ;;
2179 *) target_noncanonical
=${target_alias} ;;
2185 # Determine the target- and build-specific subdirectories
2187 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2188 # have matching libraries, they should use host libraries: Makefile.tpl
2189 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2190 # However, they still use the build modules, because the corresponding
2191 # host modules (e.g. bison) are only built for the host when bootstrap
2193 # - build_subdir is where we find build modules, and never changes.
2194 # - build_libsubdir is where we find build libraries, and can be overridden.
2196 # Prefix 'build-' so this never conflicts with target_subdir.
2197 build_subdir
="build-${build_noncanonical}"
2199 # Check whether --with-build-libsubdir was given.
2200 if test "${with_build_libsubdir+set}" = set; then :
2201 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2203 build_libsubdir
="$build_subdir"
2206 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2207 if ( test $srcdir = .
&& test -d gcc
) \
2208 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2209 host_subdir
="host-${host_noncanonical}"
2214 target_subdir
=${target_noncanonical}
2217 # Command-line options.
2218 # Very limited version of AC_MAINTAINER_MODE.
2219 # Check whether --enable-maintainer-mode was given.
2220 if test "${enable_maintainer_mode+set}" = set; then :
2221 enableval
=$enable_maintainer_mode; case ${enable_maintainer_mode} in
2224 *) as_fn_error $?
"--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
2226 maintainer_mode
=${enableval}
2232 # Default to --enable-multilib
2233 # Check whether --enable-multilib was given.
2234 if test "${enable_multilib+set}" = set; then :
2235 enableval
=$enable_multilib; case "$enableval" in
2236 yes) multilib
=yes ;;
2238 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2245 # We may get other options which we leave undocumented:
2246 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2247 # See config-ml.in if you want the gory details.
2249 if test "$srcdir" = "."; then
2250 if test "$with_target_subdir" != "."; then
2251 multi_basedir
="$srcdir/$with_multisrctop../.."
2253 multi_basedir
="$srcdir/$with_multisrctop.."
2256 multi_basedir
="$srcdir/.."
2260 # Even if the default multilib is not a cross compilation,
2261 # it may be that some of the other multilibs are.
2262 if test $cross_compiling = no
&& test $multilib = yes \
2263 && test "x${with_multisubdir}" != x
; then
2264 cross_compiling
=maybe
2267 ac_config_commands
="$ac_config_commands default-1"
2269 # Calculate toolexeclibdir
2270 # Also toolexecdir, though it's only used in toolexeclibdir
2271 case ${enable_version_specific_runtime_libs} in
2273 # Need the gcc compiler version to know where to install libraries
2274 # and header files if --enable-version-specific-runtime-libs option
2276 toolexecdir
='$(libdir)/gcc/$(target_alias)'
2277 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2280 if test -n "$with_cross_host" &&
2281 test x
"$with_cross_host" != x
"no"; then
2282 # Install a library built with a cross compiler in tooldir, not libdir.
2283 toolexecdir
='$(exec_prefix)/$(target_alias)'
2284 toolexeclibdir
='$(toolexecdir)/lib'
2286 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
2287 toolexeclibdir
='$(libdir)'
2289 multi_os_directory
=`$CC -print-multi-os-directory`
2290 case $multi_os_directory in
2291 .
) ;; # Avoid trailing /.
2292 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
2298 #TODO: toolexeclibdir is currently disregarded
2300 # Check the compiler.
2301 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2302 # We must force CC to /not/ be precious variables; otherwise
2303 # the wrong, non-multilib-adjusted value will be used in multilibs.
2304 # As a side effect, we have to subst CFLAGS ourselves.
2309 ac_cpp
='$CPP $CPPFLAGS'
2310 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2311 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2312 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2313 if test -n "$ac_tool_prefix"; then
2314 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2315 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2317 $as_echo_n "checking for $ac_word... " >&6; }
2318 if ${ac_cv_prog_CC+:} false
; then :
2319 $as_echo_n "(cached) " >&6
2321 if test -n "$CC"; then
2322 ac_cv_prog_CC
="$CC" # Let the user override the test.
2324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2328 test -z "$as_dir" && as_dir
=.
2329 for ac_exec_ext
in '' $ac_executable_extensions; do
2330 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2331 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2342 if test -n "$CC"; then
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2344 $as_echo "$CC" >&6; }
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2347 $as_echo "no" >&6; }
2352 if test -z "$ac_cv_prog_CC"; then
2354 # Extract the first word of "gcc", so it can be a program name with args.
2355 set dummy gcc
; ac_word
=$2
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2357 $as_echo_n "checking for $ac_word... " >&6; }
2358 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2359 $as_echo_n "(cached) " >&6
2361 if test -n "$ac_ct_CC"; then
2362 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2368 test -z "$as_dir" && as_dir
=.
2369 for ac_exec_ext
in '' $ac_executable_extensions; do
2370 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2371 ac_cv_prog_ac_ct_CC
="gcc"
2372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2381 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2382 if test -n "$ac_ct_CC"; then
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2384 $as_echo "$ac_ct_CC" >&6; }
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2387 $as_echo "no" >&6; }
2390 if test "x$ac_ct_CC" = x
; then
2393 case $cross_compiling:$ac_tool_warned in
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2396 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2397 ac_tool_warned
=yes ;;
2405 if test -z "$CC"; then
2406 if test -n "$ac_tool_prefix"; then
2407 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2408 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2410 $as_echo_n "checking for $ac_word... " >&6; }
2411 if ${ac_cv_prog_CC+:} false
; then :
2412 $as_echo_n "(cached) " >&6
2414 if test -n "$CC"; then
2415 ac_cv_prog_CC
="$CC" # Let the user override the test.
2417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2421 test -z "$as_dir" && as_dir
=.
2422 for ac_exec_ext
in '' $ac_executable_extensions; do
2423 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2424 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2435 if test -n "$CC"; then
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2437 $as_echo "$CC" >&6; }
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2440 $as_echo "no" >&6; }
2446 if test -z "$CC"; then
2447 # Extract the first word of "cc", so it can be a program name with args.
2448 set dummy cc
; ac_word
=$2
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2450 $as_echo_n "checking for $ac_word... " >&6; }
2451 if ${ac_cv_prog_CC+:} false
; then :
2452 $as_echo_n "(cached) " >&6
2454 if test -n "$CC"; then
2455 ac_cv_prog_CC
="$CC" # Let the user override the test.
2458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2462 test -z "$as_dir" && as_dir
=.
2463 for ac_exec_ext
in '' $ac_executable_extensions; do
2464 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2465 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2466 ac_prog_rejected
=yes
2470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2477 if test $ac_prog_rejected = yes; then
2478 # We found a bogon in the path, so make sure we never use it.
2479 set dummy
$ac_cv_prog_CC
2481 if test $# != 0; then
2482 # We chose a different compiler from the bogus one.
2483 # However, it has the same basename, so the bogon will be chosen
2484 # first if we set CC to just the basename; use the full file name.
2486 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2492 if test -n "$CC"; then
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2494 $as_echo "$CC" >&6; }
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2497 $as_echo "no" >&6; }
2502 if test -z "$CC"; then
2503 if test -n "$ac_tool_prefix"; then
2504 for ac_prog
in cl.exe
2506 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2507 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2509 $as_echo_n "checking for $ac_word... " >&6; }
2510 if ${ac_cv_prog_CC+:} false
; then :
2511 $as_echo_n "(cached) " >&6
2513 if test -n "$CC"; then
2514 ac_cv_prog_CC
="$CC" # Let the user override the test.
2516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2520 test -z "$as_dir" && as_dir
=.
2521 for ac_exec_ext
in '' $ac_executable_extensions; do
2522 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2523 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2534 if test -n "$CC"; then
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2536 $as_echo "$CC" >&6; }
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2539 $as_echo "no" >&6; }
2543 test -n "$CC" && break
2546 if test -z "$CC"; then
2548 for ac_prog
in cl.exe
2550 # Extract the first word of "$ac_prog", so it can be a program name with args.
2551 set dummy
$ac_prog; ac_word
=$2
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2553 $as_echo_n "checking for $ac_word... " >&6; }
2554 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2555 $as_echo_n "(cached) " >&6
2557 if test -n "$ac_ct_CC"; then
2558 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2564 test -z "$as_dir" && as_dir
=.
2565 for ac_exec_ext
in '' $ac_executable_extensions; do
2566 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2567 ac_cv_prog_ac_ct_CC
="$ac_prog"
2568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2577 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2578 if test -n "$ac_ct_CC"; then
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2580 $as_echo "$ac_ct_CC" >&6; }
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2583 $as_echo "no" >&6; }
2587 test -n "$ac_ct_CC" && break
2590 if test "x$ac_ct_CC" = x
; then
2593 case $cross_compiling:$ac_tool_warned in
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2597 ac_tool_warned
=yes ;;
2606 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2607 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2608 as_fn_error $?
"no acceptable C compiler found in \$PATH
2609 See \`config.log' for more details" "$LINENO" 5; }
2611 # Provide some information about the compiler.
2612 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2615 for ac_option
in --version -v -V -qversion; do
2616 { { ac_try
="$ac_compiler $ac_option >&5"
2618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2619 *) ac_try_echo=$ac_try;;
2621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2622 $as_echo "$ac_try_echo"; } >&5
2623 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2625 if test -s conftest.err; then
2627 ... rest of stderr output deleted ...
2628 10q' conftest.err >conftest.er1
2629 cat conftest.er1 >&5
2631 rm -f conftest.er1 conftest.err
2632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2633 test $ac_status = 0; }
2636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2637 /* end confdefs.h. */
2647 ac_clean_files_save=$ac_clean_files
2648 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2649 # Try to create an executable without -o first, disregard a.out.
2650 # It will help us diagnose broken compilers, and finding out an intuition
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2653 $as_echo_n "checking whether the C compiler works... " >&6; }
2654 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2656 # The possible output files:
2657 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2660 for ac_file in $ac_files
2663 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2664 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2669 if { { ac_try="$ac_link_default"
2671 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2672 *) ac_try_echo
=$ac_try;;
2674 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2675 $as_echo "$ac_try_echo"; } >&5
2676 (eval "$ac_link_default") 2>&5
2678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2679 test $ac_status = 0; }; then :
2680 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2681 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2682 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2683 # so that the user can short-circuit this test for compilers unknown to
2685 for ac_file
in $ac_files ''
2687 test -f "$ac_file" ||
continue
2689 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2692 # We found the default executable, but exeext='' is most
2696 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2698 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2700 # We set ac_cv_exeext here because the later test for it is not
2701 # safe: cross compilers may not add the suffix if given an `-o'
2702 # argument, so we may need to know it at that point already.
2703 # Even if this section looks crufty: it has the advantage of
2710 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2715 if test -z "$ac_file"; then :
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2717 $as_echo "no" >&6; }
2718 $as_echo "$as_me: failed program was:" >&5
2719 sed 's/^/| /' conftest.
$ac_ext >&5
2721 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2722 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2723 as_fn_error
77 "C compiler cannot create executables
2724 See \`config.log' for more details" "$LINENO" 5; }
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2727 $as_echo "yes" >&6; }
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2730 $as_echo_n "checking for C compiler default output file name... " >&6; }
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2732 $as_echo "$ac_file" >&6; }
2733 ac_exeext
=$ac_cv_exeext
2735 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2736 ac_clean_files
=$ac_clean_files_save
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2738 $as_echo_n "checking for suffix of executables... " >&6; }
2739 if { { ac_try
="$ac_link"
2741 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2742 *) ac_try_echo=$ac_try;;
2744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2745 $as_echo "$ac_try_echo"; } >&5
2746 (eval "$ac_link") 2>&5
2748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2749 test $ac_status = 0; }; then :
2750 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2751 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2752 # work properly (i.e., refer to `conftest.exe'), while it won't with
2754 for ac_file
in conftest.exe conftest conftest.
*; do
2755 test -f "$ac_file" ||
continue
2757 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2758 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2764 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2766 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2767 See \`config.log' for more details" "$LINENO" 5; }
2769 rm -f conftest conftest
$ac_cv_exeext
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2771 $as_echo "$ac_cv_exeext" >&6; }
2773 rm -f conftest.
$ac_ext
2774 EXEEXT
=$ac_cv_exeext
2776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2777 /* end confdefs.h. */
2782 FILE *f = fopen ("conftest.out", "w");
2783 return ferror (f) || fclose (f) != 0;
2789 ac_clean_files
="$ac_clean_files conftest.out"
2790 # Check that the compiler produces executables we can run. If not, either
2791 # the compiler is broken, or we cross compile.
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2793 $as_echo_n "checking whether we are cross compiling... " >&6; }
2794 if test "$cross_compiling" != yes; then
2795 { { ac_try
="$ac_link"
2797 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2798 *) ac_try_echo=$ac_try;;
2800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2801 $as_echo "$ac_try_echo"; } >&5
2802 (eval "$ac_link") 2>&5
2804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2805 test $ac_status = 0; }
2806 if { ac_try='./conftest$ac_cv_exeext'
2807 { { case "(($ac_try" in
2808 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2809 *) ac_try_echo
=$ac_try;;
2811 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2812 $as_echo "$ac_try_echo"; } >&5
2813 (eval "$ac_try") 2>&5
2815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2816 test $ac_status = 0; }; }; then
2819 if test "$cross_compiling" = maybe
; then
2822 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2823 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2824 as_fn_error $?
"cannot run C compiled programs.
2825 If you meant to cross compile, use \`--host'.
2826 See \`config.log' for more details" "$LINENO" 5; }
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2831 $as_echo "$cross_compiling" >&6; }
2833 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2834 ac_clean_files
=$ac_clean_files_save
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2836 $as_echo_n "checking for suffix of object files... " >&6; }
2837 if ${ac_cv_objext+:} false
; then :
2838 $as_echo_n "(cached) " >&6
2840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2841 /* end confdefs.h. */
2851 rm -f conftest.o conftest.obj
2852 if { { ac_try
="$ac_compile"
2854 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2855 *) ac_try_echo=$ac_try;;
2857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2858 $as_echo "$ac_try_echo"; } >&5
2859 (eval "$ac_compile") 2>&5
2861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2862 test $ac_status = 0; }; then :
2863 for ac_file in conftest.o conftest.obj conftest.*; do
2864 test -f "$ac_file" || continue;
2866 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2867 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2872 $as_echo "$as_me: failed program was:" >&5
2873 sed 's/^/| /' conftest.$ac_ext >&5
2875 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2876 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2877 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2878 See \
`config.log' for more details" "$LINENO" 5; }
2880 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2883 $as_echo "$ac_cv_objext" >&6; }
2884 OBJEXT=$ac_cv_objext
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2887 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2888 if ${ac_cv_c_compiler_gnu+:} false; then :
2889 $as_echo_n "(cached) " >&6
2891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2892 /* end confdefs.h. */
2905 if ac_fn_c_try_compile "$LINENO"; then :
2910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2911 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2915 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2916 if test $ac_compiler_gnu = yes; then
2921 ac_test_CFLAGS=${CFLAGS+set}
2922 ac_save_CFLAGS=$CFLAGS
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2924 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2925 if ${ac_cv_prog_cc_g+:} false; then :
2926 $as_echo_n "(cached) " >&6
2928 ac_save_c_werror_flag=$ac_c_werror_flag
2929 ac_c_werror_flag=yes
2932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2933 /* end confdefs.h. */
2943 if ac_fn_c_try_compile "$LINENO"; then :
2947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2948 /* end confdefs.h. */
2958 if ac_fn_c_try_compile "$LINENO"; then :
2961 ac_c_werror_flag=$ac_save_c_werror_flag
2963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2964 /* end confdefs.h. */
2974 if ac_fn_c_try_compile "$LINENO"; then :
2977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2982 ac_c_werror_flag=$ac_save_c_werror_flag
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2985 $as_echo "$ac_cv_prog_cc_g" >&6; }
2986 if test "$ac_test_CFLAGS" = set; then
2987 CFLAGS=$ac_save_CFLAGS
2988 elif test $ac_cv_prog_cc_g = yes; then
2989 if test "$GCC" = yes; then
2995 if test "$GCC" = yes; then
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3002 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3003 if ${ac_cv_prog_cc_c89+:} false; then :
3004 $as_echo_n "(cached) " >&6
3006 ac_cv_prog_cc_c89=no
3008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3009 /* end confdefs.h. */
3013 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3014 struct buf { int x; };
3015 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3016 static char *e (p, i)
3022 static char *f (char * (*g) (char **, int), char **p, ...)
3027 s = g (p, va_arg (v,int));
3032 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3033 function prototypes and stuff, but not '\xHH' hex character constants.
3034 These don't provoke an error unfortunately, instead are silently treated
3035 as 'x'. The following induces an error, until -std is added to get
3036 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3037 array size at least. It's necessary to write '\x00'==0 to get something
3038 that's true only with -std. */
3039 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3041 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3042 inside strings and character constants. */
3044 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3046 int test (int i, double x);
3047 struct s1 {int (*f) (int a);};
3048 struct s2 {int (*f) (double a);};
3049 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3055 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3060 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3061 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3063 CC="$ac_save_CC $ac_arg"
3064 if ac_fn_c_try_compile "$LINENO"; then :
3065 ac_cv_prog_cc_c89=$ac_arg
3067 rm -f core conftest.err conftest.$ac_objext
3068 test "x$ac_cv_prog_cc_c89" != "xno" && break
3070 rm -f conftest.$ac_ext
3075 case "x$ac_cv_prog_cc_c89" in
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3078 $as_echo "none needed" >&6; } ;;
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3081 $as_echo "unsupported" >&6; } ;;
3083 CC="$CC $ac_cv_prog_cc_c89"
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3085 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3087 if test "x$ac_cv_prog_cc_c89" != xno; then :
3092 ac_cpp='$CPP $CPPFLAGS'
3093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3101 # Check whether --enable-shared was given.
3102 if test "${enable_shared+set}" = set; then :
3103 enableval=$enable_shared;
3104 case $enable_shared in
3108 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3109 for pkg in $enableval; do
3112 enable_shared=yes ;;
3130 # PIC is the default on some targets or must not be used.
3132 # For darwin, common symbols are not allowed in MH_DYLIB files
3134 # If we are using a compiler supporting mdynamic-no-pic
3135 # and the option has been tested as safe to add, then cancel
3136 # it here, since the code generated is incompatible with shared
3138 *-mdynamic-no-pic*) PICFLAG='-fno-common -mno-dynamic-no-pic' ;;
3139 *) PICFLAG=-fno-common ;;
3143 # PIC is the default.
3146 # PIC is the default for 64-bit PA HP-UX.
3148 i[34567]86-*-cygwin* | x86_64-*-cygwin*)
3150 i[34567]86-*-mingw* | x86_64-*-mingw*)
3152 i[34567]86-*-interix[3-9]*)
3153 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
3154 # Instead, we relocate shared libraries at runtime.
3156 i[34567]86-*-nto-qnx*)
3157 # QNX uses GNU C++, but need to define -shared option too, otherwise
3159 PICFLAG='-fPIC -shared'
3161 i[34567]86-pc-msdosdjgpp*)
3162 # DJGPP does not support shared libraries at all.
3165 # On IA64 HP-UX, PIC is the default but the pic flag
3166 # sets the default TLS model and affects inlining.
3170 # PIC is the default.
3172 rs6000-ibm-aix* | powerpc-ibm-aix*)
3173 # All AIX code is PIC.
3176 # Some targets support both -fPIC and -fpic, but prefer the latter.
3178 i[34567]86-*-* | x86_64-*-*)
3181 # FIXME: Override -fPIC default in libgcc only?
3182 sh-*-linux* | sh[2346lbe]*-*-linux*)
3185 # FIXME: Simplify to sh*-*-netbsd*?
3186 sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
3187 sh64-*-netbsd* | sh64l*-*-netbsd*)
3190 # Default to -fPIC unless specified otherwise.
3196 # If the user explicitly uses -fpic/-fPIC, keep that.
3208 # These must be passed down, or are needed by gcc/libgcc.mvars
3209 for ac_prog in gawk mawk nawk awk
3211 # Extract the first word of "$ac_prog", so it can be a program name with args.
3212 set dummy $ac_prog; ac_word=$2
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3214 $as_echo_n "checking for $ac_word... " >&6; }
3215 if ${ac_cv_prog_AWK+:} false; then :
3216 $as_echo_n "(cached) " >&6
3218 if test -n "$AWK"; then
3219 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3225 test -z "$as_dir" && as_dir=.
3226 for ac_exec_ext in '' $ac_executable_extensions; do
3227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3228 ac_cv_prog_AWK="$ac_prog"
3229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3239 if test -n "$AWK"; then
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3241 $as_echo "$AWK" >&6; }
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3244 $as_echo "no" >&6; }
3248 test -n "$AWK" && break
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3252 $as_echo_n "checking whether ln -s works... " >&6; }
3254 if test "$LN_S" = "ln -s"; then
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3256 $as_echo "yes" >&6; }
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3259 $as_echo "no, using $LN_S" >&6; }
3263 # Determine what to build for 'gnatlib'
3264 if test ${enable_shared} = yes; then
3265 default_gnatlib_target="gnatlib-shared"
3267 default_gnatlib_target="gnatlib-plain"
3271 # Check for _Unwind_GetIPInfo
3274 # Check whether --with-system-libunwind was given.
3275 if test "${with_system_libunwind+set}" = set; then :
3276 withval=$with_system_libunwind;
3279 # If system-libunwind was not specifically set, pick a default setting.
3280 if test x$with_system_libunwind = x; then
3282 ia64-*-hpux*) with_system_libunwind=yes ;;
3283 *) with_system_libunwind=no ;;
3286 # Based on system-libunwind and target, do we have ipinfo?
3287 if test x$with_system_libunwind = xyes; then
3289 ia64-*-*) have_unwind_getipinfo=no ;;
3290 *) have_unwind_getipinfo=yes ;;
3293 # Darwin before version 9 does not have _Unwind_GetIPInfo.
3296 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
3297 *) have_unwind_getipinfo=yes ;;
3302 if test x$have_unwind_getipinfo = xyes; then
3304 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
3308 if test x$have_unwind_getipinfo = xyes; then
3309 have_getipinfo=-DHAVE_GETIPINFO
3315 # Check for <sys/capability.h>
3318 ac_cpp='$CPP $CPPFLAGS'
3319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3323 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3324 # On Suns, sometimes $CPP names a directory.
3325 if test -n "$CPP" && test -d "$CPP"; then
3328 if test -z "$CPP"; then
3329 if ${ac_cv_prog_CPP+:} false; then :
3330 $as_echo_n "(cached) " >&6
3332 # Double quotes because CPP needs to be expanded
3333 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
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.i 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.i conftest.$ac_ext
3378 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3379 rm -f conftest.i conftest.err conftest.
$ac_ext
3380 if $ac_preproc_ok; then :
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3393 $as_echo "$CPP" >&6; }
3395 for ac_c_preproc_warn_flag
in '' yes
3397 # Use a header file that comes with gcc, so configuring glibc
3398 # with a fresh cross-compiler works.
3399 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3400 # <limits.h> exists even on freestanding compilers.
3401 # On the NeXT, cc -E runs the code through the compiler's parser,
3402 # not just through cpp. "Syntax error" is here to catch this case.
3403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3404 /* end confdefs.h. */
3406 # include <limits.h>
3408 # include <assert.h>
3412 if ac_fn_c_try_cpp
"$LINENO"; then :
3415 # Broken: fails on valid input.
3418 rm -f conftest.err conftest.i conftest.
$ac_ext
3420 # OK, works on sane cases. Now check whether nonexistent headers
3421 # can be detected and how.
3422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3423 /* end confdefs.h. */
3424 #include <ac_nonexistent.h>
3426 if ac_fn_c_try_cpp
"$LINENO"; then :
3427 # Broken: success on invalid input.
3430 # Passes both tests.
3434 rm -f conftest.err conftest.i conftest.
$ac_ext
3437 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3438 rm -f conftest.i conftest.err conftest.
$ac_ext
3439 if $ac_preproc_ok; then :
3442 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3444 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3445 See \`config.log' for more details" "$LINENO" 5; }
3449 ac_cpp
='$CPP $CPPFLAGS'
3450 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3451 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3452 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3456 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3457 if ${ac_cv_path_GREP+:} false
; then :
3458 $as_echo_n "(cached) " >&6
3460 if test -z "$GREP"; then
3461 ac_path_GREP_found
=false
3462 # Loop through the user's path and test for each of PROGNAME-LIST
3463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3464 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3467 test -z "$as_dir" && as_dir
=.
3468 for ac_prog
in grep ggrep
; do
3469 for ac_exec_ext
in '' $ac_executable_extensions; do
3470 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3471 as_fn_executable_p
"$ac_path_GREP" ||
continue
3472 # Check for GNU ac_path_GREP and select it if it is found.
3473 # Check for GNU $ac_path_GREP
3474 case `"$ac_path_GREP" --version 2>&1` in
3476 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3479 $as_echo_n 0123456789 >"conftest.in"
3482 cat "conftest.in" "conftest.in" >"conftest.tmp"
3483 mv "conftest.tmp" "conftest.in"
3484 cp "conftest.in" "conftest.nl"
3485 $as_echo 'GREP' >> "conftest.nl"
3486 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3487 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3488 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3489 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3490 # Best one so far, save it but keep looking for a better one
3491 ac_cv_path_GREP
="$ac_path_GREP"
3492 ac_path_GREP_max
=$ac_count
3494 # 10*(2^10) chars as input seems more than enough
3495 test $ac_count -gt 10 && break
3497 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3500 $ac_path_GREP_found && break 3
3505 if test -z "$ac_cv_path_GREP"; then
3506 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3509 ac_cv_path_GREP
=$GREP
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3514 $as_echo "$ac_cv_path_GREP" >&6; }
3515 GREP
="$ac_cv_path_GREP"
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3519 $as_echo_n "checking for egrep... " >&6; }
3520 if ${ac_cv_path_EGREP+:} false
; then :
3521 $as_echo_n "(cached) " >&6
3523 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3524 then ac_cv_path_EGREP
="$GREP -E"
3526 if test -z "$EGREP"; then
3527 ac_path_EGREP_found
=false
3528 # Loop through the user's path and test for each of PROGNAME-LIST
3529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3530 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3533 test -z "$as_dir" && as_dir
=.
3534 for ac_prog
in egrep; do
3535 for ac_exec_ext
in '' $ac_executable_extensions; do
3536 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3537 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3538 # Check for GNU ac_path_EGREP and select it if it is found.
3539 # Check for GNU $ac_path_EGREP
3540 case `"$ac_path_EGREP" --version 2>&1` in
3542 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3545 $as_echo_n 0123456789 >"conftest.in"
3548 cat "conftest.in" "conftest.in" >"conftest.tmp"
3549 mv "conftest.tmp" "conftest.in"
3550 cp "conftest.in" "conftest.nl"
3551 $as_echo 'EGREP' >> "conftest.nl"
3552 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3553 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3554 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3555 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3556 # Best one so far, save it but keep looking for a better one
3557 ac_cv_path_EGREP
="$ac_path_EGREP"
3558 ac_path_EGREP_max
=$ac_count
3560 # 10*(2^10) chars as input seems more than enough
3561 test $ac_count -gt 10 && break
3563 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3566 $ac_path_EGREP_found && break 3
3571 if test -z "$ac_cv_path_EGREP"; then
3572 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3575 ac_cv_path_EGREP
=$EGREP
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3581 $as_echo "$ac_cv_path_EGREP" >&6; }
3582 EGREP
="$ac_cv_path_EGREP"
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3586 $as_echo_n "checking for ANSI C header files... " >&6; }
3587 if ${ac_cv_header_stdc+:} false
; then :
3588 $as_echo_n "(cached) " >&6
3590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3591 /* end confdefs.h. */
3605 if ac_fn_c_try_compile
"$LINENO"; then :
3606 ac_cv_header_stdc
=yes
3608 ac_cv_header_stdc
=no
3610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3612 if test $ac_cv_header_stdc = yes; then
3613 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3615 /* end confdefs.h. */
3619 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3620 $EGREP "memchr" >/dev
/null
2>&1; then :
3623 ac_cv_header_stdc
=no
3629 if test $ac_cv_header_stdc = yes; then
3630 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3632 /* end confdefs.h. */
3636 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3637 $EGREP "free" >/dev
/null
2>&1; then :
3640 ac_cv_header_stdc
=no
3646 if test $ac_cv_header_stdc = yes; then
3647 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3648 if test "$cross_compiling" = yes; then :
3651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3652 /* end confdefs.h. */
3655 #if ((' ' & 0x0FF) == 0x020)
3656 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3657 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3659 # define ISLOWER(c) \
3660 (('a' <= (c) && (c) <= 'i') \
3661 || ('j' <= (c) && (c) <= 'r') \
3662 || ('s' <= (c) && (c) <= 'z'))
3663 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3666 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3671 for (i = 0; i < 256; i++)
3672 if (XOR (islower (i), ISLOWER (i))
3673 || toupper (i) != TOUPPER (i))
3678 if ac_fn_c_try_run
"$LINENO"; then :
3681 ac_cv_header_stdc
=no
3683 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3684 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3690 $as_echo "$ac_cv_header_stdc" >&6; }
3691 if test $ac_cv_header_stdc = yes; then
3693 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3697 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3698 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3699 inttypes.h stdint.h unistd.h
3701 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3702 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3704 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3705 cat >>confdefs.h
<<_ACEOF
3706 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3714 ac_fn_c_check_header_mongrel
"$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
3715 if test "x$ac_cv_header_sys_capability_h" = xyes
; then :
3716 have_capability
=-DHAVE_CAPABILITY
3724 # Determine what GCC version number to use in filesystem paths.
3726 get_gcc_base_ver
="cat"
3728 # Check whether --with-gcc-major-version-only was given.
3729 if test "${with_gcc_major_version_only+set}" = set; then :
3730 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
3731 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
3739 # Output: create a Makefile.
3740 ac_config_files
="$ac_config_files Makefile"
3743 cat >confcache
<<\_ACEOF
3744 # This file is a shell script that caches the results of configure
3745 # tests run on this system so they can be shared between configure
3746 # scripts and configure runs, see configure's option --config-cache.
3747 # It is not useful on other systems. If it contains results you don't
3748 # want to keep, you may remove or edit it.
3750 # config.status only pays attention to the cache file if you give it
3751 # the --recheck option to rerun configure.
3753 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3754 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3759 # The following way of writing the cache mishandles newlines in values,
3760 # but we know of no workaround that is simple, portable, and efficient.
3761 # So, we kill variables containing newlines.
3762 # Ultrix sh set writes to stderr and can't be redirected directly,
3763 # and sets the high bit in the cache file unless we assign to the vars.
3765 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3766 eval ac_val
=\$
$ac_var
3770 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3771 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3774 _ | IFS | as_nl
) ;; #(
3775 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3776 *) { eval $ac_var=; unset $ac_var;} ;;
3782 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3783 *${as_nl}ac_space
=\
*)
3784 # `set' does not quote correctly, so add quotes: double-quote
3785 # substitution turns \\\\ into \\, and sed turns \\ into \.
3788 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3791 # `set' quotes correctly as required by POSIX, so do not add quotes.
3792 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3801 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3803 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3805 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3806 if test -w "$cache_file"; then
3807 if test "x$cache_file" != "x/dev/null"; then
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3809 $as_echo "$as_me: updating cache $cache_file" >&6;}
3810 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
3811 cat confcache
>"$cache_file"
3813 case $cache_file in #(
3815 mv -f confcache
"$cache_file"$$
&&
3816 mv -f "$cache_file"$$
"$cache_file" ;; #(
3818 mv -f confcache
"$cache_file" ;;
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3824 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3829 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3830 # Let make expand exec_prefix.
3831 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3833 # Transform confdefs.h into DEFS.
3834 # Protect against shell expansion while executing Makefile rules.
3835 # Protect against Makefile macro expansion.
3837 # If the first sed substitution is executed (which looks for macros that
3838 # take arguments), then branch to the quote section. Otherwise,
3839 # look for a macro that doesn't take arguments.
3849 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3851 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3855 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3868 DEFS
=`sed -n "$ac_script" confdefs.h`
3874 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3875 # 1. Remove the extension, and $U if already installed.
3876 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3877 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3878 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3879 # will be set to the directory where LIBOBJS objects are built.
3880 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3881 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
3885 LTLIBOBJS
=$ac_ltlibobjs
3889 : "${CONFIG_STATUS=./config.status}"
3891 ac_clean_files_save
=$ac_clean_files
3892 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3894 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3896 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3898 # Generated by $as_me.
3899 # Run this file to recreate the current configuration.
3900 # Compiler output produced by configure, useful for debugging
3901 # configure, is in config.log if it exists.
3907 SHELL=\${CONFIG_SHELL-$SHELL}
3910 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
3911 ## -------------------- ##
3912 ## M4sh Initialization. ##
3913 ## -------------------- ##
3915 # Be more Bourne compatible
3916 DUALCASE
=1; export DUALCASE
# for MKS sh
3917 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
3920 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3921 # is contrary to our usage. Disable this feature.
3922 alias -g '${1+"$@"}'='"$@"'
3923 setopt NO_GLOB_SUBST
3925 case `(set -o) 2>/dev/null` in #(
3937 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3938 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3939 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3940 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3941 # Prefer a ksh shell builtin over an external printf program on Solaris,
3942 # but without wasting forks for bash or zsh.
3943 if test -z "$BASH_VERSION$ZSH_VERSION" \
3944 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3945 as_echo='print
-r --'
3946 as_echo_n='print
-rn --'
3947 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3948 as_echo='printf %s
\n'
3949 as_echo_n='printf %s
'
3951 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3952 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3953 as_echo_n='/usr
/ucb
/echo -n'
3955 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3956 as_echo_n_body='eval
3960 expr "X$arg" : "X\\(.*\\)$as_nl";
3961 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3963 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3965 export as_echo_n_body
3966 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3969 as_echo='sh
-c $as_echo_body as_echo
'
3972 # The user is always right.
3973 if test "${PATH_SEPARATOR+set}" != set; then
3975 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3976 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3983 # We need space, tab and new line, in precisely that order. Quoting is
3984 # there to prevent editors from complaining about space-tab.
3985 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3986 # splitting by setting IFS to empty value.)
3989 # Find who we are. Look in the path if we contain no directory separator.
3992 *[\\/]* ) as_myself=$0 ;;
3993 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3997 test -z "$as_dir" && as_dir=.
3998 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4004 # We did not find ourselves, most probably we were run as `sh COMMAND'
4005 # in which case we are not to be found in the path.
4006 if test "x$as_myself" = x
; then
4009 if test ! -f "$as_myself"; then
4010 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4014 # Unset variables that we do not need and which cause bugs (e.g. in
4015 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4016 # suppresses any "Segmentation fault" message there. '((' could
4017 # trigger a bug in pdksh 5.2.14.
4018 for as_var
in BASH_ENV ENV MAIL MAILPATH
4019 do eval test x\
${$as_var+set} = xset \
4020 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4033 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4036 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4037 # ----------------------------------------
4038 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4039 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4040 # script with STATUS, using 1 if that was 0.
4043 as_status
=$1; test $as_status -eq 0 && as_status
=1
4045 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4046 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4048 $as_echo "$as_me: error: $2" >&2
4049 as_fn_exit
$as_status
4053 # as_fn_set_status STATUS
4054 # -----------------------
4055 # Set $? to STATUS, without forking.
4059 } # as_fn_set_status
4063 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4073 # Portably unset VAR.
4076 { eval $1=; unset $1;}
4078 as_unset
=as_fn_unset
4079 # as_fn_append VAR VALUE
4080 # ----------------------
4081 # Append the text in VALUE to the end of the definition contained in VAR. Take
4082 # advantage of any shell optimizations that allow amortized linear growth over
4083 # repeated appends, instead of the typical quadratic growth present in naive
4085 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4086 eval 'as_fn_append ()
4097 # as_fn_arith ARG...
4098 # ------------------
4099 # Perform arithmetic evaluation on the ARGs, and store the result in the
4100 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4101 # must be portable across $(()) and expr.
4102 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4103 eval 'as_fn_arith ()
4110 as_val
=`expr "$@" || test $? -eq 1`
4115 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4116 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4122 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4123 as_basename
=basename
4128 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4134 as_me
=`$as_basename -- "$0" ||
4135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4136 X"$0" : 'X\(//\)$' \| \
4137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4139 sed '/^.*\/\([^/][^/]*\)\/*$/{
4153 # Avoid depending upon Character Ranges.
4154 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4155 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4156 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4157 as_cr_digits
='0123456789'
4158 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4160 ECHO_C
= ECHO_N
= ECHO_T
=
4161 case `echo -n x` in #(((((
4163 case `echo 'xy\c'` in
4164 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4166 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4173 rm -f conf$$ conf$$.exe conf$$.
file
4174 if test -d conf$$.dir
; then
4175 rm -f conf$$.dir
/conf$$.
file
4178 mkdir conf$$.dir
2>/dev
/null
4180 if (echo >conf$$.
file) 2>/dev
/null
; then
4181 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4183 # ... but there are two gotchas:
4184 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4185 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4186 # In both cases, we have to default to `cp -pR'.
4187 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4189 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4197 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4198 rmdir conf$$.dir
2>/dev
/null
4203 # Create "$as_dir" as a directory, including parents if necessary.
4208 -*) as_dir
=.
/$as_dir;;
4210 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4214 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4215 *) as_qdir
=$as_dir;;
4217 as_dirs
="'$as_qdir' $as_dirs"
4218 as_dir
=`$as_dirname -- "$as_dir" ||
4219 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4220 X"$as_dir" : 'X\(//\)[^/]' \| \
4221 X"$as_dir" : 'X\(//\)$' \| \
4222 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4223 $as_echo X"$as_dir" |
4224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4241 test -d "$as_dir" && break
4243 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4244 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4248 if mkdir
-p .
2>/dev
/null
; then
4249 as_mkdir_p
='mkdir -p "$as_dir"'
4251 test -d .
/-p && rmdir .
/-p
4256 # as_fn_executable_p FILE
4257 # -----------------------
4258 # Test if FILE is an executable regular file.
4259 as_fn_executable_p
()
4261 test -f "$1" && test -x "$1"
4262 } # as_fn_executable_p
4264 as_executable_p
=as_fn_executable_p
4266 # Sed expression to map a string onto a valid CPP name.
4267 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4269 # Sed expression to map a string onto a valid variable name.
4270 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4274 ## ----------------------------------- ##
4275 ## Main body of $CONFIG_STATUS script. ##
4276 ## ----------------------------------- ##
4278 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4280 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4281 # Save the log message, to keep $0 and so on meaningful, and to
4282 # report actual input values of CONFIG_FILES etc. instead of their
4283 # values after options handling.
4285 This file was extended by $as_me, which was
4286 generated by GNU Autoconf 2.69. Invocation command line was
4288 CONFIG_FILES = $CONFIG_FILES
4289 CONFIG_HEADERS = $CONFIG_HEADERS
4290 CONFIG_LINKS = $CONFIG_LINKS
4291 CONFIG_COMMANDS = $CONFIG_COMMANDS
4294 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4299 case $ac_config_files in *"
4300 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4305 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4306 # Files that config.status was made for.
4307 config_files="$ac_config_files"
4308 config_commands="$ac_config_commands"
4312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4314 \`$as_me' instantiates files and other configuration actions
4315 from templates according to the current configuration. Unless the files
4316 and actions are specified as TAGs, all are instantiated by default.
4318 Usage: $0 [OPTION]... [TAG]...
4320 -h, --help print this help, then exit
4321 -V, --version print version number and configuration settings, then exit
4322 --config print configuration, then exit
4323 -q, --quiet, --silent
4324 do not print progress messages
4325 -d, --debug don't remove temporary files
4326 --recheck update $as_me by reconfiguring in the same conditions
4327 --file=FILE[:TEMPLATE]
4328 instantiate the configuration file FILE
4330 Configuration files:
4333 Configuration commands:
4336 Report bugs to the package provider."
4339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4340 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4343 configured by $0, generated by GNU Autoconf 2.69,
4344 with options \\"\$ac_cs_config\\"
4346 Copyright (C) 2012 Free Software Foundation, Inc.
4347 This config.status script is free software; the Free Software Foundation
4348 gives unlimited permission to copy, distribute and modify it."
4353 test -n "\$AWK" || AWK=awk
4356 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4357 # The default lists apply if the user does not specify any file.
4363 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4364 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4368 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4380 # Handling of the options.
4381 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4383 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4384 $as_echo "$ac_cs_version"; exit ;;
4385 --config |
--confi |
--conf |
--con |
--co |
--c )
4386 $as_echo "$ac_cs_config"; exit ;;
4387 --debug |
--debu |
--deb |
--de |
--d |
-d )
4389 --file |
--fil |
--fi |
--f )
4392 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4393 '') as_fn_error $?
"missing file argument" ;;
4395 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4396 ac_need_defaults
=false
;;
4397 --he |
--h |
--help |
--hel |
-h )
4398 $as_echo "$ac_cs_usage"; exit ;;
4399 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4400 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4404 -*) as_fn_error $?
"unrecognized option: \`$1'
4405 Try \`$0 --help' for more information." ;;
4407 *) as_fn_append ac_config_targets
" $1"
4408 ac_need_defaults
=false
;;
4414 ac_configure_extra_args
=
4416 if $ac_cs_silent; then
4418 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4422 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4423 if \$ac_cs_recheck; then
4424 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4426 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4427 CONFIG_SHELL='$SHELL'
4433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4437 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4438 ## Running $as_me. ##
4444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4452 with_multisubdir="$with_multisubdir"
4453 with_multisrctop="$with_multisrctop"
4454 with_target_subdir="$with_target_subdir"
4455 ac_configure_args="${multilib_arg} ${ac_configure_args}"
4456 multi_basedir="$multi_basedir"
4457 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
4460 GFORTRAN="$GFORTRAN"
4465 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4467 # Handling of arguments.
4468 for ac_config_target
in $ac_config_targets
4470 case $ac_config_target in
4471 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
4472 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4474 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4479 # If the user did not use the arguments to specify the items to instantiate,
4480 # then the envvar interface is used. Set only those that are not.
4481 # We use the long form for the default assignment because of an extremely
4482 # bizarre bug on SunOS 4.1.3.
4483 if $ac_need_defaults; then
4484 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4485 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
4488 # Have a temporary directory for convenience. Make it in the build tree
4489 # simply because there is no reason against having it here, and in addition,
4490 # creating and moving files from /tmp can sometimes cause problems.
4491 # Hook for its removal unless debugging.
4492 # Note that there is a small window in which the directory will not be cleaned:
4493 # after its creation but before its name has been assigned to `$tmp'.
4497 trap 'exit_status=$?
4499 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4501 trap 'as_fn_exit 1' 1 2 13 15
4503 # Create a (secure) tmp directory for tmp files.
4506 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4510 tmp
=.
/conf$$
-$RANDOM
4511 (umask 077 && mkdir
"$tmp")
4512 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
4515 # Set up the scripts for CONFIG_FILES section.
4516 # No need to generate them if there are no CONFIG_FILES.
4517 # This happens for instance with `./config.status config.h'.
4518 if test -n "$CONFIG_FILES"; then
4521 ac_cr
=`echo X | tr X '\015'`
4522 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4523 # But we know of no other shell where ac_cr would be empty at this
4524 # point, so we can use a bashism as a fallback.
4525 if test "x$ac_cr" = x
; then
4526 eval ac_cr
=\$
\'\\r
\'
4528 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4529 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4535 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4540 echo "cat >conf$$subs.awk <<_ACEOF" &&
4541 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4544 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4545 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4547 for ac_last_try in false false false false false :; do
4548 . ./conf$$subs.sh ||
4549 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4551 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4552 if test $ac_delim_n = $ac_delim_num; then
4554 elif $ac_last_try; then
4555 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4557 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4562 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4563 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
4567 s/^/S["/; s
/!.
*/"]=/
4577 s/\(.\{148\}\)..*/\1/
4579 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4584 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4591 s/\(.\{148\}\)..*/\1/
4593 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4597 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4602 ' <conf$$subs.awk | sed '
4607 ' >>$CONFIG_STATUS || ac_write_fail=1
4608 rm -f conf$$subs.awk
4609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4611 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
4612 for (key in S) S_is_set[key] = 1
4618 nfields = split(line, field, "@
")
4620 len = length(field[1])
4621 for (i = 2; i < nfields; i++) {
4623 keylen = length(key)
4624 if (S_is_set[key]) {
4626 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4627 len += length(value) + length(field[++i])
4638 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4639 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4640 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4643 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
4644 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
4647 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4648 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
4649 # trailing colons and then remove the whole line if VPATH becomes empty
4650 # (actually we leave an empty line to preserve line numbers).
4651 if test "x
$srcdir" = x.; then
4652 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4670 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4671 fi # test -n "$CONFIG_FILES"
4674 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
4679 :[FHLC]) ac_mode=$ac_tag; continue;;
4681 case $ac_mode$ac_tag in
4683 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
4684 :[FH]-) ac_tag=-:-;;
4685 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4702 -) ac_f="$ac_tmp/stdin";;
4703 *) # Look for the file first in the build tree, then in the source tree
4704 # (if the path is not absolute). The absolute path cannot be DOS-style,
4705 # because $ac_f cannot contain `:'.
4709 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4711 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4713 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
4714 as_fn_append ac_file_inputs " '$ac_f'"
4717 # Let's still pretend it is `configure' which instantiates (i.e., don't
4718 # use $as_me), people would be surprised to read:
4719 # /* config.h. Generated by config.status. */
4720 configure_input='Generated from '`
4721 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4723 if test x"$ac_file" != x-; then
4724 configure_input="$ac_file.
$configure_input"
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
4726 $as_echo "$as_me: creating
$ac_file" >&6;}
4728 # Neutralize special characters interpreted by sed in replacement strings.
4729 case $configure_input in #(
4730 *\&* | *\|* | *\\* )
4731 ac_sed_conf_input=`$as_echo "$configure_input" |
4732 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4733 *) ac_sed_conf_input=$configure_input;;
4737 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
4738 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
4743 ac_dir=`$as_dirname -- "$ac_file" ||
4744 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4745 X"$ac_file" : 'X\(//\)[^/]' \| \
4746 X"$ac_file" : 'X\(//\)$' \| \
4747 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4748 $as_echo X"$ac_file" |
4749 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4766 as_dir="$ac_dir"; as_fn_mkdir_p
4770 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4772 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4773 # A "..
" for each directory in $ac_dir_suffix.
4774 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4775 case $ac_top_builddir_sub in
4776 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4777 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4780 ac_abs_top_builddir=$ac_pwd
4781 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4782 # for backward compatibility:
4783 ac_top_builddir=$ac_top_build_prefix
4786 .) # We are building in place.
4788 ac_top_srcdir=$ac_top_builddir_sub
4789 ac_abs_top_srcdir=$ac_pwd ;;
4790 [\\/]* | ?:[\\/]* ) # Absolute name.
4791 ac_srcdir=$srcdir$ac_dir_suffix;
4792 ac_top_srcdir=$srcdir
4793 ac_abs_top_srcdir=$srcdir ;;
4795 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4796 ac_top_srcdir=$ac_top_build_prefix$srcdir
4797 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4799 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4810 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4811 # If the template does not know about datarootdir, expand it.
4812 # FIXME: This hack should be removed a few years after 2.60.
4813 ac_datarootdir_hack=; ac_datarootdir_seen=
4824 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
4825 *datarootdir*) ac_datarootdir_seen=yes;;
4826 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
4828 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
4830 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4831 ac_datarootdir_hack='
4832 s&@datadir@&$datadir&g
4833 s&@docdir@&$docdir&g
4834 s&@infodir@&$infodir&g
4835 s&@localedir@&$localedir&g
4836 s&@mandir@&$mandir&g
4837 s&\\\${datarootdir}&$datarootdir&g' ;;
4841 # Neutralize VPATH when `$srcdir' = `.'.
4842 # Shell code in configure.ac might set extrasub.
4843 # FIXME: do we really want to maintain this feature?
4844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4845 ac_sed_extra="$ac_vpsub
4848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4850 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4851 s|@configure_input@|
$ac_sed_conf_input|
;t t
4852 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
4853 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
4854 s
&@srcdir@
&$ac_srcdir&;t t
4855 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
4856 s
&@top_srcdir@
&$ac_top_srcdir&;t t
4857 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
4858 s
&@builddir@
&$ac_builddir&;t t
4859 s
&@abs_builddir@
&$ac_abs_builddir&;t t
4860 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
4861 $ac_datarootdir_hack
4863 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
4864 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
4866 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4867 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
4868 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4869 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
4871 which seems to be undefined. Please make sure it is defined" >&5
4872 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
4873 which seems to be undefined. Please make sure it is defined" >&2;}
4875 rm -f "$ac_tmp/stdin"
4877 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4878 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4880 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4884 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4885 $as_echo "$as_me: executing $ac_file commands" >&6;}
4890 case $ac_file$ac_mode in
4892 # Only add multilib support code if we just rebuilt the top-level
4894 case " $CONFIG_FILES " in
4896 ac_file=Makefile . ${multi_basedir}/config-ml.in
4906 ac_clean_files=$ac_clean_files_save
4908 test $ac_write_fail = 0 ||
4909 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4912 # configure is writing to config.log, and then calls config.status.
4913 # config.status does its own redirection, appending to config.log.
4914 # Unfortunately, on DOS this fails, as config.log is still kept open
4915 # by configure, so config.status won't be able to
write to it
; its
4916 # output is simply discarded. So we exec the FD to /dev/null,
4917 # effectively closing config.log, so it can be properly (re)opened and
4918 # appended to by config.status. When coming back to configure, we
4919 # need to make the FD available again.
4920 if test "$no_create" != yes; then
4922 ac_config_status_args
=
4923 test "$silent" = yes &&
4924 ac_config_status_args
="$ac_config_status_args --quiet"
4926 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4928 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4929 # would make configure fail if this is the last instruction.
4930 $ac_cs_success || as_fn_exit
1
4932 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4934 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}