diff options
Diffstat (limited to 'libltdl/configure')
-rwxr-xr-x | libltdl/configure | 8571 |
1 files changed, 4911 insertions, 3660 deletions
diff --git a/libltdl/configure b/libltdl/configure index d5a971e3..7e32fbe0 100755 --- a/libltdl/configure +++ b/libltdl/configure | |||
@@ -1,10 +1,11 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | # Guess values for system-dependent variables and create Makefiles. | 2 | # Guess values for system-dependent variables and create Makefiles. |
3 | # Generated by GNU Autoconf 2.59 for libltdl 1.2. | 3 | # Generated by GNU Autoconf 2.60a for libltdl 1.2. |
4 | # | 4 | # |
5 | # Report bugs to <bug-libtool@gnu.org>. | 5 | # Report bugs to <bug-libtool@gnu.org>. |
6 | # | 6 | # |
7 | # Copyright (C) 2003 Free Software Foundation, Inc. | 7 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
8 | # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | ||
8 | # This configure script is free software; the Free Software Foundation | 9 | # This configure script is free software; the Free Software Foundation |
9 | # gives unlimited permission to copy, distribute and modify it. | 10 | # gives unlimited permission to copy, distribute and modify it. |
10 | ## --------------------- ## | 11 | ## --------------------- ## |
@@ -18,11 +19,35 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |||
18 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 19 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
19 | # is contrary to our usage. Disable this feature. | 20 | # is contrary to our usage. Disable this feature. |
20 | alias -g '${1+"$@"}'='"$@"' | 21 | alias -g '${1+"$@"}'='"$@"' |
21 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 22 | setopt NO_GLOB_SUBST |
22 | set -o posix | 23 | else |
24 | case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac | ||
23 | fi | 25 | fi |
26 | BIN_SH=xpg4; export BIN_SH # for Tru64 | ||
24 | DUALCASE=1; export DUALCASE # for MKS sh | 27 | DUALCASE=1; export DUALCASE # for MKS sh |
25 | 28 | ||
29 | |||
30 | # PATH needs CR | ||
31 | # Avoid depending upon Character Ranges. | ||
32 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
33 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
34 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
35 | as_cr_digits='0123456789' | ||
36 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
37 | |||
38 | # The user is always right. | ||
39 | if test "${PATH_SEPARATOR+set}" != set; then | ||
40 | echo "#! /bin/sh" >conf$$.sh | ||
41 | echo "exit 0" >>conf$$.sh | ||
42 | chmod +x conf$$.sh | ||
43 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | ||
44 | PATH_SEPARATOR=';' | ||
45 | else | ||
46 | PATH_SEPARATOR=: | ||
47 | fi | ||
48 | rm -f conf$$.sh | ||
49 | fi | ||
50 | |||
26 | # Support unset when possible. | 51 | # Support unset when possible. |
27 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | 52 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
28 | as_unset=unset | 53 | as_unset=unset |
@@ -31,8 +56,43 @@ else | |||
31 | fi | 56 | fi |
32 | 57 | ||
33 | 58 | ||
59 | # IFS | ||
60 | # We need space, tab and new line, in precisely that order. Quoting is | ||
61 | # there to prevent editors from complaining about space-tab. | ||
62 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | ||
63 | # splitting by setting IFS to empty value.) | ||
64 | as_nl=' | ||
65 | ' | ||
66 | IFS=" "" $as_nl" | ||
67 | |||
68 | # Find who we are. Look in the path if we contain no directory separator. | ||
69 | case $0 in | ||
70 | *[\\/]* ) as_myself=$0 ;; | ||
71 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
72 | for as_dir in $PATH | ||
73 | do | ||
74 | IFS=$as_save_IFS | ||
75 | test -z "$as_dir" && as_dir=. | ||
76 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
77 | done | ||
78 | IFS=$as_save_IFS | ||
79 | |||
80 | ;; | ||
81 | esac | ||
82 | # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
83 | # in which case we are not to be found in the path. | ||
84 | if test "x$as_myself" = x; then | ||
85 | as_myself=$0 | ||
86 | fi | ||
87 | if test ! -f "$as_myself"; then | ||
88 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | ||
89 | { (exit 1); exit 1; } | ||
90 | fi | ||
91 | |||
34 | # Work around bugs in pre-3.0 UWIN ksh. | 92 | # Work around bugs in pre-3.0 UWIN ksh. |
35 | $as_unset ENV MAIL MAILPATH | 93 | for as_var in ENV MAIL MAILPATH |
94 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
95 | done | ||
36 | PS1='$ ' | 96 | PS1='$ ' |
37 | PS2='> ' | 97 | PS2='> ' |
38 | PS4='+ ' | 98 | PS4='+ ' |
@@ -46,18 +106,19 @@ do | |||
46 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | 106 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
47 | eval $as_var=C; export $as_var | 107 | eval $as_var=C; export $as_var |
48 | else | 108 | else |
49 | $as_unset $as_var | 109 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
50 | fi | 110 | fi |
51 | done | 111 | done |
52 | 112 | ||
53 | # Required to use basename. | 113 | # Required to use basename. |
54 | if expr a : '\(a\)' >/dev/null 2>&1; then | 114 | if expr a : '\(a\)' >/dev/null 2>&1 && |
115 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
55 | as_expr=expr | 116 | as_expr=expr |
56 | else | 117 | else |
57 | as_expr=false | 118 | as_expr=false |
58 | fi | 119 | fi |
59 | 120 | ||
60 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | 121 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
61 | as_basename=basename | 122 | as_basename=basename |
62 | else | 123 | else |
63 | as_basename=false | 124 | as_basename=false |
@@ -65,157 +126,386 @@ fi | |||
65 | 126 | ||
66 | 127 | ||
67 | # Name of the executable. | 128 | # Name of the executable. |
68 | as_me=`$as_basename "$0" || | 129 | as_me=`$as_basename -- "$0" || |
69 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 130 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
70 | X"$0" : 'X\(//\)$' \| \ | 131 | X"$0" : 'X\(//\)$' \| \ |
71 | X"$0" : 'X\(/\)$' \| \ | 132 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
72 | . : '\(.\)' 2>/dev/null || | ||
73 | echo X/"$0" | | 133 | echo X/"$0" | |
74 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 134 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
75 | /^X\/\(\/\/\)$/{ s//\1/; q; } | 135 | s//\1/ |
76 | /^X\/\(\/\).*/{ s//\1/; q; } | 136 | q |
77 | s/.*/./; q'` | 137 | } |
138 | /^X\/\(\/\/\)$/{ | ||
139 | s//\1/ | ||
140 | q | ||
141 | } | ||
142 | /^X\/\(\/\).*/{ | ||
143 | s//\1/ | ||
144 | q | ||
145 | } | ||
146 | s/.*/./; q'` | ||
78 | 147 | ||
148 | # CDPATH. | ||
149 | $as_unset CDPATH | ||
79 | 150 | ||
80 | # PATH needs CR, and LINENO needs CR and PATH. | ||
81 | # Avoid depending upon Character Ranges. | ||
82 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
83 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
84 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
85 | as_cr_digits='0123456789' | ||
86 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
87 | 151 | ||
88 | # The user is always right. | 152 | if test "x$CONFIG_SHELL" = x; then |
89 | if test "${PATH_SEPARATOR+set}" != set; then | 153 | if (eval ":") 2>/dev/null; then |
90 | echo "#! /bin/sh" >conf$$.sh | 154 | as_have_required=yes |
91 | echo "exit 0" >>conf$$.sh | 155 | else |
92 | chmod +x conf$$.sh | 156 | as_have_required=no |
93 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | ||
94 | PATH_SEPARATOR=';' | ||
95 | else | ||
96 | PATH_SEPARATOR=: | ||
97 | fi | ||
98 | rm -f conf$$.sh | ||
99 | fi | 157 | fi |
100 | 158 | ||
159 | if test $as_have_required = yes && (eval ": | ||
160 | (as_func_return () { | ||
161 | (exit \$1) | ||
162 | } | ||
163 | as_func_success () { | ||
164 | as_func_return 0 | ||
165 | } | ||
166 | as_func_failure () { | ||
167 | as_func_return 1 | ||
168 | } | ||
169 | as_func_ret_success () { | ||
170 | return 0 | ||
171 | } | ||
172 | as_func_ret_failure () { | ||
173 | return 1 | ||
174 | } | ||
101 | 175 | ||
102 | as_lineno_1=$LINENO | 176 | exitcode=0 |
103 | as_lineno_2=$LINENO | 177 | if as_func_success; then |
104 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 178 | : |
105 | test "x$as_lineno_1" != "x$as_lineno_2" && | 179 | else |
106 | test "x$as_lineno_3" = "x$as_lineno_2" || { | 180 | exitcode=1 |
107 | # Find who we are. Look in the path if we contain no path at all | 181 | echo as_func_success failed. |
108 | # relative or not. | 182 | fi |
109 | case $0 in | ||
110 | *[\\/]* ) as_myself=$0 ;; | ||
111 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
112 | for as_dir in $PATH | ||
113 | do | ||
114 | IFS=$as_save_IFS | ||
115 | test -z "$as_dir" && as_dir=. | ||
116 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
117 | done | ||
118 | 183 | ||
119 | ;; | 184 | if as_func_failure; then |
120 | esac | 185 | exitcode=1 |
121 | # We did not find ourselves, most probably we were run as `sh COMMAND' | 186 | echo as_func_failure succeeded. |
122 | # in which case we are not to be found in the path. | 187 | fi |
123 | if test "x$as_myself" = x; then | 188 | |
124 | as_myself=$0 | 189 | if as_func_ret_success; then |
125 | fi | 190 | : |
126 | if test ! -f "$as_myself"; then | 191 | else |
127 | { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 | 192 | exitcode=1 |
128 | { (exit 1); exit 1; }; } | 193 | echo as_func_ret_success failed. |
129 | fi | 194 | fi |
130 | case $CONFIG_SHELL in | 195 | |
131 | '') | 196 | if as_func_ret_failure; then |
197 | exitcode=1 | ||
198 | echo as_func_ret_failure succeeded. | ||
199 | fi | ||
200 | |||
201 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | ||
202 | : | ||
203 | else | ||
204 | exitcode=1 | ||
205 | echo positional parameters were not saved. | ||
206 | fi | ||
207 | |||
208 | test \$exitcode = 0) || { (exit 1); exit 1; } | ||
209 | |||
210 | ( | ||
211 | as_lineno_1=\$LINENO | ||
212 | as_lineno_2=\$LINENO | ||
213 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | ||
214 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | ||
215 | ") 2> /dev/null; then | ||
216 | : | ||
217 | else | ||
218 | as_candidate_shells= | ||
132 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 219 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
133 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 220 | for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
134 | do | 221 | do |
135 | IFS=$as_save_IFS | 222 | IFS=$as_save_IFS |
136 | test -z "$as_dir" && as_dir=. | 223 | test -z "$as_dir" && as_dir=. |
137 | for as_base in sh bash ksh sh5; do | 224 | case $as_dir in |
138 | case $as_dir in | ||
139 | /*) | 225 | /*) |
140 | if ("$as_dir/$as_base" -c ' | 226 | for as_base in sh bash ksh sh5; do |
227 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" | ||
228 | done;; | ||
229 | esac | ||
230 | done | ||
231 | IFS=$as_save_IFS | ||
232 | |||
233 | |||
234 | for as_shell in $as_candidate_shells $SHELL; do | ||
235 | # Try only shells that exist, to save several forks. | ||
236 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | ||
237 | { ("$as_shell") 2> /dev/null <<\_ASEOF | ||
238 | # Be Bourne compatible | ||
239 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
240 | emulate sh | ||
241 | NULLCMD=: | ||
242 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | ||
243 | # is contrary to our usage. Disable this feature. | ||
244 | alias -g '${1+"$@"}'='"$@"' | ||
245 | setopt NO_GLOB_SUBST | ||
246 | else | ||
247 | case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac | ||
248 | fi | ||
249 | BIN_SH=xpg4; export BIN_SH # for Tru64 | ||
250 | DUALCASE=1; export DUALCASE # for MKS sh | ||
251 | |||
252 | : | ||
253 | _ASEOF | ||
254 | }; then | ||
255 | CONFIG_SHELL=$as_shell | ||
256 | as_have_required=yes | ||
257 | if { "$as_shell" 2> /dev/null <<\_ASEOF | ||
258 | # Be Bourne compatible | ||
259 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
260 | emulate sh | ||
261 | NULLCMD=: | ||
262 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | ||
263 | # is contrary to our usage. Disable this feature. | ||
264 | alias -g '${1+"$@"}'='"$@"' | ||
265 | setopt NO_GLOB_SUBST | ||
266 | else | ||
267 | case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac | ||
268 | fi | ||
269 | BIN_SH=xpg4; export BIN_SH # for Tru64 | ||
270 | DUALCASE=1; export DUALCASE # for MKS sh | ||
271 | |||
272 | : | ||
273 | (as_func_return () { | ||
274 | (exit $1) | ||
275 | } | ||
276 | as_func_success () { | ||
277 | as_func_return 0 | ||
278 | } | ||
279 | as_func_failure () { | ||
280 | as_func_return 1 | ||
281 | } | ||
282 | as_func_ret_success () { | ||
283 | return 0 | ||
284 | } | ||
285 | as_func_ret_failure () { | ||
286 | return 1 | ||
287 | } | ||
288 | |||
289 | exitcode=0 | ||
290 | if as_func_success; then | ||
291 | : | ||
292 | else | ||
293 | exitcode=1 | ||
294 | echo as_func_success failed. | ||
295 | fi | ||
296 | |||
297 | if as_func_failure; then | ||
298 | exitcode=1 | ||
299 | echo as_func_failure succeeded. | ||
300 | fi | ||
301 | |||
302 | if as_func_ret_success; then | ||
303 | : | ||
304 | else | ||
305 | exitcode=1 | ||
306 | echo as_func_ret_success failed. | ||
307 | fi | ||
308 | |||
309 | if as_func_ret_failure; then | ||
310 | exitcode=1 | ||
311 | echo as_func_ret_failure succeeded. | ||
312 | fi | ||
313 | |||
314 | if ( set x; as_func_ret_success y && test x = "$1" ); then | ||
315 | : | ||
316 | else | ||
317 | exitcode=1 | ||
318 | echo positional parameters were not saved. | ||
319 | fi | ||
320 | |||
321 | test $exitcode = 0) || { (exit 1); exit 1; } | ||
322 | |||
323 | ( | ||
141 | as_lineno_1=$LINENO | 324 | as_lineno_1=$LINENO |
142 | as_lineno_2=$LINENO | 325 | as_lineno_2=$LINENO |
143 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
144 | test "x$as_lineno_1" != "x$as_lineno_2" && | 326 | test "x$as_lineno_1" != "x$as_lineno_2" && |
145 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | 327 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
146 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | 328 | |
147 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | 329 | _ASEOF |
148 | CONFIG_SHELL=$as_dir/$as_base | 330 | }; then |
149 | export CONFIG_SHELL | 331 | break |
150 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} | 332 | fi |
151 | fi;; | 333 | |
152 | esac | 334 | fi |
153 | done | 335 | |
154 | done | 336 | done |
155 | ;; | 337 | |
156 | esac | 338 | if test "x$CONFIG_SHELL" != x; then |
339 | for as_var in BASH_ENV ENV | ||
340 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
341 | done | ||
342 | export CONFIG_SHELL | ||
343 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | ||
344 | fi | ||
345 | |||
346 | |||
347 | if test $as_have_required = no; then | ||
348 | echo This script requires a shell more modern than all the | ||
349 | echo shells that I found on your system. Please install a | ||
350 | echo modern shell, or manually run the script under such a | ||
351 | echo shell if you do have one. | ||
352 | { (exit 1); exit 1; } | ||
353 | fi | ||
354 | |||
355 | |||
356 | fi | ||
357 | |||
358 | fi | ||
359 | |||
360 | |||
361 | |||
362 | (eval "as_func_return () { | ||
363 | (exit \$1) | ||
364 | } | ||
365 | as_func_success () { | ||
366 | as_func_return 0 | ||
367 | } | ||
368 | as_func_failure () { | ||
369 | as_func_return 1 | ||
370 | } | ||
371 | as_func_ret_success () { | ||
372 | return 0 | ||
373 | } | ||
374 | as_func_ret_failure () { | ||
375 | return 1 | ||
376 | } | ||
377 | |||
378 | exitcode=0 | ||
379 | if as_func_success; then | ||
380 | : | ||
381 | else | ||
382 | exitcode=1 | ||
383 | echo as_func_success failed. | ||
384 | fi | ||
385 | |||
386 | if as_func_failure; then | ||
387 | exitcode=1 | ||
388 | echo as_func_failure succeeded. | ||
389 | fi | ||
390 | |||
391 | if as_func_ret_success; then | ||
392 | : | ||
393 | else | ||
394 | exitcode=1 | ||
395 | echo as_func_ret_success failed. | ||
396 | fi | ||
397 | |||
398 | if as_func_ret_failure; then | ||
399 | exitcode=1 | ||
400 | echo as_func_ret_failure succeeded. | ||
401 | fi | ||
402 | |||
403 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | ||
404 | : | ||
405 | else | ||
406 | exitcode=1 | ||
407 | echo positional parameters were not saved. | ||
408 | fi | ||
409 | |||
410 | test \$exitcode = 0") || { | ||
411 | echo No shell found that supports shell functions. | ||
412 | echo Please tell autoconf@gnu.org about your system, | ||
413 | echo including any error possibly output before this | ||
414 | echo message | ||
415 | } | ||
416 | |||
417 | |||
418 | |||
419 | as_lineno_1=$LINENO | ||
420 | as_lineno_2=$LINENO | ||
421 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
422 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | ||
157 | 423 | ||
158 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 424 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
159 | # uniformly replaced by the line number. The first 'sed' inserts a | 425 | # uniformly replaced by the line number. The first 'sed' inserts a |
160 | # line-number line before each line; the second 'sed' does the real | 426 | # line-number line after each line using $LINENO; the second 'sed' |
161 | # work. The second script uses 'N' to pair each line-number line | 427 | # does the real work. The second script uses 'N' to pair each |
162 | # with the numbered line, and appends trailing '-' during | 428 | # line-number line with the line containing $LINENO, and appends |
163 | # substitution so that $LINENO is not a special case at line end. | 429 | # trailing '-' during substitution so that $LINENO is not a special |
430 | # case at line end. | ||
164 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 431 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
165 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | 432 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
166 | sed '=' <$as_myself | | 433 | # E. McMahon (1931-1989) for sed's syntax. :-) |
434 | sed -n ' | ||
435 | p | ||
436 | /[$]LINENO/= | ||
437 | ' <$as_myself | | ||
167 | sed ' | 438 | sed ' |
439 | s/[$]LINENO.*/&-/ | ||
440 | t lineno | ||
441 | b | ||
442 | :lineno | ||
168 | N | 443 | N |
169 | s,$,-, | 444 | :loop |
170 | : loop | 445 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
171 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | ||
172 | t loop | 446 | t loop |
173 | s,-$,, | 447 | s/-\n.*// |
174 | s,^['$as_cr_digits']*\n,, | ||
175 | ' >$as_me.lineno && | 448 | ' >$as_me.lineno && |
176 | chmod +x $as_me.lineno || | 449 | chmod +x "$as_me.lineno" || |
177 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | 450 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
178 | { (exit 1); exit 1; }; } | 451 | { (exit 1); exit 1; }; } |
179 | 452 | ||
180 | # Don't try to exec as it changes $[0], causing all sort of problems | 453 | # Don't try to exec as it changes $[0], causing all sort of problems |
181 | # (the dirname of $[0] is not the place where we might find the | 454 | # (the dirname of $[0] is not the place where we might find the |
182 | # original and so on. Autoconf is especially sensible to this). | 455 | # original and so on. Autoconf is especially sensitive to this). |
183 | . ./$as_me.lineno | 456 | . "./$as_me.lineno" |
184 | # Exit status is that of the last command. | 457 | # Exit status is that of the last command. |
185 | exit | 458 | exit |
186 | } | 459 | } |
187 | 460 | ||
188 | 461 | ||
189 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 462 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
190 | *c*,-n*) ECHO_N= ECHO_C=' | 463 | as_dirname=dirname |
191 | ' ECHO_T=' ' ;; | 464 | else |
192 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 465 | as_dirname=false |
193 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | 466 | fi |
467 | |||
468 | ECHO_C= ECHO_N= ECHO_T= | ||
469 | case `echo -n x` in | ||
470 | -n*) | ||
471 | case `echo 'x\c'` in | ||
472 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | ||
473 | *) ECHO_C='\c';; | ||
474 | esac;; | ||
475 | *) | ||
476 | ECHO_N='-n';; | ||
194 | esac | 477 | esac |
195 | 478 | ||
196 | if expr a : '\(a\)' >/dev/null 2>&1; then | 479 | if expr a : '\(a\)' >/dev/null 2>&1 && |
480 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
197 | as_expr=expr | 481 | as_expr=expr |
198 | else | 482 | else |
199 | as_expr=false | 483 | as_expr=false |
200 | fi | 484 | fi |
201 | 485 | ||
202 | rm -f conf$$ conf$$.exe conf$$.file | 486 | rm -f conf$$ conf$$.exe conf$$.file |
487 | if test -d conf$$.dir; then | ||
488 | rm -f conf$$.dir/conf$$.file | ||
489 | else | ||
490 | rm -f conf$$.dir | ||
491 | mkdir conf$$.dir | ||
492 | fi | ||
203 | echo >conf$$.file | 493 | echo >conf$$.file |
204 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 494 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
205 | # We could just check for DJGPP; but this test a) works b) is more generic | 495 | as_ln_s='ln -s' |
206 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 496 | # ... but there are two gotchas: |
207 | if test -f conf$$.exe; then | 497 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
208 | # Don't use ln at all; we don't have any links | 498 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
499 | # In both cases, we have to default to `cp -p'. | ||
500 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | ||
209 | as_ln_s='cp -p' | 501 | as_ln_s='cp -p' |
210 | else | ||
211 | as_ln_s='ln -s' | ||
212 | fi | ||
213 | elif ln conf$$.file conf$$ 2>/dev/null; then | 502 | elif ln conf$$.file conf$$ 2>/dev/null; then |
214 | as_ln_s=ln | 503 | as_ln_s=ln |
215 | else | 504 | else |
216 | as_ln_s='cp -p' | 505 | as_ln_s='cp -p' |
217 | fi | 506 | fi |
218 | rm -f conf$$ conf$$.exe conf$$.file | 507 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
508 | rmdir conf$$.dir 2>/dev/null | ||
219 | 509 | ||
220 | if mkdir -p . 2>/dev/null; then | 510 | if mkdir -p . 2>/dev/null; then |
221 | as_mkdir_p=: | 511 | as_mkdir_p=: |
@@ -224,7 +514,19 @@ else | |||
224 | as_mkdir_p=false | 514 | as_mkdir_p=false |
225 | fi | 515 | fi |
226 | 516 | ||
227 | as_executable_p="test -f" | 517 | # Find out whether ``test -x'' works. Don't use a zero-byte file, as |
518 | # systems may use methods other than mode bits to determine executability. | ||
519 | cat >conf$$.file <<_ASEOF | ||
520 | #! /bin/sh | ||
521 | exit 0 | ||
522 | _ASEOF | ||
523 | chmod +x conf$$.file | ||
524 | if test -x conf$$.file >/dev/null 2>&1; then | ||
525 | as_executable_p="test -x" | ||
526 | else | ||
527 | as_executable_p=: | ||
528 | fi | ||
529 | rm -f conf$$.file | ||
228 | 530 | ||
229 | # Sed expression to map a string onto a valid CPP name. | 531 | # Sed expression to map a string onto a valid CPP name. |
230 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 532 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
@@ -233,15 +535,6 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |||
233 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 535 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
234 | 536 | ||
235 | 537 | ||
236 | # IFS | ||
237 | # We need space, tab and new line, in precisely that order. | ||
238 | as_nl=' | ||
239 | ' | ||
240 | IFS=" $as_nl" | ||
241 | |||
242 | # CDPATH. | ||
243 | $as_unset CDPATH | ||
244 | |||
245 | 538 | ||
246 | 539 | ||
247 | # Check that we are running under the correct shell. | 540 | # Check that we are running under the correct shell. |
@@ -397,29 +690,26 @@ tagnames=${tagnames+${tagnames},}CXX | |||
397 | 690 | ||
398 | tagnames=${tagnames+${tagnames},}F77 | 691 | tagnames=${tagnames+${tagnames},}F77 |
399 | 692 | ||
693 | exec 7<&0 </dev/null 6>&1 | ||
694 | |||
400 | # Name of the host. | 695 | # Name of the host. |
401 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 696 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
402 | # so uname gets run too. | 697 | # so uname gets run too. |
403 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 698 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
404 | 699 | ||
405 | exec 6>&1 | ||
406 | |||
407 | # | 700 | # |
408 | # Initializations. | 701 | # Initializations. |
409 | # | 702 | # |
410 | ac_default_prefix=/usr/local | 703 | ac_default_prefix=/usr/local |
704 | ac_clean_files= | ||
411 | ac_config_libobj_dir=. | 705 | ac_config_libobj_dir=. |
706 | LIBOBJS= | ||
412 | cross_compiling=no | 707 | cross_compiling=no |
413 | subdirs= | 708 | subdirs= |
414 | MFLAGS= | 709 | MFLAGS= |
415 | MAKEFLAGS= | 710 | MAKEFLAGS= |
416 | SHELL=${CONFIG_SHELL-/bin/sh} | 711 | SHELL=${CONFIG_SHELL-/bin/sh} |
417 | 712 | ||
418 | # Maximum number of lines to put in a shell here document. | ||
419 | # This variable seems obsolete. It should probably be removed, and | ||
420 | # only ac_max_sed_lines should be used. | ||
421 | : ${ac_max_here_lines=38} | ||
422 | |||
423 | # Identity of this package. | 713 | # Identity of this package. |
424 | PACKAGE_NAME='libltdl' | 714 | PACKAGE_NAME='libltdl' |
425 | PACKAGE_TARNAME='libltdl' | 715 | PACKAGE_TARNAME='libltdl' |
@@ -431,42 +721,167 @@ ac_unique_file="ltdl.c" | |||
431 | # Factoring default headers for most tests. | 721 | # Factoring default headers for most tests. |
432 | ac_includes_default="\ | 722 | ac_includes_default="\ |
433 | #include <stdio.h> | 723 | #include <stdio.h> |
434 | #if HAVE_SYS_TYPES_H | 724 | #ifdef HAVE_SYS_TYPES_H |
435 | # include <sys/types.h> | 725 | # include <sys/types.h> |
436 | #endif | 726 | #endif |
437 | #if HAVE_SYS_STAT_H | 727 | #ifdef HAVE_SYS_STAT_H |
438 | # include <sys/stat.h> | 728 | # include <sys/stat.h> |
439 | #endif | 729 | #endif |
440 | #if STDC_HEADERS | 730 | #ifdef STDC_HEADERS |
441 | # include <stdlib.h> | 731 | # include <stdlib.h> |
442 | # include <stddef.h> | 732 | # include <stddef.h> |
443 | #else | 733 | #else |
444 | # if HAVE_STDLIB_H | 734 | # ifdef HAVE_STDLIB_H |
445 | # include <stdlib.h> | 735 | # include <stdlib.h> |
446 | # endif | 736 | # endif |
447 | #endif | 737 | #endif |
448 | #if HAVE_STRING_H | 738 | #ifdef HAVE_STRING_H |
449 | # if !STDC_HEADERS && HAVE_MEMORY_H | 739 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
450 | # include <memory.h> | 740 | # include <memory.h> |
451 | # endif | 741 | # endif |
452 | # include <string.h> | 742 | # include <string.h> |
453 | #endif | 743 | #endif |
454 | #if HAVE_STRINGS_H | 744 | #ifdef HAVE_STRINGS_H |
455 | # include <strings.h> | 745 | # include <strings.h> |
456 | #endif | 746 | #endif |
457 | #if HAVE_INTTYPES_H | 747 | #ifdef HAVE_INTTYPES_H |
458 | # include <inttypes.h> | 748 | # include <inttypes.h> |
459 | #else | ||
460 | # if HAVE_STDINT_H | ||
461 | # include <stdint.h> | ||
462 | # endif | ||
463 | #endif | 749 | #endif |
464 | #if HAVE_UNISTD_H | 750 | #ifdef HAVE_STDINT_H |
751 | # include <stdint.h> | ||
752 | #endif | ||
753 | #ifdef HAVE_UNISTD_H | ||
465 | # include <unistd.h> | 754 | # include <unistd.h> |
466 | #endif" | 755 | #endif" |
467 | 756 | ||
468 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBTOOL_DEPS INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE CONVENIENCE_LTDL_FALSE LIBADD_DL LIBOBJS LTLIBOBJS' | 757 | ac_subst_vars='SHELL |
758 | PATH_SEPARATOR | ||
759 | PACKAGE_NAME | ||
760 | PACKAGE_TARNAME | ||
761 | PACKAGE_VERSION | ||
762 | PACKAGE_STRING | ||
763 | PACKAGE_BUGREPORT | ||
764 | exec_prefix | ||
765 | prefix | ||
766 | program_transform_name | ||
767 | bindir | ||
768 | sbindir | ||
769 | libexecdir | ||
770 | datarootdir | ||
771 | datadir | ||
772 | sysconfdir | ||
773 | sharedstatedir | ||
774 | localstatedir | ||
775 | includedir | ||
776 | oldincludedir | ||
777 | docdir | ||
778 | infodir | ||
779 | htmldir | ||
780 | dvidir | ||
781 | pdfdir | ||
782 | psdir | ||
783 | libdir | ||
784 | localedir | ||
785 | mandir | ||
786 | DEFS | ||
787 | ECHO_C | ||
788 | ECHO_N | ||
789 | ECHO_T | ||
790 | LIBS | ||
791 | build_alias | ||
792 | host_alias | ||
793 | target_alias | ||
794 | INSTALL_PROGRAM | ||
795 | INSTALL_SCRIPT | ||
796 | INSTALL_DATA | ||
797 | CYGPATH_W | ||
798 | PACKAGE | ||
799 | VERSION | ||
800 | ACLOCAL | ||
801 | AUTOCONF | ||
802 | AUTOMAKE | ||
803 | AUTOHEADER | ||
804 | MAKEINFO | ||
805 | AMTAR | ||
806 | install_sh | ||
807 | STRIP | ||
808 | INSTALL_STRIP_PROGRAM | ||
809 | mkdir_p | ||
810 | AWK | ||
811 | SET_MAKE | ||
812 | am__leading_dot | ||
813 | MAINTAINER_MODE_TRUE | ||
814 | MAINTAINER_MODE_FALSE | ||
815 | MAINT | ||
816 | CC | ||
817 | CFLAGS | ||
818 | LDFLAGS | ||
819 | CPPFLAGS | ||
820 | ac_ct_CC | ||
821 | EXEEXT | ||
822 | OBJEXT | ||
823 | DEPDIR | ||
824 | am__include | ||
825 | am__quote | ||
826 | AMDEP_TRUE | ||
827 | AMDEP_FALSE | ||
828 | AMDEPBACKSLASH | ||
829 | CCDEPMODE | ||
830 | am__fastdepCC_TRUE | ||
831 | am__fastdepCC_FALSE | ||
832 | build | ||
833 | build_cpu | ||
834 | build_vendor | ||
835 | build_os | ||
836 | host | ||
837 | host_cpu | ||
838 | host_vendor | ||
839 | host_os | ||
840 | GREP | ||
841 | EGREP | ||
842 | LN_S | ||
843 | ECHO | ||
844 | AR | ||
845 | RANLIB | ||
846 | DLLTOOL | ||
847 | AS | ||
848 | OBJDUMP | ||
849 | CPP | ||
850 | CXX | ||
851 | CXXFLAGS | ||
852 | ac_ct_CXX | ||
853 | CXXDEPMODE | ||
854 | am__fastdepCXX_TRUE | ||
855 | am__fastdepCXX_FALSE | ||
856 | CXXCPP | ||
857 | F77 | ||
858 | FFLAGS | ||
859 | ac_ct_F77 | ||
860 | LIBTOOL | ||
861 | LIBTOOL_DEPS | ||
862 | INSTALL_LTDL_TRUE | ||
863 | INSTALL_LTDL_FALSE | ||
864 | CONVENIENCE_LTDL_TRUE | ||
865 | CONVENIENCE_LTDL_FALSE | ||
866 | LIBADD_DL | ||
867 | LIBOBJS | ||
868 | LTLIBOBJS' | ||
469 | ac_subst_files='' | 869 | ac_subst_files='' |
870 | ac_precious_vars='build_alias | ||
871 | host_alias | ||
872 | target_alias | ||
873 | CC | ||
874 | CFLAGS | ||
875 | LDFLAGS | ||
876 | CPPFLAGS | ||
877 | CPP | ||
878 | CXX | ||
879 | CXXFLAGS | ||
880 | CCC | ||
881 | CXXCPP | ||
882 | F77 | ||
883 | FFLAGS' | ||
884 | |||
470 | 885 | ||
471 | # Initialize some variables set by options. | 886 | # Initialize some variables set by options. |
472 | ac_init_help= | 887 | ac_init_help= |
@@ -493,34 +908,48 @@ x_libraries=NONE | |||
493 | # and all the variables that are supposed to be based on exec_prefix | 908 | # and all the variables that are supposed to be based on exec_prefix |
494 | # by default will actually change. | 909 | # by default will actually change. |
495 | # Use braces instead of parens because sh, perl, etc. also accept them. | 910 | # Use braces instead of parens because sh, perl, etc. also accept them. |
911 | # (The list follows the same order as the GNU Coding Standards.) | ||
496 | bindir='${exec_prefix}/bin' | 912 | bindir='${exec_prefix}/bin' |
497 | sbindir='${exec_prefix}/sbin' | 913 | sbindir='${exec_prefix}/sbin' |
498 | libexecdir='${exec_prefix}/libexec' | 914 | libexecdir='${exec_prefix}/libexec' |
499 | datadir='${prefix}/share' | 915 | datarootdir='${prefix}/share' |
916 | datadir='${datarootdir}' | ||
500 | sysconfdir='${prefix}/etc' | 917 | sysconfdir='${prefix}/etc' |
501 | sharedstatedir='${prefix}/com' | 918 | sharedstatedir='${prefix}/com' |
502 | localstatedir='${prefix}/var' | 919 | localstatedir='${prefix}/var' |
503 | libdir='${exec_prefix}/lib' | ||
504 | includedir='${prefix}/include' | 920 | includedir='${prefix}/include' |
505 | oldincludedir='/usr/include' | 921 | oldincludedir='/usr/include' |
506 | infodir='${prefix}/info' | 922 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
507 | mandir='${prefix}/man' | 923 | infodir='${datarootdir}/info' |
924 | htmldir='${docdir}' | ||
925 | dvidir='${docdir}' | ||
926 | pdfdir='${docdir}' | ||
927 | psdir='${docdir}' | ||
928 | libdir='${exec_prefix}/lib' | ||
929 | localedir='${datarootdir}/locale' | ||
930 | mandir='${datarootdir}/man' | ||
508 | 931 | ||
509 | ac_prev= | 932 | ac_prev= |
933 | ac_dashdash= | ||
510 | for ac_option | 934 | for ac_option |
511 | do | 935 | do |
512 | # If the previous option needs an argument, assign it. | 936 | # If the previous option needs an argument, assign it. |
513 | if test -n "$ac_prev"; then | 937 | if test -n "$ac_prev"; then |
514 | eval "$ac_prev=\$ac_option" | 938 | eval $ac_prev=\$ac_option |
515 | ac_prev= | 939 | ac_prev= |
516 | continue | 940 | continue |
517 | fi | 941 | fi |
518 | 942 | ||
519 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | 943 | case $ac_option in |
944 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | ||
945 | *) ac_optarg=yes ;; | ||
946 | esac | ||
520 | 947 | ||
521 | # Accept the important Cygnus configure options, so we can diagnose typos. | 948 | # Accept the important Cygnus configure options, so we can diagnose typos. |
522 | 949 | ||
523 | case $ac_option in | 950 | case $ac_dashdash$ac_option in |
951 | --) | ||
952 | ac_dashdash=yes ;; | ||
524 | 953 | ||
525 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | 954 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
526 | ac_prev=bindir ;; | 955 | ac_prev=bindir ;; |
@@ -542,12 +971,18 @@ do | |||
542 | --config-cache | -C) | 971 | --config-cache | -C) |
543 | cache_file=config.cache ;; | 972 | cache_file=config.cache ;; |
544 | 973 | ||
545 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | 974 | -datadir | --datadir | --datadi | --datad) |
546 | ac_prev=datadir ;; | 975 | ac_prev=datadir ;; |
547 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | 976 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
548 | | --da=*) | ||
549 | datadir=$ac_optarg ;; | 977 | datadir=$ac_optarg ;; |
550 | 978 | ||
979 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | ||
980 | | --dataroo | --dataro | --datar) | ||
981 | ac_prev=datarootdir ;; | ||
982 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | ||
983 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | ||
984 | datarootdir=$ac_optarg ;; | ||
985 | |||
551 | -disable-* | --disable-*) | 986 | -disable-* | --disable-*) |
552 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 987 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
553 | # Reject names that are not valid shell variable names. | 988 | # Reject names that are not valid shell variable names. |
@@ -555,7 +990,17 @@ do | |||
555 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 990 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
556 | { (exit 1); exit 1; }; } | 991 | { (exit 1); exit 1; }; } |
557 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 992 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
558 | eval "enable_$ac_feature=no" ;; | 993 | eval enable_$ac_feature=no ;; |
994 | |||
995 | -docdir | --docdir | --docdi | --doc | --do) | ||
996 | ac_prev=docdir ;; | ||
997 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | ||
998 | docdir=$ac_optarg ;; | ||
999 | |||
1000 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | ||
1001 | ac_prev=dvidir ;; | ||
1002 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | ||
1003 | dvidir=$ac_optarg ;; | ||
559 | 1004 | ||
560 | -enable-* | --enable-*) | 1005 | -enable-* | --enable-*) |
561 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 1006 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
@@ -564,11 +1009,7 @@ do | |||
564 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 1009 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
565 | { (exit 1); exit 1; }; } | 1010 | { (exit 1); exit 1; }; } |
566 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 1011 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
567 | case $ac_option in | 1012 | eval enable_$ac_feature=\$ac_optarg ;; |
568 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | ||
569 | *) ac_optarg=yes ;; | ||
570 | esac | ||
571 | eval "enable_$ac_feature='$ac_optarg'" ;; | ||
572 | 1013 | ||
573 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 1014 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
574 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 1015 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
@@ -595,6 +1036,12 @@ do | |||
595 | -host=* | --host=* | --hos=* | --ho=*) | 1036 | -host=* | --host=* | --hos=* | --ho=*) |
596 | host_alias=$ac_optarg ;; | 1037 | host_alias=$ac_optarg ;; |
597 | 1038 | ||
1039 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | ||
1040 | ac_prev=htmldir ;; | ||
1041 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | ||
1042 | | --ht=*) | ||
1043 | htmldir=$ac_optarg ;; | ||
1044 | |||
598 | -includedir | --includedir | --includedi | --included | --include \ | 1045 | -includedir | --includedir | --includedi | --included | --include \ |
599 | | --includ | --inclu | --incl | --inc) | 1046 | | --includ | --inclu | --incl | --inc) |
600 | ac_prev=includedir ;; | 1047 | ac_prev=includedir ;; |
@@ -619,13 +1066,16 @@ do | |||
619 | | --libexe=* | --libex=* | --libe=*) | 1066 | | --libexe=* | --libex=* | --libe=*) |
620 | libexecdir=$ac_optarg ;; | 1067 | libexecdir=$ac_optarg ;; |
621 | 1068 | ||
1069 | -localedir | --localedir | --localedi | --localed | --locale) | ||
1070 | ac_prev=localedir ;; | ||
1071 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | ||
1072 | localedir=$ac_optarg ;; | ||
1073 | |||
622 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | 1074 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
623 | | --localstate | --localstat | --localsta | --localst \ | 1075 | | --localstate | --localstat | --localsta | --localst | --locals) |
624 | | --locals | --local | --loca | --loc | --lo) | ||
625 | ac_prev=localstatedir ;; | 1076 | ac_prev=localstatedir ;; |
626 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | 1077 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
627 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | 1078 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
628 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | ||
629 | localstatedir=$ac_optarg ;; | 1079 | localstatedir=$ac_optarg ;; |
630 | 1080 | ||
631 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | 1081 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
@@ -690,6 +1140,16 @@ do | |||
690 | | --progr-tra=* | --program-tr=* | --program-t=*) | 1140 | | --progr-tra=* | --program-tr=* | --program-t=*) |
691 | program_transform_name=$ac_optarg ;; | 1141 | program_transform_name=$ac_optarg ;; |
692 | 1142 | ||
1143 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | ||
1144 | ac_prev=pdfdir ;; | ||
1145 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | ||
1146 | pdfdir=$ac_optarg ;; | ||
1147 | |||
1148 | -psdir | --psdir | --psdi | --psd | --ps) | ||
1149 | ac_prev=psdir ;; | ||
1150 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | ||
1151 | psdir=$ac_optarg ;; | ||
1152 | |||
693 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 1153 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
694 | | -silent | --silent | --silen | --sile | --sil) | 1154 | | -silent | --silent | --silen | --sile | --sil) |
695 | silent=yes ;; | 1155 | silent=yes ;; |
@@ -746,11 +1206,7 @@ do | |||
746 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | 1206 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
747 | { (exit 1); exit 1; }; } | 1207 | { (exit 1); exit 1; }; } |
748 | ac_package=`echo $ac_package| sed 's/-/_/g'` | 1208 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
749 | case $ac_option in | 1209 | eval with_$ac_package=\$ac_optarg ;; |
750 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | ||
751 | *) ac_optarg=yes ;; | ||
752 | esac | ||
753 | eval "with_$ac_package='$ac_optarg'" ;; | ||
754 | 1210 | ||
755 | -without-* | --without-*) | 1211 | -without-* | --without-*) |
756 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1212 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
@@ -759,7 +1215,7 @@ do | |||
759 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | 1215 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
760 | { (exit 1); exit 1; }; } | 1216 | { (exit 1); exit 1; }; } |
761 | ac_package=`echo $ac_package | sed 's/-/_/g'` | 1217 | ac_package=`echo $ac_package | sed 's/-/_/g'` |
762 | eval "with_$ac_package=no" ;; | 1218 | eval with_$ac_package=no ;; |
763 | 1219 | ||
764 | --x) | 1220 | --x) |
765 | # Obsolete; use --with-x. | 1221 | # Obsolete; use --with-x. |
@@ -790,8 +1246,7 @@ Try \`$0 --help' for more information." >&2 | |||
790 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | 1246 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
791 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | 1247 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
792 | { (exit 1); exit 1; }; } | 1248 | { (exit 1); exit 1; }; } |
793 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | 1249 | eval $ac_envvar=\$ac_optarg |
794 | eval "$ac_envvar='$ac_optarg'" | ||
795 | export $ac_envvar ;; | 1250 | export $ac_envvar ;; |
796 | 1251 | ||
797 | *) | 1252 | *) |
@@ -811,27 +1266,19 @@ if test -n "$ac_prev"; then | |||
811 | { (exit 1); exit 1; }; } | 1266 | { (exit 1); exit 1; }; } |
812 | fi | 1267 | fi |
813 | 1268 | ||
814 | # Be sure to have absolute paths. | 1269 | # Be sure to have absolute directory names. |
815 | for ac_var in exec_prefix prefix | 1270 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
816 | do | 1271 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
817 | eval ac_val=$`echo $ac_var` | 1272 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
818 | case $ac_val in | 1273 | libdir localedir mandir |
819 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | ||
820 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | ||
821 | { (exit 1); exit 1; }; };; | ||
822 | esac | ||
823 | done | ||
824 | |||
825 | # Be sure to have absolute paths. | ||
826 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | ||
827 | localstatedir libdir includedir oldincludedir infodir mandir | ||
828 | do | 1274 | do |
829 | eval ac_val=$`echo $ac_var` | 1275 | eval ac_val=\$$ac_var |
830 | case $ac_val in | 1276 | case $ac_val in |
831 | [\\/$]* | ?:[\\/]* ) ;; | 1277 | [\\/$]* | ?:[\\/]* ) continue;; |
832 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 1278 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
833 | { (exit 1); exit 1; }; };; | ||
834 | esac | 1279 | esac |
1280 | { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | ||
1281 | { (exit 1); exit 1; }; } | ||
835 | done | 1282 | done |
836 | 1283 | ||
837 | # There might be people who depend on the old broken behavior: `$host' | 1284 | # There might be people who depend on the old broken behavior: `$host' |
@@ -858,94 +1305,76 @@ test -n "$host_alias" && ac_tool_prefix=$host_alias- | |||
858 | test "$silent" = yes && exec 6>/dev/null | 1305 | test "$silent" = yes && exec 6>/dev/null |
859 | 1306 | ||
860 | 1307 | ||
1308 | ac_pwd=`pwd` && test -n "$ac_pwd" && | ||
1309 | ac_ls_di=`ls -di .` && | ||
1310 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | ||
1311 | { echo "$as_me: error: Working directory cannot be determined" >&2 | ||
1312 | { (exit 1); exit 1; }; } | ||
1313 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | ||
1314 | { echo "$as_me: error: pwd does not report name of working directory" >&2 | ||
1315 | { (exit 1); exit 1; }; } | ||
1316 | |||
1317 | |||
861 | # Find the source files, if location was not specified. | 1318 | # Find the source files, if location was not specified. |
862 | if test -z "$srcdir"; then | 1319 | if test -z "$srcdir"; then |
863 | ac_srcdir_defaulted=yes | 1320 | ac_srcdir_defaulted=yes |
864 | # Try the directory containing this script, then its parent. | 1321 | # Try the directory containing this script, then the parent directory. |
865 | ac_confdir=`(dirname "$0") 2>/dev/null || | 1322 | ac_confdir=`$as_dirname -- "$0" || |
866 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 1323 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
867 | X"$0" : 'X\(//\)[^/]' \| \ | 1324 | X"$0" : 'X\(//\)[^/]' \| \ |
868 | X"$0" : 'X\(//\)$' \| \ | 1325 | X"$0" : 'X\(//\)$' \| \ |
869 | X"$0" : 'X\(/\)' \| \ | 1326 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
870 | . : '\(.\)' 2>/dev/null || | ||
871 | echo X"$0" | | 1327 | echo X"$0" | |
872 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 1328 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
873 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 1329 | s//\1/ |
874 | /^X\(\/\/\)$/{ s//\1/; q; } | 1330 | q |
875 | /^X\(\/\).*/{ s//\1/; q; } | 1331 | } |
876 | s/.*/./; q'` | 1332 | /^X\(\/\/\)[^/].*/{ |
1333 | s//\1/ | ||
1334 | q | ||
1335 | } | ||
1336 | /^X\(\/\/\)$/{ | ||
1337 | s//\1/ | ||
1338 | q | ||
1339 | } | ||
1340 | /^X\(\/\).*/{ | ||
1341 | s//\1/ | ||
1342 | q | ||
1343 | } | ||
1344 | s/.*/./; q'` | ||
877 | srcdir=$ac_confdir | 1345 | srcdir=$ac_confdir |
878 | if test ! -r $srcdir/$ac_unique_file; then | 1346 | if test ! -r "$srcdir/$ac_unique_file"; then |
879 | srcdir=.. | 1347 | srcdir=.. |
880 | fi | 1348 | fi |
881 | else | 1349 | else |
882 | ac_srcdir_defaulted=no | 1350 | ac_srcdir_defaulted=no |
883 | fi | 1351 | fi |
884 | if test ! -r $srcdir/$ac_unique_file; then | 1352 | if test ! -r "$srcdir/$ac_unique_file"; then |
885 | if test "$ac_srcdir_defaulted" = yes; then | 1353 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
886 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | 1354 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
887 | { (exit 1); exit 1; }; } | ||
888 | else | ||
889 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | ||
890 | { (exit 1); exit 1; }; } | 1355 | { (exit 1); exit 1; }; } |
891 | fi | ||
892 | fi | 1356 | fi |
893 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || | 1357 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
894 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 | 1358 | ac_abs_confdir=`( |
1359 | cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 | ||
895 | { (exit 1); exit 1; }; } | 1360 | { (exit 1); exit 1; }; } |
896 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | 1361 | pwd)` |
897 | ac_env_build_alias_set=${build_alias+set} | 1362 | # When building in place, set srcdir=. |
898 | ac_env_build_alias_value=$build_alias | 1363 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
899 | ac_cv_env_build_alias_set=${build_alias+set} | 1364 | srcdir=. |
900 | ac_cv_env_build_alias_value=$build_alias | 1365 | fi |
901 | ac_env_host_alias_set=${host_alias+set} | 1366 | # Remove unnecessary trailing slashes from srcdir. |
902 | ac_env_host_alias_value=$host_alias | 1367 | # Double slashes in file names in object file debugging info |
903 | ac_cv_env_host_alias_set=${host_alias+set} | 1368 | # mess up M-x gdb in Emacs. |
904 | ac_cv_env_host_alias_value=$host_alias | 1369 | case $srcdir in |
905 | ac_env_target_alias_set=${target_alias+set} | 1370 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
906 | ac_env_target_alias_value=$target_alias | 1371 | esac |
907 | ac_cv_env_target_alias_set=${target_alias+set} | 1372 | for ac_var in $ac_precious_vars; do |
908 | ac_cv_env_target_alias_value=$target_alias | 1373 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
909 | ac_env_CC_set=${CC+set} | 1374 | eval ac_env_${ac_var}_value=\$${ac_var} |
910 | ac_env_CC_value=$CC | 1375 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
911 | ac_cv_env_CC_set=${CC+set} | 1376 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
912 | ac_cv_env_CC_value=$CC | 1377 | done |
913 | ac_env_CFLAGS_set=${CFLAGS+set} | ||
914 | ac_env_CFLAGS_value=$CFLAGS | ||
915 | ac_cv_env_CFLAGS_set=${CFLAGS+set} | ||
916 | ac_cv_env_CFLAGS_value=$CFLAGS | ||
917 | ac_env_LDFLAGS_set=${LDFLAGS+set} | ||
918 | ac_env_LDFLAGS_value=$LDFLAGS | ||
919 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | ||
920 | ac_cv_env_LDFLAGS_value=$LDFLAGS | ||
921 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} | ||
922 | ac_env_CPPFLAGS_value=$CPPFLAGS | ||
923 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | ||
924 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS | ||
925 | ac_env_CPP_set=${CPP+set} | ||
926 | ac_env_CPP_value=$CPP | ||
927 | ac_cv_env_CPP_set=${CPP+set} | ||
928 | ac_cv_env_CPP_value=$CPP | ||
929 | ac_env_CXX_set=${CXX+set} | ||
930 | ac_env_CXX_value=$CXX | ||
931 | ac_cv_env_CXX_set=${CXX+set} | ||
932 | ac_cv_env_CXX_value=$CXX | ||
933 | ac_env_CXXFLAGS_set=${CXXFLAGS+set} | ||
934 | ac_env_CXXFLAGS_value=$CXXFLAGS | ||
935 | ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} | ||
936 | ac_cv_env_CXXFLAGS_value=$CXXFLAGS | ||
937 | ac_env_CXXCPP_set=${CXXCPP+set} | ||
938 | ac_env_CXXCPP_value=$CXXCPP | ||
939 | ac_cv_env_CXXCPP_set=${CXXCPP+set} | ||
940 | ac_cv_env_CXXCPP_value=$CXXCPP | ||
941 | ac_env_F77_set=${F77+set} | ||
942 | ac_env_F77_value=$F77 | ||
943 | ac_cv_env_F77_set=${F77+set} | ||
944 | ac_cv_env_F77_value=$F77 | ||
945 | ac_env_FFLAGS_set=${FFLAGS+set} | ||
946 | ac_env_FFLAGS_value=$FFLAGS | ||
947 | ac_cv_env_FFLAGS_set=${FFLAGS+set} | ||
948 | ac_cv_env_FFLAGS_value=$FFLAGS | ||
949 | 1378 | ||
950 | # | 1379 | # |
951 | # Report the --help message. | 1380 | # Report the --help message. |
@@ -974,9 +1403,6 @@ Configuration: | |||
974 | -n, --no-create do not create output files | 1403 | -n, --no-create do not create output files |
975 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | 1404 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
976 | 1405 | ||
977 | _ACEOF | ||
978 | |||
979 | cat <<_ACEOF | ||
980 | Installation directories: | 1406 | Installation directories: |
981 | --prefix=PREFIX install architecture-independent files in PREFIX | 1407 | --prefix=PREFIX install architecture-independent files in PREFIX |
982 | [$ac_default_prefix] | 1408 | [$ac_default_prefix] |
@@ -994,15 +1420,22 @@ Fine tuning of the installation directories: | |||
994 | --bindir=DIR user executables [EPREFIX/bin] | 1420 | --bindir=DIR user executables [EPREFIX/bin] |
995 | --sbindir=DIR system admin executables [EPREFIX/sbin] | 1421 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
996 | --libexecdir=DIR program executables [EPREFIX/libexec] | 1422 | --libexecdir=DIR program executables [EPREFIX/libexec] |
997 | --datadir=DIR read-only architecture-independent data [PREFIX/share] | ||
998 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | 1423 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
999 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | 1424 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1000 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | 1425 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1001 | --libdir=DIR object code libraries [EPREFIX/lib] | 1426 | --libdir=DIR object code libraries [EPREFIX/lib] |
1002 | --includedir=DIR C header files [PREFIX/include] | 1427 | --includedir=DIR C header files [PREFIX/include] |
1003 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | 1428 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1004 | --infodir=DIR info documentation [PREFIX/info] | 1429 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1005 | --mandir=DIR man documentation [PREFIX/man] | 1430 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1431 | --infodir=DIR info documentation [DATAROOTDIR/info] | ||
1432 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | ||
1433 | --mandir=DIR man documentation [DATAROOTDIR/man] | ||
1434 | --docdir=DIR documentation root [DATAROOTDIR/doc/libltdl] | ||
1435 | --htmldir=DIR html documentation [DOCDIR] | ||
1436 | --dvidir=DIR dvi documentation [DOCDIR] | ||
1437 | --pdfdir=DIR pdf documentation [DOCDIR] | ||
1438 | --psdir=DIR ps documentation [DOCDIR] | ||
1006 | _ACEOF | 1439 | _ACEOF |
1007 | 1440 | ||
1008 | cat <<\_ACEOF | 1441 | cat <<\_ACEOF |
@@ -1031,10 +1464,8 @@ Optional Features: | |||
1031 | (and sometimes confusing) to the casual installer | 1464 | (and sometimes confusing) to the casual installer |
1032 | --disable-dependency-tracking speeds up one-time build | 1465 | --disable-dependency-tracking speeds up one-time build |
1033 | --enable-dependency-tracking do not reject slow dependency extractors | 1466 | --enable-dependency-tracking do not reject slow dependency extractors |
1034 | --enable-shared[=PKGS] | 1467 | --enable-shared[=PKGS] build shared libraries [default=yes] |
1035 | build shared libraries [default=yes] | 1468 | --enable-static[=PKGS] build static libraries [default=yes] |
1036 | --enable-static[=PKGS] | ||
1037 | build static libraries [default=yes] | ||
1038 | --enable-fast-install[=PKGS] | 1469 | --enable-fast-install[=PKGS] |
1039 | optimize for fast installation [default=yes] | 1470 | optimize for fast installation [default=yes] |
1040 | --disable-libtool-lock avoid locking (might break parallel builds) | 1471 | --disable-libtool-lock avoid locking (might break parallel builds) |
@@ -1046,16 +1477,15 @@ Optional Packages: | |||
1046 | --with-gnu-ld assume the C compiler uses GNU ld [default=no] | 1477 | --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
1047 | --with-pic try to use only PIC/non-PIC objects [default=use | 1478 | --with-pic try to use only PIC/non-PIC objects [default=use |
1048 | both] | 1479 | both] |
1049 | --with-tags[=TAGS] | 1480 | --with-tags[=TAGS] include additional configurations [automatic] |
1050 | include additional configurations [automatic] | ||
1051 | 1481 | ||
1052 | Some influential environment variables: | 1482 | Some influential environment variables: |
1053 | CC C compiler command | 1483 | CC C compiler command |
1054 | CFLAGS C compiler flags | 1484 | CFLAGS C compiler flags |
1055 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 1485 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1056 | nonstandard directory <lib dir> | 1486 | nonstandard directory <lib dir> |
1057 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have | 1487 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1058 | headers in a nonstandard directory <include dir> | 1488 | you have headers in a nonstandard directory <include dir> |
1059 | CPP C preprocessor | 1489 | CPP C preprocessor |
1060 | CXX C++ compiler command | 1490 | CXX C++ compiler command |
1061 | CXXFLAGS C++ compiler flags | 1491 | CXXFLAGS C++ compiler flags |
@@ -1068,120 +1498,86 @@ it to find libraries and programs with nonstandard names/locations. | |||
1068 | 1498 | ||
1069 | Report bugs to <bug-libtool@gnu.org>. | 1499 | Report bugs to <bug-libtool@gnu.org>. |
1070 | _ACEOF | 1500 | _ACEOF |
1501 | ac_status=$? | ||
1071 | fi | 1502 | fi |
1072 | 1503 | ||
1073 | if test "$ac_init_help" = "recursive"; then | 1504 | if test "$ac_init_help" = "recursive"; then |
1074 | # If there are subdirs, report their specific --help. | 1505 | # If there are subdirs, report their specific --help. |
1075 | ac_popdir=`pwd` | ||
1076 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 1506 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1077 | test -d $ac_dir || continue | 1507 | test -d "$ac_dir" || continue |
1078 | ac_builddir=. | 1508 | ac_builddir=. |
1079 | 1509 | ||
1080 | if test "$ac_dir" != .; then | 1510 | case "$ac_dir" in |
1511 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
1512 | *) | ||
1081 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 1513 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
1082 | # A "../" for each directory in $ac_dir_suffix. | 1514 | # A ".." for each directory in $ac_dir_suffix. |
1083 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 1515 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
1084 | else | 1516 | case $ac_top_builddir_sub in |
1085 | ac_dir_suffix= ac_top_builddir= | 1517 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1086 | fi | 1518 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1519 | esac ;; | ||
1520 | esac | ||
1521 | ac_abs_top_builddir=$ac_pwd | ||
1522 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | ||
1523 | # for backward compatibility: | ||
1524 | ac_top_builddir=$ac_top_build_prefix | ||
1087 | 1525 | ||
1088 | case $srcdir in | 1526 | case $srcdir in |
1089 | .) # No --srcdir option. We are building in place. | 1527 | .) # We are building in place. |
1090 | ac_srcdir=. | 1528 | ac_srcdir=. |
1091 | if test -z "$ac_top_builddir"; then | 1529 | ac_top_srcdir=$ac_top_builddir_sub |
1092 | ac_top_srcdir=. | 1530 | ac_abs_top_srcdir=$ac_pwd ;; |
1093 | else | 1531 | [\\/]* | ?:[\\/]* ) # Absolute name. |
1094 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | ||
1095 | fi ;; | ||
1096 | [\\/]* | ?:[\\/]* ) # Absolute path. | ||
1097 | ac_srcdir=$srcdir$ac_dir_suffix; | 1532 | ac_srcdir=$srcdir$ac_dir_suffix; |
1098 | ac_top_srcdir=$srcdir ;; | 1533 | ac_top_srcdir=$srcdir |
1099 | *) # Relative path. | 1534 | ac_abs_top_srcdir=$srcdir ;; |
1100 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 1535 | *) # Relative name. |
1101 | ac_top_srcdir=$ac_top_builddir$srcdir ;; | 1536 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
1102 | esac | 1537 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
1103 | 1538 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
1104 | # Do not use `cd foo && pwd` to compute absolute paths, because | ||
1105 | # the directories may not exist. | ||
1106 | case `pwd` in | ||
1107 | .) ac_abs_builddir="$ac_dir";; | ||
1108 | *) | ||
1109 | case "$ac_dir" in | ||
1110 | .) ac_abs_builddir=`pwd`;; | ||
1111 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | ||
1112 | *) ac_abs_builddir=`pwd`/"$ac_dir";; | ||
1113 | esac;; | ||
1114 | esac | 1539 | esac |
1115 | case $ac_abs_builddir in | 1540 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
1116 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | 1541 | |
1117 | *) | 1542 | cd "$ac_dir" || { ac_status=$?; continue; } |
1118 | case ${ac_top_builddir}. in | 1543 | # Check for guested configure. |
1119 | .) ac_abs_top_builddir=$ac_abs_builddir;; | 1544 | if test -f "$ac_srcdir/configure.gnu"; then |
1120 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | 1545 | echo && |
1121 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | 1546 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1122 | esac;; | 1547 | elif test -f "$ac_srcdir/configure"; then |
1123 | esac | 1548 | echo && |
1124 | case $ac_abs_builddir in | 1549 | $SHELL "$ac_srcdir/configure" --help=recursive |
1125 | .) ac_abs_srcdir=$ac_srcdir;; | ||
1126 | *) | ||
1127 | case $ac_srcdir in | ||
1128 | .) ac_abs_srcdir=$ac_abs_builddir;; | ||
1129 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | ||
1130 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | ||
1131 | esac;; | ||
1132 | esac | ||
1133 | case $ac_abs_builddir in | ||
1134 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
1135 | *) | ||
1136 | case $ac_top_srcdir in | ||
1137 | .) ac_abs_top_srcdir=$ac_abs_builddir;; | ||
1138 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
1139 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | ||
1140 | esac;; | ||
1141 | esac | ||
1142 | |||
1143 | cd $ac_dir | ||
1144 | # Check for guested configure; otherwise get Cygnus style configure. | ||
1145 | if test -f $ac_srcdir/configure.gnu; then | ||
1146 | echo | ||
1147 | $SHELL $ac_srcdir/configure.gnu --help=recursive | ||
1148 | elif test -f $ac_srcdir/configure; then | ||
1149 | echo | ||
1150 | $SHELL $ac_srcdir/configure --help=recursive | ||
1151 | elif test -f $ac_srcdir/configure.ac || | ||
1152 | test -f $ac_srcdir/configure.in; then | ||
1153 | echo | ||
1154 | $ac_configure --help | ||
1155 | else | 1550 | else |
1156 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 1551 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1157 | fi | 1552 | fi || ac_status=$? |
1158 | cd $ac_popdir | 1553 | cd "$ac_pwd" || { ac_status=$?; break; } |
1159 | done | 1554 | done |
1160 | fi | 1555 | fi |
1161 | 1556 | ||
1162 | test -n "$ac_init_help" && exit 0 | 1557 | test -n "$ac_init_help" && exit $ac_status |
1163 | if $ac_init_version; then | 1558 | if $ac_init_version; then |
1164 | cat <<\_ACEOF | 1559 | cat <<\_ACEOF |
1165 | libltdl configure 1.2 | 1560 | libltdl configure 1.2 |
1166 | generated by GNU Autoconf 2.59 | 1561 | generated by GNU Autoconf 2.60a |
1167 | 1562 | ||
1168 | Copyright (C) 2003 Free Software Foundation, Inc. | 1563 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1564 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | ||
1169 | This configure script is free software; the Free Software Foundation | 1565 | This configure script is free software; the Free Software Foundation |
1170 | gives unlimited permission to copy, distribute and modify it. | 1566 | gives unlimited permission to copy, distribute and modify it. |
1171 | _ACEOF | 1567 | _ACEOF |
1172 | exit 0 | 1568 | exit |
1173 | fi | 1569 | fi |
1174 | exec 5>config.log | 1570 | cat >config.log <<_ACEOF |
1175 | cat >&5 <<_ACEOF | ||
1176 | This file contains any messages produced by compilers while | 1571 | This file contains any messages produced by compilers while |
1177 | running configure, to aid debugging if configure makes a mistake. | 1572 | running configure, to aid debugging if configure makes a mistake. |
1178 | 1573 | ||
1179 | It was created by libltdl $as_me 1.2, which was | 1574 | It was created by libltdl $as_me 1.2, which was |
1180 | generated by GNU Autoconf 2.59. Invocation command line was | 1575 | generated by GNU Autoconf 2.60a. Invocation command line was |
1181 | 1576 | ||
1182 | $ $0 $@ | 1577 | $ $0 $@ |
1183 | 1578 | ||
1184 | _ACEOF | 1579 | _ACEOF |
1580 | exec 5>>config.log | ||
1185 | { | 1581 | { |
1186 | cat <<_ASUNAME | 1582 | cat <<_ASUNAME |
1187 | ## --------- ## | 1583 | ## --------- ## |
@@ -1200,7 +1596,7 @@ uname -v = `(uname -v) 2>/dev/null || echo unknown` | |||
1200 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | 1596 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
1201 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | 1597 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
1202 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | 1598 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
1203 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown` | 1599 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
1204 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | 1600 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1205 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | 1601 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
1206 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | 1602 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
@@ -1214,6 +1610,7 @@ do | |||
1214 | test -z "$as_dir" && as_dir=. | 1610 | test -z "$as_dir" && as_dir=. |
1215 | echo "PATH: $as_dir" | 1611 | echo "PATH: $as_dir" |
1216 | done | 1612 | done |
1613 | IFS=$as_save_IFS | ||
1217 | 1614 | ||
1218 | } >&5 | 1615 | } >&5 |
1219 | 1616 | ||
@@ -1235,7 +1632,6 @@ _ACEOF | |||
1235 | ac_configure_args= | 1632 | ac_configure_args= |
1236 | ac_configure_args0= | 1633 | ac_configure_args0= |
1237 | ac_configure_args1= | 1634 | ac_configure_args1= |
1238 | ac_sep= | ||
1239 | ac_must_keep_next=false | 1635 | ac_must_keep_next=false |
1240 | for ac_pass in 1 2 | 1636 | for ac_pass in 1 2 |
1241 | do | 1637 | do |
@@ -1246,7 +1642,7 @@ do | |||
1246 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 1642 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1247 | | -silent | --silent | --silen | --sile | --sil) | 1643 | | -silent | --silent | --silen | --sile | --sil) |
1248 | continue ;; | 1644 | continue ;; |
1249 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 1645 | *\'*) |
1250 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 1646 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1251 | esac | 1647 | esac |
1252 | case $ac_pass in | 1648 | case $ac_pass in |
@@ -1268,9 +1664,7 @@ do | |||
1268 | -* ) ac_must_keep_next=true ;; | 1664 | -* ) ac_must_keep_next=true ;; |
1269 | esac | 1665 | esac |
1270 | fi | 1666 | fi |
1271 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | 1667 | ac_configure_args="$ac_configure_args '$ac_arg'" |
1272 | # Get rid of the leading space. | ||
1273 | ac_sep=" " | ||
1274 | ;; | 1668 | ;; |
1275 | esac | 1669 | esac |
1276 | done | 1670 | done |
@@ -1281,8 +1675,8 @@ $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_ | |||
1281 | # When interrupted or exit'd, cleanup temporary files, and complete | 1675 | # When interrupted or exit'd, cleanup temporary files, and complete |
1282 | # config.log. We remove comments because anyway the quotes in there | 1676 | # config.log. We remove comments because anyway the quotes in there |
1283 | # would cause problems or look ugly. | 1677 | # would cause problems or look ugly. |
1284 | # WARNING: Be sure not to use single quotes in there, as some shells, | 1678 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
1285 | # such as our DU 5.0 friend, will then `close' the trap. | 1679 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
1286 | trap 'exit_status=$? | 1680 | trap 'exit_status=$? |
1287 | # Save into config.log some information that might help in debugging. | 1681 | # Save into config.log some information that might help in debugging. |
1288 | { | 1682 | { |
@@ -1295,20 +1689,34 @@ trap 'exit_status=$? | |||
1295 | _ASBOX | 1689 | _ASBOX |
1296 | echo | 1690 | echo |
1297 | # The following way of writing the cache mishandles newlines in values, | 1691 | # The following way of writing the cache mishandles newlines in values, |
1298 | { | 1692 | ( |
1693 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | ||
1694 | eval ac_val=\$$ac_var | ||
1695 | case $ac_val in #( | ||
1696 | *${as_nl}*) | ||
1697 | case $ac_var in #( | ||
1698 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | ||
1699 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | ||
1700 | esac | ||
1701 | case $ac_var in #( | ||
1702 | _ | IFS | as_nl) ;; #( | ||
1703 | *) $as_unset $ac_var ;; | ||
1704 | esac ;; | ||
1705 | esac | ||
1706 | done | ||
1299 | (set) 2>&1 | | 1707 | (set) 2>&1 | |
1300 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | 1708 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
1301 | *ac_space=\ *) | 1709 | *${as_nl}ac_space=\ *) |
1302 | sed -n \ | 1710 | sed -n \ |
1303 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | 1711 | "s/'\''/'\''\\\\'\'''\''/g; |
1304 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | 1712 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
1305 | ;; | 1713 | ;; #( |
1306 | *) | 1714 | *) |
1307 | sed -n \ | 1715 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
1308 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | ||
1309 | ;; | 1716 | ;; |
1310 | esac; | 1717 | esac | |
1311 | } | 1718 | sort |
1719 | ) | ||
1312 | echo | 1720 | echo |
1313 | 1721 | ||
1314 | cat <<\_ASBOX | 1722 | cat <<\_ASBOX |
@@ -1319,22 +1727,28 @@ _ASBOX | |||
1319 | echo | 1727 | echo |
1320 | for ac_var in $ac_subst_vars | 1728 | for ac_var in $ac_subst_vars |
1321 | do | 1729 | do |
1322 | eval ac_val=$`echo $ac_var` | 1730 | eval ac_val=\$$ac_var |
1323 | echo "$ac_var='"'"'$ac_val'"'"'" | 1731 | case $ac_val in |
1732 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | ||
1733 | esac | ||
1734 | echo "$ac_var='\''$ac_val'\''" | ||
1324 | done | sort | 1735 | done | sort |
1325 | echo | 1736 | echo |
1326 | 1737 | ||
1327 | if test -n "$ac_subst_files"; then | 1738 | if test -n "$ac_subst_files"; then |
1328 | cat <<\_ASBOX | 1739 | cat <<\_ASBOX |
1329 | ## ------------- ## | 1740 | ## ------------------- ## |
1330 | ## Output files. ## | 1741 | ## File substitutions. ## |
1331 | ## ------------- ## | 1742 | ## ------------------- ## |
1332 | _ASBOX | 1743 | _ASBOX |
1333 | echo | 1744 | echo |
1334 | for ac_var in $ac_subst_files | 1745 | for ac_var in $ac_subst_files |
1335 | do | 1746 | do |
1336 | eval ac_val=$`echo $ac_var` | 1747 | eval ac_val=\$$ac_var |
1337 | echo "$ac_var='"'"'$ac_val'"'"'" | 1748 | case $ac_val in |
1749 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | ||
1750 | esac | ||
1751 | echo "$ac_var='\''$ac_val'\''" | ||
1338 | done | sort | 1752 | done | sort |
1339 | echo | 1753 | echo |
1340 | fi | 1754 | fi |
@@ -1346,26 +1760,24 @@ _ASBOX | |||
1346 | ## ----------- ## | 1760 | ## ----------- ## |
1347 | _ASBOX | 1761 | _ASBOX |
1348 | echo | 1762 | echo |
1349 | sed "/^$/d" confdefs.h | sort | 1763 | cat confdefs.h |
1350 | echo | 1764 | echo |
1351 | fi | 1765 | fi |
1352 | test "$ac_signal" != 0 && | 1766 | test "$ac_signal" != 0 && |
1353 | echo "$as_me: caught signal $ac_signal" | 1767 | echo "$as_me: caught signal $ac_signal" |
1354 | echo "$as_me: exit $exit_status" | 1768 | echo "$as_me: exit $exit_status" |
1355 | } >&5 | 1769 | } >&5 |
1356 | rm -f core *.core && | 1770 | rm -f core *.core core.conftest.* && |
1357 | rm -rf conftest* confdefs* conf$$* $ac_clean_files && | 1771 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1358 | exit $exit_status | 1772 | exit $exit_status |
1359 | ' 0 | 1773 | ' 0 |
1360 | for ac_signal in 1 2 13 15; do | 1774 | for ac_signal in 1 2 13 15; do |
1361 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 1775 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1362 | done | 1776 | done |
1363 | ac_signal=0 | 1777 | ac_signal=0 |
1364 | 1778 | ||
1365 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | 1779 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1366 | rm -rf conftest* confdefs.h | 1780 | rm -f -r conftest* confdefs.h |
1367 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | ||
1368 | echo >confdefs.h | ||
1369 | 1781 | ||
1370 | # Predefined preprocessor variables. | 1782 | # Predefined preprocessor variables. |
1371 | 1783 | ||
@@ -1396,14 +1808,17 @@ _ACEOF | |||
1396 | 1808 | ||
1397 | # Let the site file select an alternate cache file if it wants to. | 1809 | # Let the site file select an alternate cache file if it wants to. |
1398 | # Prefer explicitly selected file to automatically selected ones. | 1810 | # Prefer explicitly selected file to automatically selected ones. |
1399 | if test -z "$CONFIG_SITE"; then | 1811 | if test -n "$CONFIG_SITE"; then |
1400 | if test "x$prefix" != xNONE; then | 1812 | set x "$CONFIG_SITE" |
1401 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | 1813 | elif test "x$prefix" != xNONE; then |
1402 | else | 1814 | set x "$prefix/share/config.site" "$prefix/etc/config.site" |
1403 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | 1815 | else |
1404 | fi | 1816 | set x "$ac_default_prefix/share/config.site" \ |
1817 | "$ac_default_prefix/etc/config.site" | ||
1405 | fi | 1818 | fi |
1406 | for ac_site_file in $CONFIG_SITE; do | 1819 | shift |
1820 | for ac_site_file | ||
1821 | do | ||
1407 | if test -r "$ac_site_file"; then | 1822 | if test -r "$ac_site_file"; then |
1408 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 1823 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1409 | echo "$as_me: loading site script $ac_site_file" >&6;} | 1824 | echo "$as_me: loading site script $ac_site_file" >&6;} |
@@ -1419,8 +1834,8 @@ if test -r "$cache_file"; then | |||
1419 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 1834 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1420 | echo "$as_me: loading cache $cache_file" >&6;} | 1835 | echo "$as_me: loading cache $cache_file" >&6;} |
1421 | case $cache_file in | 1836 | case $cache_file in |
1422 | [\\/]* | ?:[\\/]* ) . $cache_file;; | 1837 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1423 | *) . ./$cache_file;; | 1838 | *) . "./$cache_file";; |
1424 | esac | 1839 | esac |
1425 | fi | 1840 | fi |
1426 | else | 1841 | else |
@@ -1432,12 +1847,11 @@ fi | |||
1432 | # Check that the precious variables saved in the cache have kept the same | 1847 | # Check that the precious variables saved in the cache have kept the same |
1433 | # value. | 1848 | # value. |
1434 | ac_cache_corrupted=false | 1849 | ac_cache_corrupted=false |
1435 | for ac_var in `(set) 2>&1 | | 1850 | for ac_var in $ac_precious_vars; do |
1436 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | ||
1437 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | 1851 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1438 | eval ac_new_set=\$ac_env_${ac_var}_set | 1852 | eval ac_new_set=\$ac_env_${ac_var}_set |
1439 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" | 1853 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
1440 | eval ac_new_val="\$ac_env_${ac_var}_value" | 1854 | eval ac_new_val=\$ac_env_${ac_var}_value |
1441 | case $ac_old_set,$ac_new_set in | 1855 | case $ac_old_set,$ac_new_set in |
1442 | set,) | 1856 | set,) |
1443 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 1857 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
@@ -1462,8 +1876,7 @@ echo "$as_me: current value: $ac_new_val" >&2;} | |||
1462 | # Pass precious variables to config.status. | 1876 | # Pass precious variables to config.status. |
1463 | if test "$ac_new_set" = set; then | 1877 | if test "$ac_new_set" = set; then |
1464 | case $ac_new_val in | 1878 | case $ac_new_val in |
1465 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 1879 | *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1466 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
1467 | *) ac_arg=$ac_var=$ac_new_val ;; | 1880 | *) ac_arg=$ac_var=$ac_new_val ;; |
1468 | esac | 1881 | esac |
1469 | case " $ac_configure_args " in | 1882 | case " $ac_configure_args " in |
@@ -1480,12 +1893,6 @@ echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start ov | |||
1480 | { (exit 1); exit 1; }; } | 1893 | { (exit 1); exit 1; }; } |
1481 | fi | 1894 | fi |
1482 | 1895 | ||
1483 | ac_ext=c | ||
1484 | ac_cpp='$CPP $CPPFLAGS' | ||
1485 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
1486 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
1487 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
1488 | |||
1489 | 1896 | ||
1490 | 1897 | ||
1491 | 1898 | ||
@@ -1510,6 +1917,11 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
1510 | 1917 | ||
1511 | 1918 | ||
1512 | 1919 | ||
1920 | ac_ext=c | ||
1921 | ac_cpp='$CPP $CPPFLAGS' | ||
1922 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
1923 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
1924 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
1513 | 1925 | ||
1514 | 1926 | ||
1515 | 1927 | ||
@@ -1520,29 +1932,35 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
1520 | ## ------------------------------- ## | 1932 | ## ------------------------------- ## |
1521 | 1933 | ||
1522 | ac_aux_dir= | 1934 | ac_aux_dir= |
1523 | for ac_dir in . $srcdir/.; do | 1935 | for ac_dir in . "$srcdir"/.; do |
1524 | if test -f $ac_dir/install-sh; then | 1936 | if test -f "$ac_dir/install-sh"; then |
1525 | ac_aux_dir=$ac_dir | 1937 | ac_aux_dir=$ac_dir |
1526 | ac_install_sh="$ac_aux_dir/install-sh -c" | 1938 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1527 | break | 1939 | break |
1528 | elif test -f $ac_dir/install.sh; then | 1940 | elif test -f "$ac_dir/install.sh"; then |
1529 | ac_aux_dir=$ac_dir | 1941 | ac_aux_dir=$ac_dir |
1530 | ac_install_sh="$ac_aux_dir/install.sh -c" | 1942 | ac_install_sh="$ac_aux_dir/install.sh -c" |
1531 | break | 1943 | break |
1532 | elif test -f $ac_dir/shtool; then | 1944 | elif test -f "$ac_dir/shtool"; then |
1533 | ac_aux_dir=$ac_dir | 1945 | ac_aux_dir=$ac_dir |
1534 | ac_install_sh="$ac_aux_dir/shtool install -c" | 1946 | ac_install_sh="$ac_aux_dir/shtool install -c" |
1535 | break | 1947 | break |
1536 | fi | 1948 | fi |
1537 | done | 1949 | done |
1538 | if test -z "$ac_aux_dir"; then | 1950 | if test -z "$ac_aux_dir"; then |
1539 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . $srcdir/." >&5 | 1951 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5 |
1540 | echo "$as_me: error: cannot find install-sh or install.sh in . $srcdir/." >&2;} | 1952 | echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;} |
1541 | { (exit 1); exit 1; }; } | 1953 | { (exit 1); exit 1; }; } |
1542 | fi | 1954 | fi |
1543 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" | 1955 | |
1544 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" | 1956 | # These three variables are undocumented and unsupported, |
1545 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | 1957 | # and are intended to be withdrawn in a future Autoconf release. |
1958 | # They can cause serious problems if a builder's source tree is in a directory | ||
1959 | # whose full name contains unusual characters. | ||
1960 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | ||
1961 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | ||
1962 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | ||
1963 | |||
1546 | 1964 | ||
1547 | 1965 | ||
1548 | if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then | 1966 | if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then |
@@ -1565,7 +1983,7 @@ fi | |||
1565 | ## ------------------------ ## | 1983 | ## ------------------------ ## |
1566 | ## Automake Initialisation. ## | 1984 | ## Automake Initialisation. ## |
1567 | ## ------------------------ ## | 1985 | ## ------------------------ ## |
1568 | am__api_version="1.9" | 1986 | am__api_version="1.8" |
1569 | # Find a good install program. We prefer a C program (faster), | 1987 | # Find a good install program. We prefer a C program (faster), |
1570 | # so one script is as good as another. But avoid the broken or | 1988 | # so one script is as good as another. But avoid the broken or |
1571 | # incompatible versions: | 1989 | # incompatible versions: |
@@ -1579,8 +1997,8 @@ am__api_version="1.9" | |||
1579 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 1997 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
1580 | # OS/2's system install, which has a completely different semantic | 1998 | # OS/2's system install, which has a completely different semantic |
1581 | # ./install, which can be erroneously created by make from ./install.sh. | 1999 | # ./install, which can be erroneously created by make from ./install.sh. |
1582 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 2000 | { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
1583 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | 2001 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
1584 | if test -z "$INSTALL"; then | 2002 | if test -z "$INSTALL"; then |
1585 | if test "${ac_cv_path_install+set}" = set; then | 2003 | if test "${ac_cv_path_install+set}" = set; then |
1586 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2004 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -1602,7 +2020,7 @@ case $as_dir/ in | |||
1602 | # by default. | 2020 | # by default. |
1603 | for ac_prog in ginstall scoinst install; do | 2021 | for ac_prog in ginstall scoinst install; do |
1604 | for ac_exec_ext in '' $ac_executable_extensions; do | 2022 | for ac_exec_ext in '' $ac_executable_extensions; do |
1605 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 2023 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then |
1606 | if test $ac_prog = install && | 2024 | if test $ac_prog = install && |
1607 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 2025 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1608 | # AIX install. It has an incompatible calling convention. | 2026 | # AIX install. It has an incompatible calling convention. |
@@ -1621,21 +2039,22 @@ case $as_dir/ in | |||
1621 | ;; | 2039 | ;; |
1622 | esac | 2040 | esac |
1623 | done | 2041 | done |
2042 | IFS=$as_save_IFS | ||
1624 | 2043 | ||
1625 | 2044 | ||
1626 | fi | 2045 | fi |
1627 | if test "${ac_cv_path_install+set}" = set; then | 2046 | if test "${ac_cv_path_install+set}" = set; then |
1628 | INSTALL=$ac_cv_path_install | 2047 | INSTALL=$ac_cv_path_install |
1629 | else | 2048 | else |
1630 | # As a last resort, use the slow shell script. We don't cache a | 2049 | # As a last resort, use the slow shell script. Don't cache a |
1631 | # path for INSTALL within a source directory, because that will | 2050 | # value for INSTALL within a source directory, because that will |
1632 | # break other packages using the cache if that directory is | 2051 | # break other packages using the cache if that directory is |
1633 | # removed, or if the path is relative. | 2052 | # removed, or if the value is a relative name. |
1634 | INSTALL=$ac_install_sh | 2053 | INSTALL=$ac_install_sh |
1635 | fi | 2054 | fi |
1636 | fi | 2055 | fi |
1637 | echo "$as_me:$LINENO: result: $INSTALL" >&5 | 2056 | { echo "$as_me:$LINENO: result: $INSTALL" >&5 |
1638 | echo "${ECHO_T}$INSTALL" >&6 | 2057 | echo "${ECHO_T}$INSTALL" >&6; } |
1639 | 2058 | ||
1640 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 2059 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
1641 | # It thinks the first close brace ends the variable substitution. | 2060 | # It thinks the first close brace ends the variable substitution. |
@@ -1645,8 +2064,8 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |||
1645 | 2064 | ||
1646 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 2065 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
1647 | 2066 | ||
1648 | echo "$as_me:$LINENO: checking whether build environment is sane" >&5 | 2067 | { echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
1649 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 | 2068 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } |
1650 | # Just in case | 2069 | # Just in case |
1651 | sleep 1 | 2070 | sleep 1 |
1652 | echo timestamp > conftest.file | 2071 | echo timestamp > conftest.file |
@@ -1688,20 +2107,20 @@ echo "$as_me: error: newly created file is older than distributed files! | |||
1688 | Check your system clock" >&2;} | 2107 | Check your system clock" >&2;} |
1689 | { (exit 1); exit 1; }; } | 2108 | { (exit 1); exit 1; }; } |
1690 | fi | 2109 | fi |
1691 | echo "$as_me:$LINENO: result: yes" >&5 | 2110 | { echo "$as_me:$LINENO: result: yes" >&5 |
1692 | echo "${ECHO_T}yes" >&6 | 2111 | echo "${ECHO_T}yes" >&6; } |
1693 | test "$program_prefix" != NONE && | 2112 | test "$program_prefix" != NONE && |
1694 | program_transform_name="s,^,$program_prefix,;$program_transform_name" | 2113 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
1695 | # Use a double $ so make ignores it. | 2114 | # Use a double $ so make ignores it. |
1696 | test "$program_suffix" != NONE && | 2115 | test "$program_suffix" != NONE && |
1697 | program_transform_name="s,\$,$program_suffix,;$program_transform_name" | 2116 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
1698 | # Double any \ or $. echo might interpret backslashes. | 2117 | # Double any \ or $. echo might interpret backslashes. |
1699 | # By default was `s,x,x', remove it if useless. | 2118 | # By default was `s,x,x', remove it if useless. |
1700 | cat <<\_ACEOF >conftest.sed | 2119 | cat <<\_ACEOF >conftest.sed |
1701 | s/[\\$]/&&/g;s/;s,x,x,$// | 2120 | s/[\\$]/&&/g;s/;s,x,x,$// |
1702 | _ACEOF | 2121 | _ACEOF |
1703 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` | 2122 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
1704 | rm conftest.sed | 2123 | rm -f conftest.sed |
1705 | 2124 | ||
1706 | # expand $ac_aux_dir to an absolute path | 2125 | # expand $ac_aux_dir to an absolute path |
1707 | am_aux_dir=`cd $ac_aux_dir && pwd` | 2126 | am_aux_dir=`cd $ac_aux_dir && pwd` |
@@ -1717,21 +2136,13 @@ echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | |||
1717 | fi | 2136 | fi |
1718 | 2137 | ||
1719 | if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then | 2138 | if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then |
1720 | # We used to keeping the `.' as first argument, in order to | 2139 | # Keeping the `.' argument allows $(mkdir_p) to be used without |
1721 | # allow $(mkdir_p) to be used without argument. As in | 2140 | # argument. Indeed, we sometimes output rules like |
1722 | # $(mkdir_p) $(somedir) | 2141 | # $(mkdir_p) $(somedir) |
1723 | # where $(somedir) is conditionally defined. However this is wrong | 2142 | # where $(somedir) is conditionally defined. |
1724 | # for two reasons: | 2143 | # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more |
1725 | # 1. if the package is installed by a user who cannot write `.' | 2144 | # expensive solution, as it forces Make to start a sub-shell.) |
1726 | # make install will fail, | 2145 | mkdir_p='mkdir -p -- .' |
1727 | # 2. the above comment should most certainly read | ||
1728 | # $(mkdir_p) $(DESTDIR)$(somedir) | ||
1729 | # so it does not work when $(somedir) is undefined and | ||
1730 | # $(DESTDIR) is not. | ||
1731 | # To support the latter case, we have to write | ||
1732 | # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), | ||
1733 | # so the `.' trick is pointless. | ||
1734 | mkdir_p='mkdir -p --' | ||
1735 | else | 2146 | else |
1736 | # On NextStep and OpenStep, the `mkdir' command does not | 2147 | # On NextStep and OpenStep, the `mkdir' command does not |
1737 | # recognize any option. It will interpret all options as | 2148 | # recognize any option. It will interpret all options as |
@@ -1753,8 +2164,8 @@ for ac_prog in gawk mawk nawk awk | |||
1753 | do | 2164 | do |
1754 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 2165 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
1755 | set dummy $ac_prog; ac_word=$2 | 2166 | set dummy $ac_prog; ac_word=$2 |
1756 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2167 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1757 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2168 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1758 | if test "${ac_cv_prog_AWK+set}" = set; then | 2169 | if test "${ac_cv_prog_AWK+set}" = set; then |
1759 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2170 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1760 | else | 2171 | else |
@@ -1767,54 +2178,57 @@ do | |||
1767 | IFS=$as_save_IFS | 2178 | IFS=$as_save_IFS |
1768 | test -z "$as_dir" && as_dir=. | 2179 | test -z "$as_dir" && as_dir=. |
1769 | for ac_exec_ext in '' $ac_executable_extensions; do | 2180 | for ac_exec_ext in '' $ac_executable_extensions; do |
1770 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2181 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
1771 | ac_cv_prog_AWK="$ac_prog" | 2182 | ac_cv_prog_AWK="$ac_prog" |
1772 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2183 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1773 | break 2 | 2184 | break 2 |
1774 | fi | 2185 | fi |
1775 | done | 2186 | done |
1776 | done | 2187 | done |
2188 | IFS=$as_save_IFS | ||
1777 | 2189 | ||
1778 | fi | 2190 | fi |
1779 | fi | 2191 | fi |
1780 | AWK=$ac_cv_prog_AWK | 2192 | AWK=$ac_cv_prog_AWK |
1781 | if test -n "$AWK"; then | 2193 | if test -n "$AWK"; then |
1782 | echo "$as_me:$LINENO: result: $AWK" >&5 | 2194 | { echo "$as_me:$LINENO: result: $AWK" >&5 |
1783 | echo "${ECHO_T}$AWK" >&6 | 2195 | echo "${ECHO_T}$AWK" >&6; } |
1784 | else | 2196 | else |
1785 | echo "$as_me:$LINENO: result: no" >&5 | 2197 | { echo "$as_me:$LINENO: result: no" >&5 |
1786 | echo "${ECHO_T}no" >&6 | 2198 | echo "${ECHO_T}no" >&6; } |
1787 | fi | 2199 | fi |
1788 | 2200 | ||
2201 | |||
1789 | test -n "$AWK" && break | 2202 | test -n "$AWK" && break |
1790 | done | 2203 | done |
1791 | 2204 | ||
1792 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 2205 | { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
1793 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 | 2206 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } |
1794 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` | 2207 | set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
1795 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then | 2208 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
1796 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2209 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1797 | else | 2210 | else |
1798 | cat >conftest.make <<\_ACEOF | 2211 | cat >conftest.make <<\_ACEOF |
2212 | SHELL = /bin/sh | ||
1799 | all: | 2213 | all: |
1800 | @echo 'ac_maketemp="$(MAKE)"' | 2214 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
1801 | _ACEOF | 2215 | _ACEOF |
1802 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 2216 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
1803 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` | 2217 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
1804 | if test -n "$ac_maketemp"; then | 2218 | *@@@%%%=?*=@@@%%%*) |
1805 | eval ac_cv_prog_make_${ac_make}_set=yes | 2219 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
1806 | else | 2220 | *) |
1807 | eval ac_cv_prog_make_${ac_make}_set=no | 2221 | eval ac_cv_prog_make_${ac_make}_set=no;; |
1808 | fi | 2222 | esac |
1809 | rm -f conftest.make | 2223 | rm -f conftest.make |
1810 | fi | 2224 | fi |
1811 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | 2225 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
1812 | echo "$as_me:$LINENO: result: yes" >&5 | 2226 | { echo "$as_me:$LINENO: result: yes" >&5 |
1813 | echo "${ECHO_T}yes" >&6 | 2227 | echo "${ECHO_T}yes" >&6; } |
1814 | SET_MAKE= | 2228 | SET_MAKE= |
1815 | else | 2229 | else |
1816 | echo "$as_me:$LINENO: result: no" >&5 | 2230 | { echo "$as_me:$LINENO: result: no" >&5 |
1817 | echo "${ECHO_T}no" >&6 | 2231 | echo "${ECHO_T}no" >&6; } |
1818 | SET_MAKE="MAKE=${MAKE-make}" | 2232 | SET_MAKE="MAKE=${MAKE-make}" |
1819 | fi | 2233 | fi |
1820 | 2234 | ||
@@ -1866,6 +2280,9 @@ AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | |||
1866 | 2280 | ||
1867 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | 2281 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
1868 | 2282 | ||
2283 | |||
2284 | AMTAR=${AMTAR-"${am_missing_run}tar"} | ||
2285 | |||
1869 | install_sh=${install_sh-"$am_aux_dir/install-sh"} | 2286 | install_sh=${install_sh-"$am_aux_dir/install-sh"} |
1870 | 2287 | ||
1871 | # Installed binaries are usually stripped using `strip' when the user | 2288 | # Installed binaries are usually stripped using `strip' when the user |
@@ -1876,8 +2293,8 @@ if test "$cross_compiling" != no; then | |||
1876 | if test -n "$ac_tool_prefix"; then | 2293 | if test -n "$ac_tool_prefix"; then |
1877 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | 2294 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
1878 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | 2295 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
1879 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2296 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1880 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2297 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1881 | if test "${ac_cv_prog_STRIP+set}" = set; then | 2298 | if test "${ac_cv_prog_STRIP+set}" = set; then |
1882 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2299 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1883 | else | 2300 | else |
@@ -1890,32 +2307,34 @@ do | |||
1890 | IFS=$as_save_IFS | 2307 | IFS=$as_save_IFS |
1891 | test -z "$as_dir" && as_dir=. | 2308 | test -z "$as_dir" && as_dir=. |
1892 | for ac_exec_ext in '' $ac_executable_extensions; do | 2309 | for ac_exec_ext in '' $ac_executable_extensions; do |
1893 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2310 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
1894 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" | 2311 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
1895 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2312 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1896 | break 2 | 2313 | break 2 |
1897 | fi | 2314 | fi |
1898 | done | 2315 | done |
1899 | done | 2316 | done |
2317 | IFS=$as_save_IFS | ||
1900 | 2318 | ||
1901 | fi | 2319 | fi |
1902 | fi | 2320 | fi |
1903 | STRIP=$ac_cv_prog_STRIP | 2321 | STRIP=$ac_cv_prog_STRIP |
1904 | if test -n "$STRIP"; then | 2322 | if test -n "$STRIP"; then |
1905 | echo "$as_me:$LINENO: result: $STRIP" >&5 | 2323 | { echo "$as_me:$LINENO: result: $STRIP" >&5 |
1906 | echo "${ECHO_T}$STRIP" >&6 | 2324 | echo "${ECHO_T}$STRIP" >&6; } |
1907 | else | 2325 | else |
1908 | echo "$as_me:$LINENO: result: no" >&5 | 2326 | { echo "$as_me:$LINENO: result: no" >&5 |
1909 | echo "${ECHO_T}no" >&6 | 2327 | echo "${ECHO_T}no" >&6; } |
1910 | fi | 2328 | fi |
1911 | 2329 | ||
2330 | |||
1912 | fi | 2331 | fi |
1913 | if test -z "$ac_cv_prog_STRIP"; then | 2332 | if test -z "$ac_cv_prog_STRIP"; then |
1914 | ac_ct_STRIP=$STRIP | 2333 | ac_ct_STRIP=$STRIP |
1915 | # Extract the first word of "strip", so it can be a program name with args. | 2334 | # Extract the first word of "strip", so it can be a program name with args. |
1916 | set dummy strip; ac_word=$2 | 2335 | set dummy strip; ac_word=$2 |
1917 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2336 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1918 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2337 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1919 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | 2338 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
1920 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2339 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1921 | else | 2340 | else |
@@ -1928,27 +2347,41 @@ do | |||
1928 | IFS=$as_save_IFS | 2347 | IFS=$as_save_IFS |
1929 | test -z "$as_dir" && as_dir=. | 2348 | test -z "$as_dir" && as_dir=. |
1930 | for ac_exec_ext in '' $ac_executable_extensions; do | 2349 | for ac_exec_ext in '' $ac_executable_extensions; do |
1931 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2350 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
1932 | ac_cv_prog_ac_ct_STRIP="strip" | 2351 | ac_cv_prog_ac_ct_STRIP="strip" |
1933 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2352 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1934 | break 2 | 2353 | break 2 |
1935 | fi | 2354 | fi |
1936 | done | 2355 | done |
1937 | done | 2356 | done |
2357 | IFS=$as_save_IFS | ||
1938 | 2358 | ||
1939 | test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" | ||
1940 | fi | 2359 | fi |
1941 | fi | 2360 | fi |
1942 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | 2361 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
1943 | if test -n "$ac_ct_STRIP"; then | 2362 | if test -n "$ac_ct_STRIP"; then |
1944 | echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | 2363 | { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
1945 | echo "${ECHO_T}$ac_ct_STRIP" >&6 | 2364 | echo "${ECHO_T}$ac_ct_STRIP" >&6; } |
1946 | else | 2365 | else |
1947 | echo "$as_me:$LINENO: result: no" >&5 | 2366 | { echo "$as_me:$LINENO: result: no" >&5 |
1948 | echo "${ECHO_T}no" >&6 | 2367 | echo "${ECHO_T}no" >&6; } |
1949 | fi | 2368 | fi |
1950 | 2369 | ||
1951 | STRIP=$ac_ct_STRIP | 2370 | if test "x$ac_ct_STRIP" = x; then |
2371 | STRIP=":" | ||
2372 | else | ||
2373 | case $cross_compiling:$ac_tool_warned in | ||
2374 | yes:) | ||
2375 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | ||
2376 | whose name does not start with the host triplet. If you think this | ||
2377 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
2378 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
2379 | whose name does not start with the host triplet. If you think this | ||
2380 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
2381 | ac_tool_warned=yes ;; | ||
2382 | esac | ||
2383 | STRIP=$ac_ct_STRIP | ||
2384 | fi | ||
1952 | else | 2385 | else |
1953 | STRIP="$ac_cv_prog_STRIP" | 2386 | STRIP="$ac_cv_prog_STRIP" |
1954 | fi | 2387 | fi |
@@ -1958,29 +2391,22 @@ INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" | |||
1958 | 2391 | ||
1959 | # We need awk for the "check" target. The system "awk" is bad on | 2392 | # We need awk for the "check" target. The system "awk" is bad on |
1960 | # some platforms. | 2393 | # some platforms. |
1961 | # Always define AMTAR for backward compatibility. | ||
1962 | |||
1963 | AMTAR=${AMTAR-"${am_missing_run}tar"} | ||
1964 | |||
1965 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' | ||
1966 | |||
1967 | 2394 | ||
1968 | 2395 | ||
1969 | 2396 | ||
2397 | ac_config_headers="$ac_config_headers config.h:config-h.in" | ||
1970 | 2398 | ||
1971 | ac_config_headers="$ac_config_headers config.h:config-h.in" | 2399 | { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
1972 | 2400 | echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } | |
1973 | echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 | 2401 | # Check whether --enable-maintainer-mode was given. |
1974 | echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 | ||
1975 | # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||
1976 | if test "${enable_maintainer_mode+set}" = set; then | 2402 | if test "${enable_maintainer_mode+set}" = set; then |
1977 | enableval="$enable_maintainer_mode" | 2403 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
1978 | USE_MAINTAINER_MODE=$enableval | ||
1979 | else | 2404 | else |
1980 | USE_MAINTAINER_MODE=no | 2405 | USE_MAINTAINER_MODE=no |
1981 | fi; | 2406 | fi |
1982 | echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 | 2407 | |
1983 | echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 | 2408 | { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 |
2409 | echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } | ||
1984 | 2410 | ||
1985 | 2411 | ||
1986 | if test $USE_MAINTAINER_MODE = yes; then | 2412 | if test $USE_MAINTAINER_MODE = yes; then |
@@ -2007,8 +2433,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
2007 | if test -n "$ac_tool_prefix"; then | 2433 | if test -n "$ac_tool_prefix"; then |
2008 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 2434 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2009 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 2435 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2010 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2436 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2011 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2437 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2012 | if test "${ac_cv_prog_CC+set}" = set; then | 2438 | if test "${ac_cv_prog_CC+set}" = set; then |
2013 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2439 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2014 | else | 2440 | else |
@@ -2021,32 +2447,34 @@ do | |||
2021 | IFS=$as_save_IFS | 2447 | IFS=$as_save_IFS |
2022 | test -z "$as_dir" && as_dir=. | 2448 | test -z "$as_dir" && as_dir=. |
2023 | for ac_exec_ext in '' $ac_executable_extensions; do | 2449 | for ac_exec_ext in '' $ac_executable_extensions; do |
2024 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2450 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
2025 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | 2451 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2026 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2452 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2027 | break 2 | 2453 | break 2 |
2028 | fi | 2454 | fi |
2029 | done | 2455 | done |
2030 | done | 2456 | done |
2457 | IFS=$as_save_IFS | ||
2031 | 2458 | ||
2032 | fi | 2459 | fi |
2033 | fi | 2460 | fi |
2034 | CC=$ac_cv_prog_CC | 2461 | CC=$ac_cv_prog_CC |
2035 | if test -n "$CC"; then | 2462 | if test -n "$CC"; then |
2036 | echo "$as_me:$LINENO: result: $CC" >&5 | 2463 | { echo "$as_me:$LINENO: result: $CC" >&5 |
2037 | echo "${ECHO_T}$CC" >&6 | 2464 | echo "${ECHO_T}$CC" >&6; } |
2038 | else | 2465 | else |
2039 | echo "$as_me:$LINENO: result: no" >&5 | 2466 | { echo "$as_me:$LINENO: result: no" >&5 |
2040 | echo "${ECHO_T}no" >&6 | 2467 | echo "${ECHO_T}no" >&6; } |
2041 | fi | 2468 | fi |
2042 | 2469 | ||
2470 | |||
2043 | fi | 2471 | fi |
2044 | if test -z "$ac_cv_prog_CC"; then | 2472 | if test -z "$ac_cv_prog_CC"; then |
2045 | ac_ct_CC=$CC | 2473 | ac_ct_CC=$CC |
2046 | # Extract the first word of "gcc", so it can be a program name with args. | 2474 | # Extract the first word of "gcc", so it can be a program name with args. |
2047 | set dummy gcc; ac_word=$2 | 2475 | set dummy gcc; ac_word=$2 |
2048 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2476 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2049 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2477 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2050 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 2478 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2051 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2479 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2052 | else | 2480 | else |
@@ -2059,36 +2487,51 @@ do | |||
2059 | IFS=$as_save_IFS | 2487 | IFS=$as_save_IFS |
2060 | test -z "$as_dir" && as_dir=. | 2488 | test -z "$as_dir" && as_dir=. |
2061 | for ac_exec_ext in '' $ac_executable_extensions; do | 2489 | for ac_exec_ext in '' $ac_executable_extensions; do |
2062 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2490 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
2063 | ac_cv_prog_ac_ct_CC="gcc" | 2491 | ac_cv_prog_ac_ct_CC="gcc" |
2064 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2492 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2065 | break 2 | 2493 | break 2 |
2066 | fi | 2494 | fi |
2067 | done | 2495 | done |
2068 | done | 2496 | done |
2497 | IFS=$as_save_IFS | ||
2069 | 2498 | ||
2070 | fi | 2499 | fi |
2071 | fi | 2500 | fi |
2072 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2501 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2073 | if test -n "$ac_ct_CC"; then | 2502 | if test -n "$ac_ct_CC"; then |
2074 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 2503 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2075 | echo "${ECHO_T}$ac_ct_CC" >&6 | 2504 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
2076 | else | 2505 | else |
2077 | echo "$as_me:$LINENO: result: no" >&5 | 2506 | { echo "$as_me:$LINENO: result: no" >&5 |
2078 | echo "${ECHO_T}no" >&6 | 2507 | echo "${ECHO_T}no" >&6; } |
2079 | fi | 2508 | fi |
2080 | 2509 | ||
2081 | CC=$ac_ct_CC | 2510 | if test "x$ac_ct_CC" = x; then |
2511 | CC="" | ||
2512 | else | ||
2513 | case $cross_compiling:$ac_tool_warned in | ||
2514 | yes:) | ||
2515 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | ||
2516 | whose name does not start with the host triplet. If you think this | ||
2517 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
2518 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
2519 | whose name does not start with the host triplet. If you think this | ||
2520 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
2521 | ac_tool_warned=yes ;; | ||
2522 | esac | ||
2523 | CC=$ac_ct_CC | ||
2524 | fi | ||
2082 | else | 2525 | else |
2083 | CC="$ac_cv_prog_CC" | 2526 | CC="$ac_cv_prog_CC" |
2084 | fi | 2527 | fi |
2085 | 2528 | ||
2086 | if test -z "$CC"; then | 2529 | if test -z "$CC"; then |
2087 | if test -n "$ac_tool_prefix"; then | 2530 | if test -n "$ac_tool_prefix"; then |
2088 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 2531 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2089 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | 2532 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2090 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2533 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2091 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2534 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2092 | if test "${ac_cv_prog_CC+set}" = set; then | 2535 | if test "${ac_cv_prog_CC+set}" = set; then |
2093 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2536 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2094 | else | 2537 | else |
@@ -2101,74 +2544,34 @@ do | |||
2101 | IFS=$as_save_IFS | 2544 | IFS=$as_save_IFS |
2102 | test -z "$as_dir" && as_dir=. | 2545 | test -z "$as_dir" && as_dir=. |
2103 | for ac_exec_ext in '' $ac_executable_extensions; do | 2546 | for ac_exec_ext in '' $ac_executable_extensions; do |
2104 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2547 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
2105 | ac_cv_prog_CC="${ac_tool_prefix}cc" | 2548 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2106 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2549 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2107 | break 2 | 2550 | break 2 |
2108 | fi | 2551 | fi |
2109 | done | 2552 | done |
2110 | done | 2553 | done |
2554 | IFS=$as_save_IFS | ||
2111 | 2555 | ||
2112 | fi | 2556 | fi |
2113 | fi | 2557 | fi |
2114 | CC=$ac_cv_prog_CC | 2558 | CC=$ac_cv_prog_CC |
2115 | if test -n "$CC"; then | 2559 | if test -n "$CC"; then |
2116 | echo "$as_me:$LINENO: result: $CC" >&5 | 2560 | { echo "$as_me:$LINENO: result: $CC" >&5 |
2117 | echo "${ECHO_T}$CC" >&6 | 2561 | echo "${ECHO_T}$CC" >&6; } |
2118 | else | ||
2119 | echo "$as_me:$LINENO: result: no" >&5 | ||
2120 | echo "${ECHO_T}no" >&6 | ||
2121 | fi | ||
2122 | |||
2123 | fi | ||
2124 | if test -z "$ac_cv_prog_CC"; then | ||
2125 | ac_ct_CC=$CC | ||
2126 | # Extract the first word of "cc", so it can be a program name with args. | ||
2127 | set dummy cc; ac_word=$2 | ||
2128 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
2129 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
2130 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
2131 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2132 | else | ||
2133 | if test -n "$ac_ct_CC"; then | ||
2134 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
2135 | else | 2562 | else |
2136 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2563 | { echo "$as_me:$LINENO: result: no" >&5 |
2137 | for as_dir in $PATH | 2564 | echo "${ECHO_T}no" >&6; } |
2138 | do | ||
2139 | IFS=$as_save_IFS | ||
2140 | test -z "$as_dir" && as_dir=. | ||
2141 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2142 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2143 | ac_cv_prog_ac_ct_CC="cc" | ||
2144 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2145 | break 2 | ||
2146 | fi | ||
2147 | done | ||
2148 | done | ||
2149 | |||
2150 | fi | ||
2151 | fi | ||
2152 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
2153 | if test -n "$ac_ct_CC"; then | ||
2154 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
2155 | echo "${ECHO_T}$ac_ct_CC" >&6 | ||
2156 | else | ||
2157 | echo "$as_me:$LINENO: result: no" >&5 | ||
2158 | echo "${ECHO_T}no" >&6 | ||
2159 | fi | 2565 | fi |
2160 | 2566 | ||
2161 | CC=$ac_ct_CC | ||
2162 | else | ||
2163 | CC="$ac_cv_prog_CC" | ||
2164 | fi | ||
2165 | 2567 | ||
2568 | fi | ||
2166 | fi | 2569 | fi |
2167 | if test -z "$CC"; then | 2570 | if test -z "$CC"; then |
2168 | # Extract the first word of "cc", so it can be a program name with args. | 2571 | # Extract the first word of "cc", so it can be a program name with args. |
2169 | set dummy cc; ac_word=$2 | 2572 | set dummy cc; ac_word=$2 |
2170 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2573 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2171 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2574 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2172 | if test "${ac_cv_prog_CC+set}" = set; then | 2575 | if test "${ac_cv_prog_CC+set}" = set; then |
2173 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2576 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2174 | else | 2577 | else |
@@ -2182,7 +2585,7 @@ do | |||
2182 | IFS=$as_save_IFS | 2585 | IFS=$as_save_IFS |
2183 | test -z "$as_dir" && as_dir=. | 2586 | test -z "$as_dir" && as_dir=. |
2184 | for ac_exec_ext in '' $ac_executable_extensions; do | 2587 | for ac_exec_ext in '' $ac_executable_extensions; do |
2185 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2588 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
2186 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 2589 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2187 | ac_prog_rejected=yes | 2590 | ac_prog_rejected=yes |
2188 | continue | 2591 | continue |
@@ -2193,6 +2596,7 @@ do | |||
2193 | fi | 2596 | fi |
2194 | done | 2597 | done |
2195 | done | 2598 | done |
2599 | IFS=$as_save_IFS | ||
2196 | 2600 | ||
2197 | if test $ac_prog_rejected = yes; then | 2601 | if test $ac_prog_rejected = yes; then |
2198 | # We found a bogon in the path, so make sure we never use it. | 2602 | # We found a bogon in the path, so make sure we never use it. |
@@ -2210,22 +2614,23 @@ fi | |||
2210 | fi | 2614 | fi |
2211 | CC=$ac_cv_prog_CC | 2615 | CC=$ac_cv_prog_CC |
2212 | if test -n "$CC"; then | 2616 | if test -n "$CC"; then |
2213 | echo "$as_me:$LINENO: result: $CC" >&5 | 2617 | { echo "$as_me:$LINENO: result: $CC" >&5 |
2214 | echo "${ECHO_T}$CC" >&6 | 2618 | echo "${ECHO_T}$CC" >&6; } |
2215 | else | 2619 | else |
2216 | echo "$as_me:$LINENO: result: no" >&5 | 2620 | { echo "$as_me:$LINENO: result: no" >&5 |
2217 | echo "${ECHO_T}no" >&6 | 2621 | echo "${ECHO_T}no" >&6; } |
2218 | fi | 2622 | fi |
2219 | 2623 | ||
2624 | |||
2220 | fi | 2625 | fi |
2221 | if test -z "$CC"; then | 2626 | if test -z "$CC"; then |
2222 | if test -n "$ac_tool_prefix"; then | 2627 | if test -n "$ac_tool_prefix"; then |
2223 | for ac_prog in cl | 2628 | for ac_prog in cl.exe |
2224 | do | 2629 | do |
2225 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 2630 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2226 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 2631 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2227 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2632 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2228 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2633 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2229 | if test "${ac_cv_prog_CC+set}" = set; then | 2634 | if test "${ac_cv_prog_CC+set}" = set; then |
2230 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2635 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2231 | else | 2636 | else |
@@ -2238,36 +2643,38 @@ do | |||
2238 | IFS=$as_save_IFS | 2643 | IFS=$as_save_IFS |
2239 | test -z "$as_dir" && as_dir=. | 2644 | test -z "$as_dir" && as_dir=. |
2240 | for ac_exec_ext in '' $ac_executable_extensions; do | 2645 | for ac_exec_ext in '' $ac_executable_extensions; do |
2241 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2646 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
2242 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 2647 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2243 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2648 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2244 | break 2 | 2649 | break 2 |
2245 | fi | 2650 | fi |
2246 | done | 2651 | done |
2247 | done | 2652 | done |
2653 | IFS=$as_save_IFS | ||
2248 | 2654 | ||
2249 | fi | 2655 | fi |
2250 | fi | 2656 | fi |
2251 | CC=$ac_cv_prog_CC | 2657 | CC=$ac_cv_prog_CC |
2252 | if test -n "$CC"; then | 2658 | if test -n "$CC"; then |
2253 | echo "$as_me:$LINENO: result: $CC" >&5 | 2659 | { echo "$as_me:$LINENO: result: $CC" >&5 |
2254 | echo "${ECHO_T}$CC" >&6 | 2660 | echo "${ECHO_T}$CC" >&6; } |
2255 | else | 2661 | else |
2256 | echo "$as_me:$LINENO: result: no" >&5 | 2662 | { echo "$as_me:$LINENO: result: no" >&5 |
2257 | echo "${ECHO_T}no" >&6 | 2663 | echo "${ECHO_T}no" >&6; } |
2258 | fi | 2664 | fi |
2259 | 2665 | ||
2666 | |||
2260 | test -n "$CC" && break | 2667 | test -n "$CC" && break |
2261 | done | 2668 | done |
2262 | fi | 2669 | fi |
2263 | if test -z "$CC"; then | 2670 | if test -z "$CC"; then |
2264 | ac_ct_CC=$CC | 2671 | ac_ct_CC=$CC |
2265 | for ac_prog in cl | 2672 | for ac_prog in cl.exe |
2266 | do | 2673 | do |
2267 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 2674 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2268 | set dummy $ac_prog; ac_word=$2 | 2675 | set dummy $ac_prog; ac_word=$2 |
2269 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2676 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2270 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2677 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2271 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 2678 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2272 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2679 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2273 | else | 2680 | else |
@@ -2280,29 +2687,45 @@ do | |||
2280 | IFS=$as_save_IFS | 2687 | IFS=$as_save_IFS |
2281 | test -z "$as_dir" && as_dir=. | 2688 | test -z "$as_dir" && as_dir=. |
2282 | for ac_exec_ext in '' $ac_executable_extensions; do | 2689 | for ac_exec_ext in '' $ac_executable_extensions; do |
2283 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2690 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
2284 | ac_cv_prog_ac_ct_CC="$ac_prog" | 2691 | ac_cv_prog_ac_ct_CC="$ac_prog" |
2285 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2692 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2286 | break 2 | 2693 | break 2 |
2287 | fi | 2694 | fi |
2288 | done | 2695 | done |
2289 | done | 2696 | done |
2697 | IFS=$as_save_IFS | ||
2290 | 2698 | ||
2291 | fi | 2699 | fi |
2292 | fi | 2700 | fi |
2293 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2701 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2294 | if test -n "$ac_ct_CC"; then | 2702 | if test -n "$ac_ct_CC"; then |
2295 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 2703 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2296 | echo "${ECHO_T}$ac_ct_CC" >&6 | 2704 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
2297 | else | 2705 | else |
2298 | echo "$as_me:$LINENO: result: no" >&5 | 2706 | { echo "$as_me:$LINENO: result: no" >&5 |
2299 | echo "${ECHO_T}no" >&6 | 2707 | echo "${ECHO_T}no" >&6; } |
2300 | fi | 2708 | fi |
2301 | 2709 | ||
2710 | |||
2302 | test -n "$ac_ct_CC" && break | 2711 | test -n "$ac_ct_CC" && break |
2303 | done | 2712 | done |
2304 | 2713 | ||
2305 | CC=$ac_ct_CC | 2714 | if test "x$ac_ct_CC" = x; then |
2715 | CC="" | ||
2716 | else | ||
2717 | case $cross_compiling:$ac_tool_warned in | ||
2718 | yes:) | ||
2719 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | ||
2720 | whose name does not start with the host triplet. If you think this | ||
2721 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
2722 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
2723 | whose name does not start with the host triplet. If you think this | ||
2724 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
2725 | ac_tool_warned=yes ;; | ||
2726 | esac | ||
2727 | CC=$ac_ct_CC | ||
2728 | fi | ||
2306 | fi | 2729 | fi |
2307 | 2730 | ||
2308 | fi | 2731 | fi |
@@ -2315,21 +2738,35 @@ See \`config.log' for more details." >&2;} | |||
2315 | { (exit 1); exit 1; }; } | 2738 | { (exit 1); exit 1; }; } |
2316 | 2739 | ||
2317 | # Provide some information about the compiler. | 2740 | # Provide some information about the compiler. |
2318 | echo "$as_me:$LINENO:" \ | 2741 | echo "$as_me:$LINENO: checking for C compiler version" >&5 |
2319 | "checking for C compiler version" >&5 | ||
2320 | ac_compiler=`set X $ac_compile; echo $2` | 2742 | ac_compiler=`set X $ac_compile; echo $2` |
2321 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 2743 | { (ac_try="$ac_compiler --version >&5" |
2322 | (eval $ac_compiler --version </dev/null >&5) 2>&5 | 2744 | case "(($ac_try" in |
2745 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2746 | *) ac_try_echo=$ac_try;; | ||
2747 | esac | ||
2748 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2749 | (eval "$ac_compiler --version >&5") 2>&5 | ||
2323 | ac_status=$? | 2750 | ac_status=$? |
2324 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2751 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2325 | (exit $ac_status); } | 2752 | (exit $ac_status); } |
2326 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 2753 | { (ac_try="$ac_compiler -v >&5" |
2327 | (eval $ac_compiler -v </dev/null >&5) 2>&5 | 2754 | case "(($ac_try" in |
2755 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2756 | *) ac_try_echo=$ac_try;; | ||
2757 | esac | ||
2758 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2759 | (eval "$ac_compiler -v >&5") 2>&5 | ||
2328 | ac_status=$? | 2760 | ac_status=$? |
2329 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2761 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2330 | (exit $ac_status); } | 2762 | (exit $ac_status); } |
2331 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 2763 | { (ac_try="$ac_compiler -V >&5" |
2332 | (eval $ac_compiler -V </dev/null >&5) 2>&5 | 2764 | case "(($ac_try" in |
2765 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2766 | *) ac_try_echo=$ac_try;; | ||
2767 | esac | ||
2768 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2769 | (eval "$ac_compiler -V >&5") 2>&5 | ||
2333 | ac_status=$? | 2770 | ac_status=$? |
2334 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2771 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2335 | (exit $ac_status); } | 2772 | (exit $ac_status); } |
@@ -2354,47 +2791,77 @@ ac_clean_files="$ac_clean_files a.out a.exe b.out" | |||
2354 | # Try to create an executable without -o first, disregard a.out. | 2791 | # Try to create an executable without -o first, disregard a.out. |
2355 | # It will help us diagnose broken compilers, and finding out an intuition | 2792 | # It will help us diagnose broken compilers, and finding out an intuition |
2356 | # of exeext. | 2793 | # of exeext. |
2357 | echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 | 2794 | { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
2358 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 | 2795 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
2359 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 2796 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2360 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | 2797 | # |
2361 | (eval $ac_link_default) 2>&5 | 2798 | # List of possible output files, starting from the most likely. |
2799 | # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) | ||
2800 | # only as a last resort. b.out is created by i960 compilers. | ||
2801 | ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' | ||
2802 | # | ||
2803 | # The IRIX 6 linker writes into existing files which may not be | ||
2804 | # executable, retaining their permissions. Remove them first so a | ||
2805 | # subsequent execution test works. | ||
2806 | ac_rmfiles= | ||
2807 | for ac_file in $ac_files | ||
2808 | do | ||
2809 | case $ac_file in | ||
2810 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; | ||
2811 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; | ||
2812 | esac | ||
2813 | done | ||
2814 | rm -f $ac_rmfiles | ||
2815 | |||
2816 | if { (ac_try="$ac_link_default" | ||
2817 | case "(($ac_try" in | ||
2818 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2819 | *) ac_try_echo=$ac_try;; | ||
2820 | esac | ||
2821 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2822 | (eval "$ac_link_default") 2>&5 | ||
2362 | ac_status=$? | 2823 | ac_status=$? |
2363 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2824 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2364 | (exit $ac_status); }; then | 2825 | (exit $ac_status); }; then |
2365 | # Find the output, starting from the most likely. This scheme is | 2826 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
2366 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last | 2827 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
2367 | # resort. | 2828 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
2368 | 2829 | # so that the user can short-circuit this test for compilers unknown to | |
2369 | # Be careful to initialize this variable, since it used to be cached. | 2830 | # Autoconf. |
2370 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | 2831 | for ac_file in $ac_files '' |
2371 | ac_cv_exeext= | ||
2372 | # b.out is created by i960 compilers. | ||
2373 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | ||
2374 | do | 2832 | do |
2375 | test -f "$ac_file" || continue | 2833 | test -f "$ac_file" || continue |
2376 | case $ac_file in | 2834 | case $ac_file in |
2377 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | 2835 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
2378 | ;; | ||
2379 | conftest.$ac_ext ) | ||
2380 | # This is the source file. | ||
2381 | ;; | 2836 | ;; |
2382 | [ab].out ) | 2837 | [ab].out ) |
2383 | # We found the default executable, but exeext='' is most | 2838 | # We found the default executable, but exeext='' is most |
2384 | # certainly right. | 2839 | # certainly right. |
2385 | break;; | 2840 | break;; |
2386 | *.* ) | 2841 | *.* ) |
2387 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 2842 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
2388 | # FIXME: I believe we export ac_cv_exeext for Libtool, | 2843 | then :; else |
2389 | # but it would be cool to find out if it's true. Does anybody | 2844 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2390 | # maintain Libtool? --akim. | 2845 | fi |
2391 | export ac_cv_exeext | 2846 | # We set ac_cv_exeext here because the later test for it is not |
2847 | # safe: cross compilers may not add the suffix if given an `-o' | ||
2848 | # argument, so we may need to know it at that point already. | ||
2849 | # Even if this section looks crufty: it has the advantage of | ||
2850 | # actually working. | ||
2392 | break;; | 2851 | break;; |
2393 | * ) | 2852 | * ) |
2394 | break;; | 2853 | break;; |
2395 | esac | 2854 | esac |
2396 | done | 2855 | done |
2856 | test "$ac_cv_exeext" = no && ac_cv_exeext= | ||
2857 | |||
2397 | else | 2858 | else |
2859 | ac_file='' | ||
2860 | fi | ||
2861 | |||
2862 | { echo "$as_me:$LINENO: result: $ac_file" >&5 | ||
2863 | echo "${ECHO_T}$ac_file" >&6; } | ||
2864 | if test -z "$ac_file"; then | ||
2398 | echo "$as_me: failed program was:" >&5 | 2865 | echo "$as_me: failed program was:" >&5 |
2399 | sed 's/^/| /' conftest.$ac_ext >&5 | 2866 | sed 's/^/| /' conftest.$ac_ext >&5 |
2400 | 2867 | ||
@@ -2406,19 +2873,21 @@ See \`config.log' for more details." >&2;} | |||
2406 | fi | 2873 | fi |
2407 | 2874 | ||
2408 | ac_exeext=$ac_cv_exeext | 2875 | ac_exeext=$ac_cv_exeext |
2409 | echo "$as_me:$LINENO: result: $ac_file" >&5 | ||
2410 | echo "${ECHO_T}$ac_file" >&6 | ||
2411 | 2876 | ||
2412 | # Check the compiler produces executables we can run. If not, either | 2877 | # Check that the compiler produces executables we can run. If not, either |
2413 | # the compiler is broken, or we cross compile. | 2878 | # the compiler is broken, or we cross compile. |
2414 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | 2879 | { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
2415 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | 2880 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } |
2416 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 2881 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
2417 | # If not cross compiling, check that we can run a simple program. | 2882 | # If not cross compiling, check that we can run a simple program. |
2418 | if test "$cross_compiling" != yes; then | 2883 | if test "$cross_compiling" != yes; then |
2419 | if { ac_try='./$ac_file' | 2884 | if { ac_try='./$ac_file' |
2420 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 2885 | { (case "(($ac_try" in |
2421 | (eval $ac_try) 2>&5 | 2886 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2887 | *) ac_try_echo=$ac_try;; | ||
2888 | esac | ||
2889 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2890 | (eval "$ac_try") 2>&5 | ||
2422 | ac_status=$? | 2891 | ac_status=$? |
2423 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2892 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2424 | (exit $ac_status); }; }; then | 2893 | (exit $ac_status); }; }; then |
@@ -2437,22 +2906,27 @@ See \`config.log' for more details." >&2;} | |||
2437 | fi | 2906 | fi |
2438 | fi | 2907 | fi |
2439 | fi | 2908 | fi |
2440 | echo "$as_me:$LINENO: result: yes" >&5 | 2909 | { echo "$as_me:$LINENO: result: yes" >&5 |
2441 | echo "${ECHO_T}yes" >&6 | 2910 | echo "${ECHO_T}yes" >&6; } |
2442 | 2911 | ||
2443 | rm -f a.out a.exe conftest$ac_cv_exeext b.out | 2912 | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
2444 | ac_clean_files=$ac_clean_files_save | 2913 | ac_clean_files=$ac_clean_files_save |
2445 | # Check the compiler produces executables we can run. If not, either | 2914 | # Check that the compiler produces executables we can run. If not, either |
2446 | # the compiler is broken, or we cross compile. | 2915 | # the compiler is broken, or we cross compile. |
2447 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 2916 | { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
2448 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | 2917 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
2449 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 | 2918 | { echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
2450 | echo "${ECHO_T}$cross_compiling" >&6 | 2919 | echo "${ECHO_T}$cross_compiling" >&6; } |
2451 | 2920 | ||
2452 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 | 2921 | { echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
2453 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | 2922 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
2454 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 2923 | if { (ac_try="$ac_link" |
2455 | (eval $ac_link) 2>&5 | 2924 | case "(($ac_try" in |
2925 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2926 | *) ac_try_echo=$ac_try;; | ||
2927 | esac | ||
2928 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2929 | (eval "$ac_link") 2>&5 | ||
2456 | ac_status=$? | 2930 | ac_status=$? |
2457 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2931 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2458 | (exit $ac_status); }; then | 2932 | (exit $ac_status); }; then |
@@ -2463,9 +2937,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
2463 | for ac_file in conftest.exe conftest conftest.*; do | 2937 | for ac_file in conftest.exe conftest conftest.*; do |
2464 | test -f "$ac_file" || continue | 2938 | test -f "$ac_file" || continue |
2465 | case $ac_file in | 2939 | case $ac_file in |
2466 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | 2940 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
2467 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 2941 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2468 | export ac_cv_exeext | ||
2469 | break;; | 2942 | break;; |
2470 | * ) break;; | 2943 | * ) break;; |
2471 | esac | 2944 | esac |
@@ -2479,14 +2952,14 @@ See \`config.log' for more details." >&2;} | |||
2479 | fi | 2952 | fi |
2480 | 2953 | ||
2481 | rm -f conftest$ac_cv_exeext | 2954 | rm -f conftest$ac_cv_exeext |
2482 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 2955 | { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
2483 | echo "${ECHO_T}$ac_cv_exeext" >&6 | 2956 | echo "${ECHO_T}$ac_cv_exeext" >&6; } |
2484 | 2957 | ||
2485 | rm -f conftest.$ac_ext | 2958 | rm -f conftest.$ac_ext |
2486 | EXEEXT=$ac_cv_exeext | 2959 | EXEEXT=$ac_cv_exeext |
2487 | ac_exeext=$EXEEXT | 2960 | ac_exeext=$EXEEXT |
2488 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 2961 | { echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
2489 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | 2962 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
2490 | if test "${ac_cv_objext+set}" = set; then | 2963 | if test "${ac_cv_objext+set}" = set; then |
2491 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2964 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2492 | else | 2965 | else |
@@ -2506,14 +2979,20 @@ main () | |||
2506 | } | 2979 | } |
2507 | _ACEOF | 2980 | _ACEOF |
2508 | rm -f conftest.o conftest.obj | 2981 | rm -f conftest.o conftest.obj |
2509 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2982 | if { (ac_try="$ac_compile" |
2510 | (eval $ac_compile) 2>&5 | 2983 | case "(($ac_try" in |
2984 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2985 | *) ac_try_echo=$ac_try;; | ||
2986 | esac | ||
2987 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2988 | (eval "$ac_compile") 2>&5 | ||
2511 | ac_status=$? | 2989 | ac_status=$? |
2512 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2990 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2513 | (exit $ac_status); }; then | 2991 | (exit $ac_status); }; then |
2514 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | 2992 | for ac_file in conftest.o conftest.obj conftest.*; do |
2993 | test -f "$ac_file" || continue; | ||
2515 | case $ac_file in | 2994 | case $ac_file in |
2516 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | 2995 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
2517 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 2996 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2518 | break;; | 2997 | break;; |
2519 | esac | 2998 | esac |
@@ -2531,12 +3010,12 @@ fi | |||
2531 | 3010 | ||
2532 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 3011 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2533 | fi | 3012 | fi |
2534 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 3013 | { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
2535 | echo "${ECHO_T}$ac_cv_objext" >&6 | 3014 | echo "${ECHO_T}$ac_cv_objext" >&6; } |
2536 | OBJEXT=$ac_cv_objext | 3015 | OBJEXT=$ac_cv_objext |
2537 | ac_objext=$OBJEXT | 3016 | ac_objext=$OBJEXT |
2538 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 3017 | { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
2539 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | 3018 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
2540 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | 3019 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2541 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3020 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2542 | else | 3021 | else |
@@ -2559,24 +3038,36 @@ main () | |||
2559 | } | 3038 | } |
2560 | _ACEOF | 3039 | _ACEOF |
2561 | rm -f conftest.$ac_objext | 3040 | rm -f conftest.$ac_objext |
2562 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3041 | if { (ac_try="$ac_compile" |
2563 | (eval $ac_compile) 2>conftest.er1 | 3042 | case "(($ac_try" in |
3043 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3044 | *) ac_try_echo=$ac_try;; | ||
3045 | esac | ||
3046 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3047 | (eval "$ac_compile") 2>conftest.er1 | ||
2564 | ac_status=$? | 3048 | ac_status=$? |
2565 | grep -v '^ *+' conftest.er1 >conftest.err | 3049 | grep -v '^ *+' conftest.er1 >conftest.err |
2566 | rm -f conftest.er1 | 3050 | rm -f conftest.er1 |
2567 | cat conftest.err >&5 | 3051 | cat conftest.err >&5 |
2568 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3052 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2569 | (exit $ac_status); } && | 3053 | (exit $ac_status); } && |
2570 | { ac_try='test -z "$ac_c_werror_flag" | 3054 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2571 | || test ! -s conftest.err' | 3055 | { (case "(($ac_try" in |
2572 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3056 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2573 | (eval $ac_try) 2>&5 | 3057 | *) ac_try_echo=$ac_try;; |
3058 | esac | ||
3059 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3060 | (eval "$ac_try") 2>&5 | ||
2574 | ac_status=$? | 3061 | ac_status=$? |
2575 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3062 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2576 | (exit $ac_status); }; } && | 3063 | (exit $ac_status); }; } && |
2577 | { ac_try='test -s conftest.$ac_objext' | 3064 | { ac_try='test -s conftest.$ac_objext' |
2578 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3065 | { (case "(($ac_try" in |
2579 | (eval $ac_try) 2>&5 | 3066 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3067 | *) ac_try_echo=$ac_try;; | ||
3068 | esac | ||
3069 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3070 | (eval "$ac_try") 2>&5 | ||
2580 | ac_status=$? | 3071 | ac_status=$? |
2581 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3072 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2582 | (exit $ac_status); }; }; then | 3073 | (exit $ac_status); }; }; then |
@@ -2585,24 +3076,28 @@ else | |||
2585 | echo "$as_me: failed program was:" >&5 | 3076 | echo "$as_me: failed program was:" >&5 |
2586 | sed 's/^/| /' conftest.$ac_ext >&5 | 3077 | sed 's/^/| /' conftest.$ac_ext >&5 |
2587 | 3078 | ||
2588 | ac_compiler_gnu=no | 3079 | ac_compiler_gnu=no |
2589 | fi | 3080 | fi |
2590 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 3081 | |
3082 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2591 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 3083 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2592 | 3084 | ||
2593 | fi | 3085 | fi |
2594 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 3086 | { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2595 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 3087 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
2596 | GCC=`test $ac_compiler_gnu = yes && echo yes` | 3088 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
2597 | ac_test_CFLAGS=${CFLAGS+set} | 3089 | ac_test_CFLAGS=${CFLAGS+set} |
2598 | ac_save_CFLAGS=$CFLAGS | 3090 | ac_save_CFLAGS=$CFLAGS |
2599 | CFLAGS="-g" | 3091 | { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
2600 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 3092 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
2601 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | ||
2602 | if test "${ac_cv_prog_cc_g+set}" = set; then | 3093 | if test "${ac_cv_prog_cc_g+set}" = set; then |
2603 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3094 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2604 | else | 3095 | else |
2605 | cat >conftest.$ac_ext <<_ACEOF | 3096 | ac_save_c_werror_flag=$ac_c_werror_flag |
3097 | ac_c_werror_flag=yes | ||
3098 | ac_cv_prog_cc_g=no | ||
3099 | CFLAGS="-g" | ||
3100 | cat >conftest.$ac_ext <<_ACEOF | ||
2606 | /* confdefs.h. */ | 3101 | /* confdefs.h. */ |
2607 | _ACEOF | 3102 | _ACEOF |
2608 | cat confdefs.h >>conftest.$ac_ext | 3103 | cat confdefs.h >>conftest.$ac_ext |
@@ -2618,24 +3113,36 @@ main () | |||
2618 | } | 3113 | } |
2619 | _ACEOF | 3114 | _ACEOF |
2620 | rm -f conftest.$ac_objext | 3115 | rm -f conftest.$ac_objext |
2621 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3116 | if { (ac_try="$ac_compile" |
2622 | (eval $ac_compile) 2>conftest.er1 | 3117 | case "(($ac_try" in |
3118 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3119 | *) ac_try_echo=$ac_try;; | ||
3120 | esac | ||
3121 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3122 | (eval "$ac_compile") 2>conftest.er1 | ||
2623 | ac_status=$? | 3123 | ac_status=$? |
2624 | grep -v '^ *+' conftest.er1 >conftest.err | 3124 | grep -v '^ *+' conftest.er1 >conftest.err |
2625 | rm -f conftest.er1 | 3125 | rm -f conftest.er1 |
2626 | cat conftest.err >&5 | 3126 | cat conftest.err >&5 |
2627 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3127 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2628 | (exit $ac_status); } && | 3128 | (exit $ac_status); } && |
2629 | { ac_try='test -z "$ac_c_werror_flag" | 3129 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2630 | || test ! -s conftest.err' | 3130 | { (case "(($ac_try" in |
2631 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3131 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2632 | (eval $ac_try) 2>&5 | 3132 | *) ac_try_echo=$ac_try;; |
3133 | esac | ||
3134 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3135 | (eval "$ac_try") 2>&5 | ||
2633 | ac_status=$? | 3136 | ac_status=$? |
2634 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3137 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2635 | (exit $ac_status); }; } && | 3138 | (exit $ac_status); }; } && |
2636 | { ac_try='test -s conftest.$ac_objext' | 3139 | { ac_try='test -s conftest.$ac_objext' |
2637 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3140 | { (case "(($ac_try" in |
2638 | (eval $ac_try) 2>&5 | 3141 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3142 | *) ac_try_echo=$ac_try;; | ||
3143 | esac | ||
3144 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3145 | (eval "$ac_try") 2>&5 | ||
2639 | ac_status=$? | 3146 | ac_status=$? |
2640 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3147 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2641 | (exit $ac_status); }; }; then | 3148 | (exit $ac_status); }; }; then |
@@ -2644,12 +3151,131 @@ else | |||
2644 | echo "$as_me: failed program was:" >&5 | 3151 | echo "$as_me: failed program was:" >&5 |
2645 | sed 's/^/| /' conftest.$ac_ext >&5 | 3152 | sed 's/^/| /' conftest.$ac_ext >&5 |
2646 | 3153 | ||
2647 | ac_cv_prog_cc_g=no | 3154 | CFLAGS="" |
3155 | cat >conftest.$ac_ext <<_ACEOF | ||
3156 | /* confdefs.h. */ | ||
3157 | _ACEOF | ||
3158 | cat confdefs.h >>conftest.$ac_ext | ||
3159 | cat >>conftest.$ac_ext <<_ACEOF | ||
3160 | /* end confdefs.h. */ | ||
3161 | |||
3162 | int | ||
3163 | main () | ||
3164 | { | ||
3165 | |||
3166 | ; | ||
3167 | return 0; | ||
3168 | } | ||
3169 | _ACEOF | ||
3170 | rm -f conftest.$ac_objext | ||
3171 | if { (ac_try="$ac_compile" | ||
3172 | case "(($ac_try" in | ||
3173 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3174 | *) ac_try_echo=$ac_try;; | ||
3175 | esac | ||
3176 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3177 | (eval "$ac_compile") 2>conftest.er1 | ||
3178 | ac_status=$? | ||
3179 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3180 | rm -f conftest.er1 | ||
3181 | cat conftest.err >&5 | ||
3182 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3183 | (exit $ac_status); } && | ||
3184 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
3185 | { (case "(($ac_try" in | ||
3186 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3187 | *) ac_try_echo=$ac_try;; | ||
3188 | esac | ||
3189 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3190 | (eval "$ac_try") 2>&5 | ||
3191 | ac_status=$? | ||
3192 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3193 | (exit $ac_status); }; } && | ||
3194 | { ac_try='test -s conftest.$ac_objext' | ||
3195 | { (case "(($ac_try" in | ||
3196 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3197 | *) ac_try_echo=$ac_try;; | ||
3198 | esac | ||
3199 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3200 | (eval "$ac_try") 2>&5 | ||
3201 | ac_status=$? | ||
3202 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3203 | (exit $ac_status); }; }; then | ||
3204 | : | ||
3205 | else | ||
3206 | echo "$as_me: failed program was:" >&5 | ||
3207 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3208 | |||
3209 | ac_c_werror_flag=$ac_save_c_werror_flag | ||
3210 | CFLAGS="-g" | ||
3211 | cat >conftest.$ac_ext <<_ACEOF | ||
3212 | /* confdefs.h. */ | ||
3213 | _ACEOF | ||
3214 | cat confdefs.h >>conftest.$ac_ext | ||
3215 | cat >>conftest.$ac_ext <<_ACEOF | ||
3216 | /* end confdefs.h. */ | ||
3217 | |||
3218 | int | ||
3219 | main () | ||
3220 | { | ||
3221 | |||
3222 | ; | ||
3223 | return 0; | ||
3224 | } | ||
3225 | _ACEOF | ||
3226 | rm -f conftest.$ac_objext | ||
3227 | if { (ac_try="$ac_compile" | ||
3228 | case "(($ac_try" in | ||
3229 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3230 | *) ac_try_echo=$ac_try;; | ||
3231 | esac | ||
3232 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3233 | (eval "$ac_compile") 2>conftest.er1 | ||
3234 | ac_status=$? | ||
3235 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3236 | rm -f conftest.er1 | ||
3237 | cat conftest.err >&5 | ||
3238 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3239 | (exit $ac_status); } && | ||
3240 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
3241 | { (case "(($ac_try" in | ||
3242 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3243 | *) ac_try_echo=$ac_try;; | ||
3244 | esac | ||
3245 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3246 | (eval "$ac_try") 2>&5 | ||
3247 | ac_status=$? | ||
3248 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3249 | (exit $ac_status); }; } && | ||
3250 | { ac_try='test -s conftest.$ac_objext' | ||
3251 | { (case "(($ac_try" in | ||
3252 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3253 | *) ac_try_echo=$ac_try;; | ||
3254 | esac | ||
3255 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3256 | (eval "$ac_try") 2>&5 | ||
3257 | ac_status=$? | ||
3258 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3259 | (exit $ac_status); }; }; then | ||
3260 | ac_cv_prog_cc_g=yes | ||
3261 | else | ||
3262 | echo "$as_me: failed program was:" >&5 | ||
3263 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3264 | |||
3265 | |||
3266 | fi | ||
3267 | |||
3268 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2648 | fi | 3269 | fi |
2649 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 3270 | |
3271 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2650 | fi | 3272 | fi |
2651 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 3273 | |
2652 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 3274 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3275 | ac_c_werror_flag=$ac_save_c_werror_flag | ||
3276 | fi | ||
3277 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | ||
3278 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } | ||
2653 | if test "$ac_test_CFLAGS" = set; then | 3279 | if test "$ac_test_CFLAGS" = set; then |
2654 | CFLAGS=$ac_save_CFLAGS | 3280 | CFLAGS=$ac_save_CFLAGS |
2655 | elif test $ac_cv_prog_cc_g = yes; then | 3281 | elif test $ac_cv_prog_cc_g = yes; then |
@@ -2665,12 +3291,12 @@ else | |||
2665 | CFLAGS= | 3291 | CFLAGS= |
2666 | fi | 3292 | fi |
2667 | fi | 3293 | fi |
2668 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | 3294 | { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
2669 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | 3295 | echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
2670 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | 3296 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
2671 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3297 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2672 | else | 3298 | else |
2673 | ac_cv_prog_cc_stdc=no | 3299 | ac_cv_prog_cc_c89=no |
2674 | ac_save_CC=$CC | 3300 | ac_save_CC=$CC |
2675 | cat >conftest.$ac_ext <<_ACEOF | 3301 | cat >conftest.$ac_ext <<_ACEOF |
2676 | /* confdefs.h. */ | 3302 | /* confdefs.h. */ |
@@ -2704,12 +3330,17 @@ static char *f (char * (*g) (char **, int), char **p, ...) | |||
2704 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | 3330 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
2705 | function prototypes and stuff, but not '\xHH' hex character constants. | 3331 | function prototypes and stuff, but not '\xHH' hex character constants. |
2706 | These don't provoke an error unfortunately, instead are silently treated | 3332 | These don't provoke an error unfortunately, instead are silently treated |
2707 | as 'x'. The following induces an error, until -std1 is added to get | 3333 | as 'x'. The following induces an error, until -std is added to get |
2708 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | 3334 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
2709 | array size at least. It's necessary to write '\x00'==0 to get something | 3335 | array size at least. It's necessary to write '\x00'==0 to get something |
2710 | that's true only with -std1. */ | 3336 | that's true only with -std. */ |
2711 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | 3337 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
2712 | 3338 | ||
3339 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | ||
3340 | inside strings and character constants. */ | ||
3341 | #define FOO(x) 'x' | ||
3342 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | ||
3343 | |||
2713 | int test (int i, double x); | 3344 | int test (int i, double x); |
2714 | struct s1 {int (*f) (int a);}; | 3345 | struct s1 {int (*f) (int a);}; |
2715 | struct s2 {int (*f) (double a);}; | 3346 | struct s2 {int (*f) (double a);}; |
@@ -2724,205 +3355,74 @@ return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |||
2724 | return 0; | 3355 | return 0; |
2725 | } | 3356 | } |
2726 | _ACEOF | 3357 | _ACEOF |
2727 | # Don't try gcc -ansi; that turns off useful extensions and | 3358 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
2728 | # breaks some systems' header files. | 3359 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2729 | # AIX -qlanglvl=ansi | ||
2730 | # Ultrix and OSF/1 -std1 | ||
2731 | # HP-UX 10.20 and later -Ae | ||
2732 | # HP-UX older versions -Aa -D_HPUX_SOURCE | ||
2733 | # SVR4 -Xc -D__EXTENSIONS__ | ||
2734 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | ||
2735 | do | 3360 | do |
2736 | CC="$ac_save_CC $ac_arg" | 3361 | CC="$ac_save_CC $ac_arg" |
2737 | rm -f conftest.$ac_objext | 3362 | rm -f conftest.$ac_objext |
2738 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3363 | if { (ac_try="$ac_compile" |
2739 | (eval $ac_compile) 2>conftest.er1 | 3364 | case "(($ac_try" in |
3365 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3366 | *) ac_try_echo=$ac_try;; | ||
3367 | esac | ||
3368 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3369 | (eval "$ac_compile") 2>conftest.er1 | ||
2740 | ac_status=$? | 3370 | ac_status=$? |
2741 | grep -v '^ *+' conftest.er1 >conftest.err | 3371 | grep -v '^ *+' conftest.er1 >conftest.err |
2742 | rm -f conftest.er1 | 3372 | rm -f conftest.er1 |
2743 | cat conftest.err >&5 | 3373 | cat conftest.err >&5 |
2744 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3374 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2745 | (exit $ac_status); } && | 3375 | (exit $ac_status); } && |
2746 | { ac_try='test -z "$ac_c_werror_flag" | 3376 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2747 | || test ! -s conftest.err' | 3377 | { (case "(($ac_try" in |
2748 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3378 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2749 | (eval $ac_try) 2>&5 | 3379 | *) ac_try_echo=$ac_try;; |
3380 | esac | ||
3381 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3382 | (eval "$ac_try") 2>&5 | ||
2750 | ac_status=$? | 3383 | ac_status=$? |
2751 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3384 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2752 | (exit $ac_status); }; } && | 3385 | (exit $ac_status); }; } && |
2753 | { ac_try='test -s conftest.$ac_objext' | 3386 | { ac_try='test -s conftest.$ac_objext' |
2754 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3387 | { (case "(($ac_try" in |
2755 | (eval $ac_try) 2>&5 | 3388 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3389 | *) ac_try_echo=$ac_try;; | ||
3390 | esac | ||
3391 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3392 | (eval "$ac_try") 2>&5 | ||
2756 | ac_status=$? | 3393 | ac_status=$? |
2757 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3394 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2758 | (exit $ac_status); }; }; then | 3395 | (exit $ac_status); }; }; then |
2759 | ac_cv_prog_cc_stdc=$ac_arg | 3396 | ac_cv_prog_cc_c89=$ac_arg |
2760 | break | ||
2761 | else | 3397 | else |
2762 | echo "$as_me: failed program was:" >&5 | 3398 | echo "$as_me: failed program was:" >&5 |
2763 | sed 's/^/| /' conftest.$ac_ext >&5 | 3399 | sed 's/^/| /' conftest.$ac_ext >&5 |
2764 | 3400 | ||
3401 | |||
2765 | fi | 3402 | fi |
2766 | rm -f conftest.err conftest.$ac_objext | 3403 | |
3404 | rm -f core conftest.err conftest.$ac_objext | ||
3405 | test "x$ac_cv_prog_cc_c89" != "xno" && break | ||
2767 | done | 3406 | done |
2768 | rm -f conftest.$ac_ext conftest.$ac_objext | 3407 | rm -f conftest.$ac_ext |
2769 | CC=$ac_save_CC | 3408 | CC=$ac_save_CC |
2770 | 3409 | ||
2771 | fi | 3410 | fi |
2772 | 3411 | # AC_CACHE_VAL | |
2773 | case "x$ac_cv_prog_cc_stdc" in | 3412 | case "x$ac_cv_prog_cc_c89" in |
2774 | x|xno) | 3413 | x) |
2775 | echo "$as_me:$LINENO: result: none needed" >&5 | 3414 | { echo "$as_me:$LINENO: result: none needed" >&5 |
2776 | echo "${ECHO_T}none needed" >&6 ;; | 3415 | echo "${ECHO_T}none needed" >&6; } ;; |
3416 | xno) | ||
3417 | { echo "$as_me:$LINENO: result: unsupported" >&5 | ||
3418 | echo "${ECHO_T}unsupported" >&6; } ;; | ||
2777 | *) | 3419 | *) |
2778 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | 3420 | CC="$CC $ac_cv_prog_cc_c89" |
2779 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | 3421 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
2780 | CC="$CC $ac_cv_prog_cc_stdc" ;; | 3422 | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
2781 | esac | 3423 | esac |
2782 | 3424 | ||
2783 | # Some people use a C++ compiler to compile C. Since we use `exit', | ||
2784 | # in C++ we need to declare it. In case someone uses the same compiler | ||
2785 | # for both compiling C and C++ we need to have the C++ compiler decide | ||
2786 | # the declaration of exit, since it's the most demanding environment. | ||
2787 | cat >conftest.$ac_ext <<_ACEOF | ||
2788 | #ifndef __cplusplus | ||
2789 | choke me | ||
2790 | #endif | ||
2791 | _ACEOF | ||
2792 | rm -f conftest.$ac_objext | ||
2793 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2794 | (eval $ac_compile) 2>conftest.er1 | ||
2795 | ac_status=$? | ||
2796 | grep -v '^ *+' conftest.er1 >conftest.err | ||
2797 | rm -f conftest.er1 | ||
2798 | cat conftest.err >&5 | ||
2799 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2800 | (exit $ac_status); } && | ||
2801 | { ac_try='test -z "$ac_c_werror_flag" | ||
2802 | || test ! -s conftest.err' | ||
2803 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2804 | (eval $ac_try) 2>&5 | ||
2805 | ac_status=$? | ||
2806 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2807 | (exit $ac_status); }; } && | ||
2808 | { ac_try='test -s conftest.$ac_objext' | ||
2809 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2810 | (eval $ac_try) 2>&5 | ||
2811 | ac_status=$? | ||
2812 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2813 | (exit $ac_status); }; }; then | ||
2814 | for ac_declaration in \ | ||
2815 | '' \ | ||
2816 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ | ||
2817 | 'extern "C" void std::exit (int); using std::exit;' \ | ||
2818 | 'extern "C" void exit (int) throw ();' \ | ||
2819 | 'extern "C" void exit (int);' \ | ||
2820 | 'void exit (int);' | ||
2821 | do | ||
2822 | cat >conftest.$ac_ext <<_ACEOF | ||
2823 | /* confdefs.h. */ | ||
2824 | _ACEOF | ||
2825 | cat confdefs.h >>conftest.$ac_ext | ||
2826 | cat >>conftest.$ac_ext <<_ACEOF | ||
2827 | /* end confdefs.h. */ | ||
2828 | $ac_declaration | ||
2829 | #include <stdlib.h> | ||
2830 | int | ||
2831 | main () | ||
2832 | { | ||
2833 | exit (42); | ||
2834 | ; | ||
2835 | return 0; | ||
2836 | } | ||
2837 | _ACEOF | ||
2838 | rm -f conftest.$ac_objext | ||
2839 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2840 | (eval $ac_compile) 2>conftest.er1 | ||
2841 | ac_status=$? | ||
2842 | grep -v '^ *+' conftest.er1 >conftest.err | ||
2843 | rm -f conftest.er1 | ||
2844 | cat conftest.err >&5 | ||
2845 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2846 | (exit $ac_status); } && | ||
2847 | { ac_try='test -z "$ac_c_werror_flag" | ||
2848 | || test ! -s conftest.err' | ||
2849 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2850 | (eval $ac_try) 2>&5 | ||
2851 | ac_status=$? | ||
2852 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2853 | (exit $ac_status); }; } && | ||
2854 | { ac_try='test -s conftest.$ac_objext' | ||
2855 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2856 | (eval $ac_try) 2>&5 | ||
2857 | ac_status=$? | ||
2858 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2859 | (exit $ac_status); }; }; then | ||
2860 | : | ||
2861 | else | ||
2862 | echo "$as_me: failed program was:" >&5 | ||
2863 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2864 | |||
2865 | continue | ||
2866 | fi | ||
2867 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2868 | cat >conftest.$ac_ext <<_ACEOF | ||
2869 | /* confdefs.h. */ | ||
2870 | _ACEOF | ||
2871 | cat confdefs.h >>conftest.$ac_ext | ||
2872 | cat >>conftest.$ac_ext <<_ACEOF | ||
2873 | /* end confdefs.h. */ | ||
2874 | $ac_declaration | ||
2875 | int | ||
2876 | main () | ||
2877 | { | ||
2878 | exit (42); | ||
2879 | ; | ||
2880 | return 0; | ||
2881 | } | ||
2882 | _ACEOF | ||
2883 | rm -f conftest.$ac_objext | ||
2884 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2885 | (eval $ac_compile) 2>conftest.er1 | ||
2886 | ac_status=$? | ||
2887 | grep -v '^ *+' conftest.er1 >conftest.err | ||
2888 | rm -f conftest.er1 | ||
2889 | cat conftest.err >&5 | ||
2890 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2891 | (exit $ac_status); } && | ||
2892 | { ac_try='test -z "$ac_c_werror_flag" | ||
2893 | || test ! -s conftest.err' | ||
2894 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2895 | (eval $ac_try) 2>&5 | ||
2896 | ac_status=$? | ||
2897 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2898 | (exit $ac_status); }; } && | ||
2899 | { ac_try='test -s conftest.$ac_objext' | ||
2900 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2901 | (eval $ac_try) 2>&5 | ||
2902 | ac_status=$? | ||
2903 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2904 | (exit $ac_status); }; }; then | ||
2905 | break | ||
2906 | else | ||
2907 | echo "$as_me: failed program was:" >&5 | ||
2908 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2909 | 3425 | ||
2910 | fi | ||
2911 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2912 | done | ||
2913 | rm -f conftest* | ||
2914 | if test -n "$ac_declaration"; then | ||
2915 | echo '#ifdef __cplusplus' >>confdefs.h | ||
2916 | echo $ac_declaration >>confdefs.h | ||
2917 | echo '#endif' >>confdefs.h | ||
2918 | fi | ||
2919 | |||
2920 | else | ||
2921 | echo "$as_me: failed program was:" >&5 | ||
2922 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2923 | |||
2924 | fi | ||
2925 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2926 | ac_ext=c | 3426 | ac_ext=c |
2927 | ac_cpp='$CPP $CPPFLAGS' | 3427 | ac_cpp='$CPP $CPPFLAGS' |
2928 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3428 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
@@ -2930,7 +3430,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ | |||
2930 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3430 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2931 | DEPDIR="${am__leading_dot}deps" | 3431 | DEPDIR="${am__leading_dot}deps" |
2932 | 3432 | ||
2933 | ac_config_commands="$ac_config_commands depfiles" | 3433 | ac_config_commands="$ac_config_commands depfiles" |
2934 | 3434 | ||
2935 | 3435 | ||
2936 | am_make=${MAKE-make} | 3436 | am_make=${MAKE-make} |
@@ -2940,8 +3440,8 @@ am__doit: | |||
2940 | .PHONY: am__doit | 3440 | .PHONY: am__doit |
2941 | END | 3441 | END |
2942 | # If we don't find an include directive, just comment out the code. | 3442 | # If we don't find an include directive, just comment out the code. |
2943 | echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 | 3443 | { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
2944 | echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 | 3444 | echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } |
2945 | am__include="#" | 3445 | am__include="#" |
2946 | am__quote= | 3446 | am__quote= |
2947 | _am_result=none | 3447 | _am_result=none |
@@ -2968,15 +3468,15 @@ if test "$am__include" = "#"; then | |||
2968 | fi | 3468 | fi |
2969 | 3469 | ||
2970 | 3470 | ||
2971 | echo "$as_me:$LINENO: result: $_am_result" >&5 | 3471 | { echo "$as_me:$LINENO: result: $_am_result" >&5 |
2972 | echo "${ECHO_T}$_am_result" >&6 | 3472 | echo "${ECHO_T}$_am_result" >&6; } |
2973 | rm -f confinc confmf | 3473 | rm -f confinc confmf |
2974 | 3474 | ||
2975 | # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. | 3475 | # Check whether --enable-dependency-tracking was given. |
2976 | if test "${enable_dependency_tracking+set}" = set; then | 3476 | if test "${enable_dependency_tracking+set}" = set; then |
2977 | enableval="$enable_dependency_tracking" | 3477 | enableval=$enable_dependency_tracking; |
3478 | fi | ||
2978 | 3479 | ||
2979 | fi; | ||
2980 | if test "x$enable_dependency_tracking" != xno; then | 3480 | if test "x$enable_dependency_tracking" != xno; then |
2981 | am_depcomp="$ac_aux_dir/depcomp" | 3481 | am_depcomp="$ac_aux_dir/depcomp" |
2982 | AMDEPBACKSLASH='\' | 3482 | AMDEPBACKSLASH='\' |
@@ -2996,8 +3496,8 @@ fi | |||
2996 | 3496 | ||
2997 | depcc="$CC" am_compiler_list= | 3497 | depcc="$CC" am_compiler_list= |
2998 | 3498 | ||
2999 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | 3499 | { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
3000 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 | 3500 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } |
3001 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then | 3501 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
3002 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3502 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3003 | else | 3503 | else |
@@ -3086,8 +3586,8 @@ else | |||
3086 | fi | 3586 | fi |
3087 | 3587 | ||
3088 | fi | 3588 | fi |
3089 | echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 | 3589 | { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
3090 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 | 3590 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } |
3091 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | 3591 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
3092 | 3592 | ||
3093 | 3593 | ||
@@ -3104,8 +3604,8 @@ fi | |||
3104 | 3604 | ||
3105 | 3605 | ||
3106 | 3606 | ||
3107 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 | 3607 | { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
3108 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 | 3608 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } |
3109 | if test "${ac_cv_c_const+set}" = set; then | 3609 | if test "${ac_cv_c_const+set}" = set; then |
3110 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3610 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3111 | else | 3611 | else |
@@ -3123,10 +3623,10 @@ main () | |||
3123 | #ifndef __cplusplus | 3623 | #ifndef __cplusplus |
3124 | /* Ultrix mips cc rejects this. */ | 3624 | /* Ultrix mips cc rejects this. */ |
3125 | typedef int charset[2]; | 3625 | typedef int charset[2]; |
3126 | const charset x; | 3626 | const charset cs; |
3127 | /* SunOS 4.1.1 cc rejects this. */ | 3627 | /* SunOS 4.1.1 cc rejects this. */ |
3128 | char const *const *ccp; | 3628 | char const *const *pcpcc; |
3129 | char **p; | 3629 | char **ppc; |
3130 | /* NEC SVR4.0.2 mips cc rejects this. */ | 3630 | /* NEC SVR4.0.2 mips cc rejects this. */ |
3131 | struct point {int x, y;}; | 3631 | struct point {int x, y;}; |
3132 | static struct point const zero = {0,0}; | 3632 | static struct point const zero = {0,0}; |
@@ -3135,16 +3635,17 @@ main () | |||
3135 | an arm of an if-expression whose if-part is not a constant | 3635 | an arm of an if-expression whose if-part is not a constant |
3136 | expression */ | 3636 | expression */ |
3137 | const char *g = "string"; | 3637 | const char *g = "string"; |
3138 | ccp = &g + (g ? g-g : 0); | 3638 | pcpcc = &g + (g ? g-g : 0); |
3139 | /* HPUX 7.0 cc rejects these. */ | 3639 | /* HPUX 7.0 cc rejects these. */ |
3140 | ++ccp; | 3640 | ++pcpcc; |
3141 | p = (char**) ccp; | 3641 | ppc = (char**) pcpcc; |
3142 | ccp = (char const *const *) p; | 3642 | pcpcc = (char const *const *) ppc; |
3143 | { /* SCO 3.2v4 cc rejects this. */ | 3643 | { /* SCO 3.2v4 cc rejects this. */ |
3144 | char *t; | 3644 | char *t; |
3145 | char const *s = 0 ? (char *) 0 : (char const *) 0; | 3645 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
3146 | 3646 | ||
3147 | *t++ = 0; | 3647 | *t++ = 0; |
3648 | if (s) return 0; | ||
3148 | } | 3649 | } |
3149 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ | 3650 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
3150 | int x[] = {25, 17}; | 3651 | int x[] = {25, 17}; |
@@ -3163,7 +3664,9 @@ main () | |||
3163 | } | 3664 | } |
3164 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | 3665 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
3165 | const int foo = 10; | 3666 | const int foo = 10; |
3667 | if (!foo) return 0; | ||
3166 | } | 3668 | } |
3669 | return !cs[0] && !zero.x; | ||
3167 | #endif | 3670 | #endif |
3168 | 3671 | ||
3169 | ; | 3672 | ; |
@@ -3171,24 +3674,36 @@ main () | |||
3171 | } | 3674 | } |
3172 | _ACEOF | 3675 | _ACEOF |
3173 | rm -f conftest.$ac_objext | 3676 | rm -f conftest.$ac_objext |
3174 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3677 | if { (ac_try="$ac_compile" |
3175 | (eval $ac_compile) 2>conftest.er1 | 3678 | case "(($ac_try" in |
3679 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3680 | *) ac_try_echo=$ac_try;; | ||
3681 | esac | ||
3682 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3683 | (eval "$ac_compile") 2>conftest.er1 | ||
3176 | ac_status=$? | 3684 | ac_status=$? |
3177 | grep -v '^ *+' conftest.er1 >conftest.err | 3685 | grep -v '^ *+' conftest.er1 >conftest.err |
3178 | rm -f conftest.er1 | 3686 | rm -f conftest.er1 |
3179 | cat conftest.err >&5 | 3687 | cat conftest.err >&5 |
3180 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3688 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3181 | (exit $ac_status); } && | 3689 | (exit $ac_status); } && |
3182 | { ac_try='test -z "$ac_c_werror_flag" | 3690 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3183 | || test ! -s conftest.err' | 3691 | { (case "(($ac_try" in |
3184 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3692 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3185 | (eval $ac_try) 2>&5 | 3693 | *) ac_try_echo=$ac_try;; |
3694 | esac | ||
3695 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3696 | (eval "$ac_try") 2>&5 | ||
3186 | ac_status=$? | 3697 | ac_status=$? |
3187 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3698 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3188 | (exit $ac_status); }; } && | 3699 | (exit $ac_status); }; } && |
3189 | { ac_try='test -s conftest.$ac_objext' | 3700 | { ac_try='test -s conftest.$ac_objext' |
3190 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3701 | { (case "(($ac_try" in |
3191 | (eval $ac_try) 2>&5 | 3702 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3703 | *) ac_try_echo=$ac_try;; | ||
3704 | esac | ||
3705 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3706 | (eval "$ac_try") 2>&5 | ||
3192 | ac_status=$? | 3707 | ac_status=$? |
3193 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3708 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3194 | (exit $ac_status); }; }; then | 3709 | (exit $ac_status); }; }; then |
@@ -3197,12 +3712,13 @@ else | |||
3197 | echo "$as_me: failed program was:" >&5 | 3712 | echo "$as_me: failed program was:" >&5 |
3198 | sed 's/^/| /' conftest.$ac_ext >&5 | 3713 | sed 's/^/| /' conftest.$ac_ext >&5 |
3199 | 3714 | ||
3200 | ac_cv_c_const=no | 3715 | ac_cv_c_const=no |
3201 | fi | 3716 | fi |
3202 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 3717 | |
3718 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3203 | fi | 3719 | fi |
3204 | echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 | 3720 | { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
3205 | echo "${ECHO_T}$ac_cv_c_const" >&6 | 3721 | echo "${ECHO_T}$ac_cv_c_const" >&6; } |
3206 | if test $ac_cv_c_const = no; then | 3722 | if test $ac_cv_c_const = no; then |
3207 | 3723 | ||
3208 | cat >>confdefs.h <<\_ACEOF | 3724 | cat >>confdefs.h <<\_ACEOF |
@@ -3211,8 +3727,8 @@ _ACEOF | |||
3211 | 3727 | ||
3212 | fi | 3728 | fi |
3213 | 3729 | ||
3214 | echo "$as_me:$LINENO: checking for inline" >&5 | 3730 | { echo "$as_me:$LINENO: checking for inline" >&5 |
3215 | echo $ECHO_N "checking for inline... $ECHO_C" >&6 | 3731 | echo $ECHO_N "checking for inline... $ECHO_C" >&6; } |
3216 | if test "${ac_cv_c_inline+set}" = set; then | 3732 | if test "${ac_cv_c_inline+set}" = set; then |
3217 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3733 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3218 | else | 3734 | else |
@@ -3232,39 +3748,54 @@ $ac_kw foo_t foo () {return 0; } | |||
3232 | 3748 | ||
3233 | _ACEOF | 3749 | _ACEOF |
3234 | rm -f conftest.$ac_objext | 3750 | rm -f conftest.$ac_objext |
3235 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3751 | if { (ac_try="$ac_compile" |
3236 | (eval $ac_compile) 2>conftest.er1 | 3752 | case "(($ac_try" in |
3753 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3754 | *) ac_try_echo=$ac_try;; | ||
3755 | esac | ||
3756 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3757 | (eval "$ac_compile") 2>conftest.er1 | ||
3237 | ac_status=$? | 3758 | ac_status=$? |
3238 | grep -v '^ *+' conftest.er1 >conftest.err | 3759 | grep -v '^ *+' conftest.er1 >conftest.err |
3239 | rm -f conftest.er1 | 3760 | rm -f conftest.er1 |
3240 | cat conftest.err >&5 | 3761 | cat conftest.err >&5 |
3241 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3762 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3242 | (exit $ac_status); } && | 3763 | (exit $ac_status); } && |
3243 | { ac_try='test -z "$ac_c_werror_flag" | 3764 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3244 | || test ! -s conftest.err' | 3765 | { (case "(($ac_try" in |
3245 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3766 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3246 | (eval $ac_try) 2>&5 | 3767 | *) ac_try_echo=$ac_try;; |
3768 | esac | ||
3769 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3770 | (eval "$ac_try") 2>&5 | ||
3247 | ac_status=$? | 3771 | ac_status=$? |
3248 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3772 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3249 | (exit $ac_status); }; } && | 3773 | (exit $ac_status); }; } && |
3250 | { ac_try='test -s conftest.$ac_objext' | 3774 | { ac_try='test -s conftest.$ac_objext' |
3251 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3775 | { (case "(($ac_try" in |
3252 | (eval $ac_try) 2>&5 | 3776 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3777 | *) ac_try_echo=$ac_try;; | ||
3778 | esac | ||
3779 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3780 | (eval "$ac_try") 2>&5 | ||
3253 | ac_status=$? | 3781 | ac_status=$? |
3254 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3782 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3255 | (exit $ac_status); }; }; then | 3783 | (exit $ac_status); }; }; then |
3256 | ac_cv_c_inline=$ac_kw; break | 3784 | ac_cv_c_inline=$ac_kw |
3257 | else | 3785 | else |
3258 | echo "$as_me: failed program was:" >&5 | 3786 | echo "$as_me: failed program was:" >&5 |
3259 | sed 's/^/| /' conftest.$ac_ext >&5 | 3787 | sed 's/^/| /' conftest.$ac_ext >&5 |
3260 | 3788 | ||
3789 | |||
3261 | fi | 3790 | fi |
3262 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 3791 | |
3792 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3793 | test "$ac_cv_c_inline" != no && break | ||
3263 | done | 3794 | done |
3264 | 3795 | ||
3265 | fi | 3796 | fi |
3266 | echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 | 3797 | { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
3267 | echo "${ECHO_T}$ac_cv_c_inline" >&6 | 3798 | echo "${ECHO_T}$ac_cv_c_inline" >&6; } |
3268 | 3799 | ||
3269 | 3800 | ||
3270 | case $ac_cv_c_inline in | 3801 | case $ac_cv_c_inline in |
@@ -3289,10 +3820,9 @@ esac | |||
3289 | ## ----------------------- ## | 3820 | ## ----------------------- ## |
3290 | 3821 | ||
3291 | 3822 | ||
3292 | # Check whether --enable-shared or --disable-shared was given. | 3823 | # Check whether --enable-shared was given. |
3293 | if test "${enable_shared+set}" = set; then | 3824 | if test "${enable_shared+set}" = set; then |
3294 | enableval="$enable_shared" | 3825 | enableval=$enable_shared; p=${PACKAGE-default} |
3295 | p=${PACKAGE-default} | ||
3296 | case $enableval in | 3826 | case $enableval in |
3297 | yes) enable_shared=yes ;; | 3827 | yes) enable_shared=yes ;; |
3298 | no) enable_shared=no ;; | 3828 | no) enable_shared=no ;; |
@@ -3311,12 +3841,12 @@ if test "${enable_shared+set}" = set; then | |||
3311 | esac | 3841 | esac |
3312 | else | 3842 | else |
3313 | enable_shared=yes | 3843 | enable_shared=yes |
3314 | fi; | 3844 | fi |
3845 | |||
3315 | 3846 | ||
3316 | # Check whether --enable-static or --disable-static was given. | 3847 | # Check whether --enable-static was given. |
3317 | if test "${enable_static+set}" = set; then | 3848 | if test "${enable_static+set}" = set; then |
3318 | enableval="$enable_static" | 3849 | enableval=$enable_static; p=${PACKAGE-default} |
3319 | p=${PACKAGE-default} | ||
3320 | case $enableval in | 3850 | case $enableval in |
3321 | yes) enable_static=yes ;; | 3851 | yes) enable_static=yes ;; |
3322 | no) enable_static=no ;; | 3852 | no) enable_static=no ;; |
@@ -3335,12 +3865,12 @@ if test "${enable_static+set}" = set; then | |||
3335 | esac | 3865 | esac |
3336 | else | 3866 | else |
3337 | enable_static=yes | 3867 | enable_static=yes |
3338 | fi; | 3868 | fi |
3869 | |||
3339 | 3870 | ||
3340 | # Check whether --enable-fast-install or --disable-fast-install was given. | 3871 | # Check whether --enable-fast-install was given. |
3341 | if test "${enable_fast_install+set}" = set; then | 3872 | if test "${enable_fast_install+set}" = set; then |
3342 | enableval="$enable_fast_install" | 3873 | enableval=$enable_fast_install; p=${PACKAGE-default} |
3343 | p=${PACKAGE-default} | ||
3344 | case $enableval in | 3874 | case $enableval in |
3345 | yes) enable_fast_install=yes ;; | 3875 | yes) enable_fast_install=yes ;; |
3346 | no) enable_fast_install=no ;; | 3876 | no) enable_fast_install=no ;; |
@@ -3359,64 +3889,94 @@ if test "${enable_fast_install+set}" = set; then | |||
3359 | esac | 3889 | esac |
3360 | else | 3890 | else |
3361 | enable_fast_install=yes | 3891 | enable_fast_install=yes |
3362 | fi; | 3892 | fi |
3893 | |||
3363 | 3894 | ||
3364 | # Make sure we can run config.sub. | 3895 | # Make sure we can run config.sub. |
3365 | $ac_config_sub sun4 >/dev/null 2>&1 || | 3896 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
3366 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | 3897 | { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
3367 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | 3898 | echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} |
3368 | { (exit 1); exit 1; }; } | 3899 | { (exit 1); exit 1; }; } |
3369 | 3900 | ||
3370 | echo "$as_me:$LINENO: checking build system type" >&5 | 3901 | { echo "$as_me:$LINENO: checking build system type" >&5 |
3371 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | 3902 | echo $ECHO_N "checking build system type... $ECHO_C" >&6; } |
3372 | if test "${ac_cv_build+set}" = set; then | 3903 | if test "${ac_cv_build+set}" = set; then |
3373 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3904 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3374 | else | 3905 | else |
3375 | ac_cv_build_alias=$build_alias | 3906 | ac_build_alias=$build_alias |
3376 | test -z "$ac_cv_build_alias" && | 3907 | test "x$ac_build_alias" = x && |
3377 | ac_cv_build_alias=`$ac_config_guess` | 3908 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
3378 | test -z "$ac_cv_build_alias" && | 3909 | test "x$ac_build_alias" = x && |
3379 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | 3910 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
3380 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | 3911 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
3381 | { (exit 1); exit 1; }; } | 3912 | { (exit 1); exit 1; }; } |
3382 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | 3913 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
3383 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | 3914 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
3384 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | 3915 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} |
3385 | { (exit 1); exit 1; }; } | 3916 | { (exit 1); exit 1; }; } |
3386 | 3917 | ||
3387 | fi | 3918 | fi |
3388 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | 3919 | { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
3389 | echo "${ECHO_T}$ac_cv_build" >&6 | 3920 | echo "${ECHO_T}$ac_cv_build" >&6; } |
3921 | case $ac_cv_build in | ||
3922 | *-*-*) ;; | ||
3923 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 | ||
3924 | echo "$as_me: error: invalid value of canonical build" >&2;} | ||
3925 | { (exit 1); exit 1; }; };; | ||
3926 | esac | ||
3390 | build=$ac_cv_build | 3927 | build=$ac_cv_build |
3391 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 3928 | ac_save_IFS=$IFS; IFS='-' |
3392 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 3929 | set x $ac_cv_build |
3393 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 3930 | shift |
3394 | 3931 | build_cpu=$1 | |
3395 | 3932 | build_vendor=$2 | |
3396 | echo "$as_me:$LINENO: checking host system type" >&5 | 3933 | shift; shift |
3397 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | 3934 | # Remember, the first character of IFS is used to create $*, |
3935 | # except with old shells: | ||
3936 | build_os=$* | ||
3937 | IFS=$ac_save_IFS | ||
3938 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | ||
3939 | |||
3940 | |||
3941 | { echo "$as_me:$LINENO: checking host system type" >&5 | ||
3942 | echo $ECHO_N "checking host system type... $ECHO_C" >&6; } | ||
3398 | if test "${ac_cv_host+set}" = set; then | 3943 | if test "${ac_cv_host+set}" = set; then |
3399 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3944 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3400 | else | 3945 | else |
3401 | ac_cv_host_alias=$host_alias | 3946 | if test "x$host_alias" = x; then |
3402 | test -z "$ac_cv_host_alias" && | 3947 | ac_cv_host=$ac_cv_build |
3403 | ac_cv_host_alias=$ac_cv_build_alias | 3948 | else |
3404 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | 3949 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
3405 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | 3950 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
3406 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | 3951 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} |
3407 | { (exit 1); exit 1; }; } | 3952 | { (exit 1); exit 1; }; } |
3953 | fi | ||
3408 | 3954 | ||
3409 | fi | 3955 | fi |
3410 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | 3956 | { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
3411 | echo "${ECHO_T}$ac_cv_host" >&6 | 3957 | echo "${ECHO_T}$ac_cv_host" >&6; } |
3958 | case $ac_cv_host in | ||
3959 | *-*-*) ;; | ||
3960 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 | ||
3961 | echo "$as_me: error: invalid value of canonical host" >&2;} | ||
3962 | { (exit 1); exit 1; }; };; | ||
3963 | esac | ||
3412 | host=$ac_cv_host | 3964 | host=$ac_cv_host |
3413 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 3965 | ac_save_IFS=$IFS; IFS='-' |
3414 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 3966 | set x $ac_cv_host |
3415 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 3967 | shift |
3416 | 3968 | host_cpu=$1 | |
3417 | 3969 | host_vendor=$2 | |
3418 | echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 | 3970 | shift; shift |
3419 | echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 | 3971 | # Remember, the first character of IFS is used to create $*, |
3972 | # except with old shells: | ||
3973 | host_os=$* | ||
3974 | IFS=$ac_save_IFS | ||
3975 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | ||
3976 | |||
3977 | |||
3978 | { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 | ||
3979 | echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; } | ||
3420 | if test "${lt_cv_path_SED+set}" = set; then | 3980 | if test "${lt_cv_path_SED+set}" = set; then |
3421 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3981 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3422 | else | 3982 | else |
@@ -3469,37 +4029,184 @@ done | |||
3469 | fi | 4029 | fi |
3470 | 4030 | ||
3471 | SED=$lt_cv_path_SED | 4031 | SED=$lt_cv_path_SED |
3472 | echo "$as_me:$LINENO: result: $SED" >&5 | 4032 | { echo "$as_me:$LINENO: result: $SED" >&5 |
3473 | echo "${ECHO_T}$SED" >&6 | 4033 | echo "${ECHO_T}$SED" >&6; } |
4034 | |||
4035 | { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 | ||
4036 | echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } | ||
4037 | if test "${ac_cv_path_GREP+set}" = set; then | ||
4038 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4039 | else | ||
4040 | # Extract the first word of "grep ggrep" to use in msg output | ||
4041 | if test -z "$GREP"; then | ||
4042 | set dummy grep ggrep; ac_prog_name=$2 | ||
4043 | if test "${ac_cv_path_GREP+set}" = set; then | ||
4044 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4045 | else | ||
4046 | ac_path_GREP_found=false | ||
4047 | # Loop through the user's path and test for each of PROGNAME-LIST | ||
4048 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
4049 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | ||
4050 | do | ||
4051 | IFS=$as_save_IFS | ||
4052 | test -z "$as_dir" && as_dir=. | ||
4053 | for ac_prog in grep ggrep; do | ||
4054 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
4055 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | ||
4056 | { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue | ||
4057 | # Check for GNU ac_path_GREP and select it if it is found. | ||
4058 | # Check for GNU $ac_path_GREP | ||
4059 | case `"$ac_path_GREP" --version 2>&1` in | ||
4060 | *GNU*) | ||
4061 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | ||
4062 | *) | ||
4063 | ac_count=0 | ||
4064 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" | ||
4065 | while : | ||
4066 | do | ||
4067 | cat "conftest.in" "conftest.in" >"conftest.tmp" | ||
4068 | mv "conftest.tmp" "conftest.in" | ||
4069 | cp "conftest.in" "conftest.nl" | ||
4070 | echo 'GREP' >> "conftest.nl" | ||
4071 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | ||
4072 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | ||
4073 | ac_count=`expr $ac_count + 1` | ||
4074 | if test $ac_count -gt ${ac_path_GREP_max-0}; then | ||
4075 | # Best one so far, save it but keep looking for a better one | ||
4076 | ac_cv_path_GREP="$ac_path_GREP" | ||
4077 | ac_path_GREP_max=$ac_count | ||
4078 | fi | ||
4079 | # 10*(2^10) chars as input seems more than enough | ||
4080 | test $ac_count -gt 10 && break | ||
4081 | done | ||
4082 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | ||
4083 | esac | ||
4084 | |||
4085 | |||
4086 | $ac_path_GREP_found && break 3 | ||
4087 | done | ||
4088 | done | ||
4089 | |||
4090 | done | ||
4091 | IFS=$as_save_IFS | ||
4092 | |||
4093 | |||
4094 | fi | ||
4095 | |||
4096 | GREP="$ac_cv_path_GREP" | ||
4097 | if test -z "$GREP"; then | ||
4098 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | ||
4099 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | ||
4100 | { (exit 1); exit 1; }; } | ||
4101 | fi | ||
3474 | 4102 | ||
3475 | echo "$as_me:$LINENO: checking for egrep" >&5 | 4103 | else |
3476 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | 4104 | ac_cv_path_GREP=$GREP |
3477 | if test "${ac_cv_prog_egrep+set}" = set; then | 4105 | fi |
4106 | |||
4107 | |||
4108 | fi | ||
4109 | { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 | ||
4110 | echo "${ECHO_T}$ac_cv_path_GREP" >&6; } | ||
4111 | GREP="$ac_cv_path_GREP" | ||
4112 | |||
4113 | |||
4114 | { echo "$as_me:$LINENO: checking for egrep" >&5 | ||
4115 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } | ||
4116 | if test "${ac_cv_path_EGREP+set}" = set; then | ||
3478 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4117 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3479 | else | 4118 |