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