2
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.59.
5
# Copyright (C) 2003 Free Software Foundation, Inc.
3
# Generated by GNU Autoconf 2.64.
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
6
9
# This configure script is free software; the Free Software Foundation
7
10
# gives unlimited permission to copy, distribute and modify it.
8
## --------------------- ##
9
## M4sh Initialization. ##
10
## --------------------- ##
11
## -------------------- ##
12
## M4sh Initialization. ##
13
## -------------------- ##
12
# Be Bourne compatible
13
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
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 :
16
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17
21
# is contrary to our usage. Disable this feature.
18
22
alias -g '${1+"$@"}'='"$@"'
19
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
DUALCASE=1; export DUALCASE # for MKS sh
24
# Support unset when possible.
25
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32
# Work around bugs in pre-3.0 UWIN ksh.
33
$as_unset ENV MAIL MAILPATH
25
case `(set -o) 2>/dev/null` in #(
37
# Printing a long string crashes Solaris 7 /usr/bin/printf.
38
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41
# Prefer a ksh shell builtin over an external printf program on Solaris,
42
# but without wasting forks for bash or zsh.
43
if test -z "$BASH_VERSION$ZSH_VERSION" \
44
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46
as_echo_n='print -rn --'
47
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53
as_echo_n='/usr/ucb/echo -n'
55
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60
expr "X$arg" : "X\\(.*\\)$as_nl";
61
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
as_echo_n='sh -c $as_echo_n_body as_echo'
69
as_echo='sh -c $as_echo_body as_echo'
72
# The user is always right.
73
if test "${PATH_SEPARATOR+set}" != set; then
75
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83
# We need space, tab and new line, in precisely that order. Quoting is
84
# there to prevent editors from complaining about space-tab.
85
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86
# splitting by setting IFS to empty value.)
89
# Find who we are. Look in the path if we contain no directory separator.
91
*[\\/]* ) as_myself=$0 ;;
92
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96
test -z "$as_dir" && as_dir=.
97
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103
# We did not find ourselves, most probably we were run as `sh COMMAND'
104
# in which case we are not to be found in the path.
105
if test "x$as_myself" = x; then
108
if test ! -f "$as_myself"; then
109
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113
# Unset variables that we do not need and which cause bugs (e.g. in
114
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115
# suppresses any "Segmentation fault" message there. '((' could
116
# trigger a bug in pdksh 5.2.14.
117
for as_var in BASH_ENV ENV MAIL MAILPATH
118
do eval test x\${$as_var+set} = xset \
119
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
40
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
132
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
if test "x$CONFIG_SHELL" = x; then
135
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139
# is contrary to our usage. Disable this feature.
140
alias -g '\${1+\"\$@\"}'='\"\$@\"'
143
case \`(set -o) 2>/dev/null\` in #(
151
as_required="as_fn_return () { (exit \$1); }
152
as_fn_success () { as_fn_return 0; }
153
as_fn_failure () { as_fn_return 1; }
154
as_fn_ret_success () { return 0; }
155
as_fn_ret_failure () { return 1; }
158
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
exitcode=1; echo positional parameters were not saved.
167
test x\$exitcode = x0 || exit 1"
168
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172
test \$(( 1 + 1 )) = 2 || exit 1"
173
if (eval "$as_required") 2>/dev/null; then :
178
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
44
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
eval $as_var=C; export $as_var
186
test -z "$as_dir" && as_dir=.
190
for as_base in sh bash ksh sh5; do
191
# Try only shells that exist, to save several forks.
192
as_shell=$as_dir/$as_base
193
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195
CONFIG_SHELL=$as_shell as_have_required=yes
196
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
204
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206
CONFIG_SHELL=$SHELL as_have_required=yes
211
if test "x$CONFIG_SHELL" != x; then :
212
# We cannot yet assume a decent shell, so we have to provide a
213
# neutralization value for shells without unset; and this also
214
# works around shells that cannot unset nonexistent variables.
217
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222
if test x$as_have_required = xno; then :
223
$as_echo "$0: This script requires a shell more modern than all"
224
$as_echo "$0: the shells that I found on your system."
225
if test x${ZSH_VERSION+set} = xset ; then
226
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
51
# Required to use basename.
52
if expr a : '\(a\)' >/dev/null 2>&1; then
229
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230
$0: including any error possibly output before this
231
$0: message. Then install a modern shell, or manually run
232
$0: the script under such a shell if you do have one."
238
SHELL=${CONFIG_SHELL-/bin/sh}
240
# Unset more variables known to interfere with behavior of common tools.
241
CLICOLOR_FORCE= GREP_OPTIONS=
242
unset CLICOLOR_FORCE GREP_OPTIONS
244
## --------------------- ##
245
## M4sh Shell Functions. ##
246
## --------------------- ##
249
# Portably unset VAR.
252
{ eval $1=; unset $1;}
256
# as_fn_set_status STATUS
257
# -----------------------
258
# Set $? to STATUS, without forking.
266
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276
# Create "$as_dir" as a directory, including parents if necessary.
281
-*) as_dir=./$as_dir;;
283
test -d "$as_dir" || eval $as_mkdir_p || {
287
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290
as_dirs="'$as_qdir' $as_dirs"
291
as_dir=`$as_dirname -- "$as_dir" ||
292
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293
X"$as_dir" : 'X\(//\)[^/]' \| \
294
X"$as_dir" : 'X\(//\)$' \| \
295
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296
$as_echo X"$as_dir" |
297
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314
test -d "$as_dir" && break
316
test -z "$as_dirs" || eval "mkdir $as_dirs"
317
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
321
# as_fn_append VAR VALUE
322
# ----------------------
323
# Append the text in VALUE to the end of the definition contained in VAR. Take
324
# advantage of any shell optimizations that allow amortized linear growth over
325
# repeated appends, instead of the typical quadratic growth present in naive
327
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328
eval 'as_fn_append ()
341
# Perform arithmetic evaluation on the ARGs, and store the result in the
342
# global $as_val. Take advantage of shells that can avoid forks. The arguments
343
# must be portable across $(()) and expr.
344
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
352
as_val=`expr "$@" || test $? -eq 1`
357
# as_fn_error ERROR [LINENO LOG_FD]
358
# ---------------------------------
359
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361
# script with status $?, using 1 if that was 0.
364
as_status=$?; test $as_status -eq 0 && as_status=1
366
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369
$as_echo "$as_me: error: $1" >&2
370
as_fn_exit $as_status
373
if expr a : '\(a\)' >/dev/null 2>&1 &&
374
test "X`expr 00001 : '.*\(...\)'`" = X001; then
58
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
380
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59
381
as_basename=basename
386
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
65
# Name of the executable.
66
as_me=`$as_basename "$0" ||
392
as_me=`$as_basename -- "$0" ||
67
393
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
394
X"$0" : 'X\(//\)$' \| \
69
X"$0" : 'X\(/\)$' \| \
70
. : '\(.\)' 2>/dev/null ||
72
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
/^X\/\(\/\/\)$/{ s//\1/; q; }
74
/^X\/\(\/\).*/{ s//\1/; q; }
78
# PATH needs CR, and LINENO needs CR and PATH.
395
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397
sed '/^.*\/\([^/][^/]*\)\/*$/{
79
411
# Avoid depending upon Character Ranges.
80
412
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
413
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
666
1280
test "$silent" = yes && exec 6>/dev/null
1283
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1284
ac_ls_di=`ls -di .` &&
1285
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1286
as_fn_error "working directory cannot be determined"
1287
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1288
as_fn_error "pwd does not report name of working directory"
669
1291
# Find the source files, if location was not specified.
670
1292
if test -z "$srcdir"; then
671
1293
ac_srcdir_defaulted=yes
672
# Try the directory containing this script, then its parent.
673
ac_confdir=`(dirname "$0") 2>/dev/null ||
674
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675
X"$0" : 'X\(//\)[^/]' \| \
676
X"$0" : 'X\(//\)$' \| \
677
X"$0" : 'X\(/\)' \| \
678
. : '\(.\)' 2>/dev/null ||
680
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
682
/^X\(\/\/\)$/{ s//\1/; q; }
683
/^X\(\/\).*/{ s//\1/; q; }
1294
# Try the directory containing this script, then the parent directory.
1295
ac_confdir=`$as_dirname -- "$as_myself" ||
1296
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1297
X"$as_myself" : 'X\(//\)[^/]' \| \
1298
X"$as_myself" : 'X\(//\)$' \| \
1299
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1300
$as_echo X"$as_myself" |
1301
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
685
1318
srcdir=$ac_confdir
686
if test ! -r $srcdir/$ac_unique_file; then
1319
if test ! -r "$srcdir/$ac_unique_file"; then
690
1323
ac_srcdir_defaulted=no
692
if test ! -r $srcdir/$ac_unique_file; then
693
if test "$ac_srcdir_defaulted" = yes; then
694
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695
{ (exit 1); exit 1; }; }
697
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698
{ (exit 1); exit 1; }; }
701
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703
{ (exit 1); exit 1; }; }
704
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705
ac_env_build_alias_set=${build_alias+set}
706
ac_env_build_alias_value=$build_alias
707
ac_cv_env_build_alias_set=${build_alias+set}
708
ac_cv_env_build_alias_value=$build_alias
709
ac_env_host_alias_set=${host_alias+set}
710
ac_env_host_alias_value=$host_alias
711
ac_cv_env_host_alias_set=${host_alias+set}
712
ac_cv_env_host_alias_value=$host_alias
713
ac_env_target_alias_set=${target_alias+set}
714
ac_env_target_alias_value=$target_alias
715
ac_cv_env_target_alias_set=${target_alias+set}
716
ac_cv_env_target_alias_value=$target_alias
1325
if test ! -r "$srcdir/$ac_unique_file"; then
1326
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1327
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1329
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1331
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1333
# When building in place, set srcdir=.
1334
if test "$ac_abs_confdir" = "$ac_pwd"; then
1337
# Remove unnecessary trailing slashes from srcdir.
1338
# Double slashes in file names in object file debugging info
1339
# mess up M-x gdb in Emacs.
1341
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
717
1343
ac_subdirs_all=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
719
ac_env_CC_set=${CC+set}
721
ac_cv_env_CC_set=${CC+set}
722
ac_cv_env_CC_value=$CC
723
ac_env_CFLAGS_set=${CFLAGS+set}
724
ac_env_CFLAGS_value=$CFLAGS
725
ac_cv_env_CFLAGS_set=${CFLAGS+set}
726
ac_cv_env_CFLAGS_value=$CFLAGS
727
ac_env_LDFLAGS_set=${LDFLAGS+set}
728
ac_env_LDFLAGS_value=$LDFLAGS
729
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
730
ac_cv_env_LDFLAGS_value=$LDFLAGS
731
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
732
ac_env_CPPFLAGS_value=$CPPFLAGS
733
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
734
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
735
ac_env_CXX_set=${CXX+set}
736
ac_env_CXX_value=$CXX
737
ac_cv_env_CXX_set=${CXX+set}
738
ac_cv_env_CXX_value=$CXX
739
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
740
ac_env_CXXFLAGS_value=$CXXFLAGS
741
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
742
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
743
ac_env_AR_set=${AR+set}
745
ac_cv_env_AR_set=${AR+set}
746
ac_cv_env_AR_value=$AR
747
ac_env_AS_set=${AS+set}
749
ac_cv_env_AS_set=${AS+set}
750
ac_cv_env_AS_value=$AS
751
ac_env_DLLTOOL_set=${DLLTOOL+set}
752
ac_env_DLLTOOL_value=$DLLTOOL
753
ac_cv_env_DLLTOOL_set=${DLLTOOL+set}
754
ac_cv_env_DLLTOOL_value=$DLLTOOL
755
ac_env_LD_set=${LD+set}
757
ac_cv_env_LD_set=${LD+set}
758
ac_cv_env_LD_value=$LD
759
ac_env_LIPO_set=${LIPO+set}
760
ac_env_LIPO_value=$LIPO
761
ac_cv_env_LIPO_set=${LIPO+set}
762
ac_cv_env_LIPO_value=$LIPO
763
ac_env_NM_set=${NM+set}
765
ac_cv_env_NM_set=${NM+set}
766
ac_cv_env_NM_value=$NM
767
ac_env_RANLIB_set=${RANLIB+set}
768
ac_env_RANLIB_value=$RANLIB
769
ac_cv_env_RANLIB_set=${RANLIB+set}
770
ac_cv_env_RANLIB_value=$RANLIB
771
ac_env_STRIP_set=${STRIP+set}
772
ac_env_STRIP_value=$STRIP
773
ac_cv_env_STRIP_set=${STRIP+set}
774
ac_cv_env_STRIP_value=$STRIP
775
ac_env_WINDRES_set=${WINDRES+set}
776
ac_env_WINDRES_value=$WINDRES
777
ac_cv_env_WINDRES_set=${WINDRES+set}
778
ac_cv_env_WINDRES_value=$WINDRES
779
ac_env_WINDMC_set=${WINDMC+set}
780
ac_env_WINDMC_value=$WINDMC
781
ac_cv_env_WINDMC_set=${WINDMC+set}
782
ac_cv_env_WINDMC_value=$WINDMC
783
ac_env_OBJCOPY_set=${OBJCOPY+set}
784
ac_env_OBJCOPY_value=$OBJCOPY
785
ac_cv_env_OBJCOPY_set=${OBJCOPY+set}
786
ac_cv_env_OBJCOPY_value=$OBJCOPY
787
ac_env_OBJDUMP_set=${OBJDUMP+set}
788
ac_env_OBJDUMP_value=$OBJDUMP
789
ac_cv_env_OBJDUMP_set=${OBJDUMP+set}
790
ac_cv_env_OBJDUMP_value=$OBJDUMP
791
ac_env_CC_FOR_TARGET_set=${CC_FOR_TARGET+set}
792
ac_env_CC_FOR_TARGET_value=$CC_FOR_TARGET
793
ac_cv_env_CC_FOR_TARGET_set=${CC_FOR_TARGET+set}
794
ac_cv_env_CC_FOR_TARGET_value=$CC_FOR_TARGET
795
ac_env_CXX_FOR_TARGET_set=${CXX_FOR_TARGET+set}
796
ac_env_CXX_FOR_TARGET_value=$CXX_FOR_TARGET
797
ac_cv_env_CXX_FOR_TARGET_set=${CXX_FOR_TARGET+set}
798
ac_cv_env_CXX_FOR_TARGET_value=$CXX_FOR_TARGET
799
ac_env_GCC_FOR_TARGET_set=${GCC_FOR_TARGET+set}
800
ac_env_GCC_FOR_TARGET_value=$GCC_FOR_TARGET
801
ac_cv_env_GCC_FOR_TARGET_set=${GCC_FOR_TARGET+set}
802
ac_cv_env_GCC_FOR_TARGET_value=$GCC_FOR_TARGET
803
ac_env_GCJ_FOR_TARGET_set=${GCJ_FOR_TARGET+set}
804
ac_env_GCJ_FOR_TARGET_value=$GCJ_FOR_TARGET
805
ac_cv_env_GCJ_FOR_TARGET_set=${GCJ_FOR_TARGET+set}
806
ac_cv_env_GCJ_FOR_TARGET_value=$GCJ_FOR_TARGET
807
ac_env_GFORTRAN_FOR_TARGET_set=${GFORTRAN_FOR_TARGET+set}
808
ac_env_GFORTRAN_FOR_TARGET_value=$GFORTRAN_FOR_TARGET
809
ac_cv_env_GFORTRAN_FOR_TARGET_set=${GFORTRAN_FOR_TARGET+set}
810
ac_cv_env_GFORTRAN_FOR_TARGET_value=$GFORTRAN_FOR_TARGET
811
ac_env_AR_FOR_TARGET_set=${AR_FOR_TARGET+set}
812
ac_env_AR_FOR_TARGET_value=$AR_FOR_TARGET
813
ac_cv_env_AR_FOR_TARGET_set=${AR_FOR_TARGET+set}
814
ac_cv_env_AR_FOR_TARGET_value=$AR_FOR_TARGET
815
ac_env_AS_FOR_TARGET_set=${AS_FOR_TARGET+set}
816
ac_env_AS_FOR_TARGET_value=$AS_FOR_TARGET
817
ac_cv_env_AS_FOR_TARGET_set=${AS_FOR_TARGET+set}
818
ac_cv_env_AS_FOR_TARGET_value=$AS_FOR_TARGET
819
ac_env_DLLTOOL_FOR_TARGET_set=${DLLTOOL_FOR_TARGET+set}
820
ac_env_DLLTOOL_FOR_TARGET_value=$DLLTOOL_FOR_TARGET
821
ac_cv_env_DLLTOOL_FOR_TARGET_set=${DLLTOOL_FOR_TARGET+set}
822
ac_cv_env_DLLTOOL_FOR_TARGET_value=$DLLTOOL_FOR_TARGET
823
ac_env_LD_FOR_TARGET_set=${LD_FOR_TARGET+set}
824
ac_env_LD_FOR_TARGET_value=$LD_FOR_TARGET
825
ac_cv_env_LD_FOR_TARGET_set=${LD_FOR_TARGET+set}
826
ac_cv_env_LD_FOR_TARGET_value=$LD_FOR_TARGET
827
ac_env_LIPO_FOR_TARGET_set=${LIPO_FOR_TARGET+set}
828
ac_env_LIPO_FOR_TARGET_value=$LIPO_FOR_TARGET
829
ac_cv_env_LIPO_FOR_TARGET_set=${LIPO_FOR_TARGET+set}
830
ac_cv_env_LIPO_FOR_TARGET_value=$LIPO_FOR_TARGET
831
ac_env_NM_FOR_TARGET_set=${NM_FOR_TARGET+set}
832
ac_env_NM_FOR_TARGET_value=$NM_FOR_TARGET
833
ac_cv_env_NM_FOR_TARGET_set=${NM_FOR_TARGET+set}
834
ac_cv_env_NM_FOR_TARGET_value=$NM_FOR_TARGET
835
ac_env_OBJDUMP_FOR_TARGET_set=${OBJDUMP_FOR_TARGET+set}
836
ac_env_OBJDUMP_FOR_TARGET_value=$OBJDUMP_FOR_TARGET
837
ac_cv_env_OBJDUMP_FOR_TARGET_set=${OBJDUMP_FOR_TARGET+set}
838
ac_cv_env_OBJDUMP_FOR_TARGET_value=$OBJDUMP_FOR_TARGET
839
ac_env_RANLIB_FOR_TARGET_set=${RANLIB_FOR_TARGET+set}
840
ac_env_RANLIB_FOR_TARGET_value=$RANLIB_FOR_TARGET
841
ac_cv_env_RANLIB_FOR_TARGET_set=${RANLIB_FOR_TARGET+set}
842
ac_cv_env_RANLIB_FOR_TARGET_value=$RANLIB_FOR_TARGET
843
ac_env_STRIP_FOR_TARGET_set=${STRIP_FOR_TARGET+set}
844
ac_env_STRIP_FOR_TARGET_value=$STRIP_FOR_TARGET
845
ac_cv_env_STRIP_FOR_TARGET_set=${STRIP_FOR_TARGET+set}
846
ac_cv_env_STRIP_FOR_TARGET_value=$STRIP_FOR_TARGET
847
ac_env_WINDRES_FOR_TARGET_set=${WINDRES_FOR_TARGET+set}
848
ac_env_WINDRES_FOR_TARGET_value=$WINDRES_FOR_TARGET
849
ac_cv_env_WINDRES_FOR_TARGET_set=${WINDRES_FOR_TARGET+set}
850
ac_cv_env_WINDRES_FOR_TARGET_value=$WINDRES_FOR_TARGET
851
ac_env_WINDMC_FOR_TARGET_set=${WINDMC_FOR_TARGET+set}
852
ac_env_WINDMC_FOR_TARGET_value=$WINDMC_FOR_TARGET
853
ac_cv_env_WINDMC_FOR_TARGET_set=${WINDMC_FOR_TARGET+set}
854
ac_cv_env_WINDMC_FOR_TARGET_value=$WINDMC_FOR_TARGET
1345
for ac_var in $ac_precious_vars; do
1346
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1347
eval ac_env_${ac_var}_value=\$${ac_var}
1348
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1349
eval ac_cv_env_${ac_var}_value=\$${ac_var}
857
1353
# Report the --help message.
1049
1558
Use these variables to override the choices made by `configure' or to help
1050
1559
it to find libraries and programs with nonstandard names/locations.
1561
Report bugs to the package provider.
1055
1566
if test "$ac_init_help" = "recursive"; then
1056
1567
# If there are subdirs, report their specific --help.
1058
1568
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1059
test -d $ac_dir || continue
1569
test -d "$ac_dir" ||
1570
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1062
if test "$ac_dir" != .; then
1063
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1064
# A "../" for each directory in $ac_dir_suffix.
1065
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1067
ac_dir_suffix= ac_top_builddir=
1575
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1577
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1578
# A ".." for each directory in $ac_dir_suffix.
1579
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1580
case $ac_top_builddir_sub in
1581
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1582
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1585
ac_abs_top_builddir=$ac_pwd
1586
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1587
# for backward compatibility:
1588
ac_top_builddir=$ac_top_build_prefix
1070
1590
case $srcdir in
1071
.) # No --srcdir option. We are building in place.
1591
.) # We are building in place.
1073
if test -z "$ac_top_builddir"; then
1076
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1078
[\\/]* | ?:[\\/]* ) # Absolute path.
1593
ac_top_srcdir=$ac_top_builddir_sub
1594
ac_abs_top_srcdir=$ac_pwd ;;
1595
[\\/]* | ?:[\\/]* ) # Absolute name.
1079
1596
ac_srcdir=$srcdir$ac_dir_suffix;
1080
ac_top_srcdir=$srcdir ;;
1082
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1083
ac_top_srcdir=$ac_top_builddir$srcdir ;;
1086
# Do not use `cd foo && pwd` to compute absolute paths, because
1087
# the directories may not exist.
1089
.) ac_abs_builddir="$ac_dir";;
1092
.) ac_abs_builddir=`pwd`;;
1093
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1094
*) ac_abs_builddir=`pwd`/"$ac_dir";;
1097
case $ac_abs_builddir in
1098
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1100
case ${ac_top_builddir}. in
1101
.) ac_abs_top_builddir=$ac_abs_builddir;;
1102
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1103
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1106
case $ac_abs_builddir in
1107
.) ac_abs_srcdir=$ac_srcdir;;
1110
.) ac_abs_srcdir=$ac_abs_builddir;;
1111
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1112
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1115
case $ac_abs_builddir in
1116
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1118
case $ac_top_srcdir in
1119
.) ac_abs_top_srcdir=$ac_abs_builddir;;
1120
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1121
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1126
# Check for guested configure; otherwise get Cygnus style configure.
1127
if test -f $ac_srcdir/configure.gnu; then
1129
$SHELL $ac_srcdir/configure.gnu --help=recursive
1130
elif test -f $ac_srcdir/configure; then
1132
$SHELL $ac_srcdir/configure --help=recursive
1133
elif test -f $ac_srcdir/configure.ac ||
1134
test -f $ac_srcdir/configure.in; then
1136
$ac_configure --help
1597
ac_top_srcdir=$srcdir
1598
ac_abs_top_srcdir=$srcdir ;;
1600
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1601
ac_top_srcdir=$ac_top_build_prefix$srcdir
1602
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1604
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1606
cd "$ac_dir" || { ac_status=$?; continue; }
1607
# Check for guested configure.
1608
if test -f "$ac_srcdir/configure.gnu"; then
1610
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1611
elif test -f "$ac_srcdir/configure"; then
1613
$SHELL "$ac_srcdir/configure" --help=recursive
1138
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1615
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1617
cd "$ac_pwd" || { ac_status=$?; break; }
1144
test -n "$ac_init_help" && exit 0
1621
test -n "$ac_init_help" && exit $ac_status
1145
1622
if $ac_init_version; then
1625
generated by GNU Autoconf 2.64
1148
Copyright (C) 2003 Free Software Foundation, Inc.
1627
Copyright (C) 2009 Free Software Foundation, Inc.
1149
1628
This configure script is free software; the Free Software Foundation
1150
1629
gives unlimited permission to copy, distribute and modify it.
1634
## ------------------------ ##
1635
## Autoconf initialization. ##
1636
## ------------------------ ##
1638
# ac_fn_c_try_compile LINENO
1639
# --------------------------
1640
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1641
ac_fn_c_try_compile ()
1643
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1644
rm -f conftest.$ac_objext
1645
if { { ac_try="$ac_compile"
1647
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1648
*) ac_try_echo=$ac_try;;
1650
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1651
$as_echo "$ac_try_echo"; } >&5
1652
(eval "$ac_compile") 2>conftest.err
1654
if test -s conftest.err; then
1655
grep -v '^ *+' conftest.err >conftest.er1
1656
cat conftest.er1 >&5
1657
mv -f conftest.er1 conftest.err
1659
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1660
test $ac_status = 0; } && {
1661
test -z "$ac_c_werror_flag" ||
1662
test ! -s conftest.err
1663
} && test -s conftest.$ac_objext; then :
1666
$as_echo "$as_me: failed program was:" >&5
1667
sed 's/^/| /' conftest.$ac_ext >&5
1671
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1674
} # ac_fn_c_try_compile
1676
# ac_fn_cxx_try_compile LINENO
1677
# ----------------------------
1678
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1679
ac_fn_cxx_try_compile ()
1681
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1682
rm -f conftest.$ac_objext
1683
if { { ac_try="$ac_compile"
1685
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1686
*) ac_try_echo=$ac_try;;
1688
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1689
$as_echo "$ac_try_echo"; } >&5
1690
(eval "$ac_compile") 2>conftest.err
1692
if test -s conftest.err; then
1693
grep -v '^ *+' conftest.err >conftest.er1
1694
cat conftest.er1 >&5
1695
mv -f conftest.er1 conftest.err
1697
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1698
test $ac_status = 0; } && {
1699
test -z "$ac_cxx_werror_flag" ||
1700
test ! -s conftest.err
1701
} && test -s conftest.$ac_objext; then :
1704
$as_echo "$as_me: failed program was:" >&5
1705
sed 's/^/| /' conftest.$ac_ext >&5
1709
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1712
} # ac_fn_cxx_try_compile
1714
# ac_fn_c_try_link LINENO
1715
# -----------------------
1716
# Try to link conftest.$ac_ext, and return whether this succeeded.
1719
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720
rm -f conftest.$ac_objext conftest$ac_exeext
1721
if { { ac_try="$ac_link"
1723
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1724
*) ac_try_echo=$ac_try;;
1726
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727
$as_echo "$ac_try_echo"; } >&5
1728
(eval "$ac_link") 2>conftest.err
1730
if test -s conftest.err; then
1731
grep -v '^ *+' conftest.err >conftest.er1
1732
cat conftest.er1 >&5
1733
mv -f conftest.er1 conftest.err
1735
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736
test $ac_status = 0; } && {
1737
test -z "$ac_c_werror_flag" ||
1738
test ! -s conftest.err
1739
} && test -s conftest$ac_exeext && {
1740
test "$cross_compiling" = yes ||
1741
$as_test_x conftest$ac_exeext
1745
$as_echo "$as_me: failed program was:" >&5
1746
sed 's/^/| /' conftest.$ac_ext >&5
1750
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1751
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1752
# interfere with the next link command; also delete a directory that is
1753
# left behind by Apple's compiler. We do this before executing the actions.
1754
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1755
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1758
} # ac_fn_c_try_link
1759
cat >config.log <<_ACEOF
1156
1760
This file contains any messages produced by compilers while
1157
1761
running configure, to aid debugging if configure makes a mistake.
1159
1763
It was created by $as_me, which was
1160
generated by GNU Autoconf 2.59. Invocation command line was
1764
generated by GNU Autoconf 2.64. Invocation command line was
1167
1772
## --------- ##
3316
4055
ac_clean_files_save=$ac_clean_files
3317
ac_clean_files="$ac_clean_files a.out a.exe b.out"
4056
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3318
4057
# Try to create an executable without -o first, disregard a.out.
3319
4058
# It will help us diagnose broken compilers, and finding out an intuition
3321
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3322
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3323
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3324
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3325
(eval $ac_link_default) 2>&5
4060
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4061
$as_echo_n "checking for C compiler default output file name... " >&6; }
4062
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4064
# The possible output files:
4065
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4068
for ac_file in $ac_files
4071
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4072
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
4077
if { { ac_try="$ac_link_default"
4079
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4080
*) ac_try_echo=$ac_try;;
4082
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4083
$as_echo "$ac_try_echo"; } >&5
4084
(eval "$ac_link_default") 2>&5
3327
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328
(exit $ac_status); }; then
3329
# Find the output, starting from the most likely. This scheme is
3330
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
3333
# Be careful to initialize this variable, since it used to be cached.
3334
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3336
# b.out is created by i960 compilers.
3337
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
4086
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4087
test $ac_status = 0; }; then :
4088
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4089
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4090
# in a Makefile. We should not override ac_cv_exeext if it was cached,
4091
# so that the user can short-circuit this test for compilers unknown to
4093
for ac_file in $ac_files ''
3339
4095
test -f "$ac_file" || continue
3340
4096
case $ac_file in
3341
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
3344
# This is the source file.
4097
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3347
4100
# We found the default executable, but exeext='' is most
3348
4101
# certainly right.
3351
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3352
# FIXME: I believe we export ac_cv_exeext for Libtool,
3353
# but it would be cool to find out if it's true. Does anybody
3354
# maintain Libtool? --akim.
4104
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4106
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4108
# We set ac_cv_exeext here because the later test for it is not
4109
# safe: cross compilers may not add the suffix if given an `-o'
4110
# argument, so we may need to know it at that point already.
4111
# Even if this section looks crufty: it has the advantage of
4118
test "$ac_cv_exeext" = no && ac_cv_exeext=
3362
echo "$as_me: failed program was:" >&5
4123
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4124
$as_echo "$ac_file" >&6; }
4125
if test -z "$ac_file"; then :
4126
$as_echo "$as_me: failed program was:" >&5
3363
4127
sed 's/^/| /' conftest.$ac_ext >&5
3365
{ { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3366
echo "$as_me: error: in \`$ac_pwd':" >&2;}
3367
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3368
See \`config.log' for more details." >&5
3369
echo "$as_me: error: C compiler cannot create executables
3370
See \`config.log' for more details." >&2;}
3371
{ (exit 77); exit 77; }; }; }
4129
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4130
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4131
{ as_fn_set_status 77
4132
as_fn_error "C compiler cannot create executables
4133
See \`config.log' for more details." "$LINENO" 5; }; }
3374
4135
ac_exeext=$ac_cv_exeext
3375
echo "$as_me:$LINENO: result: $ac_file" >&5
3376
echo "${ECHO_T}$ac_file" >&6
3378
# Check the compiler produces executables we can run. If not, either
4137
# Check that the compiler produces executables we can run. If not, either
3379
4138
# the compiler is broken, or we cross compile.
3380
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3381
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3382
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
4139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4140
$as_echo_n "checking whether the C compiler works... " >&6; }
3383
4141
# If not cross compiling, check that we can run a simple program.
3384
4142
if test "$cross_compiling" != yes; then
3385
4143
if { ac_try='./$ac_file'
3386
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4144
{ { case "(($ac_try" in
4145
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4146
*) ac_try_echo=$ac_try;;
4148
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4149
$as_echo "$ac_try_echo"; } >&5
4150
(eval "$ac_try") 2>&5
3389
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390
(exit $ac_status); }; }; then
4152
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4153
test $ac_status = 0; }; }; then
3391
4154
cross_compiling=no
3393
4156
if test "$cross_compiling" = maybe; then
3394
4157
cross_compiling=yes
3396
{ { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3397
echo "$as_me: error: in \`$ac_pwd':" >&2;}
3398
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3399
If you meant to cross compile, use \`--host'.
3400
See \`config.log' for more details." >&5
3401
echo "$as_me: error: cannot run C compiled programs.
3402
If you meant to cross compile, use \`--host'.
3403
See \`config.log' for more details." >&2;}
3404
{ (exit 1); exit 1; }; }; }
4159
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4160
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4161
as_fn_error "cannot run C compiled programs.
4162
If you meant to cross compile, use \`--host'.
4163
See \`config.log' for more details." "$LINENO" 5; }
3408
echo "$as_me:$LINENO: result: yes" >&5
3409
echo "${ECHO_T}yes" >&6
4167
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4168
$as_echo "yes" >&6; }
3411
rm -f a.out a.exe conftest$ac_cv_exeext b.out
4170
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3412
4171
ac_clean_files=$ac_clean_files_save
3413
# Check the compiler produces executables we can run. If not, either
4172
# Check that the compiler produces executables we can run. If not, either
3414
4173
# the compiler is broken, or we cross compile.
3415
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3416
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3417
echo "$as_me:$LINENO: result: $cross_compiling" >&5
3418
echo "${ECHO_T}$cross_compiling" >&6
4174
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4175
$as_echo_n "checking whether we are cross compiling... " >&6; }
4176
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4177
$as_echo "$cross_compiling" >&6; }
3420
echo "$as_me:$LINENO: checking for suffix of executables" >&5
3421
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3422
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3423
(eval $ac_link) 2>&5
4179
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4180
$as_echo_n "checking for suffix of executables... " >&6; }
4181
if { { ac_try="$ac_link"
4183
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4184
*) ac_try_echo=$ac_try;;
4186
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4187
$as_echo "$ac_try_echo"; } >&5
4188
(eval "$ac_link") 2>&5
3425
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3426
(exit $ac_status); }; then
4190
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4191
test $ac_status = 0; }; then :
3427
4192
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3428
4193
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3429
4194
# work properly (i.e., refer to `conftest.exe'), while it won't with
3699
# Don't try gcc -ansi; that turns off useful extensions and
3700
# breaks some systems' header files.
3701
# AIX -qlanglvl=ansi
3702
# Ultrix and OSF/1 -std1
3703
# HP-UX 10.20 and later -Ae
3704
# HP-UX older versions -Aa -D_HPUX_SOURCE
3705
# SVR4 -Xc -D__EXTENSIONS__
3706
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4444
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4445
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3708
4447
CC="$ac_save_CC $ac_arg"
3709
rm -f conftest.$ac_objext
3710
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3711
(eval $ac_compile) 2>conftest.er1
3713
grep -v '^ *+' conftest.er1 >conftest.err
3715
cat conftest.err >&5
3716
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3717
(exit $ac_status); } &&
3718
{ ac_try='test -z "$ac_c_werror_flag"
3719
|| test ! -s conftest.err'
3720
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3723
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3724
(exit $ac_status); }; } &&
3725
{ ac_try='test -s conftest.$ac_objext'
3726
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3729
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3730
(exit $ac_status); }; }; then
3731
ac_cv_prog_cc_stdc=$ac_arg
3734
echo "$as_me: failed program was:" >&5
3735
sed 's/^/| /' conftest.$ac_ext >&5
4448
if ac_fn_c_try_compile "$LINENO"; then :
4449
ac_cv_prog_cc_c89=$ac_arg
3738
rm -f conftest.err conftest.$ac_objext
4451
rm -f core conftest.err conftest.$ac_objext
4452
test "x$ac_cv_prog_cc_c89" != "xno" && break
3740
rm -f conftest.$ac_ext conftest.$ac_objext
4454
rm -f conftest.$ac_ext
3745
case "x$ac_cv_prog_cc_stdc" in
3747
echo "$as_me:$LINENO: result: none needed" >&5
3748
echo "${ECHO_T}none needed" >&6 ;;
4459
case "x$ac_cv_prog_cc_c89" in
4461
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4462
$as_echo "none needed" >&6; } ;;
4464
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4465
$as_echo "unsupported" >&6; } ;;
3750
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3751
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3752
CC="$CC $ac_cv_prog_cc_stdc" ;;
4467
CC="$CC $ac_cv_prog_cc_c89"
4468
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4469
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3755
# Some people use a C++ compiler to compile C. Since we use `exit',
3756
# in C++ we need to declare it. In case someone uses the same compiler
3757
# for both compiling C and C++ we need to have the C++ compiler decide
3758
# the declaration of exit, since it's the most demanding environment.
3759
cat >conftest.$ac_ext <<_ACEOF
3764
rm -f conftest.$ac_objext
3765
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3766
(eval $ac_compile) 2>conftest.er1
3768
grep -v '^ *+' conftest.er1 >conftest.err
3770
cat conftest.err >&5
3771
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772
(exit $ac_status); } &&
3773
{ ac_try='test -z "$ac_c_werror_flag"
3774
|| test ! -s conftest.err'
3775
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3778
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3779
(exit $ac_status); }; } &&
3780
{ ac_try='test -s conftest.$ac_objext'
3781
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3784
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785
(exit $ac_status); }; }; then
3786
for ac_declaration in \
3788
'extern "C" void std::exit (int) throw (); using std::exit;' \
3789
'extern "C" void std::exit (int); using std::exit;' \
3790
'extern "C" void exit (int) throw ();' \
3791
'extern "C" void exit (int);' \
3794
cat >conftest.$ac_ext <<_ACEOF
3797
cat confdefs.h >>conftest.$ac_ext
3798
cat >>conftest.$ac_ext <<_ACEOF
3799
/* end confdefs.h. */
3810
rm -f conftest.$ac_objext
3811
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3812
(eval $ac_compile) 2>conftest.er1
3814
grep -v '^ *+' conftest.er1 >conftest.err
3816
cat conftest.err >&5
3817
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818
(exit $ac_status); } &&
3819
{ ac_try='test -z "$ac_c_werror_flag"
3820
|| test ! -s conftest.err'
3821
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3824
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825
(exit $ac_status); }; } &&
3826
{ ac_try='test -s conftest.$ac_objext'
3827
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3830
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831
(exit $ac_status); }; }; then
3834
echo "$as_me: failed program was:" >&5
3835
sed 's/^/| /' conftest.$ac_ext >&5
3839
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3840
cat >conftest.$ac_ext <<_ACEOF
3843
cat confdefs.h >>conftest.$ac_ext
3844
cat >>conftest.$ac_ext <<_ACEOF
3845
/* end confdefs.h. */
3855
rm -f conftest.$ac_objext
3856
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3857
(eval $ac_compile) 2>conftest.er1
3859
grep -v '^ *+' conftest.er1 >conftest.err
3861
cat conftest.err >&5
3862
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863
(exit $ac_status); } &&
3864
{ ac_try='test -z "$ac_c_werror_flag"
3865
|| test ! -s conftest.err'
3866
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3869
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3870
(exit $ac_status); }; } &&
3871
{ ac_try='test -s conftest.$ac_objext'
3872
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3875
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876
(exit $ac_status); }; }; then
3879
echo "$as_me: failed program was:" >&5
3880
sed 's/^/| /' conftest.$ac_ext >&5
3883
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3886
if test -n "$ac_declaration"; then
3887
echo '#ifdef __cplusplus' >>confdefs.h
3888
echo $ac_declaration >>confdefs.h
3889
echo '#endif' >>confdefs.h
3893
echo "$as_me: failed program was:" >&5
3894
sed 's/^/| /' conftest.$ac_ext >&5
3897
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4471
if test "x$ac_cv_prog_cc_c89" != xno; then :
3899
4476
ac_cpp='$CPP $CPPFLAGS'
3900
4477
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3901
4478
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3902
4479
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3905
4482
ac_cpp='$CXXCPP $CPPFLAGS'
3906
4483
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3907
4484
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3908
4485
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3909
if test -n "$ac_tool_prefix"; then
3910
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4486
if test -z "$CXX"; then
4487
if test -n "$CCC"; then
4490
if test -n "$ac_tool_prefix"; then
4491
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3912
4493
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3913
4494
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3914
echo "$as_me:$LINENO: checking for $ac_word" >&5
3915
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3916
if test "${ac_cv_prog_CXX+set}" = set; then
3917
echo $ECHO_N "(cached) $ECHO_C" >&6
4495
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4496
$as_echo_n "checking for $ac_word... " >&6; }
4497
if test "${ac_cv_prog_CXX+set}" = set; then :
4498
$as_echo_n "(cached) " >&6
3919
4500
if test -n "$CXX"; then
3920
4501
ac_cv_prog_CXX="$CXX" # Let the user override the test.
4707
rm -f conftest.$ac_objext conftest$ac_exeext
4708
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4709
(eval $ac_link) 2>conftest.er1
4711
grep -v '^ *+' conftest.er1 >conftest.err
4713
cat conftest.err >&5
4714
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715
(exit $ac_status); } &&
4716
{ ac_try='test -z "$ac_c_werror_flag"
4717
|| test ! -s conftest.err'
4718
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4721
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4722
(exit $ac_status); }; } &&
4723
{ ac_try='test -s conftest$ac_exeext'
4724
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4727
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728
(exit $ac_status); }; }; then
4729
cat >conftest.$ac_ext <<_ACEOF
4732
cat confdefs.h >>conftest.$ac_ext
4733
cat >>conftest.$ac_ext <<_ACEOF
5308
if ac_fn_c_try_link "$LINENO"; then :
5309
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5310
$as_echo "yes" >&6; }
5312
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5313
$as_echo "no" >&6; }; have_gmp=no
5315
rm -f core conftest.err conftest.$ac_objext \
5316
conftest$ac_exeext conftest.$ac_ext
5320
if test x"$have_mpc" = xmaybe; then
5322
LIBS="$LIBS $mpclibs $gmplibs"
5323
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the mpc library" >&5
5324
$as_echo_n "checking for the correct version of the mpc library... " >&6; }
5325
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4734
5326
/* end confdefs.h. */
4741
#if MPFR_VERSION < MPFR_VERSION_NUM(2,3,2)
4744
mpfr_t n; mpfr_init(n);
5334
mpc_set_ui_ui (n, 1, 1, MPC_RNDNN);
5335
mpc_sin (n, n, MPC_RNDNN);
5336
mpc_cos (n, n, MPC_RNDNN);
5337
mpc_tan (n, n, MPC_RNDNN);
5338
mpc_sinh (n, n, MPC_RNDNN);
5339
mpc_cosh (n, n, MPC_RNDNN);
5340
mpc_tanh (n, n, MPC_RNDNN);
5341
mpc_exp (n, n, MPC_RNDNN);
5342
mpc_log (n, n, MPC_RNDNN);
5343
mpc_sqrt (n, n, MPC_RNDNN);
5344
mpc_proj (n, n, MPC_RNDNN);
5345
mpc_neg (n, n, MPC_RNDNN);
5346
mpc_sqr (n, n, MPC_RNDNN);
4750
rm -f conftest.$ac_objext conftest$ac_exeext
4751
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4752
(eval $ac_link) 2>conftest.er1
4754
grep -v '^ *+' conftest.er1 >conftest.err
4756
cat conftest.err >&5
4757
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758
(exit $ac_status); } &&
4759
{ ac_try='test -z "$ac_c_werror_flag"
4760
|| test ! -s conftest.err'
4761
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4764
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765
(exit $ac_status); }; } &&
4766
{ ac_try='test -s conftest$ac_exeext'
4767
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4770
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771
(exit $ac_status); }; }; then
4772
echo "$as_me:$LINENO: result: yes" >&5
4773
echo "${ECHO_T}yes" >&6
4775
echo "$as_me: failed program was:" >&5
4776
sed 's/^/| /' conftest.$ac_ext >&5
4778
echo "$as_me:$LINENO: result: buggy but acceptable" >&5
4779
echo "${ECHO_T}buggy but acceptable" >&6
4781
rm -f conftest.err conftest.$ac_objext \
4782
conftest$ac_exeext conftest.$ac_ext
4784
echo "$as_me: failed program was:" >&5
4785
sed 's/^/| /' conftest.$ac_ext >&5
4787
echo "$as_me:$LINENO: result: no" >&5
4788
echo "${ECHO_T}no" >&6; have_gmp=no
4790
rm -f conftest.err conftest.$ac_objext \
4791
conftest$ac_exeext conftest.$ac_ext
5353
if ac_fn_c_try_link "$LINENO"; then :
5354
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5355
$as_echo "yes" >&6; }; have_mpc=yes
5357
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5358
$as_echo "no" >&6; }; have_mpc=no; mpclibs= ; mpcinc=
5360
rm -f core conftest.err conftest.$ac_objext \
5361
conftest$ac_exeext conftest.$ac_ext
4794
5365
CFLAGS="$saved_CFLAGS"
4796
5367
if test x$have_gmp != xyes; then
4797
{ { echo "$as_me:$LINENO: error: Building GCC requires GMP 4.2+ and MPFR 2.3.2+.
4798
Try the --with-gmp and/or --with-mpfr options to specify their locations.
4799
Copies of these libraries' source code can be found at their respective
4800
hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4801
See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4802
If you obtained GMP and/or MPFR from a vendor distribution package, make
4803
sure that you have installed both the libraries and the header files.
4804
They may be located in separate packages." >&5
4805
echo "$as_me: error: Building GCC requires GMP 4.2+ and MPFR 2.3.2+.
4806
Try the --with-gmp and/or --with-mpfr options to specify their locations.
4807
Copies of these libraries' source code can be found at their respective
4808
hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4809
See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4810
If you obtained GMP and/or MPFR from a vendor distribution package, make
4811
sure that you have installed both the libraries and the header files.
4812
They may be located in separate packages." >&2;}
4813
{ (exit 1); exit 1; }; }
5368
as_fn_error "Building GCC requires GMP 4.2+ and MPFR 2.3.2+.
5369
Try the --with-gmp and/or --with-mpfr options to specify their locations.
5370
Copies of these libraries' source code can be found at their respective
5371
hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
5372
See also http://gcc.gnu.org/install/prerequisites.html for additional info.
5373
If you obtained GMP and/or MPFR from a vendor distribution package, make
5374
sure that you have installed both the libraries and the header files.
5375
They may be located in separate packages." "$LINENO" 5
4817
# Flags needed for both GMP and/or MPFR
5379
if test x$have_mpc != xyes ; then
5384
gmpinc="$mpcinc $gmpinc"
5385
gmplibs="$mpclibs $gmplibs"
5387
# Flags needed for both GMP, MPFR and/or MPC.
4821
5394
# Allow host libstdc++ to be specified for static linking with PPL.
4823
# Check whether --with-host-libstdcxx or --without-host-libstdcxx was given.
4824
if test "${with_host_libstdcxx+set}" = set; then
4825
withval="$with_host_libstdcxx"
5396
# Check whether --with-host-libstdcxx was given.
5397
if test "${with_host_libstdcxx+set}" = set; then :
5398
withval=$with_host_libstdcxx;
4829
5402
case $with_host_libstdcxx in
4831
{ { echo "$as_me:$LINENO: error: -with-host-libstdcxx needs an argument" >&5
4832
echo "$as_me: error: -with-host-libstdcxx needs an argument" >&2;}
4833
{ (exit 1); exit 1; }; }
5404
as_fn_error "-with-host-libstdcxx needs an argument" "$LINENO" 5
5408
# Linker flags to use for stage1 or when not boostrapping.
5410
# Check whether --with-stage1-ldflags was given.
5411
if test "${with_stage1_ldflags+set}" = set; then :
5412
withval=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5415
stage1_ldflags=$withval
5423
# Libraries to use for stage1 or when not bootstrapping.
5425
# Check whether --with-stage1-libs was given.
5426
if test "${with_stage1_libs+set}" = set; then :
5427
withval=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5430
stage1_libs=$withval
5433
stage1_libs=$with_host_libstdcxx
5438
# Linker flags to use for stage2 and later builds.
5440
# Check whether --with-boot-ldflags was given.
5441
if test "${with_boot_ldflags+set}" = set; then :
5442
withval=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5445
poststage1_ldflags=$withval
5448
if test "$ENABLE_BUILD_WITH_CXX" = "yes"; then
5449
poststage1_ldflags=-static-libstdc++
5457
# Libraries to use for stage2 and later builds. This defaults to the
5458
# argument passed to --with-host-libstdcxx.
5460
# Check whether --with-boot-libs was given.
5461
if test "${with_boot_libs+set}" = set; then :
5462
withval=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5465
poststage1_libs=$withval
5468
poststage1_libs=$with_host_libstdcxx
4837
5473
# Check for PPL
4838
5474
ppl_major_version=0
4839
5475
ppl_minor_version=10
4840
ppllibs=" -lppl_c -lppl -lgmpxx $with_host_libstdcxx "
5476
ppllibs=" -lppl_c -lppl -lgmpxx"
4844
# Check whether --with-ppl or --without-ppl was given.
4845
if test "${with_ppl+set}" = set; then
4850
# Check whether --with-ppl_include or --without-ppl_include was given.
4851
if test "${with_ppl_include+set}" = set; then
4852
withval="$with_ppl_include"
4856
# Check whether --with-ppl_lib or --without-ppl_lib was given.
4857
if test "${with_ppl_lib+set}" = set; then
4858
withval="$with_ppl_lib"
5480
# Check whether --with-ppl was given.
5481
if test "${with_ppl+set}" = set; then :
5488
# Check whether --with-ppl_include was given.
5489
if test "${with_ppl_include+set}" = set; then :
5490
withval=$with_ppl_include;
5494
# Check whether --with-ppl_lib was given.
5495
if test "${with_ppl_lib+set}" = set; then :
5496
withval=$with_ppl_lib;
4862
5500
case $with_ppl in
4867
ppllibs="-L$with_ppl/lib -lppl_c -lppl -lgmpxx $with_host_libstdcxx"
5505
ppllibs="-L$with_ppl/lib -lppl_c -lppl -lgmpxx"
4868
5506
pplinc="-I$with_ppl/include $pplinc"
4869
5507
LIBS="$ppllibs $LIBS"
13151
14018
# Have a temporary directory for convenience. Make it in the build tree
13152
# simply because there is no reason to put it here, and in addition,
14019
# simply because there is no reason against having it here, and in addition,
13153
14020
# creating and moving files from /tmp can sometimes cause problems.
13154
# Create a temporary directory, and hook for its removal unless debugging.
14021
# Hook for its removal unless debugging.
14022
# Note that there is a small window in which the directory will not be cleaned:
14023
# after its creation but before its name has been assigned to `$tmp'.
13157
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13158
trap '{ (exit 1); exit 1; }' 1 2 13 15
14027
trap 'exit_status=$?
14028
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14030
trap 'as_fn_exit 1' 1 2 13 15
13161
14032
# Create a (secure) tmp directory for tmp files.
13164
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
14035
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13165
14036
test -n "$tmp" && test -d "$tmp"
13168
tmp=./confstat$$-$RANDOM
13169
(umask 077 && mkdir $tmp)
13172
echo "$me: cannot create a temporary directory in ." >&2
13173
{ (exit 1); exit 1; }
13178
cat >>$CONFIG_STATUS <<_ACEOF
13181
# CONFIG_FILES section.
13184
# No need to generate the scripts if there are no CONFIG_FILES.
13185
# This happens for instance when ./config.status config.h
13186
if test -n "\$CONFIG_FILES"; then
13187
# Protect against being on the right side of a sed subst in config.status.
13188
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13189
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13190
s,@SHELL@,$SHELL,;t t
13191
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13192
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13193
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13194
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13195
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13196
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13197
s,@exec_prefix@,$exec_prefix,;t t
13198
s,@prefix@,$prefix,;t t
13199
s,@program_transform_name@,$program_transform_name,;t t
13200
s,@bindir@,$bindir,;t t
13201
s,@sbindir@,$sbindir,;t t
13202
s,@libexecdir@,$libexecdir,;t t
13203
s,@datadir@,$datadir,;t t
13204
s,@sysconfdir@,$sysconfdir,;t t
13205
s,@sharedstatedir@,$sharedstatedir,;t t
13206
s,@localstatedir@,$localstatedir,;t t
13207
s,@libdir@,$libdir,;t t
13208
s,@includedir@,$includedir,;t t
13209
s,@oldincludedir@,$oldincludedir,;t t
13210
s,@infodir@,$infodir,;t t
13211
s,@mandir@,$mandir,;t t
13212
s,@build_alias@,$build_alias,;t t
13213
s,@host_alias@,$host_alias,;t t
13214
s,@target_alias@,$target_alias,;t t
13215
s,@DEFS@,$DEFS,;t t
13216
s,@ECHO_C@,$ECHO_C,;t t
13217
s,@ECHO_N@,$ECHO_N,;t t
13218
s,@ECHO_T@,$ECHO_T,;t t
13219
s,@LIBS@,$LIBS,;t t
13220
s,@TOPLEVEL_CONFIGURE_ARGUMENTS@,$TOPLEVEL_CONFIGURE_ARGUMENTS,;t t
13221
s,@build@,$build,;t t
13222
s,@build_cpu@,$build_cpu,;t t
13223
s,@build_vendor@,$build_vendor,;t t
13224
s,@build_os@,$build_os,;t t
13225
s,@build_noncanonical@,$build_noncanonical,;t t
13226
s,@host_noncanonical@,$host_noncanonical,;t t
13227
s,@target_noncanonical@,$target_noncanonical,;t t
13228
s,@host@,$host,;t t
13229
s,@host_cpu@,$host_cpu,;t t
13230
s,@host_vendor@,$host_vendor,;t t
13231
s,@host_os@,$host_os,;t t
13232
s,@target@,$target,;t t
13233
s,@target_cpu@,$target_cpu,;t t
13234
s,@target_vendor@,$target_vendor,;t t
13235
s,@target_os@,$target_os,;t t
13236
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13237
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13238
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13240
s,@LN_S@,$LN_S,;t t
13241
s,@build_libsubdir@,$build_libsubdir,;t t
13242
s,@build_subdir@,$build_subdir,;t t
13243
s,@host_subdir@,$host_subdir,;t t
13244
s,@target_subdir@,$target_subdir,;t t
13246
s,@CFLAGS@,$CFLAGS,;t t
13247
s,@LDFLAGS@,$LDFLAGS,;t t
13248
s,@CPPFLAGS@,$CPPFLAGS,;t t
13249
s,@ac_ct_CC@,$ac_ct_CC,;t t
13250
s,@EXEEXT@,$EXEEXT,;t t
13251
s,@OBJEXT@,$OBJEXT,;t t
13253
s,@CXXFLAGS@,$CXXFLAGS,;t t
13254
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
13255
s,@GNATBIND@,$GNATBIND,;t t
13256
s,@ac_ct_GNATBIND@,$ac_ct_GNATBIND,;t t
13257
s,@GNATMAKE@,$GNATMAKE,;t t
13258
s,@ac_ct_GNATMAKE@,$ac_ct_GNATMAKE,;t t
13259
s,@do_compare@,$do_compare,;t t
13260
s,@gmplibs@,$gmplibs,;t t
13261
s,@gmpinc@,$gmpinc,;t t
13262
s,@ppllibs@,$ppllibs,;t t
13263
s,@pplinc@,$pplinc,;t t
13264
s,@clooglibs@,$clooglibs,;t t
13265
s,@clooginc@,$clooginc,;t t
13266
s,@stage1_languages@,$stage1_languages,;t t
13267
s,@SYSROOT_CFLAGS_FOR_TARGET@,$SYSROOT_CFLAGS_FOR_TARGET,;t t
13268
s,@DEBUG_PREFIX_CFLAGS_FOR_TARGET@,$DEBUG_PREFIX_CFLAGS_FOR_TARGET,;t t
13269
s,@CFLAGS_FOR_TARGET@,$CFLAGS_FOR_TARGET,;t t
13270
s,@CXXFLAGS_FOR_TARGET@,$CXXFLAGS_FOR_TARGET,;t t
13271
s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t
13272
s,@GCC_SHLIB_SUBDIR@,$GCC_SHLIB_SUBDIR,;t t
13273
s,@tooldir@,$tooldir,;t t
13274
s,@build_tooldir@,$build_tooldir,;t t
13275
s,@CONFIGURE_GDB_TK@,$CONFIGURE_GDB_TK,;t t
13276
s,@GDB_TK@,$GDB_TK,;t t
13277
s,@INSTALL_GDB_TK@,$INSTALL_GDB_TK,;t t
13278
s,@build_configargs@,$build_configargs,;t t
13279
s,@build_configdirs@,$build_configdirs,;t t
13280
s,@host_configargs@,$host_configargs,;t t
13281
s,@configdirs@,$configdirs,;t t
13282
s,@target_configargs@,$target_configargs,;t t
13283
s,@AR_FOR_BUILD@,$AR_FOR_BUILD,;t t
13284
s,@AS_FOR_BUILD@,$AS_FOR_BUILD,;t t
13285
s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
13286
s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
13287
s,@CXXFLAGS_FOR_BUILD@,$CXXFLAGS_FOR_BUILD,;t t
13288
s,@CXX_FOR_BUILD@,$CXX_FOR_BUILD,;t t
13289
s,@DLLTOOL_FOR_BUILD@,$DLLTOOL_FOR_BUILD,;t t
13290
s,@GCJ_FOR_BUILD@,$GCJ_FOR_BUILD,;t t
13291
s,@GFORTRAN_FOR_BUILD@,$GFORTRAN_FOR_BUILD,;t t
13292
s,@LDFLAGS_FOR_BUILD@,$LDFLAGS_FOR_BUILD,;t t
13293
s,@LD_FOR_BUILD@,$LD_FOR_BUILD,;t t
13294
s,@NM_FOR_BUILD@,$NM_FOR_BUILD,;t t
13295
s,@RANLIB_FOR_BUILD@,$RANLIB_FOR_BUILD,;t t
13296
s,@WINDMC_FOR_BUILD@,$WINDMC_FOR_BUILD,;t t
13297
s,@WINDRES_FOR_BUILD@,$WINDRES_FOR_BUILD,;t t
13298
s,@config_shell@,$config_shell,;t t
13299
s,@YACC@,$YACC,;t t
13300
s,@BISON@,$BISON,;t t
13303
s,@FLEX@,$FLEX,;t t
13304
s,@MAKEINFO@,$MAKEINFO,;t t
13305
s,@EXPECT@,$EXPECT,;t t
13306
s,@RUNTEST@,$RUNTEST,;t t
13309
s,@DLLTOOL@,$DLLTOOL,;t t
13311
s,@LIPO@,$LIPO,;t t
13313
s,@RANLIB@,$RANLIB,;t t
13314
s,@STRIP@,$STRIP,;t t
13315
s,@WINDRES@,$WINDRES,;t t
13316
s,@WINDMC@,$WINDMC,;t t
13317
s,@OBJCOPY@,$OBJCOPY,;t t
13318
s,@OBJDUMP@,$OBJDUMP,;t t
13319
s,@CC_FOR_TARGET@,$CC_FOR_TARGET,;t t
13320
s,@CXX_FOR_TARGET@,$CXX_FOR_TARGET,;t t
13321
s,@GCC_FOR_TARGET@,$GCC_FOR_TARGET,;t t
13322
s,@GCJ_FOR_TARGET@,$GCJ_FOR_TARGET,;t t
13323
s,@GFORTRAN_FOR_TARGET@,$GFORTRAN_FOR_TARGET,;t t
13324
s,@AR_FOR_TARGET@,$AR_FOR_TARGET,;t t
13325
s,@AS_FOR_TARGET@,$AS_FOR_TARGET,;t t
13326
s,@DLLTOOL_FOR_TARGET@,$DLLTOOL_FOR_TARGET,;t t
13327
s,@LD_FOR_TARGET@,$LD_FOR_TARGET,;t t
13328
s,@LIPO_FOR_TARGET@,$LIPO_FOR_TARGET,;t t
13329
s,@NM_FOR_TARGET@,$NM_FOR_TARGET,;t t
13330
s,@OBJDUMP_FOR_TARGET@,$OBJDUMP_FOR_TARGET,;t t
13331
s,@RANLIB_FOR_TARGET@,$RANLIB_FOR_TARGET,;t t
13332
s,@STRIP_FOR_TARGET@,$STRIP_FOR_TARGET,;t t
13333
s,@WINDRES_FOR_TARGET@,$WINDRES_FOR_TARGET,;t t
13334
s,@WINDMC_FOR_TARGET@,$WINDMC_FOR_TARGET,;t t
13335
s,@RAW_CXX_FOR_TARGET@,$RAW_CXX_FOR_TARGET,;t t
13336
s,@FLAGS_FOR_TARGET@,$FLAGS_FOR_TARGET,;t t
13337
s,@COMPILER_AS_FOR_TARGET@,$COMPILER_AS_FOR_TARGET,;t t
13338
s,@COMPILER_LD_FOR_TARGET@,$COMPILER_LD_FOR_TARGET,;t t
13339
s,@COMPILER_NM_FOR_TARGET@,$COMPILER_NM_FOR_TARGET,;t t
13340
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13341
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13342
s,@MAINT@,$MAINT,;t t
13343
s,@stage1_cflags@,$stage1_cflags,;t t
13344
s,@stage1_checking@,$stage1_checking,;t t
13345
s,@stage2_werror_flag@,$stage2_werror_flag,;t t
13346
s,@datarootdir@,$datarootdir,;t t
13347
s,@docdir@,$docdir,;t t
13348
s,@pdfdir@,$pdfdir,;t t
13349
s,@htmldir@,$htmldir,;t t
13350
s,@LIBOBJS@,$LIBOBJS,;t t
13351
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13352
/@serialization_dependencies@/r $serialization_dependencies
13353
s,@serialization_dependencies@,,;t t
13354
/@host_makefile_frag@/r $host_makefile_frag
13355
s,@host_makefile_frag@,,;t t
13356
/@target_makefile_frag@/r $target_makefile_frag
13357
s,@target_makefile_frag@,,;t t
13358
/@alphaieee_frag@/r $alphaieee_frag
13359
s,@alphaieee_frag@,,;t t
13360
/@ospace_frag@/r $ospace_frag
13361
s,@ospace_frag@,,;t t
13366
cat >>$CONFIG_STATUS <<\_ACEOF
13367
# Split the substitutions into bite-sized pieces for seds with
13368
# small command number limits, like on Digital OSF/1 and HP-UX.
13369
ac_max_sed_lines=48
13370
ac_sed_frag=1 # Number of current file.
13371
ac_beg=1 # First line for current file.
13372
ac_end=$ac_max_sed_lines # Line after last line for current file.
13375
while $ac_more_lines; do
13376
if test $ac_beg -gt 1; then
13377
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
13379
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
13381
if test ! -s $tmp/subs.frag; then
13382
ac_more_lines=false
13384
# The purpose of the label and of the branching condition is to
13385
# speed up the sed processing (if there are no `@' at all, there
13386
# is no need to browse any of the substitutions).
13387
# These are the two extra sed commands mentioned above.
13389
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
13390
if test -z "$ac_sed_cmds"; then
13391
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
13393
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13395
ac_sed_frag=`expr $ac_sed_frag + 1`
13397
ac_end=`expr $ac_end + $ac_max_sed_lines`
13400
if test -z "$ac_sed_cmds"; then
14039
tmp=./conf$$-$RANDOM
14040
(umask 077 && mkdir "$tmp")
14041
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
14043
# Set up the scripts for CONFIG_FILES section.
14044
# No need to generate them if there are no CONFIG_FILES.
14045
# This happens for instance with `./config.status config.h'.
14046
if test -n "$CONFIG_FILES"; then
14048
if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
14049
ac_cs_awk_getline=:
14050
ac_cs_awk_pipe_init=
14051
ac_cs_awk_read_file='
14052
while ((getline aline < (F[key])) > 0)
14055
ac_cs_awk_pipe_fini=
14057
ac_cs_awk_getline=false
14058
ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
14059
ac_cs_awk_read_file='
14061
print "cat " F[key] " &&"
14062
'$ac_cs_awk_pipe_init
14063
# The final `:' finishes the AND list.
14064
ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
14066
ac_cr=`echo X | tr X '\015'`
14067
# On cygwin, bash can eat \r inside `` if the user requested igncr.
14068
# But we know of no other shell where ac_cr would be empty at this
14069
# point, so we can use a bashism as a fallback.
14070
if test "x$ac_cr" = x; then
14071
eval ac_cr=\$\'\\r\'
14073
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14074
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14077
ac_cs_awk_cr=$ac_cr
14080
echo 'BEGIN {' >"$tmp/subs1.awk" &&
14083
# Create commands to substitute file output variables.
14085
echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
14086
echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
14087
echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
14090
} >conf$$files.sh &&
14091
. ./conf$$files.sh ||
14092
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14093
rm -f conf$$files.sh
14096
echo "cat >conf$$subs.awk <<_ACEOF" &&
14097
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14099
} >conf$$subs.sh ||
14100
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14101
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14103
for ac_last_try in false false false false false :; do
14104
. ./conf$$subs.sh ||
14105
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14107
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14108
if test $ac_delim_n = $ac_delim_num; then
14110
elif $ac_last_try; then
14111
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14113
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14116
rm -f conf$$subs.sh
14118
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14119
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14123
s/^/S["/; s/!.*/"]=/
14133
s/\(.\{148\}\).*/\1/
14135
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14140
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14147
s/\(.\{148\}\).*/\1/
14149
s/["\\]/\\&/g; s/^/"/; s/$/"/
14153
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14158
' <conf$$subs.awk | sed '
14163
' >>$CONFIG_STATUS || ac_write_fail=1
14164
rm -f conf$$subs.awk
14165
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14167
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14168
for (key in S) S_is_set[key] = 1
14170
\$ac_cs_awk_pipe_init
14174
nfields = split(line, field, "@")
14176
len = length(field[1])
14177
for (i = 2; i < nfields; i++) {
14179
keylen = length(key)
14180
if (S_is_set[key]) {
14182
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14183
len += length(value) + length(field[++i])
14188
if (nfields == 3 && !substed) {
14190
if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
14191
\$ac_cs_awk_read_file
14197
\$ac_cs_awk_pipe_fini
14200
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14201
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14202
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14205
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14206
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
14209
# VPATH may cause trouble with some makes, so we remove $(srcdir),
14210
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14211
# trailing colons and then remove the whole line if VPATH becomes empty
14212
# (actually we leave an empty line to preserve line numbers).
14213
if test "x$srcdir" = x.; then
14214
ac_vpsub='/^[ ]*VPATH[ ]*=/{
14215
s/:*\$(srcdir):*/:/
14216
s/:*\${srcdir}:*/:/
14218
s/^\([^=]*=[ ]*\):*/\1/
14224
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13403
14225
fi # test -n "$CONFIG_FILES"
13406
cat >>$CONFIG_STATUS <<\_ACEOF
13407
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
13408
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13410
- | *:- | *:-:* ) # input from stdin
13412
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13413
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13414
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13415
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13416
* ) ac_file_in=$ac_file.in ;;
13419
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13420
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
14228
eval set X " :F $CONFIG_FILES "
14233
:[FHLC]) ac_mode=$ac_tag; continue;;
14235
case $ac_mode$ac_tag in
14237
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
14238
:[FH]-) ac_tag=-:-;;
14239
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14256
-) ac_f="$tmp/stdin";;
14257
*) # Look for the file first in the build tree, then in the source tree
14258
# (if the path is not absolute). The absolute path cannot be DOS-style,
14259
# because $ac_f cannot contain `:'.
14263
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14265
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14267
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14268
as_fn_append ac_file_inputs " '$ac_f'"
14271
# Let's still pretend it is `configure' which instantiates (i.e., don't
14272
# use $as_me), people would be surprised to read:
14273
# /* config.h. Generated by config.status. */
14274
configure_input='Generated from '`
14275
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14277
if test x"$ac_file" != x-; then
14278
configure_input="$ac_file. $configure_input"
14279
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14280
$as_echo "$as_me: creating $ac_file" >&6;}
14282
# Neutralize special characters interpreted by sed in replacement strings.
14283
case $configure_input in #(
14284
*\&* | *\|* | *\\* )
14285
ac_sed_conf_input=`$as_echo "$configure_input" |
14286
sed 's/[\\\\&|]/\\\\&/g'`;; #(
14287
*) ac_sed_conf_input=$configure_input;;
14291
*:-:* | *:-) cat >"$tmp/stdin" \
14292
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
14297
ac_dir=`$as_dirname -- "$ac_file" ||
13421
14298
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13422
14299
X"$ac_file" : 'X\(//\)[^/]' \| \
13423
14300
X"$ac_file" : 'X\(//\)$' \| \
13424
X"$ac_file" : 'X\(/\)' \| \
13425
. : '\(.\)' 2>/dev/null ||
13427
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13428
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
13429
/^X\(\/\/\)$/{ s//\1/; q; }
13430
/^X\(\/\).*/{ s//\1/; q; }
13432
{ if $as_mkdir_p; then
13437
while test ! -d "$as_dir"; do
13438
as_dirs="$as_dir $as_dirs"
13439
as_dir=`(dirname "$as_dir") 2>/dev/null ||
13440
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13441
X"$as_dir" : 'X\(//\)[^/]' \| \
13442
X"$as_dir" : 'X\(//\)$' \| \
13443
X"$as_dir" : 'X\(/\)' \| \
13444
. : '\(.\)' 2>/dev/null ||
13446
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13447
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
13448
/^X\(\/\/\)$/{ s//\1/; q; }
13449
/^X\(\/\).*/{ s//\1/; q; }
13452
test ! -n "$as_dirs" || mkdir $as_dirs
13453
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13454
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13455
{ (exit 1); exit 1; }; }; }
14301
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14302
$as_echo X"$ac_file" |
14303
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14307
/^X\(\/\/\)[^/].*/{
14320
as_dir="$ac_dir"; as_fn_mkdir_p
13457
14321
ac_builddir=.
13459
if test "$ac_dir" != .; then
13460
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13461
# A "../" for each directory in $ac_dir_suffix.
13462
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13464
ac_dir_suffix= ac_top_builddir=
14324
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14326
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14327
# A ".." for each directory in $ac_dir_suffix.
14328
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14329
case $ac_top_builddir_sub in
14330
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14331
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14334
ac_abs_top_builddir=$ac_pwd
14335
ac_abs_builddir=$ac_pwd$ac_dir_suffix
14336
# for backward compatibility:
14337
ac_top_builddir=$ac_top_build_prefix
13467
14339
case $srcdir in
13468
.) # No --srcdir option. We are building in place.
14340
.) # We are building in place.
13470
if test -z "$ac_top_builddir"; then
13473
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
13475
[\\/]* | ?:[\\/]* ) # Absolute path.
14342
ac_top_srcdir=$ac_top_builddir_sub
14343
ac_abs_top_srcdir=$ac_pwd ;;
14344
[\\/]* | ?:[\\/]* ) # Absolute name.
13476
14345
ac_srcdir=$srcdir$ac_dir_suffix;
13477
ac_top_srcdir=$srcdir ;;
13478
*) # Relative path.
13479
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13480
ac_top_srcdir=$ac_top_builddir$srcdir ;;
13483
# Do not use `cd foo && pwd` to compute absolute paths, because
13484
# the directories may not exist.
13486
.) ac_abs_builddir="$ac_dir";;
13489
.) ac_abs_builddir=`pwd`;;
13490
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
13491
*) ac_abs_builddir=`pwd`/"$ac_dir";;
13494
case $ac_abs_builddir in
13495
.) ac_abs_top_builddir=${ac_top_builddir}.;;
13497
case ${ac_top_builddir}. in
13498
.) ac_abs_top_builddir=$ac_abs_builddir;;
13499
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
13500
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
13503
case $ac_abs_builddir in
13504
.) ac_abs_srcdir=$ac_srcdir;;
13507
.) ac_abs_srcdir=$ac_abs_builddir;;
13508
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
13509
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
13512
case $ac_abs_builddir in
13513
.) ac_abs_top_srcdir=$ac_top_srcdir;;
13515
case $ac_top_srcdir in
13516
.) ac_abs_top_srcdir=$ac_abs_builddir;;
13517
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
13518
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
14346
ac_top_srcdir=$srcdir
14347
ac_abs_top_srcdir=$srcdir ;;
14348
*) # Relative name.
14349
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14350
ac_top_srcdir=$ac_top_build_prefix$srcdir
14351
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14353
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13523
14362
case $INSTALL in
13524
14363
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13525
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
14364
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13528
if test x"$ac_file" != x-; then
13529
{ echo "$as_me:$LINENO: creating $ac_file" >&5
13530
echo "$as_me: creating $ac_file" >&6;}
13533
# Let's still pretend it is `configure' which instantiates (i.e., don't
13534
# use $as_me), people would be surprised to read:
13535
# /* config.h. Generated by config.status. */
13536
if test x"$ac_file" = x-; then
13539
configure_input="$ac_file. "
13541
configure_input=$configure_input"Generated from `echo $ac_file_in |
13542
sed 's,.*/,,'` by configure."
13544
# First look for the input files in the build tree, otherwise in the
13546
ac_file_inputs=`IFS=:
13547
for f in $ac_file_in; do
13549
-) echo $tmp/stdin ;;
13551
# Absolute (can't be DOS-style, as IFS=:)
13552
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13553
echo "$as_me: error: cannot find input file: $f" >&2;}
13554
{ (exit 1); exit 1; }; }
13557
if test -f "$f"; then
13560
elif test -f "$srcdir/$f"; then
13565
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13566
echo "$as_me: error: cannot find input file: $f" >&2;}
13567
{ (exit 1); exit 1; }; }
13570
done` || { (exit 1); exit 1; }
13572
cat >>$CONFIG_STATUS <<_ACEOF
14368
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14369
# If the template does not know about datarootdir, expand it.
14370
# FIXME: This hack should be removed a few years after 2.60.
14371
ac_datarootdir_hack=; ac_datarootdir_seen=
14382
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14383
*datarootdir*) ac_datarootdir_seen=yes;;
14384
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14385
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14386
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14388
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14389
ac_datarootdir_hack='
14390
s&@datadir@&$datadir&g
14391
s&@docdir@&$docdir&g
14392
s&@infodir@&$infodir&g
14393
s&@localedir@&$localedir&g
14394
s&@mandir@&$mandir&g
14395
s&\\\${datarootdir}&$datarootdir&g' ;;
14399
# Neutralize VPATH when `$srcdir' = `.'.
14400
# Shell code in configure.ac might set extrasub.
14401
# FIXME: do we really want to maintain this feature?
14402
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14403
ac_sed_extra="$ac_vpsub
13576
cat >>$CONFIG_STATUS <<\_ACEOF
14406
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13578
14408
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13579
s,@configure_input@,$configure_input,;t t
13580
s,@srcdir@,$ac_srcdir,;t t
13581
s,@abs_srcdir@,$ac_abs_srcdir,;t t
13582
s,@top_srcdir@,$ac_top_srcdir,;t t
13583
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
13584
s,@builddir@,$ac_builddir,;t t
13585
s,@abs_builddir@,$ac_abs_builddir,;t t
13586
s,@top_builddir@,$ac_top_builddir,;t t
13587
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
13588
s,@INSTALL@,$ac_INSTALL,;t t
13589
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13591
if test x"$ac_file" != x-; then
13592
mv $tmp/out $ac_file
13601
cat >>$CONFIG_STATUS <<\_ACEOF
13603
{ (exit 0); exit 0; }
13605
chmod +x $CONFIG_STATUS
14409
s|@configure_input@|$ac_sed_conf_input|;t t
14410
s&@top_builddir@&$ac_top_builddir_sub&;t t
14411
s&@top_build_prefix@&$ac_top_build_prefix&;t t
14412
s&@srcdir@&$ac_srcdir&;t t
14413
s&@abs_srcdir@&$ac_abs_srcdir&;t t
14414
s&@top_srcdir@&$ac_top_srcdir&;t t
14415
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14416
s&@builddir@&$ac_builddir&;t t
14417
s&@abs_builddir@&$ac_abs_builddir&;t t
14418
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14419
s&@INSTALL@&$ac_INSTALL&;t t
14420
$ac_datarootdir_hack
14422
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
14423
if $ac_cs_awk_getline; then
14424
$AWK -f "$tmp/subs.awk"
14426
$AWK -f "$tmp/subs.awk" | $SHELL
14428
|| as_fn_error "could not create $ac_file" "$LINENO" 5
14430
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14431
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14432
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14433
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14434
which seems to be undefined. Please make sure it is defined." >&5
14435
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14436
which seems to be undefined. Please make sure it is defined." >&2;}
14440
-) cat "$tmp/out" && rm -f "$tmp/out";;
14441
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14443
|| as_fn_error "could not create $ac_file" "$LINENO" 5
13606
14455
ac_clean_files=$ac_clean_files_save
14457
test $ac_write_fail = 0 ||
14458
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
13609
14461
# configure is writing to config.log, and then calls config.status.
13610
14462
# config.status does its own redirection, appending to config.log.