summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scilab/CHANGES_5.2.X3
-rw-r--r--scilab/Makefile.in1
-rw-r--r--scilab/aclocal.m44
-rwxr-xr-xscilab/configure20390
-rw-r--r--scilab/contrib/Makefile.in1
-rw-r--r--scilab/libs/MALLOC/Makefile.in1
-rw-r--r--scilab/libs/Makefile.in1
-rw-r--r--scilab/libs/doublylinkedlist/Makefile.in1
-rw-r--r--scilab/libs/dynamiclibrary/Makefile.in1
-rw-r--r--scilab/libs/hashtable/Makefile.in1
-rw-r--r--scilab/libs/libst/Makefile.in1
-rw-r--r--scilab/m4/java.m42
-rw-r--r--scilab/modules/Makefile.in1
-rw-r--r--scilab/modules/action_binding/Makefile.in1
-rw-r--r--scilab/modules/api_scilab/Makefile.in1
-rw-r--r--scilab/modules/arnoldi/Makefile.in1
-rw-r--r--scilab/modules/atoms/Makefile.in1
-rw-r--r--scilab/modules/boolean/Makefile.in1
-rw-r--r--scilab/modules/cacsd/Makefile.in1
-rw-r--r--scilab/modules/call_scilab/Makefile.in1
-rw-r--r--scilab/modules/compatibility_functions/Makefile.in1
-rw-r--r--scilab/modules/completion/Makefile.in1
-rw-r--r--scilab/modules/console/Makefile.in1
-rw-r--r--scilab/modules/core/Makefile.in1
-rw-r--r--scilab/modules/core/includes/machine.h.in9
-rw-r--r--scilab/modules/data_structures/Makefile.in1
-rw-r--r--scilab/modules/demo_tools/Makefile.in1
-rw-r--r--scilab/modules/development_tools/Makefile.in1
-rw-r--r--scilab/modules/development_tools/src/fake/Makefile.in1
-rw-r--r--scilab/modules/differential_equations/Makefile.in1
-rw-r--r--scilab/modules/double/Makefile.in1
-rw-r--r--scilab/modules/dynamic_link/Makefile.in1
-rw-r--r--scilab/modules/elementary_functions/Makefile.in1
-rw-r--r--scilab/modules/fftw/Makefile.in1
-rw-r--r--scilab/modules/fileio/Makefile.in1
-rw-r--r--scilab/modules/functions/Makefile.in1
-rw-r--r--scilab/modules/genetic_algorithms/Makefile.in1
-rw-r--r--scilab/modules/graphic_export/Makefile.in1
-rw-r--r--scilab/modules/graphics/Makefile.in1
-rw-r--r--scilab/modules/gui/Makefile.in1
-rw-r--r--scilab/modules/hdf5/Makefile.in1
-rw-r--r--scilab/modules/helptools/Makefile.in1
-rw-r--r--scilab/modules/history_manager/Makefile.in1
-rw-r--r--scilab/modules/integer/Makefile.in1
-rw-r--r--scilab/modules/interpolation/Makefile.in1
-rw-r--r--scilab/modules/intersci/Makefile.in1
-rw-r--r--scilab/modules/io/Makefile.in1
-rw-r--r--scilab/modules/javasci/Makefile.in1
-rw-r--r--scilab/modules/jvm/Makefile.in1
-rw-r--r--scilab/modules/linear_algebra/Makefile.in1
-rw-r--r--scilab/modules/localization/Makefile.in1
-rw-r--r--scilab/modules/m2sci/Makefile.in1
-rw-r--r--scilab/modules/maple2scilab/Makefile.in1
-rw-r--r--scilab/modules/matio/Makefile.in1
-rw-r--r--scilab/modules/mexlib/Makefile.in1
-rw-r--r--scilab/modules/optimization/Makefile.in1
-rw-r--r--scilab/modules/output_stream/Makefile.in1
-rw-r--r--scilab/modules/overloading/Makefile.in1
-rw-r--r--scilab/modules/parameters/Makefile.in1
-rw-r--r--scilab/modules/polynomials/Makefile.in1
-rw-r--r--scilab/modules/pvm/Makefile.in1
-rw-r--r--scilab/modules/randlib/Makefile.in1
-rw-r--r--scilab/modules/renderer/Makefile.in1
-rw-r--r--scilab/modules/scicos/Makefile.in1
-rw-r--r--scilab/modules/scicos_blocks/Makefile.in1
-rw-r--r--scilab/modules/shell/Makefile.in1
-rw-r--r--scilab/modules/signal_processing/Makefile.in1
-rw-r--r--scilab/modules/simulated_annealing/Makefile.in1
-rw-r--r--scilab/modules/sound/Makefile.in1
-rw-r--r--scilab/modules/sparse/Makefile.in1
-rw-r--r--scilab/modules/special_functions/Makefile.in1
-rw-r--r--scilab/modules/spreadsheet/Makefile.in1
-rw-r--r--scilab/modules/statistics/Makefile.in1
-rw-r--r--scilab/modules/string/Makefile.in1
-rw-r--r--scilab/modules/symbolic/Makefile.in1
-rw-r--r--scilab/modules/tclsci/Makefile.in1
-rw-r--r--scilab/modules/texmacs/Makefile.in1
-rw-r--r--scilab/modules/time/Makefile.in1
-rw-r--r--scilab/modules/umfpack/Makefile.in1
-rw-r--r--scilab/modules/windows_tools/Makefile.in1
-rw-r--r--scilab/modules/xcos/Makefile.in1
-rw-r--r--scilab/modules/xcos/demos/demo_watertank.xcos2
-rw-r--r--scilab/modules/xpad/Makefile.in1
83 files changed, 15586 insertions, 4901 deletions
diff --git a/scilab/CHANGES_5.2.X b/scilab/CHANGES_5.2.X
index 94b8207..933c46f 100644
--- a/scilab/CHANGES_5.2.X
+++ b/scilab/CHANGES_5.2.X
@@ -134,9 +134,6 @@ Compilation:
134 134
135* Better detection of JOGL 135* Better detection of JOGL
136 136
137* When searching for Java packages files (jar), the oldest version was
138 selected. Now, lastest version are now selected.
139
140* bug 5503 fixed - add /usr/lib/*/ and /usr/lib64/*/ in the search path when 137* bug 5503 fixed - add /usr/lib/*/ and /usr/lib64/*/ in the search path when
141 looking for Java libraries (Fedora 12 for example) 138 looking for Java libraries (Fedora 12 for example)
142 139
diff --git a/scilab/Makefile.in b/scilab/Makefile.in
index 199bd03..089e6a6 100644
--- a/scilab/Makefile.in
+++ b/scilab/Makefile.in
@@ -450,7 +450,6 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
450PACKAGE_NAME = @PACKAGE_NAME@ 450PACKAGE_NAME = @PACKAGE_NAME@
451PACKAGE_STRING = @PACKAGE_STRING@ 451PACKAGE_STRING = @PACKAGE_STRING@
452PACKAGE_TARNAME = @PACKAGE_TARNAME@ 452PACKAGE_TARNAME = @PACKAGE_TARNAME@
453PACKAGE_URL = @PACKAGE_URL@
454PACKAGE_VERSION = @PACKAGE_VERSION@ 453PACKAGE_VERSION = @PACKAGE_VERSION@
455PATH_SEPARATOR = @PATH_SEPARATOR@ 454PATH_SEPARATOR = @PATH_SEPARATOR@
456PCRE_CFLAGS = @PCRE_CFLAGS@ 455PCRE_CFLAGS = @PCRE_CFLAGS@
diff --git a/scilab/aclocal.m4 b/scilab/aclocal.m4
index 1127363..9e0be80 100644
--- a/scilab/aclocal.m4
+++ b/scilab/aclocal.m4
@@ -13,8 +13,8 @@
13 13
14m4_ifndef([AC_AUTOCONF_VERSION], 14m4_ifndef([AC_AUTOCONF_VERSION],
15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],, 16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
17[m4_warning([this file was generated for autoconf 2.65. 17[m4_warning([this file was generated for autoconf 2.63.
18You have another version of autoconf. It may work, but is not guaranteed to. 18You have another version of autoconf. It may work, but is not guaranteed to.
19If you have problems, you may need to regenerate the build system entirely. 19If you have problems, you may need to regenerate the build system entirely.
20To do so, use the procedure documented by the package, typically `autoreconf'.])]) 20To do so, use the procedure documented by the package, typically `autoreconf'.])])
diff --git a/scilab/configure b/scilab/configure
index 8b14bb2..01277a9 100755
--- a/scilab/configure
+++ b/scilab/configure
@@ -1,25 +1,21 @@
1#! /bin/sh 1#! /bin/sh
2# From configure.ac Revision. 2# From configure.ac Revision.
3# Guess values for system-dependent variables and create Makefiles. 3# Guess values for system-dependent variables and create Makefiles.
4# Generated by GNU Autoconf 2.65 for Scilab 5. 4# Generated by GNU Autoconf 2.63 for Scilab 5.
5# 5#
6# Report bugs to <http://bugzilla.scilab.org/>. 6# Report bugs to <http://bugzilla.scilab.org/>.
7# 7#
8#
9# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 9# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
11# Inc.
12#
13#
14# This configure script is free software; the Free Software Foundation 10# This configure script is free software; the Free Software Foundation
15# gives unlimited permission to copy, distribute and modify it. 11# gives unlimited permission to copy, distribute and modify it.
16## -------------------- ## 12## --------------------- ##
17## M4sh Initialization. ## 13## M4sh Initialization. ##
18## -------------------- ## 14## --------------------- ##
19 15
20# Be more Bourne compatible 16# Be more Bourne compatible
21DUALCASE=1; export DUALCASE # for MKS sh 17DUALCASE=1; export DUALCASE # for MKS sh
22if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23 emulate sh 19 emulate sh
24 NULLCMD=: 20 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
@@ -27,15 +23,23 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
27 alias -g '${1+"$@"}'='"$@"' 23 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST 24 setopt NO_GLOB_SUBST
29else 25else
30 case `(set -o) 2>/dev/null` in #( 26 case `(set -o) 2>/dev/null` in
31 *posix*) : 27 *posix*) set -o posix ;;
32 set -o posix ;; #(
33 *) :
34 ;;
35esac 28esac
29
36fi 30fi
37 31
38 32
33
34
35# PATH needs CR
36# Avoid depending upon Character Ranges.
37as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40as_cr_digits='0123456789'
41as_cr_alnum=$as_cr_Letters$as_cr_digits
42
39as_nl=' 43as_nl='
40' 44'
41export as_nl 45export as_nl
@@ -43,13 +47,7 @@ export as_nl
43as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 47as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 49as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46# Prefer a ksh shell builtin over an external printf program on Solaris, 50if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
47# but without wasting forks for bash or zsh.
48if test -z "$BASH_VERSION$ZSH_VERSION" \
49 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='print -r --'
51 as_echo_n='print -rn --'
52elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 as_echo='printf %s\n' 51 as_echo='printf %s\n'
54 as_echo_n='printf %s' 52 as_echo_n='printf %s'
55else 53else
@@ -60,7 +58,7 @@ else
60 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
61 as_echo_n_body='eval 59 as_echo_n_body='eval
62 arg=$1; 60 arg=$1;
63 case $arg in #( 61 case $arg in
64 *"$as_nl"*) 62 *"$as_nl"*)
65 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 expr "X$arg" : "X\\(.*\\)$as_nl";
66 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
@@ -83,6 +81,13 @@ if test "${PATH_SEPARATOR+set}" != set; then
83 } 81 }
84fi 82fi
85 83
84# Support unset when possible.
85if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
86 as_unset=unset
87else
88 as_unset=false
89fi
90
86 91
87# IFS 92# IFS
88# We need space, tab and new line, in precisely that order. Quoting is 93# We need space, tab and new line, in precisely that order. Quoting is
@@ -92,15 +97,15 @@ fi
92IFS=" "" $as_nl" 97IFS=" "" $as_nl"
93 98
94# Find who we are. Look in the path if we contain no directory separator. 99# Find who we are. Look in the path if we contain no directory separator.
95case $0 in #(( 100case $0 in
96 *[\\/]* ) as_myself=$0 ;; 101 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 102 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98for as_dir in $PATH 103for as_dir in $PATH
99do 104do
100 IFS=$as_save_IFS 105 IFS=$as_save_IFS
101 test -z "$as_dir" && as_dir=. 106 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 107 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 done 108done
104IFS=$as_save_IFS 109IFS=$as_save_IFS
105 110
106 ;; 111 ;;
@@ -112,16 +117,12 @@ if test "x$as_myself" = x; then
112fi 117fi
113if test ! -f "$as_myself"; then 118if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 119 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 exit 1 120 { (exit 1); exit 1; }
116fi 121fi
117 122
118# Unset variables that we do not need and which cause bugs (e.g. in 123# Work around bugs in pre-3.0 UWIN ksh.
119# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 124for as_var in ENV MAIL MAILPATH
120# suppresses any "Segmentation fault" message there. '((' could 125do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
121# trigger a bug in pdksh 5.2.14.
122for as_var in BASH_ENV ENV MAIL MAILPATH
123do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125done 126done
126PS1='$ ' 127PS1='$ '
127PS2='> ' 128PS2='> '
@@ -133,308 +134,348 @@ export LC_ALL
133LANGUAGE=C 134LANGUAGE=C
134export LANGUAGE 135export LANGUAGE
135 136
137# Required to use basename.
138if expr a : '\(a\)' >/dev/null 2>&1 &&
139 test "X`expr 00001 : '.*\(...\)'`" = X001; then
140 as_expr=expr
141else
142 as_expr=false
143fi
144
145if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
146 as_basename=basename
147else
148 as_basename=false
149fi
150
151
152# Name of the executable.
153as_me=`$as_basename -- "$0" ||
154$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
155 X"$0" : 'X\(//\)$' \| \
156 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157$as_echo X/"$0" |
158 sed '/^.*\/\([^/][^/]*\)\/*$/{
159 s//\1/
160 q
161 }
162 /^X\/\(\/\/\)$/{
163 s//\1/
164 q
165 }
166 /^X\/\(\/\).*/{
167 s//\1/
168 q
169 }
170 s/.*/./; q'`
171
136# CDPATH. 172# CDPATH.
137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 173$as_unset CDPATH
174
138 175
139if test "x$CONFIG_SHELL" = x; then 176if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 177 if (eval ":") 2>/dev/null; then
141 emulate sh 178 as_have_required=yes
142 NULLCMD=:
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 setopt NO_GLOB_SUBST
147else 179else
148 case \`(set -o) 2>/dev/null\` in #( 180 as_have_required=no
149 *posix*) :
150 set -o posix ;; #(
151 *) :
152 ;;
153esac
154fi 181fi
155" 182
156 as_required="as_fn_return () { (exit \$1); } 183 if test $as_have_required = yes && (eval ":
157as_fn_success () { as_fn_return 0; } 184(as_func_return () {
158as_fn_failure () { as_fn_return 1; } 185 (exit \$1)
159as_fn_ret_success () { return 0; } 186}
160as_fn_ret_failure () { return 1; } 187as_func_success () {
188 as_func_return 0
189}
190as_func_failure () {
191 as_func_return 1
192}
193as_func_ret_success () {
194 return 0
195}
196as_func_ret_failure () {
197 return 1
198}
161 199
162exitcode=0 200exitcode=0
163as_fn_success || { exitcode=1; echo as_fn_success failed.; } 201if as_func_success; then
164as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 202 :
165as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 203else
166as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 204 exitcode=1
167if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 205 echo as_func_success failed.
206fi
207
208if as_func_failure; then
209 exitcode=1
210 echo as_func_failure succeeded.
211fi
168 212
213if as_func_ret_success; then
214 :
169else 215else
170 exitcode=1; echo positional parameters were not saved. 216 exitcode=1
217 echo as_func_ret_success failed.
171fi 218fi
172test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177test \$(( 1 + 1 )) = 2 || exit 1
178 219
220if as_func_ret_failure; then
221 exitcode=1
222 echo as_func_ret_failure succeeded.
223fi
224
225if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 :
227else
228 exitcode=1
229 echo positional parameters were not saved.
230fi
231
232test \$exitcode = 0) || { (exit 1); exit 1; }
233
234(
235 as_lineno_1=\$LINENO
236 as_lineno_2=\$LINENO
237 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
238 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
239
240(
179 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 241 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 242 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 243 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 244 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183 PATH=/empty FPATH=/empty; export PATH FPATH 245 PATH=/empty FPATH=/empty; export PATH FPATH
184 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 246 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" 247 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" )) || { (exit 1); exit 1; }
186 if (eval "$as_required") 2>/dev/null; then : 248") 2> /dev/null; then
187 as_have_required=yes 249 :
188else
189 as_have_required=no
190fi
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193else 250else
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 251 as_candidate_shells=
195as_found=false 252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 253for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197do 254do
198 IFS=$as_save_IFS 255 IFS=$as_save_IFS
199 test -z "$as_dir" && as_dir=. 256 test -z "$as_dir" && as_dir=.
200 as_found=: 257 case $as_dir in
201 case $as_dir in #(
202 /*) 258 /*)
203 for as_base in sh bash ksh sh5; do 259 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks. 260 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210 break 2
211fi
212fi
213 done;; 261 done;;
214 esac 262 esac
215 as_found=false
216done 263done
217$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
220fi; }
221IFS=$as_save_IFS 264IFS=$as_save_IFS
222 265
223 266
224 if test "x$CONFIG_SHELL" != x; then : 267 for as_shell in $as_candidate_shells $SHELL; do
225 # We cannot yet assume a decent shell, so we have to provide a 268 # Try only shells that exist, to save several forks.
226 # neutralization value for shells without unset; and this also 269 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
227 # works around shells that cannot unset nonexistent variables. 270 { ("$as_shell") 2> /dev/null <<\_ASEOF
228 BASH_ENV=/dev/null 271if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
229 ENV=/dev/null 272 emulate sh
230 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 273 NULLCMD=:
231 export CONFIG_SHELL 274 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
232 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 275 # is contrary to our usage. Disable this feature.
233fi 276 alias -g '${1+"$@"}'='"$@"'
277 setopt NO_GLOB_SUBST
278else
279 case `(set -o) 2>/dev/null` in
280 *posix*) set -o posix ;;
281esac
234 282
235 if test x$as_have_required = xno; then :
236 $as_echo "$0: This script requires a shell more modern than all"
237 $as_echo "$0: the shells that I found on your system."
238 if test x${ZSH_VERSION+set} = xset ; then
239 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
240 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 else
242 $as_echo "$0: Please tell bug-autoconf@gnu.org and
243$0: http://bugzilla.scilab.org/ about your system,
244$0: including any error possibly output before this
245$0: message. Then install a modern shell, or manually run
246$0: the script under such a shell if you do have one."
247 fi
248 exit 1
249fi
250fi 283fi
284
285
286:
287_ASEOF
288}; then
289 CONFIG_SHELL=$as_shell
290 as_have_required=yes
291 if { "$as_shell" 2> /dev/null <<\_ASEOF
292if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
293 emulate sh
294 NULLCMD=:
295 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
296 # is contrary to our usage. Disable this feature.
297 alias -g '${1+"$@"}'='"$@"'
298 setopt NO_GLOB_SUBST
299else
300 case `(set -o) 2>/dev/null` in
301 *posix*) set -o posix ;;
302esac
303
251fi 304fi
252SHELL=${CONFIG_SHELL-/bin/sh}
253export SHELL
254# Unset more variables known to interfere with behavior of common tools.
255CLICOLOR_FORCE= GREP_OPTIONS=
256unset CLICOLOR_FORCE GREP_OPTIONS
257 305
258## --------------------- ## 306
259## M4sh Shell Functions. ## 307:
260## --------------------- ## 308(as_func_return () {
261# as_fn_unset VAR 309 (exit $1)
262# --------------- 310}
263# Portably unset VAR. 311as_func_success () {
264as_fn_unset () 312 as_func_return 0
265{ 313}
266 { eval $1=; unset $1;} 314as_func_failure () {
315 as_func_return 1
316}
317as_func_ret_success () {
318 return 0
319}
320as_func_ret_failure () {
321 return 1
267} 322}
268as_unset=as_fn_unset
269 323
270# as_fn_set_status STATUS 324exitcode=0
271# ----------------------- 325if as_func_success; then
272# Set $? to STATUS, without forking. 326 :
273as_fn_set_status () 327else
274{ 328 exitcode=1
275 return $1 329 echo as_func_success failed.
276} # as_fn_set_status 330fi
277 331
278# as_fn_exit STATUS 332if as_func_failure; then
279# ----------------- 333 exitcode=1
280# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 334 echo as_func_failure succeeded.
281as_fn_exit () 335fi
282{
283 set +e
284 as_fn_set_status $1
285 exit $1
286} # as_fn_exit
287
288# as_fn_mkdir_p
289# -------------
290# Create "$as_dir" as a directory, including parents if necessary.
291as_fn_mkdir_p ()
292{
293 336
294 case $as_dir in #( 337if as_func_ret_success; then
295 -*) as_dir=./$as_dir;; 338 :
296 esac
297 test -d "$as_dir" || eval $as_mkdir_p || {
298 as_dirs=
299 while :; do
300 case $as_dir in #(
301 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
302 *) as_qdir=$as_dir;;
303 esac
304 as_dirs="'$as_qdir' $as_dirs"
305 as_dir=`$as_dirname -- "$as_dir" ||
306$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
307 X"$as_dir" : 'X\(//\)[^/]' \| \
308 X"$as_dir" : 'X\(//\)$' \| \
309 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
310$as_echo X"$as_dir" |
311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
312 s//\1/
313 q
314 }
315 /^X\(\/\/\)[^/].*/{
316 s//\1/
317 q
318 }
319 /^X\(\/\/\)$/{
320 s//\1/
321 q
322 }
323 /^X\(\/\).*/{
324 s//\1/
325 q
326 }
327 s/.*/./; q'`
328 test -d "$as_dir" && break
329 done
330 test -z "$as_dirs" || eval "mkdir $as_dirs"
331 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
332
333
334} # as_fn_mkdir_p
335# as_fn_append VAR VALUE
336# ----------------------
337# Append the text in VALUE to the end of the definition contained in VAR. Take
338# advantage of any shell optimizations that allow amortized linear growth over
339# repeated appends, instead of the typical quadratic growth present in naive
340# implementations.
341if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
342 eval 'as_fn_append ()
343 {
344 eval $1+=\$2
345 }'
346else 339else
347 as_fn_append () 340 exitcode=1
348 { 341 echo as_func_ret_success failed.
349 eval $1=\$$1\$2 342fi
350 } 343
351fi # as_fn_append 344if as_func_ret_failure; then
352 345 exitcode=1
353# as_fn_arith ARG... 346 echo as_func_ret_failure succeeded.
354# ------------------ 347fi
355# Perform arithmetic evaluation on the ARGs, and store the result in the 348
356# global $as_val. Take advantage of shells that can avoid forks. The arguments 349if ( set x; as_func_ret_success y && test x = "$1" ); then
357# must be portable across $(()) and expr. 350 :
358if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
359 eval 'as_fn_arith ()
360 {
361 as_val=$(( $* ))
362 }'
363else 351else
364 as_fn_arith () 352 exitcode=1
365 { 353 echo positional parameters were not saved.
366 as_val=`expr "$@" || test $? -eq 1` 354fi
367 }
368fi # as_fn_arith
369 355
356test $exitcode = 0) || { (exit 1); exit 1; }
370 357
371# as_fn_error ERROR [LINENO LOG_FD] 358(
372# --------------------------------- 359 as_lineno_1=$LINENO
373# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 360 as_lineno_2=$LINENO
374# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 361 test "x$as_lineno_1" != "x$as_lineno_2" &&
375# script with status $?, using 1 if that was 0. 362 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
376as_fn_error ()
377{
378 as_status=$?; test $as_status -eq 0 && as_status=1
379 if test "$3"; then
380 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
381 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
382 fi
383 $as_echo "$as_me: error: $1" >&2
384 as_fn_exit $as_status
385} # as_fn_error
386 363
387if expr a : '\(a\)' >/dev/null 2>&1 && 364(
388 test "X`expr 00001 : '.*\(...\)'`" = X001; then 365 test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
389 as_expr=expr 366 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
367 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
368 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
369 PATH=/empty FPATH=/empty; export PATH FPATH
370 test "X`printf %s $ECHO`" = "X$ECHO" \
371 || test "X`print -r -- $ECHO`" = "X$ECHO" )) || { (exit 1); exit 1; }
372
373_ASEOF
374}; then
375 break
376fi
377
378fi
379
380 done
381
382 if test "x$CONFIG_SHELL" != x; then
383 for as_var in BASH_ENV ENV
384 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
385 done
386 export CONFIG_SHELL
387 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
388fi
389
390
391 if test $as_have_required = no; then
392 echo This script requires a shell more modern than all the
393 echo shells that I found on your system. Please install a
394 echo modern shell, or manually run the script under such a
395 echo shell if you do have one.
396 { (exit 1); exit 1; }
397fi
398
399
400fi
401
402fi
403
404
405
406(eval "as_func_return () {
407 (exit \$1)
408}
409as_func_success () {
410 as_func_return 0
411}
412as_func_failure () {
413 as_func_return 1
414}
415as_func_ret_success () {
416 return 0
417}
418as_func_ret_failure () {
419 return 1
420}
421
422exitcode=0
423if as_func_success; then
424 :
390else 425else
391 as_expr=false 426 exitcode=1
427 echo as_func_success failed.
392fi 428fi
393 429
394if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 430if as_func_failure; then
395 as_basename=basename 431 exitcode=1
432 echo as_func_failure succeeded.
433fi
434
435if as_func_ret_success; then
436 :
396else 437else
397 as_basename=false 438 exitcode=1
439 echo as_func_ret_success failed.
398fi 440fi
399 441
400if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 442if as_func_ret_failure; then
401 as_dirname=dirname 443 exitcode=1
444 echo as_func_ret_failure succeeded.
445fi
446
447if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
448 :
402else 449else
403 as_dirname=false 450 exitcode=1
451 echo positional parameters were not saved.
404fi 452fi
405 453
406as_me=`$as_basename -- "$0" || 454test \$exitcode = 0") || {
407$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 455 echo No shell found that supports shell functions.
408 X"$0" : 'X\(//\)$' \| \ 456 echo Please tell bug-autoconf@gnu.org about your system,
409 X"$0" : 'X\(/\)' \| . 2>/dev/null || 457 echo including any error possibly output before this message.
410$as_echo X/"$0" | 458 echo This can help us improve future autoconf versions.
411 sed '/^.*\/\([^/][^/]*\)\/*$/{ 459 echo Configuration will now proceed without shell functions.
412 s//\1/ 460}
413 q 461
414 }
415 /^X\/\(\/\/\)$/{
416 s//\1/
417 q
418 }
419 /^X\/\(\/\).*/{
420 s//\1/
421 q
422 }
423 s/.*/./; q'`
424 462
425# Avoid depending upon Character Ranges.
426as_cr_letters='abcdefghijklmnopqrstuvwxyz'
427as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
428as_cr_Letters=$as_cr_letters$as_cr_LETTERS
429as_cr_digits='0123456789'
430as_cr_alnum=$as_cr_Letters$as_cr_digits
431 463
464 as_lineno_1=$LINENO
465 as_lineno_2=$LINENO
466 test "x$as_lineno_1" != "x$as_lineno_2" &&
467 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
432 468
433 as_lineno_1=$LINENO as_lineno_1a=$LINENO 469 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
434 as_lineno_2=$LINENO as_lineno_2a=$LINENO 470 # uniformly replaced by the line number. The first 'sed' inserts a
435 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 471 # line-number line after each line using $LINENO; the second 'sed'
436 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 472 # does the real work. The second script uses 'N' to pair each
437 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 473 # line-number line with the line containing $LINENO, and appends
474 # trailing '-' during substitution so that $LINENO is not a special
475 # case at line end.
476 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
477 # scripts with optimization help from Paolo Bonzini. Blame Lee
478 # E. McMahon (1931-1989) for sed's syntax. :-)
438 sed -n ' 479 sed -n '
439 p 480 p
440 /[$]LINENO/= 481 /[$]LINENO/=
@@ -451,7 +492,8 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
451 s/-\n.*// 492 s/-\n.*//
452 ' >$as_me.lineno && 493 ' >$as_me.lineno &&
453 chmod +x "$as_me.lineno" || 494 chmod +x "$as_me.lineno" ||
454 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 495 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
496 { (exit 1); exit 1; }; }
455 497
456 # Don't try to exec as it changes $[0], causing all sort of problems 498 # Don't try to exec as it changes $[0], causing all sort of problems
457 # (the dirname of $[0] is not the place where we might find the 499 # (the dirname of $[0] is not the place where we might find the
@@ -461,18 +503,29 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
461 exit 503 exit
462} 504}
463 505
506
507if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
508 as_dirname=dirname
509else
510 as_dirname=false
511fi
512
464ECHO_C= ECHO_N= ECHO_T= 513ECHO_C= ECHO_N= ECHO_T=
465case `echo -n x` in #((((( 514case `echo -n x` in
466-n*) 515-n*)
467 case `echo 'xy\c'` in 516 case `echo 'x\c'` in
468 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 517 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
469 xy) ECHO_C='\c';; 518 *) ECHO_C='\c';;
470 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
471 ECHO_T=' ';;
472 esac;; 519 esac;;
473*) 520*)
474 ECHO_N='-n';; 521 ECHO_N='-n';;
475esac 522esac
523if expr a : '\(a\)' >/dev/null 2>&1 &&
524 test "X`expr 00001 : '.*\(...\)'`" = X001; then
525 as_expr=expr
526else
527 as_expr=false
528fi
476 529
477rm -f conf$$ conf$$.exe conf$$.file 530rm -f conf$$ conf$$.exe conf$$.file
478if test -d conf$$.dir; then 531if test -d conf$$.dir; then
@@ -502,7 +555,7 @@ rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
502rmdir conf$$.dir 2>/dev/null 555rmdir conf$$.dir 2>/dev/null
503 556
504if mkdir -p . 2>/dev/null; then 557if mkdir -p . 2>/dev/null; then
505 as_mkdir_p='mkdir -p "$as_dir"' 558 as_mkdir_p=:
506else 559else
507 test -d ./-p && rmdir ./-p 560 test -d ./-p && rmdir ./-p
508 as_mkdir_p=false 561 as_mkdir_p=false
@@ -521,10 +574,10 @@ else
521 if test -d "$1"; then 574 if test -d "$1"; then
522 test -d "$1/."; 575 test -d "$1/.";
523 else 576 else
524 case $1 in #( 577 case $1 in
525 -*)set "./$1";; 578 -*)set "./$1";;
526 esac; 579 esac;
527 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 580 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
528 ???[sx]*):;;*)false;;esac;fi 581 ???[sx]*):;;*)false;;esac;fi
529 '\'' sh 582 '\'' sh
530 ' 583 '
@@ -537,11 +590,11 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
537# Sed expression to map a string onto a valid variable name. 590# Sed expression to map a string onto a valid variable name.
538as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 591as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 592
593
540SHELL=${CONFIG_SHELL-/bin/sh} 594SHELL=${CONFIG_SHELL-/bin/sh}
541 595
542 596
543test -n "$DJDIR" || exec 7<&0 </dev/null 597exec 7<&0 </dev/null 6>&1
544exec 6>&1
545 598
546# Name of the host. 599# Name of the host.
547# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 600# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
@@ -559,6 +612,7 @@ cross_compiling=no
559subdirs= 612subdirs=
560MFLAGS= 613MFLAGS=
561MAKEFLAGS= 614MAKEFLAGS=
615SHELL=${CONFIG_SHELL-/bin/sh}
562 616
563# Identity of this package. 617# Identity of this package.
564PACKAGE_NAME='Scilab' 618PACKAGE_NAME='Scilab'
@@ -566,7 +620,6 @@ PACKAGE_TARNAME='scilab'
566PACKAGE_VERSION='5' 620PACKAGE_VERSION='5'
567PACKAGE_STRING='Scilab 5' 621PACKAGE_STRING='Scilab 5'
568PACKAGE_BUGREPORT='http://bugzilla.scilab.org/' 622PACKAGE_BUGREPORT='http://bugzilla.scilab.org/'
569PACKAGE_URL=''
570 623
571# Factoring default headers for most tests. 624# Factoring default headers for most tests.
572ac_includes_default="\ 625ac_includes_default="\
@@ -887,7 +940,6 @@ bindir
887program_transform_name 940program_transform_name
888prefix 941prefix
889exec_prefix 942exec_prefix
890PACKAGE_URL
891PACKAGE_BUGREPORT 943PACKAGE_BUGREPORT
892PACKAGE_STRING 944PACKAGE_STRING
893PACKAGE_VERSION 945PACKAGE_VERSION
@@ -1088,7 +1140,8 @@ do
1088 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1140 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1089 # Reject names that are not valid shell variable names. 1141 # Reject names that are not valid shell variable names.
1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1142 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1091 as_fn_error "invalid feature name: $ac_useropt" 1143 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1144 { (exit 1); exit 1; }; }
1092 ac_useropt_orig=$ac_useropt 1145 ac_useropt_orig=$ac_useropt
1093 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1146 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1094 case $ac_user_opts in 1147 case $ac_user_opts in
@@ -1114,7 +1167,8 @@ do
1114 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1167 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1115 # Reject names that are not valid shell variable names. 1168 # Reject names that are not valid shell variable names.
1116 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1169 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1117 as_fn_error "invalid feature name: $ac_useropt" 1170 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1171 { (exit 1); exit 1; }; }
1118 ac_useropt_orig=$ac_useropt 1172 ac_useropt_orig=$ac_useropt
1119 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1173 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1120 case $ac_user_opts in 1174 case $ac_user_opts in
@@ -1318,7 +1372,8 @@ do
1318 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1372 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1319 # Reject names that are not valid shell variable names. 1373 # Reject names that are not valid shell variable names.
1320 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1374 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1321 as_fn_error "invalid package name: $ac_useropt" 1375 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1376 { (exit 1); exit 1; }; }
1322 ac_useropt_orig=$ac_useropt 1377 ac_useropt_orig=$ac_useropt
1323 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1378 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1324 case $ac_user_opts in 1379 case $ac_user_opts in
@@ -1334,7 +1389,8 @@ do
1334 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1389 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1335 # Reject names that are not valid shell variable names. 1390 # Reject names that are not valid shell variable names.
1336 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1391 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1337 as_fn_error "invalid package name: $ac_useropt" 1392 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1393 { (exit 1); exit 1; }; }
1338 ac_useropt_orig=$ac_useropt 1394 ac_useropt_orig=$ac_useropt
1339 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1395 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1340 case $ac_user_opts in 1396 case $ac_user_opts in
@@ -1364,17 +1420,17 @@ do
1364 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1420 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1365 x_libraries=$ac_optarg ;; 1421 x_libraries=$ac_optarg ;;
1366 1422
1367 -*) as_fn_error "unrecognized option: \`$ac_option' 1423 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1368Try \`$0 --help' for more information." 1424Try \`$0 --help' for more information." >&2
1425 { (exit 1); exit 1; }; }
1369 ;; 1426 ;;
1370 1427
1371 *=*) 1428 *=*)
1372 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1429 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1373 # Reject names that are not valid shell variable names. 1430 # Reject names that are not valid shell variable names.
1374 case $ac_envvar in #( 1431 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1375 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1432 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1376 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1433 { (exit 1); exit 1; }; }
1377 esac
1378 eval $ac_envvar=\$ac_optarg 1434 eval $ac_envvar=\$ac_optarg
1379 export $ac_envvar ;; 1435 export $ac_envvar ;;
1380 1436
@@ -1391,13 +1447,15 @@ done
1391 1447
1392if test -n "$ac_prev"; then 1448if test -n "$ac_prev"; then
1393 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1449 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1394 as_fn_error "missing argument to $ac_option" 1450 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1451 { (exit 1); exit 1; }; }
1395fi 1452fi
1396 1453
1397if test -n "$ac_unrecognized_opts"; then 1454if test -n "$ac_unrecognized_opts"; then
1398 case $enable_option_checking in 1455 case $enable_option_checking in
1399 no) ;; 1456 no) ;;
1400 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1457 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1458 { (exit 1); exit 1; }; } ;;
1401 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1459 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1402 esac 1460 esac
1403fi 1461fi
@@ -1420,7 +1478,8 @@ do
1420 [\\/$]* | ?:[\\/]* ) continue;; 1478 [\\/$]* | ?:[\\/]* ) continue;;
1421 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1479 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1422 esac 1480 esac
1423 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1481 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1482 { (exit 1); exit 1; }; }
1424done 1483done
1425 1484
1426# There might be people who depend on the old broken behavior: `$host' 1485# There might be people who depend on the old broken behavior: `$host'
@@ -1450,9 +1509,11 @@ test "$silent" = yes && exec 6>/dev/null
1450ac_pwd=`pwd` && test -n "$ac_pwd" && 1509ac_pwd=`pwd` && test -n "$ac_pwd" &&
1451ac_ls_di=`ls -di .` && 1510ac_ls_di=`ls -di .` &&
1452ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1511ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1453 as_fn_error "working directory cannot be determined" 1512 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1513 { (exit 1); exit 1; }; }
1454test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1514test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1455 as_fn_error "pwd does not report name of working directory" 1515 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1516 { (exit 1); exit 1; }; }
1456 1517
1457 1518
1458# Find the source files, if location was not specified. 1519# Find the source files, if location was not specified.
@@ -1491,11 +1552,13 @@ else
1491fi 1552fi
1492if test ! -r "$srcdir/$ac_unique_file"; then 1553if test ! -r "$srcdir/$ac_unique_file"; then
1493 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1554 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1494 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1555 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1556 { (exit 1); exit 1; }; }
1495fi 1557fi
1496ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1558ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1497ac_abs_confdir=`( 1559ac_abs_confdir=`(
1498 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1560 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1561 { (exit 1); exit 1; }; }
1499 pwd)` 1562 pwd)`
1500# When building in place, set srcdir=. 1563# When building in place, set srcdir=.
1501if test "$ac_abs_confdir" = "$ac_pwd"; then 1564if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1706,7 +1769,7 @@ Some influential environment variables:
1706 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1769 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1707 nonstandard directory <lib dir> 1770 nonstandard directory <lib dir>
1708 LIBS libraries to pass to the linker, e.g. -l<library> 1771 LIBS libraries to pass to the linker, e.g. -l<library>
1709 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1772 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1710 you have headers in a nonstandard directory <include dir> 1773 you have headers in a nonstandard directory <include dir>
1711 CPP C preprocessor 1774 CPP C preprocessor
1712 PKG_CONFIG path to pkg-config utility 1775 PKG_CONFIG path to pkg-config utility
@@ -1787,818 +1850,21 @@ test -n "$ac_init_help" && exit $ac_status
1787if $ac_init_version; then 1850if $ac_init_version; then
1788 cat <<\_ACEOF 1851 cat <<\_ACEOF
1789Scilab configure 5 1852Scilab configure 5
1790generated by GNU Autoconf 2.65 1853generated by GNU Autoconf 2.63
1791 1854
1792Copyright (C) 2009 Free Software Foundation, Inc. 1855Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
18562002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1793This configure script is free software; the Free Software Foundation 1857This configure script is free software; the Free Software Foundation
1794gives unlimited permission to copy, distribute and modify it. 1858gives unlimited permission to copy, distribute and modify it.
1795_ACEOF 1859_ACEOF
1796 exit 1860 exit
1797fi 1861fi
1798
1799## ------------------------ ##
1800## Autoconf initialization. ##
1801## ------------------------ ##
1802
1803# ac_fn_c_try_compile LINENO
1804# --------------------------
1805# Try to compile conftest.$ac_ext, and return whether this succeeded.
1806ac_fn_c_try_compile ()
1807{
1808 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809 rm -f conftest.$ac_objext
1810 if { { ac_try="$ac_compile"
1811case "(($ac_try" in
1812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1813 *) ac_try_echo=$ac_try;;
1814esac
1815eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1816$as_echo "$ac_try_echo"; } >&5
1817 (eval "$ac_compile") 2>conftest.err
1818 ac_status=$?
1819 if test -s conftest.err; then
1820 grep -v '^ *+' conftest.err >conftest.er1
1821 cat conftest.er1 >&5
1822 mv -f conftest.er1 conftest.err
1823 fi
1824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1825 test $ac_status = 0; } && {
1826 test -z "$ac_c_werror_flag" ||
1827 test ! -s conftest.err
1828 } && test -s conftest.$ac_objext; then :
1829 ac_retval=0
1830else
1831 $as_echo "$as_me: failed program was:" >&5
1832sed 's/^/| /' conftest.$ac_ext >&5
1833
1834 ac_retval=1
1835fi
1836 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1837 as_fn_set_status $ac_retval
1838
1839} # ac_fn_c_try_compile
1840
1841# ac_fn_c_try_cpp LINENO
1842# ----------------------
1843# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1844ac_fn_c_try_cpp ()
1845{
1846 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1847 if { { ac_try="$ac_cpp conftest.$ac_ext"
1848case "(($ac_try" in
1849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1850 *) ac_try_echo=$ac_try;;
1851esac
1852eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1853$as_echo "$ac_try_echo"; } >&5
1854 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1855 ac_status=$?
1856 if test -s conftest.err; then
1857 grep -v '^ *+' conftest.err >conftest.er1
1858 cat conftest.er1 >&5
1859 mv -f conftest.er1 conftest.err
1860 fi
1861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1862 test $ac_status = 0; } >/dev/null && {
1863 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1864 test ! -s conftest.err
1865 }; then :
1866 ac_retval=0
1867else
1868 $as_echo "$as_me: failed program was:" >&5
1869sed 's/^/| /' conftest.$ac_ext >&5
1870
1871 ac_retval=1
1872fi
1873 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1874 as_fn_set_status $ac_retval
1875
1876} # ac_fn_c_try_cpp
1877
1878# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1879# -------------------------------------------------------
1880# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1881# the include files in INCLUDES and setting the cache variable VAR
1882# accordingly.
1883ac_fn_c_check_header_mongrel ()
1884{
1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1886 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1888$as_echo_n "checking for $2... " >&6; }
1889if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1890 $as_echo_n "(cached) " >&6
1891fi
1892eval ac_res=\$$3
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1894$as_echo "$ac_res" >&6; }
1895else
1896 # Is the header compilable?
1897{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1898$as_echo_n "checking $2 usability... " >&6; }
1899cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1900/* end confdefs.h. */
1901$4
1902#include <$2>
1903_ACEOF
1904if ac_fn_c_try_compile "$LINENO"; then :
1905 ac_header_compiler=yes
1906else
1907 ac_header_compiler=no
1908fi
1909rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1911$as_echo "$ac_header_compiler" >&6; }
1912
1913# Is the header present?
1914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1915$as_echo_n "checking $2 presence... " >&6; }
1916cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1917/* end confdefs.h. */
1918#include <$2>
1919_ACEOF
1920if ac_fn_c_try_cpp "$LINENO"; then :
1921 ac_header_preproc=yes
1922else
1923 ac_header_preproc=no
1924fi
1925rm -f conftest.err conftest.$ac_ext
1926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1927$as_echo "$ac_header_preproc" >&6; }
1928
1929# So? What about this header?
1930case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1931 yes:no: )
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1933$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1935$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1936 ;;
1937 no:yes:* )
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1939$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1941$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1943$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1945$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1947$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1948( cat <<\_ASBOX
1949## ------------------------------------------ ##
1950## Report this to http://bugzilla.scilab.org/ ##
1951## ------------------------------------------ ##
1952_ASBOX
1953 ) | sed "s/^/$as_me: WARNING: /" >&2
1954 ;;
1955esac
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1957$as_echo_n "checking for $2... " >&6; }
1958if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1959 $as_echo_n "(cached) " >&6
1960else
1961 eval "$3=\$ac_header_compiler"
1962fi
1963eval ac_res=\$$3
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1965$as_echo "$ac_res" >&6; }
1966fi
1967 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1968
1969} # ac_fn_c_check_header_mongrel
1970
1971# ac_fn_c_try_run LINENO
1972# ----------------------
1973# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1974# that executables *can* be run.
1975ac_fn_c_try_run ()
1976{
1977 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1978 if { { ac_try="$ac_link"
1979case "(($ac_try" in
1980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1981 *) ac_try_echo=$ac_try;;
1982esac
1983eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1984$as_echo "$ac_try_echo"; } >&5
1985 (eval "$ac_link") 2>&5
1986 ac_status=$?
1987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1988 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1989 { { case "(($ac_try" in
1990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1991 *) ac_try_echo=$ac_try;;
1992esac
1993eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1994$as_echo "$ac_try_echo"; } >&5
1995 (eval "$ac_try") 2>&5
1996 ac_status=$?
1997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1998 test $ac_status = 0; }; }; then :
1999 ac_retval=0
2000else
2001 $as_echo "$as_me: program exited with status $ac_status" >&5
2002 $as_echo "$as_me: failed program was:" >&5
2003sed 's/^/| /' conftest.$ac_ext >&5
2004
2005 ac_retval=$ac_status
2006fi
2007 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2008 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2009 as_fn_set_status $ac_retval
2010
2011} # ac_fn_c_try_run
2012
2013# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2014# -------------------------------------------------------
2015# Tests whether HEADER exists and can be compiled using the include files in
2016# INCLUDES, setting the cache variable VAR accordingly.
2017ac_fn_c_check_header_compile ()
2018{
2019 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2021$as_echo_n "checking for $2... " >&6; }
2022if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2023 $as_echo_n "(cached) " >&6
2024else
2025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2026/* end confdefs.h. */
2027$4
2028#include <$2>
2029_ACEOF
2030if ac_fn_c_try_compile "$LINENO"; then :
2031 eval "$3=yes"
2032else
2033 eval "$3=no"
2034fi
2035rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2036fi
2037eval ac_res=\$$3
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2039$as_echo "$ac_res" >&6; }
2040 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2041
2042} # ac_fn_c_check_header_compile
2043
2044# ac_fn_c_try_link LINENO
2045# -----------------------
2046# Try to link conftest.$ac_ext, and return whether this succeeded.
2047ac_fn_c_try_link ()
2048{
2049 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2050 rm -f conftest.$ac_objext conftest$ac_exeext
2051 if { { ac_try="$ac_link"
2052case "(($ac_try" in
2053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2054 *) ac_try_echo=$ac_try;;
2055esac
2056eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2057$as_echo "$ac_try_echo"; } >&5
2058 (eval "$ac_link") 2>conftest.err
2059 ac_status=$?
2060 if test -s conftest.err; then
2061 grep -v '^ *+' conftest.err >conftest.er1
2062 cat conftest.er1 >&5
2063 mv -f conftest.er1 conftest.err
2064 fi
2065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2066 test $ac_status = 0; } && {
2067 test -z "$ac_c_werror_flag" ||
2068 test ! -s conftest.err
2069 } && test -s conftest$ac_exeext && {
2070 test "$cross_compiling" = yes ||
2071 $as_test_x conftest$ac_exeext
2072 }; then :
2073 ac_retval=0
2074else
2075 $as_echo "$as_me: failed program was:" >&5
2076sed 's/^/| /' conftest.$ac_ext >&5
2077
2078 ac_retval=1
2079fi
2080 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2081 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2082 # interfere with the next link command; also delete a directory that is
2083 # left behind by Apple's compiler. We do this before executing the actions.
2084 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2085 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2086 as_fn_set_status $ac_retval
2087
2088} # ac_fn_c_try_link
2089
2090# ac_fn_c_check_func LINENO FUNC VAR
2091# ----------------------------------
2092# Tests whether FUNC exists, setting the cache variable VAR accordingly
2093ac_fn_c_check_func ()
2094{
2095 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2097$as_echo_n "checking for $2... " >&6; }
2098if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2099 $as_echo_n "(cached) " >&6
2100else
2101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2102/* end confdefs.h. */
2103/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2105#define $2 innocuous_$2
2106
2107/* System header to define __stub macros and hopefully few prototypes,
2108 which can conflict with char $2 (); below.
2109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2110 <limits.h> exists even on freestanding compilers. */
2111
2112#ifdef __STDC__
2113# include <limits.h>
2114#else
2115# include <assert.h>
2116#endif
2117
2118#undef $2
2119
2120/* Override any GCC internal prototype to avoid an error.
2121 Use char because int might match the return type of a GCC
2122 builtin and then its argument prototype would still apply. */
2123#ifdef __cplusplus
2124extern "C"
2125#endif
2126char $2 ();
2127/* The GNU C library defines this for functions which it implements
2128 to always fail with ENOSYS. Some functions are actually named
2129 something starting with __ and the normal name is an alias. */
2130#if defined __stub_$2 || defined __stub___$2
2131choke me
2132#endif
2133
2134int
2135main ()
2136{
2137return $2 ();
2138 ;
2139 return 0;
2140}
2141_ACEOF
2142if ac_fn_c_try_link "$LINENO"; then :
2143 eval "$3=yes"
2144else
2145 eval "$3=no"
2146fi
2147rm -f core conftest.err conftest.$ac_objext \
2148 conftest$ac_exeext conftest.$ac_ext
2149fi
2150eval ac_res=\$$3
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2152$as_echo "$ac_res" >&6; }
2153 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2154
2155} # ac_fn_c_check_func
2156
2157# ac_fn_f77_try_compile LINENO
2158# ----------------------------
2159# Try to compile conftest.$ac_ext, and return whether this succeeded.
2160ac_fn_f77_try_compile ()
2161{
2162 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2163 rm -f conftest.$ac_objext
2164 if { { ac_try="$ac_compile"
2165case "(($ac_try" in
2166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2167 *) ac_try_echo=$ac_try;;
2168esac
2169eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2170$as_echo "$ac_try_echo"; } >&5
2171 (eval "$ac_compile") 2>conftest.err
2172 ac_status=$?
2173 if test -s conftest.err; then
2174 grep -v '^ *+' conftest.err >conftest.er1
2175 cat conftest.er1 >&5
2176 mv -f conftest.er1 conftest.err
2177 fi
2178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2179 test $ac_status = 0; } && {
2180 test -z "$ac_f77_werror_flag" ||
2181 test ! -s conftest.err
2182 } && test -s conftest.$ac_objext; then :
2183 ac_retval=0
2184else
2185 $as_echo "$as_me: failed program was:" >&5
2186sed 's/^/| /' conftest.$ac_ext >&5
2187
2188 ac_retval=1
2189fi
2190 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2191 as_fn_set_status $ac_retval
2192
2193} # ac_fn_f77_try_compile
2194
2195# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2196# --------------------------------------------
2197# Tries to find the compile-time value of EXPR in a program that includes
2198# INCLUDES, setting VAR accordingly. Returns whether the value could be
2199# computed
2200ac_fn_c_compute_int ()
2201{
2202 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2203 if test "$cross_compiling" = yes; then
2204 # Depending upon the size, compute the lo and hi bounds.
2205cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2206/* end confdefs.h. */
2207$4
2208int
2209main ()
2210{
2211static int test_array [1 - 2 * !(($2) >= 0)];
2212test_array [0] = 0
2213
2214 ;
2215 return 0;
2216}
2217_ACEOF
2218if ac_fn_c_try_compile "$LINENO"; then :
2219 ac_lo=0 ac_mid=0
2220 while :; do
2221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2222/* end confdefs.h. */
2223$4
2224int
2225main ()
2226{
2227static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2228test_array [0] = 0
2229
2230 ;
2231 return 0;
2232}
2233_ACEOF
2234if ac_fn_c_try_compile "$LINENO"; then :
2235 ac_hi=$ac_mid; break
2236else
2237 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2238 if test $ac_lo -le $ac_mid; then
2239 ac_lo= ac_hi=
2240 break
2241 fi
2242 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2243fi
2244rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2245 done
2246else
2247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2248/* end confdefs.h. */
2249$4
2250int
2251main ()
2252{
2253static int test_array [1 - 2 * !(($2) < 0)];
2254test_array [0] = 0
2255
2256 ;
2257 return 0;
2258}
2259_ACEOF
2260if ac_fn_c_try_compile "$LINENO"; then :
2261 ac_hi=-1 ac_mid=-1
2262 while :; do
2263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2264/* end confdefs.h. */
2265$4
2266int
2267main ()
2268{
2269static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2270test_array [0] = 0
2271
2272 ;
2273 return 0;
2274}
2275_ACEOF
2276if ac_fn_c_try_compile "$LINENO"; then :
2277 ac_lo=$ac_mid; break
2278else
2279 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2280 if test $ac_mid -le $ac_hi; then
2281 ac_lo= ac_hi=
2282 break
2283 fi
2284 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2285fi
2286rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2287 done
2288else
2289 ac_lo= ac_hi=
2290fi
2291rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2292fi
2293rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2294# Binary search between lo and hi bounds.
2295while test "x$ac_lo" != "x$ac_hi"; do
2296 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2298/* end confdefs.h. */
2299$4
2300int
2301main ()
2302{
2303static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2304test_array [0] = 0
2305
2306 ;
2307 return 0;
2308}
2309_ACEOF
2310if ac_fn_c_try_compile "$LINENO"; then :
2311 ac_hi=$ac_mid
2312else
2313 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2314fi
2315rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2316done
2317case $ac_lo in #((
2318?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2319'') ac_retval=1 ;;
2320esac
2321 else
2322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2323/* end confdefs.h. */
2324$4
2325static long int longval () { return $2; }
2326static unsigned long int ulongval () { return $2; }
2327#include <stdio.h>
2328#include <stdlib.h>
2329int
2330main ()
2331{
2332
2333 FILE *f = fopen ("conftest.val", "w");
2334 if (! f)
2335 return 1;
2336 if (($2) < 0)
2337 {
2338 long int i = longval ();
2339 if (i != ($2))
2340 return 1;
2341 fprintf (f, "%ld", i);
2342 }
2343 else
2344 {
2345 unsigned long int i = ulongval ();
2346 if (i != ($2))
2347 return 1;
2348 fprintf (f, "%lu", i);
2349 }
2350 /* Do not output a trailing newline, as this causes \r\n confusion
2351 on some platforms. */
2352 return ferror (f) || fclose (f) != 0;
2353
2354 ;
2355 return 0;
2356}
2357_ACEOF
2358if ac_fn_c_try_run "$LINENO"; then :
2359 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2360else
2361 ac_retval=1
2362fi
2363rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2364 conftest.$ac_objext conftest.beam conftest.$ac_ext
2365rm -f conftest.val
2366
2367 fi
2368 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2369 as_fn_set_status $ac_retval
2370
2371} # ac_fn_c_compute_int
2372
2373# ac_fn_cxx_try_compile LINENO
2374# ----------------------------
2375# Try to compile conftest.$ac_ext, and return whether this succeeded.
2376ac_fn_cxx_try_compile ()
2377{
2378 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2379 rm -f conftest.$ac_objext
2380 if { { ac_try="$ac_compile"
2381case "(($ac_try" in
2382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2383 *) ac_try_echo=$ac_try;;
2384esac
2385eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2386$as_echo "$ac_try_echo"; } >&5
2387 (eval "$ac_compile") 2>conftest.err
2388 ac_status=$?
2389 if test -s conftest.err; then
2390 grep -v '^ *+' conftest.err >conftest.er1
2391 cat conftest.er1 >&5
2392 mv -f conftest.er1 conftest.err
2393 fi
2394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2395 test $ac_status = 0; } && {
2396 test -z "$ac_cxx_werror_flag" ||
2397 test ! -s conftest.err
2398 } && test -s conftest.$ac_objext; then :
2399 ac_retval=0
2400else
2401 $as_echo "$as_me: failed program was:" >&5
2402sed 's/^/| /' conftest.$ac_ext >&5
2403
2404 ac_retval=1
2405fi
2406 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2407 as_fn_set_status $ac_retval
2408
2409} # ac_fn_cxx_try_compile
2410
2411# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2412# ----------------------------------------------------
2413# Tries to find if the field MEMBER exists in type AGGR, after including
2414# INCLUDES, setting cache variable VAR accordingly.
2415ac_fn_c_check_member ()
2416{
2417 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2419$as_echo_n "checking for $2.$3... " >&6; }
2420if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2421 $as_echo_n "(cached) " >&6
2422else
2423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2424/* end confdefs.h. */
2425$5
2426int
2427main ()
2428{
2429static $2 ac_aggr;
2430if (ac_aggr.$3)
2431return 0;
2432 ;
2433 return 0;
2434}
2435_ACEOF
2436if ac_fn_c_try_compile "$LINENO"; then :
2437 eval "$4=yes"
2438else
2439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2440/* end confdefs.h. */
2441$5
2442int
2443main ()
2444{
2445static $2 ac_aggr;
2446if (sizeof ac_aggr.$3)
2447return 0;
2448 ;
2449 return 0;
2450}
2451_ACEOF
2452if ac_fn_c_try_compile "$LINENO"; then :
2453 eval "$4=yes"
2454else
2455 eval "$4=no"
2456fi
2457rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2458fi
2459rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2460fi
2461eval ac_res=\$$4
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2463$as_echo "$ac_res" >&6; }
2464 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2465
2466} # ac_fn_c_check_member
2467
2468# ac_fn_cxx_try_cpp LINENO
2469# ------------------------
2470# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2471ac_fn_cxx_try_cpp ()
2472{
2473 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2474 if { { ac_try="$ac_cpp conftest.$ac_ext"
2475case "(($ac_try" in
2476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2477 *) ac_try_echo=$ac_try;;
2478esac
2479eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2480$as_echo "$ac_try_echo"; } >&5
2481 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2482 ac_status=$?
2483 if test -s conftest.err; then
2484 grep -v '^ *+' conftest.err >conftest.er1
2485 cat conftest.er1 >&5
2486 mv -f conftest.er1 conftest.err
2487 fi
2488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2489 test $ac_status = 0; } >/dev/null && {
2490 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2491 test ! -s conftest.err
2492 }; then :
2493 ac_retval=0
2494else
2495 $as_echo "$as_me: failed program was:" >&5
2496sed 's/^/| /' conftest.$ac_ext >&5
2497
2498 ac_retval=1
2499fi
2500 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2501 as_fn_set_status $ac_retval
2502
2503} # ac_fn_cxx_try_cpp
2504
2505# ac_fn_cxx_try_link LINENO
2506# -------------------------
2507# Try to link conftest.$ac_ext, and return whether this succeeded.
2508ac_fn_cxx_try_link ()
2509{
2510 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2511 rm -f conftest.$ac_objext conftest$ac_exeext
2512 if { { ac_try="$ac_link"
2513case "(($ac_try" in
2514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2515 *) ac_try_echo=$ac_try;;
2516esac
2517eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2518$as_echo "$ac_try_echo"; } >&5
2519 (eval "$ac_link") 2>conftest.err
2520 ac_status=$?
2521 if test -s conftest.err; then
2522 grep -v '^ *+' conftest.err >conftest.er1
2523 cat conftest.er1 >&5
2524 mv -f conftest.er1 conftest.err
2525 fi
2526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2527 test $ac_status = 0; } && {
2528 test -z "$ac_cxx_werror_flag" ||
2529 test ! -s conftest.err
2530 } && test -s conftest$ac_exeext && {
2531 test "$cross_compiling" = yes ||
2532 $as_test_x conftest$ac_exeext
2533 }; then :
2534 ac_retval=0
2535else
2536 $as_echo "$as_me: failed program was:" >&5
2537sed 's/^/| /' conftest.$ac_ext >&5
2538
2539 ac_retval=1
2540fi
2541 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2542 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2543 # interfere with the next link command; also delete a directory that is
2544 # left behind by Apple's compiler. We do this before executing the actions.
2545 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2546 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2547 as_fn_set_status $ac_retval
2548
2549} # ac_fn_cxx_try_link
2550
2551# ac_fn_f77_try_link LINENO
2552# -------------------------
2553# Try to link conftest.$ac_ext, and return whether this succeeded.
2554ac_fn_f77_try_link ()
2555{
2556 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2557 rm -f conftest.$ac_objext conftest$ac_exeext
2558 if { { ac_try="$ac_link"
2559case "(($ac_try" in
2560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2561 *) ac_try_echo=$ac_try;;
2562esac
2563eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2564$as_echo "$ac_try_echo"; } >&5
2565 (eval "$ac_link") 2>conftest.err
2566 ac_status=$?
2567 if test -s conftest.err; then
2568 grep -v '^ *+' conftest.err >conftest.er1
2569 cat conftest.er1 >&5
2570 mv -f conftest.er1 conftest.err
2571 fi
2572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2573 test $ac_status = 0; } && {
2574 test -z "$ac_f77_werror_flag" ||
2575 test ! -s conftest.err
2576 } && test -s conftest$ac_exeext && {
2577 test "$cross_compiling" = yes ||
2578 $as_test_x conftest$ac_exeext
2579 }; then :
2580 ac_retval=0
2581else
2582 $as_echo "$as_me: failed program was:" >&5
2583sed 's/^/| /' conftest.$ac_ext >&5
2584
2585 ac_retval=1
2586fi
2587 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2588 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2589 # interfere with the next link command; also delete a directory that is
2590 # left behind by Apple's compiler. We do this before executing the actions.
2591 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2592 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2593 as_fn_set_status $ac_retval
2594
2595} # ac_fn_f77_try_link
2596cat >config.log <<_ACEOF 1862cat >config.log <<_ACEOF
2597This file contains any messages produced by compilers while 1863This file contains any messages produced by compilers while
2598running configure, to aid debugging if configure makes a mistake. 1864running configure, to aid debugging if configure makes a mistake.
2599 1865
2600It was created by Scilab $as_me 5, which was 1866It was created by Scilab $as_me 5, which was
2601generated by GNU Autoconf 2.65. Invocation command line was 1867generated by GNU Autoconf 2.63. Invocation command line was
2602 1868
2603 $ $0 $@ 1869 $ $0 $@
2604 1870
@@ -2634,8 +1900,8 @@ for as_dir in $PATH
2634do 1900do
2635 IFS=$as_save_IFS 1901 IFS=$as_save_IFS
2636 test -z "$as_dir" && as_dir=. 1902 test -z "$as_dir" && as_dir=.
2637 $as_echo "PATH: $as_dir" 1903 $as_echo "PATH: $as_dir"
2638 done 1904done
2639IFS=$as_save_IFS 1905IFS=$as_save_IFS
2640 1906
2641} >&5 1907} >&5
@@ -2672,9 +1938,9 @@ do
2672 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1938 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2673 esac 1939 esac
2674 case $ac_pass in 1940 case $ac_pass in
2675 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1941 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2676 2) 1942 2)
2677 as_fn_append ac_configure_args1 " '$ac_arg'" 1943 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2678 if test $ac_must_keep_next = true; then 1944 if test $ac_must_keep_next = true; then
2679 ac_must_keep_next=false # Got value, back to normal. 1945 ac_must_keep_next=false # Got value, back to normal.
2680 else 1946 else
@@ -2690,13 +1956,13 @@ do
2690 -* ) ac_must_keep_next=true ;; 1956 -* ) ac_must_keep_next=true ;;
2691 esac 1957 esac
2692 fi 1958 fi
2693 as_fn_append ac_configure_args " '$ac_arg'" 1959 ac_configure_args="$ac_configure_args '$ac_arg'"
2694 ;; 1960 ;;
2695 esac 1961 esac
2696 done 1962 done
2697done 1963done
2698{ ac_configure_args0=; unset ac_configure_args0;} 1964$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2699{ ac_configure_args1=; unset ac_configure_args1;} 1965$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2700 1966
2701# When interrupted or exit'd, cleanup temporary files, and complete 1967# When interrupted or exit'd, cleanup temporary files, and complete
2702# config.log. We remove comments because anyway the quotes in there 1968# config.log. We remove comments because anyway the quotes in there
@@ -2721,13 +1987,13 @@ _ASBOX
2721 case $ac_val in #( 1987 case $ac_val in #(
2722 *${as_nl}*) 1988 *${as_nl}*)
2723 case $ac_var in #( 1989 case $ac_var in #(
2724 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1990 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
2725$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1991$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2726 esac 1992 esac
2727 case $ac_var in #( 1993 case $ac_var in #(
2728 _ | IFS | as_nl) ;; #( 1994 _ | IFS | as_nl) ;; #(
2729 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1995 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2730 *) { eval $ac_var=; unset $ac_var;} ;; 1996 *) $as_unset $ac_var ;;
2731 esac ;; 1997 esac ;;
2732 esac 1998 esac
2733 done 1999 done
@@ -2799,39 +2065,37 @@ _ASBOX
2799 exit $exit_status 2065 exit $exit_status
2800' 0 2066' 0
2801for ac_signal in 1 2 13 15; do 2067for ac_signal in 1 2 13 15; do
2802 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2068 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2803done 2069done
2804ac_signal=0 2070ac_signal=0
2805 2071
2806# confdefs.h avoids OS command line length limits that DEFS can exceed. 2072# confdefs.h avoids OS command line length limits that DEFS can exceed.
2807rm -f -r conftest* confdefs.h 2073rm -f -r conftest* confdefs.h
2808 2074
2809$as_echo "/* confdefs.h */" > confdefs.h
2810
2811# Predefined preprocessor variables. 2075# Predefined preprocessor variables.
2812 2076
2813cat >>confdefs.h <<_ACEOF 2077cat >>confdefs.h <<_ACEOF
2814#define PACKAGE_NAME "$PACKAGE_NAME" 2078#define PACKAGE_NAME "$PACKAGE_NAME"
2815_ACEOF 2079_ACEOF
2816 2080
2081
2817cat >>confdefs.h <<_ACEOF 2082cat >>confdefs.h <<_ACEOF
2818#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2083#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2819_ACEOF 2084_ACEOF
2820 2085
2086
2821cat >>confdefs.h <<_ACEOF 2087cat >>confdefs.h <<_ACEOF
2822#define PACKAGE_VERSION "$PACKAGE_VERSION" 2088#define PACKAGE_VERSION "$PACKAGE_VERSION"
2823_ACEOF 2089_ACEOF
2824 2090
2091
2825cat >>confdefs.h <<_ACEOF 2092cat >>confdefs.h <<_ACEOF
2826#define PACKAGE_STRING "$PACKAGE_STRING" 2093#define PACKAGE_STRING "$PACKAGE_STRING"
2827_ACEOF 2094_ACEOF
2828 2095
2829cat >>confdefs.h <<_ACEOF
2830#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2831_ACEOF
2832 2096
2833cat >>confdefs.h <<_ACEOF 2097cat >>confdefs.h <<_ACEOF
2834#define PACKAGE_URL "$PACKAGE_URL" 2098#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2835_ACEOF 2099_ACEOF
2836 2100
2837 2101
@@ -2851,8 +2115,8 @@ fi
2851for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2115for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2852do 2116do
2853 test "x$ac_site_file" = xNONE && continue 2117 test "x$ac_site_file" = xNONE && continue
2854 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2118 if test -r "$ac_site_file"; then
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2119 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2856$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2120$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2857 sed 's/^/| /' "$ac_site_file" >&5 2121 sed 's/^/| /' "$ac_site_file" >&5
2858 . "$ac_site_file" 2122 . "$ac_site_file"
@@ -2860,10 +2124,10 @@ $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2860done 2124done
2861 2125
2862if test -r "$cache_file"; then 2126if test -r "$cache_file"; then
2863 # Some versions of bash will fail to source /dev/null (special files 2127 # Some versions of bash will fail to source /dev/null (special
2864 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2128 # files actually), so we avoid doing that.
2865 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2129 if test -f "$cache_file"; then
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2130 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2867$as_echo "$as_me: loading cache $cache_file" >&6;} 2131$as_echo "$as_me: loading cache $cache_file" >&6;}
2868 case $cache_file in 2132 case $cache_file in
2869 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2133 [\\/]* | ?:[\\/]* ) . "$cache_file";;
@@ -2871,7 +2135,7 @@ $as_echo "$as_me: loading cache $cache_file" >&6;}
2871 esac 2135 esac
2872 fi 2136 fi
2873else 2137else
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2138 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2875$as_echo "$as_me: creating cache $cache_file" >&6;} 2139$as_echo "$as_me: creating cache $cache_file" >&6;}
2876 >$cache_file 2140 >$cache_file
2877fi 2141fi
@@ -2887,11 +2151,11 @@ for ac_var in $ac_precious_vars; do
2887 eval ac_new_val=\$ac_env_${ac_var}_value 2151 eval ac_new_val=\$ac_env_${ac_var}_value
2888 case $ac_old_set,$ac_new_set in 2152 case $ac_old_set,$ac_new_set in
2889 set,) 2153 set,)
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2154 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2891$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2155$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2892 ac_cache_corrupted=: ;; 2156 ac_cache_corrupted=: ;;
2893 ,set) 2157 ,set)
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2158 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2895$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2159$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2896 ac_cache_corrupted=: ;; 2160 ac_cache_corrupted=: ;;
2897 ,);; 2161 ,);;
@@ -2901,17 +2165,17 @@ $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2901 ac_old_val_w=`echo x $ac_old_val` 2165 ac_old_val_w=`echo x $ac_old_val`
2902 ac_new_val_w=`echo x $ac_new_val` 2166 ac_new_val_w=`echo x $ac_new_val`
2903 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2167 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2168 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2905$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2169$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2906 ac_cache_corrupted=: 2170 ac_cache_corrupted=:
2907 else 2171 else
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2172 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2909$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2173$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2910 eval $ac_var=\$ac_old_val 2174 eval $ac_var=\$ac_old_val
2911 fi 2175 fi
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2176 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2913$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2177$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2178 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2915$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2179$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2916 fi;; 2180 fi;;
2917 esac 2181 esac
@@ -2923,20 +2187,43 @@ $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2923 esac 2187 esac
2924 case " $ac_configure_args " in 2188 case " $ac_configure_args " in
2925 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2189 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2926 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2190 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2927 esac 2191 esac
2928 fi 2192 fi
2929done 2193done
2930if $ac_cache_corrupted; then 2194if $ac_cache_corrupted; then
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2195 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2932$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2196$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2197 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2934$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2198$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2935 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2199 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2200$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2201 { (exit 1); exit 1; }; }
2936fi 2202fi
2937## -------------------- ## 2203
2938## Main body of script. ## 2204
2939## -------------------- ## 2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2940 2227
2941ac_ext=c 2228ac_ext=c
2942ac_cpp='$CPP $CPPFLAGS' 2229ac_cpp='$CPP $CPPFLAGS'
@@ -2972,27 +2259,35 @@ SCILAB_LIBRARY_VERSION=5:2:0
2972# Check if we have a space in the path to the source tree 2259# Check if we have a space in the path to the source tree
2973SPACE_IN_PATH=`echo "$SCI_SRCDIR_FULL"|grep " " > /dev/null; echo $?` 2260SPACE_IN_PATH=`echo "$SCI_SRCDIR_FULL"|grep " " > /dev/null; echo $?`
2974if test "$SPACE_IN_PATH" = "0"; then 2261if test "$SPACE_IN_PATH" = "0"; then
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: =====================================" >&5 2262 { $as_echo "$as_me:$LINENO: WARNING: =====================================" >&5
2976$as_echo "$as_me: WARNING: =====================================" >&2;} 2263$as_echo "$as_me: WARNING: =====================================" >&2;}
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Configure thinks that there is a space in the path to the source. This may cause problem with libtool and some other things..." >&5 2264 { $as_echo "$as_me:$LINENO: WARNING: Configure thinks that there is a space in the path to the source. This may cause problem with libtool and some other things..." >&5
2978$as_echo "$as_me: WARNING: Configure thinks that there is a space in the path to the source. This may cause problem with libtool and some other things..." >&2;} 2265$as_echo "$as_me: WARNING: Configure thinks that there is a space in the path to the source. This may cause problem with libtool and some other things..." >&2;}
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: =====================================" >&5 2266 { $as_echo "$as_me:$LINENO: WARNING: =====================================" >&5
2980$as_echo "$as_me: WARNING: =====================================" >&2;} 2267$as_echo "$as_me: WARNING: =====================================" >&2;}
2981 sleep 180 2268 sleep 180
2982fi 2269fi
2983 2270
2984ac_aux_dir= 2271ac_aux_dir=
2985for ac_dir in config "$srcdir"/config; do 2272for ac_dir in config "$srcdir"/config; do
2986 for ac_t in install-sh install.sh shtool; do 2273 if test -f "$ac_dir/install-sh"; then
2987 if test -f "$ac_dir/$ac_t"; then 2274 ac_aux_dir=$ac_dir
2988 ac_aux_dir=$ac_dir 2275 ac_install_sh="$ac_aux_dir/install-sh -c"
2989 ac_install_sh="$ac_aux_dir/$ac_t -c" 2276 break
2990 break 2 2277 elif test -f "$ac_dir/install.sh"; then
2991 fi 2278 ac_aux_dir=$ac_dir
2992 done 2279 ac_install_sh="$ac_aux_dir/install.sh -c"
2280 break
2281 elif test -f "$ac_dir/shtool"; then
2282 ac_aux_dir=$ac_dir
2283 ac_install_sh="$ac_aux_dir/shtool install -c"
2284 break
2285 fi
2993done 2286done
2994if test -z "$ac_aux_dir"; then 2287if test -z "$ac_aux_dir"; then
2995 as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5 2288 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
2289$as_echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
2290 { (exit 1); exit 1; }; }
2996fi 2291fi
2997 2292
2998# These three variables are undocumented and unsupported, 2293# These three variables are undocumented and unsupported,
@@ -3028,9 +2323,9 @@ if test "$cross_compiling" != no; then
3028 if test -n "$ac_tool_prefix"; then 2323 if test -n "$ac_tool_prefix"; then
3029 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2324 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3030set dummy ${ac_tool_prefix}strip; ac_word=$2 2325set dummy ${ac_tool_prefix}strip; ac_word=$2
3031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2326{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3032$as_echo_n "checking for $ac_word... " >&6; } 2327$as_echo_n "checking for $ac_word... " >&6; }
3033if test "${ac_cv_prog_STRIP+set}" = set; then : 2328if test "${ac_cv_prog_STRIP+set}" = set; then
3034 $as_echo_n "(cached) " >&6 2329 $as_echo_n "(cached) " >&6
3035else 2330else
3036 if test -n "$STRIP"; then 2331 if test -n "$STRIP"; then
@@ -3041,24 +2336,24 @@ for as_dir in $PATH
3041do 2336do
3042 IFS=$as_save_IFS 2337 IFS=$as_save_IFS
3043 test -z "$as_dir" && as_dir=. 2338 test -z "$as_dir" && as_dir=.
3044 for ac_exec_ext in '' $ac_executable_extensions; do 2339 for ac_exec_ext in '' $ac_executable_extensions; do
3045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3046 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2341 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2342 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3048 break 2 2343 break 2
3049 fi 2344 fi
3050done 2345done
3051 done 2346done
3052IFS=$as_save_IFS 2347IFS=$as_save_IFS
3053 2348
3054fi 2349fi
3055fi 2350fi
3056STRIP=$ac_cv_prog_STRIP 2351STRIP=$ac_cv_prog_STRIP
3057if test -n "$STRIP"; then 2352if test -n "$STRIP"; then
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2353 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
3059$as_echo "$STRIP" >&6; } 2354$as_echo "$STRIP" >&6; }
3060else 2355else
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2356 { $as_echo "$as_me:$LINENO: result: no" >&5
3062$as_echo "no" >&6; } 2357$as_echo "no" >&6; }
3063fi 2358fi
3064 2359
@@ -3068,9 +2363,9 @@ if test -z "$ac_cv_prog_STRIP"; then
3068 ac_ct_STRIP=$STRIP 2363 ac_ct_STRIP=$STRIP
3069 # Extract the first word of "strip", so it can be a program name with args. 2364 # Extract the first word of "strip", so it can be a program name with args.
3070set dummy strip; ac_word=$2 2365set dummy strip; ac_word=$2
3071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2366{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3072$as_echo_n "checking for $ac_word... " >&6; } 2367$as_echo_n "checking for $ac_word... " >&6; }
3073if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 2368if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3074 $as_echo_n "(cached) " >&6 2369 $as_echo_n "(cached) " >&6
3075else 2370else
3076 if test -n "$ac_ct_STRIP"; then 2371 if test -n "$ac_ct_STRIP"; then
@@ -3081,24 +2376,24 @@ for as_dir in $PATH
3081do 2376do
3082 IFS=$as_save_IFS 2377 IFS=$as_save_IFS
3083 test -z "$as_dir" && as_dir=. 2378 test -z "$as_dir" && as_dir=.
3084 for ac_exec_ext in '' $ac_executable_extensions; do 2379 for ac_exec_ext in '' $ac_executable_extensions; do
3085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3086 ac_cv_prog_ac_ct_STRIP="strip" 2381 ac_cv_prog_ac_ct_STRIP="strip"
3087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2382 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3088 break 2 2383 break 2
3089 fi 2384 fi
3090done 2385done
3091 done 2386done
3092IFS=$as_save_IFS 2387IFS=$as_save_IFS
3093 2388
3094fi 2389fi
3095fi 2390fi
3096ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2391ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3097if test -n "$ac_ct_STRIP"; then 2392if test -n "$ac_ct_STRIP"; then
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2393 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3099$as_echo "$ac_ct_STRIP" >&6; } 2394$as_echo "$ac_ct_STRIP" >&6; }
3100else 2395else
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2396 { $as_echo "$as_me:$LINENO: result: no" >&5
3102$as_echo "no" >&6; } 2397$as_echo "no" >&6; }
3103fi 2398fi
3104 2399
@@ -3107,7 +2402,7 @@ fi
3107 else 2402 else
3108 case $cross_compiling:$ac_tool_warned in 2403 case $cross_compiling:$ac_tool_warned in
3109yes:) 2404yes:)
3110{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2405{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3111$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2406$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3112ac_tool_warned=yes ;; 2407ac_tool_warned=yes ;;
3113esac 2408esac
@@ -3120,14 +2415,14 @@ fi
3120fi 2415fi
3121INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2416INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3122 2417
3123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 2418{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3124$as_echo_n "checking whether ln -s works... " >&6; } 2419$as_echo_n "checking whether ln -s works... " >&6; }
3125LN_S=$as_ln_s 2420LN_S=$as_ln_s
3126if test "$LN_S" = "ln -s"; then 2421if test "$LN_S" = "ln -s"; then
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2422 { $as_echo "$as_me:$LINENO: result: yes" >&5
3128$as_echo "yes" >&6; } 2423$as_echo "yes" >&6; }
3129else 2424else
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 2425 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3131$as_echo "no, using $LN_S" >&6; } 2426$as_echo "no, using $LN_S" >&6; }
3132fi 2427fi
3133 2428
@@ -3140,9 +2435,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
3140if test -n "$ac_tool_prefix"; then 2435if test -n "$ac_tool_prefix"; then
3141 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2436 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3142set dummy ${ac_tool_prefix}gcc; ac_word=$2 2437set dummy ${ac_tool_prefix}gcc; ac_word=$2
3143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2438{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3144$as_echo_n "checking for $ac_word... " >&6; } 2439$as_echo_n "checking for $ac_word... " >&6; }
3145if test "${ac_cv_prog_CC+set}" = set; then : 2440if test "${ac_cv_prog_CC+set}" = set; then
3146 $as_echo_n "(cached) " >&6 2441 $as_echo_n "(cached) " >&6
3147else 2442else
3148 if test -n "$CC"; then 2443 if test -n "$CC"; then
@@ -3153,24 +2448,24 @@ for as_dir in $PATH
3153do 2448do
3154 IFS=$as_save_IFS 2449 IFS=$as_save_IFS
3155 test -z "$as_dir" && as_dir=. 2450 test -z "$as_dir" && as_dir=.
3156 for ac_exec_ext in '' $ac_executable_extensions; do 2451 for ac_exec_ext in '' $ac_executable_extensions; do
3157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3158 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2453 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2454 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3160 break 2 2455 break 2
3161 fi 2456 fi
3162done 2457done
3163 done 2458done
3164IFS=$as_save_IFS 2459IFS=$as_save_IFS
3165 2460
3166fi 2461fi
3167fi 2462fi
3168CC=$ac_cv_prog_CC 2463CC=$ac_cv_prog_CC
3169if test -n "$CC"; then 2464if test -n "$CC"; then
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2465 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3171$as_echo "$CC" >&6; } 2466$as_echo "$CC" >&6; }
3172else 2467else
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2468 { $as_echo "$as_me:$LINENO: result: no" >&5
3174$as_echo "no" >&6; } 2469$as_echo "no" >&6; }
3175fi 2470fi
3176 2471
@@ -3180,9 +2475,9 @@ if test -z "$ac_cv_prog_CC"; then
3180 ac_ct_CC=$CC 2475 ac_ct_CC=$CC
3181 # Extract the first word of "gcc", so it can be a program name with args. 2476 # Extract the first word of "gcc", so it can be a program name with args.
3182set dummy gcc; ac_word=$2 2477set dummy gcc; ac_word=$2
3183{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2478{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3184$as_echo_n "checking for $ac_word... " >&6; } 2479$as_echo_n "checking for $ac_word... " >&6; }
3185if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2480if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3186 $as_echo_n "(cached) " >&6 2481 $as_echo_n "(cached) " >&6
3187else 2482else
3188 if test -n "$ac_ct_CC"; then 2483 if test -n "$ac_ct_CC"; then
@@ -3193,24 +2488,24 @@ for as_dir in $PATH
3193do 2488do
3194 IFS=$as_save_IFS 2489 IFS=$as_save_IFS
3195 test -z "$as_dir" && as_dir=. 2490 test -z "$as_dir" && as_dir=.
3196 for ac_exec_ext in '' $ac_executable_extensions; do 2491 for ac_exec_ext in '' $ac_executable_extensions; do
3197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3198 ac_cv_prog_ac_ct_CC="gcc" 2493 ac_cv_prog_ac_ct_CC="gcc"
3199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2494 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3200 break 2 2495 break 2
3201 fi 2496 fi
3202done 2497done
3203 done 2498done
3204IFS=$as_save_IFS 2499IFS=$as_save_IFS
3205 2500
3206fi 2501fi
3207fi 2502fi
3208ac_ct_CC=$ac_cv_prog_ac_ct_CC 2503ac_ct_CC=$ac_cv_prog_ac_ct_CC
3209if test -n "$ac_ct_CC"; then 2504if test -n "$ac_ct_CC"; then
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2505 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3211$as_echo "$ac_ct_CC" >&6; } 2506$as_echo "$ac_ct_CC" >&6; }
3212else 2507else
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2508 { $as_echo "$as_me:$LINENO: result: no" >&5
3214$as_echo "no" >&6; } 2509$as_echo "no" >&6; }
3215fi 2510fi
3216 2511
@@ -3219,7 +2514,7 @@ fi
3219 else 2514 else
3220 case $cross_compiling:$ac_tool_warned in 2515 case $cross_compiling:$ac_tool_warned in
3221yes:) 2516yes:)
3222{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2517{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3223$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2518$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3224ac_tool_warned=yes ;; 2519ac_tool_warned=yes ;;
3225esac 2520esac
@@ -3233,9 +2528,9 @@ if test -z "$CC"; then
3233 if test -n "$ac_tool_prefix"; then 2528 if test -n "$ac_tool_prefix"; then
3234 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2529 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3235set dummy ${ac_tool_prefix}cc; ac_word=$2 2530set dummy ${ac_tool_prefix}cc; ac_word=$2
3236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2531{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3237$as_echo_n "checking for $ac_word... " >&6; } 2532$as_echo_n "checking for $ac_word... " >&6; }
3238if test "${ac_cv_prog_CC+set}" = set; then : 2533if test "${ac_cv_prog_CC+set}" = set; then
3239 $as_echo_n "(cached) " >&6 2534 $as_echo_n "(cached) " >&6
3240else 2535else
3241 if test -n "$CC"; then 2536 if test -n "$CC"; then
@@ -3246,24 +2541,24 @@ for as_dir in $PATH
3246do 2541do
3247 IFS=$as_save_IFS 2542 IFS=$as_save_IFS
3248 test -z "$as_dir" && as_dir=. 2543 test -z "$as_dir" && as_dir=.
3249 for ac_exec_ext in '' $ac_executable_extensions; do 2544 for ac_exec_ext in '' $ac_executable_extensions; do
3250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3251 ac_cv_prog_CC="${ac_tool_prefix}cc" 2546 ac_cv_prog_CC="${ac_tool_prefix}cc"
3252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2547 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3253 break 2 2548 break 2
3254 fi 2549 fi
3255done 2550done
3256 done 2551done
3257IFS=$as_save_IFS 2552IFS=$as_save_IFS
3258 2553
3259fi 2554fi
3260fi 2555fi
3261CC=$ac_cv_prog_CC 2556CC=$ac_cv_prog_CC
3262if test -n "$CC"; then 2557if test -n "$CC"; then
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2558 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3264$as_echo "$CC" >&6; } 2559$as_echo "$CC" >&6; }
3265else 2560else
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2561 { $as_echo "$as_me:$LINENO: result: no" >&5
3267$as_echo "no" >&6; } 2562$as_echo "no" >&6; }
3268fi 2563fi
3269 2564
@@ -3273,9 +2568,9 @@ fi
3273if test -z "$CC"; then 2568if test -z "$CC"; then
3274 # Extract the first word of "cc", so it can be a program name with args. 2569 # Extract the first word of "cc", so it can be a program name with args.
3275set dummy cc; ac_word=$2 2570set dummy cc; ac_word=$2
3276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2571{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3277$as_echo_n "checking for $ac_word... " >&6; } 2572$as_echo_n "checking for $ac_word... " >&6; }
3278if test "${ac_cv_prog_CC+set}" = set; then : 2573if test "${ac_cv_prog_CC+set}" = set; then
3279 $as_echo_n "(cached) " >&6 2574 $as_echo_n "(cached) " >&6
3280else 2575else
3281 if test -n "$CC"; then 2576 if test -n "$CC"; then
@@ -3287,18 +2582,18 @@ for as_dir in $PATH
3287do 2582do
3288 IFS=$as_save_IFS 2583 IFS=$as_save_IFS
3289 test -z "$as_dir" && as_dir=. 2584 test -z "$as_dir" && as_dir=.
3290 for ac_exec_ext in '' $ac_executable_extensions; do 2585 for ac_exec_ext in '' $ac_executable_extensions; do
3291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3292 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2587 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3293 ac_prog_rejected=yes 2588 ac_prog_rejected=yes
3294 continue 2589 continue
3295 fi 2590 fi
3296 ac_cv_prog_CC="cc" 2591 ac_cv_prog_CC="cc"
3297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2592 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3298 break 2 2593 break 2
3299 fi 2594 fi
3300done 2595done
3301 done 2596done
3302IFS=$as_save_IFS 2597IFS=$as_save_IFS
3303 2598
3304if test $ac_prog_rejected = yes; then 2599if test $ac_prog_rejected = yes; then
@@ -3317,10 +2612,10 @@ fi
3317fi 2612fi
3318CC=$ac_cv_prog_CC 2613CC=$ac_cv_prog_CC
3319if test -n "$CC"; then 2614if test -n "$CC"; then
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2615 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3321$as_echo "$CC" >&6; } 2616$as_echo "$CC" >&6; }
3322else 2617else
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2618 { $as_echo "$as_me:$LINENO: result: no" >&5
3324$as_echo "no" >&6; } 2619$as_echo "no" >&6; }
3325fi 2620fi
3326 2621
@@ -3332,9 +2627,9 @@ if test -z "$CC"; then
3332 do 2627 do
3333 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2628 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3334set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2629set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2630{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3336$as_echo_n "checking for $ac_word... " >&6; } 2631$as_echo_n "checking for $ac_word... " >&6; }
3337if test "${ac_cv_prog_CC+set}" = set; then : 2632if test "${ac_cv_prog_CC+set}" = set; then
3338 $as_echo_n "(cached) " >&6 2633 $as_echo_n "(cached) " >&6
3339else 2634else
3340 if test -n "$CC"; then 2635 if test -n "$CC"; then
@@ -3345,24 +2640,24 @@ for as_dir in $PATH
3345do 2640do
3346 IFS=$as_save_IFS 2641 IFS=$as_save_IFS
3347 test -z "$as_dir" && as_dir=. 2642 test -z "$as_dir" && as_dir=.
3348 for ac_exec_ext in '' $ac_executable_extensions; do 2643 for ac_exec_ext in '' $ac_executable_extensions; do
3349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3350 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2645 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2646 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3352 break 2 2647 break 2
3353 fi 2648 fi
3354done 2649done
3355 done 2650done
3356IFS=$as_save_IFS 2651IFS=$as_save_IFS
3357 2652
3358fi 2653fi
3359fi 2654fi
3360CC=$ac_cv_prog_CC 2655CC=$ac_cv_prog_CC
3361if test -n "$CC"; then 2656if test -n "$CC"; then
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2657 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3363$as_echo "$CC" >&6; } 2658$as_echo "$CC" >&6; }
3364else 2659else
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2660 { $as_echo "$as_me:$LINENO: result: no" >&5
3366$as_echo "no" >&6; } 2661$as_echo "no" >&6; }
3367fi 2662fi
3368 2663
@@ -3376,9 +2671,9 @@ if test -z "$CC"; then
3376do 2671do
3377 # Extract the first word of "$ac_prog", so it can be a program name with args. 2672 # Extract the first word of "$ac_prog", so it can be a program name with args.
3378set dummy $ac_prog; ac_word=$2 2673set dummy $ac_prog; ac_word=$2
3379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2674{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3380$as_echo_n "checking for $ac_word... " >&6; } 2675$as_echo_n "checking for $ac_word... " >&6; }
3381if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2676if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3382 $as_echo_n "(cached) " >&6 2677 $as_echo_n "(cached) " >&6
3383else 2678else
3384 if test -n "$ac_ct_CC"; then 2679 if test -n "$ac_ct_CC"; then
@@ -3389,24 +2684,24 @@ for as_dir in $PATH
3389do 2684do
3390 IFS=$as_save_IFS 2685 IFS=$as_save_IFS
3391 test -z "$as_dir" && as_dir=. 2686 test -z "$as_dir" && as_dir=.
3392 for ac_exec_ext in '' $ac_executable_extensions; do 2687 for ac_exec_ext in '' $ac_executable_extensions; do
3393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3394 ac_cv_prog_ac_ct_CC="$ac_prog" 2689 ac_cv_prog_ac_ct_CC="$ac_prog"
3395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2690 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3396 break 2 2691 break 2
3397 fi 2692 fi
3398done 2693done
3399 done 2694done
3400IFS=$as_save_IFS 2695IFS=$as_save_IFS
3401 2696
3402fi 2697fi
3403fi 2698fi
3404ac_ct_CC=$ac_cv_prog_ac_ct_CC 2699ac_ct_CC=$ac_cv_prog_ac_ct_CC
3405if test -n "$ac_ct_CC"; then 2700if test -n "$ac_ct_CC"; then
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2701 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3407$as_echo "$ac_ct_CC" >&6; } 2702$as_echo "$ac_ct_CC" >&6; }
3408else 2703else
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2704 { $as_echo "$as_me:$LINENO: result: no" >&5
3410$as_echo "no" >&6; } 2705$as_echo "no" >&6; }
3411fi 2706fi
3412 2707
@@ -3419,7 +2714,7 @@ done
3419 else 2714 else
3420 case $cross_compiling:$ac_tool_warned in 2715 case $cross_compiling:$ac_tool_warned in
3421yes:) 2716yes:)
3422{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2717{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3423$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2718$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3424ac_tool_warned=yes ;; 2719ac_tool_warned=yes ;;
3425esac 2720esac
@@ -3430,37 +2725,57 @@ fi
3430fi 2725fi
3431 2726
3432 2727
3433test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2728test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3434$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2729$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3435as_fn_error "no acceptable C compiler found in \$PATH 2730{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3436See \`config.log' for more details." "$LINENO" 5; } 2731See \`config.log' for more details." >&5
2732$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2733See \`config.log' for more details." >&2;}
2734 { (exit 1); exit 1; }; }; }
3437 2735
3438# Provide some information about the compiler. 2736# Provide some information about the compiler.
3439$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2737$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3440set X $ac_compile 2738set X $ac_compile
3441ac_compiler=$2 2739ac_compiler=$2
3442for ac_option in --version -v -V -qversion; do 2740{ (ac_try="$ac_compiler --version >&5"
3443 { { ac_try="$ac_compiler $ac_option >&5"
3444case "(($ac_try" in 2741case "(($ac_try" in
3445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3446 *) ac_try_echo=$ac_try;; 2743 *) ac_try_echo=$ac_try;;
3447esac 2744esac
3448eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2745eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3449$as_echo "$ac_try_echo"; } >&5 2746$as_echo "$ac_try_echo") >&5
3450 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2747 (eval "$ac_compiler --version >&5") 2>&5
3451 ac_status=$? 2748 ac_status=$?
3452 if test -s conftest.err; then 2749 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453 sed '10a\ 2750 (exit $ac_status); }
3454... rest of stderr output deleted ... 2751{ (ac_try="$ac_compiler -v >&5"
3455 10q' conftest.err >conftest.er1 2752case "(($ac_try" in
3456 cat conftest.er1 >&5 2753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3457 fi 2754 *) ac_try_echo=$ac_try;;
3458 rm -f conftest.er1 conftest.err 2755esac
3459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2756eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3460 test $ac_status = 0; } 2757$as_echo "$ac_try_echo") >&5
3461done 2758 (eval "$ac_compiler -v >&5") 2>&5
2759 ac_status=$?
2760 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }
2762{ (ac_try="$ac_compiler -V >&5"
2763case "(($ac_try" in
2764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2765 *) ac_try_echo=$ac_try;;
2766esac
2767eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2768$as_echo "$ac_try_echo") >&5
2769 (eval "$ac_compiler -V >&5") 2>&5
2770 ac_status=$?
2771 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772 (exit $ac_status); }
3462 2773
3463cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2774cat >conftest.$ac_ext <<_ACEOF
2775/* confdefs.h. */
2776_ACEOF
2777cat confdefs.h >>conftest.$ac_ext
2778cat >>conftest.$ac_ext <<_ACEOF
3464/* end confdefs.h. */ 2779/* end confdefs.h. */
3465 2780
3466int 2781int
@@ -3476,8 +2791,8 @@ ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3476# Try to create an executable without -o first, disregard a.out. 2791# Try to create an executable without -o first, disregard a.out.
3477# It will help us diagnose broken compilers, and finding out an intuition 2792# It will help us diagnose broken compilers, and finding out an intuition
3478# of exeext. 2793# of exeext.
3479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2794{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3480$as_echo_n "checking whether the C compiler works... " >&6; } 2795$as_echo_n "checking for C compiler default output file name... " >&6; }
3481ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2796ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3482 2797
3483# The possible output files: 2798# The possible output files:
@@ -3493,17 +2808,17 @@ do
3493done 2808done
3494rm -f $ac_rmfiles 2809rm -f $ac_rmfiles
3495 2810
3496if { { ac_try="$ac_link_default" 2811if { (ac_try="$ac_link_default"
3497case "(($ac_try" in 2812case "(($ac_try" in
3498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3499 *) ac_try_echo=$ac_try;; 2814 *) ac_try_echo=$ac_try;;
3500esac 2815esac
3501eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2816eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3502$as_echo "$ac_try_echo"; } >&5 2817$as_echo "$ac_try_echo") >&5
3503 (eval "$ac_link_default") 2>&5 2818 (eval "$ac_link_default") 2>&5
3504 ac_status=$? 2819 ac_status=$?
3505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2820 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3506 test $ac_status = 0; }; then : 2821 (exit $ac_status); }; then
3507 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2822 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3508# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2823# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3509# in a Makefile. We should not override ac_cv_exeext if it was cached, 2824# in a Makefile. We should not override ac_cv_exeext if it was cached,
@@ -3520,7 +2835,7 @@ do
3520 # certainly right. 2835 # certainly right.
3521 break;; 2836 break;;
3522 *.* ) 2837 *.* )
3523 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2838 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3524 then :; else 2839 then :; else
3525 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2840 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3526 fi 2841 fi
@@ -3539,42 +2854,84 @@ test "$ac_cv_exeext" = no && ac_cv_exeext=
3539else 2854else
3540 ac_file='' 2855 ac_file=''
3541fi 2856fi
3542if test -z "$ac_file"; then : 2857
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2858{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3544$as_echo "no" >&6; } 2859$as_echo "$ac_file" >&6; }
3545$as_echo "$as_me: failed program was:" >&5 2860if test -z "$ac_file"; then
2861 $as_echo "$as_me: failed program was:" >&5
3546sed 's/^/| /' conftest.$ac_ext >&5 2862sed 's/^/| /' conftest.$ac_ext >&5
3547 2863
3548{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2864{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3549$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2865$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3550{ as_fn_set_status 77 2866{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3551as_fn_error "C compiler cannot create executables 2867See \`config.log' for more details." >&5
3552See \`config.log' for more details." "$LINENO" 5; }; } 2868$as_echo "$as_me: error: C compiler cannot create executables
3553else 2869See \`config.log' for more details." >&2;}
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2870 { (exit 77); exit 77; }; }; }
3555$as_echo "yes" >&6; }
3556fi 2871fi
3557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2872
3558$as_echo_n "checking for C compiler default output file name... " >&6; }
3559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3560$as_echo "$ac_file" >&6; }
3561ac_exeext=$ac_cv_exeext 2873ac_exeext=$ac_cv_exeext
3562 2874
2875# Check that the compiler produces executables we can run. If not, either
2876# the compiler is broken, or we cross compile.
2877{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2878$as_echo_n "checking whether the C compiler works... " >&6; }
2879# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2880# If not cross compiling, check that we can run a simple program.
2881if test "$cross_compiling" != yes; then
2882 if { ac_try='./$ac_file'
2883 { (case "(($ac_try" in
2884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2885 *) ac_try_echo=$ac_try;;
2886esac
2887eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2888$as_echo "$ac_try_echo") >&5
2889 (eval "$ac_try") 2>&5
2890 ac_status=$?
2891 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); }; }; then
2893 cross_compiling=no
2894 else
2895 if test "$cross_compiling" = maybe; then
2896 cross_compiling=yes
2897 else
2898 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2899$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2900{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2901If you meant to cross compile, use \`--host'.
2902See \`config.log' for more details." >&5
2903$as_echo "$as_me: error: cannot run C compiled programs.
2904If you meant to cross compile, use \`--host'.
2905See \`config.log' for more details." >&2;}
2906 { (exit 1); exit 1; }; }; }
2907 fi
2908 fi
2909fi
2910{ $as_echo "$as_me:$LINENO: result: yes" >&5
2911$as_echo "yes" >&6; }
2912
3563rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2913rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3564ac_clean_files=$ac_clean_files_save 2914ac_clean_files=$ac_clean_files_save
3565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2915# Check that the compiler produces executables we can run. If not, either
2916# the compiler is broken, or we cross compile.
2917{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2918$as_echo_n "checking whether we are cross compiling... " >&6; }
2919{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2920$as_echo "$cross_compiling" >&6; }
2921
2922{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3566$as_echo_n "checking for suffix of executables... " >&6; } 2923$as_echo_n "checking for suffix of executables... " >&6; }
3567if { { ac_try="$ac_link" 2924if { (ac_try="$ac_link"
3568case "(($ac_try" in 2925case "(($ac_try" in
3569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3570 *) ac_try_echo=$ac_try;; 2927 *) ac_try_echo=$ac_try;;
3571esac 2928esac
3572eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2929eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3573$as_echo "$ac_try_echo"; } >&5 2930$as_echo "$ac_try_echo") >&5
3574 (eval "$ac_link") 2>&5 2931 (eval "$ac_link") 2>&5
3575 ac_status=$? 2932 ac_status=$?
3576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2933 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577 test $ac_status = 0; }; then : 2934 (exit $ac_status); }; then
3578 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2935 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3579# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2936# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3580# work properly (i.e., refer to `conftest.exe'), while it won't with 2937# work properly (i.e., refer to `conftest.exe'), while it won't with
@@ -3589,83 +2946,32 @@ for ac_file in conftest.exe conftest conftest.*; do
3589 esac 2946 esac
3590done 2947done
3591else 2948else
3592 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2949 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3593$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2950$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3594as_fn_error "cannot compute suffix of executables: cannot compile and link 2951{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3595See \`config.log' for more details." "$LINENO" 5; } 2952See \`config.log' for more details." >&5
2953$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2954See \`config.log' for more details." >&2;}
2955 { (exit 1); exit 1; }; }; }
3596fi 2956fi
3597rm -f conftest conftest$ac_cv_exeext 2957
3598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2958rm -f conftest$ac_cv_exeext
2959{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3599$as_echo "$ac_cv_exeext" >&6; } 2960$as_echo "$ac_cv_exeext" >&6; }
3600 2961
3601rm -f conftest.$ac_ext 2962rm -f conftest.$ac_ext
3602EXEEXT=$ac_cv_exeext 2963EXEEXT=$ac_cv_exeext
3603ac_exeext=$EXEEXT 2964ac_exeext=$EXEEXT
3604cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2965{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3605/* end confdefs.h. */
3606#include <stdio.h>
3607int
3608main ()
3609{
3610FILE *f = fopen ("conftest.out", "w");
3611 return ferror (f) || fclose (f) != 0;
3612
3613 ;
3614 return 0;
3615}
3616_ACEOF
3617ac_clean_files="$ac_clean_files conftest.out"
3618# Check that the compiler produces executables we can run. If not, either
3619# the compiler is broken, or we cross compile.
3620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3621$as_echo_n "checking whether we are cross compiling... " >&6; }
3622if test "$cross_compiling" != yes; then
3623 { { ac_try="$ac_link"
3624case "(($ac_try" in
3625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3626 *) ac_try_echo=$ac_try;;
3627esac
3628eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3629$as_echo "$ac_try_echo"; } >&5
3630 (eval "$ac_link") 2>&5
3631 ac_status=$?
3632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3633 test $ac_status = 0; }
3634 if { ac_try='./conftest$ac_cv_exeext'
3635 { { case "(($ac_try" in
3636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3637 *) ac_try_echo=$ac_try;;
3638esac
3639eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3640$as_echo "$ac_try_echo"; } >&5
3641 (eval "$ac_try") 2>&5
3642 ac_status=$?
3643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3644 test $ac_status = 0; }; }; then
3645 cross_compiling=no
3646 else
3647 if test "$cross_compiling" = maybe; then
3648 cross_compiling=yes
3649 else
3650 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3651$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3652as_fn_error "cannot run C compiled programs.
3653If you meant to cross compile, use \`--host'.
3654See \`config.log' for more details." "$LINENO" 5; }
3655 fi
3656 fi
3657fi
3658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3659$as_echo "$cross_compiling" >&6; }
3660
3661rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3662ac_clean_files=$ac_clean_files_save
3663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3664$as_echo_n "checking for suffix of object files... " >&6; } 2966$as_echo_n "checking for suffix of object files... " >&6; }
3665if test "${ac_cv_objext+set}" = set; then : 2967if test "${ac_cv_objext+set}" = set; then
3666 $as_echo_n "(cached) " >&6 2968 $as_echo_n "(cached) " >&6
3667else 2969else
3668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2970 cat >conftest.$ac_ext <<_ACEOF
2971/* confdefs.h. */
2972_ACEOF
2973cat confdefs.h >>conftest.$ac_ext
2974cat >>conftest.$ac_ext <<_ACEOF
3669/* end confdefs.h. */ 2975/* end confdefs.h. */
3670 2976
3671int 2977int
@@ -3677,17 +2983,17 @@ main ()
3677} 2983}
3678_ACEOF 2984_ACEOF
3679rm -f conftest.o conftest.obj 2985rm -f conftest.o conftest.obj
3680if { { ac_try="$ac_compile" 2986if { (ac_try="$ac_compile"
3681case "(($ac_try" in 2987case "(($ac_try" in
3682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3683 *) ac_try_echo=$ac_try;; 2989 *) ac_try_echo=$ac_try;;
3684esac 2990esac
3685eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2991eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3686$as_echo "$ac_try_echo"; } >&5 2992$as_echo "$ac_try_echo") >&5
3687 (eval "$ac_compile") 2>&5 2993 (eval "$ac_compile") 2>&5
3688 ac_status=$? 2994 ac_status=$?
3689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2995 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690 test $ac_status = 0; }; then : 2996 (exit $ac_status); }; then
3691 for ac_file in conftest.o conftest.obj conftest.*; do 2997 for ac_file in conftest.o conftest.obj conftest.*; do
3692 test -f "$ac_file" || continue; 2998 test -f "$ac_file" || continue;
3693 case $ac_file in 2999 case $ac_file in
@@ -3700,23 +3006,31 @@ else
3700 $as_echo "$as_me: failed program was:" >&5 3006 $as_echo "$as_me: failed program was:" >&5
3701sed 's/^/| /' conftest.$ac_ext >&5 3007sed 's/^/| /' conftest.$ac_ext >&5
3702 3008
3703{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3009{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3704$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3010$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3705as_fn_error "cannot compute suffix of object files: cannot compile 3011{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3706See \`config.log' for more details." "$LINENO" 5; } 3012See \`config.log' for more details." >&5
3013$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3014See \`config.log' for more details." >&2;}
3015 { (exit 1); exit 1; }; }; }
3707fi 3016fi
3017
3708rm -f conftest.$ac_cv_objext conftest.$ac_ext 3018rm -f conftest.$ac_cv_objext conftest.$ac_ext
3709fi 3019fi
3710{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3020{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3711$as_echo "$ac_cv_objext" >&6; } 3021$as_echo "$ac_cv_objext" >&6; }
3712OBJEXT=$ac_cv_objext 3022OBJEXT=$ac_cv_objext
3713ac_objext=$OBJEXT 3023ac_objext=$OBJEXT
3714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3024{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3715$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3025$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3716if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3026if test "${ac_cv_c_compiler_gnu+set}" = set; then
3717 $as_echo_n "(cached) " >&6 3027 $as_echo_n "(cached) " >&6
3718else 3028else
3719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3029 cat >conftest.$ac_ext <<_ACEOF
3030/* confdefs.h. */
3031_ACEOF
3032cat confdefs.h >>conftest.$ac_ext
3033cat >>conftest.$ac_ext <<_ACEOF
3720/* end confdefs.h. */ 3034/* end confdefs.h. */
3721 3035
3722int 3036int
@@ -3730,16 +3044,37 @@ main ()
3730 return 0; 3044 return 0;
3731} 3045}
3732_ACEOF 3046_ACEOF
3733if ac_fn_c_try_compile "$LINENO"; then : 3047rm -f conftest.$ac_objext
3048if { (ac_try="$ac_compile"
3049case "(($ac_try" in
3050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3051 *) ac_try_echo=$ac_try;;
3052esac
3053eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3054$as_echo "$ac_try_echo") >&5
3055 (eval "$ac_compile") 2>conftest.er1
3056 ac_status=$?
3057 grep -v '^ *+' conftest.er1 >conftest.err
3058 rm -f conftest.er1
3059 cat conftest.err >&5
3060 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3061 (exit $ac_status); } && {
3062 test -z "$ac_c_werror_flag" ||
3063 test ! -s conftest.err
3064 } && test -s conftest.$ac_objext; then
3734 ac_compiler_gnu=yes 3065 ac_compiler_gnu=yes
3735else 3066else
3736 ac_compiler_gnu=no 3067 $as_echo "$as_me: failed program was:" >&5
3068sed 's/^/| /' conftest.$ac_ext >&5
3069
3070 ac_compiler_gnu=no
3737fi 3071fi
3072
3738rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3073rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3739ac_cv_c_compiler_gnu=$ac_compiler_gnu 3074ac_cv_c_compiler_gnu=$ac_compiler_gnu
3740 3075
3741fi 3076fi
3742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3077{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3743$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3078$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3744if test $ac_compiler_gnu = yes; then 3079if test $ac_compiler_gnu = yes; then
3745 GCC=yes 3080 GCC=yes
@@ -3748,16 +3083,20 @@ else
3748fi 3083fi
3749ac_test_CFLAGS=${CFLAGS+set} 3084ac_test_CFLAGS=${CFLAGS+set}
3750ac_save_CFLAGS=$CFLAGS 3085ac_save_CFLAGS=$CFLAGS
3751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3086{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3752$as_echo_n "checking whether $CC accepts -g... " >&6; } 3087$as_echo_n "checking whether $CC accepts -g... " >&6; }
3753if test "${ac_cv_prog_cc_g+set}" = set; then : 3088if test "${ac_cv_prog_cc_g+set}" = set; then
3754 $as_echo_n "(cached) " >&6 3089 $as_echo_n "(cached) " >&6
3755else 3090else
3756 ac_save_c_werror_flag=$ac_c_werror_flag 3091 ac_save_c_werror_flag=$ac_c_werror_flag
3757 ac_c_werror_flag=yes 3092 ac_c_werror_flag=yes
3758 ac_cv_prog_cc_g=no 3093 ac_cv_prog_cc_g=no
3759 CFLAGS="-g" 3094 CFLAGS="-g"
3760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3095 cat >conftest.$ac_ext <<_ACEOF
3096/* confdefs.h. */
3097_ACEOF
3098cat confdefs.h >>conftest.$ac_ext
3099cat >>conftest.$ac_ext <<_ACEOF
3761/* end confdefs.h. */ 3100/* end confdefs.h. */
3762 3101
3763int 3102int
@@ -3768,11 +3107,35 @@ main ()
3768 return 0; 3107 return 0;
3769} 3108}
3770_ACEOF 3109_ACEOF
3771if ac_fn_c_try_compile "$LINENO"; then : 3110rm -f conftest.$ac_objext
3111if { (ac_try="$ac_compile"
3112case "(($ac_try" in
3113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3114 *) ac_try_echo=$ac_try;;
3115esac
3116eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3117$as_echo "$ac_try_echo") >&5
3118 (eval "$ac_compile") 2>conftest.er1
3119 ac_status=$?
3120 grep -v '^ *+' conftest.er1 >conftest.err
3121 rm -f conftest.er1
3122 cat conftest.err >&5
3123 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124 (exit $ac_status); } && {
3125 test -z "$ac_c_werror_flag" ||
3126 test ! -s conftest.err
3127 } && test -s conftest.$ac_objext; then
3772 ac_cv_prog_cc_g=yes 3128 ac_cv_prog_cc_g=yes
3773else 3129else
3774 CFLAGS="" 3130 $as_echo "$as_me: failed program was:" >&5
3775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3131sed 's/^/| /' conftest.$ac_ext >&5
3132
3133 CFLAGS=""
3134 cat >conftest.$ac_ext <<_ACEOF
3135/* confdefs.h. */
3136_ACEOF
3137cat confdefs.h >>conftest.$ac_ext
3138cat >>conftest.$ac_ext <<_ACEOF
3776/* end confdefs.h. */ 3139/* end confdefs.h. */
3777 3140
3778int 3141int
@@ -3783,12 +3146,36 @@ main ()
3783 return 0; 3146 return 0;
3784} 3147}
3785_ACEOF 3148_ACEOF
3786if ac_fn_c_try_compile "$LINENO"; then : 3149rm -f conftest.$ac_objext
3787 3150if { (ac_try="$ac_compile"
3151case "(($ac_try" in
3152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3153 *) ac_try_echo=$ac_try;;
3154esac
3155eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3156$as_echo "$ac_try_echo") >&5
3157 (eval "$ac_compile") 2>conftest.er1
3158 ac_status=$?
3159 grep -v '^ *+' conftest.er1 >conftest.err
3160 rm -f conftest.er1
3161 cat conftest.err >&5
3162 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); } && {
3164 test -z "$ac_c_werror_flag" ||
3165 test ! -s conftest.err
3166 } && test -s conftest.$ac_objext; then
3167 :
3788else 3168else
3789 ac_c_werror_flag=$ac_save_c_werror_flag 3169 $as_echo "$as_me: failed program was:" >&5
3170sed 's/^/| /' conftest.$ac_ext >&5
3171
3172 ac_c_werror_flag=$ac_save_c_werror_flag
3790 CFLAGS="-g" 3173 CFLAGS="-g"
3791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3174 cat >conftest.$ac_ext <<_ACEOF
3175/* confdefs.h. */
3176_ACEOF
3177cat confdefs.h >>conftest.$ac_ext
3178cat >>conftest.$ac_ext <<_ACEOF
3792/* end confdefs.h. */ 3179/* end confdefs.h. */
3793 3180
3794int 3181int
@@ -3799,17 +3186,42 @@ main ()
3799 return 0; 3186 return 0;
3800} 3187}
3801_ACEOF 3188_ACEOF
3802if ac_fn_c_try_compile "$LINENO"; then : 3189rm -f conftest.$ac_objext
3190if { (ac_try="$ac_compile"
3191case "(($ac_try" in
3192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3193 *) ac_try_echo=$ac_try;;
3194esac
3195eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3196$as_echo "$ac_try_echo") >&5
3197 (eval "$ac_compile") 2>conftest.er1
3198 ac_status=$?
3199 grep -v '^ *+' conftest.er1 >conftest.err
3200 rm -f conftest.er1
3201 cat conftest.err >&5
3202 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); } && {
3204 test -z "$ac_c_werror_flag" ||
3205 test ! -s conftest.err
3206 } && test -s conftest.$ac_objext; then
3803 ac_cv_prog_cc_g=yes 3207 ac_cv_prog_cc_g=yes
3208else
3209 $as_echo "$as_me: failed program was:" >&5
3210sed 's/^/| /' conftest.$ac_ext >&5
3211
3212
3804fi 3213fi
3214
3805rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3215rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3806fi 3216fi
3217
3807rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3218rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3808fi 3219fi
3220
3809rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3221rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3810 ac_c_werror_flag=$ac_save_c_werror_flag 3222 ac_c_werror_flag=$ac_save_c_werror_flag
3811fi 3223fi
3812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3224{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3813$as_echo "$ac_cv_prog_cc_g" >&6; } 3225$as_echo "$ac_cv_prog_cc_g" >&6; }
3814if test "$ac_test_CFLAGS" = set; then 3226if test "$ac_test_CFLAGS" = set; then
3815 CFLAGS=$ac_save_CFLAGS 3227 CFLAGS=$ac_save_CFLAGS
@@ -3826,14 +3238,18 @@ else
3826 CFLAGS= 3238 CFLAGS=
3827 fi 3239 fi
3828fi 3240fi
3829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3241{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3830$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3242$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3831if test "${ac_cv_prog_cc_c89+set}" = set; then : 3243if test "${ac_cv_prog_cc_c89+set}" = set; then
3832 $as_echo_n "(cached) " >&6 3244 $as_echo_n "(cached) " >&6
3833else 3245else
3834 ac_cv_prog_cc_c89=no 3246 ac_cv_prog_cc_c89=no
3835ac_save_CC=$CC 3247ac_save_CC=$CC
3836cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3248cat >conftest.$ac_ext <<_ACEOF
3249/* confdefs.h. */
3250_ACEOF
3251cat confdefs.h >>conftest.$ac_ext
3252cat >>conftest.$ac_ext <<_ACEOF
3837/* end confdefs.h. */ 3253/* end confdefs.h. */
3838#include <stdarg.h> 3254#include <stdarg.h>
3839#include <stdio.h> 3255#include <stdio.h>
@@ -3890,9 +3306,32 @@ for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3890 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3306 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3891do 3307do
3892 CC="$ac_save_CC $ac_arg" 3308 CC="$ac_save_CC $ac_arg"
3893 if ac_fn_c_try_compile "$LINENO"; then : 3309 rm -f conftest.$ac_objext
3310if { (ac_try="$ac_compile"
3311case "(($ac_try" in
3312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3313 *) ac_try_echo=$ac_try;;
3314esac
3315eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3316$as_echo "$ac_try_echo") >&5
3317 (eval "$ac_compile") 2>conftest.er1
3318 ac_status=$?
3319 grep -v '^ *+' conftest.er1 >conftest.err
3320 rm -f conftest.er1
3321 cat conftest.err >&5
3322 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323 (exit $ac_status); } && {
3324 test -z "$ac_c_werror_flag" ||
3325 test ! -s conftest.err
3326 } && test -s conftest.$ac_objext; then
3894 ac_cv_prog_cc_c89=$ac_arg 3327 ac_cv_prog_cc_c89=$ac_arg
3328else
3329 $as_echo "$as_me: failed program was:" >&5
3330sed 's/^/| /' conftest.$ac_ext >&5
3331
3332
3895fi 3333fi
3334
3896rm -f core conftest.err conftest.$ac_objext 3335rm -f core conftest.err conftest.$ac_objext
3897 test "x$ac_cv_prog_cc_c89" != "xno" && break 3336 test "x$ac_cv_prog_cc_c89" != "xno" && break
3898done 3337done
@@ -3903,19 +3342,17 @@ fi
3903# AC_CACHE_VAL 3342# AC_CACHE_VAL
3904case "x$ac_cv_prog_cc_c89" in 3343case "x$ac_cv_prog_cc_c89" in
3905 x) 3344 x)
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3345 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3907$as_echo "none needed" >&6; } ;; 3346$as_echo "none needed" >&6; } ;;
3908 xno) 3347 xno)
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3348 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3910$as_echo "unsupported" >&6; } ;; 3349$as_echo "unsupported" >&6; } ;;
3911 *) 3350 *)
3912 CC="$CC $ac_cv_prog_cc_c89" 3351 CC="$CC $ac_cv_prog_cc_c89"
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3352 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3914$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3353$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3915esac 3354esac
3916if test "x$ac_cv_prog_cc_c89" != xno; then :
3917 3355
3918fi
3919 3356
3920ac_ext=c 3357ac_ext=c
3921ac_cpp='$CPP $CPPFLAGS' 3358ac_cpp='$CPP $CPPFLAGS'
@@ -3925,15 +3362,15 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
3925 3362
3926 3363
3927# Check whether --enable-largefile was given. 3364# Check whether --enable-largefile was given.
3928if test "${enable_largefile+set}" = set; then : 3365if test "${enable_largefile+set}" = set; then
3929 enableval=$enable_largefile; 3366 enableval=$enable_largefile;
3930fi 3367fi
3931 3368
3932if test "$enable_largefile" != no; then 3369if test "$enable_largefile" != no; then
3933 3370
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 3371 { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
3935$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 3372$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
3936if test "${ac_cv_sys_largefile_CC+set}" = set; then : 3373if test "${ac_cv_sys_largefile_CC+set}" = set; then
3937 $as_echo_n "(cached) " >&6 3374 $as_echo_n "(cached) " >&6
3938else 3375else
3939 ac_cv_sys_largefile_CC=no 3376 ac_cv_sys_largefile_CC=no
@@ -3942,7 +3379,11 @@ else
3942 while :; do 3379 while :; do
3943 # IRIX 6.2 and later do not support large files by default, 3380 # IRIX 6.2 and later do not support large files by default,
3944 # so use the C compiler's -n32 option if that helps. 3381 # so use the C compiler's -n32 option if that helps.
3945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3382 cat >conftest.$ac_ext <<_ACEOF
3383/* confdefs.h. */
3384_ACEOF
3385cat confdefs.h >>conftest.$ac_ext
3386cat >>conftest.$ac_ext <<_ACEOF
3946/* end confdefs.h. */ 3387/* end confdefs.h. */
3947#include <sys/types.h> 3388#include <sys/types.h>
3948 /* Check that off_t can represent 2**63 - 1 correctly. 3389 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -3961,14 +3402,60 @@ main ()
3961 return 0; 3402 return 0;
3962} 3403}
3963_ACEOF 3404_ACEOF
3964 if ac_fn_c_try_compile "$LINENO"; then : 3405 rm -f conftest.$ac_objext
3406if { (ac_try="$ac_compile"
3407case "(($ac_try" in
3408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3409 *) ac_try_echo=$ac_try;;
3410esac
3411eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3412$as_echo "$ac_try_echo") >&5
3413 (eval "$ac_compile") 2>conftest.er1
3414 ac_status=$?
3415 grep -v '^ *+' conftest.er1 >conftest.err
3416 rm -f conftest.er1
3417 cat conftest.err >&5
3418 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419 (exit $ac_status); } && {
3420 test -z "$ac_c_werror_flag" ||
3421 test ! -s conftest.err
3422 } && test -s conftest.$ac_objext; then
3965 break 3423 break
3424else
3425 $as_echo "$as_me: failed program was:" >&5
3426sed 's/^/| /' conftest.$ac_ext >&5
3427
3428
3966fi 3429fi
3430
3967rm -f core conftest.err conftest.$ac_objext 3431rm -f core conftest.err conftest.$ac_objext
3968 CC="$CC -n32" 3432 CC="$CC -n32"
3969 if ac_fn_c_try_compile "$LINENO"; then : 3433 rm -f conftest.$ac_objext
3434if { (ac_try="$ac_compile"
3435case "(($ac_try" in
3436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3437 *) ac_try_echo=$ac_try;;
3438esac
3439eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3440$as_echo "$ac_try_echo") >&5
3441 (eval "$ac_compile") 2>conftest.er1
3442 ac_status=$?
3443 grep -v '^ *+' conftest.er1 >conftest.err
3444 rm -f conftest.er1
3445 cat conftest.err >&5
3446 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3447 (exit $ac_status); } && {
3448 test -z "$ac_c_werror_flag" ||
3449 test ! -s conftest.err
3450 } && test -s conftest.$ac_objext; then
3970 ac_cv_sys_largefile_CC=' -n32'; break 3451 ac_cv_sys_largefile_CC=' -n32'; break
3452else
3453 $as_echo "$as_me: failed program was:" >&5
3454sed 's/^/| /' conftest.$ac_ext >&5
3455
3456
3971fi 3457fi
3458
3972rm -f core conftest.err conftest.$ac_objext 3459rm -f core conftest.err conftest.$ac_objext
3973 break 3460 break
3974 done 3461 done
@@ -3976,19 +3463,23 @@ rm -f core conftest.err conftest.$ac_objext
3976 rm -f conftest.$ac_ext 3463 rm -f conftest.$ac_ext
3977 fi 3464 fi
3978fi 3465fi
3979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 3466{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
3980$as_echo "$ac_cv_sys_largefile_CC" >&6; } 3467$as_echo "$ac_cv_sys_largefile_CC" >&6; }
3981 if test "$ac_cv_sys_largefile_CC" != no; then 3468 if test "$ac_cv_sys_largefile_CC" != no; then
3982 CC=$CC$ac_cv_sys_largefile_CC 3469 CC=$CC$ac_cv_sys_largefile_CC
3983 fi 3470 fi
3984 3471
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 3472 { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3986$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 3473$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
3987if test "${ac_cv_sys_file_offset_bits+set}" = set; then : 3474if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3988 $as_echo_n "(cached) " >&6 3475 $as_echo_n "(cached) " >&6
3989else 3476else
3990 while :; do 3477 while :; do
3991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3478 cat >conftest.$ac_ext <<_ACEOF
3479/* confdefs.h. */
3480_ACEOF
3481cat confdefs.h >>conftest.$ac_ext
3482cat >>conftest.$ac_ext <<_ACEOF
3992/* end confdefs.h. */ 3483/* end confdefs.h. */
3993#include <sys/types.h> 3484#include <sys/types.h>
3994 /* Check that off_t can represent 2**63 - 1 correctly. 3485 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -4007,11 +3498,38 @@ main ()
4007 return 0; 3498 return 0;
4008} 3499}
4009_ACEOF 3500_ACEOF
4010if ac_fn_c_try_compile "$LINENO"; then : 3501rm -f conftest.$ac_objext
3502if { (ac_try="$ac_compile"
3503case "(($ac_try" in
3504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3505 *) ac_try_echo=$ac_try;;
3506esac
3507eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3508$as_echo "$ac_try_echo") >&5
3509 (eval "$ac_compile") 2>conftest.er1
3510 ac_status=$?
3511 grep -v '^ *+' conftest.er1 >conftest.err
3512 rm -f conftest.er1
3513 cat conftest.err >&5
3514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515 (exit $ac_status); } && {
3516 test -z "$ac_c_werror_flag" ||
3517 test ! -s conftest.err
3518 } && test -s conftest.$ac_objext; then
4011 ac_cv_sys_file_offset_bits=no; break 3519 ac_cv_sys_file_offset_bits=no; break
3520else
3521 $as_echo "$as_me: failed program was:" >&5
3522sed 's/^/| /' conftest.$ac_ext >&5
3523
3524
4012fi 3525fi
3526
4013rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3527rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3528 cat >conftest.$ac_ext <<_ACEOF
3529/* confdefs.h. */
3530_ACEOF
3531cat confdefs.h >>conftest.$ac_ext
3532cat >>conftest.$ac_ext <<_ACEOF
4015/* end confdefs.h. */ 3533/* end confdefs.h. */
4016#define _FILE_OFFSET_BITS 64 3534#define _FILE_OFFSET_BITS 64
4017#include <sys/types.h> 3535#include <sys/types.h>
@@ -4031,15 +3549,38 @@ main ()
4031 return 0; 3549 return 0;
4032} 3550}
4033_ACEOF 3551_ACEOF
4034if ac_fn_c_try_compile "$LINENO"; then : 3552rm -f conftest.$ac_objext
3553if { (ac_try="$ac_compile"
3554case "(($ac_try" in
3555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3556 *) ac_try_echo=$ac_try;;
3557esac
3558eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3559$as_echo "$ac_try_echo") >&5
3560 (eval "$ac_compile") 2>conftest.er1
3561 ac_status=$?
3562 grep -v '^ *+' conftest.er1 >conftest.err
3563 rm -f conftest.er1
3564 cat conftest.err >&5
3565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3566 (exit $ac_status); } && {
3567 test -z "$ac_c_werror_flag" ||
3568 test ! -s conftest.err
3569 } && test -s conftest.$ac_objext; then
4035 ac_cv_sys_file_offset_bits=64; break 3570 ac_cv_sys_file_offset_bits=64; break
3571else
3572 $as_echo "$as_me: failed program was:" >&5
3573sed 's/^/| /' conftest.$ac_ext >&5
3574
3575
4036fi 3576fi
3577
4037rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3578rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4038 ac_cv_sys_file_offset_bits=unknown 3579 ac_cv_sys_file_offset_bits=unknown
4039 break 3580 break
4040done 3581done
4041fi 3582fi
4042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 3583{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4043$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 3584$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4044case $ac_cv_sys_file_offset_bits in #( 3585case $ac_cv_sys_file_offset_bits in #(
4045 no | unknown) ;; 3586 no | unknown) ;;
@@ -4051,13 +3592,17 @@ _ACEOF
4051esac 3592esac
4052rm -rf conftest* 3593rm -rf conftest*
4053 if test $ac_cv_sys_file_offset_bits = unknown; then 3594 if test $ac_cv_sys_file_offset_bits = unknown; then
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 3595 { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4055$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 3596$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4056if test "${ac_cv_sys_large_files+set}" = set; then : 3597if test "${ac_cv_sys_large_files+set}" = set; then
4057 $as_echo_n "(cached) " >&6 3598 $as_echo_n "(cached) " >&6
4058else 3599else
4059 while :; do 3600 while :; do
4060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3601 cat >conftest.$ac_ext <<_ACEOF
3602/* confdefs.h. */
3603_ACEOF
3604cat confdefs.h >>conftest.$ac_ext
3605cat >>conftest.$ac_ext <<_ACEOF
4061/* end confdefs.h. */ 3606/* end confdefs.h. */
4062#include <sys/types.h> 3607#include <sys/types.h>
4063 /* Check that off_t can represent 2**63 - 1 correctly. 3608 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -4076,11 +3621,38 @@ main ()
4076 return 0; 3621 return 0;
4077} 3622}
4078_ACEOF 3623_ACEOF
4079if ac_fn_c_try_compile "$LINENO"; then : 3624rm -f conftest.$ac_objext
3625if { (ac_try="$ac_compile"
3626case "(($ac_try" in
3627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3628 *) ac_try_echo=$ac_try;;
3629esac
3630eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3631$as_echo "$ac_try_echo") >&5
3632 (eval "$ac_compile") 2>conftest.er1
3633 ac_status=$?
3634 grep -v '^ *+' conftest.er1 >conftest.err
3635 rm -f conftest.er1
3636 cat conftest.err >&5
3637 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3638 (exit $ac_status); } && {
3639 test -z "$ac_c_werror_flag" ||
3640 test ! -s conftest.err
3641 } && test -s conftest.$ac_objext; then
4080 ac_cv_sys_large_files=no; break 3642 ac_cv_sys_large_files=no; break
3643else
3644 $as_echo "$as_me: failed program was:" >&5
3645sed 's/^/| /' conftest.$ac_ext >&5
3646
3647
4081fi 3648fi
3649
4082rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3650rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3651 cat >conftest.$ac_ext <<_ACEOF
3652/* confdefs.h. */
3653_ACEOF
3654cat confdefs.h >>conftest.$ac_ext
3655cat >>conftest.$ac_ext <<_ACEOF
4084/* end confdefs.h. */ 3656/* end confdefs.h. */
4085#define _LARGE_FILES 1 3657#define _LARGE_FILES 1
4086#include <sys/types.h> 3658#include <sys/types.h>
@@ -4100,15 +3672,38 @@ main ()
4100 return 0; 3672 return 0;
4101} 3673}
4102_ACEOF 3674_ACEOF
4103if ac_fn_c_try_compile "$LINENO"; then : 3675rm -f conftest.$ac_objext
3676if { (ac_try="$ac_compile"
3677case "(($ac_try" in
3678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3679 *) ac_try_echo=$ac_try;;
3680esac
3681eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3682$as_echo "$ac_try_echo") >&5
3683 (eval "$ac_compile") 2>conftest.er1
3684 ac_status=$?
3685 grep -v '^ *+' conftest.er1 >conftest.err
3686 rm -f conftest.er1
3687 cat conftest.err >&5
3688 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3689 (exit $ac_status); } && {
3690 test -z "$ac_c_werror_flag" ||
3691 test ! -s conftest.err
3692 } && test -s conftest.$ac_objext; then
4104 ac_cv_sys_large_files=1; break 3693 ac_cv_sys_large_files=1; break
3694else
3695 $as_echo "$as_me: failed program was:" >&5
3696sed 's/^/| /' conftest.$ac_ext >&5
3697
3698
4105fi 3699fi
3700
4106rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3701rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4107 ac_cv_sys_large_files=unknown 3702 ac_cv_sys_large_files=unknown
4108 break 3703 break
4109done 3704done
4110fi 3705fi
4111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 3706{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4112$as_echo "$ac_cv_sys_large_files" >&6; } 3707$as_echo "$ac_cv_sys_large_files" >&6; }
4113case $ac_cv_sys_large_files in #( 3708case $ac_cv_sys_large_files in #(
4114 no | unknown) ;; 3709 no | unknown) ;;
@@ -4139,10 +3734,10 @@ fi
4139# OS/2's system install, which has a completely different semantic 3734# OS/2's system install, which has a completely different semantic
4140# ./install, which can be erroneously created by make from ./install.sh. 3735# ./install, which can be erroneously created by make from ./install.sh.
4141# Reject install programs that cannot install multiple files. 3736# Reject install programs that cannot install multiple files.
4142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3737{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4143$as_echo_n "checking for a BSD-compatible install... " >&6; } 3738$as_echo_n "checking for a BSD-compatible install... " >&6; }
4144if test -z "$INSTALL"; then 3739if test -z "$INSTALL"; then
4145if test "${ac_cv_path_install+set}" = set; then : 3740if test "${ac_cv_path_install+set}" = set; then
4146 $as_echo_n "(cached) " >&6 3741 $as_echo_n "(cached) " >&6
4147else 3742else
4148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -4150,11 +3745,11 @@ for as_dir in $PATH
4150do 3745do
4151 IFS=$as_save_IFS 3746 IFS=$as_save_IFS
4152 test -z "$as_dir" && as_dir=. 3747 test -z "$as_dir" && as_dir=.
4153 # Account for people who put trailing slashes in PATH elements. 3748 # Account for people who put trailing slashes in PATH elements.
4154case $as_dir/ in #(( 3749case $as_dir/ in
4155 ./ | .// | /[cC]/* | \ 3750 ./ | .// | /cC/* | \
4156 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3751 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4157 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3752 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4158 /usr/ucb/* ) ;; 3753 /usr/ucb/* ) ;;
4159 *) 3754 *)
4160 # OSF1 and SCO ODT 3.0 have their own names for install. 3755 # OSF1 and SCO ODT 3.0 have their own names for install.
@@ -4191,7 +3786,7 @@ case $as_dir/ in #((
4191 ;; 3786 ;;
4192esac 3787esac
4193 3788
4194 done 3789done
4195IFS=$as_save_IFS 3790IFS=$as_save_IFS
4196 3791
4197rm -rf conftest.one conftest.two conftest.dir 3792rm -rf conftest.one conftest.two conftest.dir
@@ -4207,7 +3802,7 @@ fi
4207 INSTALL=$ac_install_sh 3802 INSTALL=$ac_install_sh
4208 fi 3803 fi
4209fi 3804fi
4210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3805{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4211$as_echo "$INSTALL" >&6; } 3806$as_echo "$INSTALL" >&6; }
4212 3807
4213# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3808# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
@@ -4220,27 +3815,35 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4220 3815
4221# Make sure we can run config.sub. 3816# Make sure we can run config.sub.
4222$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3817$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4223 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3818 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3819$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3820 { (exit 1); exit 1; }; }
4224 3821
4225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3822{ $as_echo "$as_me:$LINENO: checking build system type" >&5
4226$as_echo_n "checking build system type... " >&6; } 3823$as_echo_n "checking build system type... " >&6; }
4227if test "${ac_cv_build+set}" = set; then : 3824if test "${ac_cv_build+set}" = set; then
4228 $as_echo_n "(cached) " >&6 3825 $as_echo_n "(cached) " >&6
4229else 3826else
4230 ac_build_alias=$build_alias 3827 ac_build_alias=$build_alias
4231test "x$ac_build_alias" = x && 3828test "x$ac_build_alias" = x &&
4232 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3829 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4233test "x$ac_build_alias" = x && 3830test "x$ac_build_alias" = x &&
4234 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 3831 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3832$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3833 { (exit 1); exit 1; }; }
4235ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3834ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4236 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3835 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3836$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3837 { (exit 1); exit 1; }; }
4237 3838
4238fi 3839fi
4239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3840{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4240$as_echo "$ac_cv_build" >&6; } 3841$as_echo "$ac_cv_build" >&6; }
4241case $ac_cv_build in 3842case $ac_cv_build in
4242*-*-*) ;; 3843*-*-*) ;;
4243*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 3844*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3845$as_echo "$as_me: error: invalid value of canonical build" >&2;}
3846 { (exit 1); exit 1; }; };;
4244esac 3847esac
4245build=$ac_cv_build 3848build=$ac_cv_build
4246ac_save_IFS=$IFS; IFS='-' 3849ac_save_IFS=$IFS; IFS='-'
@@ -4256,24 +3859,28 @@ IFS=$ac_save_IFS
4256case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3859case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4257 3860
4258 3861
4259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3862{ $as_echo "$as_me:$LINENO: checking host system type" >&5
4260$as_echo_n "checking host system type... " >&6; } 3863$as_echo_n "checking host system type... " >&6; }
4261if test "${ac_cv_host+set}" = set; then : 3864if test "${ac_cv_host+set}" = set; then
4262 $as_echo_n "(cached) " >&6 3865 $as_echo_n "(cached) " >&6
4263else 3866else
4264 if test "x$host_alias" = x; then 3867 if test "x$host_alias" = x; then
4265 ac_cv_host=$ac_cv_build 3868 ac_cv_host=$ac_cv_build
4266else 3869else
4267 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3870 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4268 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3871 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3872$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3873 { (exit 1); exit 1; }; }
4269fi 3874fi
4270 3875
4271fi 3876fi
4272{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3877{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4273$as_echo "$ac_cv_host" >&6; } 3878$as_echo "$ac_cv_host" >&6; }
4274case $ac_cv_host in 3879case $ac_cv_host in
4275*-*-*) ;; 3880*-*-*) ;;
4276*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 3881*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3882$as_echo "$as_me: error: invalid value of canonical host" >&2;}
3883 { (exit 1); exit 1; }; };;
4277esac 3884esac
4278host=$ac_cv_host 3885host=$ac_cv_host
4279ac_save_IFS=$IFS; IFS='-' 3886ac_save_IFS=$IFS; IFS='-'
@@ -4291,7 +3898,7 @@ case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4291 3898
4292 3899
4293# Check whether --with-gnu-ld was given. 3900# Check whether --with-gnu-ld was given.
4294if test "${with_gnu_ld+set}" = set; then : 3901if test "${with_gnu_ld+set}" = set; then
4295 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 3902 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4296else 3903else
4297 with_gnu_ld=no 3904 with_gnu_ld=no
@@ -4313,7 +3920,7 @@ fi
4313ac_prog=ld 3920ac_prog=ld
4314if test "$GCC" = yes; then 3921if test "$GCC" = yes; then
4315 # Check if gcc -print-prog-name=ld gives a path. 3922 # Check if gcc -print-prog-name=ld gives a path.
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 3923 { $as_echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4317$as_echo_n "checking for ld used by GCC... " >&6; } 3924$as_echo_n "checking for ld used by GCC... " >&6; }
4318 case $host in 3925 case $host in
4319 *-*-mingw*) 3926 *-*-mingw*)
@@ -4343,13 +3950,13 @@ $as_echo_n "checking for ld used by GCC... " >&6; }
4343 ;; 3950 ;;
4344 esac 3951 esac
4345elif test "$with_gnu_ld" = yes; then 3952elif test "$with_gnu_ld" = yes; then
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 3953 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4347$as_echo_n "checking for GNU ld... " >&6; } 3954$as_echo_n "checking for GNU ld... " >&6; }
4348else 3955else
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 3956 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4350$as_echo_n "checking for non-GNU ld... " >&6; } 3957$as_echo_n "checking for non-GNU ld... " >&6; }
4351fi 3958fi
4352if test "${acl_cv_path_LD+set}" = set; then : 3959if test "${acl_cv_path_LD+set}" = set; then
4353 $as_echo_n "(cached) " >&6 3960 $as_echo_n "(cached) " >&6
4354else 3961else
4355 if test -z "$LD"; then 3962 if test -z "$LD"; then
@@ -4377,16 +3984,18 @@ fi
4377 3984
4378LD="$acl_cv_path_LD" 3985LD="$acl_cv_path_LD"
4379if test -n "$LD"; then 3986if test -n "$LD"; then
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 3987 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4381$as_echo "$LD" >&6; } 3988$as_echo "$LD" >&6; }
4382else 3989else
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3990 { $as_echo "$as_me:$LINENO: result: no" >&5
4384$as_echo "no" >&6; } 3991$as_echo "no" >&6; }
4385fi 3992fi
4386test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 3993test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 3994$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3995 { (exit 1); exit 1; }; }
3996{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4388$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 3997$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4389if test "${acl_cv_prog_gnu_ld+set}" = set; then : 3998if test "${acl_cv_prog_gnu_ld+set}" = set; then
4390 $as_echo_n "(cached) " >&6 3999 $as_echo_n "(cached) " >&6
4391else 4000else
4392 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 4001 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
@@ -4397,15 +4006,15 @@ case `$LD -v 2>&1 </dev/null` in
4397 acl_cv_prog_gnu_ld=no ;; 4006 acl_cv_prog_gnu_ld=no ;;
4398esac 4007esac
4399fi 4008fi
4400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 4009{ $as_echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
4401$as_echo "$acl_cv_prog_gnu_ld" >&6; } 4010$as_echo "$acl_cv_prog_gnu_ld" >&6; }
4402with_gnu_ld=$acl_cv_prog_gnu_ld 4011with_gnu_ld=$acl_cv_prog_gnu_ld
4403 4012
4404 4013
4405 4014
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library path variable" >&5 4015 { $as_echo "$as_me:$LINENO: checking for shared library path variable" >&5
4407$as_echo_n "checking for shared library path variable... " >&6; } 4016$as_echo_n "checking for shared library path variable... " >&6; }
4408if test "${acl_cv_libpath+set}" = set; then : 4017if test "${acl_cv_libpath+set}" = set; then
4409 $as_echo_n "(cached) " >&6 4018 $as_echo_n "(cached) " >&6
4410else 4019else
4411 4020
@@ -4416,15 +4025,15 @@ else
4416 acl_cv_libpath=${acl_cv_shlibpath_var:-none} 4025 acl_cv_libpath=${acl_cv_shlibpath_var:-none}
4417 4026
4418fi 4027fi
4419{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libpath" >&5 4028{ $as_echo "$as_me:$LINENO: result: $acl_cv_libpath" >&5