summaryrefslogtreecommitdiffstats
path: root/scilab
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre.ledru@scilab.org>2009-08-31 12:04:09 +0200
committerSylvestre Ledru <sylvestre.ledru@scilab.org>2009-08-31 12:04:09 +0200
commiteae283b4ab8cee9b89cc5975d149e2dac7910ceb (patch)
treea74604771feae9fbced64fc03888d1da430d4e41 /scilab
parent0c315ce4294267c1edb166d4d1c4e067fe90bc6e (diff)
parent3377cdf79961f15ab9c15cde83ad6a7c61286082 (diff)
downloadscilab-eae283b4ab8cee9b89cc5975d149e2dac7910ceb.zip
scilab-eae283b4ab8cee9b89cc5975d149e2dac7910ceb.tar.gz
Merge commit 'origin/5.1'
Conflicts: scilab/configure scilab/modules/scilab2fortran/Makefile.in
Diffstat (limited to 'scilab')
-rw-r--r--scilab/CHANGES_5.1.X5
-rw-r--r--scilab/Makefile.in1
-rw-r--r--scilab/aclocal.m44
-rwxr-xr-xscilab/configure19518
-rw-r--r--scilab/configure.ac1
-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/m4/libs_by_debian.m483
-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/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
81 files changed, 4647 insertions, 15040 deletions
diff --git a/scilab/CHANGES_5.1.X b/scilab/CHANGES_5.1.X
index 364dee3..dba17ba 100644
--- a/scilab/CHANGES_5.1.X
+++ b/scilab/CHANGES_5.1.X
@@ -66,6 +66,11 @@ Compilation:
66 66
67* automake version changed (1.10.1 => 1.10.2) 67* automake version changed (1.10.1 => 1.10.2)
68 68
69* autoconf version changed (2.63 => 2.64)
70
71* Fix a bug in the configure with autoconf 2.64
72
73
69Source reorganisation: 74Source reorganisation:
70====================== 75======================
71 76
diff --git a/scilab/Makefile.in b/scilab/Makefile.in
index ced0a90..dacc7e0 100644
--- a/scilab/Makefile.in
+++ b/scilab/Makefile.in
@@ -383,6 +383,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
383PACKAGE_NAME = @PACKAGE_NAME@ 383PACKAGE_NAME = @PACKAGE_NAME@
384PACKAGE_STRING = @PACKAGE_STRING@ 384PACKAGE_STRING = @PACKAGE_STRING@
385PACKAGE_TARNAME = @PACKAGE_TARNAME@ 385PACKAGE_TARNAME = @PACKAGE_TARNAME@
386PACKAGE_URL = @PACKAGE_URL@
386PACKAGE_VERSION = @PACKAGE_VERSION@ 387PACKAGE_VERSION = @PACKAGE_VERSION@
387PATH_SEPARATOR = @PATH_SEPARATOR@ 388PATH_SEPARATOR = @PATH_SEPARATOR@
388PCRE_CFLAGS = @PCRE_CFLAGS@ 389PCRE_CFLAGS = @PCRE_CFLAGS@
diff --git a/scilab/aclocal.m4 b/scilab/aclocal.m4
index 416b296..50281cb 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 b8ed8e2..538c737 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="\
@@ -1056,6 +1010,7 @@ bindir
1056program_transform_name 1010program_transform_name
1057prefix 1011prefix
1058exec_prefix 1012exec_prefix
1013PACKAGE_URL
1059PACKAGE_BUGREPORT 1014PACKAGE_BUGREPORT
1060PACKAGE_STRING 1015PACKAGE_STRING
1061PACKAGE_VERSION 1016PACKAGE_VERSION
@@ -1255,8 +1210,7 @@ do
1255 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1210 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1256 # Reject names that are not valid shell variable names. 1211 # Reject names that are not valid shell variable names.
1257 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1212 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1258 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 1213 as_fn_error "invalid feature name: $ac_useropt"
1259 { (exit 1); exit 1; }; }
1260 ac_useropt_orig=$ac_useropt 1214 ac_useropt_orig=$ac_useropt
1261 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1215 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1262 case $ac_user_opts in 1216 case $ac_user_opts in
@@ -1282,8 +1236,7 @@ do
1282 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1236 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1283 # Reject names that are not valid shell variable names. 1237 # Reject names that are not valid shell variable names.
1284 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1238 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1285 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 1239 as_fn_error "invalid feature name: $ac_useropt"
1286 { (exit 1); exit 1; }; }
1287 ac_useropt_orig=$ac_useropt 1240 ac_useropt_orig=$ac_useropt
1288 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1241 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1289 case $ac_user_opts in 1242 case $ac_user_opts in
@@ -1487,8 +1440,7 @@ do
1487 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1440 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1488 # Reject names that are not valid shell variable names. 1441 # Reject names that are not valid shell variable names.
1489 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1442 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1490 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1443 as_fn_error "invalid package name: $ac_useropt"
1491 { (exit 1); exit 1; }; }
1492 ac_useropt_orig=$ac_useropt 1444 ac_useropt_orig=$ac_useropt
1493 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1445 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1494 case $ac_user_opts in 1446 case $ac_user_opts in
@@ -1504,8 +1456,7 @@ do
1504 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1456 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1505 # Reject names that are not valid shell variable names. 1457 # Reject names that are not valid shell variable names.
1506 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1458 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1507 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1459 as_fn_error "invalid package name: $ac_useropt"
1508 { (exit 1); exit 1; }; }
1509 ac_useropt_orig=$ac_useropt 1460 ac_useropt_orig=$ac_useropt
1510 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1461 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1511 case $ac_user_opts in 1462 case $ac_user_opts in
@@ -1535,17 +1486,17 @@ do
1535 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1486 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1536 x_libraries=$ac_optarg ;; 1487 x_libraries=$ac_optarg ;;
1537 1488
1538 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1489 -*) as_fn_error "unrecognized option: \`$ac_option'
1539Try \`$0 --help' for more information." >&2 1490Try \`$0 --help' for more information."
1540 { (exit 1); exit 1; }; }
1541 ;; 1491 ;;
1542 1492
1543 *=*) 1493 *=*)
1544 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1494 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1545 # Reject names that are not valid shell variable names. 1495 # Reject names that are not valid shell variable names.
1546 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1496 case $ac_envvar in #(
1547 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1497 '' | [0-9]* | *[!_$as_cr_alnum]* )
1548 { (exit 1); exit 1; }; } 1498 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1499 esac
1549 eval $ac_envvar=\$ac_optarg 1500 eval $ac_envvar=\$ac_optarg
1550 export $ac_envvar ;; 1501 export $ac_envvar ;;
1551 1502
@@ -1562,15 +1513,13 @@ done
1562 1513
1563if test -n "$ac_prev"; then 1514if test -n "$ac_prev"; then
1564 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1515 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1565 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1516 as_fn_error "missing argument to $ac_option"
1566 { (exit 1); exit 1; }; }
1567fi 1517fi
1568 1518
1569if test -n "$ac_unrecognized_opts"; then 1519if test -n "$ac_unrecognized_opts"; then
1570 case $enable_option_checking in 1520 case $enable_option_checking in
1571 no) ;; 1521 no) ;;
1572 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1522 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1573 { (exit 1); exit 1; }; } ;;
1574 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1523 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1575 esac 1524 esac
1576fi 1525fi
@@ -1593,8 +1542,7 @@ do
1593 [\\/$]* | ?:[\\/]* ) continue;; 1542 [\\/$]* | ?:[\\/]* ) continue;;
1594 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1543 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1595 esac 1544 esac
1596 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1545 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1597 { (exit 1); exit 1; }; }
1598done 1546done
1599 1547
1600# There might be people who depend on the old broken behavior: `$host' 1548# There might be people who depend on the old broken behavior: `$host'
@@ -1624,11 +1572,9 @@ test "$silent" = yes && exec 6>/dev/null
1624ac_pwd=`pwd` && test -n "$ac_pwd" && 1572ac_pwd=`pwd` && test -n "$ac_pwd" &&
1625ac_ls_di=`ls -di .` && 1573ac_ls_di=`ls -di .` &&
1626ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1574ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1627 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1575 as_fn_error "working directory cannot be determined"
1628 { (exit 1); exit 1; }; }
1629test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1576test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1630 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1577 as_fn_error "pwd does not report name of working directory"
1631 { (exit 1); exit 1; }; }
1632 1578
1633 1579
1634# Find the source files, if location was not specified. 1580# Find the source files, if location was not specified.
@@ -1667,13 +1613,11 @@ else
1667fi 1613fi
1668if test ! -r "$srcdir/$ac_unique_file"; then 1614if test ! -r "$srcdir/$ac_unique_file"; then
1669 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1615 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1670 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1616 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1671 { (exit 1); exit 1; }; }
1672fi 1617fi
1673ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1618ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1674ac_abs_confdir=`( 1619ac_abs_confdir=`(
1675 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1620 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1676 { (exit 1); exit 1; }; }
1677 pwd)` 1621 pwd)`
1678# When building in place, set srcdir=. 1622# When building in place, set srcdir=.
1679if test "$ac_abs_confdir" = "$ac_pwd"; then 1623if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1964,21 +1908,818 @@ test -n "$ac_init_help" && exit $ac_status
1964if $ac_init_version; then 1908if $ac_init_version; then
1965 cat <<\_ACEOF 1909 cat <<\_ACEOF
1966Scilab configure 5 1910Scilab configure 5
1967generated by GNU Autoconf 2.63 1911generated by GNU Autoconf 2.64
1968 1912
1969Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1913Copyright (C) 2009 Free Software Foundation, Inc.
19702002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1971This configure script is free software; the Free Software Foundation 1914This configure script is free software; the Free Software Foundation
1972gives unlimited permission to copy, distribute and modify it. 1915gives unlimited permission to copy, distribute and modify it.
1973_ACEOF 1916_ACEOF
1974 exit 1917 exit
1975fi 1918fi
1919
1920## ------------------------ ##
1921## Autoconf initialization. ##
1922## ------------------------ ##
1923
1924# ac_fn_c_try_compile LINENO
1925# --------------------------
1926# Try to compile conftest.$ac_ext, and return whether this succeeded.
1927ac_fn_c_try_compile ()
1928{
1929 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1930 rm -f conftest.$ac_objext
1931 if { { ac_try="$ac_compile"
1932case "(($ac_try" in
1933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1934 *) ac_try_echo=$ac_try;;
1935esac
1936eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1937$as_echo "$ac_try_echo"; } >&5
1938 (eval "$ac_compile") 2>conftest.err
1939 ac_status=$?
1940 if test -s conftest.err; then
1941 grep -v '^ *+' conftest.err >conftest.er1
1942 cat conftest.er1 >&5
1943 mv -f conftest.er1 conftest.err
1944 fi
1945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1946 test $ac_status = 0; } && {
1947 test -z "$ac_c_werror_flag" ||
1948 test ! -s conftest.err
1949 } && test -s conftest.$ac_objext; then :
1950 ac_retval=0
1951else
1952 $as_echo "$as_me: failed program was:" >&5
1953sed 's/^/| /' conftest.$ac_ext >&5
1954
1955 ac_retval=1
1956fi
1957 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1958 return $ac_retval
1959
1960} # ac_fn_c_try_compile
1961
1962# ac_fn_c_try_cpp LINENO
1963# ----------------------
1964# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1965ac_fn_c_try_cpp ()
1966{
1967 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1968 if { { ac_try="$ac_cpp conftest.$ac_ext"
1969case "(($ac_try" in
1970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1971 *) ac_try_echo=$ac_try;;
1972esac
1973eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1974$as_echo "$ac_try_echo"; } >&5
1975 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1976 ac_status=$?
1977 if test -s conftest.err; then
1978 grep -v '^ *+' conftest.err >conftest.er1
1979 cat conftest.er1 >&5
1980 mv -f conftest.er1 conftest.err
1981 fi
1982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1983 test $ac_status = 0; } >/dev/null && {
1984 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1985 test ! -s conftest.err
1986 }; then :
1987 ac_retval=0
1988else
1989 $as_echo "$as_me: failed program was:" >&5
1990sed 's/^/| /' conftest.$ac_ext >&5
1991
1992 ac_retval=1
1993fi
1994 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1995 return $ac_retval
1996
1997} # ac_fn_c_try_cpp
1998
1999# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2000# -------------------------------------------------------
2001# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2002# the include files in INCLUDES and setting the cache variable VAR
2003# accordingly.
2004ac_fn_c_check_header_mongrel ()
2005{
2006 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2007 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2009$as_echo_n "checking for $2... " >&6; }
2010if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2011 $as_echo_n "(cached) " >&6
2012fi
2013eval ac_res=\$$3
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2015$as_echo "$ac_res" >&6; }
2016else
2017 # Is the header compilable?
2018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2019$as_echo_n "checking $2 usability... " >&6; }
2020cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2021/* end confdefs.h. */
2022$4
2023#include <$2>
2024_ACEOF
2025if ac_fn_c_try_compile "$LINENO"; then :
2026 ac_header_compiler=yes
2027else
2028 ac_header_compiler=no
2029fi
2030rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2032$as_echo "$ac_header_compiler" >&6; }
2033
2034# Is the header present?
2035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2036$as_echo_n "checking $2 presence... " >&6; }
2037cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2038/* end confdefs.h. */
2039#include <$2>
2040_ACEOF
2041if ac_fn_c_try_cpp "$LINENO"; then :
2042 ac_header_preproc=yes
2043else
2044 ac_header_preproc=no
2045fi
2046rm -f conftest.err conftest.$ac_ext
2047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2048$as_echo "$ac_header_preproc" >&6; }
2049
2050# So? What about this header?
2051case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2052 yes:no: )
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2054$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2056$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2057 ;;
2058 no:yes:* )
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2060$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2062$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2064$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2066$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2068$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2069( cat <<\_ASBOX
2070## ------------------------------------------ ##
2071## Report this to http://bugzilla.scilab.org/ ##
2072## ------------------------------------------ ##
2073_ASBOX
2074 ) | sed "s/^/$as_me: WARNING: /" >&2
2075 ;;
2076esac
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2078$as_echo_n "checking for $2... " >&6; }
2079if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2080 $as_echo_n "(cached) " >&6
2081else
2082 eval "$3=\$ac_header_compiler"
2083fi
2084eval ac_res=\$$3
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2086$as_echo "$ac_res" >&6; }
2087fi
2088 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2089
2090} # ac_fn_c_check_header_mongrel
2091
2092# ac_fn_c_try_run LINENO
2093# ----------------------
2094# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2095# that executables *can* be run.
2096ac_fn_c_try_run ()
2097{
2098 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2099 if { { ac_try="$ac_link"
2100case "(($ac_try" in
2101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2102 *) ac_try_echo=$ac_try;;
2103esac
2104eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2105$as_echo "$ac_try_echo"; } >&5
2106 (eval "$ac_link") 2>&5
2107 ac_status=$?
2108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2109 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2110 { { case "(($ac_try" in
2111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2112 *) ac_try_echo=$ac_try;;
2113esac
2114eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2115$as_echo "$ac_try_echo"; } >&5
2116 (eval "$ac_try") 2>&5
2117 ac_status=$?
2118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2119 test $ac_status = 0; }; }; then :
2120 ac_retval=0
2121else
2122 $as_echo "$as_me: program exited with status $ac_status" >&5
2123 $as_echo "$as_me: failed program was:" >&5
2124sed 's/^/| /' conftest.$ac_ext >&5
2125
2126 ac_retval=$ac_status
2127fi
2128 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2129 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2130 return $ac_retval
2131
2132} # ac_fn_c_try_run
2133
2134# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2135# -------------------------------------------------------
2136# Tests whether HEADER exists and can be compiled using the include files in
2137# INCLUDES, setting the cache variable VAR accordingly.
2138ac_fn_c_check_header_compile ()
2139{
2140 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2142$as_echo_n "checking for $2... " >&6; }
2143if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2144 $as_echo_n "(cached) " >&6
2145else
2146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2147/* end confdefs.h. */
2148$4
2149#include <$2>
2150_ACEOF
2151if ac_fn_c_try_compile "$LINENO"; then :
2152 eval "$3=yes"
2153else
2154 eval "$3=no"
2155fi
2156rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2157fi
2158eval ac_res=\$$3
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2160$as_echo "$ac_res" >&6; }
2161 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2162
2163} # ac_fn_c_check_header_compile
2164
2165# ac_fn_c_try_link LINENO
2166# -----------------------
2167# Try to link conftest.$ac_ext, and return whether this succeeded.
2168ac_fn_c_try_link ()
2169{
2170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2171 rm -f conftest.$ac_objext conftest$ac_exeext
2172 if { { ac_try="$ac_link"
2173case "(($ac_try" in
2174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2175 *) ac_try_echo=$ac_try;;
2176esac
2177eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2178$as_echo "$ac_try_echo"; } >&5
2179 (eval "$ac_link") 2>conftest.err
2180 ac_status=$?
2181 if test -s conftest.err; then
2182 grep -v '^ *+' conftest.err >conftest.er1
2183 cat conftest.er1 >&5
2184 mv -f conftest.er1 conftest.err
2185 fi
2186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2187 test $ac_status = 0; } && {
2188 test -z "$ac_c_werror_flag" ||
2189 test ! -s conftest.err
2190 } && test -s conftest$ac_exeext && {
2191 test "$cross_compiling" = yes ||
2192 $as_test_x conftest$ac_exeext
2193 }; then :
2194 ac_retval=0
2195else
2196 $as_echo "$as_me: failed program was:" >&5
2197sed 's/^/| /' conftest.$ac_ext >&5
2198
2199 ac_retval=1
2200fi
2201 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2202 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2203 # interfere with the next link command; also delete a directory that is
2204 # left behind by Apple's compiler. We do this before executing the actions.
2205 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2206 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2207 return $ac_retval
2208
2209} # ac_fn_c_try_link
2210
2211# ac_fn_c_check_func LINENO FUNC VAR
2212# ----------------------------------
2213# Tests whether FUNC exists, setting the cache variable VAR accordingly
2214ac_fn_c_check_func ()
2215{
2216 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2218$as_echo_n "checking for $2... " >&6; }
2219if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2220 $as_echo_n "(cached) " >&6
2221else
2222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2223/* end confdefs.h. */
2224/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2226#define $2 innocuous_$2
2227
2228/* System header to define __stub macros and hopefully few prototypes,
2229 which can conflict with char $2 (); below.
2230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2231 <limits.h> exists even on freestanding compilers. */
2232
2233#ifdef __STDC__
2234# include <limits.h>
2235#else
2236# include <assert.h>
2237#endif
2238
2239#undef $2
2240
2241/* Override any GCC internal prototype to avoid an error.
2242 Use char because int might match the return type of a GCC
2243 builtin and then its argument prototype would still apply. */
2244#ifdef __cplusplus
2245extern "C"
2246#endif
2247char $2 ();
2248/* The GNU C library defines this for functions which it implements
2249 to always fail with ENOSYS. Some functions are actually named
2250 something starting with __ and the normal name is an alias. */
2251#if defined __stub_$2 || defined __stub___$2
2252choke me
2253#endif
2254
2255int
2256main ()
2257{
2258return $2 ();
2259 ;
2260 return 0;
2261}
2262_ACEOF
2263if ac_fn_c_try_link "$LINENO"; then :
2264 eval "$3=yes"
2265else
2266 eval "$3=no"
2267fi
2268rm -f core conftest.err conftest.$ac_objext \
2269 conftest$ac_exeext conftest.$ac_ext
2270fi
2271eval ac_res=\$$3
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2273$as_echo "$ac_res" >&6; }
2274 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2275
2276} # ac_fn_c_check_func
2277
2278# ac_fn_f77_try_compile LINENO
2279# ----------------------------
2280# Try to compile conftest.$ac_ext, and return whether this succeeded.
2281ac_fn_f77_try_compile ()
2282{
2283 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2284 rm -f conftest.$ac_objext
2285 if { { ac_try="$ac_compile"
2286case "(($ac_try" in
2287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2288 *) ac_try_echo=$ac_try;;
2289esac
2290eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2291$as_echo "$ac_try_echo"; } >&5
2292 (eval "$ac_compile") 2>conftest.err
2293 ac_status=$?
2294 if test -s conftest.err; then
2295 grep -v '^ *+' conftest.err >conftest.er1
2296 cat conftest.er1 >&5
2297 mv -f conftest.er1 conftest.err
2298 fi
2299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2300 test $ac_status = 0; } && {
2301 test -z "$ac_f77_werror_flag" ||
2302 test ! -s conftest.err
2303 } && test -s conftest.$ac_objext; then :
2304 ac_retval=0
2305else
2306 $as_echo "$as_me: failed program was:" >&5
2307sed 's/^/| /' conftest.$ac_ext >&5
2308
2309 ac_retval=1
2310fi
2311 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2312 return $ac_retval
2313
2314} # ac_fn_f77_try_compile
2315
2316# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2317# --------------------------------------------
2318# Tries to find the compile-time value of EXPR in a program that includes
2319# INCLUDES, setting VAR accordingly. Returns whether the value could be
2320# computed
2321ac_fn_c_compute_int ()
2322{
2323 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2324 if test "$cross_compiling" = yes; then
2325 # Depending upon the size, compute the lo and hi bounds.
2326cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2327/* end confdefs.h. */
2328$4
2329int
2330main ()
2331{
2332static int test_array [1 - 2 * !(($2) >= 0)];
2333test_array [0] = 0
2334
2335 ;
2336 return 0;
2337}
2338_ACEOF
2339if ac_fn_c_try_compile "$LINENO"; then :
2340 ac_lo=0 ac_mid=0
2341 while :; do
2342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2343/* end confdefs.h. */
2344$4
2345int
2346main ()
2347{
2348static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2349test_array [0] = 0
2350
2351 ;
2352 return 0;
2353}
2354_ACEOF
2355if ac_fn_c_try_compile "$LINENO"; then :
2356 ac_hi=$ac_mid; break
2357else
2358 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2359 if test $ac_lo -le $ac_mid; then
2360 ac_lo= ac_hi=
2361 break
2362 fi
2363 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2364fi
2365rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2366 done
2367else
2368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2369/* end confdefs.h. */
2370$4
2371int
2372main ()
2373{
2374static int test_array [1 - 2 * !(($2) < 0)];
2375test_array [0] = 0
2376
2377 ;
2378 return 0;
2379}
2380_ACEOF
2381if ac_fn_c_try_compile "$LINENO"; then :
2382 ac_hi=-1 ac_mid=-1
2383 while :; do
2384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2385/* end confdefs.h. */
2386$4
2387int
2388main ()
2389{
2390static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2391test_array [0] = 0
2392
2393 ;
2394 return 0;
2395}
2396_ACEOF
2397if ac_fn_c_try_compile "$LINENO"; then :
2398 ac_lo=$ac_mid; break
2399else
2400 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2401 if test $ac_mid -le $ac_hi; then
2402 ac_lo= ac_hi=
2403 break
2404 fi
2405 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2406fi
2407rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2408 done
2409else
2410 ac_lo= ac_hi=
2411fi
2412rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2413fi
2414rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2415# Binary search between lo and hi bounds.
2416while test "x$ac_lo" != "x$ac_hi"; do
2417 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2419/* end confdefs.h. */
2420$4
2421int
2422main ()
2423{
2424static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2425test_array [0] = 0
2426
2427 ;
2428 return 0;
2429}
2430_ACEOF
2431if ac_fn_c_try_compile "$LINENO"; then :
2432 ac_hi=$ac_mid
2433else
2434 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2435fi
2436rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2437done
2438case $ac_lo in #((
2439?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2440'') ac_retval=1 ;;
2441esac
2442 else
2443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2444/* end confdefs.h. */
2445$4
2446static long int longval () { return $2; }
2447static unsigned long int ulongval () { return $2; }
2448#include <stdio.h>
2449#include <stdlib.h>
2450int
2451main ()
2452{
2453
2454 FILE *f = fopen ("conftest.val", "w");
2455 if (! f)
2456 return 1;
2457 if (($2) < 0)
2458 {
2459 long int i = longval ();
2460 if (i != ($2))
2461 return 1;
2462 fprintf (f, "%ld", i);
2463 }
2464 else
2465 {
2466 unsigned long int i = ulongval ();
2467 if (i != ($2))
2468 return 1;
2469 fprintf (f, "%lu", i);
2470 }
2471 /* Do not output a trailing newline, as this causes \r\n confusion
2472 on some platforms. */
2473 return ferror (f) || fclose (f) != 0;
2474
2475 ;
2476 return 0;
2477}
2478_ACEOF
2479if ac_fn_c_try_run "$LINENO"; then :
2480 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2481else
2482 ac_retval=1
2483fi
2484rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2485 conftest.$ac_objext conftest.beam conftest.$ac_ext
2486rm -f conftest.val
2487
2488 fi
2489 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2490 return $ac_retval
2491
2492} # ac_fn_c_compute_int
2493
2494# ac_fn_cxx_try_compile LINENO
2495# ----------------------------
2496# Try to compile conftest.$ac_ext, and return whether this succeeded.
2497ac_fn_cxx_try_compile ()
2498{
2499 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2500 rm -f conftest.$ac_objext
2501 if { { ac_try="$ac_compile"
2502case "(($ac_try" in
2503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2504 *) ac_try_echo=$ac_try;;
2505esac
2506eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2507$as_echo "$ac_try_echo"; } >&5
2508 (eval "$ac_compile") 2>conftest.err
2509 ac_status=$?
2510 if test -s conftest.err; then
2511 grep -v '^ *+' conftest.err >conftest.er1
2512 cat conftest.er1 >&5
2513 mv -f conftest.er1 conftest.err
2514 fi
2515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2516 test $ac_status = 0; } && {
2517 test -z "$ac_cxx_werror_flag" ||
2518 test ! -s conftest.err
2519 } && test -s conftest.$ac_objext; then :
2520 ac_retval=0
2521else
2522 $as_echo "$as_me: failed program was:" >&5
2523sed 's/^/| /' conftest.$ac_ext >&5
2524
2525 ac_retval=1
2526fi
2527 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2528 return $ac_retval
2529
2530} # ac_fn_cxx_try_compile
2531
2532# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2533# ----------------------------------------------------
2534# Tries to find if the field MEMBER exists in type AGGR, after including
2535# INCLUDES, setting cache variable VAR accordingly.
2536ac_fn_c_check_member ()
2537{
2538 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2540$as_echo_n "checking for $2.$3... " >&6; }
2541if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2542 $as_echo_n "(cached) " >&6
2543else
2544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2545/* end confdefs.h. */
2546$5
2547int
2548main ()
2549{
2550static $2 ac_aggr;
2551if (ac_aggr.$3)
2552return 0;
2553 ;
2554 return 0;
2555}
2556_ACEOF
2557if ac_fn_c_try_compile "$LINENO"; then :
2558 eval "$4=yes"
2559else
2560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2561/* end confdefs.h. */
2562$5
2563int
2564main ()
2565{
2566static $2 ac_aggr;
2567if (sizeof ac_aggr.$3)
2568return 0;
2569 ;
2570 return 0;
2571}
2572_ACEOF
2573if ac_fn_c_try_compile "$LINENO"; then :
2574 eval "$4=yes"
2575else
2576 eval "$4=no"
2577fi
2578rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2579fi
2580rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2581fi
2582eval ac_res=\$$4
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2584$as_echo "$ac_res" >&6; }
2585 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2586
2587} # ac_fn_c_check_member
2588
2589# ac_fn_cxx_try_cpp LINENO
2590# ------------------------
2591# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2592ac_fn_cxx_try_cpp ()
2593{
2594 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2595 if { { ac_try="$ac_cpp conftest.$ac_ext"
2596case "(($ac_try" in
2597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2598 *) ac_try_echo=$ac_try;;
2599esac
2600eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2601$as_echo "$ac_try_echo"; } >&5
2602 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2603 ac_status=$?
2604 if test -s conftest.err; then
2605 grep -v '^ *+' conftest.err >conftest.er1
2606 cat conftest.er1 >&5
2607 mv -f conftest.er1 conftest.err
2608 fi
2609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2610 test $ac_status = 0; } >/dev/null && {
2611 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2612 test ! -s conftest.err
2613 }; then :
2614 ac_retval=0
2615else
2616 $as_echo "$as_me: failed program was:" >&5
2617sed 's/^/| /' conftest.$ac_ext >&5
2618
2619 ac_retval=1
2620fi
2621 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2622 return $ac_retval
2623
2624} # ac_fn_cxx_try_cpp
2625
2626# ac_fn_cxx_try_link LINENO
2627# -------------------------
2628# Try to link conftest.$ac_ext, and return whether this succeeded.
2629ac_fn_cxx_try_link ()
2630{
2631 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2632 rm -f conftest.$ac_objext conftest$ac_exeext
2633 if { { ac_try="$ac_link"
2634case "(($ac_try" in
2635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2636 *) ac_try_echo=$ac_try;;
2637esac
2638eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2639$as_echo "$ac_try_echo"; } >&5
2640 (eval "$ac_link") 2>conftest.err
2641 ac_status=$?
2642 if test -s conftest.err; then
2643 grep -v '^ *+' conftest.err >conftest.er1
2644 cat conftest.er1 >&5
2645 mv -f conftest.er1 conftest.err
2646 fi
2647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2648 test $ac_status = 0; } && {
2649 test -z "$ac_cxx_werror_flag" ||
2650 test ! -s conftest.err
2651 } && test -s conftest$ac_exeext && {
2652 test "$cross_compiling" = yes ||
2653 $as_test_x conftest$ac_exeext
2654 }; then :
2655 ac_retval=0
2656else
2657 $as_echo "$as_me: failed program was:" >&5
2658sed 's/^/| /' conftest.$ac_ext >&5
2659
2660 ac_retval=1
2661fi
2662 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2663 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2664 # interfere with the next link command; also delete a directory that is
2665 # left behind by Apple's compiler. We do this before executing the actions.
2666 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2667 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2668 return $ac_retval
2669
2670} # ac_fn_cxx_try_link
2671
2672# ac_fn_f77_try_link LINENO
2673# -------------------------
2674# Try to link conftest.$ac_ext, and return whether this succeeded.
2675ac_fn_f77_try_link ()
2676{
2677 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2678 rm -f conftest.$ac_objext conftest$ac_exeext
2679 if { { ac_try="$ac_link"
2680case "(($ac_try" in
2681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2682 *) ac_try_echo=$ac_try;;
2683esac
2684eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2685$as_echo "$ac_try_echo"; } >&5
2686 (eval "$ac_link") 2>conftest.err
2687 ac_status=$?
2688 if test -s conftest.err; then
2689 grep -v '^ *+' conftest.err >conftest.er1
2690 cat conftest.er1 >&5
2691 mv -f conftest.er1 conftest.err
2692 fi
2693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2694 test $ac_status = 0; } && {
2695 test -z "$ac_f77_werror_flag" ||
2696 test ! -s conftest.err
2697 } && test -s conftest$ac_exeext && {
2698 test "$cross_compiling" = yes ||
2699 $as_test_x conftest$ac_exeext
2700 }; then :
2701 ac_retval=0
2702else
2703 $as_echo "$as_me: failed program was:" >&5
2704sed 's/^/| /' conftest.$ac_ext >&5
2705
2706 ac_retval=1
2707fi
2708 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2709 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2710 # interfere with the next link command; also delete a directory that is
2711 # left behind by Apple's compiler. We do this before executing the actions.
2712 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2713 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2714 return $ac_retval
2715
2716} # ac_fn_f77_try_link
1976cat >config.log <<_ACEOF 2717cat >config.log <<_ACEOF
1977This file contains any messages produced by compilers while 2718This file contains any messages produced by compilers while
1978running configure, to aid debugging if configure makes a mistake. 2719running configure, to aid debugging if configure makes a mistake.
1979 2720
1980It was created by Scilab $as_me 5, which was 2721It was created by Scilab $as_me 5, which was
1981generated by GNU Autoconf 2.63. Invocation command line was 2722generated by GNU Autoconf 2.64. Invocation command line was
1982 2723
1983 $ $0 $@ 2724 $ $0 $@
1984 2725
@@ -2014,8 +2755,8 @@ for as_dir in $PATH
2014do 2755do
2015 IFS=$as_save_IFS 2756 IFS=$as_save_IFS
2016 test -z "$as_dir" && as_dir=. 2757 test -z "$as_dir" && as_dir=.
2017 $as_echo "PATH: $as_dir" 2758 $as_echo "PATH: $as_dir"
2018done 2759 done
2019IFS=$as_save_IFS 2760IFS=$as_save_IFS
2020 2761
2021} >&5 2762} >&5
@@ -2052,9 +2793,9 @@ do
2052 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2793 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2053 esac 2794 esac
2054 case $ac_pass in 2795 case $ac_pass in
2055 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2796 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2056 2) 2797 2)
2057 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 2798 as_fn_append ac_configure_args1 " '$ac_arg'"
2058 if test $ac_must_keep_next = true; then 2799 if test $ac_must_keep_next = true; then
2059 ac_must_keep_next=false # Got value, back to normal. 2800 ac_must_keep_next=false # Got value, back to normal.
2060 else 2801 else
@@ -2070,13 +2811,13 @@ do
2070 -* ) ac_must_keep_next=true ;; 2811 -* ) ac_must_keep_next=true ;;
2071 esac 2812 esac
2072 fi 2813 fi
2073 ac_configure_args="$ac_configure_args '$ac_arg'" 2814 as_fn_append ac_configure_args " '$ac_arg'"
2074 ;; 2815 ;;
2075 esac 2816 esac
2076 done 2817 done
2077done 2818done
2078$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 2819{ ac_configure_args0=; unset ac_configure_args0;}
2079$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 2820{ ac_configure_args1=; unset ac_configure_args1;}
2080 2821
2081# When interrupted or exit'd, cleanup temporary files, and complete 2822# When interrupted or exit'd, cleanup temporary files, and complete
2082# config.log. We remove comments because anyway the quotes in there 2823# config.log. We remove comments because anyway the quotes in there
@@ -2101,13 +2842,13 @@ _ASBOX
2101 case $ac_val in #( 2842 case $ac_val in #(
2102 *${as_nl}*) 2843 *${as_nl}*)
2103 case $ac_var in #( 2844 case $ac_var in #(
2104 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 2845 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2105$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2846$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2106 esac 2847 esac
2107 case $ac_var in #( 2848 case $ac_var in #(
2108 _ | IFS | as_nl) ;; #( 2849 _ | IFS | as_nl) ;; #(
2109 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2850 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2110 *) $as_unset $ac_var ;; 2851 *) { eval $ac_var=; unset $ac_var;} ;;
2111 esac ;; 2852 esac ;;
2112 esac 2853 esac
2113 done 2854 done
@@ -2179,39 +2920,41 @@ _ASBOX
2179 exit $exit_status 2920 exit $exit_status
2180' 0 2921' 0
2181for ac_signal in 1 2 13 15; do 2922for ac_signal in 1 2 13 15; do
2182 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2923 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2183done 2924done
2184ac_signal=0 2925ac_signal=0
2185 2926
2186# confdefs.h avoids OS command line length limits that DEFS can exceed. 2927# confdefs.h avoids OS command line length limits that DEFS can exceed.
2187rm -f -r conftest* confdefs.h 2928rm -f -r conftest* confdefs.h
2188 2929
2930$as_echo "/* confdefs.h */" > confdefs.h
2931
2189# Predefined preprocessor variables. 2932# Predefined preprocessor variables.
2190 2933
2191cat >>confdefs.h <<_ACEOF 2934cat >>confdefs.h <<_ACEOF
2192#define PACKAGE_NAME "$PACKAGE_NAME" 2935#define PACKAGE_NAME "$PACKAGE_NAME"
2193_ACEOF 2936_ACEOF
2194 2937
2195
2196cat >>confdefs.h <<_ACEOF 2938cat >>confdefs.h <<_ACEOF
2197#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2939#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2198_ACEOF 2940_ACEOF
2199 2941
2200
2201cat >>confdefs.h <<_ACEOF 2942cat >>confdefs.h <<_ACEOF
2202#define PACKAGE_VERSION "$PACKAGE_VERSION" 2943#define PACKAGE_VERSION "$PACKAGE_VERSION"
2203_ACEOF 2944_ACEOF
2204 2945
2205
2206cat >>confdefs.h <<_ACEOF 2946cat >>confdefs.h <<_ACEOF
2207#define PACKAGE_STRING "$PACKAGE_STRING" 2947#define PACKAGE_STRING "$PACKAGE_STRING"
2208_ACEOF 2948_ACEOF
2209 2949
2210
2211cat >>confdefs.h <<_ACEOF 2950cat >>confdefs.h <<_ACEOF
2212#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2951#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2213_ACEOF 2952_ACEOF
2214 2953
2954cat >>confdefs.h <<_ACEOF
2955#define PACKAGE_URL "$PACKAGE_URL"
2956_ACEOF
2957
2215 2958
2216# Let the site file select an alternate cache file if it wants to. 2959# Let the site file select an alternate cache file if it wants to.
2217# Prefer an explicitly selected file to automatically selected ones. 2960# Prefer an explicitly selected file to automatically selected ones.
@@ -2230,7 +2973,7 @@ for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2230do 2973do
2231 test "x$ac_site_file" = xNONE && continue 2974 test "x$ac_site_file" = xNONE && continue
2232 if test -r "$ac_site_file"; then 2975 if test -r "$ac_site_file"; then
2233 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 2976 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2234$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2977$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2235 sed 's/^/| /' "$ac_site_file" >&5 2978 sed 's/^/| /' "$ac_site_file" >&5
2236 . "$ac_site_file" 2979 . "$ac_site_file"
@@ -2241,7 +2984,7 @@ if test -r "$cache_file"; then
2241 # Some versions of bash will fail to source /dev/null (special 2984 # Some versions of bash will fail to source /dev/null (special
2242 # files actually), so we avoid doing that. 2985 # files actually), so we avoid doing that.
2243 if test -f "$cache_file"; then 2986 if test -f "$cache_file"; then
2244 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 2987 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2245$as_echo "$as_me: loading cache $cache_file" >&6;} 2988$as_echo "$as_me: loading cache $cache_file" >&6;}
2246 case $cache_file in 2989 case $cache_file in
2247 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2990 [\\/]* | ?:[\\/]* ) . "$cache_file";;
@@ -2249,7 +2992,7 @@ $as_echo "$as_me: loading cache $cache_file" >&6;}
2249 esac 2992 esac
2250 fi 2993 fi
2251else 2994else
2252 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 2995 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2253$as_echo "$as_me: creating cache $cache_file" >&6;} 2996$as_echo "$as_me: creating cache $cache_file" >&6;}
2254 >$cache_file 2997 >$cache_file
2255fi 2998fi
@@ -2265,11 +3008,11 @@ for ac_var in $ac_precious_vars; do
2265 eval ac_new_val=\$ac_env_${ac_var}_value 3008 eval ac_new_val=\$ac_env_${ac_var}_value
2266 case $ac_old_set,$ac_new_set in 3009 case $ac_old_set,$ac_new_set in
2267 set,) 3010 set,)
2268 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 3011 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2269$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 3012$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2270 ac_cache_corrupted=: ;; 3013 ac_cache_corrupted=: ;;
2271 ,set) 3014 ,set)
2272 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 3015 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2273$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 3016$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2274 ac_cache_corrupted=: ;; 3017 ac_cache_corrupted=: ;;
2275 ,);; 3018 ,);;
@@ -2279,17 +3022,17 @@ $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2279 ac_old_val_w=`echo x $ac_old_val` 3022 ac_old_val_w=`echo x $ac_old_val`
2280 ac_new_val_w=`echo x $ac_new_val` 3023 ac_new_val_w=`echo x $ac_new_val`
2281 if test "$ac_old_val_w" != "$ac_new_val_w"; then 3024 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2282 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 3025 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2283$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 3026$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2284 ac_cache_corrupted=: 3027 ac_cache_corrupted=:
2285 else 3028 else
2286 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 3029 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2287$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 3030$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2288 eval $ac_var=\$ac_old_val 3031 eval $ac_var=\$ac_old_val
2289 fi 3032 fi
2290 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 3033 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2291$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 3034$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2292 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 3035 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2293$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 3036$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2294 fi;; 3037 fi;;
2295 esac 3038 esac
@@ -2301,43 +3044,20 @@ $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2301 esac 3044 esac
2302 case " $ac_configure_args " in 3045 case " $ac_configure_args " in
2303 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 3046 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2304 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 3047 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2305 esac 3048 esac
2306 fi 3049 fi
2307done 3050done
2308if $ac_cache_corrupted; then 3051if $ac_cache_corrupted; then
2309 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3052 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2310$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3053$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2311 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 3054 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2312$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 3055$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2313 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 3056 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2314$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2315 { (exit 1); exit 1; }; }
2316fi 3057fi
2317 3058## -------------------- ##
2318 3059## Main body of script. ##
2319 3060## -------------------- ##
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341 3061
2342ac_ext=c 3062ac_ext=c
2343ac_cpp='$CPP $CPPFLAGS' 3063ac_cpp='$CPP $CPPFLAGS'
@@ -2372,35 +3092,27 @@ SCILAB_LIBRARY_VERSION=5:1:0
2372# Check if we have a space in the path to the source tree 3092# Check if we have a space in the path to the source tree
2373SPACE_IN_PATH=`echo "$SCI_SRCDIR_FULL"|grep " " > /dev/null; echo $?` 3093SPACE_IN_PATH=`echo "$SCI_SRCDIR_FULL"|grep " " > /dev/null; echo $?`
2374if test "$SPACE_IN_PATH" = "0"; then 3094if test "$SPACE_IN_PATH" = "0"; then
2375 { $as_echo "$as_me:$LINENO: WARNING: =====================================" >&5 3095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: =====================================" >&5
2376$as_echo "$as_me: WARNING: =====================================" >&2;} 3096$as_echo "$as_me: WARNING: =====================================" >&2;}
2377 { $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 3097 { $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
2378$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;} 3098$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;}
2379 { $as_echo "$as_me:$LINENO: WARNING: =====================================" >&5 3099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: =====================================" >&5
2380$as_echo "$as_me: WARNING: =====================================" >&2;} 3100$as_echo "$as_me: WARNING: =====================================" >&2;}
2381 sleep 180 3101 sleep 180
2382fi 3102fi
2383 3103
2384ac_aux_dir= 3104ac_aux_dir=
2385for ac_dir in config "$srcdir"/config; do 3105for ac_dir in config "$srcdir"/config; do
2386 if test -f "$ac_dir/install-sh"; then 3106 for ac_t in install-sh install.sh shtool; do
2387 ac_aux_dir=$ac_dir 3107 if test -f "$ac_dir/$ac_t"; then
2388 ac_install_sh="$ac_aux_dir/install-sh -c" 3108 ac_aux_dir=$ac_dir
2389 break 3109 ac_install_sh="$ac_aux_dir/$ac_t -c"
2390 elif test -f "$ac_dir/install.sh"; then 3110 break 2
2391 ac_aux_dir=$ac_dir 3111 fi
2392 ac_install_sh="$ac_aux_dir/install.sh -c" 3112 done
2393 break
2394 elif test -f "$ac_dir/shtool"; then
2395 ac_aux_dir=$ac_dir
2396 ac_install_sh="$ac_aux_dir/shtool install -c"
2397 break
2398 fi
2399done 3113done
2400if test -z "$ac_aux_dir"; then 3114if test -z "$ac_aux_dir"; then
2401 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5 3115 as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2402$as_echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
2403 { (exit 1); exit 1; }; }
2404fi 3116fi
2405 3117
2406# These three variables are undocumented and unsupported, 3118# These three variables are undocumented and unsupported,
@@ -2429,9 +3141,9 @@ if test "$cross_compiling" != no; then
2429 if test -n "$ac_tool_prefix"; then 3141 if test -n "$ac_tool_prefix"; then
2430 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3142 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2431set dummy ${ac_tool_prefix}strip; ac_word=$2 3143set dummy ${ac_tool_prefix}strip; ac_word=$2
2432{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2433$as_echo_n "checking for $ac_word... " >&6; } 3145$as_echo_n "checking for $ac_word... " >&6; }
2434if test "${ac_cv_prog_STRIP+set}" = set; then 3146if test "${ac_cv_prog_STRIP+set}" = set; then :
2435 $as_echo_n "(cached) " >&6 3147 $as_echo_n "(cached) " >&6
2436else 3148else
2437 if test -n "$STRIP"; then 3149 if test -n "$STRIP"; then
@@ -2442,24 +3154,24 @@ for as_dir in $PATH
2442do 3154do
2443 IFS=$as_save_IFS 3155 IFS=$as_save_IFS
2444 test -z "$as_dir" && as_dir=. 3156 test -z "$as_dir" && as_dir=.
2445 for ac_exec_ext in '' $ac_executable_extensions; do 3157 for ac_exec_ext in '' $ac_executable_extensions; do
2446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2447 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3159 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2448 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2449 break 2 3161 break 2
2450 fi 3162 fi
2451done 3163done
2452done 3164 done
2453IFS=$as_save_IFS 3165IFS=$as_save_IFS
2454 3166
2455fi 3167fi
2456fi 3168fi
2457STRIP=$ac_cv_prog_STRIP 3169STRIP=$ac_cv_prog_STRIP
2458if test -n "$STRIP"; then 3170if test -n "$STRIP"; then
2459 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2460$as_echo "$STRIP" >&6; } 3172$as_echo "$STRIP" >&6; }
2461else 3173else
2462 { $as_echo "$as_me:$LINENO: result: no" >&5 3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2463$as_echo "no" >&6; } 3175$as_echo "no" >&6; }
2464fi 3176fi
2465 3177
@@ -2469,9 +3181,9 @@ if test -z "$ac_cv_prog_STRIP"; then
2469 ac_ct_STRIP=$STRIP 3181 ac_ct_STRIP=$STRIP
2470 # Extract the first word of "strip", so it can be a program name with args. 3182 # Extract the first word of "strip", so it can be a program name with args.
2471set dummy strip; ac_word=$2 3183set dummy strip; ac_word=$2
2472{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2473$as_echo_n "checking for $ac_word... " >&6; } 3185$as_echo_n "checking for $ac_word... " >&6; }
2474if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 3186if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2475 $as_echo_n "(cached) " >&6 3187 $as_echo_n "(cached) " >&6
2476else 3188else
2477 if test -n "$ac_ct_STRIP"; then 3189 if test -n "$ac_ct_STRIP"; then
@@ -2482,24 +3194,24 @@ for as_dir in $PATH
2482do 3194do
2483 IFS=$as_save_IFS 3195 IFS=$as_save_IFS
2484 test -z "$as_dir" && as_dir=. 3196 test -z "$as_dir" && as_dir=.
2485 for ac_exec_ext in '' $ac_executable_extensions; do 3197 for ac_exec_ext in '' $ac_executable_extensions; do
2486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2487 ac_cv_prog_ac_ct_STRIP="strip" 3199 ac_cv_prog_ac_ct_STRIP="strip"
2488 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2489 break 2 3201 break 2
2490 fi 3202 fi
2491done 3203done
2492done 3204 done
2493IFS=$as_save_IFS 3205IFS=$as_save_IFS
2494 3206
2495fi 3207fi
2496fi 3208fi
2497ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3209ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2498if test -n "$ac_ct_STRIP"; then 3210if test -n "$ac_ct_STRIP"; then
2499 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2500$as_echo "$ac_ct_STRIP" >&6; } 3212$as_echo "$ac_ct_STRIP" >&6; }
2501else 3213else
2502 { $as_echo "$as_me:$LINENO: result: no" >&5 3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2503$as_echo "no" >&6; } 3215$as_echo "no" >&6; }
2504fi 3216fi
2505 3217
@@ -2508,7 +3220,7 @@ fi
2508 else 3220 else
2509 case $cross_compiling:$ac_tool_warned in 3221 case $cross_compiling:$ac_tool_warned in
2510yes:) 3222yes:)
2511{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3223{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2512$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3224$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2513ac_tool_warned=yes ;; 3225ac_tool_warned=yes ;;
2514esac 3226esac
@@ -2521,14 +3233,14 @@ fi
2521fi 3233fi
2522INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3234INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2523 3235
2524{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 3236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2525$as_echo_n "checking whether ln -s works... " >&6; } 3237$as_echo_n "checking whether ln -s works... " >&6; }
2526LN_S=$as_ln_s 3238LN_S=$as_ln_s
2527if test "$LN_S" = "ln -s"; then 3239if test "$LN_S" = "ln -s"; then
2528 { $as_echo "$as_me:$LINENO: result: yes" >&5 3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2529$as_echo "yes" >&6; } 3241$as_echo "yes" >&6; }
2530else 3242else
2531 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2532$as_echo "no, using $LN_S" >&6; } 3244$as_echo "no, using $LN_S" >&6; }
2533fi 3245fi
2534 3246
@@ -2541,9 +3253,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2541if test -n "$ac_tool_prefix"; then 3253if test -n "$ac_tool_prefix"; then
2542 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3254 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2543set dummy ${ac_tool_prefix}gcc; ac_word=$2 3255set dummy ${ac_tool_prefix}gcc; ac_word=$2
2544{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2545$as_echo_n "checking for $ac_word... " >&6; } 3257$as_echo_n "checking for $ac_word... " >&6; }
2546if test "${ac_cv_prog_CC+set}" = set; then 3258if test "${ac_cv_prog_CC+set}" = set; then :
2547 $as_echo_n "(cached) " >&6 3259 $as_echo_n "(cached) " >&6
2548else 3260else
2549 if test -n "$CC"; then 3261 if test -n "$CC"; then
@@ -2554,24 +3266,24 @@ for as_dir in $PATH
2554do 3266do
2555 IFS=$as_save_IFS 3267 IFS=$as_save_IFS
2556 test -z "$as_dir" && as_dir=. 3268 test -z "$as_dir" && as_dir=.
2557 for ac_exec_ext in '' $ac_executable_extensions; do 3269 for ac_exec_ext in '' $ac_executable_extensions; do
2558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2559 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3271 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2560 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2561 break 2 3273 break 2
2562 fi 3274 fi
2563done 3275done
2564done 3276 done
2565IFS=$as_save_IFS 3277IFS=$as_save_IFS
2566 3278
2567fi 3279fi
2568fi 3280fi
2569CC=$ac_cv_prog_CC 3281CC=$ac_cv_prog_CC
2570if test -n "$CC"; then 3282if test -n "$CC"; then
2571 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2572$as_echo "$CC" >&6; } 3284$as_echo "$CC" >&6; }
2573else 3285else
2574 { $as_echo "$as_me:$LINENO: result: no" >&5 3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2575$as_echo "no" >&6; } 3287$as_echo "no" >&6; }
2576fi 3288fi
2577 3289
@@ -2581,9 +3293,9 @@ if test -z "$ac_cv_prog_CC"; then
2581 ac_ct_CC=$CC 3293 ac_ct_CC=$CC
2582 # Extract the first word of "gcc", so it can be a program name with args. 3294 # Extract the first word of "gcc", so it can be a program name with args.
2583set dummy gcc; ac_word=$2 3295set dummy gcc; ac_word=$2
2584{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3296{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2585$as_echo_n "checking for $ac_word... " >&6; } 3297$as_echo_n "checking for $ac_word... " >&6; }
2586if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 3298if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2587 $as_echo_n "(cached) " >&6 3299 $as_echo_n "(cached) " >&6
2588else 3300else
2589 if test -n "$ac_ct_CC"; then 3301 if test -n "$ac_ct_CC"; then
@@ -2594,24 +3306,24 @@ for as_dir in $PATH
2594do 3306do
2595 IFS=$as_save_IFS 3307 IFS=$as_save_IFS
2596 test -z "$as_dir" && as_dir=. 3308 test -z "$as_dir" && as_dir=.
2597 for ac_exec_ext in '' $ac_executable_extensions; do 3309 for ac_exec_ext in '' $ac_executable_extensions; do
2598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2599 ac_cv_prog_ac_ct_CC="gcc" 3311 ac_cv_prog_ac_ct_CC="gcc"
2600 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2601 break 2 3313 break 2
2602 fi 3314 fi
2603done 3315done
2604done 3316 done
2605IFS=$as_save_IFS 3317IFS=$as_save_IFS
2606 3318
2607fi 3319fi
2608fi 3320fi
2609ac_ct_CC=$ac_cv_prog_ac_ct_CC 3321ac_ct_CC=$ac_cv_prog_ac_ct_CC
2610if test -n "$ac_ct_CC"; then 3322if test -n "$ac_ct_CC"; then
2611 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2612$as_echo "$ac_ct_CC" >&6; } 3324$as_echo "$ac_ct_CC" >&6; }
2613else 3325else
2614 { $as_echo "$as_me:$LINENO: result: no" >&5 3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2615$as_echo "no" >&6; } 3327$as_echo "no" >&6; }
2616fi 3328fi
2617 3329
@@ -2620,7 +3332,7 @@ fi
2620 else 3332 else
2621 case $cross_compiling:$ac_tool_warned in 3333 case $cross_compiling:$ac_tool_warned in
2622yes:) 3334yes:)
2623{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3335{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2624$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3336$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2625ac_tool_warned=yes ;; 3337ac_tool_warned=yes ;;
2626esac 3338esac
@@ -2634,9 +3346,9 @@ if test -z "$CC"; then
2634 if test -n "$ac_tool_prefix"; then 3346 if test -n "$ac_tool_prefix"; then
2635 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3347 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2636set dummy ${ac_tool_prefix}cc; ac_word=$2 3348set dummy ${ac_tool_prefix}cc; ac_word=$2
2637{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2638$as_echo_n "checking for $ac_word... " >&6; } 3350$as_echo_n "checking for $ac_word... " >&6; }
2639if test "${ac_cv_prog_CC+set}" = set; then 3351if test "${ac_cv_prog_CC+set}" = set; then :
2640 $as_echo_n "(cached) " >&6 3352 $as_echo_n "(cached) " >&6
2641else 3353else
2642 if test -n "$CC"; then 3354 if test -n "$CC"; then
@@ -2647,24 +3359,24 @@ for as_dir in $PATH
2647do 3359do
2648 IFS=$as_save_IFS 3360 IFS=$as_save_IFS
2649 test -z "$as_dir" && as_dir=. 3361 test -z "$as_dir" && as_dir=.
2650 for ac_exec_ext in '' $ac_executable_extensions; do 3362 for ac_exec_ext in '' $ac_executable_extensions; do
2651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2652 ac_cv_prog_CC="${ac_tool_prefix}cc" 3364 ac_cv_prog_CC="${ac_tool_prefix}cc"
2653 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2654 break 2 3366 break 2
2655 fi 3367 fi
2656done 3368done
2657done 3369 done
2658IFS=$as_save_IFS 3370IFS=$as_save_IFS
2659 3371
2660fi 3372fi
2661fi 3373fi
2662CC=$ac_cv_prog_CC 3374CC=$ac_cv_prog_CC
2663if test -n "$CC"; then 3375if test -n "$CC"; then
2664 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2665$as_echo "$CC" >&6; } 3377$as_echo "$CC" >&6; }
2666else 3378else
2667 { $as_echo "$as_me:$LINENO: result: no" >&5 3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2668$as_echo "no" >&6; } 3380$as_echo "no" >&6; }
2669fi 3381fi
2670 3382
@@ -2674,9 +3386,9 @@ fi
2674if test -z "$CC"; then 3386if test -z "$CC"; then
2675 # Extract the first word of "cc", so it can be a program name with args. 3387 # Extract the first word of "cc", so it can be a program name with args.
2676set dummy cc; ac_word=$2 3388set dummy cc; ac_word=$2
2677{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2678$as_echo_n "checking for $ac_word... " >&6; } 3390$as_echo_n "checking for $ac_word... " >&6; }
2679if test "${ac_cv_prog_CC+set}" = set; then 3391if test "${ac_cv_prog_CC+set}" = set; then :
2680 $as_echo_n "(cached) " >&6 3392 $as_echo_n "(cached) " >&6
2681else 3393else
2682 if test -n "$CC"; then 3394 if test -n "$CC"; then
@@ -2688,18 +3400,18 @@ for as_dir in $PATH
2688do 3400do
2689 IFS=$as_save_IFS 3401 IFS=$as_save_IFS
2690 test -z "$as_dir" && as_dir=. 3402 test -z "$as_dir" && as_dir=.
2691 for ac_exec_ext in '' $ac_executable_extensions; do 3403 for ac_exec_ext in '' $ac_executable_extensions; do
2692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2693 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3405 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2694 ac_prog_rejected=yes 3406 ac_prog_rejected=yes
2695 continue 3407 continue
2696 fi 3408 fi
2697 ac_cv_prog_CC="cc" 3409 ac_cv_prog_CC="cc"
2698 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2699 break 2 3411 break 2
2700 fi 3412 fi
2701done 3413done
2702done 3414 done
2703IFS=$as_save_IFS 3415IFS=$as_save_IFS
2704 3416
2705if test $ac_prog_rejected = yes; then 3417if test $ac_prog_rejected = yes; then
@@ -2718,10 +3430,10 @@ fi
2718fi 3430fi
2719CC=$ac_cv_prog_CC 3431CC=$ac_cv_prog_CC
2720if test -n "$CC"; then 3432if test -n "$CC"; then
2721 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2722$as_echo "$CC" >&6; } 3434$as_echo "$CC" >&6; }
2723else 3435else
2724 { $as_echo "$as_me:$LINENO: result: no" >&5 3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2725$as_echo "no" >&6; } 3437$as_echo "no" >&6; }
2726fi 3438fi
2727 3439
@@ -2733,9 +3445,9 @@ if test -z "$CC"; then
2733 do 3445 do
2734 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3446 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2735set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3447set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2736{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2737$as_echo_n "checking for $ac_word... " >&6; } 3449$as_echo_n "checking for $ac_word... " >&6; }
2738if test "${ac_cv_prog_CC+set}" = set; then 3450if test "${ac_cv_prog_CC+set}" = set; then :
2739 $as_echo_n "(cached) " >&6 3451 $as_echo_n "(cached) " >&6
2740else 3452else
2741 if test -n "$CC"; then 3453 if test -n "$CC"; then
@@ -2746,24 +3458,24 @@ for as_dir in $PATH
2746do 3458do
2747 IFS=$as_save_IFS 3459 IFS=$as_save_IFS
2748 test -z "$as_dir" && as_dir=. 3460 test -z "$as_dir" && as_dir=.
2749 for ac_exec_ext in '' $ac_executable_extensions; do 3461 for ac_exec_ext in '' $ac_executable_extensions; do
2750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2751 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3463 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2752 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2753 break 2 3465 break 2
2754 fi 3466 fi
2755done 3467done
2756done 3468 done
2757IFS=$as_save_IFS 3469IFS=$as_save_IFS
2758 3470
2759fi 3471fi
2760fi 3472fi
2761CC=$ac_cv_prog_CC 3473CC=$ac_cv_prog_CC
2762if test -n "$CC"; then 3474if test -n "$CC"; then
2763 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2764$as_echo "$CC" >&6; } 3476$as_echo "$CC" >&6; }
2765else 3477else
2766 { $as_echo "$as_me:$LINENO: result: no" >&5 3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2767$as_echo "no" >&6; } 3479$as_echo "no" >&6; }
2768fi 3480fi
2769 3481
@@ -2777,9 +3489,9 @@ if test -z "$CC"; then
2777do 3489do
2778 # Extract the first word of "$ac_prog", so it can be a program name with args. 3490 # Extract the first word of "$ac_prog", so it can be a program name with args.
2779set dummy $ac_prog; ac_word=$2 3491set dummy $ac_prog; ac_word=$2
2780{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3492{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2781$as_echo_n "checking for $ac_word... " >&6; } 3493$as_echo_n "checking for $ac_word... " >&6; }
2782if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 3494if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2783 $as_echo_n "(cached) " >&6 3495 $as_echo_n "(cached) " >&6
2784else 3496else
2785 if test -n "$ac_ct_CC"; then 3497 if test -n "$ac_ct_CC"; then
@@ -2790,24 +3502,24 @@ for as_dir in $PATH
2790do 3502do
2791 IFS=$as_save_IFS 3503 IFS=$as_save_IFS
2792 test -z "$as_dir" && as_dir=. 3504 test -z "$as_dir" && as_dir=.
2793 for ac_exec_ext in '' $ac_executable_extensions; do 3505 for ac_exec_ext in '' $ac_executable_extensions; do
2794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2795 ac_cv_prog_ac_ct_CC="$ac_prog" 3507 ac_cv_prog_ac_ct_CC="$ac_prog"
2796 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2797 break 2 3509 break 2
2798 fi 3510 fi
2799done 3511done
2800done 3512 done
2801IFS=$as_save_IFS 3513IFS=$as_save_IFS
2802 3514
2803fi 3515fi
2804fi 3516fi
2805ac_ct_CC=$ac_cv_prog_ac_ct_CC 3517ac_ct_CC=$ac_cv_prog_ac_ct_CC
2806if test -n "$ac_ct_CC"; then 3518if test -n "$ac_ct_CC"; then
2807 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2808$as_echo "$ac_ct_CC" >&6; } 3520$as_echo "$ac_ct_CC" >&6; }
2809else 3521else
2810 { $as_echo "$as_me:$LINENO: result: no" >&5 3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2811$as_echo "no" >&6; } 3523$as_echo "no" >&6; }
2812fi 3524fi
2813 3525
@@ -2820,7 +3532,7 @@ done
2820 else 3532 else
2821 case $cross_compiling:$ac_tool_warned in 3533 case $cross_compiling:$ac_tool_warned in
2822yes:) 3534yes:)
2823{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3535{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2824$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3536$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2825ac_tool_warned=yes ;; 3537ac_tool_warned=yes ;;
2826esac 3538esac
@@ -2831,73 +3543,55 @@ fi
2831fi 3543fi
2832 3544
2833 3545
2834test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3546test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2835$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3547$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2836{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 3548as_fn_error "no acceptable C compiler found in \$PATH
2837See \`config.log' for more details." >&5 3549See \`config.log' for more details." "$LINENO" 5; }
2838$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2839See \`config.log' for more details." >&2;}
2840 { (exit 1); exit 1; }; }; }
2841 3550
2842# Provide some information about the compiler. 3551# Provide some information about the compiler.
2843$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 3552$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2844set X $ac_compile 3553set X $ac_compile
2845ac_compiler=$2 3554ac_compiler=$2
2846{ (ac_try="$ac_compiler --version >&5" 3555for ac_option in --version -v -V -qversion; do
3556 { { ac_try="$ac_compiler $ac_option >&5"
2847case "(($ac_try" in 3557case "(($ac_try" in
2848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2849 *) ac_try_echo=$ac_try;; 3559 *) ac_try_echo=$ac_try;;
2850esac 3560esac
2851eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3561eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2852$as_echo "$ac_try_echo") >&5 3562$as_echo "$ac_try_echo"; } >&5
2853 (eval "$ac_compiler --version >&5") 2>&5 3563 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2854 ac_status=$? 3564 ac_status=$?
2855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3565 if test -s conftest.err; then
2856 (exit $ac_status); } 3566 sed '10a\
2857{ (ac_try="$ac_compiler -v >&5" 3567... rest of stderr output deleted ...
2858case "(($ac_try" in 3568 10q' conftest.err >conftest.er1
2859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3569 cat conftest.er1 >&5
2860 *) ac_try_echo=$ac_try;; 3570 rm -f conftest.er1 conftest.err
2861esac 3571 fi
2862eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2863$as_echo "$ac_try_echo") >&5 3573 test $ac_status = 0; }
2864 (eval "$ac_compiler -v >&5") 2>&5 3574done
2865 ac_status=$?
2866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); }
2868{ (ac_try="$ac_compiler -V >&5"
2869case "(($ac_try" in
2870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2871 *) ac_try_echo=$ac_try;;
2872esac
2873eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2874$as_echo "$ac_try_echo") >&5
2875 (eval "$ac_compiler -V >&5") 2>&5
2876 ac_status=$?
2877 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878 (exit $ac_status); }
2879 3575
2880cat >conftest.$ac_ext <<_ACEOF 3576cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2881/* confdefs.h. */
2882_ACEOF
2883cat confdefs.h >>conftest.$ac_ext
2884cat >>conftest.$ac_ext <<_ACEOF
2885/* end confdefs.h. */ 3577/* end confdefs.h. */
2886 3578#include <stdio.h>
2887int 3579int
2888main () 3580main ()
2889{ 3581{
3582FILE *f = fopen ("conftest.out", "w");
3583 return ferror (f) || fclose (f) != 0;
2890 3584
2891 ; 3585 ;
2892 return 0; 3586 return 0;
2893} 3587}
2894_ACEOF 3588_ACEOF
2895ac_clean_files_save=$ac_clean_files 3589ac_clean_files_save=$ac_clean_files
2896ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3590ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2897# Try to create an executable without -o first, disregard a.out. 3591# Try to create an executable without -o first, disregard a.out.
2898# It will help us diagnose broken compilers, and finding out an intuition 3592# It will help us diagnose broken compilers, and finding out an intuition
2899# of exeext. 3593# of exeext.
2900{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 3594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2901$as_echo_n "checking for C compiler default output file name... " >&6; } 3595$as_echo_n "checking for C compiler default output file name... " >&6; }
2902ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3596ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2903 3597
@@ -2914,17 +3608,17 @@ do
2914done 3608done
2915rm -f $ac_rmfiles 3609rm -f $ac_rmfiles
2916 3610
2917if { (ac_try="$ac_link_default" 3611if { { ac_try="$ac_link_default"
2918case "(($ac_try" in 3612case "(($ac_try" in
2919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2920 *) ac_try_echo=$ac_try;; 3614 *) ac_try_echo=$ac_try;;
2921esac 3615esac
2922eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3616eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2923$as_echo "$ac_try_echo") >&5 3617$as_echo "$ac_try_echo"; } >&5
2924 (eval "$ac_link_default") 2>&5 3618 (eval "$ac_link_default") 2>&5
2925 ac_status=$? 3619 ac_status=$?
2926 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2927 (exit $ac_status); }; then 3621 test $ac_status = 0; }; then :
2928 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3622 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2929# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3623# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2930# in a Makefile. We should not override ac_cv_exeext if it was cached, 3624# in a Makefile. We should not override ac_cv_exeext if it was cached,
@@ -2941,7 +3635,7 @@ do
2941 # certainly right. 3635 # certainly right.
2942 break;; 3636 break;;
2943 *.* ) 3637 *.* )
2944 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3638 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2945 then :; else 3639 then :; else
2946 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3640 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2947 fi 3641 fi
@@ -2960,84 +3654,75 @@ test "$ac_cv_exeext" = no && ac_cv_exeext=
2960else 3654else
2961 ac_file='' 3655 ac_file=''
2962fi 3656fi
2963 3657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2964{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2965$as_echo "$ac_file" >&6; } 3658$as_echo "$ac_file" >&6; }
2966if test -z "$ac_file"; then 3659if test -z "$ac_file"; then :
2967 $as_echo "$as_me: failed program was:" >&5 3660 $as_echo "$as_me: failed program was:" >&5
2968sed 's/^/| /' conftest.$ac_ext >&5 3661sed 's/^/| /' conftest.$ac_ext >&5
2969 3662
2970{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3663{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2971$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3664$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2972{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 3665{ as_fn_set_status 77
2973See \`config.log' for more details." >&5 3666as_fn_error "C compiler cannot create executables
2974$as_echo "$as_me: error: C compiler cannot create executables 3667See \`config.log' for more details." "$LINENO" 5; }; }
2975See \`config.log' for more details." >&2;}
2976 { (exit 77); exit 77; }; }; }
2977fi 3668fi
2978
2979ac_exeext=$ac_cv_exeext 3669ac_exeext=$ac_cv_exeext
2980 3670
2981# Check that the compiler produces executables we can run. If not, either 3671# Check that the compiler produces executables we can run. If not, either
2982# the compiler is broken, or we cross compile. 3672# the compiler is broken, or we cross compile.
2983{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 3673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2984$as_echo_n "checking whether the C compiler works... " >&6; } 3674$as_echo_n "checking whether the C compiler works... " >&6; }
2985# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2986# If not cross compiling, check that we can run a simple program. 3675# If not cross compiling, check that we can run a simple program.
2987if test "$cross_compiling" != yes; then 3676if test "$cross_compiling" != yes; then
2988 if { ac_try='./$ac_file' 3677 if { ac_try='./$ac_file'
2989 { (case "(($ac_try" in 3678 { { case "(($ac_try" in
2990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2991 *) ac_try_echo=$ac_try;; 3680 *) ac_try_echo=$ac_try;;
2992esac 3681esac
2993eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3682eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2994$as_echo "$ac_try_echo") >&5 3683$as_echo "$ac_try_echo"; } >&5
2995 (eval "$ac_try") 2>&5 3684 (eval "$ac_try") 2>&5
2996 ac_status=$? 3685 ac_status=$?
2997 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2998 (exit $ac_status); }; }; then 3687 test $ac_status = 0; }; }; then
2999 cross_compiling=no 3688 cross_compiling=no
3000 else 3689 else
3001 if test "$cross_compiling" = maybe; then 3690 if test "$cross_compiling" = maybe; then
3002 cross_compiling=yes 3691 cross_compiling=yes
3003 else 3692 else
3004 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3693 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3005$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3694$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3006{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 3695as_fn_error "cannot run C compiled programs.
3007If you meant to cross compile, use \`--host'.
3008See \`config.log' for more details." >&5
3009$as_echo "$as_me: error: cannot run C compiled programs.
3010If you meant to cross compile, use \`--host'. 3696If you meant to cross compile, use \`--host'.
3011See \`config.log' for more details." >&2;} 3697See \`config.log' for more details." "$LINENO" 5; }
3012 { (exit 1); exit 1; }; }; }
3013 fi 3698 fi
3014 fi 3699 fi
3015fi 3700fi
3016{ $as_echo "$as_me:$LINENO: result: yes" >&5 3701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3017$as_echo "yes" >&6; } 3702$as_echo "yes" >&6; }
3018 3703
3019rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3704rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3020ac_clean_files=$ac_clean_files_save 3705ac_clean_files=$ac_clean_files_save
3021# Check that the compiler produces executables we can run. If not, either 3706# Check that the compiler produces executables we can run. If not, either
3022# the compiler is broken, or we cross compile. 3707# the compiler is broken, or we cross compile.
3023{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 3708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3024$as_echo_n "checking whether we are cross compiling... " >&6; } 3709$as_echo_n "checking whether we are cross compiling... " >&6; }
3025{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 3710{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3026$as_echo "$cross_compiling" >&6; } 3711$as_echo "$cross_compiling" >&6; }
3027 3712
3028{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3029$as_echo_n "checking for suffix of executables... " >&6; } 3714$as_echo_n "checking for suffix of executables... " >&6; }
3030if { (ac_try="$ac_link" 3715if { { ac_try="$ac_link"
3031case "(($ac_try" in 3716case "(($ac_try" in
3032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3033 *) ac_try_echo=$ac_try;; 3718 *) ac_try_echo=$ac_try;;
3034esac 3719esac
3035eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3720eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3036$as_echo "$ac_try_echo") >&5 3721$as_echo "$ac_try_echo"; } >&5
3037 (eval "$ac_link") 2>&5 3722 (eval "$ac_link") 2>&5
3038 ac_status=$? 3723 ac_status=$?
3039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3040 (exit $ac_status); }; then 3725 test $ac_status = 0; }; then :
3041 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3726 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3042# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3727# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3043# work properly (i.e., refer to `conftest.exe'), while it won't with 3728# work properly (i.e., refer to `conftest.exe'), while it won't with
@@ -3052,32 +3737,24 @@ for ac_file in conftest.exe conftest conftest.*; do
3052 esac 3737 esac
3053done 3738done
3054else 3739else
3055 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3740 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3056$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3741$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3057{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 3742as_fn_error "cannot compute suffix of executables: cannot compile and link
3058See \`config.log' for more details." >&5 3743See \`config.log' for more details." "$LINENO" 5; }
3059$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3060See \`config.log' for more details." >&2;}
3061 { (exit 1); exit 1; }; }; }
3062fi 3744fi
3063
3064rm -f conftest$ac_cv_exeext 3745rm -f conftest$ac_cv_exeext
3065{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3066$as_echo "$ac_cv_exeext" >&6; } 3747$as_echo "$ac_cv_exeext" >&6; }
3067 3748
3068rm -f conftest.$ac_ext 3749rm -f conftest.$ac_ext
3069EXEEXT=$ac_cv_exeext 3750EXEEXT=$ac_cv_exeext
3070ac_exeext=$EXEEXT 3751ac_exeext=$EXEEXT
3071{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 3752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3072$as_echo_n "checking for suffix of object files... " >&6; } 3753$as_echo_n "checking for suffix of object files... " >&6; }
3073if test "${ac_cv_objext+set}" = set; then 3754if test "${ac_cv_objext+set}" = set; then :
3074 $as_echo_n "(cached) " >&6 3755 $as_echo_n "(cached) " >&6
3075else 3756else
3076 cat >conftest.$ac_ext <<_ACEOF 3757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3077/* confdefs.h. */
3078_ACEOF
3079cat confdefs.h >>conftest.$ac_ext
3080cat >>conftest.$ac_ext <<_ACEOF
3081/* end confdefs.h. */ 3758/* end confdefs.h. */
3082 3759
3083int 3760int
@@ -3089,17 +3766,17 @@ main ()
3089} 3766}
3090_ACEOF 3767_ACEOF
3091rm -f conftest.o conftest.obj 3768rm -f conftest.o conftest.obj
3092if { (ac_try="$ac_compile" 3769if { { ac_try="$ac_compile"
3093case "(($ac_try" in 3770case "(($ac_try" in
3094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3095 *) ac_try_echo=$ac_try;; 3772 *) ac_try_echo=$ac_try;;
3096esac 3773esac
3097eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3774eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3098$as_echo "$ac_try_echo") >&5 3775$as_echo "$ac_try_echo"; } >&5
3099 (eval "$ac_compile") 2>&5 3776 (eval "$ac_compile") 2>&5
3100 ac_status=$? 3777 ac_status=$?
3101 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3102 (exit $ac_status); }; then 3779 test $ac_status = 0; }; then :
3103 for ac_file in conftest.o conftest.obj conftest.*; do 3780 for ac_file in conftest.o conftest.obj conftest.*; do
3104 test -f "$ac_file" || continue; 3781 test -f "$ac_file" || continue;
3105 case $ac_file in 3782 case $ac_file in
@@ -3112,31 +3789,23 @@ else
3112 $as_echo "$as_me: failed program was:" >&5 3789 $as_echo "$as_me: failed program was:" >&5
3113sed 's/^/| /' conftest.$ac_ext >&5 3790sed 's/^/| /' conftest.$ac_ext >&5
3114 3791
3115{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3792{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3116$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3793$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3117{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3794as_fn_error "cannot compute suffix of object files: cannot compile
3118See \`config.log' for more details." >&5 3795See \`config.log' for more details." "$LINENO" 5; }
3119$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3120See \`config.log' for more details." >&2;}
3121 { (exit 1); exit 1; }; }; }
3122fi 3796fi
3123
3124rm -f conftest.$ac_cv_objext conftest.$ac_ext 3797rm -f conftest.$ac_cv_objext conftest.$ac_ext
3125fi 3798fi
3126{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3127$as_echo "$ac_cv_objext" >&6; } 3800$as_echo "$ac_cv_objext" >&6; }
3128OBJEXT=$ac_cv_objext 3801OBJEXT=$ac_cv_objext
3129ac_objext=$OBJEXT 3802ac_objext=$OBJEXT
3130{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3131$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3804$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3132if test "${ac_cv_c_compiler_gnu+set}" = set; then 3805if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3133 $as_echo_n "(cached) " >&6 3806 $as_echo_n "(cached) " >&6
3134else 3807else
3135 cat >conftest.$ac_ext <<_ACEOF 3808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3136/* confdefs.h. */
3137_ACEOF
3138cat confdefs.h >>conftest.$ac_ext
3139cat >>conftest.$ac_ext <<_ACEOF
3140/* end confdefs.h. */ 3809/* end confdefs.h. */
3141 3810
3142int 3811int
@@ -3150,37 +3819,16 @@ main ()
3150 return 0; 3819 return 0;
3151} 3820}
3152_ACEOF 3821_ACEOF
3153rm -f conftest.$ac_objext 3822if ac_fn_c_try_compile "$LINENO"; then :
3154if { (ac_try="$ac_compile"
3155case "(($ac_try" in
3156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3157 *) ac_try_echo=$ac_try;;
3158esac
3159eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3160$as_echo "$ac_try_echo") >&5
3161 (eval "$ac_compile") 2>conftest.er1
3162 ac_status=$?
3163 grep -v '^ *+' conftest.er1 >conftest.err
3164 rm -f conftest.er1
3165 cat conftest.err >&5
3166 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3167 (exit $ac_status); } && {
3168 test -z "$ac_c_werror_flag" ||
3169 test ! -s conftest.err
3170 } && test -s conftest.$ac_objext; then
3171 ac_compiler_gnu=yes 3823 ac_compiler_gnu=yes
3172else 3824else
3173 $as_echo "$as_me: failed program was:" >&5 3825 ac_compiler_gnu=no
3174sed 's/^/| /' conftest.$ac_ext >&5
3175
3176 ac_compiler_gnu=no
3177fi 3826fi
3178
3179rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3827rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3180ac_cv_c_compiler_gnu=$ac_compiler_gnu 3828ac_cv_c_compiler_gnu=$ac_compiler_gnu
3181 3829
3182fi 3830fi
3183{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3184$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3832$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3185if test $ac_compiler_gnu = yes; then 3833if test $ac_compiler_gnu = yes; then
3186 GCC=yes 3834 GCC=yes
@@ -3189,20 +3837,16 @@ else
3189fi 3837fi
3190ac_test_CFLAGS=${CFLAGS+set} 3838ac_test_CFLAGS=${CFLAGS+set}
3191ac_save_CFLAGS=$CFLAGS 3839ac_save_CFLAGS=$CFLAGS
3192{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3193$as_echo_n "checking whether $CC accepts -g... " >&6; } 3841$as_echo_n "checking whether $CC accepts -g... " >&6; }
3194if test "${ac_cv_prog_cc_g+set}" = set; then 3842if test "${ac_cv_prog_cc_g+set}" = set; then :
3195 $as_echo_n "(cached) " >&6 3843 $as_echo_n "(cached) " >&6
3196else 3844else
3197 ac_save_c_werror_flag=$ac_c_werror_flag 3845 ac_save_c_werror_flag=$ac_c_werror_flag
3198 ac_c_werror_flag=yes 3846 ac_c_werror_flag=yes
3199 ac_cv_prog_cc_g=no 3847 ac_cv_prog_cc_g=no
3200 CFLAGS="-g" 3848 CFLAGS="-g"
3201 cat >conftest.$ac_ext <<_ACEOF 3849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3202/* confdefs.h. */
3203_ACEOF
3204cat confdefs.h >>conftest.$ac_ext
3205cat >>conftest.$ac_ext <<_ACEOF
3206/* end confdefs.h. */ 3850/* end confdefs.h. */
3207 3851
3208int 3852int
@@ -3213,35 +3857,11 @@ main ()
3213 return 0; 3857 return 0;
3214} 3858}
3215_ACEOF 3859_ACEOF
3216rm -f conftest.$ac_objext 3860if ac_fn_c_try_compile "$LINENO"; then :
3217if { (ac_try="$ac_compile"
3218case "(($ac_try" in
3219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3220 *) ac_try_echo=$ac_try;;
3221esac
3222eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3223$as_echo "$ac_try_echo") >&5
3224 (eval "$ac_compile") 2>conftest.er1
3225 ac_status=$?
3226 grep -v '^ *+' conftest.er1 >conftest.err
3227 rm -f conftest.er1
3228 cat conftest.err >&5
3229 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3230 (exit $ac_status); } && {
3231 test -z "$ac_c_werror_flag" ||
3232 test ! -s conftest.err
3233 } && test -s conftest.$ac_objext; then
3234 ac_cv_prog_cc_g=yes 3861 ac_cv_prog_cc_g=yes
3235else 3862else
3236 $as_echo "$as_me: failed program was:" >&5 3863 CFLAGS=""
3237sed 's/^/| /' conftest.$ac_ext >&5 3864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3238
3239 CFLAGS=""
3240 cat >conftest.$ac_ext <<_ACEOF
3241/* confdefs.h. */
3242_ACEOF
3243cat confdefs.h >>conftest.$ac_ext
3244cat >>conftest.$ac_ext <<_ACEOF
3245/* end confdefs.h. */ 3865/* end confdefs.h. */
3246 3866
3247int 3867int
@@ -3252,36 +3872,12 @@ main ()
3252 return 0; 3872 return 0;
3253} 3873}
3254_ACEOF 3874_ACEOF
3255rm -f conftest.$ac_objext 3875if ac_fn_c_try_compile "$LINENO"; then :
3256if { (ac_try="$ac_compile"
3257case "(($ac_try" in
3258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3259 *) ac_try_echo=$ac_try;;
3260esac
3261eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3262$as_echo "$ac_try_echo") >&5
3263 (eval "$ac_compile") 2>conftest.er1
3264 ac_status=$?
3265 grep -v '^ *+' conftest.er1 >conftest.err
3266 rm -f conftest.er1
3267 cat conftest.err >&5
3268 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269 (exit $ac_status); } && {
3270 test -z "$ac_c_werror_flag" ||
3271 test ! -s conftest.err
3272 } && test -s conftest.$ac_objext; then
3273 :
3274else
3275 $as_echo "$as_me: failed program was:" >&5
3276sed 's/^/| /' conftest.$ac_ext >&5
3277 3876
3278 ac_c_werror_flag=$ac_save_c_werror_flag 3877else
3878 ac_c_werror_flag=$ac_save_c_werror_flag
3279 CFLAGS="-g" 3879 CFLAGS="-g"
3280 cat >conftest.$ac_ext <<_ACEOF 3880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3281/* confdefs.h. */
3282_ACEOF
3283cat confdefs.h >>conftest.$ac_ext
3284cat >>conftest.$ac_ext <<_ACEOF
3285/* end confdefs.h. */ 3881/* end confdefs.h. */
3286 3882
3287int 3883int
@@ -3292,42 +3888,17 @@ main ()
3292 return 0; 3888 return 0;
3293} 3889}
3294_ACEOF 3890_ACEOF
3295rm -f conftest.$ac_objext 3891if ac_fn_c_try_compile "$LINENO"; then :
3296if { (ac_try="$ac_compile"
3297case "(($ac_try" in
3298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3299 *) ac_try_echo=$ac_try;;
3300esac
3301eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3302$as_echo "$ac_try_echo") >&5
3303 (eval "$ac_compile") 2>conftest.er1
3304 ac_status=$?
3305 grep -v '^ *+' conftest.er1 >conftest.err
3306 rm -f conftest.er1
3307 cat conftest.err >&5
3308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3309 (exit $ac_status); } && {
3310 test -z "$ac_c_werror_flag" ||
3311 test ! -s conftest.err
3312 } && test -s conftest.$ac_objext; then
3313 ac_cv_prog_cc_g=yes 3892 ac_cv_prog_cc_g=yes
3314else
3315 $as_echo "$as_me: failed program was:" >&5
3316sed 's/^/| /' conftest.$ac_ext >&5
3317
3318
3319fi 3893fi
3320
3321rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3894rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3322fi 3895fi
3323
3324rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3896rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3325fi 3897fi
3326
3327rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3898rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3328 ac_c_werror_flag=$ac_save_c_werror_flag 3899 ac_c_werror_flag=$ac_save_c_werror_flag
3329fi 3900fi
3330{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3331$as_echo "$ac_cv_prog_cc_g" >&6; } 3902$as_echo "$ac_cv_prog_cc_g" >&6; }
3332if test "$ac_test_CFLAGS" = set; then 3903if test "$ac_test_CFLAGS" = set; then
3333 CFLAGS=$ac_save_CFLAGS 3904 CFLAGS=$ac_save_CFLAGS
@@ -3344,18 +3915,14 @@ else
3344 CFLAGS= 3915 CFLAGS=
3345 fi 3916 fi
3346fi 3917fi
3347{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3348$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3919$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3349if test "${ac_cv_prog_cc_c89+set}" = set; then 3920if test "${ac_cv_prog_cc_c89+set}" = set; then :
3350 $as_echo_n "(cached) " >&6 3921 $as_echo_n "(cached) " >&6
3351else 3922else
3352 ac_cv_prog_cc_c89=no 3923 ac_cv_prog_cc_c89=no
3353ac_save_CC=$CC 3924ac_save_CC=$CC
3354cat >conftest.$ac_ext <<_ACEOF 3925cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3355/* confdefs.h. */
3356_ACEOF
3357cat confdefs.h >>conftest.$ac_ext
3358cat >>conftest.$ac_ext <<_ACEOF
3359/* end confdefs.h. */ 3926/* end confdefs.h. */
3360#include <stdarg.h> 3927#include <stdarg.h>
3361#include <stdio.h> 3928#include <stdio.h>
@@ -3412,32 +3979,9 @@ for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3412 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3979 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3413do 3980do
3414 CC="$ac_save_CC $ac_arg" 3981 CC="$ac_save_CC $ac_arg"
3415 rm -f conftest.$ac_objext 3982 if ac_fn_c_try_compile "$LINENO"; then :
3416if { (ac_try="$ac_compile"
3417case "(($ac_try" in
3418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3419 *) ac_try_echo=$ac_try;;
3420esac
3421eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3422$as_echo "$ac_try_echo") >&5
3423 (eval "$ac_compile") 2>conftest.er1
3424 ac_status=$?
3425 grep -v '^ *+' conftest.er1 >conftest.err
3426 rm -f conftest.er1
3427 cat conftest.err >&5
3428 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3429 (exit $ac_status); } && {
3430 test -z "$ac_c_werror_flag" ||
3431 test ! -s conftest.err
3432 } && test -s conftest.$ac_objext; then
3433 ac_cv_prog_cc_c89=$ac_arg 3983 ac_cv_prog_cc_c89=$ac_arg
3434else
3435 $as_echo "$as_me: failed program was:" >&5
3436sed 's/^/| /' conftest.$ac_ext >&5
3437
3438
3439fi 3984fi
3440
3441rm -f core conftest.err conftest.$ac_objext 3985rm -f core conftest.err conftest.$ac_objext
3442 test "x$ac_cv_prog_cc_c89" != "xno" && break 3986 test "x$ac_cv_prog_cc_c89" != "xno" && break
3443done 3987done
@@ -3448,17 +3992,19 @@ fi
3448# AC_CACHE_VAL 3992# AC_CACHE_VAL
3449case "x$ac_cv_prog_cc_c89" in 3993case "x$ac_cv_prog_cc_c89" in
3450 x) 3994 x)
3451 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3452$as_echo "none needed" >&6; } ;; 3996$as_echo "none needed" >&6; } ;;
3453 xno) 3997 xno)
3454 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3455$as_echo "unsupported" >&6; } ;; 3999$as_echo "unsupported" >&6; } ;;
3456 *) 4000 *)
3457 CC="$CC $ac_cv_prog_cc_c89" 4001 CC="$CC $ac_cv_prog_cc_c89"
3458 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3459$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4003$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3460esac 4004esac
4005if test "x$ac_cv_prog_cc_c89" != xno; then :
3461 4006
4007fi
3462 4008
3463ac_ext=c 4009ac_ext=c
3464ac_cpp='$CPP $CPPFLAGS' 4010ac_cpp='$CPP $CPPFLAGS'
@@ -3468,15 +4014,15 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
3468 4014
3469 4015
3470# Check whether --enable-largefile was given. 4016# Check whether --enable-largefile was given.
3471if test "${enable_largefile+set}" = set; then 4017if test "${enable_largefile+set}" = set; then :
3472 enableval=$enable_largefile; 4018 enableval=$enable_largefile;
3473fi 4019fi
3474 4020
3475if test "$enable_largefile" != no; then 4021if test "$enable_largefile" != no; then
3476 4022
3477 { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
3478$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 4024$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
3479if test "${ac_cv_sys_largefile_CC+set}" = set; then 4025if test "${ac_cv_sys_largefile_CC+set}" = set; then :
3480 $as_echo_n "(cached) " >&6 4026 $as_echo_n "(cached) " >&6
3481else 4027else
3482 ac_cv_sys_largefile_CC=no 4028 ac_cv_sys_largefile_CC=no
@@ -3485,11 +4031,7 @@ else
3485 while :; do 4031 while :; do
3486 # IRIX 6.2 and later do not support large files by default, 4032 # IRIX 6.2 and later do not support large files by default,
3487 # so use the C compiler's -n32 option if that helps. 4033 # so use the C compiler's -n32 option if that helps.
3488 cat >conftest.$ac_ext <<_ACEOF 4034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3489/* confdefs.h. */
3490_ACEOF
3491cat confdefs.h >>conftest.$ac_ext
3492cat >>conftest.$ac_ext <<_ACEOF
3493/* end confdefs.h. */ 4035/* end confdefs.h. */
3494#include <sys/types.h> 4036#include <sys/types.h>
3495 /* Check that off_t can represent 2**63 - 1 correctly. 4037 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -3508,60 +4050,14 @@ main ()
3508 return 0; 4050 return 0;
3509} 4051}
3510_ACEOF 4052_ACEOF
3511 rm -f conftest.$ac_objext 4053 if ac_fn_c_try_compile "$LINENO"; then :
3512if { (ac_try="$ac_compile"
3513case "(($ac_try" in
3514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3515 *) ac_try_echo=$ac_try;;
3516esac
3517eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3518$as_echo "$ac_try_echo") >&5
3519 (eval "$ac_compile") 2>conftest.er1
3520 ac_status=$?
3521 grep -v '^ *+' conftest.er1 >conftest.err
3522 rm -f conftest.er1
3523 cat conftest.err >&5
3524 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525 (exit $ac_status); } && {
3526 test -z "$ac_c_werror_flag" ||
3527 test ! -s conftest.err
3528 } && test -s conftest.$ac_objext; then
3529 break 4054 break
3530else
3531 $as_echo "$as_me: failed program was:" >&5
3532sed 's/^/| /' conftest.$ac_ext >&5
3533
3534
3535fi 4055fi
3536
3537rm -f core conftest.err conftest.$ac_objext 4056rm -f core conftest.err conftest.$ac_objext
3538 CC="$CC -n32" 4057 CC="$CC -n32"
3539 rm -f conftest.$ac_objext 4058 if ac_fn_c_try_compile "$LINENO"; then :
3540if { (ac_try="$ac_compile"
3541case "(($ac_try" in
3542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3543 *) ac_try_echo=$ac_try;;
3544esac
3545eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3546$as_echo "$ac_try_echo") >&5
3547 (eval "$ac_compile") 2>conftest.er1
3548 ac_status=$?
3549 grep -v '^ *+' conftest.er1 >conftest.err
3550 rm -f conftest.er1
3551 cat conftest.err >&5
3552 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553 (exit $ac_status); } && {
3554 test -z "$ac_c_werror_flag" ||
3555 test ! -s conftest.err
3556 } && test -s conftest.$ac_objext; then
3557 ac_cv_sys_largefile_CC=' -n32'; break 4059 ac_cv_sys_largefile_CC=' -n32'; break
3558else
3559 $as_echo "$as_me: failed program was:" >&5
3560sed 's/^/| /' conftest.$ac_ext >&5
3561
3562
3563fi 4060fi
3564
3565rm -f core conftest.err conftest.$ac_objext 4061rm -f core conftest.err conftest.$ac_objext
3566 break 4062 break
3567 done 4063 done
@@ -3569,23 +4065,19 @@ rm -f core conftest.err conftest.$ac_objext
3569 rm -f conftest.$ac_ext 4065 rm -f conftest.$ac_ext
3570 fi 4066 fi
3571fi 4067fi
3572{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 4068{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
3573$as_echo "$ac_cv_sys_largefile_CC" >&6; } 4069$as_echo "$ac_cv_sys_largefile_CC" >&6; }
3574 if test "$ac_cv_sys_largefile_CC" != no; then 4070 if test "$ac_cv_sys_largefile_CC" != no; then
3575 CC=$CC$ac_cv_sys_largefile_CC 4071 CC=$CC$ac_cv_sys_largefile_CC
3576 fi 4072 fi
3577 4073
3578 { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3579$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 4075$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
3580if test "${ac_cv_sys_file_offset_bits+set}" = set; then 4076if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
3581 $as_echo_n "(cached) " >&6 4077 $as_echo_n "(cached) " >&6
3582else 4078else
3583 while :; do 4079 while :; do
3584 cat >conftest.$ac_ext <<_ACEOF 4080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3585/* confdefs.h. */
3586_ACEOF
3587cat confdefs.h >>conftest.$ac_ext
3588cat >>conftest.$ac_ext <<_ACEOF
3589/* end confdefs.h. */ 4081/* end confdefs.h. */
3590#include <sys/types.h> 4082#include <sys/types.h>
3591 /* Check that off_t can represent 2**63 - 1 correctly. 4083 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -3604,38 +4096,11 @@ main ()
3604 return 0; 4096 return 0;
3605} 4097}
3606_ACEOF 4098_ACEOF
3607rm -f conftest.$ac_objext 4099if ac_fn_c_try_compile "$LINENO"; then :
3608if { (ac_try="$ac_compile"
3609case "(($ac_try" in
3610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3611 *) ac_try_echo=$ac_try;;
3612esac
3613eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3614$as_echo "$ac_try_echo") >&5
3615 (eval "$ac_compile") 2>conftest.er1
3616 ac_status=$?
3617 grep -v '^ *+' conftest.er1 >conftest.err
3618 rm -f conftest.er1
3619 cat conftest.err >&5
3620 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3621 (exit $ac_status); } && {
3622 test -z "$ac_c_werror_flag" ||
3623 test ! -s conftest.err
3624 } && test -s conftest.$ac_objext; then
3625 ac_cv_sys_file_offset_bits=no; break 4100 ac_cv_sys_file_offset_bits=no; break
3626else
3627 $as_echo "$as_me: failed program was:" >&5
3628sed 's/^/| /' conftest.$ac_ext >&5
3629
3630
3631fi 4101fi
3632
3633rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4102rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3634 cat >conftest.$ac_ext <<_ACEOF 4103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3635/* confdefs.h. */
3636_ACEOF
3637cat confdefs.h >>conftest.$ac_ext
3638cat >>conftest.$ac_ext <<_ACEOF
3639/* end confdefs.h. */ 4104/* end confdefs.h. */
3640#define _FILE_OFFSET_BITS 64 4105#define _FILE_OFFSET_BITS 64
3641#include <sys/types.h> 4106#include <sys/types.h>
@@ -3655,38 +4120,15 @@ main ()
3655 return 0; 4120 return 0;
3656} 4121}
3657_ACEOF 4122_ACEOF
3658rm -f conftest.$ac_objext 4123if ac_fn_c_try_compile "$LINENO"; then :
3659if { (ac_try="$ac_compile"
3660case "(($ac_try" in
3661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3662 *) ac_try_echo=$ac_try;;
3663esac
3664eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3665$as_echo "$ac_try_echo") >&5
3666 (eval "$ac_compile") 2>conftest.er1
3667 ac_status=$?
3668 grep -v '^ *+' conftest.er1 >conftest.err
3669 rm -f conftest.er1
3670 cat conftest.err >&5
3671 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); } && {
3673 test -z "$ac_c_werror_flag" ||
3674 test ! -s conftest.err
3675 } && test -s conftest.$ac_objext; then
3676 ac_cv_sys_file_offset_bits=64; break 4124 ac_cv_sys_file_offset_bits=64; break
3677else
3678 $as_echo "$as_me: failed program was:" >&5
3679sed 's/^/| /' conftest.$ac_ext >&5
3680
3681
3682fi 4125fi
3683
3684rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4126rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3685 ac_cv_sys_file_offset_bits=unknown 4127 ac_cv_sys_file_offset_bits=unknown
3686 break 4128 break
3687done 4129done
3688fi 4130fi
3689{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 4131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
3690$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 4132$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
3691case $ac_cv_sys_file_offset_bits in #( 4133case $ac_cv_sys_file_offset_bits in #(
3692 no | unknown) ;; 4134 no | unknown) ;;
@@ -3698,17 +4140,13 @@ _ACEOF
3698esac 4140esac
3699rm -rf conftest* 4141rm -rf conftest*
3700 if test $ac_cv_sys_file_offset_bits = unknown; then 4142 if test $ac_cv_sys_file_offset_bits = unknown; then
3701 { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
3702$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 4144$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
3703if test "${ac_cv_sys_large_files+set}" = set; then 4145if test "${ac_cv_sys_large_files+set}" = set; then :
3704 $as_echo_n "(cached) " >&6 4146 $as_echo_n "(cached) " >&6
3705else 4147else
3706 while :; do 4148 while :; do
3707 cat >conftest.$ac_ext <<_ACEOF 4149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3708/* confdefs.h. */
3709_ACEOF
3710cat confdefs.h >>conftest.$ac_ext
3711cat >>conftest.$ac_ext <<_ACEOF
3712/* end confdefs.h. */ 4150/* end confdefs.h. */
3713#include <sys/types.h> 4151#include <sys/types.h>
3714 /* Check that off_t can represent 2**63 - 1 correctly. 4152 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -3727,38 +4165,11 @@ main ()
3727 return 0; 4165 return 0;
3728} 4166}
3729_ACEOF 4167_ACEOF
3730rm -f conftest.$ac_objext 4168if ac_fn_c_try_compile "$LINENO"; then :
3731if { (ac_try="$ac_compile"
3732case "(($ac_try" in
3733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3734 *) ac_try_echo=$ac_try;;
3735esac
3736eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3737$as_echo "$ac_try_echo") >&5
3738 (eval "$ac_compile") 2>conftest.er1
3739 ac_status=$?
3740 grep -v '^ *+' conftest.er1 >conftest.err
3741 rm -f conftest.er1
3742 cat conftest.err >&5
3743 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3744 (exit $ac_status); } && {
3745 test -z "$ac_c_werror_flag" ||
3746 test ! -s conftest.err
3747 } && test -s conftest.$ac_objext; then
3748 ac_cv_sys_large_files=no; break 4169 ac_cv_sys_large_files=no; break
3749else
3750 $as_echo "$as_me: failed program was:" >&5
3751sed 's/^/| /' conftest.$ac_ext >&5
3752
3753
3754fi 4170fi
3755
3756rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4171rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3757 cat >conftest.$ac_ext <<_ACEOF 4172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3758/* confdefs.h. */
3759_ACEOF
3760cat confdefs.h >>conftest.$ac_ext
3761cat >>conftest.$ac_ext <<_ACEOF
3762/* end confdefs.h. */ 4173/* end confdefs.h. */
3763#define _LARGE_FILES 1 4174#define _LARGE_FILES 1
3764#include <sys/types.h> 4175#include <sys/types.h>
@@ -3778,38 +4189,15 @@ main ()
3778 return 0; 4189 return 0;
3779} 4190}
3780_ACEOF 4191_ACEOF
3781rm -f conftest.$ac_objext 4192if ac_fn_c_try_compile "$LINENO"; then :
3782if { (ac_try="$ac_compile"
3783case "(($ac_try" in
3784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3785 *) ac_try_echo=$ac_try;;
3786esac
3787eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3788$as_echo "$ac_try_echo") >&5
3789 (eval "$ac_compile") 2>conftest.er1
3790 ac_status=$?
3791 grep -v '^ *+' conftest.er1 >conftest.err
3792 rm -f conftest.er1
3793 cat conftest.err >&5
3794 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); } && {
3796 test -z "$ac_c_werror_flag" ||
3797 test ! -s conftest.err
3798 } && test -s conftest.$ac_objext; then
3799 ac_cv_sys_large_files=1; break 4193 ac_cv_sys_large_files=1; break
3800else
3801 $as_echo "$as_me: failed program was:" >&5
3802sed 's/^/| /' conftest.$ac_ext >&5
3803
3804
3805fi 4194fi
3806
3807rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4195rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3808 ac_cv_sys_large_files=unknown 4196 ac_cv_sys_large_files=unknown
3809 break 4197 break
3810done 4198done
3811fi 4199fi
3812{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 4200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
3813$as_echo "$ac_cv_sys_large_files" >&6; } 4201$as_echo "$ac_cv_sys_large_files" >&6; }
3814case $ac_cv_sys_large_files in #( 4202case $ac_cv_sys_large_files in #(
3815 no | unknown) ;; 4203 no | unknown) ;;
@@ -3840,10 +4228,10 @@ fi
3840# OS/2's system install, which has a completely different semantic 4228# OS/2's system install, which has a completely different semantic
3841# ./install, which can be erroneously created by make from ./install.sh. 4229# ./install, which can be erroneously created by make from ./install.sh.
3842# Reject install programs that cannot install multiple files. 4230# Reject install programs that cannot install multiple files.
3843{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 4231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3844$as_echo_n "checking for a BSD-compatible install... " >&6; } 4232$as_echo_n "checking for a BSD-compatible install... " >&6; }
3845if test -z "$INSTALL"; then 4233if test -z "$INSTALL"; then
3846if test "${ac_cv_path_install+set}" = set; then 4234if test "${ac_cv_path_install+set}" = set; then :
3847 $as_echo_n "(cached) " >&6 4235 $as_echo_n "(cached) " >&6
3848else 4236else
3849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -3851,11 +4239,11 @@ for as_dir in $PATH
3851do 4239do
3852 IFS=$as_save_IFS 4240 IFS=$as_save_IFS
3853 test -z "$as_dir" && as_dir=. 4241 test -z "$as_dir" && as_dir=.
3854 # Account for people who put trailing slashes in PATH elements. 4242 # Account for people who put trailing slashes in PATH elements.
3855case $as_dir/ in 4243case $as_dir/ in #((
3856 ./ | .// | /cC/* | \ 4244 ./ | .// | /[cC]/* | \
3857 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 4245 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3858 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 4246 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3859 /usr/ucb/* ) ;; 4247 /usr/ucb/* ) ;;
3860 *) 4248 *)
3861 # OSF1 and SCO ODT 3.0 have their own names for install. 4249 # OSF1 and SCO ODT 3.0 have their own names for install.
@@ -3892,7 +4280,7 @@ case $as_dir/ in
3892 ;; 4280 ;;
3893esac 4281esac
3894 4282
3895done 4283 done
3896IFS=$as_save_IFS 4284IFS=$as_save_IFS
3897 4285
3898rm -rf conftest.one conftest.two conftest.dir 4286rm -rf conftest.one conftest.two conftest.dir
@@ -3908,7 +4296,7 @@ fi
3908 INSTALL=$ac_install_sh 4296 INSTALL=$ac_install_sh
3909 fi 4297 fi
3910fi 4298fi
3911{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 4299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3912$as_echo "$INSTALL" >&6; } 4300$as_echo "$INSTALL" >&6; }
3913 4301
3914# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 4302# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
@@ -3921,35 +4309,27 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3921 4309
3922# Make sure we can run config.sub. 4310# Make sure we can run config.sub.
3923$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4311$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3924 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 4312 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3925$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3926 { (exit 1); exit 1; }; }
3927 4313
3928{ $as_echo "$as_me:$LINENO: checking build system type" >&5 4314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3929$as_echo_n "checking build system type... " >&6; } 4315$as_echo_n "checking build system type... " >&6; }
3930if test "${ac_cv_build+set}" = set; then 4316if test "${ac_cv_build+set}" = set; then :
3931 $as_echo_n "(cached) " >&6 4317 $as_echo_n "(cached) " >&6
3932else 4318else
3933 ac_build_alias=$build_alias 4319 ac_build_alias=$build_alias
3934test "x$ac_build_alias" = x && 4320test "x$ac_build_alias" = x &&
3935 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4321 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3936test "x$ac_build_alias" = x && 4322test "x$ac_build_alias" = x &&
3937 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 4323 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3938$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3939 { (exit 1); exit 1; }; }
3940ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4324ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3941 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 4325 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3942$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3943 { (exit 1); exit 1; }; }
3944 4326
3945fi 4327fi
3946{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 4328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3947$as_echo "$ac_cv_build" >&6; } 4329$as_echo "$ac_cv_build" >&6; }
3948case $ac_cv_build in 4330case $ac_cv_build in
3949*-*-*) ;; 4331*-*-*) ;;
3950*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 4332*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3951$as_echo "$as_me: error: invalid value of canonical build" >&2;}
3952 { (exit 1); exit 1; }; };;
3953esac 4333esac
3954build=$ac_cv_build 4334build=$ac_cv_build
3955ac_save_IFS=$IFS; IFS='-' 4335ac_save_IFS=$IFS; IFS='-'
@@ -3965,28 +4345,24 @@ IFS=$ac_save_IFS
3965case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4345case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3966 4346
3967 4347
3968{ $as_echo "$as_me:$LINENO: checking host system type" >&5 4348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3969$as_echo_n "checking host system type... " >&6; } 4349$as_echo_n "checking host system type... " >&6; }
3970if test "${ac_cv_host+set}" = set; then 4350if test "${ac_cv_host+set}" = set; then :
3971 $as_echo_n "(cached) " >&6 4351 $as_echo_n "(cached) " >&6
3972else 4352else
3973 if test "x$host_alias" = x; then 4353 if test "x$host_alias" = x; then
3974 ac_cv_host=$ac_cv_build 4354 ac_cv_host=$ac_cv_build
3975else 4355else
3976 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4356 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3977 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 4357 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3978$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3979 { (exit 1); exit 1; }; }
3980fi 4358fi
3981 4359
3982fi 4360fi
3983{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 4361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3984$as_echo "$ac_cv_host" >&6; } 4362$as_echo "$ac_cv_host" >&6; }
3985case $ac_cv_host in 4363case $ac_cv_host in
3986*-*-*) ;; 4364*-*-*) ;;
3987*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 4365*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3988$as_echo "$as_me: error: invalid value of canonical host" >&2;}
3989 { (exit 1); exit 1; }; };;
3990esac 4366esac
3991host=$ac_cv_host 4367host=$ac_cv_host
3992ac_save_IFS=$IFS; IFS='-' 4368ac_save_IFS=$IFS; IFS='-'
@@ -4004,7 +4380,7 @@ case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4004 4380
4005 4381
4006# Check whether --with-gnu-ld was given. 4382# Check whether --with-gnu-ld was given.
4007if test "${with_gnu_ld+set}" = set; then 4383if test "${with_gnu_ld+set}" = set; then :
4008 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4384 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4009else 4385else
4010 with_gnu_ld=no 4386 with_gnu_ld=no
@@ -4026,7 +4402,7 @@ fi
4026ac_prog=ld 4402ac_prog=ld
4027if test "$GCC" = yes; then 4403if test "$GCC" = yes; then
4028 # Check if gcc -print-prog-name=ld gives a path. 4404 # Check if gcc -print-prog-name=ld gives a path.
4029 { $as_echo "$as_me:$LINENO: checking for ld used by GCC" >&5 4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
4030$as_echo_n "checking for ld used by GCC... " >&6; } 4406$as_echo_n "checking for ld used by GCC... " >&6; }
4031 case $host in 4407 case $host in
4032 *-*-mingw*) 4408 *-*-mingw*)
@@ -4056,13 +4432,13 @@ $as_echo_n "checking for ld used by GCC... " >&6; }
4056 ;; 4432 ;;
4057 esac 4433 esac
4058elif test "$with_gnu_ld" = yes; then 4434elif test "$with_gnu_ld" = yes; then
4059 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4060$as_echo_n "checking for GNU ld... " >&6; } 4436$as_echo_n "checking for GNU ld... " >&6; }
4061else 4437else
4062 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4063$as_echo_n "checking for non-GNU ld... " >&6; } 4439$as_echo_n "checking for non-GNU ld... " >&6; }
4064fi 4440fi
4065if test "${acl_cv_path_LD+set}" = set; then 4441if test "${acl_cv_path_LD+set}" = set; then :
4066 $as_echo_n "(cached) " >&6 4442 $as_echo_n "(cached) " >&6
4067else 4443else
4068 if test -z "$LD"; then 4444 if test -z "$LD"; then
@@ -4090,18 +4466,16 @@ fi
4090 4466
4091LD="$acl_cv_path_LD" 4467LD="$acl_cv_path_LD"
4092if test -n "$LD"; then 4468if test -n "$LD"; then
4093 { $as_echo "$as_me:$LINENO: result: $LD" >&5 4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4094$as_echo "$LD" >&6; } 4470$as_echo "$LD" >&6; }
4095else 4471else
4096 { $as_echo "$as_me:$LINENO: result: no" >&5 4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4097$as_echo "no" >&6; } 4473$as_echo "no" >&6; }
4098fi 4474fi
4099test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 4475test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4100$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 4476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4101 { (exit 1); exit 1; }; }
4102{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4103$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4477$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4104if test "${acl_cv_prog_gnu_ld+set}" = set; then 4478if test "${acl_cv_prog_gnu_ld+set}" = set; then :
4105 $as_echo_n "(cached) " >&6 4479 $as_echo_n "(cached) " >&6
4106else 4480else
4107 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 4481 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
@@ -4112,15 +4486,15 @@ case `$LD -v 2>&1 </dev/null` in
4112 acl_cv_prog_gnu_ld=no ;; 4486 acl_cv_prog_gnu_ld=no ;;
4113esac 4487esac
4114fi 4488fi
4115{ $as_echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5 4489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4116$as_echo "$acl_cv_prog_gnu_ld" >&6; } 4490$as_echo "$acl_cv_prog_gnu_ld" >&6; }
4117with_gnu_ld=$acl_cv_prog_gnu_ld 4491with_gnu_ld=$acl_cv_prog_gnu_ld
4118 4492
4119 4493
4120 4494
4121 { $as_echo "$as_me:$LINENO: checking for shared library path variable" >&5 4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library path variable" >&5
4122$as_echo_n "checking for shared library path variable... " >&6; } 4496$as_echo_n "checking for shared library path variable... " >&6; }
4123if test "${acl_cv_libpath+set}" = set; then 4497if test "${acl_cv_libpath+set}" = set; then :
4124 $as_echo_n "(cached) " >&6 4498 $as_echo_n "(cached) " >&6
4125else 4499else
4126 4500
@@ -4131,15 +4505,15 @@ else
4131 acl_cv_libpath=${acl_cv_shlibpath_var:-none} 4505 acl_cv_libpath=${acl_cv_shlibpath_var:-none}
4132 4506
4133fi 4507fi
4134{ $as_echo "$as_me:$LINENO: result: $acl_cv_libpath" >&5 4508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libpath" >&5
4135$as_echo "$acl_cv_libpath" >&6; } 4509$as_echo "$acl_cv_libpath" >&6; }
4136 shlibpath_var="$acl_cv_shlibpath_var" 4510 shlibpath_var="$acl_cv_shlibpath_var"
4137 4511
4138 4512
4139 { $as_echo "$as_me:$LINENO: checking whether to activate relocatable installation" >&5 4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to activate relocatable installation" >&5
4140$as_echo_n "checking whether to activate relocatable installation... " >&6; } 4514$as_echo_n "checking whether to activate relocatable installation... " >&6; }
4141 # Check whether --enable-relocatable was given. 4515 # Check whether --enable-relocatable was given.
4142if test "${enable_relocatable+set}" = set; then 4516if test "${enable_relocatable+set}" = set; then :
4143 enableval=$enable_relocatable; if test "$enableval" != no; then 4517 enableval=$enable_relocatable; if test "$enableval" != no; then
4144 RELOCATABLE=yes 4518 RELOCATABLE=yes
4145 else 4519 else
@@ -4151,7 +4525,7 @@ else
4151fi 4525fi
4152 4526
4153 4527
4154 { $as_echo "$as_me:$LINENO: result: $RELOCATABLE" >&5 4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RELOCATABLE" >&5
4155$as_echo "$RELOCATABLE" >&6; } 4529$as_echo "$RELOCATABLE" >&6; }
4156 4530
4157 4531
@@ -4173,14 +4547,14 @@ ac_cpp='$CPP $CPPFLAGS'
4173ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4547ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4174ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4548ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4175ac_compiler_gnu=$ac_cv_c_compiler_gnu 4549ac_compiler_gnu=$ac_cv_c_compiler_gnu
4176{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4177$as_echo_n "checking how to run the C preprocessor... " >&6; } 4551$as_echo_n "checking how to run the C preprocessor... " >&6; }
4178# On Suns, sometimes $CPP names a directory. 4552# On Suns, sometimes $CPP names a directory.
4179if test -n "$CPP" && test -d "$CPP"; then 4553if test -n "$CPP" && test -d "$CPP"; then
4180 CPP= 4554 CPP=
4181fi 4555fi
4182if test -z "$CPP"; then 4556if test -z "$CPP"; then
4183 if test "${ac_cv_prog_CPP+set}" = set; then 4557 if test "${ac_cv_prog_CPP+set}" = set; then :
4184 $as_echo_n "(cached) " >&6 4558 $as_echo_n "(cached) " >&6
4185else 4559else
4186 # Double quotes because CPP needs to be expanded 4560 # Double quotes because CPP needs to be expanded
@@ -4195,11 +4569,7 @@ do
4195 # <limits.h> exists even on freestanding compilers. 4569 # <limits.h> exists even on freestanding compilers.
4196 # On the NeXT, cc -E runs the code through the compiler's parser, 4570 # On the NeXT, cc -E runs the code through the compiler's parser,
4197 # not just through cpp. "Syntax error" is here to catch this case. 4571 # not just through cpp. "Syntax error" is here to catch this case.
4198 cat >conftest.$ac_ext <<_ACEOF 4572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199/* confdefs.h. */
4200_ACEOF
4201cat confdefs.h >>conftest.$ac_ext
4202cat >>conftest.$ac_ext <<_ACEOF
4203/* end confdefs.h. */ 4573/* end confdefs.h. */
4204#ifdef __STDC__ 4574#ifdef __STDC__
4205# include <limits.h> 4575# include <limits.h>
@@ -4208,78 +4578,34 @@ cat >>conftest.$ac_ext <<_ACEOF
4208#endif 4578#endif
4209 Syntax error 4579 Syntax error
4210_ACEOF 4580_ACEOF
4211if { (ac_try="$ac_cpp conftest.$ac_ext" 4581if ac_fn_c_try_cpp "$LINENO"; then :
4212case "(($ac_try" in
4213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4214 *) ac_try_echo=$ac_try;;
4215esac
4216eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4217$as_echo "$ac_try_echo") >&5
4218 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1