aboutsummaryrefslogtreecommitdiff
path: root/libltdl/configure
diff options
context:
space:
mode:
Diffstat (limited to 'libltdl/configure')
-rwxr-xr-xlibltdl/configure8571
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+"$@"}'='"$@"'
21elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 22 setopt NO_GLOB_SUBST
22 set -o posix 23else
24 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
23fi 25fi
26BIN_SH=xpg4; export BIN_SH # for Tru64
24DUALCASE=1; export DUALCASE # for MKS sh 27DUALCASE=1; export DUALCASE # for MKS sh
25 28
29
30# PATH needs CR
31# Avoid depending upon Character Ranges.
32as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35as_cr_digits='0123456789'
36as_cr_alnum=$as_cr_Letters$as_cr_digits
37
38# The user is always right.
39if 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
49fi
50
26# Support unset when possible. 51# Support unset when possible.
27if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 52if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28 as_unset=unset 53 as_unset=unset
@@ -31,8 +56,43 @@ else
31fi 56fi
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.)
64as_nl='
65'
66IFS=" "" $as_nl"
67
68# Find who we are. Look in the path if we contain no directory separator.
69case $0 in
70 *[\\/]* ) as_myself=$0 ;;
71 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72for as_dir in $PATH
73do
74 IFS=$as_save_IFS
75 test -z "$as_dir" && as_dir=.
76 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
77done
78IFS=$as_save_IFS
79
80 ;;
81esac
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.
84if test "x$as_myself" = x; then
85 as_myself=$0
86fi
87if 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; }
90fi
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 93for as_var in ENV MAIL MAILPATH
94do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
95done
36PS1='$ ' 96PS1='$ '
37PS2='> ' 97PS2='> '
38PS4='+ ' 98PS4='+ '
@@ -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
51done 111done
52 112
53# Required to use basename. 113# Required to use basename.
54if expr a : '\(a\)' >/dev/null 2>&1; then 114if expr a : '\(a\)' >/dev/null 2>&1 &&
115 test "X`expr 00001 : '.*\(...\)'`" = X001; then
55 as_expr=expr 116 as_expr=expr
56else 117else
57 as_expr=false 118 as_expr=false
58fi 119fi
59 120
60if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 121if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
61 as_basename=basename 122 as_basename=basename
62else 123else
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.
68as_me=`$as_basename "$0" || 129as_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 ||
73echo X/"$0" | 133echo 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.
82as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85as_cr_digits='0123456789'
86as_cr_alnum=$as_cr_Letters$as_cr_digits
87 151
88# The user is always right. 152if test "x$CONFIG_SHELL" = x; then
89if 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 155else
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
99fi 157fi
100 158
159 if test $as_have_required = yes && (eval ":
160(as_func_return () {
161 (exit \$1)
162}
163as_func_success () {
164 as_func_return 0
165}
166as_func_failure () {
167 as_func_return 1
168}
169as_func_ret_success () {
170 return 0
171}
172as_func_ret_failure () {
173 return 1
174}
101 175
102 as_lineno_1=$LINENO 176exitcode=0
103 as_lineno_2=$LINENO 177if 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" && 179else
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. 182fi
109 case $0 in
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112for as_dir in $PATH
113do
114 IFS=$as_save_IFS
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117done
118 183
119 ;; 184if 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. 187fi
123 if test "x$as_myself" = x; then 188
124 as_myself=$0 189if as_func_ret_success; then
125 fi 190 :
126 if test ! -f "$as_myself"; then 191else
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 194fi
130 case $CONFIG_SHELL in 195
131 '') 196if as_func_ret_failure; then
197 exitcode=1
198 echo as_func_ret_failure succeeded.
199fi
200
201if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
202 :
203else
204 exitcode=1
205 echo positional parameters were not saved.
206fi
207
208test \$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 :
217else
218 as_candidate_shells=
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 220for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134do 221do
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
230done
231IFS=$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
239if 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
246else
247 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
248fi
249BIN_SH=xpg4; export BIN_SH # for Tru64
250DUALCASE=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
259if 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
266else
267 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
268fi
269BIN_SH=xpg4; export BIN_SH # for Tru64
270DUALCASE=1; export DUALCASE # for MKS sh
271
272:
273(as_func_return () {
274 (exit $1)
275}
276as_func_success () {
277 as_func_return 0
278}
279as_func_failure () {
280 as_func_return 1
281}
282as_func_ret_success () {
283 return 0
284}
285as_func_ret_failure () {
286 return 1
287}
288
289exitcode=0
290if as_func_success; then
291 :
292else
293 exitcode=1
294 echo as_func_success failed.
295fi
296
297if as_func_failure; then
298 exitcode=1
299 echo as_func_failure succeeded.
300fi
301
302if as_func_ret_success; then
303 :
304else
305 exitcode=1
306 echo as_func_ret_success failed.
307fi
308
309if as_func_ret_failure; then
310 exitcode=1
311 echo as_func_ret_failure succeeded.
312fi
313
314if ( set x; as_func_ret_success y && test x = "$1" ); then
315 :
316else
317 exitcode=1
318 echo positional parameters were not saved.
319fi
320
321test $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+"$@"} 332fi
151 fi;; 333
152 esac 334fi
153 done 335
154done 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+"$@"}
344fi
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; }
353fi
354
355
356fi
357
358fi
359
360
361
362(eval "as_func_return () {
363 (exit \$1)
364}
365as_func_success () {
366 as_func_return 0
367}
368as_func_failure () {
369 as_func_return 1
370}
371as_func_ret_success () {
372 return 0
373}
374as_func_ret_failure () {
375 return 1
376}
377
378exitcode=0
379if as_func_success; then
380 :
381else
382 exitcode=1
383 echo as_func_success failed.
384fi
385
386if as_func_failure; then
387 exitcode=1
388 echo as_func_failure succeeded.
389fi
390
391if as_func_ret_success; then
392 :
393else
394 exitcode=1
395 echo as_func_ret_success failed.
396fi
397
398if as_func_ret_failure; then
399 exitcode=1
400 echo as_func_ret_failure succeeded.
401fi
402
403if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
404 :
405else
406 exitcode=1
407 echo positional parameters were not saved.
408fi
409
410test \$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
189case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 462if (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=' ' ;; 464else
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 465 as_dirname=false
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 466fi
467
468ECHO_C= ECHO_N= ECHO_T=
469case `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';;
194esac 477esac
195 478
196if expr a : '\(a\)' >/dev/null 2>&1; then 479if expr a : '\(a\)' >/dev/null 2>&1 &&
480 test "X`expr 00001 : '.*\(...\)'`" = X001; then
197 as_expr=expr 481 as_expr=expr
198else 482else
199 as_expr=false 483 as_expr=false
200fi 484fi
201 485
202rm -f conf$$ conf$$.exe conf$$.file 486rm -f conf$$ conf$$.exe conf$$.file
487if test -d conf$$.dir; then
488 rm -f conf$$.dir/conf$$.file
489else
490 rm -f conf$$.dir
491 mkdir conf$$.dir
492fi
203echo >conf$$.file 493echo >conf$$.file
204if ln -s conf$$.file conf$$ 2>/dev/null; then 494if 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
213elif ln conf$$.file conf$$ 2>/dev/null; then 502elif ln conf$$.file conf$$ 2>/dev/null; then
214 as_ln_s=ln 503 as_ln_s=ln
215else 504else
216 as_ln_s='cp -p' 505 as_ln_s='cp -p'
217fi 506fi
218rm -f conf$$ conf$$.exe conf$$.file 507rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
508rmdir conf$$.dir 2>/dev/null
219 509
220if mkdir -p . 2>/dev/null; then 510if 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
225fi 515fi
226 516
227as_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.
519cat >conf$$.file <<_ASEOF
520#! /bin/sh
521exit 0
522_ASEOF
523chmod +x conf$$.file
524if test -x conf$$.file >/dev/null 2>&1; then
525 as_executable_p="test -x"
526else
527 as_executable_p=:
528fi
529rm -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.
230as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 532as_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'"
233as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 535as_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.
238as_nl='
239'
240IFS=" $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
398tagnames=${tagnames+${tagnames},}F77 691tagnames=${tagnames+${tagnames},}F77
399 692
693exec 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.
403ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 698ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
404 699
405exec 6>&1
406
407# 700#
408# Initializations. 701# Initializations.
409# 702#
410ac_default_prefix=/usr/local 703ac_default_prefix=/usr/local
704ac_clean_files=
411ac_config_libobj_dir=. 705ac_config_libobj_dir=.
706LIBOBJS=
412cross_compiling=no 707cross_compiling=no
413subdirs= 708subdirs=
414MFLAGS= 709MFLAGS=
415MAKEFLAGS= 710MAKEFLAGS=
416SHELL=${CONFIG_SHELL-/bin/sh} 711SHELL=${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.
424PACKAGE_NAME='libltdl' 714PACKAGE_NAME='libltdl'
425PACKAGE_TARNAME='libltdl' 715PACKAGE_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.
432ac_includes_default="\ 722ac_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
468ac_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' 757ac_subst_vars='SHELL
758PATH_SEPARATOR
759PACKAGE_NAME
760PACKAGE_TARNAME
761PACKAGE_VERSION
762PACKAGE_STRING
763PACKAGE_BUGREPORT
764exec_prefix
765prefix
766program_transform_name
767bindir
768sbindir
769libexecdir
770datarootdir
771datadir
772sysconfdir
773sharedstatedir
774localstatedir
775includedir
776oldincludedir
777docdir
778infodir
779htmldir
780dvidir
781pdfdir
782psdir
783libdir
784localedir
785mandir
786DEFS
787ECHO_C
788ECHO_N
789ECHO_T
790LIBS
791build_alias
792host_alias
793target_alias
794INSTALL_PROGRAM
795INSTALL_SCRIPT
796INSTALL_DATA
797CYGPATH_W
798PACKAGE
799VERSION
800ACLOCAL
801AUTOCONF
802AUTOMAKE
803AUTOHEADER
804MAKEINFO
805AMTAR
806install_sh
807STRIP
808INSTALL_STRIP_PROGRAM
809mkdir_p
810AWK
811SET_MAKE
812am__leading_dot
813MAINTAINER_MODE_TRUE
814MAINTAINER_MODE_FALSE
815MAINT
816CC
817CFLAGS
818LDFLAGS
819CPPFLAGS
820ac_ct_CC
821EXEEXT
822OBJEXT
823DEPDIR
824am__include
825am__quote
826AMDEP_TRUE
827AMDEP_FALSE
828AMDEPBACKSLASH
829CCDEPMODE
830am__fastdepCC_TRUE
831am__fastdepCC_FALSE
832build
833build_cpu
834build_vendor
835build_os
836host
837host_cpu
838host_vendor
839host_os
840GREP
841EGREP
842LN_S
843ECHO
844AR
845RANLIB
846DLLTOOL
847AS
848OBJDUMP
849CPP
850CXX
851CXXFLAGS
852ac_ct_CXX
853CXXDEPMODE
854am__fastdepCXX_TRUE
855am__fastdepCXX_FALSE
856CXXCPP
857F77
858FFLAGS
859ac_ct_F77
860LIBTOOL
861LIBTOOL_DEPS
862INSTALL_LTDL_TRUE
863INSTALL_LTDL_FALSE
864CONVENIENCE_LTDL_TRUE
865CONVENIENCE_LTDL_FALSE
866LIBADD_DL
867LIBOBJS
868LTLIBOBJS'
469ac_subst_files='' 869ac_subst_files=''
870 ac_precious_vars='build_alias
871host_alias
872target_alias
873CC
874CFLAGS
875LDFLAGS
876CPPFLAGS
877CPP
878CXX
879CXXFLAGS
880CCC
881CXXCPP
882F77
883FFLAGS'
884
470 885
471# Initialize some variables set by options. 886# Initialize some variables set by options.
472ac_init_help= 887ac_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.)
496bindir='${exec_prefix}/bin' 912bindir='${exec_prefix}/bin'
497sbindir='${exec_prefix}/sbin' 913sbindir='${exec_prefix}/sbin'
498libexecdir='${exec_prefix}/libexec' 914libexecdir='${exec_prefix}/libexec'
499datadir='${prefix}/share' 915datarootdir='${prefix}/share'
916datadir='${datarootdir}'
500sysconfdir='${prefix}/etc' 917sysconfdir='${prefix}/etc'
501sharedstatedir='${prefix}/com' 918sharedstatedir='${prefix}/com'
502localstatedir='${prefix}/var' 919localstatedir='${prefix}/var'
503libdir='${exec_prefix}/lib'
504includedir='${prefix}/include' 920includedir='${prefix}/include'
505oldincludedir='/usr/include' 921oldincludedir='/usr/include'
506infodir='${prefix}/info' 922docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
507mandir='${prefix}/man' 923infodir='${datarootdir}/info'
924htmldir='${docdir}'
925dvidir='${docdir}'
926pdfdir='${docdir}'
927psdir='${docdir}'
928libdir='${exec_prefix}/lib'
929localedir='${datarootdir}/locale'
930mandir='${datarootdir}/man'
508 931
509ac_prev= 932ac_prev=
933ac_dashdash=
510for ac_option 934for ac_option
511do 935do
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; }; }
812fi 1267fi
813 1268
814# Be sure to have absolute paths. 1269# Be sure to have absolute directory names.
815for ac_var in exec_prefix prefix 1270for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
816do 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
823done
824
825# Be sure to have absolute paths.
826for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
827 localstatedir libdir includedir oldincludedir infodir mandir
828do 1274do
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; }; }
835done 1282done
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-
858test "$silent" = yes && exec 6>/dev/null 1305test "$silent" = yes && exec 6>/dev/null
859 1306
860 1307
1308ac_pwd=`pwd` && test -n "$ac_pwd" &&
1309ac_ls_di=`ls -di .` &&
1310ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1311 { echo "$as_me: error: Working directory cannot be determined" >&2
1312 { (exit 1); exit 1; }; }
1313test "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.
862if test -z "$srcdir"; then 1319if 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 ||
871echo X"$0" | 1327echo 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
881else 1349else
882 ac_srcdir_defaulted=no 1350 ac_srcdir_defaulted=no
883fi 1351fi
884if test ! -r $srcdir/$ac_unique_file; then 1352if 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
892fi 1356fi
893(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 1357ac_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 1358ac_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; }; }
896srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 1361 pwd)`
897ac_env_build_alias_set=${build_alias+set} 1362# When building in place, set srcdir=.
898ac_env_build_alias_value=$build_alias 1363if test "$ac_abs_confdir" = "$ac_pwd"; then
899ac_cv_env_build_alias_set=${build_alias+set} 1364 srcdir=.
900ac_cv_env_build_alias_value=$build_alias 1365fi
901ac_env_host_alias_set=${host_alias+set} 1366# Remove unnecessary trailing slashes from srcdir.
902ac_env_host_alias_value=$host_alias 1367# Double slashes in file names in object file debugging info
903ac_cv_env_host_alias_set=${host_alias+set} 1368# mess up M-x gdb in Emacs.
904ac_cv_env_host_alias_value=$host_alias 1369case $srcdir in
905ac_env_target_alias_set=${target_alias+set} 1370*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
906ac_env_target_alias_value=$target_alias 1371esac
907ac_cv_env_target_alias_set=${target_alias+set} 1372for ac_var in $ac_precious_vars; do
908ac_cv_env_target_alias_value=$target_alias 1373 eval ac_env_${ac_var}_set=\${${ac_var}+set}
909ac_env_CC_set=${CC+set} 1374 eval ac_env_${ac_var}_value=\$${ac_var}
910ac_env_CC_value=$CC 1375 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
911ac_cv_env_CC_set=${CC+set} 1376 eval ac_cv_env_${ac_var}_value=\$${ac_var}
912ac_cv_env_CC_value=$CC 1377done
913ac_env_CFLAGS_set=${CFLAGS+set}
914ac_env_CFLAGS_value=$CFLAGS
915ac_cv_env_CFLAGS_set=${CFLAGS+set}
916ac_cv_env_CFLAGS_value=$CFLAGS
917ac_env_LDFLAGS_set=${LDFLAGS+set}
918ac_env_LDFLAGS_value=$LDFLAGS
919ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
920ac_cv_env_LDFLAGS_value=$LDFLAGS
921ac_env_CPPFLAGS_set=${CPPFLAGS+set}
922ac_env_CPPFLAGS_value=$CPPFLAGS
923ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
924ac_cv_env_CPPFLAGS_value=$CPPFLAGS
925ac_env_CPP_set=${CPP+set}
926ac_env_CPP_value=$CPP
927ac_cv_env_CPP_set=${CPP+set}
928ac_cv_env_CPP_value=$CPP
929ac_env_CXX_set=${CXX+set}
930ac_env_CXX_value=$CXX
931ac_cv_env_CXX_set=${CXX+set}
932ac_cv_env_CXX_value=$CXX
933ac_env_CXXFLAGS_set=${CXXFLAGS+set}
934ac_env_CXXFLAGS_value=$CXXFLAGS
935ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
936ac_cv_env_CXXFLAGS_value=$CXXFLAGS
937ac_env_CXXCPP_set=${CXXCPP+set}
938ac_env_CXXCPP_value=$CXXCPP
939ac_cv_env_CXXCPP_set=${CXXCPP+set}
940ac_cv_env_CXXCPP_value=$CXXCPP
941ac_env_F77_set=${F77+set}
942ac_env_F77_value=$F77
943ac_cv_env_F77_set=${F77+set}
944ac_cv_env_F77_value=$F77
945ac_env_FFLAGS_set=${FFLAGS+set}
946ac_env_FFLAGS_value=$FFLAGS
947ac_cv_env_FFLAGS_set=${FFLAGS+set}
948ac_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
980Installation directories: 1406Installation 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
1052Some influential environment variables: 1482Some 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
1069Report bugs to <bug-libtool@gnu.org>. 1499Report bugs to <bug-libtool@gnu.org>.
1070_ACEOF 1500_ACEOF
1501ac_status=$?
1071fi 1502fi
1072 1503
1073if test "$ac_init_help" = "recursive"; then 1504if 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
1080if test "$ac_dir" != .; then 1510case "$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,/,,'`
1084else 1516 case $ac_top_builddir_sub in
1085 ac_dir_suffix= ac_top_builddir= 1517 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1086fi 1518 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1519 esac ;;
1520esac
1521ac_abs_top_builddir=$ac_pwd
1522ac_abs_builddir=$ac_pwd$ac_dir_suffix
1523# for backward compatibility:
1524ac_top_builddir=$ac_top_build_prefix
1087 1525
1088case $srcdir in 1526case $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
1102esac 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.
1106case `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;;
1114esac 1539esac
1115case $ac_abs_builddir in 1540ac_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
1123esac 1548 echo &&
1124case $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;;
1132esac
1133case $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;;
1141esac
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
1160fi 1555fi
1161 1556
1162test -n "$ac_init_help" && exit 0 1557test -n "$ac_init_help" && exit $ac_status
1163if $ac_init_version; then 1558if $ac_init_version; then
1164 cat <<\_ACEOF 1559 cat <<\_ACEOF
1165libltdl configure 1.2 1560libltdl configure 1.2
1166generated by GNU Autoconf 2.59 1561generated by GNU Autoconf 2.60a
1167 1562
1168Copyright (C) 2003 Free Software Foundation, Inc. 1563Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
15642002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1169This configure script is free software; the Free Software Foundation 1565This configure script is free software; the Free Software Foundation
1170gives unlimited permission to copy, distribute and modify it. 1566gives unlimited permission to copy, distribute and modify it.
1171_ACEOF 1567_ACEOF
1172 exit 0 1568 exit
1173fi 1569fi
1174exec 5>config.log 1570cat >config.log <<_ACEOF
1175cat >&5 <<_ACEOF
1176This file contains any messages produced by compilers while 1571This file contains any messages produced by compilers while
1177running configure, to aid debugging if configure makes a mistake. 1572running configure, to aid debugging if configure makes a mistake.
1178 1573
1179It was created by libltdl $as_me 1.2, which was 1574It was created by libltdl $as_me 1.2, which was
1180generated by GNU Autoconf 2.59. Invocation command line was 1575generated by GNU Autoconf 2.60a. Invocation command line was
1181 1576
1182 $ $0 $@ 1577 $ $0 $@
1183 1578
1184_ACEOF 1579_ACEOF
1580exec 5>>config.log
1185{ 1581{
1186cat <<_ASUNAME 1582cat <<_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`
1203hostinfo = `(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"
1216done 1612done
1613IFS=$as_save_IFS
1217 1614
1218} >&5 1615} >&5
1219 1616
@@ -1235,7 +1632,6 @@ _ACEOF
1235ac_configure_args= 1632ac_configure_args=
1236ac_configure_args0= 1633ac_configure_args0=
1237ac_configure_args1= 1634ac_configure_args1=
1238ac_sep=
1239ac_must_keep_next=false 1635ac_must_keep_next=false
1240for ac_pass in 1 2 1636for ac_pass in 1 2
1241do 1637do
@@ -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.
1286trap 'exit_status=$? 1680trap '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
1699echo "$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
1360for ac_signal in 1 2 13 15; do 1774for 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
1362done 1776done
1363ac_signal=0 1777ac_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.
1366rm -rf conftest* confdefs.h 1780rm -f -r conftest* confdefs.h
1367# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1368echo >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.
1399if test -z "$CONFIG_SITE"; then 1811if 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" 1813elif 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" 1815else
1404 fi 1816 set x "$ac_default_prefix/share/config.site" \
1817 "$ac_default_prefix/etc/config.site"
1405fi 1818fi
1406for ac_site_file in $CONFIG_SITE; do 1819shift
1820for ac_site_file
1821do
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
1409echo "$as_me: loading site script $ac_site_file" >&6;} 1824echo "$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
1420echo "$as_me: loading cache $cache_file" >&6;} 1835echo "$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
1426else 1841else
@@ -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.
1434ac_cache_corrupted=false 1849ac_cache_corrupted=false
1435for ac_var in `(set) 2>&1 | 1850for 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; }; }
1481fi 1894fi
1482 1895
1483ac_ext=c
1484ac_cpp='$CPP $CPPFLAGS'
1485ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1486ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1487ac_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
1920ac_ext=c
1921ac_cpp='$CPP $CPPFLAGS'
1922ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1923ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1924ac_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
1522ac_aux_dir= 1934ac_aux_dir=
1523for ac_dir in . $srcdir/.; do 1935for 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
1537done 1949done
1538if test -z "$ac_aux_dir"; then 1950if 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
1540echo "$as_me: error: cannot find install-sh or install.sh in . $srcdir/." >&2;} 1952echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
1541 { (exit 1); exit 1; }; } 1953 { (exit 1); exit 1; }; }
1542fi 1954fi
1543ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1955
1544ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1956# These three variables are undocumented and unsupported,
1545ac_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.
1960ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1961ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1962ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1963
1546 1964
1547 1965
1548if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then 1966if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then
@@ -1565,7 +1983,7 @@ fi
1565## ------------------------ ## 1983## ------------------------ ##
1566## Automake Initialisation. ## 1984## Automake Initialisation. ##
1567## ------------------------ ## 1985## ------------------------ ##
1568am__api_version="1.9" 1986am__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.
1582echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2000{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1583echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 2001echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1584if test -z "$INSTALL"; then 2002if test -z "$INSTALL"; then
1585if test "${ac_cv_path_install+set}" = set; then 2003if 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 ;;
1622esac 2040esac
1623done 2041done
2042IFS=$as_save_IFS
1624 2043
1625 2044
1626fi 2045fi
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
1636fi 2055fi
1637echo "$as_me:$LINENO: result: $INSTALL" >&5 2056{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1638echo "${ECHO_T}$INSTALL" >&6 2057echo "${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
1646test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2065test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1647 2066
1648echo "$as_me:$LINENO: checking whether build environment is sane" >&5 2067{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1649echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 2068echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1650# Just in case 2069# Just in case
1651sleep 1 2070sleep 1
1652echo timestamp > conftest.file 2071echo timestamp > conftest.file
@@ -1688,20 +2107,20 @@ echo "$as_me: error: newly created file is older than distributed files!
1688Check your system clock" >&2;} 2107Check your system clock" >&2;}
1689 { (exit 1); exit 1; }; } 2108 { (exit 1); exit 1; }; }
1690fi 2109fi
1691echo "$as_me:$LINENO: result: yes" >&5 2110{ echo "$as_me:$LINENO: result: yes" >&5
1692echo "${ECHO_T}yes" >&6 2111echo "${ECHO_T}yes" >&6; }
1693test "$program_prefix" != NONE && 2112test "$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.
1696test "$program_suffix" != NONE && 2115test "$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.
1700cat <<\_ACEOF >conftest.sed 2119cat <<\_ACEOF >conftest.sed
1701s/[\\$]/&&/g;s/;s,x,x,$// 2120s/[\\$]/&&/g;s/;s,x,x,$//
1702_ACEOF 2121_ACEOF
1703program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 2122program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1704rm conftest.sed 2123rm -f conftest.sed
1705 2124
1706# expand $ac_aux_dir to an absolute path 2125# expand $ac_aux_dir to an absolute path
1707am_aux_dir=`cd $ac_aux_dir && pwd` 2126am_aux_dir=`cd $ac_aux_dir && pwd`
@@ -1717,21 +2136,13 @@ echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1717fi 2136fi
1718 2137
1719if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 2138if 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 --'
1735else 2146else
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
1753do 2164do
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.
1755set dummy $ac_prog; ac_word=$2 2166set dummy $ac_prog; ac_word=$2
1756echo "$as_me:$LINENO: checking for $ac_word" >&5 2167{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1757echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2168echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1758if test "${ac_cv_prog_AWK+set}" = set; then 2169if test "${ac_cv_prog_AWK+set}" = set; then
1759 echo $ECHO_N "(cached) $ECHO_C" >&6 2170 echo $ECHO_N "(cached) $ECHO_C" >&6
1760else 2171else
@@ -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
1775done 2186done
1776done 2187done
2188IFS=$as_save_IFS
1777 2189
1778fi 2190fi
1779fi 2191fi
1780AWK=$ac_cv_prog_AWK 2192AWK=$ac_cv_prog_AWK
1781if test -n "$AWK"; then 2193if test -n "$AWK"; then
1782 echo "$as_me:$LINENO: result: $AWK" >&5 2194 { echo "$as_me:$LINENO: result: $AWK" >&5
1783echo "${ECHO_T}$AWK" >&6 2195echo "${ECHO_T}$AWK" >&6; }
1784else 2196else
1785 echo "$as_me:$LINENO: result: no" >&5 2197 { echo "$as_me:$LINENO: result: no" >&5
1786echo "${ECHO_T}no" >&6 2198echo "${ECHO_T}no" >&6; }
1787fi 2199fi
1788 2200
2201
1789 test -n "$AWK" && break 2202 test -n "$AWK" && break
1790done 2203done
1791 2204
1792echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2205{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1793echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 2206echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1794set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 2207set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1795if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 2208if { 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
1797else 2210else
1798 cat >conftest.make <<\_ACEOF 2211 cat >conftest.make <<\_ACEOF
2212SHELL = /bin/sh
1799all: 2213all:
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.
1803eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 2217case `${MAKE-make} -f conftest.make 2>/dev/null` in
1804if 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;;
1806else 2220 *)
1807 eval ac_cv_prog_make_${ac_make}_set=no 2221 eval ac_cv_prog_make_${ac_make}_set=no;;
1808fi 2222esac
1809rm -f conftest.make 2223rm -f conftest.make
1810fi 2224fi
1811if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 2225if 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
1813echo "${ECHO_T}yes" >&6 2227echo "${ECHO_T}yes" >&6; }
1814 SET_MAKE= 2228 SET_MAKE=
1815else 2229else
1816 echo "$as_me:$LINENO: result: no" >&5 2230 { echo "$as_me:$LINENO: result: no" >&5
1817echo "${ECHO_T}no" >&6 2231echo "${ECHO_T}no" >&6; }
1818 SET_MAKE="MAKE=${MAKE-make}" 2232 SET_MAKE="MAKE=${MAKE-make}"
1819fi 2233fi
1820 2234
@@ -1866,6 +2280,9 @@ AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1866 2280
1867MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2281MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1868 2282
2283
2284AMTAR=${AMTAR-"${am_missing_run}tar"}
2285
1869install_sh=${install_sh-"$am_aux_dir/install-sh"} 2286install_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.
1878set dummy ${ac_tool_prefix}strip; ac_word=$2 2295set dummy ${ac_tool_prefix}strip; ac_word=$2
1879echo "$as_me:$LINENO: checking for $ac_word" >&5 2296{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1880echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2297echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1881if test "${ac_cv_prog_STRIP+set}" = set; then 2298if test "${ac_cv_prog_STRIP+set}" = set; then
1882 echo $ECHO_N "(cached) $ECHO_C" >&6 2299 echo $ECHO_N "(cached) $ECHO_C" >&6
1883else 2300else
@@ -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
1898done 2315done
1899done 2316done
2317IFS=$as_save_IFS
1900 2318
1901fi 2319fi
1902fi 2320fi
1903STRIP=$ac_cv_prog_STRIP 2321STRIP=$ac_cv_prog_STRIP
1904if test -n "$STRIP"; then 2322if test -n "$STRIP"; then
1905 echo "$as_me:$LINENO: result: $STRIP" >&5 2323 { echo "$as_me:$LINENO: result: $STRIP" >&5
1906echo "${ECHO_T}$STRIP" >&6 2324echo "${ECHO_T}$STRIP" >&6; }
1907else 2325else
1908 echo "$as_me:$LINENO: result: no" >&5 2326 { echo "$as_me:$LINENO: result: no" >&5
1909echo "${ECHO_T}no" >&6 2327echo "${ECHO_T}no" >&6; }
1910fi 2328fi
1911 2329
2330
1912fi 2331fi
1913if test -z "$ac_cv_prog_STRIP"; then 2332if 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.
1916set dummy strip; ac_word=$2 2335set dummy strip; ac_word=$2
1917echo "$as_me:$LINENO: checking for $ac_word" >&5 2336{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1918echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2337echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1919if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2338if 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
1921else 2340else
@@ -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
1936done 2355done
1937done 2356done
2357IFS=$as_save_IFS
1938 2358
1939 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1940fi 2359fi
1941fi 2360fi
1942ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2361ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1943if test -n "$ac_ct_STRIP"; then 2362if 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
1945echo "${ECHO_T}$ac_ct_STRIP" >&6 2364echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1946else 2365else
1947 echo "$as_me:$LINENO: result: no" >&5 2366 { echo "$as_me:$LINENO: result: no" >&5
1948echo "${ECHO_T}no" >&6 2367echo "${ECHO_T}no" >&6; }
1949fi 2368fi
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
2374yes:)
2375{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2376whose name does not start with the host triplet. If you think this
2377configuration is useful to you, please write to autoconf@gnu.org." >&5
2378echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2379whose name does not start with the host triplet. If you think this
2380configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2381ac_tool_warned=yes ;;
2382esac
2383 STRIP=$ac_ct_STRIP
2384 fi
1952else 2385else
1953 STRIP="$ac_cv_prog_STRIP" 2386 STRIP="$ac_cv_prog_STRIP"
1954fi 2387fi
@@ -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
1963AMTAR=${AMTAR-"${am_missing_run}tar"}
1964
1965am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1966
1967 2394
1968 2395
1969 2396
2397ac_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 2400echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
1973echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 2401 # Check whether --enable-maintainer-mode was given.
1974echo $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.
1976if test "${enable_maintainer_mode+set}" = set; then 2402if 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
1979else 2404else
1980 USE_MAINTAINER_MODE=no 2405 USE_MAINTAINER_MODE=no
1981fi; 2406fi
1982 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 2407
1983echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 2408 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2409echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
1984 2410
1985 2411
1986if test $USE_MAINTAINER_MODE = yes; then 2412if test $USE_MAINTAINER_MODE = yes; then
@@ -2007,8 +2433,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2007if test -n "$ac_tool_prefix"; then 2433if 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.
2009set dummy ${ac_tool_prefix}gcc; ac_word=$2 2435set dummy ${ac_tool_prefix}gcc; ac_word=$2
2010echo "$as_me:$LINENO: checking for $ac_word" >&5 2436{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2011echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2437echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2012if test "${ac_cv_prog_CC+set}" = set; then 2438if test "${ac_cv_prog_CC+set}" = set; then
2013 echo $ECHO_N "(cached) $ECHO_C" >&6 2439 echo $ECHO_N "(cached) $ECHO_C" >&6
2014else 2440else
@@ -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
2029done 2455done
2030done 2456done
2457IFS=$as_save_IFS
2031 2458
2032fi 2459fi
2033fi 2460fi
2034CC=$ac_cv_prog_CC 2461CC=$ac_cv_prog_CC
2035if test -n "$CC"; then 2462if test -n "$CC"; then
2036 echo "$as_me:$LINENO: result: $CC" >&5 2463 { echo "$as_me:$LINENO: result: $CC" >&5
2037echo "${ECHO_T}$CC" >&6 2464echo "${ECHO_T}$CC" >&6; }
2038else 2465else
2039 echo "$as_me:$LINENO: result: no" >&5 2466 { echo "$as_me:$LINENO: result: no" >&5
2040echo "${ECHO_T}no" >&6 2467echo "${ECHO_T}no" >&6; }
2041fi 2468fi
2042 2469
2470
2043fi 2471fi
2044if test -z "$ac_cv_prog_CC"; then 2472if 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.
2047set dummy gcc; ac_word=$2 2475set dummy gcc; ac_word=$2
2048echo "$as_me:$LINENO: checking for $ac_word" >&5 2476{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2049echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2477echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2050if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2478if 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
2052else 2480else
@@ -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
2067done 2495done
2068done 2496done
2497IFS=$as_save_IFS
2069 2498
2070fi 2499fi
2071fi 2500fi
2072ac_ct_CC=$ac_cv_prog_ac_ct_CC 2501ac_ct_CC=$ac_cv_prog_ac_ct_CC
2073if test -n "$ac_ct_CC"; then 2502if 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
2075echo "${ECHO_T}$ac_ct_CC" >&6 2504echo "${ECHO_T}$ac_ct_CC" >&6; }
2076else 2505else
2077 echo "$as_me:$LINENO: result: no" >&5 2506 { echo "$as_me:$LINENO: result: no" >&5
2078echo "${ECHO_T}no" >&6 2507echo "${ECHO_T}no" >&6; }
2079fi 2508fi
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
2514yes:)
2515{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2516whose name does not start with the host triplet. If you think this
2517configuration is useful to you, please write to autoconf@gnu.org." >&5
2518echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2519whose name does not start with the host triplet. If you think this
2520configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2521ac_tool_warned=yes ;;
2522esac
2523 CC=$ac_ct_CC
2524 fi
2082else 2525else
2083 CC="$ac_cv_prog_CC" 2526 CC="$ac_cv_prog_CC"
2084fi 2527fi
2085 2528
2086if test -z "$CC"; then 2529if 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.
2089set dummy ${ac_tool_prefix}cc; ac_word=$2 2532set dummy ${ac_tool_prefix}cc; ac_word=$2
2090echo "$as_me:$LINENO: checking for $ac_word" >&5 2533{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2091echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2534echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2092if test "${ac_cv_prog_CC+set}" = set; then 2535if test "${ac_cv_prog_CC+set}" = set; then
2093 echo $ECHO_N "(cached) $ECHO_C" >&6 2536 echo $ECHO_N "(cached) $ECHO_C" >&6
2094else 2537else
@@ -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
2109done 2552done
2110done 2553done
2554IFS=$as_save_IFS
2111 2555
2112fi 2556fi
2113fi 2557fi
2114CC=$ac_cv_prog_CC 2558CC=$ac_cv_prog_CC
2115if test -n "$CC"; then 2559if test -n "$CC"; then
2116 echo "$as_me:$LINENO: result: $CC" >&5 2560 { echo "$as_me:$LINENO: result: $CC" >&5
2117echo "${ECHO_T}$CC" >&6 2561echo "${ECHO_T}$CC" >&6; }
2118else
2119 echo "$as_me:$LINENO: result: no" >&5
2120echo "${ECHO_T}no" >&6
2121fi
2122
2123fi
2124if 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.
2127set dummy cc; ac_word=$2
2128echo "$as_me:$LINENO: checking for $ac_word" >&5
2129echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2130if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2132else
2133 if test -n "$ac_ct_CC"; then
2134 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2135else 2562else
2136as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2563 { echo "$as_me:$LINENO: result: no" >&5
2137for as_dir in $PATH 2564echo "${ECHO_T}no" >&6; }
2138do
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
2147done
2148done
2149
2150fi
2151fi
2152ac_ct_CC=$ac_cv_prog_ac_ct_CC
2153if test -n "$ac_ct_CC"; then
2154 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2155echo "${ECHO_T}$ac_ct_CC" >&6
2156else
2157 echo "$as_me:$LINENO: result: no" >&5
2158echo "${ECHO_T}no" >&6
2159fi 2565fi
2160 2566
2161 CC=$ac_ct_CC
2162else
2163 CC="$ac_cv_prog_CC"
2164fi
2165 2567
2568 fi
2166fi 2569fi
2167if test -z "$CC"; then 2570if 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.
2169set dummy cc; ac_word=$2 2572set dummy cc; ac_word=$2
2170echo "$as_me:$LINENO: checking for $ac_word" >&5 2573{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2171echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2574echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2172if test "${ac_cv_prog_CC+set}" = set; then 2575if test "${ac_cv_prog_CC+set}" = set; then
2173 echo $ECHO_N "(cached) $ECHO_C" >&6 2576 echo $ECHO_N "(cached) $ECHO_C" >&6
2174else 2577else
@@ -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
2194done 2597done
2195done 2598done
2599IFS=$as_save_IFS
2196 2600
2197if test $ac_prog_rejected = yes; then 2601if 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
2210fi 2614fi
2211CC=$ac_cv_prog_CC 2615CC=$ac_cv_prog_CC
2212if test -n "$CC"; then 2616if test -n "$CC"; then
2213 echo "$as_me:$LINENO: result: $CC" >&5 2617 { echo "$as_me:$LINENO: result: $CC" >&5
2214echo "${ECHO_T}$CC" >&6 2618echo "${ECHO_T}$CC" >&6; }
2215else 2619else
2216 echo "$as_me:$LINENO: result: no" >&5 2620 { echo "$as_me:$LINENO: result: no" >&5
2217echo "${ECHO_T}no" >&6 2621echo "${ECHO_T}no" >&6; }
2218fi 2622fi
2219 2623
2624
2220fi 2625fi
2221if test -z "$CC"; then 2626if 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.
2226set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2631set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2227echo "$as_me:$LINENO: checking for $ac_word" >&5 2632{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2228echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2633echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2229if test "${ac_cv_prog_CC+set}" = set; then 2634if test "${ac_cv_prog_CC+set}" = set; then
2230 echo $ECHO_N "(cached) $ECHO_C" >&6 2635 echo $ECHO_N "(cached) $ECHO_C" >&6
2231else 2636else
@@ -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
2246done 2651done
2247done 2652done
2653IFS=$as_save_IFS
2248 2654
2249fi 2655fi
2250fi 2656fi
2251CC=$ac_cv_prog_CC 2657CC=$ac_cv_prog_CC
2252if test -n "$CC"; then 2658if test -n "$CC"; then
2253 echo "$as_me:$LINENO: result: $CC" >&5 2659 { echo "$as_me:$LINENO: result: $CC" >&5
2254echo "${ECHO_T}$CC" >&6 2660echo "${ECHO_T}$CC" >&6; }
2255else 2661else
2256 echo "$as_me:$LINENO: result: no" >&5 2662 { echo "$as_me:$LINENO: result: no" >&5
2257echo "${ECHO_T}no" >&6 2663echo "${ECHO_T}no" >&6; }
2258fi 2664fi
2259 2665
2666
2260 test -n "$CC" && break 2667 test -n "$CC" && break
2261 done 2668 done
2262fi 2669fi
2263if test -z "$CC"; then 2670if 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
2266do 2673do
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.
2268set dummy $ac_prog; ac_word=$2 2675set dummy $ac_prog; ac_word=$2
2269echo "$as_me:$LINENO: checking for $ac_word" >&5 2676{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2270echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2677echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2271if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2678if 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
2273else 2680else
@@ -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
2288done 2695done
2289done 2696done
2697IFS=$as_save_IFS
2290 2698
2291fi 2699fi
2292fi 2700fi
2293ac_ct_CC=$ac_cv_prog_ac_ct_CC 2701ac_ct_CC=$ac_cv_prog_ac_ct_CC
2294if test -n "$ac_ct_CC"; then 2702if 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
2296echo "${ECHO_T}$ac_ct_CC" >&6 2704echo "${ECHO_T}$ac_ct_CC" >&6; }
2297else 2705else
2298 echo "$as_me:$LINENO: result: no" >&5 2706 { echo "$as_me:$LINENO: result: no" >&5
2299echo "${ECHO_T}no" >&6 2707echo "${ECHO_T}no" >&6; }
2300fi 2708fi
2301 2709
2710
2302 test -n "$ac_ct_CC" && break 2711 test -n "$ac_ct_CC" && break
2303done 2712done
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
2718yes:)
2719{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2720whose name does not start with the host triplet. If you think this
2721configuration is useful to you, please write to autoconf@gnu.org." >&5
2722echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2723whose name does not start with the host triplet. If you think this
2724configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2725ac_tool_warned=yes ;;
2726esac
2727 CC=$ac_ct_CC
2728 fi
2306fi 2729fi
2307 2730
2308fi 2731fi
@@ -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.
2318echo "$as_me:$LINENO:" \ 2741echo "$as_me:$LINENO: checking for C compiler version" >&5
2319 "checking for C compiler version" >&5
2320ac_compiler=`set X $ac_compile; echo $2` 2742ac_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 2744case "(($ac_try" in
2745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2746 *) ac_try_echo=$ac_try;;
2747esac
2748eval "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 2754case "(($ac_try" in
2755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2756 *) ac_try_echo=$ac_try;;
2757esac
2758eval "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 2764case "(($ac_try" in
2765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2766 *) ac_try_echo=$ac_try;;
2767esac
2768eval "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.
2357echo "$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
2358echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2795echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2359ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2796ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2360if { (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.
2801ac_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.
2806ac_rmfiles=
2807for ac_file in $ac_files
2808do
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
2813done
2814rm -f $ac_rmfiles
2815
2816if { (ac_try="$ac_link_default"
2817case "(($ac_try" in
2818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2819 *) ac_try_echo=$ac_try;;
2820esac
2821eval "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. 2831for ac_file in $ac_files ''
2371ac_cv_exeext=
2372# b.out is created by i960 compilers.
2373for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2374do 2832do
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
2396done 2855done
2856test "$ac_cv_exeext" = no && ac_cv_exeext=
2857
2397else 2858else
2859 ac_file=''
2860fi
2861
2862{ echo "$as_me:$LINENO: result: $ac_file" >&5
2863echo "${ECHO_T}$ac_file" >&6; }
2864if test -z "$ac_file"; then
2398 echo "$as_me: failed program was:" >&5 2865 echo "$as_me: failed program was:" >&5
2399sed 's/^/| /' conftest.$ac_ext >&5 2866sed 's/^/| /' conftest.$ac_ext >&5
2400 2867
@@ -2406,19 +2873,21 @@ See \`config.log' for more details." >&2;}
2406fi 2873fi
2407 2874
2408ac_exeext=$ac_cv_exeext 2875ac_exeext=$ac_cv_exeext
2409echo "$as_me:$LINENO: result: $ac_file" >&5
2410echo "${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.
2414echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2879{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2415echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2880echo $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.
2418if test "$cross_compiling" != yes; then 2883if 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;;
2888esac
2889eval "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
2439fi 2908fi
2440echo "$as_me:$LINENO: result: yes" >&5 2909{ echo "$as_me:$LINENO: result: yes" >&5
2441echo "${ECHO_T}yes" >&6 2910echo "${ECHO_T}yes" >&6; }
2442 2911
2443rm -f a.out a.exe conftest$ac_cv_exeext b.out 2912rm -f a.out a.exe conftest$ac_cv_exeext b.out
2444ac_clean_files=$ac_clean_files_save 2913ac_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.
2447echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2916{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2448echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2917echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2449echo "$as_me:$LINENO: result: $cross_compiling" >&5 2918{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2450echo "${ECHO_T}$cross_compiling" >&6 2919echo "${ECHO_T}$cross_compiling" >&6; }
2451 2920
2452echo "$as_me:$LINENO: checking for suffix of executables" >&5 2921{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2453echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2922echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2454if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2923if { (ac_try="$ac_link"
2455 (eval $ac_link) 2>&5 2924case "(($ac_try" in
2925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2926 *) ac_try_echo=$ac_try;;
2927esac
2928eval "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
2463for ac_file in conftest.exe conftest conftest.*; do 2937for 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;}
2479fi 2952fi
2480 2953
2481rm -f conftest$ac_cv_exeext 2954rm -f conftest$ac_cv_exeext
2482echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2955{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2483echo "${ECHO_T}$ac_cv_exeext" >&6 2956echo "${ECHO_T}$ac_cv_exeext" >&6; }
2484 2957
2485rm -f conftest.$ac_ext 2958rm -f conftest.$ac_ext
2486EXEEXT=$ac_cv_exeext 2959EXEEXT=$ac_cv_exeext
2487ac_exeext=$EXEEXT 2960ac_exeext=$EXEEXT
2488echo "$as_me:$LINENO: checking for suffix of object files" >&5 2961{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2489echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2962echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2490if test "${ac_cv_objext+set}" = set; then 2963if test "${ac_cv_objext+set}" = set; then
2491 echo $ECHO_N "(cached) $ECHO_C" >&6 2964 echo $ECHO_N "(cached) $ECHO_C" >&6
2492else 2965else
@@ -2506,14 +2979,20 @@ main ()
2506} 2979}
2507_ACEOF 2980_ACEOF
2508rm -f conftest.o conftest.obj 2981rm -f conftest.o conftest.obj
2509if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2982if { (ac_try="$ac_compile"
2510 (eval $ac_compile) 2>&5 2983case "(($ac_try" in
2984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2985 *) ac_try_echo=$ac_try;;
2986esac
2987eval "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
2532rm -f conftest.$ac_cv_objext conftest.$ac_ext 3011rm -f conftest.$ac_cv_objext conftest.$ac_ext
2533fi 3012fi
2534echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3013{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2535echo "${ECHO_T}$ac_cv_objext" >&6 3014echo "${ECHO_T}$ac_cv_objext" >&6; }
2536OBJEXT=$ac_cv_objext 3015OBJEXT=$ac_cv_objext
2537ac_objext=$OBJEXT 3016ac_objext=$OBJEXT
2538echo "$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
2539echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 3018echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2540if test "${ac_cv_c_compiler_gnu+set}" = set; then 3019if 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
2542else 3021else
@@ -2559,24 +3038,36 @@ main ()
2559} 3038}
2560_ACEOF 3039_ACEOF
2561rm -f conftest.$ac_objext 3040rm -f conftest.$ac_objext
2562if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3041if { (ac_try="$ac_compile"
2563 (eval $ac_compile) 2>conftest.er1 3042case "(($ac_try" in
3043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3044 *) ac_try_echo=$ac_try;;
3045esac
3046eval "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;;
3058esac
3059eval "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;;
3068esac
3069eval "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
2586sed 's/^/| /' conftest.$ac_ext >&5 3077sed 's/^/| /' conftest.$ac_ext >&5
2587 3078
2588ac_compiler_gnu=no 3079 ac_compiler_gnu=no
2589fi 3080fi
2590rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3081
3082rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2591ac_cv_c_compiler_gnu=$ac_compiler_gnu 3083ac_cv_c_compiler_gnu=$ac_compiler_gnu
2592 3084
2593fi 3085fi
2594echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3086{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2595echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 3087echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2596GCC=`test $ac_compiler_gnu = yes && echo yes` 3088GCC=`test $ac_compiler_gnu = yes && echo yes`
2597ac_test_CFLAGS=${CFLAGS+set} 3089ac_test_CFLAGS=${CFLAGS+set}
2598ac_save_CFLAGS=$CFLAGS 3090ac_save_CFLAGS=$CFLAGS
2599CFLAGS="-g" 3091{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2600echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3092echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2601echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2602if test "${ac_cv_prog_cc_g+set}" = set; then 3093if 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
2604else 3095else
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
2608cat confdefs.h >>conftest.$ac_ext 3103cat confdefs.h >>conftest.$ac_ext
@@ -2618,24 +3113,36 @@ main ()
2618} 3113}
2619_ACEOF 3114_ACEOF
2620rm -f conftest.$ac_objext 3115rm -f conftest.$ac_objext
2621if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3116if { (ac_try="$ac_compile"
2622 (eval $ac_compile) 2>conftest.er1 3117case "(($ac_try" in
3118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3119 *) ac_try_echo=$ac_try;;
3120esac
3121eval "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;;
3133esac
3134eval "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;;
3143esac
3144eval "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
2645sed 's/^/| /' conftest.$ac_ext >&5 3152sed 's/^/| /' conftest.$ac_ext >&5
2646 3153
2647ac_cv_prog_cc_g=no 3154 CFLAGS=""
3155 cat >conftest.$ac_ext <<_ACEOF
3156/* confdefs.h. */
3157_ACEOF
3158cat confdefs.h >>conftest.$ac_ext
3159cat >>conftest.$ac_ext <<_ACEOF
3160/* end confdefs.h. */
3161
3162int
3163main ()
3164{
3165
3166 ;
3167 return 0;
3168}
3169_ACEOF
3170rm -f conftest.$ac_objext
3171if { (ac_try="$ac_compile"
3172case "(($ac_try" in
3173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3174 *) ac_try_echo=$ac_try;;
3175esac
3176eval "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;;
3188esac
3189eval "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;;
3198esac
3199eval "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 :
3205else
3206 echo "$as_me: failed program was:" >&5
3207sed '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
3214cat confdefs.h >>conftest.$ac_ext
3215cat >>conftest.$ac_ext <<_ACEOF
3216/* end confdefs.h. */
3217
3218int
3219main ()
3220{
3221
3222 ;
3223 return 0;
3224}
3225_ACEOF
3226rm -f conftest.$ac_objext
3227if { (ac_try="$ac_compile"
3228case "(($ac_try" in
3229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3230 *) ac_try_echo=$ac_try;;
3231esac
3232eval "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;;
3244esac
3245eval "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;;
3254esac
3255eval "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
3261else
3262 echo "$as_me: failed program was:" >&5
3263sed 's/^/| /' conftest.$ac_ext >&5
3264
3265
3266fi
3267
3268rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2648fi 3269fi
2649rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3270
3271rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2650fi 3272fi
2651echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3273
2652echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 3274rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3275 ac_c_werror_flag=$ac_save_c_werror_flag
3276fi
3277{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3278echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2653if test "$ac_test_CFLAGS" = set; then 3279if test "$ac_test_CFLAGS" = set; then
2654 CFLAGS=$ac_save_CFLAGS 3280 CFLAGS=$ac_save_CFLAGS
2655elif test $ac_cv_prog_cc_g = yes; then 3281elif test $ac_cv_prog_cc_g = yes; then
@@ -2665,12 +3291,12 @@ else
2665 CFLAGS= 3291 CFLAGS=
2666 fi 3292 fi
2667fi 3293fi
2668echo "$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
2669echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 3295echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2670if test "${ac_cv_prog_cc_stdc+set}" = set; then 3296if 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
2672else 3298else
2673 ac_cv_prog_cc_stdc=no 3299 ac_cv_prog_cc_c89=no
2674ac_save_CC=$CC 3300ac_save_CC=$CC
2675cat >conftest.$ac_ext <<_ACEOF 3301cat >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. */
2711int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3337int 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'
3342int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3343
2713int test (int i, double x); 3344int test (int i, double x);
2714struct s1 {int (*f) (int a);}; 3345struct s1 {int (*f) (int a);};
2715struct s2 {int (*f) (double a);}; 3346struct 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 3358for 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__
2734for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2735do 3360do
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
2738if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3363if { (ac_try="$ac_compile"
2739 (eval $ac_compile) 2>conftest.er1 3364case "(($ac_try" in
3365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3366 *) ac_try_echo=$ac_try;;
3367esac
3368eval "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;;
3380esac
3381eval "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;;
3390esac
3391eval "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
2760break
2761else 3397else
2762 echo "$as_me: failed program was:" >&5 3398 echo "$as_me: failed program was:" >&5
2763sed 's/^/| /' conftest.$ac_ext >&5 3399sed 's/^/| /' conftest.$ac_ext >&5
2764 3400
3401
2765fi 3402fi
2766rm -f conftest.err conftest.$ac_objext 3403
3404rm -f core conftest.err conftest.$ac_objext
3405 test "x$ac_cv_prog_cc_c89" != "xno" && break
2767done 3406done
2768rm -f conftest.$ac_ext conftest.$ac_objext 3407rm -f conftest.$ac_ext
2769CC=$ac_save_CC 3408CC=$ac_save_CC
2770 3409
2771fi 3410fi
2772 3411# AC_CACHE_VAL
2773case "x$ac_cv_prog_cc_stdc" in 3412case "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
2776echo "${ECHO_T}none needed" >&6 ;; 3415echo "${ECHO_T}none needed" >&6; } ;;
3416 xno)
3417 { echo "$as_me:$LINENO: result: unsupported" >&5
3418echo "${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"
2779echo "${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" ;; 3422echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2781esac 3423esac
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.
2787cat >conftest.$ac_ext <<_ACEOF
2788#ifndef __cplusplus
2789 choke me
2790#endif
2791_ACEOF
2792rm -f conftest.$ac_objext
2793if { (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);'
2821do
2822 cat >conftest.$ac_ext <<_ACEOF
2823/* confdefs.h. */
2824_ACEOF
2825cat confdefs.h >>conftest.$ac_ext
2826cat >>conftest.$ac_ext <<_ACEOF
2827/* end confdefs.h. */
2828$ac_declaration
2829#include <stdlib.h>
2830int
2831main ()
2832{
2833exit (42);
2834 ;
2835 return 0;
2836}
2837_ACEOF
2838rm -f conftest.$ac_objext
2839if { (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 :
2861else
2862 echo "$as_me: failed program was:" >&5
2863sed 's/^/| /' conftest.$ac_ext >&5
2864
2865continue
2866fi
2867rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2868 cat >conftest.$ac_ext <<_ACEOF
2869/* confdefs.h. */
2870_ACEOF
2871cat confdefs.h >>conftest.$ac_ext
2872cat >>conftest.$ac_ext <<_ACEOF
2873/* end confdefs.h. */
2874$ac_declaration
2875int
2876main ()
2877{
2878exit (42);
2879 ;
2880 return 0;
2881}
2882_ACEOF
2883rm -f conftest.$ac_objext
2884if { (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
2906else
2907 echo "$as_me: failed program was:" >&5
2908sed 's/^/| /' conftest.$ac_ext >&5
2909 3425
2910fi
2911rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2912done
2913rm -f conftest*
2914if test -n "$ac_declaration"; then
2915 echo '#ifdef __cplusplus' >>confdefs.h
2916 echo $ac_declaration >>confdefs.h
2917 echo '#endif' >>confdefs.h
2918fi
2919
2920else
2921 echo "$as_me: failed program was:" >&5
2922sed 's/^/| /' conftest.$ac_ext >&5
2923
2924fi
2925rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2926ac_ext=c 3426ac_ext=c
2927ac_cpp='$CPP $CPPFLAGS' 3427ac_cpp='$CPP $CPPFLAGS'
2928ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3428ac_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 $
2930ac_compiler_gnu=$ac_cv_c_compiler_gnu 3430ac_compiler_gnu=$ac_cv_c_compiler_gnu
2931DEPDIR="${am__leading_dot}deps" 3431DEPDIR="${am__leading_dot}deps"
2932 3432
2933 ac_config_commands="$ac_config_commands depfiles" 3433ac_config_commands="$ac_config_commands depfiles"
2934 3434
2935 3435
2936am_make=${MAKE-make} 3436am_make=${MAKE-make}
@@ -2940,8 +3440,8 @@ am__doit:
2940.PHONY: am__doit 3440.PHONY: am__doit
2941END 3441END
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.
2943echo "$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
2944echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 3444echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2945am__include="#" 3445am__include="#"
2946am__quote= 3446am__quote=
2947_am_result=none 3447_am_result=none
@@ -2968,15 +3468,15 @@ if test "$am__include" = "#"; then
2968fi 3468fi
2969 3469
2970 3470
2971echo "$as_me:$LINENO: result: $_am_result" >&5 3471{ echo "$as_me:$LINENO: result: $_am_result" >&5
2972echo "${ECHO_T}$_am_result" >&6 3472echo "${ECHO_T}$_am_result" >&6; }
2973rm -f confinc confmf 3473rm -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.
2976if test "${enable_dependency_tracking+set}" = set; then 3476if test "${enable_dependency_tracking+set}" = set; then
2977 enableval="$enable_dependency_tracking" 3477 enableval=$enable_dependency_tracking;
3478fi
2978 3479
2979fi;
2980if test "x$enable_dependency_tracking" != xno; then 3480if 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
2997depcc="$CC" am_compiler_list= 3497depcc="$CC" am_compiler_list=
2998 3498
2999echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3499{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3000echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 3500echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3001if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3501if 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
3003else 3503else
@@ -3086,8 +3586,8 @@ else
3086fi 3586fi
3087 3587
3088fi 3588fi
3089echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3589{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3090echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 3590echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3091CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3591CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3092 3592
3093 3593
@@ -3104,8 +3604,8 @@ fi
3104 3604
3105 3605
3106 3606
3107echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 3607{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3108echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 3608echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
3109if test "${ac_cv_c_const+set}" = set; then 3609if test "${ac_cv_c_const+set}" = set; then
3110 echo $ECHO_N "(cached) $ECHO_C" >&6 3610 echo $ECHO_N "(cached) $ECHO_C" >&6
3111else 3611else
@@ -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
3173rm -f conftest.$ac_objext 3676rm -f conftest.$ac_objext
3174if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3677if { (ac_try="$ac_compile"
3175 (eval $ac_compile) 2>conftest.er1 3678case "(($ac_try" in
3679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3680 *) ac_try_echo=$ac_try;;
3681esac
3682eval "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;;
3694esac
3695eval "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;;
3704esac
3705eval "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
3198sed 's/^/| /' conftest.$ac_ext >&5 3713sed 's/^/| /' conftest.$ac_ext >&5
3199 3714
3200ac_cv_c_const=no 3715 ac_cv_c_const=no
3201fi 3716fi
3202rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3717
3718rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3203fi 3719fi
3204echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 3720{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3205echo "${ECHO_T}$ac_cv_c_const" >&6 3721echo "${ECHO_T}$ac_cv_c_const" >&6; }
3206if test $ac_cv_c_const = no; then 3722if test $ac_cv_c_const = no; then
3207 3723
3208cat >>confdefs.h <<\_ACEOF 3724cat >>confdefs.h <<\_ACEOF
@@ -3211,8 +3727,8 @@ _ACEOF
3211 3727
3212fi 3728fi
3213 3729
3214echo "$as_me:$LINENO: checking for inline" >&5 3730{ echo "$as_me:$LINENO: checking for inline" >&5
3215echo $ECHO_N "checking for inline... $ECHO_C" >&6 3731echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
3216if test "${ac_cv_c_inline+set}" = set; then 3732if test "${ac_cv_c_inline+set}" = set; then
3217 echo $ECHO_N "(cached) $ECHO_C" >&6 3733 echo $ECHO_N "(cached) $ECHO_C" >&6
3218else 3734else
@@ -3232,39 +3748,54 @@ $ac_kw foo_t foo () {return 0; }
3232 3748
3233_ACEOF 3749_ACEOF
3234rm -f conftest.$ac_objext 3750rm -f conftest.$ac_objext
3235if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3751if { (ac_try="$ac_compile"
3236 (eval $ac_compile) 2>conftest.er1 3752case "(($ac_try" in
3753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3754 *) ac_try_echo=$ac_try;;
3755esac
3756eval "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;;
3768esac
3769eval "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;;
3778esac
3779eval "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
3257else 3785else
3258 echo "$as_me: failed program was:" >&5 3786 echo "$as_me: failed program was:" >&5
3259sed 's/^/| /' conftest.$ac_ext >&5 3787sed 's/^/| /' conftest.$ac_ext >&5
3260 3788
3789
3261fi 3790fi
3262rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3791
3792rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3793 test "$ac_cv_c_inline" != no && break
3263done 3794done
3264 3795
3265fi 3796fi
3266echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 3797{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3267echo "${ECHO_T}$ac_cv_c_inline" >&6 3798echo "${ECHO_T}$ac_cv_c_inline" >&6; }
3268 3799
3269 3800
3270case $ac_cv_c_inline in 3801case $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.
3293if test "${enable_shared+set}" = set; then 3824if 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
3312else 3842else
3313 enable_shared=yes 3843 enable_shared=yes
3314fi; 3844fi
3845
3315 3846
3316# Check whether --enable-static or --disable-static was given. 3847# Check whether --enable-static was given.
3317if test "${enable_static+set}" = set; then 3848if 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
3336else 3866else
3337 enable_static=yes 3867 enable_static=yes
3338fi; 3868fi
3869
3339 3870
3340# Check whether --enable-fast-install or --disable-fast-install was given. 3871# Check whether --enable-fast-install was given.
3341if test "${enable_fast_install+set}" = set; then 3872if 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
3360else 3890else
3361 enable_fast_install=yes 3891 enable_fast_install=yes
3362fi; 3892fi
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
3367echo "$as_me: error: cannot run $ac_config_sub" >&2;} 3898echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3368 { (exit 1); exit 1; }; } 3899 { (exit 1); exit 1; }; }
3369 3900
3370echo "$as_me:$LINENO: checking build system type" >&5 3901{ echo "$as_me:$LINENO: checking build system type" >&5
3371echo $ECHO_N "checking build system type... $ECHO_C" >&6 3902echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3372if test "${ac_cv_build+set}" = set; then 3903if test "${ac_cv_build+set}" = set; then
3373 echo $ECHO_N "(cached) $ECHO_C" >&6 3904 echo $ECHO_N "(cached) $ECHO_C" >&6
3374else 3905else
3375 ac_cv_build_alias=$build_alias 3906 ac_build_alias=$build_alias
3376test -z "$ac_cv_build_alias" && 3907test "x$ac_build_alias" = x &&
3377 ac_cv_build_alias=`$ac_config_guess` 3908 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3378test -z "$ac_cv_build_alias" && 3909test "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
3380echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3911echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3381 { (exit 1); exit 1; }; } 3912 { (exit 1); exit 1; }; }
3382ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 3913ac_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
3384echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 3915echo "$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
3387fi 3918fi
3388echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3919{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3389echo "${ECHO_T}$ac_cv_build" >&6 3920echo "${ECHO_T}$ac_cv_build" >&6; }
3921case $ac_cv_build in
3922*-*-*) ;;
3923*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3924echo "$as_me: error: invalid value of canonical build" >&2;}
3925 { (exit 1); exit 1; }; };;
3926esac
3390build=$ac_cv_build 3927build=$ac_cv_build
3391build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3928ac_save_IFS=$IFS; IFS='-'
3392build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3929set x $ac_cv_build
3393build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3930shift
3394 3931build_cpu=$1
3395 3932build_vendor=$2
3396echo "$as_me:$LINENO: checking host system type" >&5 3933shift; shift
3397echo $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:
3936build_os=$*
3937IFS=$ac_save_IFS
3938case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3939
3940
3941{ echo "$as_me:$LINENO: checking host system type" >&5
3942echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3398if test "${ac_cv_host+set}" = set; then 3943if test "${ac_cv_host+set}" = set; then
3399 echo $ECHO_N "(cached) $ECHO_C" >&6 3944 echo $ECHO_N "(cached) $ECHO_C" >&6
3400else 3945else
3401 ac_cv_host_alias=$host_alias 3946 if test "x$host_alias" = x; then
3402test -z "$ac_cv_host_alias" && 3947 ac_cv_host=$ac_cv_build
3403 ac_cv_host_alias=$ac_cv_build_alias 3948else
3404ac_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
3406echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 3951echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3407 { (exit 1); exit 1; }; } 3952 { (exit 1); exit 1; }; }
3953fi
3408 3954
3409fi 3955fi
3410echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3956{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3411echo "${ECHO_T}$ac_cv_host" >&6 3957echo "${ECHO_T}$ac_cv_host" >&6; }
3958case $ac_cv_host in
3959*-*-*) ;;
3960*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3961echo "$as_me: error: invalid value of canonical host" >&2;}
3962 { (exit 1); exit 1; }; };;
3963esac
3412host=$ac_cv_host 3964host=$ac_cv_host
3413host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3965ac_save_IFS=$IFS; IFS='-'
3414host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3966set x $ac_cv_host
3415host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3967shift
3416 3968host_cpu=$1
3417 3969host_vendor=$2
3418echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 3970shift; shift
3419echo $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:
3973host_os=$*
3974IFS=$ac_save_IFS
3975case $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
3979echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3420if test "${lt_cv_path_SED+set}" = set; then 3980if test "${lt_cv_path_SED+set}" = set; then
3421 echo $ECHO_N "(cached) $ECHO_C" >&6 3981 echo $ECHO_N "(cached) $ECHO_C" >&6
3422else 3982else
@@ -3469,37 +4029,184 @@ done
3469fi 4029fi
3470 4030
3471SED=$lt_cv_path_SED 4031SED=$lt_cv_path_SED
3472echo "$as_me:$LINENO: result: $SED" >&5 4032{ echo "$as_me:$LINENO: result: $SED" >&5
3473echo "${ECHO_T}$SED" >&6 4033echo "${ECHO_T}$SED" >&6; }
4034
4035{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4036echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4037if test "${ac_cv_path_GREP+set}" = set; then
4038 echo $ECHO_N "(cached) $ECHO_C" >&6
4039else
4040 # Extract the first word of "grep ggrep" to use in msg output
4041if test -z "$GREP"; then
4042set dummy grep ggrep; ac_prog_name=$2
4043if test "${ac_cv_path_GREP+set}" = set; then
4044 echo $ECHO_N "(cached) $ECHO_C" >&6
4045else
4046 ac_path_GREP_found=false
4047# Loop through the user's path and test for each of PROGNAME-LIST
4048as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4049for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4050do
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
4059case `"$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;;
4083esac
4084
4085
4086 $ac_path_GREP_found && break 3
4087 done
4088done
4089
4090done
4091IFS=$as_save_IFS
4092
4093
4094fi
4095
4096GREP="$ac_cv_path_GREP"
4097if 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
4099echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4100 { (exit 1); exit 1; }; }
4101fi
3474 4102
3475echo "$as_me:$LINENO: checking for egrep" >&5 4103else
3476echo $ECHO_N "checking for egrep... $ECHO_C" >&6 4104 ac_cv_path_GREP=$GREP
3477if test "${ac_cv_prog_egrep+set}" = set; then 4105fi
4106
4107
4108fi
4109{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4110echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4111 GREP="$ac_cv_path_GREP"
4112
4113
4114{ echo "$as_me:$LINENO: checking for egrep" >&5
4115echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4116if test "${ac_cv_path_EGREP+set}" = set; then
3478 echo $ECHO_N "(cached) $ECHO_C" >&6 4117 echo $ECHO_N "(cached) $ECHO_C" >&6
3479else 4118</