summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre.ledru@scilab.org>2009-08-30 10:55:38 +0200
committerSylvestre Ledru <sylvestre.ledru@scilab.org>2009-08-30 10:55:38 +0200
commit3377cdf79961f15ab9c15cde83ad6a7c61286082 (patch)
treecc65a9a9d55e849da4b7ee7ddf3790ad66f3db0d
parent601cce0f3d286154bf0c20d13af97c90fad45089 (diff)
downloadscilab-3377cdf79961f15ab9c15cde83ad6a7c61286082.zip
scilab-3377cdf79961f15ab9c15cde83ad6a7c61286082.tar.gz
Rebuild with autoconf 2.64
-rw-r--r--scilab/Makefile.in1
-rw-r--r--scilab/aclocal.m44
-rwxr-xr-xscilab/configure19310
-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/blas/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/lapack/Makefile.in1
-rw-r--r--scilab/libs/libst/Makefile.in1
-rw-r--r--scilab/modules/Makefile.in1
-rw-r--r--scilab/modules/action_binding/Makefile.in1
-rw-r--r--scilab/modules/arnoldi/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/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/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/metanet/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/scilab2fortran/Makefile.in1
-rw-r--r--scilab/modules/scipad/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
79 files changed, 4583 insertions, 14808 deletions
diff --git a/scilab/Makefile.in b/scilab/Makefile.in
index 0309c2a..f4f9526 100644
--- a/scilab/Makefile.in
+++ b/scilab/Makefile.in
@@ -358,6 +358,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
358PACKAGE_NAME = @PACKAGE_NAME@ 358PACKAGE_NAME = @PACKAGE_NAME@
359PACKAGE_STRING = @PACKAGE_STRING@ 359PACKAGE_STRING = @PACKAGE_STRING@
360PACKAGE_TARNAME = @PACKAGE_TARNAME@ 360PACKAGE_TARNAME = @PACKAGE_TARNAME@
361PACKAGE_URL = @PACKAGE_URL@
361PACKAGE_VERSION = @PACKAGE_VERSION@ 362PACKAGE_VERSION = @PACKAGE_VERSION@
362PATH_SEPARATOR = @PATH_SEPARATOR@ 363PATH_SEPARATOR = @PATH_SEPARATOR@
363PCRE_CFLAGS = @PCRE_CFLAGS@ 364PCRE_CFLAGS = @PCRE_CFLAGS@
diff --git a/scilab/aclocal.m4 b/scilab/aclocal.m4
index 732dc5b..fec4921 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.63],, 16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.64],,
17[m4_warning([this file was generated for autoconf 2.63. 17[m4_warning([this file was generated for autoconf 2.64.
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 9e59d7d..087ba3e 100755
--- a/scilab/configure
+++ b/scilab/configure
@@ -1,21 +1,23 @@
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.63 for Scilab 5. 4# Generated by GNU Autoconf 2.64 for Scilab 5.
5# 5#
6# Report bugs to <http://bugzilla.scilab.org/>. 6# Report bugs to <http://bugzilla.scilab.org/>.
7# 7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
10# Foundation, Inc.
11#
10# This configure script is free software; the Free Software Foundation 12# This configure script is free software; the Free Software Foundation
11# gives unlimited permission to copy, distribute and modify it. 13# gives unlimited permission to copy, distribute and modify it.
12## --------------------- ## 14## -------------------- ##
13## M4sh Initialization. ## 15## M4sh Initialization. ##
14## --------------------- ## 16## -------------------- ##
15 17
16# Be more Bourne compatible 18# Be more Bourne compatible
17DUALCASE=1; export DUALCASE # for MKS sh 19DUALCASE=1; export DUALCASE # for MKS sh
18if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 20if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19 emulate sh 21 emulate sh
20 NULLCMD=: 22 NULLCMD=:
21 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
@@ -23,23 +25,15 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23 alias -g '${1+"$@"}'='"$@"' 25 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST 26 setopt NO_GLOB_SUBST
25else 27else
26 case `(set -o) 2>/dev/null` in 28 case `(set -o) 2>/dev/null` in #(
27 *posix*) set -o posix ;; 29 *posix*) :
30 set -o posix ;; #(
31 *) :
32 ;;
28esac 33esac
29
30fi 34fi
31 35
32 36
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
43as_nl=' 37as_nl='
44' 38'
45export as_nl 39export as_nl
@@ -47,7 +41,13 @@ export as_nl
47as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_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 43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
50if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 44# Prefer a ksh shell builtin over an external printf program on Solaris,
45# but without wasting forks for bash or zsh.
46if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='print -r --'
49 as_echo_n='print -rn --'
50elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 as_echo='printf %s\n' 51 as_echo='printf %s\n'
52 as_echo_n='printf %s' 52 as_echo_n='printf %s'
53else 53else
@@ -58,7 +58,7 @@ else
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59 as_echo_n_body='eval 59 as_echo_n_body='eval
60 arg=$1; 60 arg=$1;
61 case $arg in 61 case $arg in #(
62 *"$as_nl"*) 62 *"$as_nl"*)
63 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
@@ -81,13 +81,6 @@ if test "${PATH_SEPARATOR+set}" != set; then
81 } 81 }
82fi 82fi
83 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
91 84
92# IFS 85# IFS
93# We need space, tab and new line, in precisely that order. Quoting is 86# We need space, tab and new line, in precisely that order. Quoting is
@@ -97,15 +90,15 @@ fi
97IFS=" "" $as_nl" 90IFS=" "" $as_nl"
98 91
99# Find who we are. Look in the path if we contain no directory separator. 92# Find who we are. Look in the path if we contain no directory separator.
100case $0 in 93case $0 in #((
101 *[\\/]* ) as_myself=$0 ;; 94 *[\\/]* ) as_myself=$0 ;;
102 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103for as_dir in $PATH 96for as_dir in $PATH
104do 97do
105 IFS=$as_save_IFS 98 IFS=$as_save_IFS
106 test -z "$as_dir" && as_dir=. 99 test -z "$as_dir" && as_dir=.
107 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108done 101 done
109IFS=$as_save_IFS 102IFS=$as_save_IFS
110 103
111 ;; 104 ;;
@@ -117,12 +110,16 @@ if test "x$as_myself" = x; then
117fi 110fi
118if test ! -f "$as_myself"; then 111if test ! -f "$as_myself"; then
119 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
120 { (exit 1); exit 1; } 113 exit 1
121fi 114fi
122 115
123# Work around bugs in pre-3.0 UWIN ksh. 116# Unset variables that we do not need and which cause bugs (e.g. in
124for as_var in ENV MAIL MAILPATH 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
125do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 118# suppresses any "Segmentation fault" message there. '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
126done 123done
127PS1='$ ' 124PS1='$ '
128PS2='> ' 125PS2='> '
@@ -134,330 +131,300 @@ export LC_ALL
134LANGUAGE=C 131LANGUAGE=C
135export LANGUAGE 132export LANGUAGE
136 133
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
172# CDPATH. 134# CDPATH.
173$as_unset CDPATH 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
174
175 136
176if test "x$CONFIG_SHELL" = x; then 137if test "x$CONFIG_SHELL" = x; then
177 if (eval ":") 2>/dev/null; then 138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
178 as_have_required=yes 139 emulate sh
140 NULLCMD=:
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
144 setopt NO_GLOB_SUBST
179else 145else
180 as_have_required=no 146 case \`(set -o) 2>/dev/null\` in #(
147 *posix*) :
148 set -o posix ;; #(
149 *) :
150 ;;
151esac
181fi 152fi
182 153"
183 if test $as_have_required = yes && (eval ": 154 as_required="as_fn_return () { (exit \$1); }
184(as_func_return () { 155as_fn_success () { as_fn_return 0; }
185 (exit \$1) 156as_fn_failure () { as_fn_return 1; }
186} 157as_fn_ret_success () { return 0; }
187as_func_success () { 158as_fn_ret_failure () { return 1; }
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}
199 159
200exitcode=0 160exitcode=0
201if as_func_success; then 161as_fn_success || { exitcode=1; echo as_fn_success failed.; }
202 : 162as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
203else 163as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
204 exitcode=1 164as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
205 echo as_func_success failed. 165if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
206fi 166
207 167else
208if as_func_failure; then 168 exitcode=1; echo positional parameters were not saved.
209 exitcode=1 169fi
210 echo as_func_failure succeeded. 170test x\$exitcode = x0 || exit 1"
211fi 171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
212 172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
213if as_func_ret_success; then 173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
214 : 174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
215else 175test \$(( 1 + 1 )) = 2 || exit 1"
216 exitcode=1 176 if (eval "$as_required") 2>/dev/null; then :
217 echo as_func_ret_success failed. 177 as_have_required=yes
218fi
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 178else
228 exitcode=1 179 as_have_required=no
229 echo positional parameters were not saved.
230fi 180fi
181 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
231 182
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") 2> /dev/null; then
240 :
241else 183else
242 as_candidate_shells= 184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 185as_found=false
244for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 186for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
245do 187do
246 IFS=$as_save_IFS 188 IFS=$as_save_IFS
247 test -z "$as_dir" && as_dir=. 189 test -z "$as_dir" && as_dir=.
248 case $as_dir in 190 as_found=:
191 case $as_dir in #(
249 /*) 192 /*)
250 for as_base in sh bash ksh sh5; do 193 for as_base in sh bash ksh sh5; do
251 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 194 # Try only shells that exist, to save several forks.
195 as_shell=$as_dir/$as_base
196 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198 CONFIG_SHELL=$as_shell as_have_required=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 break 2
201fi
202fi
252 done;; 203 done;;
253 esac 204 esac
205 as_found=false
254done 206done
207$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209 CONFIG_SHELL=$SHELL as_have_required=yes
210fi; }
255IFS=$as_save_IFS 211IFS=$as_save_IFS
256 212
257 213
258 for as_shell in $as_candidate_shells $SHELL; do 214 if test "x$CONFIG_SHELL" != x; then :
259 # Try only shells that exist, to save several forks. 215 # We cannot yet assume a decent shell, so we have to provide a
260 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 216 # neutralization value for shells without unset; and this also
261 { ("$as_shell") 2> /dev/null <<\_ASEOF 217 # works around shells that cannot unset nonexistent variables.
262if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 218 BASH_ENV=/dev/null
263 emulate sh 219 ENV=/dev/null
264 NULLCMD=: 220 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
265 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
266 # is contrary to our usage. Disable this feature.
267 alias -g '${1+"$@"}'='"$@"'
268 setopt NO_GLOB_SUBST
269else
270 case `(set -o) 2>/dev/null` in
271 *posix*) set -o posix ;;
272esac
273
274fi
275
276
277:
278_ASEOF
279}; then
280 CONFIG_SHELL=$as_shell
281 as_have_required=yes
282 if { "$as_shell" 2> /dev/null <<\_ASEOF
283if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
284 emulate sh
285 NULLCMD=:
286 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
287 # is contrary to our usage. Disable this feature.
288 alias -g '${1+"$@"}'='"$@"'
289 setopt NO_GLOB_SUBST
290else
291 case `(set -o) 2>/dev/null` in
292 *posix*) set -o posix ;;
293esac
294
295fi
296
297
298:
299(as_func_return () {
300 (exit $1)
301}
302as_func_success () {
303 as_func_return 0
304}
305as_func_failure () {
306 as_func_return 1
307}
308as_func_ret_success () {
309 return 0
310}
311as_func_ret_failure () {
312 return 1
313}
314
315exitcode=0
316if as_func_success; then
317 :
318else
319 exitcode=1
320 echo as_func_success failed.
321fi
322
323if as_func_failure; then
324 exitcode=1
325 echo as_func_failure succeeded.
326fi
327
328if as_func_ret_success; then
329 :
330else
331 exitcode=1
332 echo as_func_ret_success failed.
333fi
334
335if as_func_ret_failure; then
336 exitcode=1
337 echo as_func_ret_failure succeeded.
338fi
339
340if ( set x; as_func_ret_success y && test x = "$1" ); then
341 :
342else
343 exitcode=1
344 echo positional parameters were not saved.
345fi
346
347test $exitcode = 0) || { (exit 1); exit 1; }
348
349(
350 as_lineno_1=$LINENO
351 as_lineno_2=$LINENO
352 test "x$as_lineno_1" != "x$as_lineno_2" &&
353 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
354
355_ASEOF
356}; then
357 break
358fi
359
360fi
361
362 done
363
364 if test "x$CONFIG_SHELL" != x; then
365 for as_var in BASH_ENV ENV
366 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
367 done
368 export CONFIG_SHELL 221 export CONFIG_SHELL
369 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 222 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370fi 223fi
371 224
372 225 if test x$as_have_required = xno; then :
373 if test $as_have_required = no; then 226 $as_echo "$0: This script requires a shell more modern than all"
374 echo This script requires a shell more modern than all the 227 $as_echo "$0: the shells that I found on your system."
375 echo shells that I found on your system. Please install a 228 if test x${ZSH_VERSION+set} = xset ; then
376 echo modern shell, or manually run the script under such a 229 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
377 echo shell if you do have one. 230 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
378 { (exit 1); exit 1; } 231 else
232 $as_echo "$0: Please tell bug-autoconf@gnu.org and
233$0: http://bugzilla.scilab.org/ about your system,
234$0: including any error possibly output before this
235$0: message. Then install a modern shell, or manually run
236$0: the script under such a shell if you do have one."
237 fi
238 exit 1
379fi 239fi
380
381
382fi 240fi
383
384fi 241fi
242SHELL=${CONFIG_SHELL-/bin/sh}
243export SHELL
244# Unset more variables known to interfere with behavior of common tools.
245CLICOLOR_FORCE= GREP_OPTIONS=
246unset CLICOLOR_FORCE GREP_OPTIONS
385 247
248## --------------------- ##
249## M4sh Shell Functions. ##
250## --------------------- ##
251# as_fn_unset VAR
252# ---------------
253# Portably unset VAR.
254as_fn_unset ()
255{
256 { eval $1=; unset $1;}
257}
258as_unset=as_fn_unset
386 259
260# as_fn_set_status STATUS
261# -----------------------
262# Set $? to STATUS, without forking.
263as_fn_set_status ()
264{
265 return $1
266} # as_fn_set_status
387 267
388(eval "as_func_return () { 268# as_fn_exit STATUS
389 (exit \$1) 269# -----------------
390} 270# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
391as_func_success () { 271as_fn_exit ()
392 as_func_return 0 272{
393} 273 set +e
394as_func_failure () { 274 as_fn_set_status $1
395 as_func_return 1 275 exit $1
396} 276} # as_fn_exit
397as_func_ret_success () { 277
398 return 0 278# as_fn_mkdir_p
399} 279# -------------
400as_func_ret_failure () { 280# Create "$as_dir" as a directory, including parents if necessary.
401 return 1 281as_fn_mkdir_p ()
402} 282{
403 283
404exitcode=0 284 case $as_dir in #(
405if as_func_success; then 285 -*) as_dir=./$as_dir;;
406 : 286 esac
287 test -d "$as_dir" || eval $as_mkdir_p || {
288 as_dirs=
289 while :; do
290 case $as_dir in #(
291 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 *) as_qdir=$as_dir;;
293 esac
294 as_dirs="'$as_qdir' $as_dirs"
295 as_dir=`$as_dirname -- "$as_dir" ||
296$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
297 X"$as_dir" : 'X\(//\)[^/]' \| \
298 X"$as_dir" : 'X\(//\)$' \| \
299 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
300$as_echo X"$as_dir" |
301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
302 s//\1/
303 q
304 }
305 /^X\(\/\/\)[^/].*/{
306 s//\1/
307 q
308 }
309 /^X\(\/\/\)$/{
310 s//\1/
311 q
312 }
313 /^X\(\/\).*/{
314 s//\1/
315 q
316 }
317 s/.*/./; q'`
318 test -d "$as_dir" && break
319 done
320 test -z "$as_dirs" || eval "mkdir $as_dirs"
321 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
322
323
324} # as_fn_mkdir_p
325# as_fn_append VAR VALUE
326# ----------------------
327# Append the text in VALUE to the end of the definition contained in VAR. Take
328# advantage of any shell optimizations that allow amortized linear growth over
329# repeated appends, instead of the typical quadratic growth present in naive
330# implementations.
331if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
332 eval 'as_fn_append ()
333 {
334 eval $1+=\$2
335 }'
407else 336else
408 exitcode=1 337 as_fn_append ()
409 echo as_func_success failed. 338 {
410fi 339 eval $1=\$$1\$2
340 }
341fi # as_fn_append
342
343# as_fn_arith ARG...
344# ------------------
345# Perform arithmetic evaluation on the ARGs, and store the result in the
346# global $as_val. Take advantage of shells that can avoid forks. The arguments
347# must be portable across $(()) and expr.
348if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
349 eval 'as_fn_arith ()
350 {
351 as_val=$(( $* ))
352 }'
353else
354 as_fn_arith ()
355 {
356 as_val=`expr "$@" || test $? -eq 1`
357 }
358fi # as_fn_arith
411 359
412if as_func_failure; then
413 exitcode=1
414 echo as_func_failure succeeded.
415fi
416 360
417if as_func_ret_success; then 361# as_fn_error ERROR [LINENO LOG_FD]
418 : 362# ---------------------------------
363# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
364# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
365# script with status $?, using 1 if that was 0.
366as_fn_error ()
367{
368 as_status=$?; test $as_status -eq 0 && as_status=1
369 if test "$3"; then
370 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
371 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
372 fi
373 $as_echo "$as_me: error: $1" >&2
374 as_fn_exit $as_status
375} # as_fn_error
376
377if expr a : '\(a\)' >/dev/null 2>&1 &&
378 test "X`expr 00001 : '.*\(...\)'`" = X001; then
379 as_expr=expr
419else 380else
420 exitcode=1 381 as_expr=false
421 echo as_func_ret_success failed.
422fi 382fi
423 383
424if as_func_ret_failure; then 384if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
425 exitcode=1 385 as_basename=basename
426 echo as_func_ret_failure succeeded. 386else
387 as_basename=false
427fi 388fi
428 389
429if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 390if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
430 : 391 as_dirname=dirname
431else 392else
432 exitcode=1 393 as_dirname=false
433 echo positional parameters were not saved.
434fi 394fi
435 395
436test \$exitcode = 0") || { 396as_me=`$as_basename -- "$0" ||
437 echo No shell found that supports shell functions. 397$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
438 echo Please tell bug-autoconf@gnu.org about your system, 398 X"$0" : 'X\(//\)$' \| \
439 echo including any error possibly output before this message. 399 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
440 echo This can help us improve future autoconf versions. 400$as_echo X/"$0" |
441 echo Configuration will now proceed without shell functions. 401 sed '/^.*\/\([^/][^/]*\)\/*$/{
442} 402 s//\1/
443 403 q
404 }
405 /^X\/\(\/\/\)$/{
406 s//\1/
407 q
408 }
409 /^X\/\(\/\).*/{
410 s//\1/
411 q
412 }
413 s/.*/./; q'`
444 414
415# Avoid depending upon Character Ranges.
416as_cr_letters='abcdefghijklmnopqrstuvwxyz'
417as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
418as_cr_Letters=$as_cr_letters$as_cr_LETTERS
419as_cr_digits='0123456789'
420as_cr_alnum=$as_cr_Letters$as_cr_digits
445 421
446 as_lineno_1=$LINENO
447 as_lineno_2=$LINENO
448 test "x$as_lineno_1" != "x$as_lineno_2" &&
449 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450 422
451 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 423 as_lineno_1=$LINENO as_lineno_1a=$LINENO
452 # uniformly replaced by the line number. The first 'sed' inserts a 424 as_lineno_2=$LINENO as_lineno_2a=$LINENO
453 # line-number line after each line using $LINENO; the second 'sed' 425 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
454 # does the real work. The second script uses 'N' to pair each 426 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
455 # line-number line with the line containing $LINENO, and appends 427 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 # trailing '-' during substitution so that $LINENO is not a special
457 # case at line end.
458 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
459 # scripts with optimization help from Paolo Bonzini. Blame Lee
460 # E. McMahon (1931-1989) for sed's syntax. :-)
461 sed -n ' 428 sed -n '
462 p 429 p
463 /[$]LINENO/= 430 /[$]LINENO/=
@@ -474,8 +441,7 @@ test \$exitcode = 0") || {
474 s/-\n.*// 441 s/-\n.*//
475 ' >$as_me.lineno && 442 ' >$as_me.lineno &&
476 chmod +x "$as_me.lineno" || 443 chmod +x "$as_me.lineno" ||
477 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 444 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
478 { (exit 1); exit 1; }; }
479 445
480 # Don't try to exec as it changes $[0], causing all sort of problems 446 # Don't try to exec as it changes $[0], causing all sort of problems
481 # (the dirname of $[0] is not the place where we might find the 447 # (the dirname of $[0] is not the place where we might find the
@@ -485,29 +451,18 @@ test \$exitcode = 0") || {
485 exit 451 exit
486} 452}
487 453
488
489if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
490 as_dirname=dirname
491else
492 as_dirname=false
493fi
494
495ECHO_C= ECHO_N= ECHO_T= 454ECHO_C= ECHO_N= ECHO_T=
496case `echo -n x` in 455case `echo -n x` in #(((((
497-n*) 456-n*)
498 case `echo 'x\c'` in 457 case `echo 'xy\c'` in
499 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 458 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
500 *) ECHO_C='\c';; 459 xy) ECHO_C='\c';;
460 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
461 ECHO_T=' ';;
501 esac;; 462 esac;;
502*) 463*)
503 ECHO_N='-n';; 464 ECHO_N='-n';;
504esac 465esac
505if expr a : '\(a\)' >/dev/null 2>&1 &&
506 test "X`expr 00001 : '.*\(...\)'`" = X001; then
507 as_expr=expr
508else
509 as_expr=false
510fi
511 466
512rm -f conf$$ conf$$.exe conf$$.file 467rm -f conf$$ conf$$.exe conf$$.file
513if test -d conf$$.dir; then 468if test -d conf$$.dir; then
@@ -537,7 +492,7 @@ rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537rmdir conf$$.dir 2>/dev/null 492rmdir conf$$.dir 2>/dev/null
538 493
539if mkdir -p . 2>/dev/null; then 494if mkdir -p . 2>/dev/null; then
540 as_mkdir_p=: 495 as_mkdir_p='mkdir -p "$as_dir"'
541else 496else
542 test -d ./-p && rmdir ./-p 497 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false 498 as_mkdir_p=false
@@ -556,10 +511,10 @@ else
556 if test -d "$1"; then 511 if test -d "$1"; then
557 test -d "$1/."; 512 test -d "$1/.";
558 else 513 else
559 case $1 in 514 case $1 in #(
560 -*)set "./$1";; 515 -*)set "./$1";;
561 esac; 516 esac;
562 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 517 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
563 ???[sx]*):;;*)false;;esac;fi 518 ???[sx]*):;;*)false;;esac;fi
564 '\'' sh 519 '\'' sh
565 ' 520 '
@@ -574,7 +529,6 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
574 529
575 530
576 531
577
578# Check that we are running under the correct shell. 532# Check that we are running under the correct shell.
579SHELL=${CONFIG_SHELL-/bin/sh} 533SHELL=${CONFIG_SHELL-/bin/sh}
580 534
@@ -746,7 +700,6 @@ cross_compiling=no
746subdirs= 700subdirs=
747MFLAGS= 701MFLAGS=
748MAKEFLAGS= 702MAKEFLAGS=
749SHELL=${CONFIG_SHELL-/bin/sh}
750 703
751# Identity of this package. 704# Identity of this package.
752PACKAGE_NAME='Scilab' 705PACKAGE_NAME='Scilab'
@@ -754,6 +707,7 @@ PACKAGE_TARNAME='scilab'
754PACKAGE_VERSION='5' 707PACKAGE_VERSION='5'
755PACKAGE_STRING='Scilab 5' 708PACKAGE_STRING='Scilab 5'
756PACKAGE_BUGREPORT='http://bugzilla.scilab.org/' 709PACKAGE_BUGREPORT='http://bugzilla.scilab.org/'
710PACKAGE_URL=''
757 711
758# Factoring default headers for most tests. 712# Factoring default headers for most tests.
759ac_includes_default="\ 713ac_includes_default="\
@@ -1047,6 +1001,7 @@ bindir
1047program_transform_name 1001program_transform_name
1048prefix 1002prefix
1049exec_prefix 1003exec_prefix
1004PACKAGE_URL
1050PACKAGE_BUGREPORT 1005PACKAGE_BUGREPORT
1051PACKAGE_STRING 1006PACKAGE_STRING
1052PACKAGE_VERSION 1007PACKAGE_VERSION
@@ -1245,8 +1200,7 @@ do
1245 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1200 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1246 # Reject names that are not valid shell variable names. 1201 # Reject names that are not valid shell variable names.
1247 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1202 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1248 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 1203 as_fn_error "invalid feature name: $ac_useropt"
1249 { (exit 1); exit 1; }; }
1250 ac_useropt_orig=$ac_useropt 1204 ac_useropt_orig=$ac_useropt
1251 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1205 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1252 case $ac_user_opts in 1206 case $ac_user_opts in
@@ -1272,8 +1226,7 @@ do
1272 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1226 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1273 # Reject names that are not valid shell variable names. 1227 # Reject names that are not valid shell variable names.
1274 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1228 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1275 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 1229 as_fn_error "invalid feature name: $ac_useropt"
1276 { (exit 1); exit 1; }; }
1277 ac_useropt_orig=$ac_useropt 1230 ac_useropt_orig=$ac_useropt
1278 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1231 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1279 case $ac_user_opts in 1232 case $ac_user_opts in
@@ -1477,8 +1430,7 @@ do
1477 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1430 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1478 # Reject names that are not valid shell variable names. 1431 # Reject names that are not valid shell variable names.
1479 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1432 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1480 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1433 as_fn_error "invalid package name: $ac_useropt"
1481 { (exit 1); exit 1; }; }
1482 ac_useropt_orig=$ac_useropt 1434 ac_useropt_orig=$ac_useropt
1483 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1435 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1484 case $ac_user_opts in 1436 case $ac_user_opts in
@@ -1494,8 +1446,7 @@ do
1494 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1446 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1495 # Reject names that are not valid shell variable names. 1447 # Reject names that are not valid shell variable names.
1496 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1448 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1497 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1449 as_fn_error "invalid package name: $ac_useropt"
1498 { (exit 1); exit 1; }; }
1499 ac_useropt_orig=$ac_useropt 1450 ac_useropt_orig=$ac_useropt
1500 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1451 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1501 case $ac_user_opts in 1452 case $ac_user_opts in
@@ -1525,17 +1476,17 @@ do
1525 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1476 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1526 x_libraries=$ac_optarg ;; 1477 x_libraries=$ac_optarg ;;
1527 1478
1528 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1479 -*) as_fn_error "unrecognized option: \`$ac_option'
1529Try \`$0 --help' for more information." >&2 1480Try \`$0 --help' for more information."
1530 { (exit 1); exit 1; }; }
1531 ;; 1481 ;;
1532 1482
1533 *=*) 1483 *=*)
1534 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1484 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1535 # Reject names that are not valid shell variable names. 1485 # Reject names that are not valid shell variable names.
1536 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1486 case $ac_envvar in #(
1537 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1487 '' | [0-9]* | *[!_$as_cr_alnum]* )
1538 { (exit 1); exit 1; }; } 1488 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1489 esac
1539 eval $ac_envvar=\$ac_optarg 1490 eval $ac_envvar=\$ac_optarg
1540 export $ac_envvar ;; 1491 export $ac_envvar ;;
1541 1492
@@ -1552,15 +1503,13 @@ done
1552 1503
1553if test -n "$ac_prev"; then 1504if test -n "$ac_prev"; then
1554 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1505 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1555 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1506 as_fn_error "missing argument to $ac_option"
1556 { (exit 1); exit 1; }; }
1557fi 1507fi
1558 1508
1559if test -n "$ac_unrecognized_opts"; then 1509if test -n "$ac_unrecognized_opts"; then
1560 case $enable_option_checking in 1510 case $enable_option_checking in
1561 no) ;; 1511 no) ;;
1562 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1512 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1563 { (exit 1); exit 1; }; } ;;
1564 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1513 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1565 esac 1514 esac
1566fi 1515fi
@@ -1583,8 +1532,7 @@ do
1583 [\\/$]* | ?:[\\/]* ) continue;; 1532 [\\/$]* | ?:[\\/]* ) continue;;
1584 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1533 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1585 esac 1534 esac
1586 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1535 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1587 { (exit 1); exit 1; }; }
1588done 1536done
1589 1537
1590# There might be people who depend on the old broken behavior: `$host' 1538# There might be people who depend on the old broken behavior: `$host'
@@ -1614,11 +1562,9 @@ test "$silent" = yes && exec 6>/dev/null
1614ac_pwd=`pwd` && test -n "$ac_pwd" && 1562ac_pwd=`pwd` && test -n "$ac_pwd" &&
1615ac_ls_di=`ls -di .` && 1563ac_ls_di=`ls -di .` &&
1616ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1564ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1617 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1565 as_fn_error "working directory cannot be determined"
1618 { (exit 1); exit 1; }; }
1619test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1566test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1620 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1567 as_fn_error "pwd does not report name of working directory"
1621 { (exit 1); exit 1; }; }
1622 1568
1623 1569
1624# Find the source files, if location was not specified. 1570# Find the source files, if location was not specified.
@@ -1657,13 +1603,11 @@ else
1657fi 1603fi
1658if test ! -r "$srcdir/$ac_unique_file"; then 1604if test ! -r "$srcdir/$ac_unique_file"; then
1659 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1605 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1660 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1606 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1661 { (exit 1); exit 1; }; }
1662fi 1607fi
1663ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1608ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1664ac_abs_confdir=`( 1609ac_abs_confdir=`(
1665 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1610 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1666 { (exit 1); exit 1; }; }
1667 pwd)` 1611 pwd)`
1668# When building in place, set srcdir=. 1612# When building in place, set srcdir=.
1669if test "$ac_abs_confdir" = "$ac_pwd"; then 1613if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1953,21 +1897,818 @@ test -n "$ac_init_help" && exit $ac_status
1953if $ac_init_version; then 1897if $ac_init_version; then
1954 cat <<\_ACEOF 1898 cat <<\_ACEOF
1955Scilab configure 5 1899Scilab configure 5
1956generated by GNU Autoconf 2.63 1900generated by GNU Autoconf 2.64
1957 1901
1958Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1902Copyright (C) 2009 Free Software Foundation, Inc.
19592002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1960This configure script is free software; the Free Software Foundation 1903This configure script is free software; the Free Software Foundation
1961gives unlimited permission to copy, distribute and modify it. 1904gives unlimited permission to copy, distribute and modify it.
1962_ACEOF 1905_ACEOF
1963 exit 1906 exit
1964fi 1907fi
1908
1909## ------------------------ ##
1910## Autoconf initialization. ##
1911## ------------------------ ##
1912
1913# ac_fn_c_try_compile LINENO
1914# --------------------------
1915# Try to compile conftest.$ac_ext, and return whether this succeeded.
1916ac_fn_c_try_compile ()
1917{
1918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1919 rm -f conftest.$ac_objext
1920 if { { ac_try="$ac_compile"
1921case "(($ac_try" in
1922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1923 *) ac_try_echo=$ac_try;;
1924esac
1925eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1926$as_echo "$ac_try_echo"; } >&5
1927 (eval "$ac_compile") 2>conftest.err
1928 ac_status=$?
1929 if test -s conftest.err; then
1930 grep -v '^ *+' conftest.err >conftest.er1
1931 cat conftest.er1 >&5
1932 mv -f conftest.er1 conftest.err
1933 fi
1934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1935 test $ac_status = 0; } && {
1936 test -z "$ac_c_werror_flag" ||
1937 test ! -s conftest.err
1938 } && test -s conftest.$ac_objext; then :
1939 ac_retval=0
1940else
1941 $as_echo "$as_me: failed program was:" >&5
1942sed 's/^/| /' conftest.$ac_ext >&5
1943
1944 ac_retval=1
1945fi
1946 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1947 return $ac_retval
1948
1949} # ac_fn_c_try_compile
1950
1951# ac_fn_c_try_cpp LINENO
1952# ----------------------
1953# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1954ac_fn_c_try_cpp ()
1955{
1956 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1957 if { { ac_try="$ac_cpp conftest.$ac_ext"
1958case "(($ac_try" in
1959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1960 *) ac_try_echo=$ac_try;;
1961esac
1962eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1963$as_echo "$ac_try_echo"; } >&5
1964 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1965 ac_status=$?
1966 if test -s conftest.err; then
1967 grep -v '^ *+' conftest.err >conftest.er1
1968 cat conftest.er1 >&5
1969 mv -f conftest.er1 conftest.err
1970 fi
1971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1972 test $ac_status = 0; } >/dev/null && {
1973 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1974 test ! -s conftest.err
1975 }; then :
1976 ac_retval=0
1977else
1978 $as_echo "$as_me: failed program was:" >&5
1979sed 's/^/| /' conftest.$ac_ext >&5
1980
1981 ac_retval=1
1982fi
1983 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1984 return $ac_retval
1985
1986} # ac_fn_c_try_cpp
1987
1988# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1989# -------------------------------------------------------
1990# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1991# the include files in INCLUDES and setting the cache variable VAR
1992# accordingly.
1993ac_fn_c_check_header_mongrel ()
1994{
1995 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1996 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1998$as_echo_n "checking for $2... " >&6; }
1999if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2000 $as_echo_n "(cached) " >&6
2001fi
2002eval ac_res=\$$3
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2004$as_echo "$ac_res" >&6; }
2005else
2006 # Is the header compilable?
2007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2008$as_echo_n "checking $2 usability... " >&6; }
2009cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2010/* end confdefs.h. */
2011$4
2012#include <$2>
2013_ACEOF
2014if ac_fn_c_try_compile "$LINENO"; then :
2015 ac_header_compiler=yes
2016else
2017 ac_header_compiler=no
2018fi
2019rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2020{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2021$as_echo "$ac_header_compiler" >&6; }
2022
2023# Is the header present?
2024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2025$as_echo_n "checking $2 presence... " >&6; }
2026cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2027/* end confdefs.h. */
2028#include <$2>
2029_ACEOF
2030if ac_fn_c_try_cpp "$LINENO"; then :
2031 ac_header_preproc=yes
2032else
2033 ac_header_preproc=no
2034fi
2035rm -f conftest.err conftest.$ac_ext
2036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2037$as_echo "$ac_header_preproc" >&6; }
2038
2039# So? What about this header?
2040case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2041 yes:no: )
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2043$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2045$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2046 ;;
2047 no:yes:* )
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2049$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2051$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2053$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2055$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2057$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2058( cat <<\_ASBOX
2059## ------------------------------------------ ##
2060## Report this to http://bugzilla.scilab.org/ ##
2061## ------------------------------------------ ##
2062_ASBOX
2063 ) | sed "s/^/$as_me: WARNING: /" >&2
2064 ;;
2065esac
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2067$as_echo_n "checking for $2... " >&6; }
2068if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2069 $as_echo_n "(cached) " >&6
2070else
2071 eval "$3=\$ac_header_compiler"
2072fi
2073eval ac_res=\$$3
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2075$as_echo "$ac_res" >&6; }
2076fi
2077 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2078
2079} # ac_fn_c_check_header_mongrel
2080
2081# ac_fn_c_try_run LINENO
2082# ----------------------
2083# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2084# that executables *can* be run.
2085ac_fn_c_try_run ()
2086{
2087 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2088 if { { ac_try="$ac_link"
2089case "(($ac_try" in
2090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2091 *) ac_try_echo=$ac_try;;
2092esac
2093eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2094$as_echo "$ac_try_echo"; } >&5
2095 (eval "$ac_link") 2>&5
2096 ac_status=$?
2097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2098 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2099 { { case "(($ac_try" in
2100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2101 *) ac_try_echo=$ac_try;;
2102esac
2103eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2104$as_echo "$ac_try_echo"; } >&5
2105 (eval "$ac_try") 2>&5
2106 ac_status=$?
2107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2108 test $ac_status = 0; }; }; then :
2109 ac_retval=0
2110else
2111 $as_echo "$as_me: program exited with status $ac_status" >&5
2112 $as_echo "$as_me: failed program was:" >&5
2113sed 's/^/| /' conftest.$ac_ext >&5
2114
2115 ac_retval=$ac_status
2116fi
2117 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2118 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2119 return $ac_retval
2120
2121} # ac_fn_c_try_run
2122
2123# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2124# -------------------------------------------------------
2125# Tests whether HEADER exists and can be compiled using the include files in
2126# INCLUDES, setting the cache variable VAR accordingly.
2127ac_fn_c_check_header_compile ()
2128{
2129 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2131$as_echo_n "checking for $2... " >&6; }
2132if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2133 $as_echo_n "(cached) " >&6
2134else
2135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2136/* end confdefs.h. */
2137$4
2138#include <$2>
2139_ACEOF
2140if ac_fn_c_try_compile "$LINENO"; then :
2141 eval "$3=yes"
2142else
2143 eval "$3=no"
2144fi
2145rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2146fi
2147eval ac_res=\$$3
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2149$as_echo "$ac_res" >&6; }
2150 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2151
2152} # ac_fn_c_check_header_compile
2153
2154# ac_fn_c_try_link LINENO
2155# -----------------------
2156# Try to link conftest.$ac_ext, and return whether this succeeded.
2157ac_fn_c_try_link ()
2158{
2159 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2160 rm -f conftest.$ac_objext conftest$ac_exeext
2161 if { { ac_try="$ac_link"
2162case "(($ac_try" in
2163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2164 *) ac_try_echo=$ac_try;;
2165esac
2166eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2167$as_echo "$ac_try_echo"; } >&5
2168 (eval "$ac_link") 2>conftest.err
2169 ac_status=$?
2170 if test -s conftest.err; then
2171 grep -v '^ *+' conftest.err >conftest.er1
2172 cat conftest.er1 >&5
2173 mv -f conftest.er1 conftest.err
2174 fi
2175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2176 test $ac_status = 0; } && {
2177 test -z "$ac_c_werror_flag" ||
2178 test ! -s conftest.err
2179 } && test -s conftest$ac_exeext && {
2180 test "$cross_compiling" = yes ||
2181 $as_test_x conftest$ac_exeext
2182 }; 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 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2191 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2192 # interfere with the next link command; also delete a directory that is
2193 # left behind by Apple's compiler. We do this before executing the actions.
2194 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2195 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2196 return $ac_retval
2197
2198} # ac_fn_c_try_link
2199
2200# ac_fn_c_check_func LINENO FUNC VAR
2201# ----------------------------------
2202# Tests whether FUNC exists, setting the cache variable VAR accordingly
2203ac_fn_c_check_func ()
2204{
2205 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2207$as_echo_n "checking for $2... " >&6; }
2208if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2209 $as_echo_n "(cached) " >&6
2210else
2211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2212/* end confdefs.h. */
2213/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2215#define $2 innocuous_$2
2216
2217/* System header to define __stub macros and hopefully few prototypes,
2218 which can conflict with char $2 (); below.
2219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2220 <limits.h> exists even on freestanding compilers. */
2221
2222#ifdef __STDC__
2223# include <limits.h>
2224#else
2225# include <assert.h>
2226#endif
2227
2228#undef $2
2229
2230/* Override any GCC internal prototype to avoid an error.
2231 Use char because int might match the return type of a GCC
2232 builtin and then its argument prototype would still apply. */
2233#ifdef __cplusplus
2234extern "C"
2235#endif
2236char $2 ();
2237/* The GNU C library defines this for functions which it implements
2238 to always fail with ENOSYS. Some functions are actually named
2239 something starting with __ and the normal name is an alias. */
2240#if defined __stub_$2 || defined __stub___$2
2241choke me
2242#endif
2243
2244int
2245main ()
2246{
2247return $2 ();
2248 ;
2249 return 0;
2250}
2251_ACEOF
2252if ac_fn_c_try_link "$LINENO"; then :
2253 eval "$3=yes"
2254else
2255 eval "$3=no"
2256fi
2257rm -f core conftest.err conftest.$ac_objext \
2258 conftest$ac_exeext conftest.$ac_ext
2259fi
2260eval ac_res=\$$3
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2262$as_echo "$ac_res" >&6; }
2263 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2264
2265} # ac_fn_c_check_func
2266
2267# ac_fn_f77_try_compile LINENO
2268# ----------------------------
2269# Try to compile conftest.$ac_ext, and return whether this succeeded.
2270ac_fn_f77_try_compile ()
2271{
2272 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2273 rm -f conftest.$ac_objext
2274 if { { ac_try="$ac_compile"
2275case "(($ac_try" in
2276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2277 *) ac_try_echo=$ac_try;;
2278esac
2279eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2280$as_echo "$ac_try_echo"; } >&5
2281 (eval "$ac_compile") 2>conftest.err
2282 ac_status=$?
2283 if test -s conftest.err; then
2284 grep -v '^ *+' conftest.err >conftest.er1
2285 cat conftest.er1 >&5
2286 mv -f conftest.er1 conftest.err
2287 fi
2288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2289 test $ac_status = 0; } && {
2290 test -z "$ac_f77_werror_flag" ||
2291 test ! -s conftest.err
2292 } && test -s conftest.$ac_objext; then :
2293 ac_retval=0
2294else
2295 $as_echo "$as_me: failed program was:" >&5
2296sed 's/^/| /' conftest.$ac_ext >&5
2297
2298 ac_retval=1
2299fi
2300 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2301 return $ac_retval
2302
2303} # ac_fn_f77_try_compile
2304
2305# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2306# --------------------------------------------
2307# Tries to find the compile-time value of EXPR in a program that includes
2308# INCLUDES, setting VAR accordingly. Returns whether the value could be
2309# computed
2310ac_fn_c_compute_int ()
2311{
2312 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2313 if test "$cross_compiling" = yes; then
2314 # Depending upon the size, compute the lo and hi bounds.
2315cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2316/* end confdefs.h. */
2317$4
2318int
2319main ()
2320{
2321static int test_array [1 - 2 * !(($2) >= 0)];
2322test_array [0] = 0
2323
2324 ;
2325 return 0;
2326}
2327_ACEOF
2328if ac_fn_c_try_compile "$LINENO"; then :
2329 ac_lo=0 ac_mid=0
2330 while :; do
2331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2332/* end confdefs.h. */
2333$4
2334int
2335main ()
2336{
2337static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2338test_array [0] = 0
2339
2340 ;
2341 return 0;
2342}
2343_ACEOF
2344if ac_fn_c_try_compile "$LINENO"; then :
2345 ac_hi=$ac_mid; break
2346else
2347 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2348 if test $ac_lo -le $ac_mid; then
2349 ac_lo= ac_hi=
2350 break
2351 fi
2352 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2353fi
2354rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2355 done
2356else
2357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2358/* end confdefs.h. */
2359$4
2360int
2361main ()
2362{
2363static int test_array [1 - 2 * !(($2) < 0)];
2364test_array [0] = 0
2365
2366 ;
2367 return 0;
2368}
2369_ACEOF
2370if ac_fn_c_try_compile "$LINENO"; then :
2371 ac_hi=-1 ac_mid=-1
2372 while :; do
2373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2374/* end confdefs.h. */
2375$4
2376int
2377main ()
2378{
2379static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2380test_array [0] = 0
2381
2382 ;
2383 return 0;
2384}
2385_ACEOF
2386if ac_fn_c_try_compile "$LINENO"; then :
2387 ac_lo=$ac_mid; break
2388else
2389 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2390 if test $ac_mid -le $ac_hi; then
2391 ac_lo= ac_hi=
2392 break
2393 fi
2394 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2395fi
2396rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2397 done
2398else
2399 ac_lo= ac_hi=
2400fi
2401rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2402fi
2403rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2404# Binary search between lo and hi bounds.
2405while test "x$ac_lo" != "x$ac_hi"; do
2406 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2408/* end confdefs.h. */
2409$4
2410int
2411main ()
2412{
2413static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2414test_array [0] = 0
2415
2416 ;
2417 return 0;
2418}
2419_ACEOF
2420if ac_fn_c_try_compile "$LINENO"; then :
2421 ac_hi=$ac_mid
2422else
2423 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2424fi
2425rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2426done
2427case $ac_lo in #((
2428?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2429'') ac_retval=1 ;;
2430esac
2431 else
2432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2433/* end confdefs.h. */
2434$4
2435static long int longval () { return $2; }
2436static unsigned long int ulongval () { return $2; }
2437#include <stdio.h>
2438#include <stdlib.h>
2439int
2440main ()
2441{
2442
2443 FILE *f = fopen ("conftest.val", "w");
2444 if (! f)
2445 return 1;
2446 if (($2) < 0)
2447 {
2448 long int i = longval ();
2449 if (i != ($2))
2450 return 1;
2451 fprintf (f, "%ld", i);
2452 }
2453 else
2454 {
2455 unsigned long int i = ulongval ();
2456 if (i != ($2))
2457 return 1;
2458 fprintf (f, "%lu", i);
2459 }
2460 /* Do not output a trailing newline, as this causes \r\n confusion
2461 on some platforms. */
2462 return ferror (f) || fclose (f) != 0;
2463
2464 ;
2465 return 0;
2466}
2467_ACEOF
2468if ac_fn_c_try_run "$LINENO"; then :
2469 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2470else
2471 ac_retval=1
2472fi
2473rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2474 conftest.$ac_objext conftest.beam conftest.$ac_ext
2475rm -f conftest.val
2476
2477 fi
2478 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2479 return $ac_retval
2480
2481} # ac_fn_c_compute_int
2482
2483# ac_fn_cxx_try_compile LINENO
2484# ----------------------------
2485# Try to compile conftest.$ac_ext, and return whether this succeeded.
2486ac_fn_cxx_try_compile ()
2487{
2488 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2489 rm -f conftest.$ac_objext
2490 if { { ac_try="$ac_compile"
2491case "(($ac_try" in
2492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2493 *) ac_try_echo=$ac_try;;
2494esac
2495eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2496$as_echo "$ac_try_echo"; } >&5
2497 (eval "$ac_compile") 2>conftest.err
2498 ac_status=$?
2499 if test -s conftest.err; then
2500 grep -v '^ *+' conftest.err >conftest.er1
2501 cat conftest.er1 >&5
2502 mv -f conftest.er1 conftest.err
2503 fi
2504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2505 test $ac_status = 0; } && {
2506 test -z "$ac_cxx_werror_flag" ||
2507 test ! -s conftest.err
2508 } && test -s conftest.$ac_objext; then :
2509 ac_retval=0
2510else
2511 $as_echo "$as_me: failed program was:" >&5
2512sed 's/^/| /' conftest.$ac_ext >&5
2513
2514 ac_retval=1
2515fi
2516 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2517 return $ac_retval
2518
2519} # ac_fn_cxx_try_compile
2520
2521# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2522# ----------------------------------------------------
2523# Tries to find if the field MEMBER exists in type AGGR, after including
2524# INCLUDES, setting cache variable VAR accordingly.
2525ac_fn_c_check_member ()
2526{
2527 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2529$as_echo_n "checking for $2.$3... " >&6; }
2530if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2531 $as_echo_n "(cached) " >&6
2532else
2533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2534/* end confdefs.h. */
2535$5
2536int
2537main ()
2538{
2539static $2 ac_aggr;
2540if (ac_aggr.$3)
2541return 0;
2542 ;
2543 return 0;
2544}
2545_ACEOF
2546if ac_fn_c_try_compile "$LINENO"; then :
2547 eval "$4=yes"
2548else
2549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2550/* end confdefs.h. */
2551$5
2552int
2553main ()
2554{
2555static $2 ac_aggr;
2556if (sizeof ac_aggr.$3)
2557return 0;
2558 ;
2559 return 0;
2560}
2561_ACEOF
2562if ac_fn_c_try_compile "$LINENO"; then :
2563 eval "$4=yes"
2564else
2565 eval "$4=no"
2566fi
2567rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2568fi
2569rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2570fi
2571eval ac_res=\$$4
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2573$as_echo "$ac_res" >&6; }
2574 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2575
2576} # ac_fn_c_check_member
2577
2578# ac_fn_cxx_try_cpp LINENO
2579# ------------------------
2580# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2581ac_fn_cxx_try_cpp ()
2582{
2583 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2584 if { { ac_try="$ac_cpp conftest.$ac_ext"
2585case "(($ac_try" in
2586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2587 *) ac_try_echo=$ac_try;;
2588esac
2589eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2590$as_echo "$ac_try_echo"; } >&5
2591 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2592 ac_status=$?
2593 if test -s conftest.err; then
2594 grep -v '^ *+' conftest.err >conftest.er1
2595 cat conftest.er1 >&5
2596 mv -f conftest.er1 conftest.err
2597 fi
2598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2599 test $ac_status = 0; } >/dev/null && {
2600 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2601 test ! -s conftest.err
2602 }; then :
2603 ac_retval=0
2604else
2605 $as_echo "$as_me: failed program was:" >&5
2606sed 's/^/| /' conftest.$ac_ext >&5
2607
2608 ac_retval=1
2609fi
2610 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2611 return $ac_retval
2612
2613} # ac_fn_cxx_try_cpp
2614
2615# ac_fn_cxx_try_link LINENO
2616# -------------------------
2617# Try to link conftest.$ac_ext, and return whether this succeeded.
2618ac_fn_cxx_try_link ()
2619{
2620 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2621 rm -f conftest.$ac_objext conftest$ac_exeext
2622 if { { ac_try="$ac_link"
2623case "(($ac_try" in
2624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2625 *) ac_try_echo=$ac_try;;
2626esac
2627eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2628$as_echo "$ac_try_echo"; } >&5
2629 (eval "$ac_link") 2>conftest.err
2630 ac_status=$?
2631 if test -s conftest.err; then
2632 grep -v '^ *+' conftest.err >conftest.er1
2633 cat conftest.er1 >&5
2634 mv -f conftest.er1 conftest.err
2635 fi
2636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2637 test $ac_status = 0; } && {
2638 test -z "$ac_cxx_werror_flag" ||
2639 test ! -s conftest.err
2640 } && test -s conftest$ac_exeext && {
2641 test "$cross_compiling" = yes ||
2642 $as_test_x conftest$ac_exeext
2643 }; then :
2644 ac_retval=0
2645else
2646 $as_echo "$as_me: failed program was:" >&5
2647sed 's/^/| /' conftest.$ac_ext >&5
2648
2649 ac_retval=1
2650fi
2651 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2652 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2653 # interfere with the next link command; also delete a directory that is
2654 # left behind by Apple's compiler. We do this before executing the actions.
2655 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2656 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2657 return $ac_retval
2658
2659} # ac_fn_cxx_try_link
2660
2661# ac_fn_f77_try_link LINENO
2662# -------------------------
2663# Try to link conftest.$ac_ext, and return whether this succeeded.
2664ac_fn_f77_try_link ()
2665{
2666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2667 rm -f conftest.$ac_objext conftest$ac_exeext
2668 if { { ac_try="$ac_link"
2669case "(($ac_try" in
2670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2671 *) ac_try_echo=$ac_try;;
2672esac
2673eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2674$as_echo "$ac_try_echo"; } >&5
2675 (eval "$ac_link") 2>conftest.err
2676 ac_status=$?
2677 if test -s conftest.err; then
2678 grep -v '^ *+' conftest.err >conftest.er1
2679 cat conftest.er1 >&5
2680 mv -f conftest.er1 conftest.err
2681 fi
2682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2683 test $ac_status = 0; } && {
2684 test -z "$ac_f77_werror_flag" ||
2685 test ! -s conftest.err
2686 } && test -s conftest$ac_exeext && {
2687 test "$cross_compiling" = yes ||
2688 $as_test_x conftest$ac_exeext
2689 }; then :
2690 ac_retval=0
2691else
2692 $as_echo "$as_me: failed program was:" >&5
2693sed 's/^/| /' conftest.$ac_ext >&5
2694
2695 ac_retval=1
2696fi
2697 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2698 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2699 # interfere with the next link command; also delete a directory that is
2700 # left behind by Apple's compiler. We do this before executing the actions.
2701 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2702 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2703 return $ac_retval
2704
2705} # ac_fn_f77_try_link
1965cat >config.log <<_ACEOF 2706cat >config.log <<_ACEOF
1966This file contains any messages produced by compilers while 2707This file contains any messages produced by compilers while
1967running configure, to aid debugging if configure makes a mistake. 2708running configure, to aid debugging if configure makes a mistake.
1968 2709
1969It was created by Scilab $as_me 5, which was 2710It was created by Scilab $as_me 5, which was
1970generated by GNU Autoconf 2.63. Invocation command line was 2711generated by GNU Autoconf 2.64. Invocation command line was
1971 2712
1972 $ $0 $@ 2713 $ $0 $@
1973 2714
@@ -2003,8 +2744,8 @@ for as_dir in $PATH
2003do 2744do
2004 IFS=$as_save_IFS 2745 IFS=$as_save_IFS
2005 test -z "$as_dir" && as_dir=. 2746 test -z "$as_dir" && as_dir=.
2006 $as_echo "PATH: $as_dir" 2747 $as_echo "PATH: $as_dir"
2007done 2748 done
2008IFS=$as_save_IFS 2749IFS=$as_save_IFS
2009 2750
2010} >&5 2751} >&5
@@ -2041,9 +2782,9 @@ do
2041 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2782 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2042 esac 2783 esac
2043 case $ac_pass in 2784 case $ac_pass in
2044 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2785 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2045 2) 2786 2)
2046 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 2787 as_fn_append ac_configure_args1 " '$ac_arg'"
2047 if test $ac_must_keep_next = true; then 2788 if test $ac_must_keep_next = true; then
2048 ac_must_keep_next=false # Got value, back to normal. 2789 ac_must_keep_next=false # Got value, back to normal.
2049 else 2790 else
@@ -2059,13 +2800,13 @@ do
2059 -* ) ac_must_keep_next=true ;; 2800 -* ) ac_must_keep_next=true ;;
2060 esac 2801 esac
2061 fi 2802 fi
2062 ac_configure_args="$ac_configure_args '$ac_arg'" 2803 as_fn_append ac_configure_args " '$ac_arg'"
2063 ;; 2804 ;;
2064 esac 2805 esac
2065 done 2806 done
2066done 2807done
2067$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 2808{ ac_configure_args0=; unset ac_configure_args0;}
2068$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 2809{ ac_configure_args1=; unset ac_configure_args1;}
2069 2810
2070# When interrupted or exit'd, cleanup temporary files, and complete 2811# When interrupted or exit'd, cleanup temporary files, and complete
2071# config.log. We remove comments because anyway the quotes in there 2812# config.log. We remove comments because anyway the quotes in there
@@ -2090,13 +2831,13 @@ _ASBOX
2090 case $ac_val in #( 2831 case $ac_val in #(
2091 *${as_nl}*) 2832 *${as_nl}*)
2092 case $ac_var in #( 2833 case $ac_var in #(
2093 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 2834 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2094$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2835$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2095 esac 2836 esac
2096 case $ac_var in #( 2837 case $ac_var in #(
2097 _ | IFS | as_nl) ;; #( 2838 _ | IFS | as_nl) ;; #(
2098 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2839 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2099 *) $as_unset $ac_var ;; 2840 *) { eval $ac_var=; unset $ac_var;} ;;
2100 esac ;; 2841 esac ;;
2101 esac 2842 esac
2102 done 2843 done
@@ -2168,39 +2909,41 @@ _ASBOX
2168 exit $exit_status 2909 exit $exit_status
2169' 0 2910' 0
2170for ac_signal in 1 2 13 15; do 2911for ac_signal in 1 2 13 15; do
2171 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2912 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2172done 2913done
2173ac_signal=0 2914ac_signal=0
2174 2915
2175# confdefs.h avoids OS command line length limits that DEFS can exceed. 2916# confdefs.h avoids OS command line length limits that DEFS can exceed.
2176rm -f -r conftest* confdefs.h 2917rm -f -r conftest* confdefs.h
2177 2918
2919$as_echo "/* confdefs.h */" > confdefs.h
2920
2178# Predefined preprocessor variables. 2921# Predefined preprocessor variables.
2179 2922
2180cat >>confdefs.h <<_ACEOF 2923cat >>confdefs.h <<_ACEOF
2181#define PACKAGE_NAME "$PACKAGE_NAME" 2924#define PACKAGE_NAME "$PACKAGE_NAME"
2182_ACEOF 2925_ACEOF
2183 2926
2184
2185cat >>confdefs.h <<_ACEOF 2927cat >>confdefs.h <<_ACEOF
2186#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2928#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2187_ACEOF 2929_ACEOF
2188 2930
2189
2190cat >>confdefs.h <<_ACEOF 2931cat >>confdefs.h <<_ACEOF
2191#define PACKAGE_VERSION "$PACKAGE_VERSION" 2932#define PACKAGE_VERSION "$PACKAGE_VERSION"
2192_ACEOF 2933_ACEOF
2193 2934
2194
2195cat >>confdefs.h <<_ACEOF 2935cat >>confdefs.h <<_ACEOF
2196#define PACKAGE_STRING "$PACKAGE_STRING" 2936#define PACKAGE_STRING "$PACKAGE_STRING"
2197_ACEOF 2937_ACEOF
2198 2938
2199
2200cat >>confdefs.h <<_ACEOF 2939cat >>confdefs.h <<_ACEOF
2201#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2940#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2202_ACEOF 2941_ACEOF
2203 2942
2943cat >>confdefs.h <<_ACEOF
2944#define PACKAGE_URL "$PACKAGE_URL"
2945_ACEOF
2946
2204 2947
2205# Let the site file select an alternate cache file if it wants to. 2948# Let the site file select an alternate cache file if it wants to.
2206# Prefer an explicitly selected file to automatically selected ones. 2949# Prefer an explicitly selected file to automatically selected ones.
@@ -2219,7 +2962,7 @@ for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2219do 2962do
2220 test "x$ac_site_file" = xNONE && continue 2963 test "x$ac_site_file" = xNONE && continue
2221 if test -r "$ac_site_file"; then 2964 if test -r "$ac_site_file"; then
2222 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 2965 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2223$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2966$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2224 sed 's/^/| /' "$ac_site_file" >&5 2967 sed 's/^/| /' "$ac_site_file" >&5
2225 . "$ac_site_file" 2968 . "$ac_site_file"
@@ -2230,7 +2973,7 @@ if test -r "$cache_file"; then
2230 # Some versions of bash will fail to source /dev/null (special 2973 # Some versions of bash will fail to source /dev/null (special
2231 # files actually), so we avoid doing that. 2974 # files actually), so we avoid doing that.
2232 if test -f "$cache_file"; then 2975 if test -f "$cache_file"; then
2233 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 2976 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2234$as_echo "$as_me: loading cache $cache_file" >&6;} 2977$as_echo "$as_me: loading cache $cache_file" >&6;}
2235 case $cache_file in 2978 case $cache_file in
2236 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2979 [\\/]* | ?:[\\/]* ) . "$cache_file";;
@@ -2238,7 +2981,7 @@ $as_echo "$as_me: loading cache $cache_file" >&6;}
2238 esac 2981 esac
2239 fi 2982 fi
2240else 2983else
2241 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 2984 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2242$as_echo "$as_me: creating cache $cache_file" >&6;} 2985$as_echo "$as_me: creating cache $cache_file" >&6;}
2243 >$cache_file 2986 >$cache_file
2244fi 2987fi
@@ -2254,11 +2997,11 @@ for ac_var in $ac_precious_vars; do
2254 eval ac_new_val=\$ac_env_${ac_var}_value 2997 eval ac_new_val=\$ac_env_${ac_var}_value
2255 case $ac_old_set,$ac_new_set in 2998 case $ac_old_set,$ac_new_set in
2256 set,) 2999 set,)
2257 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 3000 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2258$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 3001$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2259 ac_cache_corrupted=: ;; 3002 ac_cache_corrupted=: ;;
2260 ,set) 3003 ,set)
2261 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 3004 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2262$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 3005$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2263 ac_cache_corrupted=: ;; 3006 ac_cache_corrupted=: ;;
2264 ,);; 3007 ,);;
@@ -2268,17 +3011,17 @@ $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2268 ac_old_val_w=`echo x $ac_old_val` 3011 ac_old_val_w=`echo x $ac_old_val`
2269 ac_new_val_w=`echo x $ac_new_val` 3012 ac_new_val_w=`echo x $ac_new_val`
2270 if test "$ac_old_val_w" != "$ac_new_val_w"; then 3013 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2271 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 3014 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2272$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 3015$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2273 ac_cache_corrupted=: 3016 ac_cache_corrupted=:
2274 else 3017 else
2275 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 3018 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2276$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 3019$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2277 eval $ac_var=\$ac_old_val 3020 eval $ac_var=\$ac_old_val
2278 fi 3021 fi
2279 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 3022 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2280$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 3023$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2281 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 3024 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2282$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 3025$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2283 fi;; 3026 fi;;
2284 esac 3027 esac
@@ -2290,43 +3033,20 @@ $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2290 esac 3033 esac
2291 case " $ac_configure_args " in 3034 case " $ac_configure_args " in
2292 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 3035 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2293 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 3036 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2294 esac 3037 esac
2295 fi 3038 fi
2296done 3039done
2297if $ac_cache_corrupted; then 3040if $ac_cache_corrupted; then
2298 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3041 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2299$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3042$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2300 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 3043 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2301$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 3044$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2302 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 3045 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2303$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2304 { (exit 1); exit 1; }; }
2305fi 3046fi
2306 3047## -------------------- ##
2307 3048## Main body of script. ##
2308 3049## -------------------- ##
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330 3050
2331ac_ext=c 3051ac_ext=c
2332ac_cpp='$CPP $CPPFLAGS' 3052ac_cpp='$CPP $CPPFLAGS'
@@ -2361,35 +3081,27 @@ SCILAB_LIBRARY_VERSION=5:1:0
2361# Check if we have a space in the path to the source tree 3081# Check if we have a space in the path to the source tree
2362SPACE_IN_PATH=`echo "$SCI_SRCDIR_FULL"|grep " " > /dev/null; echo $?` 3082SPACE_IN_PATH=`echo "$SCI_SRCDIR_FULL"|grep " " > /dev/null; echo $?`
2363if test "$SPACE_IN_PATH" = "0"; then 3083if test "$SPACE_IN_PATH" = "0"; then
2364 { $as_echo "$as_me:$LINENO: WARNING: =====================================" >&5 3084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: =====================================" >&5
2365$as_echo "$as_me: WARNING: =====================================" >&2;} 3085$as_echo "$as_me: WARNING: =====================================" >&2;}
2366 { $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 3086 { $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
2367$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;} 3087$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;}
2368 { $as_echo "$as_me:$LINENO: WARNING: =====================================" >&5 3088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: =====================================" >&5
2369$as_echo "$as_me: WARNING: =====================================" >&2;} 3089$as_echo "$as_me: WARNING: =====================================" >&2;}
2370 sleep 180 3090 sleep 180
2371fi 3091fi
2372 3092
2373ac_aux_dir= 3093ac_aux_dir=
2374for ac_dir in config "$srcdir"/config; do 3094for ac_dir in config "$srcdir"/config; do
2375 if test -f "$ac_dir/install-sh"; then 3095 for ac_t in install-sh install.sh shtool; do
2376 ac_aux_dir=$ac_dir 3096 if test -f "$ac_dir/$ac_t"; then
2377 ac_install_sh="$ac_aux_dir/install-sh -c" 3097 ac_aux_dir=$ac_dir
2378 break 3098 ac_install_sh="$ac_aux_dir/$ac_t -c"
2379 elif test -f "$ac_dir/install.sh"; then 3099 break 2
2380 ac_aux_dir=$ac_dir 3100 fi
2381 ac_install_sh="$ac_aux_dir/install.sh -c" 3101 done
2382 break
2383 elif test -f "$ac_dir/shtool"; then
2384 ac_aux_dir=$ac_dir
2385 ac_install_sh="$ac_aux_dir/shtool install -c"
2386 break
2387 fi
2388done 3102done
2389if test -z "$ac_aux_dir"; then 3103if test -z "$ac_aux_dir"; then
2390 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5 3104 as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2391$as_echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
2392 { (exit 1); exit 1; }; }
2393fi 3105fi
2394 3106
2395# These three variables are undocumented and unsupported, 3107# These three variables are undocumented and unsupported,
@@ -2418,9 +3130,9 @@ if test "$cross_compiling" != no; then
2418 if test -n "$ac_tool_prefix"; then 3130 if test -n "$ac_tool_prefix"; then
2419 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3131 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2420set dummy ${ac_tool_prefix}strip; ac_word=$2 3132set dummy ${ac_tool_prefix}strip; ac_word=$2
2421{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2422$as_echo_n "checking for $ac_word... " >&6; } 3134$as_echo_n "checking for $ac_word... " >&6; }
2423if test "${ac_cv_prog_STRIP+set}" = set; then 3135if test "${ac_cv_prog_STRIP+set}" = set; then :
2424 $as_echo_n "(cached) " >&6 3136 $as_echo_n "(cached) " >&6
2425else 3137else
2426 if test -n "$STRIP"; then 3138 if test -n "$STRIP"; then
@@ -2431,24 +3143,24 @@ for as_dir in $PATH
2431do 3143do
2432 IFS=$as_save_IFS 3144 IFS=$as_save_IFS
2433 test -z "$as_dir" && as_dir=. 3145 test -z "$as_dir" && as_dir=.
2434 for ac_exec_ext in '' $ac_executable_extensions; do 3146 for ac_exec_ext in '' $ac_executable_extensions; do
2435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2436 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3148 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2437 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2438 break 2 3150 break 2
2439 fi 3151 fi
2440done 3152done
2441done 3153 done
2442IFS=$as_save_IFS 3154IFS=$as_save_IFS
2443 3155
2444fi 3156fi
2445fi 3157fi
2446STRIP=$ac_cv_prog_STRIP 3158STRIP=$ac_cv_prog_STRIP
2447if test -n "$STRIP"; then 3159if test -n "$STRIP"; then
2448 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2449$as_echo "$STRIP" >&6; } 3161$as_echo "$STRIP" >&6; }
2450else 3162else
2451 { $as_echo "$as_me:$LINENO: result: no" >&5 3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2452$as_echo "no" >&6; } 3164$as_echo "no" >&6; }
2453fi 3165fi
2454 3166
@@ -2458,9 +3170,9 @@ if test -z "$ac_cv_prog_STRIP"; then
2458 ac_ct_STRIP=$STRIP 3170 ac_ct_STRIP=$STRIP
2459 # Extract the first word of "strip", so it can be a program name with args. 3171 # Extract the first word of "strip", so it can be a program name with args.
2460set dummy strip; ac_word=$2 3172set dummy strip; ac_word=$2
2461{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3173{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2462$as_echo_n "checking for $ac_word... " >&6; } 3174$as_echo_n "checking for $ac_word... " >&6; }
2463if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 3175if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2464 $as_echo_n "(cached) " >&6 3176 $as_echo_n "(cached) " >&6
2465else 3177else
2466 if test -n "$ac_ct_STRIP"; then 3178 if test -n "$ac_ct_STRIP"; then
@@ -2471,24 +3183,24 @@ for as_dir in $PATH
2471do 3183do
2472 IFS=$as_save_IFS 3184 IFS=$as_save_IFS
2473 test -z "$as_dir" && as_dir=. 3185 test -z "$as_dir" && as_dir=.
2474 for ac_exec_ext in '' $ac_executable_extensions; do 3186 for ac_exec_ext in '' $ac_executable_extensions; do
2475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2476 ac_cv_prog_ac_ct_STRIP="strip" 3188 ac_cv_prog_ac_ct_STRIP="strip"
2477 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2478 break 2 3190 break 2
2479 fi 3191 fi
2480done 3192done
2481done 3193 done
2482IFS=$as_save_IFS 3194IFS=$as_save_IFS
2483 3195
2484fi 3196fi
2485fi 3197fi
2486ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3198ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2487if test -n "$ac_ct_STRIP"; then 3199if test -n "$ac_ct_STRIP"; then
2488 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2489$as_echo "$ac_ct_STRIP" >&6; } 3201$as_echo "$ac_ct_STRIP" >&6; }
2490else 3202else
2491 { $as_echo "$as_me:$LINENO: result: no" >&5 3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2492$as_echo "no" >&6; } 3204$as_echo "no" >&6; }
2493fi 3205fi
2494 3206
@@ -2497,7 +3209,7 @@ fi
2497 else 3209 else
2498 case $cross_compiling:$ac_tool_warned in 3210 case $cross_compiling:$ac_tool_warned in
2499yes:) 3211yes:)
2500{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3212{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2501$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3213$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2502ac_tool_warned=yes ;; 3214ac_tool_warned=yes ;;
2503esac 3215esac
@@ -2510,14 +3222,14 @@ fi
2510fi 3222fi
2511INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3223INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2512 3224
2513{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 3225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2514$as_echo_n "checking whether ln -s works... " >&6; } 3226$as_echo_n "checking whether ln -s works... " >&6; }
2515LN_S=$as_ln_s 3227LN_S=$as_ln_s
2516if test "$LN_S" = "ln -s"; then 3228if test "$LN_S" = "ln -s"; then
2517 { $as_echo "$as_me:$LINENO: result: yes" >&5 3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2518$as_echo "yes" >&6; } 3230$as_echo "yes" >&6; }
2519else 3231else
2520 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2521$as_echo "no, using $LN_S" >&6; } 3233$as_echo "no, using $LN_S" >&6; }
2522fi 3234fi
2523 3235
@@ -2530,9 +3242,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2530if test -n "$ac_tool_prefix"; then 3242if test -n "$ac_tool_prefix"; then
2531 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3243 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2532set dummy ${ac_tool_prefix}gcc; ac_word=$2 3244set dummy ${ac_tool_prefix}gcc; ac_word=$2
2533{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3245{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2534$as_echo_n "checking for $ac_word... " >&6; } 3246$as_echo_n "checking for $ac_word... " >&6; }
2535if test "${ac_cv_prog_CC+set}" = set; then 3247if test "${ac_cv_prog_CC+set}" = set; then :
2536 $as_echo_n "(cached) " >&6 3248 $as_echo_n "(cached) " >&6
2537else 3249else
2538 if test -n "$CC"; then 3250 if test -n "$CC"; then
@@ -2543,24 +3255,24 @@ for as_dir in $PATH
2543do 3255do
2544 IFS=$as_save_IFS 3256 IFS=$as_save_IFS
2545 test -z "$as_dir" && as_dir=. 3257 test -z "$as_dir" && as_dir=.
2546 for ac_exec_ext in '' $ac_executable_extensions; do 3258 for ac_exec_ext in '' $ac_executable_extensions; do
2547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2548 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3260 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2549 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2550 break 2 3262 break 2
2551 fi 3263 fi
2552done 3264done
2553done 3265 done
2554IFS=$as_save_IFS 3266IFS=$as_save_IFS
2555 3267
2556fi 3268fi
2557fi 3269fi
2558CC=$ac_cv_prog_CC 3270CC=$ac_cv_prog_CC
2559if test -n "$CC"; then 3271if test -n "$CC"; then
2560 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2561$as_echo "$CC" >&6; } 3273$as_echo "$CC" >&6; }
2562else 3274else
2563 { $as_echo "$as_me:$LINENO: result: no" >&5 3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2564$as_echo "no" >&6; } 3276$as_echo "no" >&6; }
2565fi 3277fi
2566 3278
@@ -2570,9 +3282,9 @@ if test -z "$ac_cv_prog_CC"; then
2570 ac_ct_CC=$CC 3282 ac_ct_CC=$CC
2571 # Extract the first word of "gcc", so it can be a program name with args. 3283 # Extract the first word of "gcc", so it can be a program name with args.
2572set dummy gcc; ac_word=$2 3284set dummy gcc; ac_word=$2
2573{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2574$as_echo_n "checking for $ac_word... " >&6; } 3286$as_echo_n "checking for $ac_word... " >&6; }
2575if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 3287if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2576 $as_echo_n "(cached) " >&6 3288 $as_echo_n "(cached) " >&6
2577else 3289else
2578 if test -n "$ac_ct_CC"; then 3290 if test -n "$ac_ct_CC"; then
@@ -2583,24 +3295,24 @@ for as_dir in $PATH
2583do 3295do
2584 IFS=$as_save_IFS 3296 IFS=$as_save_IFS
2585 test -z "$as_dir" && as_dir=. 3297 test -z "$as_dir" && as_dir=.
2586 for ac_exec_ext in '' $ac_executable_extensions; do 3298 for ac_exec_ext in '' $ac_executable_extensions; do
2587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2588 ac_cv_prog_ac_ct_CC="gcc" 3300 ac_cv_prog_ac_ct_CC="gcc"
2589 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2590 break 2 3302 break 2
2591 fi 3303 fi
2592done 3304done
2593done 3305 done
2594IFS=$as_save_IFS 3306IFS=$as_save_IFS
2595 3307
2596fi 3308fi
2597fi 3309fi
2598ac_ct_CC=$ac_cv_prog_ac_ct_CC 3310ac_ct_CC=$ac_cv_prog_ac_ct_CC
2599if test -n "$ac_ct_CC"; then 3311if test -n "$ac_ct_CC"; then
2600 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2601$as_echo "$ac_ct_CC" >&6; } 3313$as_echo "$ac_ct_CC" >&6; }
2602else 3314else
2603 { $as_echo "$as_me:$LINENO: result: no" >&5 3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2604$as_echo "no" >&6; } 3316$as_echo "no" >&6; }
2605fi 3317fi
2606 3318
@@ -2609,7 +3321,7 @@ fi
2609 else 3321 else
2610 case $cross_compiling:$ac_tool_warned in 3322 case $cross_compiling:$ac_tool_warned in
2611yes:) 3323yes:)
2612{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3324{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2613$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3325$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2614ac_tool_warned=yes ;; 3326ac_tool_warned=yes ;;
2615esac 3327esac
@@ -2623,9 +3335,9 @@ if test -z "$CC"; then
2623 if test -n "$ac_tool_prefix"; then 3335 if test -n "$ac_tool_prefix"; then
2624 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3336 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2625set dummy ${ac_tool_prefix}cc; ac_word=$2 3337set dummy ${ac_tool_prefix}cc; ac_word=$2
2626{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2627$as_echo_n "checking for $ac_word... " >&6; } 3339$as_echo_n "checking for $ac_word... " >&6; }
2628if test "${ac_cv_prog_CC+set}" = set; then 3340if test "${ac_cv_prog_CC+set}" = set; then :
2629 $as_echo_n "(cached) " >&6 3341 $as_echo_n "(cached) " >&6
2630else 3342else
2631 if test -n "$CC"; then 3343 if test -n "$CC"; then
@@ -2636,24 +3348,24 @@ for as_dir in $PATH
2636do 3348do
2637 IFS=$as_save_IFS 3349 IFS=$as_save_IFS
2638 test -z "$as_dir" && as_dir=. 3350 test -z "$as_dir" && as_dir=.
2639 for ac_exec_ext in '' $ac_executable_extensions; do 3351 for ac_exec_ext in '' $ac_executable_extensions; do
2640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2641 ac_cv_prog_CC="${ac_tool_prefix}cc" 3353 ac_cv_prog_CC="${ac_tool_prefix}cc"
2642 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2643 break 2 3355 break 2
2644 fi 3356 fi
2645done 3357done
2646done 3358 done
2647IFS=$as_save_IFS 3359IFS=$as_save_IFS
2648 3360
2649fi 3361fi
2650fi 3362fi
2651CC=$ac_cv_prog_CC 3363CC=$ac_cv_prog_CC
2652if test -n "$CC"; then 3364if test -n "$CC"; then
2653 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2654$as_echo "$CC" >&6; } 3366$as_echo "$CC" >&6; }
2655else 3367else
2656 { $as_echo "$as_me:$LINENO: result: no" >&5 3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2657$as_echo "no" >&6; } 3369$as_echo "no" >&6; }
2658fi 3370fi
2659 3371
@@ -2663,9 +3375,9 @@ fi
2663if test -z "$CC"; then 3375if test -z "$CC"; then
2664 # Extract the first word of "cc", so it can be a program name with args. 3376 # Extract the first word of "cc", so it can be a program name with args.
2665set dummy cc; ac_word=$2 3377set dummy cc; ac_word=$2
2666{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3378{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2667$as_echo_n "checking for $ac_word... " >&6; } 3379$as_echo_n "checking for $ac_word... " >&6; }
2668if test "${ac_cv_prog_CC+set}" = set; then 3380if test "${ac_cv_prog_CC+set}" = set; then :
2669 $as_echo_n "(cached) " >&6 3381 $as_echo_n "(cached) " >&6
2670else 3382else
2671 if test -n "$CC"; then 3383 if test -n "$CC"; then
@@ -2677,18 +3389,18 @@ for as_dir in $PATH
2677do 3389do
2678 IFS=$as_save_IFS 3390 IFS=$as_save_IFS
2679 test -z "$as_dir" && as_dir=. 3391 test -z "$as_dir" && as_dir=.
2680 for ac_exec_ext in '' $ac_executable_extensions; do 3392 for ac_exec_ext in '' $ac_executable_extensions; do
2681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2682 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3394 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2683 ac_prog_rejected=yes 3395 ac_prog_rejected=yes
2684 continue 3396 continue
2685 fi 3397 fi
2686 ac_cv_prog_CC="cc" 3398 ac_cv_prog_CC="cc"
2687 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2688 break 2 3400 break 2
2689 fi 3401 fi
2690done 3402done
2691done 3403 done
2692IFS=$as_save_IFS 3404IFS=$as_save_IFS
2693 3405
2694if test $ac_prog_rejected = yes; then 3406if test $ac_prog_rejected = yes; then
@@ -2707,10 +3419,10 @@ fi
2707fi 3419fi
2708CC=$ac_cv_prog_CC 3420CC=$ac_cv_prog_CC
2709if test -n "$CC"; then 3421if test -n "$CC"; then
2710 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2711$as_echo "$CC" >&6; } 3423$as_echo "$CC" >&6; }
2712else 3424else
2713 { $as_echo "$as_me:$LINENO: result: no" >&5 3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2714$as_echo "no" >&6; } 3426$as_echo "no" >&6; }
2715fi 3427fi
2716 3428
@@ -2722,9 +3434,9 @@ if test -z "$CC"; then
2722 do 3434 do
2723 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3435 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2724set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3436set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2725{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2726$as_echo_n "checking for $ac_word... " >&6; } 3438$as_echo_n "checking for $ac_word... " >&6; }
2727if test "${ac_cv_prog_CC+set}" = set; then 3439if test "${ac_cv_prog_CC+set}" = set; then :
2728 $as_echo_n "(cached) " >&6 3440 $as_echo_n "(cached) " >&6
2729else 3441else
2730 if test -n "$CC"; then 3442 if test -n "$CC"; then
@@ -2735,24 +3447,24 @@ for as_dir in $PATH
2735do 3447do
2736 IFS=$as_save_IFS 3448 IFS=$as_save_IFS
2737 test -z "$as_dir" && as_dir=. 3449 test -z "$as_dir" && as_dir=.
2738 for ac_exec_ext in '' $ac_executable_extensions; do 3450 for ac_exec_ext in '' $ac_executable_extensions; do
2739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2740 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3452 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2741 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2742 break 2 3454 break 2
2743 fi 3455 fi
2744done 3456done
2745done 3457 done
2746IFS=$as_save_IFS 3458IFS=$as_save_IFS
2747 3459
2748fi 3460fi
2749fi 3461fi
2750CC=$ac_cv_prog_CC 3462CC=$ac_cv_prog_CC
2751if test -n "$CC"; then 3463if test -n "$CC"; then
2752 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2753$as_echo "$CC" >&6; } 3465$as_echo "$CC" >&6; }
2754else 3466else
2755 { $as_echo "$as_me:$LINENO: result: no" >&5 3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2756$as_echo "no" >&6; } 3468$as_echo "no" >&6; }
2757fi 3469fi
2758 3470
@@ -2766,9 +3478,9 @@ if test -z "$CC"; then
2766do 3478do
2767 # Extract the first word of "$ac_prog", so it can be a program name with args. 3479 # Extract the first word of "$ac_prog", so it can be a program name with args.
2768set dummy $ac_prog; ac_word=$2 3480set dummy $ac_prog; ac_word=$2
2769{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2770$as_echo_n "checking for $ac_word... " >&6; } 3482$as_echo_n "checking for $ac_word... " >&6; }
2771if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 3483if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2772 $as_echo_n "(cached) " >&6 3484 $as_echo_n "(cached) " >&6
2773else 3485else
2774 if test -n "$ac_ct_CC"; then 3486 if test -n "$ac_ct_CC"; then
@@ -2779,24 +3491,24 @@ for as_dir in $PATH
2779do 3491do
2780 IFS=$as_save_IFS 3492 IFS=$as_save_IFS
2781 test -z "$as_dir" && as_dir=. 3493 test -z "$as_dir" && as_dir=.
2782 for ac_exec_ext in '' $ac_executable_extensions; do 3494 for ac_exec_ext in '' $ac_executable_extensions; do
2783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2784 ac_cv_prog_ac_ct_CC="$ac_prog" 3496 ac_cv_prog_ac_ct_CC="$ac_prog"
2785 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2786 break 2 3498 break 2
2787 fi 3499 fi
2788done 3500done
2789done 3501 done
2790IFS=$as_save_IFS 3502IFS=$as_save_IFS
2791 3503
2792fi 3504fi
2793fi 3505fi
2794ac_ct_CC=$ac_cv_prog_ac_ct_CC 3506ac_ct_CC=$ac_cv_prog_ac_ct_CC
2795if test -n "$ac_ct_CC"; then 3507if test -n "$ac_ct_CC"; then
2796 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2797$as_echo "$ac_ct_CC" >&6; } 3509$as_echo "$ac_ct_CC" >&6; }
2798else 3510else
2799 { $as_echo "$as_me:$LINENO: result: no" >&5 3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2800$as_echo "no" >&6; } 3512$as_echo "no" >&6; }
2801fi 3513fi
2802 3514
@@ -2809,7 +3521,7 @@ done
2809 else 3521 else
2810 case $cross_compiling:$ac_tool_warned in 3522 case $cross_compiling:$ac_tool_warned in
2811yes:) 3523yes:)
2812{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3524{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2813$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3525$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2814ac_tool_warned=yes ;; 3526ac_tool_warned=yes ;;
2815esac 3527esac
@@ -2820,73 +3532,55 @@ fi
2820fi 3532fi
2821 3533
2822 3534
2823test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3535test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2824$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3536$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2825{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 3537as_fn_error "no acceptable C compiler found in \$PATH
2826See \`config.log' for more details." >&5 3538See \`config.log' for more details." "$LINENO" 5; }
2827$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2828See \`config.log' for more details." >&2;}
2829 { (exit 1); exit 1; }; }; }
2830 3539
2831# Provide some information about the compiler. 3540# Provide some information about the compiler.
2832$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 3541$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2833set X $ac_compile 3542set X $ac_compile
2834ac_compiler=$2 3543ac_compiler=$2
2835{ (ac_try="$ac_compiler --version >&5" 3544for ac_option in --version -v -V -qversion; do
3545 { { ac_try="$ac_compiler $ac_option >&5"
2836case "(($ac_try" in 3546case "(($ac_try" in
2837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2838 *) ac_try_echo=$ac_try;; 3548 *) ac_try_echo=$ac_try;;
2839esac 3549esac
2840eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3550eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2841$as_echo "$ac_try_echo") >&5 3551$as_echo "$ac_try_echo"; } >&5
2842 (eval "$ac_compiler --version >&5") 2>&5 3552 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2843 ac_status=$? 3553 ac_status=$?
2844 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3554 if test -s conftest.err; then
2845 (exit $ac_status); } 3555 sed '10a\
2846{ (ac_try="$ac_compiler -v >&5" 3556... rest of stderr output deleted ...
2847case "(($ac_try" in 3557 10q' conftest.err >conftest.er1
2848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3558 cat conftest.er1 >&5
2849 *) ac_try_echo=$ac_try;; 3559 rm -f conftest.er1 conftest.err
2850esac 3560 fi
2851eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2852$as_echo "$ac_try_echo") >&5 3562 test $ac_status = 0; }
2853 (eval "$ac_compiler -v >&5") 2>&5 3563done
2854 ac_status=$?
2855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); }
2857{ (ac_try="$ac_compiler -V >&5"
2858case "(($ac_try" in
2859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2860 *) ac_try_echo=$ac_try;;
2861esac
2862eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2863$as_echo "$ac_try_echo") >&5
2864 (eval "$ac_compiler -V >&5") 2>&5
2865 ac_status=$?
2866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); }
2868 3564
2869cat >conftest.$ac_ext <<_ACEOF 3565cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2870/* confdefs.h. */
2871_ACEOF
2872cat confdefs.h >>conftest.$ac_ext
2873cat >>conftest.$ac_ext <<_ACEOF
2874/* end confdefs.h. */ 3566/* end confdefs.h. */
2875 3567#include <stdio.h>
2876int 3568int
2877main () 3569main ()
2878{ 3570{
3571FILE *f = fopen ("conftest.out", "w");
3572 return ferror (f) || fclose (f) != 0;
2879 3573
2880 ; 3574 ;
2881 return 0; 3575 return 0;
2882} 3576}
2883_ACEOF 3577_ACEOF
2884ac_clean_files_save=$ac_clean_files 3578ac_clean_files_save=$ac_clean_files
2885ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3579ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2886# Try to create an executable without -o first, disregard a.out. 3580# Try to create an executable without -o first, disregard a.out.
2887# It will help us diagnose broken compilers, and finding out an intuition 3581# It will help us diagnose broken compilers, and finding out an intuition
2888# of exeext. 3582# of exeext.
2889{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 3583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2890$as_echo_n "checking for C compiler default output file name... " >&6; } 3584$as_echo_n "checking for C compiler default output file name... " >&6; }
2891ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3585ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2892 3586
@@ -2903,17 +3597,17 @@ do
2903done 3597done
2904rm -f $ac_rmfiles 3598rm -f $ac_rmfiles
2905 3599
2906if { (ac_try="$ac_link_default" 3600if { { ac_try="$ac_link_default"
2907case "(($ac_try" in 3601case "(($ac_try" in
2908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2909 *) ac_try_echo=$ac_try;; 3603 *) ac_try_echo=$ac_try;;
2910esac 3604esac
2911eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3605eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2912$as_echo "$ac_try_echo") >&5 3606$as_echo "$ac_try_echo"; } >&5
2913 (eval "$ac_link_default") 2>&5 3607 (eval "$ac_link_default") 2>&5
2914 ac_status=$? 3608 ac_status=$?
2915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2916 (exit $ac_status); }; then 3610 test $ac_status = 0; }; then :
2917 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3611 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2918# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3612# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2919# in a Makefile. We should not override ac_cv_exeext if it was cached, 3613# in a Makefile. We should not override ac_cv_exeext if it was cached,
@@ -2930,7 +3624,7 @@ do
2930 # certainly right. 3624 # certainly right.
2931 break;; 3625 break;;
2932 *.* ) 3626 *.* )
2933 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3627 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2934 then :; else 3628 then :; else
2935 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3629 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2936 fi 3630 fi
@@ -2949,84 +3643,75 @@ test "$ac_cv_exeext" = no && ac_cv_exeext=
2949else 3643else
2950 ac_file='' 3644 ac_file=''
2951fi 3645fi
2952 3646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2953{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2954$as_echo "$ac_file" >&6; } 3647$as_echo "$ac_file" >&6; }
2955if test -z "$ac_file"; then 3648if test -z "$ac_file"; then :
2956 $as_echo "$as_me: failed program was:" >&5 3649 $as_echo "$as_me: failed program was:" >&5
2957sed 's/^/| /' conftest.$ac_ext >&5 3650sed 's/^/| /' conftest.$ac_ext >&5
2958 3651
2959{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3652{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2960$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3653$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2961{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 3654{ as_fn_set_status 77
2962See \`config.log' for more details." >&5 3655as_fn_error "C compiler cannot create executables
2963$as_echo "$as_me: error: C compiler cannot create executables 3656See \`config.log' for more details." "$LINENO" 5; }; }
2964See \`config.log' for more details." >&2;}
2965 { (exit 77); exit 77; }; }; }
2966fi 3657fi
2967
2968ac_exeext=$ac_cv_exeext 3658ac_exeext=$ac_cv_exeext
2969 3659
2970# Check that the compiler produces executables we can run. If not, either 3660# Check that the compiler produces executables we can run. If not, either
2971# the compiler is broken, or we cross compile. 3661# the compiler is broken, or we cross compile.
2972{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 3662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2973$as_echo_n "checking whether the C compiler works... " >&6; } 3663$as_echo_n "checking whether the C compiler works... " >&6; }
2974# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2975# If not cross compiling, check that we can run a simple program. 3664# If not cross compiling, check that we can run a simple program.
2976if test "$cross_compiling" != yes; then 3665if test "$cross_compiling" != yes; then
2977 if { ac_try='./$ac_file' 3666 if { ac_try='./$ac_file'
2978 { (case "(($ac_try" in 3667 { { case "(($ac_try" in
2979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2980 *) ac_try_echo=$ac_try;; 3669 *) ac_try_echo=$ac_try;;
2981esac 3670esac
2982eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3671eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2983$as_echo "$ac_try_echo") >&5 3672$as_echo "$ac_try_echo"; } >&5
2984 (eval "$ac_try") 2>&5 3673 (eval "$ac_try") 2>&5
2985 ac_status=$? 3674 ac_status=$?
2986 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2987 (exit $ac_status); }; }; then 3676 test $ac_status = 0; }; }; then
2988 cross_compiling=no 3677 cross_compiling=no
2989 else 3678 else
2990 if test "$cross_compiling" = maybe; then 3679 if test "$cross_compiling" = maybe; then
2991 cross_compiling=yes 3680 cross_compiling=yes
2992 else 3681 else
2993 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3682 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2994$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3683$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2995{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 3684as_fn_error "cannot run C compiled programs.
2996If you meant to cross compile, use \`--host'. 3685If you meant to cross compile, use \`--host'.
2997See \`config.log' for more details." >&5 3686See \`config.log' for more details." "$LINENO" 5; }
2998$as_echo "$as_me: error: cannot run C compiled programs.
2999If you meant to cross compile, use \`--host'.
3000See \`config.log' for more details." >&2;}
3001 { (exit 1); exit 1; }; }; }
3002 fi 3687 fi
3003 fi 3688 fi
3004fi 3689fi
3005{ $as_echo "$as_me:$LINENO: result: yes" >&5 3690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3006$as_echo "yes" >&6; } 3691$as_echo "yes" >&6; }
3007 3692
3008rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3693rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3009ac_clean_files=$ac_clean_files_save 3694ac_clean_files=$ac_clean_files_save
3010# Check that the compiler produces executables we can run. If not, either 3695# Check that the compiler produces executables we can run. If not, either
3011# the compiler is broken, or we cross compile. 3696# the compiler is broken, or we cross compile.
3012{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 3697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3013$as_echo_n "checking whether we are cross compiling... " >&6; } 3698$as_echo_n "checking whether we are cross compiling... " >&6; }
3014{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 3699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3015$as_echo "$cross_compiling" >&6; } 3700$as_echo "$cross_compiling" >&6; }
3016 3701
3017{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3018$as_echo_n "checking for suffix of executables... " >&6; } 3703$as_echo_n "checking for suffix of executables... " >&6; }
3019if { (ac_try="$ac_link" 3704if { { ac_try="$ac_link"
3020case "(($ac_try" in 3705case "(($ac_try" in
3021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3022 *) ac_try_echo=$ac_try;; 3707 *) ac_try_echo=$ac_try;;
3023esac 3708esac
3024eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3709eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3025$as_echo "$ac_try_echo") >&5 3710$as_echo "$ac_try_echo"; } >&5
3026 (eval "$ac_link") 2>&5 3711 (eval "$ac_link") 2>&5
3027 ac_status=$? 3712 ac_status=$?
3028 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3029 (exit $ac_status); }; then 3714 test $ac_status = 0; }; then :
3030 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3715 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3031# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3716# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3032# work properly (i.e., refer to `conftest.exe'), while it won't with 3717# work properly (i.e., refer to `conftest.exe'), while it won't with
@@ -3041,32 +3726,24 @@ for ac_file in conftest.exe conftest conftest.*; do
3041 esac 3726 esac
3042done 3727done
3043else 3728else
3044 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3729 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3045$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3730$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3046{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 3731as_fn_error "cannot compute suffix of executables: cannot compile and link
3047See \`config.log' for more details." >&5 3732See \`config.log' for more details." "$LINENO" 5; }
3048$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3049See \`config.log' for more details." >&2;}
3050 { (exit 1); exit 1; }; }; }
3051fi 3733fi
3052
3053rm -f conftest$ac_cv_exeext 3734rm -f conftest$ac_cv_exeext
3054{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3055$as_echo "$ac_cv_exeext" >&6; } 3736$as_echo "$ac_cv_exeext" >&6; }
3056 3737
3057rm -f conftest.$ac_ext 3738rm -f conftest.$ac_ext
3058EXEEXT=$ac_cv_exeext 3739EXEEXT=$ac_cv_exeext
3059ac_exeext=$EXEEXT 3740ac_exeext=$EXEEXT
3060{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 3741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3061$as_echo_n "checking for suffix of object files... " >&6; } 3742$as_echo_n "checking for suffix of object files... " >&6; }
3062if test "${ac_cv_objext+set}" = set; then 3743if test "${ac_cv_objext+set}" = set; then :
3063 $as_echo_n "(cached) " >&6 3744 $as_echo_n "(cached) " >&6
3064else 3745else
3065 cat >conftest.$ac_ext <<_ACEOF 3746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3066/* confdefs.h. */
3067_ACEOF
3068cat confdefs.h >>conftest.$ac_ext
3069cat >>conftest.$ac_ext <<_ACEOF
3070/* end confdefs.h. */ 3747/* end confdefs.h. */
3071 3748
3072int 3749int
@@ -3078,17 +3755,17 @@ main ()
3078} 3755}
3079_ACEOF 3756_ACEOF
3080rm -f conftest.o conftest.obj 3757rm -f conftest.o conftest.obj
3081if { (ac_try="$ac_compile" 3758if { { ac_try="$ac_compile"
3082case "(($ac_try" in 3759case "(($ac_try" in
3083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3084 *) ac_try_echo=$ac_try;; 3761 *) ac_try_echo=$ac_try;;
3085esac 3762esac
3086eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3763eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3087$as_echo "$ac_try_echo") >&5 3764$as_echo "$ac_try_echo"; } >&5
3088 (eval "$ac_compile") 2>&5 3765 (eval "$ac_compile") 2>&5
3089 ac_status=$? 3766 ac_status=$?
3090 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3091 (exit $ac_status); }; then 3768 test $ac_status = 0; }; then :
3092 for ac_file in conftest.o conftest.obj conftest.*; do 3769 for ac_file in conftest.o conftest.obj conftest.*; do
3093 test -f "$ac_file" || continue; 3770 test -f "$ac_file" || continue;
3094 case $ac_file in 3771 case $ac_file in
@@ -3101,31 +3778,23 @@ else
3101 $as_echo "$as_me: failed program was:" >&5 3778 $as_echo "$as_me: failed program was:" >&5
3102sed 's/^/| /' conftest.$ac_ext >&5 3779sed 's/^/| /' conftest.$ac_ext >&5
3103 3780
3104{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3781{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3105$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3782$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3106{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3783as_fn_error "cannot compute suffix of object files: cannot compile
3107See \`config.log' for more details." >&5 3784See \`config.log' for more details." "$LINENO" 5; }
3108$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3109See \`config.log' for more details." >&2;}
3110 { (exit 1); exit 1; }; }; }
3111fi 3785fi
3112
3113rm -f conftest.$ac_cv_objext conftest.$ac_ext 3786rm -f conftest.$ac_cv_objext conftest.$ac_ext
3114fi 3787fi
3115{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3116$as_echo "$ac_cv_objext" >&6; } 3789$as_echo "$ac_cv_objext" >&6; }
3117OBJEXT=$ac_cv_objext 3790OBJEXT=$ac_cv_objext
3118ac_objext=$OBJEXT 3791ac_objext=$OBJEXT
3119{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3120$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3793$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3121if test "${ac_cv_c_compiler_gnu+set}" = set; then 3794if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3122 $as_echo_n "(cached) " >&6 3795 $as_echo_n "(cached) " >&6
3123else 3796else
3124 cat >conftest.$ac_ext <<_ACEOF 3797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3125/* confdefs.h. */
3126_ACEOF
3127cat confdefs.h >>conftest.$ac_ext
3128cat >>conftest.$ac_ext <<_ACEOF
3129/* end confdefs.h. */ 3798/* end confdefs.h. */
3130 3799
3131int 3800int
@@ -3139,37 +3808,16 @@ main ()
3139 return 0; 3808 return 0;
3140} 3809}
3141_ACEOF 3810_ACEOF
3142rm -f conftest.$ac_objext 3811if ac_fn_c_try_compile "$LINENO"; then :
3143if { (ac_try="$ac_compile"
3144case "(($ac_try" in
3145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3146 *) ac_try_echo=$ac_try;;
3147esac
3148eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3149$as_echo "$ac_try_echo") >&5
3150 (eval "$ac_compile") 2>conftest.er1
3151 ac_status=$?
3152 grep -v '^ *+' conftest.er1 >conftest.err
3153 rm -f conftest.er1
3154 cat conftest.err >&5
3155 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156 (exit $ac_status); } && {
3157 test -z "$ac_c_werror_flag" ||
3158 test ! -s conftest.err
3159 } && test -s conftest.$ac_objext; then
3160 ac_compiler_gnu=yes 3812 ac_compiler_gnu=yes
3161else 3813else
3162 $as_echo "$as_me: failed program was:" >&5 3814 ac_compiler_gnu=no
3163sed 's/^/| /' conftest.$ac_ext >&5
3164
3165 ac_compiler_gnu=no
3166fi 3815fi
3167
3168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3816rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3169ac_cv_c_compiler_gnu=$ac_compiler_gnu 3817ac_cv_c_compiler_gnu=$ac_compiler_gnu
3170 3818
3171fi 3819fi
3172{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3173$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3821$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3174if test $ac_compiler_gnu = yes; then 3822if test $ac_compiler_gnu = yes; then
3175 GCC=yes 3823 GCC=yes
@@ -3178,20 +3826,16 @@ else
3178fi 3826fi
3179ac_test_CFLAGS=${CFLAGS+set} 3827ac_test_CFLAGS=${CFLAGS+set}
3180ac_save_CFLAGS=$CFLAGS 3828ac_save_CFLAGS=$CFLAGS
3181{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3182$as_echo_n "checking whether $CC accepts -g... " >&6; } 3830$as_echo_n "checking whether $CC accepts -g... " >&6; }
3183if test "${ac_cv_prog_cc_g+set}" = set; then 3831if test "${ac_cv_prog_cc_g+set}" = set; then :
3184 $as_echo_n "(cached) " >&6 3832 $as_echo_n "(cached) " >&6
3185else 3833else
3186 ac_save_c_werror_flag=$ac_c_werror_flag 3834 ac_save_c_werror_flag=$ac_c_werror_flag
3187 ac_c_werror_flag=yes 3835 ac_c_werror_flag=yes
3188 ac_cv_prog_cc_g=no 3836 ac_cv_prog_cc_g=no
3189 CFLAGS="-g" 3837 CFLAGS="-g"
3190 cat >conftest.$ac_ext <<_ACEOF 3838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3191/* confdefs.h. */
3192_ACEOF
3193cat confdefs.h >>conftest.$ac_ext
3194cat >>conftest.$ac_ext <<_ACEOF
3195/* end confdefs.h. */ 3839/* end confdefs.h. */
3196 3840
3197int 3841int
@@ -3202,35 +3846,11 @@ main ()
3202 return 0; 3846 return 0;
3203} 3847}
3204_ACEOF 3848_ACEOF
3205rm -f conftest.$ac_objext 3849if ac_fn_c_try_compile "$LINENO"; then :
3206if { (ac_try="$ac_compile"
3207case "(($ac_try" in
3208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3209 *) ac_try_echo=$ac_try;;
3210esac
3211eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3212$as_echo "$ac_try_echo") >&5
3213 (eval "$ac_compile") 2>conftest.er1
3214 ac_status=$?
3215 grep -v '^ *+' conftest.er1 >conftest.err
3216 rm -f conftest.er1
3217 cat conftest.err >&5
3218 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219 (exit $ac_status); } && {
3220 test -z "$ac_c_werror_flag" ||
3221 test ! -s conftest.err
3222 } && test -s conftest.$ac_objext; then
3223 ac_cv_prog_cc_g=yes 3850 ac_cv_prog_cc_g=yes
3224else 3851else
3225 $as_echo "$as_me: failed program was:" >&5 3852 CFLAGS=""
3226sed 's/^/| /' conftest.$ac_ext >&5 3853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3227
3228 CFLAGS=""
3229 cat >conftest.$ac_ext <<_ACEOF
3230/* confdefs.h. */
3231_ACEOF
3232cat confdefs.h >>conftest.$ac_ext
3233cat >>conftest.$ac_ext <<_ACEOF
3234/* end confdefs.h. */ 3854/* end confdefs.h. */
3235 3855
3236int 3856int
@@ -3241,36 +3861,12 @@ main ()
3241 return 0; 3861 return 0;
3242} 3862}
3243_ACEOF 3863_ACEOF
3244rm -f conftest.$ac_objext 3864if ac_fn_c_try_compile "$LINENO"; then :
3245if { (ac_try="$ac_compile"
3246case "(($ac_try" in
3247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3248 *) ac_try_echo=$ac_try;;
3249esac
3250eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3251$as_echo "$ac_try_echo") >&5
3252 (eval "$ac_compile") 2>conftest.er1
3253 ac_status=$?
3254 grep -v '^ *+' conftest.er1 >conftest.err
3255 rm -f conftest.er1
3256 cat conftest.err >&5
3257 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258 (exit $ac_status); } && {
3259 test -z "$ac_c_werror_flag" ||
3260 test ! -s conftest.err
3261 } && test -s conftest.$ac_objext; then
3262 :
3263else
3264 $as_echo "$as_me: failed program was:" >&5
3265sed 's/^/| /' conftest.$ac_ext >&5
3266 3865
3267 ac_c_werror_flag=$ac_save_c_werror_flag 3866else
3867 ac_c_werror_flag=$ac_save_c_werror_flag
3268 CFLAGS="-g" 3868 CFLAGS="-g"
3269 cat >conftest.$ac_ext <<_ACEOF 3869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3270/* confdefs.h. */
3271_ACEOF
3272cat confdefs.h >>conftest.$ac_ext
3273cat >>conftest.$ac_ext <<_ACEOF
3274/* end confdefs.h. */ 3870/* end confdefs.h. */
3275 3871
3276int 3872int
@@ -3281,42 +3877,17 @@ main ()
3281 return 0; 3877 return 0;
3282} 3878}
3283_ACEOF 3879_ACEOF
3284rm -f conftest.$ac_objext 3880if ac_fn_c_try_compile "$LINENO"; then :
3285if { (ac_try="$ac_compile"
3286case "(($ac_try" in
3287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3288 *) ac_try_echo=$ac_try;;
3289esac
3290eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3291$as_echo "$ac_try_echo") >&5
3292 (eval "$ac_compile") 2>conftest.er1
3293 ac_status=$?
3294 grep -v '^ *+' conftest.er1 >conftest.err
3295 rm -f conftest.er1
3296 cat conftest.err >&5
3297 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 (exit $ac_status); } && {
3299 test -z "$ac_c_werror_flag" ||
3300 test ! -s conftest.err
3301 } && test -s conftest.$ac_objext; then
3302 ac_cv_prog_cc_g=yes 3881 ac_cv_prog_cc_g=yes
3303else
3304 $as_echo "$as_me: failed program was:" >&5
3305sed 's/^/| /' conftest.$ac_ext >&5
3306
3307
3308fi 3882fi
3309
3310rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3883rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3311fi 3884fi
3312
3313rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3885rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3314fi 3886fi
3315
3316rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3887rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3317 ac_c_werror_flag=$ac_save_c_werror_flag 3888 ac_c_werror_flag=$ac_save_c_werror_flag
3318fi 3889fi
3319{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3320$as_echo "$ac_cv_prog_cc_g" >&6; } 3891$as_echo "$ac_cv_prog_cc_g" >&6; }
3321if test "$ac_test_CFLAGS" = set; then 3892if test "$ac_test_CFLAGS" = set; then
3322 CFLAGS=$ac_save_CFLAGS 3893 CFLAGS=$ac_save_CFLAGS
@@ -3333,18 +3904,14 @@ else
3333 CFLAGS= 3904 CFLAGS=
3334 fi 3905 fi
3335fi 3906fi
3336{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3337$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3908$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3338if test "${ac_cv_prog_cc_c89+set}" = set; then 3909if test "${ac_cv_prog_cc_c89+set}" = set; then :
3339 $as_echo_n "(cached) " >&6 3910 $as_echo_n "(cached) " >&6
3340else 3911else
3341 ac_cv_prog_cc_c89=no 3912 ac_cv_prog_cc_c89=no
3342ac_save_CC=$CC 3913ac_save_CC=$CC
3343cat >conftest.$ac_ext <<_ACEOF 3914cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3344/* confdefs.h. */
3345_ACEOF
3346cat confdefs.h >>conftest.$ac_ext
3347cat >>conftest.$ac_ext <<_ACEOF
3348/* end confdefs.h. */ 3915/* end confdefs.h. */
3349#include <stdarg.h> 3916#include <stdarg.h>
3350#include <stdio.h> 3917#include <stdio.h>
@@ -3401,32 +3968,9 @@ for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3401 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3968 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3402do 3969do
3403 CC="$ac_save_CC $ac_arg" 3970 CC="$ac_save_CC $ac_arg"
3404 rm -f conftest.$ac_objext 3971 if ac_fn_c_try_compile "$LINENO"; then :
3405if { (ac_try="$ac_compile"
3406case "(($ac_try" in
3407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3408 *) ac_try_echo=$ac_try;;
3409esac
3410eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3411$as_echo "$ac_try_echo") >&5
3412 (eval "$ac_compile") 2>conftest.er1
3413 ac_status=$?
3414 grep -v '^ *+' conftest.er1 >conftest.err
3415 rm -f conftest.er1
3416 cat conftest.err >&5
3417 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); } && {
3419 test -z "$ac_c_werror_flag" ||
3420 test ! -s conftest.err
3421 } && test -s conftest.$ac_objext; then
3422 ac_cv_prog_cc_c89=$ac_arg 3972 ac_cv_prog_cc_c89=$ac_arg
3423else
3424 $as_echo "$as_me: failed program was:" >&5
3425sed 's/^/| /' conftest.$ac_ext >&5
3426
3427
3428fi 3973fi
3429
3430rm -f core conftest.err conftest.$ac_objext 3974rm -f core conftest.err conftest.$ac_objext
3431 test "x$ac_cv_prog_cc_c89" != "xno" && break 3975 test "x$ac_cv_prog_cc_c89" != "xno" && break
3432done 3976done
@@ -3437,17 +3981,19 @@ fi
3437# AC_CACHE_VAL 3981# AC_CACHE_VAL
3438case "x$ac_cv_prog_cc_c89" in 3982case "x$ac_cv_prog_cc_c89" in
3439 x) 3983 x)
3440 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3441$as_echo "none needed" >&6; } ;; 3985$as_echo "none needed" >&6; } ;;
3442 xno) 3986 xno)
3443 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3444$as_echo "unsupported" >&6; } ;; 3988$as_echo "unsupported" >&6; } ;;
3445 *) 3989 *)
3446 CC="$CC $ac_cv_prog_cc_c89" 3990 CC="$CC $ac_cv_prog_cc_c89"
3447 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3448$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3992$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3449esac 3993esac
3994if test "x$ac_cv_prog_cc_c89" != xno; then :
3450 3995
3996fi
3451 3997
3452ac_ext=c 3998ac_ext=c
3453ac_cpp='$CPP $CPPFLAGS' 3999ac_cpp='$CPP $CPPFLAGS'
@@ -3457,15 +4003,15 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
3457 4003
3458 4004
3459# Check whether --enable-largefile was given. 4005# Check whether --enable-largefile was given.
3460if test "${enable_largefile+set}" = set; then 4006if test "${enable_largefile+set}" = set; then :
3461 enableval=$enable_largefile; 4007 enableval=$enable_largefile;
3462fi 4008fi
3463 4009
3464if test "$enable_largefile" != no; then 4010if test "$enable_largefile" != no; then
3465 4011
3466 { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
3467$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 4013$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
3468if test "${ac_cv_sys_largefile_CC+set}" = set; then 4014if test "${ac_cv_sys_largefile_CC+set}" = set; then :
3469 $as_echo_n "(cached) " >&6 4015 $as_echo_n "(cached) " >&6
3470else 4016else
3471 ac_cv_sys_largefile_CC=no 4017 ac_cv_sys_largefile_CC=no
@@ -3474,11 +4020,7 @@ else
3474 while :; do 4020 while :; do
3475 # IRIX 6.2 and later do not support large files by default, 4021 # IRIX 6.2 and later do not support large files by default,
3476 # so use the C compiler's -n32 option if that helps. 4022 # so use the C compiler's -n32 option if that helps.
3477 cat >conftest.$ac_ext <<_ACEOF 4023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478/* confdefs.h. */
3479_ACEOF
3480cat confdefs.h >>conftest.$ac_ext
3481cat >>conftest.$ac_ext <<_ACEOF
3482/* end confdefs.h. */ 4024/* end confdefs.h. */
3483#include <sys/types.h> 4025#include <sys/types.h>
3484 /* Check that off_t can represent 2**63 - 1 correctly. 4026 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -3497,60 +4039,14 @@ main ()
3497 return 0; 4039 return 0;
3498} 4040}
3499_ACEOF 4041_ACEOF
3500 rm -f conftest.$ac_objext 4042 if ac_fn_c_try_compile "$LINENO"; then :
3501if { (ac_try="$ac_compile"
3502case "(($ac_try" in
3503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3504 *) ac_try_echo=$ac_try;;
3505esac
3506eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3507$as_echo "$ac_try_echo") >&5
3508 (eval "$ac_compile") 2>conftest.er1
3509 ac_status=$?
3510 grep -v '^ *+' conftest.er1 >conftest.err
3511 rm -f conftest.er1
3512 cat conftest.err >&5
3513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514 (exit $ac_status); } && {
3515 test -z "$ac_c_werror_flag" ||
3516 test ! -s conftest.err
3517 } && test -s conftest.$ac_objext; then
3518 break 4043 break
3519else
3520 $as_echo "$as_me: failed program was:" >&5
3521sed 's/^/| /' conftest.$ac_ext >&5
3522
3523
3524fi 4044fi
3525
3526rm -f core conftest.err conftest.$ac_objext 4045rm -f core conftest.err conftest.$ac_objext
3527 CC="$CC -n32" 4046 CC="$CC -n32"
3528 rm -f conftest.$ac_objext 4047 if ac_fn_c_try_compile "$LINENO"; then :
3529if { (ac_try="$ac_compile"
3530case "(($ac_try" in
3531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3532 *) ac_try_echo=$ac_try;;
3533esac
3534eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3535$as_echo "$ac_try_echo") >&5
3536 (eval "$ac_compile") 2>conftest.er1
3537 ac_status=$?
3538 grep -v '^ *+' conftest.er1 >conftest.err
3539 rm -f conftest.er1
3540 cat conftest.err >&5
3541 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542 (exit $ac_status); } && {
3543 test -z "$ac_c_werror_flag" ||
3544 test ! -s conftest.err
3545 } && test -s conftest.$ac_objext; then
3546 ac_cv_sys_largefile_CC=' -n32'; break 4048 ac_cv_sys_largefile_CC=' -n32'; break
3547else
3548 $as_echo "$as_me: failed program was:" >&5
3549sed 's/^/| /' conftest.$ac_ext >&5
3550
3551
3552fi 4049fi
3553
3554rm -f core conftest.err conftest.$ac_objext 4050rm -f core conftest.err conftest.$ac_objext
3555 break 4051 break
3556 done 4052 done
@@ -3558,23 +4054,19 @@ rm -f core conftest.err conftest.$ac_objext
3558 rm -f conftest.$ac_ext 4054 rm -f conftest.$ac_ext
3559 fi 4055 fi
3560fi 4056fi
3561{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 4057{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
3562$as_echo "$ac_cv_sys_largefile_CC" >&6; } 4058$as_echo "$ac_cv_sys_largefile_CC" >&6; }
3563 if test "$ac_cv_sys_largefile_CC" != no; then 4059 if test "$ac_cv_sys_largefile_CC" != no; then
3564 CC=$CC$ac_cv_sys_largefile_CC 4060 CC=$CC$ac_cv_sys_largefile_CC
3565 fi 4061 fi
3566 4062
3567 { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3568$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 4064$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
3569if test "${ac_cv_sys_file_offset_bits+set}" = set; then 4065if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
3570 $as_echo_n "(cached) " >&6 4066 $as_echo_n "(cached) " >&6
3571else 4067else
3572 while :; do 4068 while :; do
3573 cat >conftest.$ac_ext <<_ACEOF 4069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3574/* confdefs.h. */
3575_ACEOF
3576cat confdefs.h >>conftest.$ac_ext
3577cat >>conftest.$ac_ext <<_ACEOF
3578/* end confdefs.h. */ 4070/* end confdefs.h. */
3579#include <sys/types.h> 4071#include <sys/types.h>
3580 /* Check that off_t can represent 2**63 - 1 correctly. 4072 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -3593,38 +4085,11 @@ main ()
3593 return 0; 4085 return 0;
3594} 4086}
3595_ACEOF 4087_ACEOF
3596rm -f conftest.$ac_objext 4088if ac_fn_c_try_compile "$LINENO"; then :
3597if { (ac_try="$ac_compile"
3598case "(($ac_try" in
3599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3600 *) ac_try_echo=$ac_try;;
3601esac
3602eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3603$as_echo "$ac_try_echo") >&5
3604 (eval "$ac_compile") 2>conftest.er1
3605 ac_status=$?
3606 grep -v '^ *+' conftest.er1 >conftest.err
3607 rm -f conftest.er1
3608 cat conftest.err >&5
3609 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3610 (exit $ac_status); } && {
3611 test -z "$ac_c_werror_flag" ||
3612 test ! -s conftest.err
3613 } && test -s conftest.$ac_objext; then
3614 ac_cv_sys_file_offset_bits=no; break 4089 ac_cv_sys_file_offset_bits=no; break
3615else
3616 $as_echo "$as_me: failed program was:" >&5
3617sed 's/^/| /' conftest.$ac_ext >&5
3618
3619
3620fi 4090fi
3621
3622rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4091rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3623 cat >conftest.$ac_ext <<_ACEOF 4092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3624/* confdefs.h. */
3625_ACEOF
3626cat confdefs.h >>conftest.$ac_ext
3627cat >>conftest.$ac_ext <<_ACEOF
3628/* end confdefs.h. */ 4093/* end confdefs.h. */
3629#define _FILE_OFFSET_BITS 64 4094#define _FILE_OFFSET_BITS 64
3630#include <sys/types.h> 4095#include <sys/types.h>
@@ -3644,38 +4109,15 @@ main ()
3644 return 0; 4109 return 0;
3645} 4110}
3646_ACEOF 4111_ACEOF
3647rm -f conftest.$ac_objext 4112if ac_fn_c_try_compile "$LINENO"; then :
3648if { (ac_try="$ac_compile"
3649case "(($ac_try" in
3650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3651 *) ac_try_echo=$ac_try;;
3652esac
3653eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3654$as_echo "$ac_try_echo") >&5
3655 (eval "$ac_compile") 2>conftest.er1
3656 ac_status=$?
3657 grep -v '^ *+' conftest.er1 >conftest.err
3658 rm -f conftest.er1
3659 cat conftest.err >&5
3660 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3661 (exit $ac_status); } && {
3662 test -z "$ac_c_werror_flag" ||
3663 test ! -s conftest.err
3664 } && test -s conftest.$ac_objext; then
3665 ac_cv_sys_file_offset_bits=64; break 4113 ac_cv_sys_file_offset_bits=64; break
3666else
3667 $as_echo "$as_me: failed program was:" >&5
3668sed 's/^/| /' conftest.$ac_ext >&5
3669
3670
3671fi 4114fi
3672
3673rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4115rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3674 ac_cv_sys_file_offset_bits=unknown 4116 ac_cv_sys_file_offset_bits=unknown
3675 break 4117 break
3676done 4118done
3677fi 4119fi
3678{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 4120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
3679$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 4121$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
3680case $ac_cv_sys_file_offset_bits in #( 4122case $ac_cv_sys_file_offset_bits in #(
3681 no | unknown) ;; 4123 no | unknown) ;;
@@ -3687,17 +4129,13 @@ _ACEOF
3687esac 4129esac
3688rm -rf conftest* 4130rm -rf conftest*
3689 if test $ac_cv_sys_file_offset_bits = unknown; then 4131 if test $ac_cv_sys_file_offset_bits = unknown; then
3690 { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
3691$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 4133$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
3692if test "${ac_cv_sys_large_files+set}" = set; then 4134if test "${ac_cv_sys_large_files+set}" = set; then :
3693 $as_echo_n "(cached) " >&6 4135 $as_echo_n "(cached) " >&6
3694else 4136else
3695 while :; do 4137 while :; do
3696 cat >conftest.$ac_ext <<_ACEOF 4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3697/* confdefs.h. */
3698_ACEOF
3699cat confdefs.h >>conftest.$ac_ext
3700cat >>conftest.$ac_ext <<_ACEOF
3701/* end confdefs.h. */ 4139/* end confdefs.h. */
3702#include <sys/types.h> 4140#include <sys/types.h>
3703 /* Check that off_t can represent 2**63 - 1 correctly. 4141 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -3716,38 +4154,11 @@ main ()
3716 return 0; 4154 return 0;
3717} 4155}
3718_ACEOF 4156_ACEOF
3719rm -f conftest.$ac_objext 4157if ac_fn_c_try_compile "$LINENO"; then :
3720if { (ac_try="$ac_compile"
3721case "(($ac_try" in
3722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3723 *) ac_try_echo=$ac_try;;
3724esac
3725eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3726$as_echo "$ac_try_echo") >&5
3727 (eval "$ac_compile") 2>conftest.er1
3728 ac_status=$?
3729 grep -v '^ *+' conftest.er1 >conftest.err
3730 rm -f conftest.er1
3731 cat conftest.err >&5
3732 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3733 (exit $ac_status); } && {
3734 test -z "$ac_c_werror_flag" ||
3735 test ! -s conftest.err
3736 } && test -s conftest.$ac_objext; then
3737 ac_cv_sys_large_files=no; break 4158 ac_cv_sys_large_files=no; break
3738else
3739 $as_echo "$as_me: failed program was:" >&5
3740sed 's/^/| /' conftest.$ac_ext >&5
3741
3742
3743fi 4159fi
3744
3745rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4160rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3746 cat >conftest.$ac_ext <<_ACEOF 4161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3747/* confdefs.h. */
3748_ACEOF
3749cat confdefs.h >>conftest.$ac_ext
3750cat >>conftest.$ac_ext <<_ACEOF
3751/* end confdefs.h. */ 4162/* end confdefs.h. */
3752#define _LARGE_FILES 1 4163#define _LARGE_FILES 1
3753#include <sys/types.h> 4164#include <sys/types.h>
@@ -3767,38 +4178,15 @@ main ()
3767 return 0; 4178 return 0;
3768} 4179}
3769_ACEOF 4180_ACEOF
3770rm -f conftest.$ac_objext 4181if ac_fn_c_try_compile "$LINENO"; then :
3771if { (ac_try="$ac_compile"
3772case "(($ac_try" in
3773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3774 *) ac_try_echo=$ac_try;;
3775esac
3776eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3777$as_echo "$ac_try_echo") >&5
3778 (eval "$ac_compile") 2>conftest.er1
3779 ac_status=$?
3780 grep -v '^ *+' conftest.er1 >conftest.err
3781 rm -f conftest.er1
3782 cat conftest.err >&5
3783 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3784 (exit $ac_status); } && {
3785 test -z "$ac_c_werror_flag" ||
3786 test ! -s conftest.err
3787 } && test -s conftest.$ac_objext; then
3788 ac_cv_sys_large_files=1; break 4182 ac_cv_sys_large_files=1; break
3789else
3790 $as_echo "$as_me: failed program was:" >&5
3791sed 's/^/| /' conftest.$ac_ext >&5
3792
3793
3794fi 4183fi
3795
3796rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4184rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3797 ac_cv_sys_large_files=unknown 4185 ac_cv_sys_large_files=unknown
3798 break 4186 break
3799done 4187done
3800fi 4188fi
3801{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 4189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
3802$as_echo "$ac_cv_sys_large_files" >&6; } 4190$as_echo "$ac_cv_sys_large_files" >&6; }
3803case $ac_cv_sys_large_files in #( 4191case $ac_cv_sys_large_files in #(
3804 no | unknown) ;; 4192 no | unknown) ;;
@@ -3829,10 +4217,10 @@ fi
3829# OS/2's system install, which has a completely different semantic 4217# OS/2's system install, which has a completely different semantic
3830# ./install, which can be erroneously created by make from ./install.sh. 4218# ./install, which can be erroneously created by make from ./install.sh.
3831# Reject install programs that cannot install multiple files. 4219# Reject install programs that cannot install multiple files.
3832{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 4220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3833$as_echo_n "checking for a BSD-compatible install... " >&6; } 4221$as_echo_n "checking for a BSD-compatible install... " >&6; }
3834if test -z "$INSTALL"; then 4222if test -z "$INSTALL"; then
3835if test "${ac_cv_path_install+set}" = set; then 4223if test "${ac_cv_path_install+set}" = set; then :
3836 $as_echo_n "(cached) " >&6 4224 $as_echo_n "(cached) " >&6
3837else 4225else
3838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -3840,11 +4228,11 @@ for as_dir in $PATH
3840do 4228do
3841 IFS=$as_save_IFS 4229 IFS=$as_save_IFS
3842 test -z "$as_dir" && as_dir=. 4230 test -z "$as_dir" && as_dir=.
3843 # Account for people who put trailing slashes in PATH elements. 4231 # Account for people who put trailing slashes in PATH elements.
3844case $as_dir/ in 4232case $as_dir/ in #((
3845 ./ | .// | /cC/* | \ 4233 ./ | .// | /[cC]/* | \
3846 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 4234 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3847 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 4235 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3848 /usr/ucb/* ) ;; 4236 /usr/ucb/* ) ;;
3849 *) 4237 *)
3850 # OSF1 and SCO ODT 3.0 have their own names for install. 4238 # OSF1 and SCO ODT 3.0 have their own names for install.
@@ -3881,7 +4269,7 @@ case $as_dir/ in
3881 ;; 4269 ;;
3882esac 4270esac
3883 4271
3884done 4272 done
3885IFS=$as_save_IFS 4273IFS=$as_save_IFS
3886 4274
3887rm -rf conftest.one conftest.two conftest.dir 4275rm -rf conftest.one conftest.two conftest.dir
@@ -3897,7 +4285,7 @@ fi
3897 INSTALL=$ac_install_sh 4285 INSTALL=$ac_install_sh
3898 fi 4286 fi
3899fi 4287fi
3900{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 4288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3901$as_echo "$INSTALL" >&6; } 4289$as_echo "$INSTALL" >&6; }
3902 4290
3903# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 4291# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
@@ -3910,35 +4298,27 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3910 4298
3911# Make sure we can run config.sub. 4299# Make sure we can run config.sub.
3912$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4300$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3913 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 4301 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3914$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3915 { (exit 1); exit 1; }; }
3916 4302
3917{ $as_echo "$as_me:$LINENO: checking build system type" >&5 4303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3918$as_echo_n "checking build system type... " >&6; } 4304$as_echo_n "checking build system type... " >&6; }
3919if test "${ac_cv_build+set}" = set; then 4305if test "${ac_cv_build+set}" = set; then :
3920 $as_echo_n "(cached) " >&6 4306 $as_echo_n "(cached) " >&6
3921else 4307else
3922 ac_build_alias=$build_alias 4308 ac_build_alias=$build_alias
3923test "x$ac_build_alias" = x && 4309test "x$ac_build_alias" = x &&
3924 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4310 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3925test "x$ac_build_alias" = x && 4311test "x$ac_build_alias" = x &&
3926 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 4312 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3927$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3928 { (exit 1); exit 1; }; }
3929ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4313ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3930 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 4314 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3931$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3932 { (exit 1); exit 1; }; }
3933 4315
3934fi 4316fi
3935{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 4317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3936$as_echo "$ac_cv_build" >&6; } 4318$as_echo "$ac_cv_build" >&6; }
3937case $ac_cv_build in 4319case $ac_cv_build in
3938*-*-*) ;; 4320*-*-*) ;;
3939*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 4321*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3940$as_echo "$as_me: error: invalid value of canonical build" >&2;}
3941 { (exit 1); exit 1; }; };;
3942esac 4322esac
3943build=$ac_cv_build 4323build=$ac_cv_build
3944ac_save_IFS=$IFS; IFS='-' 4324ac_save_IFS=$IFS; IFS='-'
@@ -3954,28 +4334,24 @@ IFS=$ac_save_IFS
3954case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4334case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3955 4335
3956 4336
3957{ $as_echo "$as_me:$LINENO: checking host system type" >&5 4337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3958$as_echo_n "checking host system type... " >&6; } 4338$as_echo_n "checking host system type... " >&6; }
3959if test "${ac_cv_host+set}" = set; then 4339if test "${ac_cv_host+set}" = set; then :
3960 $as_echo_n "(cached) " >&6 4340 $as_echo_n "(cached) " >&6
3961else 4341else
3962 if test "x$host_alias" = x; then 4342 if test "x$host_alias" = x; then
3963 ac_cv_host=$ac_cv_build 4343 ac_cv_host=$ac_cv_build
3964else 4344else
3965 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4345 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3966 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 4346 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3967$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3968 { (exit 1); exit 1; }; }
3969fi 4347fi
3970 4348
3971fi 4349fi
3972{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 4350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3973$as_echo "$ac_cv_host" >&6; } 4351$as_echo "$ac_cv_host" >&6; }
3974case $ac_cv_host in 4352case $ac_cv_host in
3975*-*-*) ;; 4353*-*-*) ;;
3976*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 4354*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3977$as_echo "$as_me: error: invalid value of canonical host" >&2;}
3978 { (exit 1); exit 1; }; };;
3979esac 4355esac
3980host=$ac_cv_host 4356host=$ac_cv_host
3981ac_save_IFS=$IFS; IFS='-' 4357ac_save_IFS=$IFS; IFS='-'
@@ -3993,7 +4369,7 @@ case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3993 4369
3994 4370
3995# Check whether --with-gnu-ld was given. 4371# Check whether --with-gnu-ld was given.
3996if test "${with_gnu_ld+set}" = set; then 4372if test "${with_gnu_ld+set}" = set; then :
3997 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4373 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3998else 4374else
3999 with_gnu_ld=no 4375 with_gnu_ld=no
@@ -4015,7 +4391,7 @@ fi
4015ac_prog=ld 4391ac_prog=ld
4016if test "$GCC" = yes; then 4392if test "$GCC" = yes; then
4017 # Check if gcc -print-prog-name=ld gives a path. 4393 # Check if gcc -print-prog-name=ld gives a path.
4018 { $as_echo "$as_me:$LINENO: checking for ld used by GCC" >&5 4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
4019$as_echo_n "checking for ld used by GCC... " >&6; } 4395$as_echo_n "checking for ld used by GCC... " >&6; }
4020 case $host in 4396 case $host in
4021 *-*-mingw*) 4397 *-*-mingw*)
@@ -4045,13 +4421,13 @@ $as_echo_n "checking for ld used by GCC... " >&6; }
4045 ;; 4421 ;;
4046 esac 4422 esac
4047elif test "$with_gnu_ld" = yes; then 4423elif test "$with_gnu_ld" = yes; then
4048 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4049$as_echo_n "checking for GNU ld... " >&6; } 4425$as_echo_n "checking for GNU ld... " >&6; }
4050else 4426else
4051 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4052$as_echo_n "checking for non-GNU ld... " >&6; } 4428$as_echo_n "checking for non-GNU ld... " >&6; }
4053fi 4429fi
4054if test "${acl_cv_path_LD+set}" = set; then 4430if test "${acl_cv_path_LD+set}" = set; then :
4055 $as_echo_n "(cached) " >&6 4431 $as_echo_n "(cached) " >&6
4056else 4432else
4057 if test -z "$LD"; then 4433 if test -z "$LD"; then
@@ -4079,18 +4455,16 @@ fi
4079 4455
4080LD="$acl_cv_path_LD" 4456LD="$acl_cv_path_LD"
4081if test -n "$LD"; then 4457if test -n "$LD"; then
4082 { $as_echo "$as_me:$LINENO: result: $LD" >&5 4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4083$as_echo "$LD" >&6; } 4459$as_echo "$LD" >&6; }
4084else 4460else
4085 { $as_echo "$as_me:$LINENO: result: no" >&5 4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4086$as_echo "no" >&6; } 4462$as_echo "no" >&6; }
4087fi 4463fi
4088test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 4464test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4089$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 4465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4090 { (exit 1); exit 1; }; }
4091{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4092$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4466$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4093if test "${acl_cv_prog_gnu_ld+set}" = set; then 4467if test "${acl_cv_prog_gnu_ld+set}" = set; then :
4094 $as_echo_n "(cached) " >&6 4468 $as_echo_n "(cached) " >&6
4095else 4469else
4096 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 4470 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
@@ -4101,15 +4475,15 @@ case `$LD -v 2>&1 </dev/null` in
4101 acl_cv_prog_gnu_ld=no ;; 4475 acl_cv_prog_gnu_ld=no ;;
4102esac 4476esac
4103fi 4477fi
4104{ $as_echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5 4478{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4105$as_echo "$acl_cv_prog_gnu_ld" >&6; } 4479$as_echo "$acl_cv_prog_gnu_ld" >&6; }
4106with_gnu_ld=$acl_cv_prog_gnu_ld 4480with_gnu_ld=$acl_cv_prog_gnu_ld
4107 4481
4108 4482
4109 4483
4110 { $as_echo "$as_me:$LINENO: checking for shared library path variable" >&5 4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library path variable" >&5
4111$as_echo_n "checking for shared library path variable... " >&6; } 4485$as_echo_n "checking for shared library path variable... " >&6; }
4112if test "${acl_cv_libpath+set}" = set; then 4486if test "${acl_cv_libpath+set}" = set; then :
4113 $as_echo_n "(cached) " >&6 4487 $as_echo_n "(cached) " >&6
4114else 4488else
4115 4489
@@ -4120,15 +4494,15 @@ else
4120 acl_cv_libpath=${acl_cv_shlibpath_var:-none} 4494 acl_cv_libpath=${acl_cv_shlibpath_var:-none}
4121 4495
4122fi 4496fi
4123{ $as_echo "$as_me:$LINENO: result: $acl_cv_libpath" >&5 4497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libpath" >&5
4124$as_echo "$acl_cv_libpath" >&6; } 4498$as_echo "$acl_cv_libpath" >&6; }
4125 shlibpath_var="$acl_cv_shlibpath_var" 4499 shlibpath_var="$acl_cv_shlibpath_var"
4126 4500
4127 4501
4128 { $as_echo "$as_me:$LINENO: checking whether to activate relocatable installation" >&5 4502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to activate relocatable installation" >&5
4129$as_echo_n "checking whether to activate relocatable installation... " >&6; } 4503$as_echo_n "checking whether to activate relocatable installation... " >&6; }
4130 # Check whether --enable-relocatable was given. 4504 # Check whether --enable-relocatable was given.
4131if test "${enable_relocatable+set}" = set; then 4505if test "${enable_relocatable+set}" = set; then :
4132 enableval=$enable_relocatable; if test "$enableval" != no; then 4506 enableval=$enable_relocatable; if test "$enableval" != no; then
4133 RELOCATABLE=yes 4507 RELOCATABLE=yes
4134 else 4508 else
@@ -4140,7 +4514,7 @@ else
4140fi 4514fi
4141 4515
4142 4516
4143 { $as_echo "$as_me:$LINENO: result: $RELOCATABLE" >&5 4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RELOCATABLE" >&5
4144$as_echo "$RELOCATABLE" >&6; } 4518$as_echo "$RELOCATABLE" >&6; }
4145 4519
4146 4520
@@ -4162,14 +4536,14 @@ ac_cpp='$CPP $CPPFLAGS'
4162ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4536ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4163ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4537ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4164ac_compiler_gnu=$ac_cv_c_compiler_gnu 4538ac_compiler_gnu=$ac_cv_c_compiler_gnu
4165{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4166$as_echo_n "checking how to run the C preprocessor... " >&6; } 4540$as_echo_n "checking how to run the C preprocessor... " >&6; }
4167# On Suns, sometimes $CPP names a directory. 4541# On Suns, sometimes $CPP names a directory.
4168if test -n "$CPP" && test -d "$CPP"; then 4542if test -n "$CPP" && test -d "$CPP"; then
4169 CPP= 4543 CPP=
4170fi 4544fi
4171if test -z "$CPP"; then 4545if test -z "$CPP"; then
4172 if test "${ac_cv_prog_CPP+set}" = set; then 4546 if test "${ac_cv_prog_CPP+set}" = set; then :
4173 $as_echo_n "(cached) " >&6 4547 $as_echo_n "(cached) " >&6
4174else 4548else
4175 # Double quotes because CPP needs to be expanded 4549 # Double quotes because CPP needs to be expanded
@@ -4184,11 +4558,7 @@ do
4184 # <limits.h> exists even on freestanding compilers. 4558 # <limits.h> exists even on freestanding compilers.
4185 # On the NeXT, cc -E runs the code through the compiler's parser, 4559 # On the NeXT, cc -E runs the code through the compiler's parser,
4186 # not just through cpp. "Syntax error" is here to catch this case. 4560 # not just through cpp. "Syntax error" is here to catch this case.
4187 cat >conftest.$ac_ext <<_ACEOF 4561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4188/* confdefs.h. */
4189_ACEOF
4190cat confdefs.h >>conftest.$ac_ext
4191cat >>conftest.$ac_ext <<_ACEOF
4192/* end confdefs.h. */ 4562/* end confdefs.h. */
4193#ifdef __STDC__ 4563#ifdef __STDC__
4194# include <limits.h> 4564# include <limits.h>
@@ -4197,78 +4567,34 @@ cat >>conftest.$ac_ext <<_ACEOF
4197#endif 4567#endif
4198 Syntax error 4568 Syntax error
4199_ACEOF 4569_ACEOF
4200if { (ac_try="$ac_cpp conftest.$ac_ext" 4570if ac_fn_c_try_cpp "$LINENO"; then :
4201case "(($ac_try" in
4202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4203 *) ac_try_echo=$ac_try;;
4204esac
4205eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4206$as_echo "$ac_try_echo") >&5
4207 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4208 ac_status=$?
4209 grep -v '^ *+' conftest.er1 >conftest.err
4210 rm -f conftest.er1
4211 cat conftest.err >&5
4212 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4213 (exit $ac_status); } >/dev/null && {
4214 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4215 test ! -s conftest.err
4216 }; then
4217 :
4218else
4219 $as_echo "$as_me: failed program was:" >&5
4220sed 's/^/| /' conftest.$ac_ext >&5
4221 4571
4572else
4222 # Broken: fails on valid input. 4573 # Broken: fails on valid input.
4223continue 4574continue
4224fi 4575fi
4225
4226rm -f conftest.err conftest.$ac_ext