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