ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libspf/configure
(Generate patch)

Comparing libspf/configure (file contents):
Revision 1.1 by root, Tue Nov 13 00:51:23 2007 UTC vs.
Revision 1.2 by root, Thu Oct 30 02:56:04 2008 UTC

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 libspf 1.0.0-p5. 3# Generated by GNU Autoconf 2.61 for libspf 1.0.0-p5.
4# 4#
5# Report bugs to <jcouzens@codeshare.ca>. 5# Report bugs to <jcouzens@codeshare.ca>.
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## --------------------- ##
11## M4sh Initialization. ## 12## M4sh Initialization. ##
12## --------------------- ## 13## --------------------- ##
13 14
14# Be Bourne compatible 15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh 18 emulate sh
17 NULLCMD=: 19 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature. 21 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"' 22 alias -g '${1+"$@"}'='"$@"'
21elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 23 setopt NO_GLOB_SUBST
22 set -o posix
23fi
24DUALCASE=1; export DUALCASE # for MKS sh
25
26# Support unset when possible.
27if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28 as_unset=unset
29else
30 as_unset=false
31fi
32
33
34# Work around bugs in pre-3.0 UWIN ksh.
35$as_unset ENV MAIL MAILPATH
36PS1='$ '
37PS2='> '
38PS4='+ '
39
40# NLS nuisances.
41for as_var in \
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 LC_TELEPHONE LC_TIME
45do
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
48 else 24else
49 $as_unset $as_var 25 case `(set -o) 2>/dev/null` in
50 fi 26 *posix*) set -o posix ;;
51done 27esac
52 28
53# Required to use basename.
54if expr a : '\(a\)' >/dev/null 2>&1; then
55 as_expr=expr
56else
57 as_expr=false
58fi 29fi
59 30
60if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 as_basename=basename
62else
63 as_basename=false
64fi
65 31
66 32
67# Name of the executable.
68as_me=`$as_basename "$0" ||
69$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
73echo X/"$0" |
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
77 s/.*/./; q'`
78 33
79 34# PATH needs CR
80# PATH needs CR, and LINENO needs CR and PATH.
81# Avoid depending upon Character Ranges. 35# Avoid depending upon Character Ranges.
82as_cr_letters='abcdefghijklmnopqrstuvwxyz' 36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84as_cr_Letters=$as_cr_letters$as_cr_LETTERS 38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85as_cr_digits='0123456789' 39as_cr_digits='0123456789'
96 PATH_SEPARATOR=: 50 PATH_SEPARATOR=:
97 fi 51 fi
98 rm -f conf$$.sh 52 rm -f conf$$.sh
99fi 53fi
100 54
55# Support unset when possible.
56if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58else
59 as_unset=false
60fi
101 61
102 as_lineno_1=$LINENO 62
103 as_lineno_2=$LINENO 63# IFS
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 64# We need space, tab and new line, in precisely that order. Quoting is
105 test "x$as_lineno_1" != "x$as_lineno_2" && 65# there to prevent editors from complaining about space-tab.
106 test "x$as_lineno_3" = "x$as_lineno_2" || { 66# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67# splitting by setting IFS to empty value.)
68as_nl='
69'
70IFS=" "" $as_nl"
71
107 # Find who we are. Look in the path if we contain no path at all 72# Find who we are. Look in the path if we contain no directory separator.
108 # relative or not.
109 case $0 in 73case $0 in
110 *[\\/]* ) as_myself=$0 ;; 74 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112for as_dir in $PATH 76for as_dir in $PATH
113do 77do
114 IFS=$as_save_IFS 78 IFS=$as_save_IFS
115 test -z "$as_dir" && as_dir=. 79 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117done 81done
82IFS=$as_save_IFS
118 83
119 ;; 84 ;;
120 esac 85esac
121 # We did not find ourselves, most probably we were run as `sh COMMAND' 86# We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path. 87# in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then 88if test "x$as_myself" = x; then
124 as_myself=$0 89 as_myself=$0
90fi
91if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
94fi
95
96# Work around bugs in pre-3.0 UWIN ksh.
97for as_var in ENV MAIL MAILPATH
98do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99done
100PS1='$ '
101PS2='> '
102PS4='+ '
103
104# NLS nuisances.
105for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
109do
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125 fi 114 fi
126 if test ! -f "$as_myself"; then 115done
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 116
128 { (exit 1); exit 1; }; } 117# Required to use basename.
129 fi 118if expr a : '\(a\)' >/dev/null 2>&1 &&
130 case $CONFIG_SHELL in 119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
131 '') 120 as_expr=expr
121else
122 as_expr=false
123fi
124
125if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127else
128 as_basename=false
129fi
130
131
132# Name of the executable.
133as_me=`$as_basename -- "$0" ||
134$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
140 q
141 }
142 /^X\/\(\/\/\)$/{
143 s//\1/
144 q
145 }
146 /^X\/\(\/\).*/{
147 s//\1/
148 q
149 }
150 s/.*/./; q'`
151
152# CDPATH.
153$as_unset CDPATH
154
155
156if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159else
160 as_have_required=no
161fi
162
163 if test $as_have_required = yes && (eval ":
164(as_func_return () {
165 (exit \$1)
166}
167as_func_success () {
168 as_func_return 0
169}
170as_func_failure () {
171 as_func_return 1
172}
173as_func_ret_success () {
174 return 0
175}
176as_func_ret_failure () {
177 return 1
178}
179
180exitcode=0
181if as_func_success; then
182 :
183else
184 exitcode=1
185 echo as_func_success failed.
186fi
187
188if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
191fi
192
193if as_func_ret_success; then
194 :
195else
196 exitcode=1
197 echo as_func_ret_success failed.
198fi
199
200if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
203fi
204
205if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206 :
207else
208 exitcode=1
209 echo positional parameters were not saved.
210fi
211
212test \$exitcode = 0) || { (exit 1); exit 1; }
213
214(
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219") 2> /dev/null; then
220 :
221else
222 as_candidate_shells=
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 224for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134do 225do
135 IFS=$as_save_IFS 226 IFS=$as_save_IFS
136 test -z "$as_dir" && as_dir=. 227 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
138 case $as_dir in 228 case $as_dir in
139 /*) 229 /*)
140 if ("$as_dir/$as_base" -c ' 230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234done
235IFS=$as_save_IFS
236
237
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252esac
253
254fi
255
256
257:
258_ASEOF
259}; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273esac
274
275fi
276
277
278:
279(as_func_return () {
280 (exit $1)
281}
282as_func_success () {
283 as_func_return 0
284}
285as_func_failure () {
286 as_func_return 1
287}
288as_func_ret_success () {
289 return 0
290}
291as_func_ret_failure () {
292 return 1
293}
294
295exitcode=0
296if as_func_success; then
297 :
298else
299 exitcode=1
300 echo as_func_success failed.
301fi
302
303if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
306fi
307
308if as_func_ret_success; then
309 :
310else
311 exitcode=1
312 echo as_func_ret_success failed.
313fi
314
315if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
318fi
319
320if ( set x; as_func_ret_success y && test x = "$1" ); then
321 :
322else
323 exitcode=1
324 echo positional parameters were not saved.
325fi
326
327test $exitcode = 0) || { (exit 1); exit 1; }
328
329(
141 as_lineno_1=$LINENO 330 as_lineno_1=$LINENO
142 as_lineno_2=$LINENO 331 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" && 332 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 333 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; } 334
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 335_ASEOF
148 CONFIG_SHELL=$as_dir/$as_base 336}; then
149 export CONFIG_SHELL 337 break
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 338fi
151 fi;; 339
152 esac 340fi
341
342 done
343
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
153 done 347 done
154done 348 export CONFIG_SHELL
155;; 349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
156 esac 350fi
351
352
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
359fi
360
361
362fi
363
364fi
365
366
367
368(eval "as_func_return () {
369 (exit \$1)
370}
371as_func_success () {
372 as_func_return 0
373}
374as_func_failure () {
375 as_func_return 1
376}
377as_func_ret_success () {
378 return 0
379}
380as_func_ret_failure () {
381 return 1
382}
383
384exitcode=0
385if as_func_success; then
386 :
387else
388 exitcode=1
389 echo as_func_success failed.
390fi
391
392if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
395fi
396
397if as_func_ret_success; then
398 :
399else
400 exitcode=1
401 echo as_func_ret_success failed.
402fi
403
404if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
407fi
408
409if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410 :
411else
412 exitcode=1
413 echo positional parameters were not saved.
414fi
415
416test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
421}
422
423
424
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
157 429
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 430 # 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 431 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real 432 # line-number line after each line using $LINENO; the second 'sed'
161 # work. The second script uses 'N' to pair each line-number line 433 # does the real work. The second script uses 'N' to pair each
162 # with the numbered line, and appends trailing '-' during 434 # line-number line with the line containing $LINENO, and appends
163 # substitution so that $LINENO is not a special case at line end. 435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
441 p
442 /[$]LINENO/=
166 sed '=' <$as_myself | 443 ' <$as_myself |
167 sed ' 444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
447 b
448 :lineno
168 N 449 N
169 s,$,-,
170 : loop 450 :loop
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
172 t loop 452 t loop
173 s,-$,, 453 s/-\n.*//
174 s,^['$as_cr_digits']*\n,,
175 ' >$as_me.lineno && 454 ' >$as_me.lineno &&
176 chmod +x $as_me.lineno || 455 chmod +x "$as_me.lineno" ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; } 457 { (exit 1); exit 1; }; }
179 458
180 # Don't try to exec as it changes $[0], causing all sort of problems 459 # 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 460 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this). 461 # original and so on. Autoconf is especially sensitive to this).
183 . ./$as_me.lineno 462 . "./$as_me.lineno"
184 # Exit status is that of the last command. 463 # Exit status is that of the last command.
185 exit 464 exit
186} 465}
187 466
188 467
189case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 468if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
190 *c*,-n*) ECHO_N= ECHO_C=' 469 as_dirname=dirname
191' ECHO_T=' ' ;; 470else
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 471 as_dirname=false
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 472fi
473
474ECHO_C= ECHO_N= ECHO_T=
475case `echo -n x` in
476-n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
481*)
482 ECHO_N='-n';;
194esac 483esac
195 484
196if expr a : '\(a\)' >/dev/null 2>&1; then 485if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
197 as_expr=expr 487 as_expr=expr
198else 488else
199 as_expr=false 489 as_expr=false
200fi 490fi
201 491
202rm -f conf$$ conf$$.exe conf$$.file 492rm -f conf$$ conf$$.exe conf$$.file
493if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
498fi
203echo >conf$$.file 499echo >conf$$.file
204if ln -s conf$$.file conf$$ 2>/dev/null; then 500if 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 501 as_ln_s='ln -s'
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 502 # ... but there are two gotchas:
207 if test -f conf$$.exe; then 503 # 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 504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
209 as_ln_s='cp -p' 507 as_ln_s='cp -p'
210 else
211 as_ln_s='ln -s'
212 fi
213elif ln conf$$.file conf$$ 2>/dev/null; then 508elif ln conf$$.file conf$$ 2>/dev/null; then
214 as_ln_s=ln 509 as_ln_s=ln
215else 510else
216 as_ln_s='cp -p' 511 as_ln_s='cp -p'
217fi 512fi
218rm -f conf$$ conf$$.exe conf$$.file 513rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514rmdir conf$$.dir 2>/dev/null
219 515
220if mkdir -p . 2>/dev/null; then 516if mkdir -p . 2>/dev/null; then
221 as_mkdir_p=: 517 as_mkdir_p=:
222else 518else
223 test -d ./-p && rmdir ./-p 519 test -d ./-p && rmdir ./-p
224 as_mkdir_p=false 520 as_mkdir_p=false
225fi 521fi
226 522
523if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
530 fi
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
542 '
543fi
227as_executable_p="test -f" 544as_executable_p=$as_test_x
228 545
229# Sed expression to map a string onto a valid CPP name. 546# 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'" 547as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231 548
232# Sed expression to map a string onto a valid variable name. 549# Sed expression to map a string onto a valid variable name.
233as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 550as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 551
235
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 552
245 553
246 554
247# Check that we are running under the correct shell. 555# Check that we are running under the correct shell.
248SHELL=${CONFIG_SHELL-/bin/sh} 556SHELL=${CONFIG_SHELL-/bin/sh}
395 703
396tagnames=${tagnames+${tagnames},}CXX 704tagnames=${tagnames+${tagnames},}CXX
397 705
398tagnames=${tagnames+${tagnames},}F77 706tagnames=${tagnames+${tagnames},}F77
399 707
708exec 7<&0 </dev/null 6>&1
709
400# Name of the host. 710# Name of the host.
401# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 711# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
402# so uname gets run too. 712# so uname gets run too.
403ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 713ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
404 714
405exec 6>&1
406
407# 715#
408# Initializations. 716# Initializations.
409# 717#
410ac_default_prefix=/usr/local 718ac_default_prefix=/usr/local
719ac_clean_files=
411ac_config_libobj_dir=. 720ac_config_libobj_dir=.
721LIBOBJS=
412cross_compiling=no 722cross_compiling=no
413subdirs= 723subdirs=
414MFLAGS= 724MFLAGS=
415MAKEFLAGS= 725MAKEFLAGS=
416SHELL=${CONFIG_SHELL-/bin/sh} 726SHELL=${CONFIG_SHELL-/bin/sh}
417
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 727
423# Identity of this package. 728# Identity of this package.
424PACKAGE_NAME='libspf' 729PACKAGE_NAME='libspf'
425PACKAGE_TARNAME='libspf' 730PACKAGE_TARNAME='libspf'
426PACKAGE_VERSION='1.0.0-p5' 731PACKAGE_VERSION='1.0.0-p5'
428PACKAGE_BUGREPORT='jcouzens@codeshare.ca' 733PACKAGE_BUGREPORT='jcouzens@codeshare.ca'
429 734
430# Factoring default headers for most tests. 735# Factoring default headers for most tests.
431ac_includes_default="\ 736ac_includes_default="\
432#include <stdio.h> 737#include <stdio.h>
433#if HAVE_SYS_TYPES_H 738#ifdef HAVE_SYS_TYPES_H
434# include <sys/types.h> 739# include <sys/types.h>
435#endif 740#endif
436#if HAVE_SYS_STAT_H 741#ifdef HAVE_SYS_STAT_H
437# include <sys/stat.h> 742# include <sys/stat.h>
438#endif 743#endif
439#if STDC_HEADERS 744#ifdef STDC_HEADERS
440# include <stdlib.h> 745# include <stdlib.h>
441# include <stddef.h> 746# include <stddef.h>
442#else 747#else
443# if HAVE_STDLIB_H 748# ifdef HAVE_STDLIB_H
444# include <stdlib.h> 749# include <stdlib.h>
445# endif 750# endif
446#endif 751#endif
447#if HAVE_STRING_H 752#ifdef HAVE_STRING_H
448# if !STDC_HEADERS && HAVE_MEMORY_H 753# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
449# include <memory.h> 754# include <memory.h>
450# endif 755# endif
451# include <string.h> 756# include <string.h>
452#endif 757#endif
453#if HAVE_STRINGS_H 758#ifdef HAVE_STRINGS_H
454# include <strings.h> 759# include <strings.h>
455#endif 760#endif
456#if HAVE_INTTYPES_H 761#ifdef HAVE_INTTYPES_H
457# include <inttypes.h> 762# include <inttypes.h>
458#else
459# if HAVE_STDINT_H
460# include <stdint.h>
461# endif
462#endif 763#endif
764#ifdef HAVE_STDINT_H
765# include <stdint.h>
766#endif
463#if HAVE_UNISTD_H 767#ifdef HAVE_UNISTD_H
464# include <unistd.h> 768# include <unistd.h>
465#endif" 769#endif"
466 770
467ac_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 PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE LN_S RANLIB ac_ct_RANLIB CPP GCC_TRUE GCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP ECHO AR ac_ct_AR CXX CXXFLAGS ac_ct_CXX CXXDEPMODE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL enable_shared enable_static LIBTOOL_DEPS LIBSPF_MAJOR_VERSION LIBSPF_MINOR_VERSION LIBSPF_MICRO_VERSION LIBSPF_VERSION LIBSPF_INTERFACE_AGE LIBSPF_BINARY_AGE LT_RELEASE LT_CURRENT LT_REVISION LT_AGE UNSIGNED_INT_ARG LIBOBJS __BEGIN_DECLS __END_DECLS LIBSPF_RESOLV_LIB LIBSPF_PTHREADS_LIB LIBSPF_BUILD_DIRS LTLIBOBJS' 771ac_subst_vars='SHELL
772PATH_SEPARATOR
773PACKAGE_NAME
774PACKAGE_TARNAME
775PACKAGE_VERSION
776PACKAGE_STRING
777PACKAGE_BUGREPORT
778exec_prefix
779prefix
780program_transform_name
781bindir
782sbindir
783libexecdir
784datarootdir
785datadir
786sysconfdir
787sharedstatedir
788localstatedir
789includedir
790oldincludedir
791docdir
792infodir
793htmldir
794dvidir
795pdfdir
796psdir
797libdir
798localedir
799mandir
800DEFS
801ECHO_C
802ECHO_N
803ECHO_T
804LIBS
805build_alias
806host_alias
807target_alias
808INSTALL_PROGRAM
809INSTALL_SCRIPT
810INSTALL_DATA
811PACKAGE
812VERSION
813ACLOCAL
814AUTOCONF
815AUTOMAKE
816AUTOHEADER
817MAKEINFO
818AMTAR
819install_sh
820STRIP
821INSTALL_STRIP_PROGRAM
822AWK
823SET_MAKE
824CC
825CFLAGS
826LDFLAGS
827CPPFLAGS
828ac_ct_CC
829EXEEXT
830OBJEXT
831DEPDIR
832am__include
833am__quote
834AMDEP_TRUE
835AMDEP_FALSE
836AMDEPBACKSLASH
837CCDEPMODE
838LN_S
839RANLIB
840CPP
841GCC_TRUE
842GCC_FALSE
843build
844build_cpu
845build_vendor
846build_os
847host
848host_cpu
849host_vendor
850host_os
851GREP
852EGREP
853ECHO
854AR
855CXX
856CXXFLAGS
857ac_ct_CXX
858CXXDEPMODE
859CXXCPP
860F77
861FFLAGS
862ac_ct_F77
863LIBTOOL
864enable_shared
865enable_static
866LIBTOOL_DEPS
867LIBSPF_MAJOR_VERSION
868LIBSPF_MINOR_VERSION
869LIBSPF_MICRO_VERSION
870LIBSPF_VERSION
871LIBSPF_INTERFACE_AGE
872LIBSPF_BINARY_AGE
873LT_RELEASE
874LT_CURRENT
875LT_REVISION
876LT_AGE
877UNSIGNED_INT_ARG
878LIBOBJS
879__BEGIN_DECLS
880__END_DECLS
881LIBSPF_RESOLV_LIB
882LIBSPF_PTHREADS_LIB
883LIBSPF_BUILD_DIRS
884LTLIBOBJS'
468ac_subst_files='__BEGIN_DECLS_INCL __END_DECLS_INCL' 885ac_subst_files='__BEGIN_DECLS_INCL
886__END_DECLS_INCL'
887 ac_precious_vars='build_alias
888host_alias
889target_alias
890CC
891CFLAGS
892LDFLAGS
893LIBS
894CPPFLAGS
895CPP
896CXX
897CXXFLAGS
898CCC
899CXXCPP
900F77
901FFLAGS'
902
469 903
470# Initialize some variables set by options. 904# Initialize some variables set by options.
471ac_init_help= 905ac_init_help=
472ac_init_version=false 906ac_init_version=false
473# The variables have the same names as the options, with 907# The variables have the same names as the options, with
490# Installation directory options. 924# Installation directory options.
491# These are left unexpanded so users can "make install exec_prefix=/foo" 925# These are left unexpanded so users can "make install exec_prefix=/foo"
492# and all the variables that are supposed to be based on exec_prefix 926# and all the variables that are supposed to be based on exec_prefix
493# by default will actually change. 927# by default will actually change.
494# Use braces instead of parens because sh, perl, etc. also accept them. 928# Use braces instead of parens because sh, perl, etc. also accept them.
929# (The list follows the same order as the GNU Coding Standards.)
495bindir='${exec_prefix}/bin' 930bindir='${exec_prefix}/bin'
496sbindir='${exec_prefix}/sbin' 931sbindir='${exec_prefix}/sbin'
497libexecdir='${exec_prefix}/libexec' 932libexecdir='${exec_prefix}/libexec'
498datadir='${prefix}/share' 933datarootdir='${prefix}/share'
934datadir='${datarootdir}'
499sysconfdir='${prefix}/etc' 935sysconfdir='${prefix}/etc'
500sharedstatedir='${prefix}/com' 936sharedstatedir='${prefix}/com'
501localstatedir='${prefix}/var' 937localstatedir='${prefix}/var'
502libdir='${exec_prefix}/lib'
503includedir='${prefix}/include' 938includedir='${prefix}/include'
504oldincludedir='/usr/include' 939oldincludedir='/usr/include'
940docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
505infodir='${prefix}/info' 941infodir='${datarootdir}/info'
506mandir='${prefix}/man' 942htmldir='${docdir}'
943dvidir='${docdir}'
944pdfdir='${docdir}'
945psdir='${docdir}'
946libdir='${exec_prefix}/lib'
947localedir='${datarootdir}/locale'
948mandir='${datarootdir}/man'
507 949
508ac_prev= 950ac_prev=
951ac_dashdash=
509for ac_option 952for ac_option
510do 953do
511 # If the previous option needs an argument, assign it. 954 # If the previous option needs an argument, assign it.
512 if test -n "$ac_prev"; then 955 if test -n "$ac_prev"; then
513 eval "$ac_prev=\$ac_option" 956 eval $ac_prev=\$ac_option
514 ac_prev= 957 ac_prev=
515 continue 958 continue
516 fi 959 fi
517 960
961 case $ac_option in
518 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 962 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
963 *) ac_optarg=yes ;;
964 esac
519 965
520 # Accept the important Cygnus configure options, so we can diagnose typos. 966 # Accept the important Cygnus configure options, so we can diagnose typos.
521 967
522 case $ac_option in 968 case $ac_dashdash$ac_option in
969 --)
970 ac_dashdash=yes ;;
523 971
524 -bindir | --bindir | --bindi | --bind | --bin | --bi) 972 -bindir | --bindir | --bindi | --bind | --bin | --bi)
525 ac_prev=bindir ;; 973 ac_prev=bindir ;;
526 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 974 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
527 bindir=$ac_optarg ;; 975 bindir=$ac_optarg ;;
539 cache_file=$ac_optarg ;; 987 cache_file=$ac_optarg ;;
540 988
541 --config-cache | -C) 989 --config-cache | -C)
542 cache_file=config.cache ;; 990 cache_file=config.cache ;;
543 991
544 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 992 -datadir | --datadir | --datadi | --datad)
545 ac_prev=datadir ;; 993 ac_prev=datadir ;;
546 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 994 -datadir=* | --datadir=* | --datadi=* | --datad=*)
547 | --da=*)
548 datadir=$ac_optarg ;; 995 datadir=$ac_optarg ;;
996
997 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
998 | --dataroo | --dataro | --datar)
999 ac_prev=datarootdir ;;
1000 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1001 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1002 datarootdir=$ac_optarg ;;
549 1003
550 -disable-* | --disable-*) 1004 -disable-* | --disable-*)
551 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1005 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552 # Reject names that are not valid shell variable names. 1006 # Reject names that are not valid shell variable names.
553 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 1007 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 1008 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
555 { (exit 1); exit 1; }; } 1009 { (exit 1); exit 1; }; }
556 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 1010 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
557 eval "enable_$ac_feature=no" ;; 1011 eval enable_$ac_feature=no ;;
1012
1013 -docdir | --docdir | --docdi | --doc | --do)
1014 ac_prev=docdir ;;
1015 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1016 docdir=$ac_optarg ;;
1017
1018 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1019 ac_prev=dvidir ;;
1020 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1021 dvidir=$ac_optarg ;;
558 1022
559 -enable-* | --enable-*) 1023 -enable-* | --enable-*)
560 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1024 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
561 # Reject names that are not valid shell variable names. 1025 # Reject names that are not valid shell variable names.
562 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 1026 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
563 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 1027 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
564 { (exit 1); exit 1; }; } 1028 { (exit 1); exit 1; }; }
565 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 1029 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
566 case $ac_option in
567 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
568 *) ac_optarg=yes ;;
569 esac
570 eval "enable_$ac_feature='$ac_optarg'" ;; 1030 eval enable_$ac_feature=\$ac_optarg ;;
571 1031
572 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1032 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
573 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1033 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
574 | --exec | --exe | --ex) 1034 | --exec | --exe | --ex)
575 ac_prev=exec_prefix ;; 1035 ac_prev=exec_prefix ;;
592 -host | --host | --hos | --ho) 1052 -host | --host | --hos | --ho)
593 ac_prev=host_alias ;; 1053 ac_prev=host_alias ;;
594 -host=* | --host=* | --hos=* | --ho=*) 1054 -host=* | --host=* | --hos=* | --ho=*)
595 host_alias=$ac_optarg ;; 1055 host_alias=$ac_optarg ;;
596 1056
1057 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1058 ac_prev=htmldir ;;
1059 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1060 | --ht=*)
1061 htmldir=$ac_optarg ;;
1062
597 -includedir | --includedir | --includedi | --included | --include \ 1063 -includedir | --includedir | --includedi | --included | --include \
598 | --includ | --inclu | --incl | --inc) 1064 | --includ | --inclu | --incl | --inc)
599 ac_prev=includedir ;; 1065 ac_prev=includedir ;;
600 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1066 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
601 | --includ=* | --inclu=* | --incl=* | --inc=*) 1067 | --includ=* | --inclu=* | --incl=* | --inc=*)
616 ac_prev=libexecdir ;; 1082 ac_prev=libexecdir ;;
617 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1083 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
618 | --libexe=* | --libex=* | --libe=*) 1084 | --libexe=* | --libex=* | --libe=*)
619 libexecdir=$ac_optarg ;; 1085 libexecdir=$ac_optarg ;;
620 1086
1087 -localedir | --localedir | --localedi | --localed | --locale)
1088 ac_prev=localedir ;;
1089 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1090 localedir=$ac_optarg ;;
1091
621 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1092 -localstatedir | --localstatedir | --localstatedi | --localstated \
622 | --localstate | --localstat | --localsta | --localst \ 1093 | --localstate | --localstat | --localsta | --localst | --locals)
623 | --locals | --local | --loca | --loc | --lo)
624 ac_prev=localstatedir ;; 1094 ac_prev=localstatedir ;;
625 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1095 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
626 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 1096 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
627 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
628 localstatedir=$ac_optarg ;; 1097 localstatedir=$ac_optarg ;;
629 1098
630 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1099 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
631 ac_prev=mandir ;; 1100 ac_prev=mandir ;;
632 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1101 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
687 | --program-transfo=* | --program-transf=* \ 1156 | --program-transfo=* | --program-transf=* \
688 | --program-trans=* | --program-tran=* \ 1157 | --program-trans=* | --program-tran=* \
689 | --progr-tra=* | --program-tr=* | --program-t=*) 1158 | --progr-tra=* | --program-tr=* | --program-t=*)
690 program_transform_name=$ac_optarg ;; 1159 program_transform_name=$ac_optarg ;;
691 1160
1161 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1162 ac_prev=pdfdir ;;
1163 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1164 pdfdir=$ac_optarg ;;
1165
1166 -psdir | --psdir | --psdi | --psd | --ps)
1167 ac_prev=psdir ;;
1168 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1169 psdir=$ac_optarg ;;
1170
692 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1171 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
693 | -silent | --silent | --silen | --sile | --sil) 1172 | -silent | --silent | --silen | --sile | --sil)
694 silent=yes ;; 1173 silent=yes ;;
695 1174
696 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1175 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
739 ac_init_version=: ;; 1218 ac_init_version=: ;;
740 1219
741 -with-* | --with-*) 1220 -with-* | --with-*)
742 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1221 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
743 # Reject names that are not valid shell variable names. 1222 # Reject names that are not valid shell variable names.
744 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1223 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
745 { echo "$as_me: error: invalid package name: $ac_package" >&2 1224 { echo "$as_me: error: invalid package name: $ac_package" >&2
746 { (exit 1); exit 1; }; } 1225 { (exit 1); exit 1; }; }
747 ac_package=`echo $ac_package| sed 's/-/_/g'` 1226 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
748 case $ac_option in
749 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
750 *) ac_optarg=yes ;;
751 esac
752 eval "with_$ac_package='$ac_optarg'" ;; 1227 eval with_$ac_package=\$ac_optarg ;;
753 1228
754 -without-* | --without-*) 1229 -without-* | --without-*)
755 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1230 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
756 # Reject names that are not valid shell variable names. 1231 # Reject names that are not valid shell variable names.
757 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1232 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
758 { echo "$as_me: error: invalid package name: $ac_package" >&2 1233 { echo "$as_me: error: invalid package name: $ac_package" >&2
759 { (exit 1); exit 1; }; } 1234 { (exit 1); exit 1; }; }
760 ac_package=`echo $ac_package | sed 's/-/_/g'` 1235 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
761 eval "with_$ac_package=no" ;; 1236 eval with_$ac_package=no ;;
762 1237
763 --x) 1238 --x)
764 # Obsolete; use --with-x. 1239 # Obsolete; use --with-x.
765 with_x=yes ;; 1240 with_x=yes ;;
766 1241
787 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1262 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
788 # Reject names that are not valid shell variable names. 1263 # Reject names that are not valid shell variable names.
789 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1264 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
790 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1265 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791 { (exit 1); exit 1; }; } 1266 { (exit 1); exit 1; }; }
792 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
793 eval "$ac_envvar='$ac_optarg'" 1267 eval $ac_envvar=\$ac_optarg
794 export $ac_envvar ;; 1268 export $ac_envvar ;;
795 1269
796 *) 1270 *)
797 # FIXME: should be removed in autoconf 3.0. 1271 # FIXME: should be removed in autoconf 3.0.
798 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1272 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
808 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1282 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
809 { echo "$as_me: error: missing argument to $ac_option" >&2 1283 { echo "$as_me: error: missing argument to $ac_option" >&2
810 { (exit 1); exit 1; }; } 1284 { (exit 1); exit 1; }; }
811fi 1285fi
812 1286
813# Be sure to have absolute paths. 1287# Be sure to have absolute directory names.
814for ac_var in exec_prefix prefix 1288for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1289 datadir sysconfdir sharedstatedir localstatedir includedir \
1290 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1291 libdir localedir mandir
815do 1292do
816 eval ac_val=$`echo $ac_var` 1293 eval ac_val=\$$ac_var
817 case $ac_val in 1294 case $ac_val in
818 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 1295 [\\/$]* | ?:[\\/]* ) continue;;
819 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1296 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
820 { (exit 1); exit 1; }; };;
821 esac 1297 esac
822done
823
824# Be sure to have absolute paths.
825for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
826 localstatedir libdir includedir oldincludedir infodir mandir
827do
828 eval ac_val=$`echo $ac_var`
829 case $ac_val in
830 [\\/$]* | ?:[\\/]* ) ;;
831 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1298 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
832 { (exit 1); exit 1; }; };; 1299 { (exit 1); exit 1; }; }
833 esac
834done 1300done
835 1301
836# There might be people who depend on the old broken behavior: `$host' 1302# There might be people who depend on the old broken behavior: `$host'
837# used to hold the argument of --host etc. 1303# used to hold the argument of --host etc.
838# FIXME: To remove some day. 1304# FIXME: To remove some day.
855test -n "$host_alias" && ac_tool_prefix=$host_alias- 1321test -n "$host_alias" && ac_tool_prefix=$host_alias-
856 1322
857test "$silent" = yes && exec 6>/dev/null 1323test "$silent" = yes && exec 6>/dev/null
858 1324
859 1325
1326ac_pwd=`pwd` && test -n "$ac_pwd" &&
1327ac_ls_di=`ls -di .` &&
1328ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1329 { echo "$as_me: error: Working directory cannot be determined" >&2
1330 { (exit 1); exit 1; }; }
1331test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1332 { echo "$as_me: error: pwd does not report name of working directory" >&2
1333 { (exit 1); exit 1; }; }
1334
1335
860# Find the source files, if location was not specified. 1336# Find the source files, if location was not specified.
861if test -z "$srcdir"; then 1337if test -z "$srcdir"; then
862 ac_srcdir_defaulted=yes 1338 ac_srcdir_defaulted=yes
863 # Try the directory containing this script, then its parent. 1339 # Try the directory containing this script, then the parent directory.
864 ac_confdir=`(dirname "$0") 2>/dev/null || 1340 ac_confdir=`$as_dirname -- "$0" ||
865$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1341$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866 X"$0" : 'X\(//\)[^/]' \| \ 1342 X"$0" : 'X\(//\)[^/]' \| \
867 X"$0" : 'X\(//\)$' \| \ 1343 X"$0" : 'X\(//\)$' \| \
868 X"$0" : 'X\(/\)' \| \ 1344 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
869 . : '\(.\)' 2>/dev/null ||
870echo X"$0" | 1345echo X"$0" |
871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 1346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
872 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 1347 s//\1/
873 /^X\(\/\/\)$/{ s//\1/; q; } 1348 q
874 /^X\(\/\).*/{ s//\1/; q; } 1349 }
1350 /^X\(\/\/\)[^/].*/{
1351 s//\1/
1352 q
1353 }
1354 /^X\(\/\/\)$/{
1355 s//\1/
1356 q
1357 }
1358 /^X\(\/\).*/{
1359 s//\1/
1360 q
1361 }
875 s/.*/./; q'` 1362 s/.*/./; q'`
876 srcdir=$ac_confdir 1363 srcdir=$ac_confdir
877 if test ! -r $srcdir/$ac_unique_file; then 1364 if test ! -r "$srcdir/$ac_unique_file"; then
878 srcdir=.. 1365 srcdir=..
879 fi 1366 fi
880else 1367else
881 ac_srcdir_defaulted=no 1368 ac_srcdir_defaulted=no
882fi 1369fi
883if test ! -r $srcdir/$ac_unique_file; then 1370if test ! -r "$srcdir/$ac_unique_file"; then
884 if test "$ac_srcdir_defaulted" = yes; then 1371 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
885 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 1372 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
886 { (exit 1); exit 1; }; } 1373 { (exit 1); exit 1; }; }
887 else 1374fi
888 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1375ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1376ac_abs_confdir=`(
1377 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
889 { (exit 1); exit 1; }; } 1378 { (exit 1); exit 1; }; }
890 fi 1379 pwd)`
1380# When building in place, set srcdir=.
1381if test "$ac_abs_confdir" = "$ac_pwd"; then
1382 srcdir=.
891fi 1383fi
892(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 1384# Remove unnecessary trailing slashes from srcdir.
893 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 1385# Double slashes in file names in object file debugging info
894 { (exit 1); exit 1; }; } 1386# mess up M-x gdb in Emacs.
895srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 1387case $srcdir in
896ac_env_build_alias_set=${build_alias+set} 1388*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
897ac_env_build_alias_value=$build_alias 1389esac
898ac_cv_env_build_alias_set=${build_alias+set} 1390for ac_var in $ac_precious_vars; do
899ac_cv_env_build_alias_value=$build_alias 1391 eval ac_env_${ac_var}_set=\${${ac_var}+set}
900ac_env_host_alias_set=${host_alias+set} 1392 eval ac_env_${ac_var}_value=\$${ac_var}
901ac_env_host_alias_value=$host_alias 1393 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
902ac_cv_env_host_alias_set=${host_alias+set} 1394 eval ac_cv_env_${ac_var}_value=\$${ac_var}
903ac_cv_env_host_alias_value=$host_alias 1395done
904ac_env_target_alias_set=${target_alias+set}
905ac_env_target_alias_value=$target_alias
906ac_cv_env_target_alias_set=${target_alias+set}
907ac_cv_env_target_alias_value=$target_alias
908ac_env_CC_set=${CC+set}
909ac_env_CC_value=$CC
910ac_cv_env_CC_set=${CC+set}
911ac_cv_env_CC_value=$CC
912ac_env_CFLAGS_set=${CFLAGS+set}
913ac_env_CFLAGS_value=$CFLAGS
914ac_cv_env_CFLAGS_set=${CFLAGS+set}
915ac_cv_env_CFLAGS_value=$CFLAGS
916ac_env_LDFLAGS_set=${LDFLAGS+set}
917ac_env_LDFLAGS_value=$LDFLAGS
918ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
919ac_cv_env_LDFLAGS_value=$LDFLAGS
920ac_env_CPPFLAGS_set=${CPPFLAGS+set}
921ac_env_CPPFLAGS_value=$CPPFLAGS
922ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
923ac_cv_env_CPPFLAGS_value=$CPPFLAGS
924ac_env_CPP_set=${CPP+set}
925ac_env_CPP_value=$CPP
926ac_cv_env_CPP_set=${CPP+set}
927ac_cv_env_CPP_value=$CPP
928ac_env_CXX_set=${CXX+set}
929ac_env_CXX_value=$CXX
930ac_cv_env_CXX_set=${CXX+set}
931ac_cv_env_CXX_value=$CXX
932ac_env_CXXFLAGS_set=${CXXFLAGS+set}
933ac_env_CXXFLAGS_value=$CXXFLAGS
934ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
935ac_cv_env_CXXFLAGS_value=$CXXFLAGS
936ac_env_CXXCPP_set=${CXXCPP+set}
937ac_env_CXXCPP_value=$CXXCPP
938ac_cv_env_CXXCPP_set=${CXXCPP+set}
939ac_cv_env_CXXCPP_value=$CXXCPP
940ac_env_F77_set=${F77+set}
941ac_env_F77_value=$F77
942ac_cv_env_F77_set=${F77+set}
943ac_cv_env_F77_value=$F77
944ac_env_FFLAGS_set=${FFLAGS+set}
945ac_env_FFLAGS_value=$FFLAGS
946ac_cv_env_FFLAGS_set=${FFLAGS+set}
947ac_cv_env_FFLAGS_value=$FFLAGS
948 1396
949# 1397#
950# Report the --help message. 1398# Report the --help message.
951# 1399#
952if test "$ac_init_help" = "long"; then 1400if test "$ac_init_help" = "long"; then
971 --cache-file=FILE cache test results in FILE [disabled] 1419 --cache-file=FILE cache test results in FILE [disabled]
972 -C, --config-cache alias for \`--cache-file=config.cache' 1420 -C, --config-cache alias for \`--cache-file=config.cache'
973 -n, --no-create do not create output files 1421 -n, --no-create do not create output files
974 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1422 --srcdir=DIR find the sources in DIR [configure dir or \`..']
975 1423
976_ACEOF
977
978 cat <<_ACEOF
979Installation directories: 1424Installation directories:
980 --prefix=PREFIX install architecture-independent files in PREFIX 1425 --prefix=PREFIX install architecture-independent files in PREFIX
981 [$ac_default_prefix] 1426 [$ac_default_prefix]
982 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1427 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
983 [PREFIX] 1428 [PREFIX]
991 1436
992Fine tuning of the installation directories: 1437Fine tuning of the installation directories:
993 --bindir=DIR user executables [EPREFIX/bin] 1438 --bindir=DIR user executables [EPREFIX/bin]
994 --sbindir=DIR system admin executables [EPREFIX/sbin] 1439 --sbindir=DIR system admin executables [EPREFIX/sbin]
995 --libexecdir=DIR program executables [EPREFIX/libexec] 1440 --libexecdir=DIR program executables [EPREFIX/libexec]
996 --datadir=DIR read-only architecture-independent data [PREFIX/share]
997 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1441 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
998 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1442 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
999 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1443 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1000 --libdir=DIR object code libraries [EPREFIX/lib] 1444 --libdir=DIR object code libraries [EPREFIX/lib]
1001 --includedir=DIR C header files [PREFIX/include] 1445 --includedir=DIR C header files [PREFIX/include]
1002 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1446 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1447 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1448 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1003 --infodir=DIR info documentation [PREFIX/info] 1449 --infodir=DIR info documentation [DATAROOTDIR/info]
1450 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1004 --mandir=DIR man documentation [PREFIX/man] 1451 --mandir=DIR man documentation [DATAROOTDIR/man]
1452 --docdir=DIR documentation root [DATAROOTDIR/doc/libspf]
1453 --htmldir=DIR html documentation [DOCDIR]
1454 --dvidir=DIR dvi documentation [DOCDIR]
1455 --pdfdir=DIR pdf documentation [DOCDIR]
1456 --psdir=DIR ps documentation [DOCDIR]
1005_ACEOF 1457_ACEOF
1006 1458
1007 cat <<\_ACEOF 1459 cat <<\_ACEOF
1008 1460
1009Program names: 1461Program names:
1026Optional Features: 1478Optional Features:
1027 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1479 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1028 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1480 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1029 --disable-dependency-tracking Speeds up one-time builds 1481 --disable-dependency-tracking Speeds up one-time builds
1030 --enable-dependency-tracking Do not reject slow dependency extractors 1482 --enable-dependency-tracking Do not reject slow dependency extractors
1031 --enable-shared[=PKGS] 1483 --enable-shared[=PKGS] build shared libraries [default=yes]
1032 build shared libraries [default=yes] 1484 --enable-static[=PKGS] build static libraries [default=yes]
1033 --enable-static[=PKGS]
1034 build static libraries [default=yes]
1035 --enable-fast-install[=PKGS] 1485 --enable-fast-install[=PKGS]
1036 optimize for fast installation [default=yes] 1486 optimize for fast installation [default=yes]
1037 --disable-libtool-lock avoid locking (might break parallel builds) 1487 --disable-libtool-lock avoid locking (might break parallel builds)
1038 --enable-libbind Link libbind instead of libresolv (default=no) 1488 --enable-libbind Link libbind instead of libresolv (default=no)
1039 --enable-debug Enables debug option (default=no) 1489 --enable-debug Enables debug option (default=no)
1051 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1501 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1052 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1502 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1053 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1503 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1054 --with-pic try to use only PIC/non-PIC objects [default=use 1504 --with-pic try to use only PIC/non-PIC objects [default=use
1055 both] 1505 both]
1056 --with-tags[=TAGS] 1506 --with-tags[=TAGS] include additional configurations [automatic]
1057 include additional configurations [automatic]
1058 1507
1059Some influential environment variables: 1508Some influential environment variables:
1060 CC C compiler command 1509 CC C compiler command
1061 CFLAGS C compiler flags 1510 CFLAGS C compiler flags
1062 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1511 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1063 nonstandard directory <lib dir> 1512 nonstandard directory <lib dir>
1513 LIBS libraries to pass to the linker, e.g. -l<library>
1064 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 1514 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1065 headers in a nonstandard directory <include dir> 1515 you have headers in a nonstandard directory <include dir>
1066 CPP C preprocessor 1516 CPP C preprocessor
1067 CXX C++ compiler command 1517 CXX C++ compiler command
1068 CXXFLAGS C++ compiler flags 1518 CXXFLAGS C++ compiler flags
1069 CXXCPP C++ preprocessor 1519 CXXCPP C++ preprocessor
1070 F77 Fortran 77 compiler command 1520 F77 Fortran 77 compiler command
1073Use these variables to override the choices made by `configure' or to help 1523Use these variables to override the choices made by `configure' or to help
1074it to find libraries and programs with nonstandard names/locations. 1524it to find libraries and programs with nonstandard names/locations.
1075 1525
1076Report bugs to <jcouzens@codeshare.ca>. 1526Report bugs to <jcouzens@codeshare.ca>.
1077_ACEOF 1527_ACEOF
1528ac_status=$?
1078fi 1529fi
1079 1530
1080if test "$ac_init_help" = "recursive"; then 1531if test "$ac_init_help" = "recursive"; then
1081 # If there are subdirs, report their specific --help. 1532 # If there are subdirs, report their specific --help.
1082 ac_popdir=`pwd`
1083 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1533 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1084 test -d $ac_dir || continue 1534 test -d "$ac_dir" || continue
1085 ac_builddir=. 1535 ac_builddir=.
1086 1536
1087if test "$ac_dir" != .; then 1537case "$ac_dir" in
1538.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1539*)
1088 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1540 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1089 # A "../" for each directory in $ac_dir_suffix. 1541 # A ".." for each directory in $ac_dir_suffix.
1090 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 1542 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1091else 1543 case $ac_top_builddir_sub in
1092 ac_dir_suffix= ac_top_builddir= 1544 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1093fi 1545 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1546 esac ;;
1547esac
1548ac_abs_top_builddir=$ac_pwd
1549ac_abs_builddir=$ac_pwd$ac_dir_suffix
1550# for backward compatibility:
1551ac_top_builddir=$ac_top_build_prefix
1094 1552
1095case $srcdir in 1553case $srcdir in
1096 .) # No --srcdir option. We are building in place. 1554 .) # We are building in place.
1097 ac_srcdir=. 1555 ac_srcdir=.
1098 if test -z "$ac_top_builddir"; then 1556 ac_top_srcdir=$ac_top_builddir_sub
1099 ac_top_srcdir=. 1557 ac_abs_top_srcdir=$ac_pwd ;;
1100 else
1101 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1102 fi ;;
1103 [\\/]* | ?:[\\/]* ) # Absolute path. 1558 [\\/]* | ?:[\\/]* ) # Absolute name.
1104 ac_srcdir=$srcdir$ac_dir_suffix; 1559 ac_srcdir=$srcdir$ac_dir_suffix;
1105 ac_top_srcdir=$srcdir ;; 1560 ac_top_srcdir=$srcdir
1561 ac_abs_top_srcdir=$srcdir ;;
1106 *) # Relative path. 1562 *) # Relative name.
1107 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 1563 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1108 ac_top_srcdir=$ac_top_builddir$srcdir ;; 1564 ac_top_srcdir=$ac_top_build_prefix$srcdir
1565 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1109esac 1566esac
1567ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1110 1568
1111# Do not use `cd foo && pwd` to compute absolute paths, because 1569 cd "$ac_dir" || { ac_status=$?; continue; }
1112# the directories may not exist. 1570 # Check for guested configure.
1113case `pwd` in
1114.) ac_abs_builddir="$ac_dir";;
1115*)
1116 case "$ac_dir" in
1117 .) ac_abs_builddir=`pwd`;;
1118 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1119 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1120 esac;;
1121esac
1122case $ac_abs_builddir in
1123.) ac_abs_top_builddir=${ac_top_builddir}.;;
1124*)
1125 case ${ac_top_builddir}. in
1126 .) ac_abs_top_builddir=$ac_abs_builddir;;
1127 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1128 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1129 esac;;
1130esac
1131case $ac_abs_builddir in
1132.) ac_abs_srcdir=$ac_srcdir;;
1133*)
1134 case $ac_srcdir in
1135 .) ac_abs_srcdir=$ac_abs_builddir;;
1136 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1137 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1138 esac;;
1139esac
1140case $ac_abs_builddir in
1141.) ac_abs_top_srcdir=$ac_top_srcdir;;
1142*)
1143 case $ac_top_srcdir in
1144 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1145 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1146 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1147 esac;;
1148esac
1149
1150 cd $ac_dir
1151 # Check for guested configure; otherwise get Cygnus style configure.
1152 if test -f $ac_srcdir/configure.gnu; then 1571 if test -f "$ac_srcdir/configure.gnu"; then
1153 echo 1572 echo &&
1154 $SHELL $ac_srcdir/configure.gnu --help=recursive 1573 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1155 elif test -f $ac_srcdir/configure; then 1574 elif test -f "$ac_srcdir/configure"; then
1156 echo 1575 echo &&
1157 $SHELL $ac_srcdir/configure --help=recursive 1576 $SHELL "$ac_srcdir/configure" --help=recursive
1158 elif test -f $ac_srcdir/configure.ac ||
1159 test -f $ac_srcdir/configure.in; then
1160 echo
1161 $ac_configure --help
1162 else 1577 else
1163 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1578 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1164 fi 1579 fi || ac_status=$?
1165 cd $ac_popdir 1580 cd "$ac_pwd" || { ac_status=$?; break; }
1166 done 1581 done
1167fi 1582fi
1168 1583
1169test -n "$ac_init_help" && exit 0 1584test -n "$ac_init_help" && exit $ac_status
1170if $ac_init_version; then 1585if $ac_init_version; then
1171 cat <<\_ACEOF 1586 cat <<\_ACEOF
1172libspf configure 1.0.0-p5 1587libspf configure 1.0.0-p5
1173generated by GNU Autoconf 2.59 1588generated by GNU Autoconf 2.61
1174 1589
1175Copyright (C) 2003 Free Software Foundation, Inc. 1590Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
15912002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1176This configure script is free software; the Free Software Foundation 1592This configure script is free software; the Free Software Foundation
1177gives unlimited permission to copy, distribute and modify it. 1593gives unlimited permission to copy, distribute and modify it.
1178_ACEOF 1594_ACEOF
1179 exit 0 1595 exit
1180fi 1596fi
1181exec 5>config.log 1597cat >config.log <<_ACEOF
1182cat >&5 <<_ACEOF
1183This file contains any messages produced by compilers while 1598This file contains any messages produced by compilers while
1184running configure, to aid debugging if configure makes a mistake. 1599running configure, to aid debugging if configure makes a mistake.
1185 1600
1186It was created by libspf $as_me 1.0.0-p5, which was 1601It was created by libspf $as_me 1.0.0-p5, which was
1187generated by GNU Autoconf 2.59. Invocation command line was 1602generated by GNU Autoconf 2.61. Invocation command line was
1188 1603
1189 $ $0 $@ 1604 $ $0 $@
1190 1605
1191_ACEOF 1606_ACEOF
1607exec 5>>config.log
1192{ 1608{
1193cat <<_ASUNAME 1609cat <<_ASUNAME
1194## --------- ## 1610## --------- ##
1195## Platform. ## 1611## Platform. ##
1196## --------- ## 1612## --------- ##
1205/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1621/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1206 1622
1207/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1623/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1208/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1624/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1209/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1625/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1210hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 1626/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1211/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1627/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1212/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1628/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1213/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1629/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1214 1630
1215_ASUNAME 1631_ASUNAME
1219do 1635do
1220 IFS=$as_save_IFS 1636 IFS=$as_save_IFS
1221 test -z "$as_dir" && as_dir=. 1637 test -z "$as_dir" && as_dir=.
1222 echo "PATH: $as_dir" 1638 echo "PATH: $as_dir"
1223done 1639done
1640IFS=$as_save_IFS
1224 1641
1225} >&5 1642} >&5
1226 1643
1227cat >&5 <<_ACEOF 1644cat >&5 <<_ACEOF
1228 1645
1240# Also quote any args containing shell meta-characters. 1657# Also quote any args containing shell meta-characters.
1241# Make two passes to allow for proper duplicate-argument suppression. 1658# Make two passes to allow for proper duplicate-argument suppression.
1242ac_configure_args= 1659ac_configure_args=
1243ac_configure_args0= 1660ac_configure_args0=
1244ac_configure_args1= 1661ac_configure_args1=
1245ac_sep=
1246ac_must_keep_next=false 1662ac_must_keep_next=false
1247for ac_pass in 1 2 1663for ac_pass in 1 2
1248do 1664do
1249 for ac_arg 1665 for ac_arg
1250 do 1666 do
1251 case $ac_arg in 1667 case $ac_arg in
1252 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1668 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1253 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1669 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1254 | -silent | --silent | --silen | --sile | --sil) 1670 | -silent | --silent | --silen | --sile | --sil)
1255 continue ;; 1671 continue ;;
1256 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1672 *\'*)
1257 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1673 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1258 esac 1674 esac
1259 case $ac_pass in 1675 case $ac_pass in
1260 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1676 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1261 2) 1677 2)
1273 esac 1689 esac
1274 ;; 1690 ;;
1275 -* ) ac_must_keep_next=true ;; 1691 -* ) ac_must_keep_next=true ;;
1276 esac 1692 esac
1277 fi 1693 fi
1278 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1694 ac_configure_args="$ac_configure_args '$ac_arg'"
1279 # Get rid of the leading space.
1280 ac_sep=" "
1281 ;; 1695 ;;
1282 esac 1696 esac
1283 done 1697 done
1284done 1698done
1285$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1699$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1286$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1700$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1287 1701
1288# When interrupted or exit'd, cleanup temporary files, and complete 1702# When interrupted or exit'd, cleanup temporary files, and complete
1289# config.log. We remove comments because anyway the quotes in there 1703# config.log. We remove comments because anyway the quotes in there
1290# would cause problems or look ugly. 1704# would cause problems or look ugly.
1291# WARNING: Be sure not to use single quotes in there, as some shells, 1705# WARNING: Use '\'' to represent an apostrophe within the trap.
1292# such as our DU 5.0 friend, will then `close' the trap. 1706# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1293trap 'exit_status=$? 1707trap 'exit_status=$?
1294 # Save into config.log some information that might help in debugging. 1708 # Save into config.log some information that might help in debugging.
1295 { 1709 {
1296 echo 1710 echo
1297 1711
1300## Cache variables. ## 1714## Cache variables. ##
1301## ---------------- ## 1715## ---------------- ##
1302_ASBOX 1716_ASBOX
1303 echo 1717 echo
1304 # The following way of writing the cache mishandles newlines in values, 1718 # The following way of writing the cache mishandles newlines in values,
1305{ 1719(
1720 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1721 eval ac_val=\$$ac_var
1722 case $ac_val in #(
1723 *${as_nl}*)
1724 case $ac_var in #(
1725 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1726echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1727 esac
1728 case $ac_var in #(
1729 _ | IFS | as_nl) ;; #(
1730 *) $as_unset $ac_var ;;
1731 esac ;;
1732 esac
1733 done
1306 (set) 2>&1 | 1734 (set) 2>&1 |
1307 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1735 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1308 *ac_space=\ *) 1736 *${as_nl}ac_space=\ *)
1309 sed -n \ 1737 sed -n \
1310 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1738 "s/'\''/'\''\\\\'\'''\''/g;
1311 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1739 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1312 ;; 1740 ;; #(
1313 *) 1741 *)
1314 sed -n \ 1742 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1315 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1316 ;; 1743 ;;
1317 esac; 1744 esac |
1318} 1745 sort
1746)
1319 echo 1747 echo
1320 1748
1321 cat <<\_ASBOX 1749 cat <<\_ASBOX
1322## ----------------- ## 1750## ----------------- ##
1323## Output variables. ## 1751## Output variables. ##
1324## ----------------- ## 1752## ----------------- ##
1325_ASBOX 1753_ASBOX
1326 echo 1754 echo
1327 for ac_var in $ac_subst_vars 1755 for ac_var in $ac_subst_vars
1328 do 1756 do
1329 eval ac_val=$`echo $ac_var` 1757 eval ac_val=\$$ac_var
1758 case $ac_val in
1759 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1760 esac
1330 echo "$ac_var='"'"'$ac_val'"'"'" 1761 echo "$ac_var='\''$ac_val'\''"
1331 done | sort 1762 done | sort
1332 echo 1763 echo
1333 1764
1334 if test -n "$ac_subst_files"; then 1765 if test -n "$ac_subst_files"; then
1335 cat <<\_ASBOX 1766 cat <<\_ASBOX
1336## ------------- ## 1767## ------------------- ##
1337## Output files. ## 1768## File substitutions. ##
1338## ------------- ## 1769## ------------------- ##
1339_ASBOX 1770_ASBOX
1340 echo 1771 echo
1341 for ac_var in $ac_subst_files 1772 for ac_var in $ac_subst_files
1342 do 1773 do
1343 eval ac_val=$`echo $ac_var` 1774 eval ac_val=\$$ac_var
1775 case $ac_val in
1776 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1777 esac
1344 echo "$ac_var='"'"'$ac_val'"'"'" 1778 echo "$ac_var='\''$ac_val'\''"
1345 done | sort 1779 done | sort
1346 echo 1780 echo
1347 fi 1781 fi
1348 1782
1349 if test -s confdefs.h; then 1783 if test -s confdefs.h; then
1351## ----------- ## 1785## ----------- ##
1352## confdefs.h. ## 1786## confdefs.h. ##
1353## ----------- ## 1787## ----------- ##
1354_ASBOX 1788_ASBOX
1355 echo 1789 echo
1356 sed "/^$/d" confdefs.h | sort 1790 cat confdefs.h
1357 echo 1791 echo
1358 fi 1792 fi
1359 test "$ac_signal" != 0 && 1793 test "$ac_signal" != 0 &&
1360 echo "$as_me: caught signal $ac_signal" 1794 echo "$as_me: caught signal $ac_signal"
1361 echo "$as_me: exit $exit_status" 1795 echo "$as_me: exit $exit_status"
1362 } >&5 1796 } >&5
1363 rm -f core *.core && 1797 rm -f core *.core core.conftest.* &&
1364 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1798 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1365 exit $exit_status 1799 exit $exit_status
1366 ' 0 1800' 0
1367for ac_signal in 1 2 13 15; do 1801for ac_signal in 1 2 13 15; do
1368 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1802 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1369done 1803done
1370ac_signal=0 1804ac_signal=0
1371 1805
1372# confdefs.h avoids OS command line length limits that DEFS can exceed. 1806# confdefs.h avoids OS command line length limits that DEFS can exceed.
1373rm -rf conftest* confdefs.h 1807rm -f -r conftest* confdefs.h
1374# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1375echo >confdefs.h
1376 1808
1377# Predefined preprocessor variables. 1809# Predefined preprocessor variables.
1378 1810
1379cat >>confdefs.h <<_ACEOF 1811cat >>confdefs.h <<_ACEOF
1380#define PACKAGE_NAME "$PACKAGE_NAME" 1812#define PACKAGE_NAME "$PACKAGE_NAME"
1401_ACEOF 1833_ACEOF
1402 1834
1403 1835
1404# Let the site file select an alternate cache file if it wants to. 1836# Let the site file select an alternate cache file if it wants to.
1405# Prefer explicitly selected file to automatically selected ones. 1837# Prefer explicitly selected file to automatically selected ones.
1406if test -z "$CONFIG_SITE"; then 1838if test -n "$CONFIG_SITE"; then
1839 set x "$CONFIG_SITE"
1407 if test "x$prefix" != xNONE; then 1840elif test "x$prefix" != xNONE; then
1408 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1841 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1409 else 1842else
1410 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1843 set x "$ac_default_prefix/share/config.site" \
1411 fi 1844 "$ac_default_prefix/etc/config.site"
1412fi 1845fi
1413for ac_site_file in $CONFIG_SITE; do 1846shift
1847for ac_site_file
1848do
1414 if test -r "$ac_site_file"; then 1849 if test -r "$ac_site_file"; then
1415 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1850 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1416echo "$as_me: loading site script $ac_site_file" >&6;} 1851echo "$as_me: loading site script $ac_site_file" >&6;}
1417 sed 's/^/| /' "$ac_site_file" >&5 1852 sed 's/^/| /' "$ac_site_file" >&5
1418 . "$ac_site_file" 1853 . "$ac_site_file"
1424 # files actually), so we avoid doing that. 1859 # files actually), so we avoid doing that.
1425 if test -f "$cache_file"; then 1860 if test -f "$cache_file"; then
1426 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1861 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1427echo "$as_me: loading cache $cache_file" >&6;} 1862echo "$as_me: loading cache $cache_file" >&6;}
1428 case $cache_file in 1863 case $cache_file in
1429 [\\/]* | ?:[\\/]* ) . $cache_file;; 1864 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1430 *) . ./$cache_file;; 1865 *) . "./$cache_file";;
1431 esac 1866 esac
1432 fi 1867 fi
1433else 1868else
1434 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1869 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1435echo "$as_me: creating cache $cache_file" >&6;} 1870echo "$as_me: creating cache $cache_file" >&6;}
1437fi 1872fi
1438 1873
1439# Check that the precious variables saved in the cache have kept the same 1874# Check that the precious variables saved in the cache have kept the same
1440# value. 1875# value.
1441ac_cache_corrupted=false 1876ac_cache_corrupted=false
1442for ac_var in `(set) 2>&1 | 1877for ac_var in $ac_precious_vars; do
1443 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1444 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1878 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1445 eval ac_new_set=\$ac_env_${ac_var}_set 1879 eval ac_new_set=\$ac_env_${ac_var}_set
1446 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1880 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1447 eval ac_new_val="\$ac_env_${ac_var}_value" 1881 eval ac_new_val=\$ac_env_${ac_var}_value
1448 case $ac_old_set,$ac_new_set in 1882 case $ac_old_set,$ac_new_set in
1449 set,) 1883 set,)
1450 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1884 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1451echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1885echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1452 ac_cache_corrupted=: ;; 1886 ac_cache_corrupted=: ;;
1467 fi;; 1901 fi;;
1468 esac 1902 esac
1469 # Pass precious variables to config.status. 1903 # Pass precious variables to config.status.
1470 if test "$ac_new_set" = set; then 1904 if test "$ac_new_set" = set; then
1471 case $ac_new_val in 1905 case $ac_new_val in
1472 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1473 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1906 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1474 *) ac_arg=$ac_var=$ac_new_val ;; 1907 *) ac_arg=$ac_var=$ac_new_val ;;
1475 esac 1908 esac
1476 case " $ac_configure_args " in 1909 case " $ac_configure_args " in
1477 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1910 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1478 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1911 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1485 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1918 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1486echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1919echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1487 { (exit 1); exit 1; }; } 1920 { (exit 1); exit 1; }; }
1488fi 1921fi
1489 1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1490ac_ext=c 1947ac_ext=c
1491ac_cpp='$CPP $CPPFLAGS' 1948ac_cpp='$CPP $CPPFLAGS'
1492ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1949ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1493ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1950ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1494ac_compiler_gnu=$ac_cv_c_compiler_gnu 1951ac_compiler_gnu=$ac_cv_c_compiler_gnu
1495 1952
1496 1953
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522ac_aux_dir= 1954ac_aux_dir=
1523for ac_dir in build_tools $srcdir/build_tools; do 1955for ac_dir in build_tools "$srcdir"/build_tools; do
1524 if test -f $ac_dir/install-sh; then 1956 if test -f "$ac_dir/install-sh"; then
1525 ac_aux_dir=$ac_dir 1957 ac_aux_dir=$ac_dir
1526 ac_install_sh="$ac_aux_dir/install-sh -c" 1958 ac_install_sh="$ac_aux_dir/install-sh -c"
1527 break 1959 break
1528 elif test -f $ac_dir/install.sh; then 1960 elif test -f "$ac_dir/install.sh"; then
1529 ac_aux_dir=$ac_dir 1961 ac_aux_dir=$ac_dir
1530 ac_install_sh="$ac_aux_dir/install.sh -c" 1962 ac_install_sh="$ac_aux_dir/install.sh -c"
1531 break 1963 break
1532 elif test -f $ac_dir/shtool; then 1964 elif test -f "$ac_dir/shtool"; then
1533 ac_aux_dir=$ac_dir 1965 ac_aux_dir=$ac_dir
1534 ac_install_sh="$ac_aux_dir/shtool install -c" 1966 ac_install_sh="$ac_aux_dir/shtool install -c"
1535 break 1967 break
1536 fi 1968 fi
1537done 1969done
1538if test -z "$ac_aux_dir"; then 1970if test -z "$ac_aux_dir"; then
1539 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build_tools $srcdir/build_tools" >&5 1971 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build_tools \"$srcdir\"/build_tools" >&5
1540echo "$as_me: error: cannot find install-sh or install.sh in build_tools $srcdir/build_tools" >&2;} 1972echo "$as_me: error: cannot find install-sh or install.sh in build_tools \"$srcdir\"/build_tools" >&2;}
1541 { (exit 1); exit 1; }; } 1973 { (exit 1); exit 1; }; }
1542fi 1974fi
1975
1976# These three variables are undocumented and unsupported,
1977# and are intended to be withdrawn in a future Autoconf release.
1978# They can cause serious problems if a builder's source tree is in a directory
1979# whose full name contains unusual characters.
1543ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1980ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1544ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1981ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1545ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1982ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1983
1546 1984
1547am__api_version="1.6" 1985am__api_version="1.6"
1548# Find a good install program. We prefer a C program (faster), 1986# Find a good install program. We prefer a C program (faster),
1549# so one script is as good as another. But avoid the broken or 1987# so one script is as good as another. But avoid the broken or
1550# incompatible versions: 1988# incompatible versions:
1556# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1994# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1557# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1995# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1558# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1996# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1559# OS/2's system install, which has a completely different semantic 1997# OS/2's system install, which has a completely different semantic
1560# ./install, which can be erroneously created by make from ./install.sh. 1998# ./install, which can be erroneously created by make from ./install.sh.
1561echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1999{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1562echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 2000echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1563if test -z "$INSTALL"; then 2001if test -z "$INSTALL"; then
1564if test "${ac_cv_path_install+set}" = set; then 2002if test "${ac_cv_path_install+set}" = set; then
1565 echo $ECHO_N "(cached) $ECHO_C" >&6 2003 echo $ECHO_N "(cached) $ECHO_C" >&6
1566else 2004else
1567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1579 # OSF1 and SCO ODT 3.0 have their own names for install. 2017 # OSF1 and SCO ODT 3.0 have their own names for install.
1580 # Don't use installbsd from OSF since it installs stuff as root 2018 # Don't use installbsd from OSF since it installs stuff as root
1581 # by default. 2019 # by default.
1582 for ac_prog in ginstall scoinst install; do 2020 for ac_prog in ginstall scoinst install; do
1583 for ac_exec_ext in '' $ac_executable_extensions; do 2021 for ac_exec_ext in '' $ac_executable_extensions; do
1584 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2022 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1585 if test $ac_prog = install && 2023 if test $ac_prog = install &&
1586 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2024 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1587 # AIX install. It has an incompatible calling convention. 2025 # AIX install. It has an incompatible calling convention.
1588 : 2026 :
1589 elif test $ac_prog = install && 2027 elif test $ac_prog = install &&
1598 done 2036 done
1599 done 2037 done
1600 ;; 2038 ;;
1601esac 2039esac
1602done 2040done
2041IFS=$as_save_IFS
1603 2042
1604 2043
1605fi 2044fi
1606 if test "${ac_cv_path_install+set}" = set; then 2045 if test "${ac_cv_path_install+set}" = set; then
1607 INSTALL=$ac_cv_path_install 2046 INSTALL=$ac_cv_path_install
1608 else 2047 else
1609 # As a last resort, use the slow shell script. We don't cache a 2048 # As a last resort, use the slow shell script. Don't cache a
1610 # path for INSTALL within a source directory, because that will 2049 # value for INSTALL within a source directory, because that will
1611 # break other packages using the cache if that directory is 2050 # break other packages using the cache if that directory is
1612 # removed, or if the path is relative. 2051 # removed, or if the value is a relative name.
1613 INSTALL=$ac_install_sh 2052 INSTALL=$ac_install_sh
1614 fi 2053 fi
1615fi 2054fi
1616echo "$as_me:$LINENO: result: $INSTALL" >&5 2055{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1617echo "${ECHO_T}$INSTALL" >&6 2056echo "${ECHO_T}$INSTALL" >&6; }
1618 2057
1619# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2058# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1620# It thinks the first close brace ends the variable substitution. 2059# It thinks the first close brace ends the variable substitution.
1621test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2060test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1622 2061
1623test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2062test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1624 2063
1625test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2064test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1626 2065
1627echo "$as_me:$LINENO: checking whether build environment is sane" >&5 2066{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1628echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 2067echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1629# Just in case 2068# Just in case
1630sleep 1 2069sleep 1
1631echo timestamp > conftest.file 2070echo timestamp > conftest.file
1632# Do `set' in a subshell so we don't clobber the current shell's 2071# Do `set' in a subshell so we don't clobber the current shell's
1633# arguments. Must try -L first in case configure is actually a 2072# arguments. Must try -L first in case configure is actually a
1665Check your system clock" >&5 2104Check your system clock" >&5
1666echo "$as_me: error: newly created file is older than distributed files! 2105echo "$as_me: error: newly created file is older than distributed files!
1667Check your system clock" >&2;} 2106Check your system clock" >&2;}
1668 { (exit 1); exit 1; }; } 2107 { (exit 1); exit 1; }; }
1669fi 2108fi
1670echo "$as_me:$LINENO: result: yes" >&5 2109{ echo "$as_me:$LINENO: result: yes" >&5
1671echo "${ECHO_T}yes" >&6 2110echo "${ECHO_T}yes" >&6; }
1672test "$program_prefix" != NONE && 2111test "$program_prefix" != NONE &&
1673 program_transform_name="s,^,$program_prefix,;$program_transform_name" 2112 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1674# Use a double $ so make ignores it. 2113# Use a double $ so make ignores it.
1675test "$program_suffix" != NONE && 2114test "$program_suffix" != NONE &&
1676 program_transform_name="s,\$,$program_suffix,;$program_transform_name" 2115 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1677# Double any \ or $. echo might interpret backslashes. 2116# Double any \ or $. echo might interpret backslashes.
1678# By default was `s,x,x', remove it if useless. 2117# By default was `s,x,x', remove it if useless.
1679cat <<\_ACEOF >conftest.sed 2118cat <<\_ACEOF >conftest.sed
1680s/[\\$]/&&/g;s/;s,x,x,$// 2119s/[\\$]/&&/g;s/;s,x,x,$//
1681_ACEOF 2120_ACEOF
1682program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 2121program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1683rm conftest.sed 2122rm -f conftest.sed
1684 2123
1685 2124
1686# expand $ac_aux_dir to an absolute path 2125# expand $ac_aux_dir to an absolute path
1687am_aux_dir=`cd $ac_aux_dir && pwd` 2126am_aux_dir=`cd $ac_aux_dir && pwd`
1688 2127
1698 2137
1699for ac_prog in gawk mawk nawk awk 2138for ac_prog in gawk mawk nawk awk
1700do 2139do
1701 # Extract the first word of "$ac_prog", so it can be a program name with args. 2140 # Extract the first word of "$ac_prog", so it can be a program name with args.
1702set dummy $ac_prog; ac_word=$2 2141set dummy $ac_prog; ac_word=$2
1703echo "$as_me:$LINENO: checking for $ac_word" >&5 2142{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1704echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2143echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1705if test "${ac_cv_prog_AWK+set}" = set; then 2144if test "${ac_cv_prog_AWK+set}" = set; then
1706 echo $ECHO_N "(cached) $ECHO_C" >&6 2145 echo $ECHO_N "(cached) $ECHO_C" >&6
1707else 2146else
1708 if test -n "$AWK"; then 2147 if test -n "$AWK"; then
1709 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2148 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1712for as_dir in $PATH 2151for as_dir in $PATH
1713do 2152do
1714 IFS=$as_save_IFS 2153 IFS=$as_save_IFS
1715 test -z "$as_dir" && as_dir=. 2154 test -z "$as_dir" && as_dir=.
1716 for ac_exec_ext in '' $ac_executable_extensions; do 2155 for ac_exec_ext in '' $ac_executable_extensions; do
1717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1718 ac_cv_prog_AWK="$ac_prog" 2157 ac_cv_prog_AWK="$ac_prog"
1719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1720 break 2 2159 break 2
1721 fi 2160 fi
1722done 2161done
1723done 2162done
2163IFS=$as_save_IFS
1724 2164
1725fi 2165fi
1726fi 2166fi
1727AWK=$ac_cv_prog_AWK 2167AWK=$ac_cv_prog_AWK
1728if test -n "$AWK"; then 2168if test -n "$AWK"; then
1729 echo "$as_me:$LINENO: result: $AWK" >&5 2169 { echo "$as_me:$LINENO: result: $AWK" >&5
1730echo "${ECHO_T}$AWK" >&6 2170echo "${ECHO_T}$AWK" >&6; }
1731else 2171else
1732 echo "$as_me:$LINENO: result: no" >&5 2172 { echo "$as_me:$LINENO: result: no" >&5
1733echo "${ECHO_T}no" >&6 2173echo "${ECHO_T}no" >&6; }
1734fi 2174fi
2175
1735 2176
1736 test -n "$AWK" && break 2177 test -n "$AWK" && break
1737done 2178done
1738 2179
1739echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2180{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1740echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 2181echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1741set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 2182set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1742if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 2183if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1743 echo $ECHO_N "(cached) $ECHO_C" >&6 2184 echo $ECHO_N "(cached) $ECHO_C" >&6
1744else 2185else
1745 cat >conftest.make <<\_ACEOF 2186 cat >conftest.make <<\_ACEOF
2187SHELL = /bin/sh
1746all: 2188all:
1747 @echo 'ac_maketemp="$(MAKE)"' 2189 @echo '@@@%%%=$(MAKE)=@@@%%%'
1748_ACEOF 2190_ACEOF
1749# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2191# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1750eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 2192case `${MAKE-make} -f conftest.make 2>/dev/null` in
1751if test -n "$ac_maketemp"; then 2193 *@@@%%%=?*=@@@%%%*)
1752 eval ac_cv_prog_make_${ac_make}_set=yes 2194 eval ac_cv_prog_make_${ac_make}_set=yes;;
1753else 2195 *)
1754 eval ac_cv_prog_make_${ac_make}_set=no 2196 eval ac_cv_prog_make_${ac_make}_set=no;;
1755fi 2197esac
1756rm -f conftest.make 2198rm -f conftest.make
1757fi 2199fi
1758if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 2200if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1759 echo "$as_me:$LINENO: result: yes" >&5 2201 { echo "$as_me:$LINENO: result: yes" >&5
1760echo "${ECHO_T}yes" >&6 2202echo "${ECHO_T}yes" >&6; }
1761 SET_MAKE= 2203 SET_MAKE=
1762else 2204else
1763 echo "$as_me:$LINENO: result: no" >&5 2205 { echo "$as_me:$LINENO: result: no" >&5
1764echo "${ECHO_T}no" >&6 2206echo "${ECHO_T}no" >&6; }
1765 SET_MAKE="MAKE=${MAKE-make}" 2207 SET_MAKE="MAKE=${MAKE-make}"
1766fi 2208fi
1767 2209
1768 # test to see if srcdir already configured 2210 # test to see if srcdir already configured
1769if test "`cd $srcdir && pwd`" != "`pwd`" && 2211if test "`cd $srcdir && pwd`" != "`pwd`" &&
1805# will honor the `STRIP' environment variable to overrule this program. 2247# will honor the `STRIP' environment variable to overrule this program.
1806if test "$cross_compiling" != no; then 2248if test "$cross_compiling" != no; then
1807 if test -n "$ac_tool_prefix"; then 2249 if test -n "$ac_tool_prefix"; then
1808 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2250 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1809set dummy ${ac_tool_prefix}strip; ac_word=$2 2251set dummy ${ac_tool_prefix}strip; ac_word=$2
1810echo "$as_me:$LINENO: checking for $ac_word" >&5 2252{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1811echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2253echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1812if test "${ac_cv_prog_STRIP+set}" = set; then 2254if test "${ac_cv_prog_STRIP+set}" = set; then
1813 echo $ECHO_N "(cached) $ECHO_C" >&6 2255 echo $ECHO_N "(cached) $ECHO_C" >&6
1814else 2256else
1815 if test -n "$STRIP"; then 2257 if test -n "$STRIP"; then
1816 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2258 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1819for as_dir in $PATH 2261for as_dir in $PATH
1820do 2262do
1821 IFS=$as_save_IFS 2263 IFS=$as_save_IFS
1822 test -z "$as_dir" && as_dir=. 2264 test -z "$as_dir" && as_dir=.
1823 for ac_exec_ext in '' $ac_executable_extensions; do 2265 for ac_exec_ext in '' $ac_executable_extensions; do
1824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1825 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2267 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1827 break 2 2269 break 2
1828 fi 2270 fi
1829done 2271done
1830done 2272done
2273IFS=$as_save_IFS
1831 2274
1832fi 2275fi
1833fi 2276fi
1834STRIP=$ac_cv_prog_STRIP 2277STRIP=$ac_cv_prog_STRIP
1835if test -n "$STRIP"; then 2278if test -n "$STRIP"; then
1836 echo "$as_me:$LINENO: result: $STRIP" >&5 2279 { echo "$as_me:$LINENO: result: $STRIP" >&5
1837echo "${ECHO_T}$STRIP" >&6 2280echo "${ECHO_T}$STRIP" >&6; }
1838else 2281else
1839 echo "$as_me:$LINENO: result: no" >&5 2282 { echo "$as_me:$LINENO: result: no" >&5
1840echo "${ECHO_T}no" >&6 2283echo "${ECHO_T}no" >&6; }
1841fi 2284fi
2285
1842 2286
1843fi 2287fi
1844if test -z "$ac_cv_prog_STRIP"; then 2288if test -z "$ac_cv_prog_STRIP"; then
1845 ac_ct_STRIP=$STRIP 2289 ac_ct_STRIP=$STRIP
1846 # Extract the first word of "strip", so it can be a program name with args. 2290 # Extract the first word of "strip", so it can be a program name with args.
1847set dummy strip; ac_word=$2 2291set dummy strip; ac_word=$2
1848echo "$as_me:$LINENO: checking for $ac_word" >&5 2292{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1849echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2293echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1850if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2294if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1851 echo $ECHO_N "(cached) $ECHO_C" >&6 2295 echo $ECHO_N "(cached) $ECHO_C" >&6
1852else 2296else
1853 if test -n "$ac_ct_STRIP"; then 2297 if test -n "$ac_ct_STRIP"; then
1854 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2298 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1857for as_dir in $PATH 2301for as_dir in $PATH
1858do 2302do
1859 IFS=$as_save_IFS 2303 IFS=$as_save_IFS
1860 test -z "$as_dir" && as_dir=. 2304 test -z "$as_dir" && as_dir=.
1861 for ac_exec_ext in '' $ac_executable_extensions; do 2305 for ac_exec_ext in '' $ac_executable_extensions; do
1862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1863 ac_cv_prog_ac_ct_STRIP="strip" 2307 ac_cv_prog_ac_ct_STRIP="strip"
1864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1865 break 2 2309 break 2
1866 fi 2310 fi
1867done 2311done
1868done 2312done
2313IFS=$as_save_IFS
1869 2314
1870 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1871fi 2315fi
1872fi 2316fi
1873ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2317ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1874if test -n "$ac_ct_STRIP"; then 2318if test -n "$ac_ct_STRIP"; then
1875 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2319 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1876echo "${ECHO_T}$ac_ct_STRIP" >&6 2320echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1877else 2321else
1878 echo "$as_me:$LINENO: result: no" >&5 2322 { echo "$as_me:$LINENO: result: no" >&5
1879echo "${ECHO_T}no" >&6 2323echo "${ECHO_T}no" >&6; }
1880fi 2324fi
1881 2325
2326 if test "x$ac_ct_STRIP" = x; then
2327 STRIP=":"
2328 else
2329 case $cross_compiling:$ac_tool_warned in
2330yes:)
2331{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2332whose name does not start with the host triplet. If you think this
2333configuration is useful to you, please write to autoconf@gnu.org." >&5
2334echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2335whose name does not start with the host triplet. If you think this
2336configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2337ac_tool_warned=yes ;;
2338esac
1882 STRIP=$ac_ct_STRIP 2339 STRIP=$ac_ct_STRIP
2340 fi
1883else 2341else
1884 STRIP="$ac_cv_prog_STRIP" 2342 STRIP="$ac_cv_prog_STRIP"
1885fi 2343fi
1886 2344
1887fi 2345fi
1900# Required programs 2358# Required programs
1901#------------------------------------------------------------------------------- 2359#-------------------------------------------------------------------------------
1902 2360
1903# Add the stamp file to the list of files AC keeps track of, 2361# Add the stamp file to the list of files AC keeps track of,
1904# along with our hook. 2362# along with our hook.
1905 ac_config_headers="$ac_config_headers config.h" 2363ac_config_headers="$ac_config_headers config.h"
1906 2364
1907 2365
1908 2366
1909#AC_CONFIG_SRCDIR([src/libspf/main.c]) 2367#AC_CONFIG_SRCDIR([src/libspf/main.c])
1910 2368
1914ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2372ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1915ac_compiler_gnu=$ac_cv_c_compiler_gnu 2373ac_compiler_gnu=$ac_cv_c_compiler_gnu
1916if test -n "$ac_tool_prefix"; then 2374if test -n "$ac_tool_prefix"; then
1917 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2375 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1918set dummy ${ac_tool_prefix}gcc; ac_word=$2 2376set dummy ${ac_tool_prefix}gcc; ac_word=$2
1919echo "$as_me:$LINENO: checking for $ac_word" >&5 2377{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1920echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2378echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1921if test "${ac_cv_prog_CC+set}" = set; then 2379if test "${ac_cv_prog_CC+set}" = set; then
1922 echo $ECHO_N "(cached) $ECHO_C" >&6 2380 echo $ECHO_N "(cached) $ECHO_C" >&6
1923else 2381else
1924 if test -n "$CC"; then 2382 if test -n "$CC"; then
1925 ac_cv_prog_CC="$CC" # Let the user override the test. 2383 ac_cv_prog_CC="$CC" # Let the user override the test.
1928for as_dir in $PATH 2386for as_dir in $PATH
1929do 2387do
1930 IFS=$as_save_IFS 2388 IFS=$as_save_IFS
1931 test -z "$as_dir" && as_dir=. 2389 test -z "$as_dir" && as_dir=.
1932 for ac_exec_ext in '' $ac_executable_extensions; do 2390 for ac_exec_ext in '' $ac_executable_extensions; do
1933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1934 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2392 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1936 break 2 2394 break 2
1937 fi 2395 fi
1938done 2396done
1939done 2397done
2398IFS=$as_save_IFS
1940 2399
1941fi 2400fi
1942fi 2401fi
1943CC=$ac_cv_prog_CC 2402CC=$ac_cv_prog_CC
1944if test -n "$CC"; then 2403if test -n "$CC"; then
1945 echo "$as_me:$LINENO: result: $CC" >&5 2404 { echo "$as_me:$LINENO: result: $CC" >&5
1946echo "${ECHO_T}$CC" >&6 2405echo "${ECHO_T}$CC" >&6; }
1947else 2406else
1948 echo "$as_me:$LINENO: result: no" >&5 2407 { echo "$as_me:$LINENO: result: no" >&5
1949echo "${ECHO_T}no" >&6 2408echo "${ECHO_T}no" >&6; }
1950fi 2409fi
2410
1951 2411
1952fi 2412fi
1953if test -z "$ac_cv_prog_CC"; then 2413if test -z "$ac_cv_prog_CC"; then
1954 ac_ct_CC=$CC 2414 ac_ct_CC=$CC
1955 # Extract the first word of "gcc", so it can be a program name with args. 2415 # Extract the first word of "gcc", so it can be a program name with args.
1956set dummy gcc; ac_word=$2 2416set dummy gcc; ac_word=$2
1957echo "$as_me:$LINENO: checking for $ac_word" >&5 2417{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1958echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2418echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1959if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2419if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1960 echo $ECHO_N "(cached) $ECHO_C" >&6 2420 echo $ECHO_N "(cached) $ECHO_C" >&6
1961else 2421else
1962 if test -n "$ac_ct_CC"; then 2422 if test -n "$ac_ct_CC"; then
1963 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2423 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1966for as_dir in $PATH 2426for as_dir in $PATH
1967do 2427do
1968 IFS=$as_save_IFS 2428 IFS=$as_save_IFS
1969 test -z "$as_dir" && as_dir=. 2429 test -z "$as_dir" && as_dir=.
1970 for ac_exec_ext in '' $ac_executable_extensions; do 2430 for ac_exec_ext in '' $ac_executable_extensions; do
1971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1972 ac_cv_prog_ac_ct_CC="gcc" 2432 ac_cv_prog_ac_ct_CC="gcc"
1973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1974 break 2 2434 break 2
1975 fi 2435 fi
1976done 2436done
1977done 2437done
2438IFS=$as_save_IFS
1978 2439
1979fi 2440fi
1980fi 2441fi
1981ac_ct_CC=$ac_cv_prog_ac_ct_CC 2442ac_ct_CC=$ac_cv_prog_ac_ct_CC
1982if test -n "$ac_ct_CC"; then 2443if test -n "$ac_ct_CC"; then
1983 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2444 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1984echo "${ECHO_T}$ac_ct_CC" >&6 2445echo "${ECHO_T}$ac_ct_CC" >&6; }
1985else 2446else
1986 echo "$as_me:$LINENO: result: no" >&5 2447 { echo "$as_me:$LINENO: result: no" >&5
1987echo "${ECHO_T}no" >&6 2448echo "${ECHO_T}no" >&6; }
1988fi 2449fi
1989 2450
2451 if test "x$ac_ct_CC" = x; then
2452 CC=""
2453 else
2454 case $cross_compiling:$ac_tool_warned in
2455yes:)
2456{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2457whose name does not start with the host triplet. If you think this
2458configuration is useful to you, please write to autoconf@gnu.org." >&5
2459echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2460whose name does not start with the host triplet. If you think this
2461configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2462ac_tool_warned=yes ;;
2463esac
1990 CC=$ac_ct_CC 2464 CC=$ac_ct_CC
2465 fi
1991else 2466else
1992 CC="$ac_cv_prog_CC" 2467 CC="$ac_cv_prog_CC"
1993fi 2468fi
1994 2469
1995if test -z "$CC"; then 2470if test -z "$CC"; then
1996 if test -n "$ac_tool_prefix"; then 2471 if test -n "$ac_tool_prefix"; then
1997 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2472 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1998set dummy ${ac_tool_prefix}cc; ac_word=$2 2473set dummy ${ac_tool_prefix}cc; ac_word=$2
1999echo "$as_me:$LINENO: checking for $ac_word" >&5 2474{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2000echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2475echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2001if test "${ac_cv_prog_CC+set}" = set; then 2476if test "${ac_cv_prog_CC+set}" = set; then
2002 echo $ECHO_N "(cached) $ECHO_C" >&6 2477 echo $ECHO_N "(cached) $ECHO_C" >&6
2003else 2478else
2004 if test -n "$CC"; then 2479 if test -n "$CC"; then
2005 ac_cv_prog_CC="$CC" # Let the user override the test. 2480 ac_cv_prog_CC="$CC" # Let the user override the test.
2008for as_dir in $PATH 2483for as_dir in $PATH
2009do 2484do
2010 IFS=$as_save_IFS 2485 IFS=$as_save_IFS
2011 test -z "$as_dir" && as_dir=. 2486 test -z "$as_dir" && as_dir=.
2012 for ac_exec_ext in '' $ac_executable_extensions; do 2487 for ac_exec_ext in '' $ac_executable_extensions; do
2013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2014 ac_cv_prog_CC="${ac_tool_prefix}cc" 2489 ac_cv_prog_CC="${ac_tool_prefix}cc"
2015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2016 break 2 2491 break 2
2017 fi 2492 fi
2018done 2493done
2019done 2494done
2495IFS=$as_save_IFS
2020 2496
2021fi 2497fi
2022fi 2498fi
2023CC=$ac_cv_prog_CC 2499CC=$ac_cv_prog_CC
2024if test -n "$CC"; then 2500if test -n "$CC"; then
2025 echo "$as_me:$LINENO: result: $CC" >&5 2501 { echo "$as_me:$LINENO: result: $CC" >&5
2026echo "${ECHO_T}$CC" >&6 2502echo "${ECHO_T}$CC" >&6; }
2027else 2503else
2028 echo "$as_me:$LINENO: result: no" >&5 2504 { echo "$as_me:$LINENO: result: no" >&5
2029echo "${ECHO_T}no" >&6 2505echo "${ECHO_T}no" >&6; }
2030fi 2506fi
2031 2507
2032fi 2508
2033if test -z "$ac_cv_prog_CC"; then
2034 ac_ct_CC=$CC
2035 # Extract the first word of "cc", so it can be a program name with args.
2036set dummy cc; ac_word=$2
2037echo "$as_me:$LINENO: checking for $ac_word" >&5
2038echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2039if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2040 echo $ECHO_N "(cached) $ECHO_C" >&6
2041else
2042 if test -n "$ac_ct_CC"; then
2043 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2044else
2045as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2046for as_dir in $PATH
2047do
2048 IFS=$as_save_IFS
2049 test -z "$as_dir" && as_dir=.
2050 for ac_exec_ext in '' $ac_executable_extensions; do
2051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2052 ac_cv_prog_ac_ct_CC="cc"
2053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2054 break 2
2055 fi 2509 fi
2056done
2057done
2058
2059fi
2060fi
2061ac_ct_CC=$ac_cv_prog_ac_ct_CC
2062if test -n "$ac_ct_CC"; then
2063 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2064echo "${ECHO_T}$ac_ct_CC" >&6
2065else
2066 echo "$as_me:$LINENO: result: no" >&5
2067echo "${ECHO_T}no" >&6
2068fi
2069
2070 CC=$ac_ct_CC
2071else
2072 CC="$ac_cv_prog_CC"
2073fi
2074
2075fi 2510fi
2076if test -z "$CC"; then 2511if test -z "$CC"; then
2077 # Extract the first word of "cc", so it can be a program name with args. 2512 # Extract the first word of "cc", so it can be a program name with args.
2078set dummy cc; ac_word=$2 2513set dummy cc; ac_word=$2
2079echo "$as_me:$LINENO: checking for $ac_word" >&5 2514{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2080echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2515echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2081if test "${ac_cv_prog_CC+set}" = set; then 2516if test "${ac_cv_prog_CC+set}" = set; then
2082 echo $ECHO_N "(cached) $ECHO_C" >&6 2517 echo $ECHO_N "(cached) $ECHO_C" >&6
2083else 2518else
2084 if test -n "$CC"; then 2519 if test -n "$CC"; then
2085 ac_cv_prog_CC="$CC" # Let the user override the test. 2520 ac_cv_prog_CC="$CC" # Let the user override the test.
2089for as_dir in $PATH 2524for as_dir in $PATH
2090do 2525do
2091 IFS=$as_save_IFS 2526 IFS=$as_save_IFS
2092 test -z "$as_dir" && as_dir=. 2527 test -z "$as_dir" && as_dir=.
2093 for ac_exec_ext in '' $ac_executable_extensions; do 2528 for ac_exec_ext in '' $ac_executable_extensions; do
2094 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2095 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2530 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2096 ac_prog_rejected=yes 2531 ac_prog_rejected=yes
2097 continue 2532 continue
2098 fi 2533 fi
2099 ac_cv_prog_CC="cc" 2534 ac_cv_prog_CC="cc"
2100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2101 break 2 2536 break 2
2102 fi 2537 fi
2103done 2538done
2104done 2539done
2540IFS=$as_save_IFS
2105 2541
2106if test $ac_prog_rejected = yes; then 2542if test $ac_prog_rejected = yes; then
2107 # We found a bogon in the path, so make sure we never use it. 2543 # We found a bogon in the path, so make sure we never use it.
2108 set dummy $ac_cv_prog_CC 2544 set dummy $ac_cv_prog_CC
2109 shift 2545 shift
2117fi 2553fi
2118fi 2554fi
2119fi 2555fi
2120CC=$ac_cv_prog_CC 2556CC=$ac_cv_prog_CC
2121if test -n "$CC"; then 2557if test -n "$CC"; then
2122 echo "$as_me:$LINENO: result: $CC" >&5 2558 { echo "$as_me:$LINENO: result: $CC" >&5
2123echo "${ECHO_T}$CC" >&6 2559echo "${ECHO_T}$CC" >&6; }
2124else 2560else
2125 echo "$as_me:$LINENO: result: no" >&5 2561 { echo "$as_me:$LINENO: result: no" >&5
2126echo "${ECHO_T}no" >&6 2562echo "${ECHO_T}no" >&6; }
2127fi 2563fi
2564
2128 2565
2129fi 2566fi
2130if test -z "$CC"; then 2567if test -z "$CC"; then
2131 if test -n "$ac_tool_prefix"; then 2568 if test -n "$ac_tool_prefix"; then
2132 for ac_prog in cl 2569 for ac_prog in cl.exe
2133 do 2570 do
2134 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2571 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2135set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2572set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2136echo "$as_me:$LINENO: checking for $ac_word" >&5 2573{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2137echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2574echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2138if test "${ac_cv_prog_CC+set}" = set; then 2575if test "${ac_cv_prog_CC+set}" = set; then
2139 echo $ECHO_N "(cached) $ECHO_C" >&6 2576 echo $ECHO_N "(cached) $ECHO_C" >&6
2140else 2577else
2141 if test -n "$CC"; then 2578 if test -n "$CC"; then
2142 ac_cv_prog_CC="$CC" # Let the user override the test. 2579 ac_cv_prog_CC="$CC" # Let the user override the test.
2145for as_dir in $PATH 2582for as_dir in $PATH
2146do 2583do
2147 IFS=$as_save_IFS 2584 IFS=$as_save_IFS
2148 test -z "$as_dir" && as_dir=. 2585 test -z "$as_dir" && as_dir=.
2149 for ac_exec_ext in '' $ac_executable_extensions; do 2586 for ac_exec_ext in '' $ac_executable_extensions; do
2150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2151 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2588 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2153 break 2 2590 break 2
2154 fi 2591 fi
2155done 2592done
2156done 2593done
2594IFS=$as_save_IFS
2157 2595
2158fi 2596fi
2159fi 2597fi
2160CC=$ac_cv_prog_CC 2598CC=$ac_cv_prog_CC
2161if test -n "$CC"; then 2599if test -n "$CC"; then
2162 echo "$as_me:$LINENO: result: $CC" >&5 2600 { echo "$as_me:$LINENO: result: $CC" >&5
2163echo "${ECHO_T}$CC" >&6 2601echo "${ECHO_T}$CC" >&6; }
2164else 2602else
2165 echo "$as_me:$LINENO: result: no" >&5 2603 { echo "$as_me:$LINENO: result: no" >&5
2166echo "${ECHO_T}no" >&6 2604echo "${ECHO_T}no" >&6; }
2167fi 2605fi
2606
2168 2607
2169 test -n "$CC" && break 2608 test -n "$CC" && break
2170 done 2609 done
2171fi 2610fi
2172if test -z "$CC"; then 2611if test -z "$CC"; then
2173 ac_ct_CC=$CC 2612 ac_ct_CC=$CC
2174 for ac_prog in cl 2613 for ac_prog in cl.exe
2175do 2614do
2176 # Extract the first word of "$ac_prog", so it can be a program name with args. 2615 # Extract the first word of "$ac_prog", so it can be a program name with args.
2177set dummy $ac_prog; ac_word=$2 2616set dummy $ac_prog; ac_word=$2
2178echo "$as_me:$LINENO: checking for $ac_word" >&5 2617{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2179echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2618echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2180if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2619if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2181 echo $ECHO_N "(cached) $ECHO_C" >&6 2620 echo $ECHO_N "(cached) $ECHO_C" >&6
2182else 2621else
2183 if test -n "$ac_ct_CC"; then 2622 if test -n "$ac_ct_CC"; then
2184 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2623 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2187for as_dir in $PATH 2626for as_dir in $PATH
2188do 2627do
2189 IFS=$as_save_IFS 2628 IFS=$as_save_IFS
2190 test -z "$as_dir" && as_dir=. 2629 test -z "$as_dir" && as_dir=.
2191 for ac_exec_ext in '' $ac_executable_extensions; do 2630 for ac_exec_ext in '' $ac_executable_extensions; do
2192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2193 ac_cv_prog_ac_ct_CC="$ac_prog" 2632 ac_cv_prog_ac_ct_CC="$ac_prog"
2194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2195 break 2 2634 break 2
2196 fi 2635 fi
2197done 2636done
2198done 2637done
2638IFS=$as_save_IFS
2199 2639
2200fi 2640fi
2201fi 2641fi
2202ac_ct_CC=$ac_cv_prog_ac_ct_CC 2642ac_ct_CC=$ac_cv_prog_ac_ct_CC
2203if test -n "$ac_ct_CC"; then 2643if test -n "$ac_ct_CC"; then
2204 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2644 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2205echo "${ECHO_T}$ac_ct_CC" >&6 2645echo "${ECHO_T}$ac_ct_CC" >&6; }
2206else 2646else
2207 echo "$as_me:$LINENO: result: no" >&5 2647 { echo "$as_me:$LINENO: result: no" >&5
2208echo "${ECHO_T}no" >&6 2648echo "${ECHO_T}no" >&6; }
2209fi 2649fi
2650
2210 2651
2211 test -n "$ac_ct_CC" && break 2652 test -n "$ac_ct_CC" && break
2212done 2653done
2213 2654
2655 if test "x$ac_ct_CC" = x; then
2656 CC=""
2657 else
2658 case $cross_compiling:$ac_tool_warned in
2659yes:)
2660{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2661whose name does not start with the host triplet. If you think this
2662configuration is useful to you, please write to autoconf@gnu.org." >&5
2663echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2664whose name does not start with the host triplet. If you think this
2665configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2666ac_tool_warned=yes ;;
2667esac
2214 CC=$ac_ct_CC 2668 CC=$ac_ct_CC
2669 fi
2215fi 2670fi
2216 2671
2217fi 2672fi
2218 2673
2219 2674
2222echo "$as_me: error: no acceptable C compiler found in \$PATH 2677echo "$as_me: error: no acceptable C compiler found in \$PATH
2223See \`config.log' for more details." >&2;} 2678See \`config.log' for more details." >&2;}
2224 { (exit 1); exit 1; }; } 2679 { (exit 1); exit 1; }; }
2225 2680
2226# Provide some information about the compiler. 2681# Provide some information about the compiler.
2227echo "$as_me:$LINENO:" \
2228 "checking for C compiler version" >&5 2682echo "$as_me:$LINENO: checking for C compiler version" >&5
2229ac_compiler=`set X $ac_compile; echo $2` 2683ac_compiler=`set X $ac_compile; echo $2`
2230{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2684{ (ac_try="$ac_compiler --version >&5"
2685case "(($ac_try" in
2686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2687 *) ac_try_echo=$ac_try;;
2688esac
2689eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2231 (eval $ac_compiler --version </dev/null >&5) 2>&5 2690 (eval "$ac_compiler --version >&5") 2>&5
2232 ac_status=$? 2691 ac_status=$?
2233 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2234 (exit $ac_status); } 2693 (exit $ac_status); }
2235{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2694{ (ac_try="$ac_compiler -v >&5"
2695case "(($ac_try" in
2696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2697 *) ac_try_echo=$ac_try;;
2698esac
2699eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2236 (eval $ac_compiler -v </dev/null >&5) 2>&5 2700 (eval "$ac_compiler -v >&5") 2>&5
2237 ac_status=$? 2701 ac_status=$?
2238 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2239 (exit $ac_status); } 2703 (exit $ac_status); }
2240{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2704{ (ac_try="$ac_compiler -V >&5"
2705case "(($ac_try" in
2706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2707 *) ac_try_echo=$ac_try;;
2708esac
2709eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2241 (eval $ac_compiler -V </dev/null >&5) 2>&5 2710 (eval "$ac_compiler -V >&5") 2>&5
2242 ac_status=$? 2711 ac_status=$?
2243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2244 (exit $ac_status); } 2713 (exit $ac_status); }
2245 2714
2246cat >conftest.$ac_ext <<_ACEOF 2715cat >conftest.$ac_ext <<_ACEOF
2261ac_clean_files_save=$ac_clean_files 2730ac_clean_files_save=$ac_clean_files
2262ac_clean_files="$ac_clean_files a.out a.exe b.out" 2731ac_clean_files="$ac_clean_files a.out a.exe b.out"
2263# Try to create an executable without -o first, disregard a.out. 2732# Try to create an executable without -o first, disregard a.out.
2264# It will help us diagnose broken compilers, and finding out an intuition 2733# It will help us diagnose broken compilers, and finding out an intuition
2265# of exeext. 2734# of exeext.
2266echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2735{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2267echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2736echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2268ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2737ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2738#
2739# List of possible output files, starting from the most likely.
2740# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2741# only as a last resort. b.out is created by i960 compilers.
2742ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2743#
2744# The IRIX 6 linker writes into existing files which may not be
2745# executable, retaining their permissions. Remove them first so a
2746# subsequent execution test works.
2747ac_rmfiles=
2748for ac_file in $ac_files
2749do
2750 case $ac_file in
2751 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2752 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2753 esac
2754done
2755rm -f $ac_rmfiles
2756
2757if { (ac_try="$ac_link_default"
2758case "(($ac_try" in
2759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2760 *) ac_try_echo=$ac_try;;
2761esac
2269if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2762eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2270 (eval $ac_link_default) 2>&5 2763 (eval "$ac_link_default") 2>&5
2271 ac_status=$? 2764 ac_status=$?
2272 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2273 (exit $ac_status); }; then 2766 (exit $ac_status); }; then
2274 # Find the output, starting from the most likely. This scheme is 2767 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2275# not robust to junk in `.', hence go to wildcards (a.*) only as a last 2768# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2276# resort. 2769# in a Makefile. We should not override ac_cv_exeext if it was cached,
2277 2770# so that the user can short-circuit this test for compilers unknown to
2278# Be careful to initialize this variable, since it used to be cached. 2771# Autoconf.
2279# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 2772for ac_file in $ac_files ''
2280ac_cv_exeext=
2281# b.out is created by i960 compilers.
2282for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2283do 2773do
2284 test -f "$ac_file" || continue 2774 test -f "$ac_file" || continue
2285 case $ac_file in 2775 case $ac_file in
2286 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2776 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2287 ;;
2288 conftest.$ac_ext )
2289 # This is the source file.
2290 ;; 2777 ;;
2291 [ab].out ) 2778 [ab].out )
2292 # We found the default executable, but exeext='' is most 2779 # We found the default executable, but exeext='' is most
2293 # certainly right. 2780 # certainly right.
2294 break;; 2781 break;;
2295 *.* ) 2782 *.* )
2783 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2784 then :; else
2296 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2785 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2297 # FIXME: I believe we export ac_cv_exeext for Libtool, 2786 fi
2298 # but it would be cool to find out if it's true. Does anybody 2787 # We set ac_cv_exeext here because the later test for it is not
2299 # maintain Libtool? --akim. 2788 # safe: cross compilers may not add the suffix if given an `-o'
2300 export ac_cv_exeext 2789 # argument, so we may need to know it at that point already.
2790 # Even if this section looks crufty: it has the advantage of
2791 # actually working.
2301 break;; 2792 break;;
2302 * ) 2793 * )
2303 break;; 2794 break;;
2304 esac 2795 esac
2305done 2796done
2797test "$ac_cv_exeext" = no && ac_cv_exeext=
2798
2306else 2799else
2800 ac_file=''
2801fi
2802
2803{ echo "$as_me:$LINENO: result: $ac_file" >&5
2804echo "${ECHO_T}$ac_file" >&6; }
2805if test -z "$ac_file"; then
2307 echo "$as_me: failed program was:" >&5 2806 echo "$as_me: failed program was:" >&5
2308sed 's/^/| /' conftest.$ac_ext >&5 2807sed 's/^/| /' conftest.$ac_ext >&5
2309 2808
2310{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2809{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2311See \`config.log' for more details." >&5 2810See \`config.log' for more details." >&5
2313See \`config.log' for more details." >&2;} 2812See \`config.log' for more details." >&2;}
2314 { (exit 77); exit 77; }; } 2813 { (exit 77); exit 77; }; }
2315fi 2814fi
2316 2815
2317ac_exeext=$ac_cv_exeext 2816ac_exeext=$ac_cv_exeext
2318echo "$as_me:$LINENO: result: $ac_file" >&5
2319echo "${ECHO_T}$ac_file" >&6
2320 2817
2321# Check the compiler produces executables we can run. If not, either 2818# Check that the compiler produces executables we can run. If not, either
2322# the compiler is broken, or we cross compile. 2819# the compiler is broken, or we cross compile.
2323echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2820{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2324echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2821echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2325# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2822# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2326# If not cross compiling, check that we can run a simple program. 2823# If not cross compiling, check that we can run a simple program.
2327if test "$cross_compiling" != yes; then 2824if test "$cross_compiling" != yes; then
2328 if { ac_try='./$ac_file' 2825 if { ac_try='./$ac_file'
2826 { (case "(($ac_try" in
2827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2828 *) ac_try_echo=$ac_try;;
2829esac
2329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2830eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2330 (eval $ac_try) 2>&5 2831 (eval "$ac_try") 2>&5
2331 ac_status=$? 2832 ac_status=$?
2332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2333 (exit $ac_status); }; }; then 2834 (exit $ac_status); }; }; then
2334 cross_compiling=no 2835 cross_compiling=no
2335 else 2836 else
2344See \`config.log' for more details." >&2;} 2845See \`config.log' for more details." >&2;}
2345 { (exit 1); exit 1; }; } 2846 { (exit 1); exit 1; }; }
2346 fi 2847 fi
2347 fi 2848 fi
2348fi 2849fi
2349echo "$as_me:$LINENO: result: yes" >&5 2850{ echo "$as_me:$LINENO: result: yes" >&5
2350echo "${ECHO_T}yes" >&6 2851echo "${ECHO_T}yes" >&6; }
2351 2852
2352rm -f a.out a.exe conftest$ac_cv_exeext b.out 2853rm -f a.out a.exe conftest$ac_cv_exeext b.out
2353ac_clean_files=$ac_clean_files_save 2854ac_clean_files=$ac_clean_files_save
2354# Check the compiler produces executables we can run. If not, either 2855# Check that the compiler produces executables we can run. If not, either
2355# the compiler is broken, or we cross compile. 2856# the compiler is broken, or we cross compile.
2356echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2857{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2357echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2858echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2358echo "$as_me:$LINENO: result: $cross_compiling" >&5 2859{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2359echo "${ECHO_T}$cross_compiling" >&6 2860echo "${ECHO_T}$cross_compiling" >&6; }
2360 2861
2361echo "$as_me:$LINENO: checking for suffix of executables" >&5 2862{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2362echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2863echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2864if { (ac_try="$ac_link"
2865case "(($ac_try" in
2866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2867 *) ac_try_echo=$ac_try;;
2868esac
2363if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2869eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2364 (eval $ac_link) 2>&5 2870 (eval "$ac_link") 2>&5
2365 ac_status=$? 2871 ac_status=$?
2366 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367 (exit $ac_status); }; then 2873 (exit $ac_status); }; then
2368 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2874 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2369# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2875# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2370# work properly (i.e., refer to `conftest.exe'), while it won't with 2876# work properly (i.e., refer to `conftest.exe'), while it won't with
2371# `rm'. 2877# `rm'.
2372for ac_file in conftest.exe conftest conftest.*; do 2878for ac_file in conftest.exe conftest conftest.*; do
2373 test -f "$ac_file" || continue 2879 test -f "$ac_file" || continue
2374 case $ac_file in 2880 case $ac_file in
2375 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2881 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2376 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2882 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2377 export ac_cv_exeext
2378 break;; 2883 break;;
2379 * ) break;; 2884 * ) break;;
2380 esac 2885 esac
2381done 2886done
2382else 2887else
2386See \`config.log' for more details." >&2;} 2891See \`config.log' for more details." >&2;}
2387 { (exit 1); exit 1; }; } 2892 { (exit 1); exit 1; }; }
2388fi 2893fi
2389 2894
2390rm -f conftest$ac_cv_exeext 2895rm -f conftest$ac_cv_exeext
2391echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2896{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2392echo "${ECHO_T}$ac_cv_exeext" >&6 2897echo "${ECHO_T}$ac_cv_exeext" >&6; }
2393 2898
2394rm -f conftest.$ac_ext 2899rm -f conftest.$ac_ext
2395EXEEXT=$ac_cv_exeext 2900EXEEXT=$ac_cv_exeext
2396ac_exeext=$EXEEXT 2901ac_exeext=$EXEEXT
2397echo "$as_me:$LINENO: checking for suffix of object files" >&5 2902{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2398echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2903echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2399if test "${ac_cv_objext+set}" = set; then 2904if test "${ac_cv_objext+set}" = set; then
2400 echo $ECHO_N "(cached) $ECHO_C" >&6 2905 echo $ECHO_N "(cached) $ECHO_C" >&6
2401else 2906else
2402 cat >conftest.$ac_ext <<_ACEOF 2907 cat >conftest.$ac_ext <<_ACEOF
2403/* confdefs.h. */ 2908/* confdefs.h. */
2413 ; 2918 ;
2414 return 0; 2919 return 0;
2415} 2920}
2416_ACEOF 2921_ACEOF
2417rm -f conftest.o conftest.obj 2922rm -f conftest.o conftest.obj
2923if { (ac_try="$ac_compile"
2924case "(($ac_try" in
2925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2926 *) ac_try_echo=$ac_try;;
2927esac
2418if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2928eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2419 (eval $ac_compile) 2>&5 2929 (eval "$ac_compile") 2>&5
2420 ac_status=$? 2930 ac_status=$?
2421 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422 (exit $ac_status); }; then 2932 (exit $ac_status); }; then
2423 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2933 for ac_file in conftest.o conftest.obj conftest.*; do
2934 test -f "$ac_file" || continue;
2424 case $ac_file in 2935 case $ac_file in
2425 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 2936 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2426 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2937 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2427 break;; 2938 break;;
2428 esac 2939 esac
2429done 2940done
2430else 2941else
2438 { (exit 1); exit 1; }; } 2949 { (exit 1); exit 1; }; }
2439fi 2950fi
2440 2951
2441rm -f conftest.$ac_cv_objext conftest.$ac_ext 2952rm -f conftest.$ac_cv_objext conftest.$ac_ext
2442fi 2953fi
2443echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2954{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2444echo "${ECHO_T}$ac_cv_objext" >&6 2955echo "${ECHO_T}$ac_cv_objext" >&6; }
2445OBJEXT=$ac_cv_objext 2956OBJEXT=$ac_cv_objext
2446ac_objext=$OBJEXT 2957ac_objext=$OBJEXT
2447echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2958{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2448echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2959echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2449if test "${ac_cv_c_compiler_gnu+set}" = set; then 2960if test "${ac_cv_c_compiler_gnu+set}" = set; then
2450 echo $ECHO_N "(cached) $ECHO_C" >&6 2961 echo $ECHO_N "(cached) $ECHO_C" >&6
2451else 2962else
2452 cat >conftest.$ac_ext <<_ACEOF 2963 cat >conftest.$ac_ext <<_ACEOF
2453/* confdefs.h. */ 2964/* confdefs.h. */
2466 ; 2977 ;
2467 return 0; 2978 return 0;
2468} 2979}
2469_ACEOF 2980_ACEOF
2470rm -f conftest.$ac_objext 2981rm -f conftest.$ac_objext
2982if { (ac_try="$ac_compile"
2983case "(($ac_try" in
2984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2985 *) ac_try_echo=$ac_try;;
2986esac
2471if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2987eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2472 (eval $ac_compile) 2>conftest.er1 2988 (eval "$ac_compile") 2>conftest.er1
2473 ac_status=$? 2989 ac_status=$?
2474 grep -v '^ *+' conftest.er1 >conftest.err 2990 grep -v '^ *+' conftest.er1 >conftest.err
2475 rm -f conftest.er1 2991 rm -f conftest.er1
2476 cat conftest.err >&5 2992 cat conftest.err >&5
2477 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478 (exit $ac_status); } && 2994 (exit $ac_status); } && {
2479 { ac_try='test -z "$ac_c_werror_flag" 2995 test -z "$ac_c_werror_flag" ||
2480 || test ! -s conftest.err' 2996 test ! -s conftest.err
2481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2997 } && test -s conftest.$ac_objext; then
2482 (eval $ac_try) 2>&5
2483 ac_status=$?
2484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2485 (exit $ac_status); }; } &&
2486 { ac_try='test -s conftest.$ac_objext'
2487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2488 (eval $ac_try) 2>&5
2489 ac_status=$?
2490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491 (exit $ac_status); }; }; then
2492 ac_compiler_gnu=yes 2998 ac_compiler_gnu=yes
2493else 2999else
2494 echo "$as_me: failed program was:" >&5 3000 echo "$as_me: failed program was:" >&5
2495sed 's/^/| /' conftest.$ac_ext >&5 3001sed 's/^/| /' conftest.$ac_ext >&5
2496 3002
2497ac_compiler_gnu=no 3003 ac_compiler_gnu=no
2498fi 3004fi
3005
2499rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3006rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2500ac_cv_c_compiler_gnu=$ac_compiler_gnu 3007ac_cv_c_compiler_gnu=$ac_compiler_gnu
2501 3008
2502fi 3009fi
2503echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3010{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2504echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 3011echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2505GCC=`test $ac_compiler_gnu = yes && echo yes` 3012GCC=`test $ac_compiler_gnu = yes && echo yes`
2506ac_test_CFLAGS=${CFLAGS+set} 3013ac_test_CFLAGS=${CFLAGS+set}
2507ac_save_CFLAGS=$CFLAGS 3014ac_save_CFLAGS=$CFLAGS
2508CFLAGS="-g"
2509echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3015{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2510echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 3016echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2511if test "${ac_cv_prog_cc_g+set}" = set; then 3017if test "${ac_cv_prog_cc_g+set}" = set; then
2512 echo $ECHO_N "(cached) $ECHO_C" >&6 3018 echo $ECHO_N "(cached) $ECHO_C" >&6
2513else 3019else
3020 ac_save_c_werror_flag=$ac_c_werror_flag
3021 ac_c_werror_flag=yes
3022 ac_cv_prog_cc_g=no
3023 CFLAGS="-g"
2514 cat >conftest.$ac_ext <<_ACEOF 3024 cat >conftest.$ac_ext <<_ACEOF
2515/* confdefs.h. */ 3025/* confdefs.h. */
2516_ACEOF 3026_ACEOF
2517cat confdefs.h >>conftest.$ac_ext 3027cat confdefs.h >>conftest.$ac_ext
2518cat >>conftest.$ac_ext <<_ACEOF 3028cat >>conftest.$ac_ext <<_ACEOF
2519/* end confdefs.h. */ 3029/* end confdefs.h. */
2525 ; 3035 ;
2526 return 0; 3036 return 0;
2527} 3037}
2528_ACEOF 3038_ACEOF
2529rm -f conftest.$ac_objext 3039rm -f conftest.$ac_objext
3040if { (ac_try="$ac_compile"
3041case "(($ac_try" in
3042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3043 *) ac_try_echo=$ac_try;;
3044esac
2530if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3045eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2531 (eval $ac_compile) 2>conftest.er1 3046 (eval "$ac_compile") 2>conftest.er1
2532 ac_status=$? 3047 ac_status=$?
2533 grep -v '^ *+' conftest.er1 >conftest.err 3048 grep -v '^ *+' conftest.er1 >conftest.err
2534 rm -f conftest.er1 3049 rm -f conftest.er1
2535 cat conftest.err >&5 3050 cat conftest.err >&5
2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537 (exit $ac_status); } && 3052 (exit $ac_status); } && {
2538 { ac_try='test -z "$ac_c_werror_flag" 3053 test -z "$ac_c_werror_flag" ||
2539 || test ! -s conftest.err' 3054 test ! -s conftest.err
2540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3055 } && test -s conftest.$ac_objext; then
2541 (eval $ac_try) 2>&5
2542 ac_status=$?
2543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544 (exit $ac_status); }; } &&
2545 { ac_try='test -s conftest.$ac_objext'
2546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2547 (eval $ac_try) 2>&5
2548 ac_status=$?
2549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2550 (exit $ac_status); }; }; then
2551 ac_cv_prog_cc_g=yes 3056 ac_cv_prog_cc_g=yes
2552else 3057else
2553 echo "$as_me: failed program was:" >&5 3058 echo "$as_me: failed program was:" >&5
2554sed 's/^/| /' conftest.$ac_ext >&5 3059sed 's/^/| /' conftest.$ac_ext >&5
2555 3060
3061 CFLAGS=""
3062 cat >conftest.$ac_ext <<_ACEOF
3063/* confdefs.h. */
3064_ACEOF
3065cat confdefs.h >>conftest.$ac_ext
3066cat >>conftest.$ac_ext <<_ACEOF
3067/* end confdefs.h. */
3068
3069int
3070main ()
3071{
3072
3073 ;
3074 return 0;
3075}
3076_ACEOF
3077rm -f conftest.$ac_objext
3078if { (ac_try="$ac_compile"
3079case "(($ac_try" in
3080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3081 *) ac_try_echo=$ac_try;;
3082esac
3083eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3084 (eval "$ac_compile") 2>conftest.er1
3085 ac_status=$?
3086 grep -v '^ *+' conftest.er1 >conftest.err
3087 rm -f conftest.er1
3088 cat conftest.err >&5
3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); } && {
3091 test -z "$ac_c_werror_flag" ||
3092 test ! -s conftest.err
3093 } && test -s conftest.$ac_objext; then
3094 :
3095else
3096 echo "$as_me: failed program was:" >&5
3097sed 's/^/| /' conftest.$ac_ext >&5
3098
3099 ac_c_werror_flag=$ac_save_c_werror_flag
3100 CFLAGS="-g"
3101 cat >conftest.$ac_ext <<_ACEOF
3102/* confdefs.h. */
3103_ACEOF
3104cat confdefs.h >>conftest.$ac_ext
3105cat >>conftest.$ac_ext <<_ACEOF
3106/* end confdefs.h. */
3107
3108int
3109main ()
3110{
3111
3112 ;
3113 return 0;
3114}
3115_ACEOF
3116rm -f conftest.$ac_objext
3117if { (ac_try="$ac_compile"
3118case "(($ac_try" in
3119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3120 *) ac_try_echo=$ac_try;;
3121esac
3122eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3123 (eval "$ac_compile") 2>conftest.er1
3124 ac_status=$?
3125 grep -v '^ *+' conftest.er1 >conftest.err
3126 rm -f conftest.er1
3127 cat conftest.err >&5
3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129 (exit $ac_status); } && {
3130 test -z "$ac_c_werror_flag" ||
3131 test ! -s conftest.err
3132 } && test -s conftest.$ac_objext; then
2556ac_cv_prog_cc_g=no 3133 ac_cv_prog_cc_g=yes
3134else
3135 echo "$as_me: failed program was:" >&5
3136sed 's/^/| /' conftest.$ac_ext >&5
3137
3138
2557fi 3139fi
3140
2558rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3141rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2559fi 3142fi
3143
3144rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3145fi
3146
3147rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3148 ac_c_werror_flag=$ac_save_c_werror_flag
3149fi
2560echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3150{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2561echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 3151echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2562if test "$ac_test_CFLAGS" = set; then 3152if test "$ac_test_CFLAGS" = set; then
2563 CFLAGS=$ac_save_CFLAGS 3153 CFLAGS=$ac_save_CFLAGS
2564elif test $ac_cv_prog_cc_g = yes; then 3154elif test $ac_cv_prog_cc_g = yes; then
2565 if test "$GCC" = yes; then 3155 if test "$GCC" = yes; then
2566 CFLAGS="-g -O2" 3156 CFLAGS="-g -O2"
2572 CFLAGS="-O2" 3162 CFLAGS="-O2"
2573 else 3163 else
2574 CFLAGS= 3164 CFLAGS=
2575 fi 3165 fi
2576fi 3166fi
2577echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 3167{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2578echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 3168echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2579if test "${ac_cv_prog_cc_stdc+set}" = set; then 3169if test "${ac_cv_prog_cc_c89+set}" = set; then
2580 echo $ECHO_N "(cached) $ECHO_C" >&6 3170 echo $ECHO_N "(cached) $ECHO_C" >&6
2581else 3171else
2582 ac_cv_prog_cc_stdc=no 3172 ac_cv_prog_cc_c89=no
2583ac_save_CC=$CC 3173ac_save_CC=$CC
2584cat >conftest.$ac_ext <<_ACEOF 3174cat >conftest.$ac_ext <<_ACEOF
2585/* confdefs.h. */ 3175/* confdefs.h. */
2586_ACEOF 3176_ACEOF
2587cat confdefs.h >>conftest.$ac_ext 3177cat confdefs.h >>conftest.$ac_ext
2611} 3201}
2612 3202
2613/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3203/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2614 function prototypes and stuff, but not '\xHH' hex character constants. 3204 function prototypes and stuff, but not '\xHH' hex character constants.
2615 These don't provoke an error unfortunately, instead are silently treated 3205 These don't provoke an error unfortunately, instead are silently treated
2616 as 'x'. The following induces an error, until -std1 is added to get 3206 as 'x'. The following induces an error, until -std is added to get
2617 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3207 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2618 array size at least. It's necessary to write '\x00'==0 to get something 3208 array size at least. It's necessary to write '\x00'==0 to get something
2619 that's true only with -std1. */ 3209 that's true only with -std. */
2620int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3210int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3211
3212/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3213 inside strings and character constants. */
3214#define FOO(x) 'x'
3215int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2621 3216
2622int test (int i, double x); 3217int test (int i, double x);
2623struct s1 {int (*f) (int a);}; 3218struct s1 {int (*f) (int a);};
2624struct s2 {int (*f) (double a);}; 3219struct s2 {int (*f) (double a);};
2625int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3220int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2631return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3226return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2632 ; 3227 ;
2633 return 0; 3228 return 0;
2634} 3229}
2635_ACEOF 3230_ACEOF
2636# Don't try gcc -ansi; that turns off useful extensions and 3231for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2637# breaks some systems' header files. 3232 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2638# AIX -qlanglvl=ansi
2639# Ultrix and OSF/1 -std1
2640# HP-UX 10.20 and later -Ae
2641# HP-UX older versions -Aa -D_HPUX_SOURCE
2642# SVR4 -Xc -D__EXTENSIONS__
2643for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2644do 3233do
2645 CC="$ac_save_CC $ac_arg" 3234 CC="$ac_save_CC $ac_arg"
2646 rm -f conftest.$ac_objext 3235 rm -f conftest.$ac_objext
3236if { (ac_try="$ac_compile"
3237case "(($ac_try" in
3238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3239 *) ac_try_echo=$ac_try;;
3240esac
2647if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3241eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2648 (eval $ac_compile) 2>conftest.er1 3242 (eval "$ac_compile") 2>conftest.er1
2649 ac_status=$? 3243 ac_status=$?
2650 grep -v '^ *+' conftest.er1 >conftest.err 3244 grep -v '^ *+' conftest.er1 >conftest.err
2651 rm -f conftest.er1 3245 rm -f conftest.er1
2652 cat conftest.err >&5 3246 cat conftest.err >&5
2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654 (exit $ac_status); } && 3248 (exit $ac_status); } && {
2655 { ac_try='test -z "$ac_c_werror_flag" 3249 test -z "$ac_c_werror_flag" ||
2656 || test ! -s conftest.err' 3250 test ! -s conftest.err
2657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3251 } && test -s conftest.$ac_objext; then
2658 (eval $ac_try) 2>&5
2659 ac_status=$?
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); }; } &&
2662 { ac_try='test -s conftest.$ac_objext'
2663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2664 (eval $ac_try) 2>&5
2665 ac_status=$?
2666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2667 (exit $ac_status); }; }; then
2668 ac_cv_prog_cc_stdc=$ac_arg 3252 ac_cv_prog_cc_c89=$ac_arg
2669break
2670else 3253else
2671 echo "$as_me: failed program was:" >&5 3254 echo "$as_me: failed program was:" >&5
2672sed 's/^/| /' conftest.$ac_ext >&5 3255sed 's/^/| /' conftest.$ac_ext >&5
2673 3256
3257
2674fi 3258fi
3259
2675rm -f conftest.err conftest.$ac_objext 3260rm -f core conftest.err conftest.$ac_objext
3261 test "x$ac_cv_prog_cc_c89" != "xno" && break
2676done 3262done
2677rm -f conftest.$ac_ext conftest.$ac_objext 3263rm -f conftest.$ac_ext
2678CC=$ac_save_CC 3264CC=$ac_save_CC
2679 3265
2680fi 3266fi
2681 3267# AC_CACHE_VAL
2682case "x$ac_cv_prog_cc_stdc" in 3268case "x$ac_cv_prog_cc_c89" in
2683 x|xno) 3269 x)
2684 echo "$as_me:$LINENO: result: none needed" >&5 3270 { echo "$as_me:$LINENO: result: none needed" >&5
2685echo "${ECHO_T}none needed" >&6 ;; 3271echo "${ECHO_T}none needed" >&6; } ;;
3272 xno)
3273 { echo "$as_me:$LINENO: result: unsupported" >&5
3274echo "${ECHO_T}unsupported" >&6; } ;;
2686 *) 3275 *)
3276 CC="$CC $ac_cv_prog_cc_c89"
2687 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 3277 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2688echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 3278echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2689 CC="$CC $ac_cv_prog_cc_stdc" ;;
2690esac 3279esac
2691 3280
2692# Some people use a C++ compiler to compile C. Since we use `exit',
2693# in C++ we need to declare it. In case someone uses the same compiler
2694# for both compiling C and C++ we need to have the C++ compiler decide
2695# the declaration of exit, since it's the most demanding environment.
2696cat >conftest.$ac_ext <<_ACEOF
2697#ifndef __cplusplus
2698 choke me
2699#endif
2700_ACEOF
2701rm -f conftest.$ac_objext
2702if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2703 (eval $ac_compile) 2>conftest.er1
2704 ac_status=$?
2705 grep -v '^ *+' conftest.er1 >conftest.err
2706 rm -f conftest.er1
2707 cat conftest.err >&5
2708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709 (exit $ac_status); } &&
2710 { ac_try='test -z "$ac_c_werror_flag"
2711 || test ! -s conftest.err'
2712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2713 (eval $ac_try) 2>&5
2714 ac_status=$?
2715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716 (exit $ac_status); }; } &&
2717 { ac_try='test -s conftest.$ac_objext'
2718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2719 (eval $ac_try) 2>&5
2720 ac_status=$?
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); }; }; then
2723 for ac_declaration in \
2724 '' \
2725 'extern "C" void std::exit (int) throw (); using std::exit;' \
2726 'extern "C" void std::exit (int); using std::exit;' \
2727 'extern "C" void exit (int) throw ();' \
2728 'extern "C" void exit (int);' \
2729 'void exit (int);'
2730do
2731 cat >conftest.$ac_ext <<_ACEOF
2732/* confdefs.h. */
2733_ACEOF
2734cat confdefs.h >>conftest.$ac_ext
2735cat >>conftest.$ac_ext <<_ACEOF
2736/* end confdefs.h. */
2737$ac_declaration
2738#include <stdlib.h>
2739int
2740main ()
2741{
2742exit (42);
2743 ;
2744 return 0;
2745}
2746_ACEOF
2747rm -f conftest.$ac_objext
2748if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2749 (eval $ac_compile) 2>conftest.er1
2750 ac_status=$?
2751 grep -v '^ *+' conftest.er1 >conftest.err
2752 rm -f conftest.er1
2753 cat conftest.err >&5
2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); } &&
2756 { ac_try='test -z "$ac_c_werror_flag"
2757 || test ! -s conftest.err'
2758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2759 (eval $ac_try) 2>&5
2760 ac_status=$?
2761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762 (exit $ac_status); }; } &&
2763 { ac_try='test -s conftest.$ac_objext'
2764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2765 (eval $ac_try) 2>&5
2766 ac_status=$?
2767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2768 (exit $ac_status); }; }; then
2769 :
2770else
2771 echo "$as_me: failed program was:" >&5
2772sed 's/^/| /' conftest.$ac_ext >&5
2773 3281
2774continue
2775fi
2776rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2777 cat >conftest.$ac_ext <<_ACEOF
2778/* confdefs.h. */
2779_ACEOF
2780cat confdefs.h >>conftest.$ac_ext
2781cat >>conftest.$ac_ext <<_ACEOF
2782/* end confdefs.h. */
2783$ac_declaration
2784int
2785main ()
2786{
2787exit (42);
2788 ;
2789 return 0;
2790}
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 break
2815else
2816 echo "$as_me: failed program was:" >&5
2817sed 's/^/| /' conftest.$ac_ext >&5
2818
2819fi
2820rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2821done
2822rm -f conftest*
2823if test -n "$ac_declaration"; then
2824 echo '#ifdef __cplusplus' >>confdefs.h
2825 echo $ac_declaration >>confdefs.h
2826 echo '#endif' >>confdefs.h
2827fi
2828
2829else
2830 echo "$as_me: failed program was:" >&5
2831sed 's/^/| /' conftest.$ac_ext >&5
2832
2833fi
2834rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2835ac_ext=c 3282ac_ext=c
2836ac_cpp='$CPP $CPPFLAGS' 3283ac_cpp='$CPP $CPPFLAGS'
2837ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3284ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2838ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3285ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2839ac_compiler_gnu=$ac_cv_c_compiler_gnu 3286ac_compiler_gnu=$ac_cv_c_compiler_gnu
2846 DEPDIR=_deps 3293 DEPDIR=_deps
2847fi 3294fi
2848rmdir .deps 2>/dev/null 3295rmdir .deps 2>/dev/null
2849 3296
2850 3297
2851 ac_config_commands="$ac_config_commands depfiles" 3298ac_config_commands="$ac_config_commands depfiles"
2852 3299
2853 3300
2854am_make=${MAKE-make} 3301am_make=${MAKE-make}
2855cat > confinc << 'END' 3302cat > confinc << 'END'
2856doit: 3303doit:
2857 @echo done 3304 @echo done
2858END 3305END
2859# If we don't find an include directive, just comment out the code. 3306# If we don't find an include directive, just comment out the code.
2860echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 3307{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2861echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 3308echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2862am__include="#" 3309am__include="#"
2863am__quote= 3310am__quote=
2864_am_result=none 3311_am_result=none
2865# First try GNU make style include. 3312# First try GNU make style include.
2866echo "include confinc" > confmf 3313echo "include confinc" > confmf
2883 _am_result=BSD 3330 _am_result=BSD
2884 fi 3331 fi
2885fi 3332fi
2886 3333
2887 3334
2888echo "$as_me:$LINENO: result: $_am_result" >&5 3335{ echo "$as_me:$LINENO: result: $_am_result" >&5
2889echo "${ECHO_T}$_am_result" >&6 3336echo "${ECHO_T}$_am_result" >&6; }
2890rm -f confinc confmf 3337rm -f confinc confmf
2891 3338
2892# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. 3339# Check whether --enable-dependency-tracking was given.
2893if test "${enable_dependency_tracking+set}" = set; then 3340if test "${enable_dependency_tracking+set}" = set; then
2894 enableval="$enable_dependency_tracking" 3341 enableval=$enable_dependency_tracking;
2895
2896fi; 3342fi
3343
2897if test "x$enable_dependency_tracking" != xno; then 3344if test "x$enable_dependency_tracking" != xno; then
2898 am_depcomp="$ac_aux_dir/depcomp" 3345 am_depcomp="$ac_aux_dir/depcomp"
2899 AMDEPBACKSLASH='\' 3346 AMDEPBACKSLASH='\'
2900fi 3347fi
2901 3348
2911 3358
2912 3359
2913 3360
2914depcc="$CC" am_compiler_list= 3361depcc="$CC" am_compiler_list=
2915 3362
2916echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3363{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2917echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 3364echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
2918if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3365if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2919 echo $ECHO_N "(cached) $ECHO_C" >&6 3366 echo $ECHO_N "(cached) $ECHO_C" >&6
2920else 3367else
2921 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3368 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2922 # We make a subdir and do the tests there. Otherwise we can end up 3369 # We make a subdir and do the tests there. Otherwise we can end up
2973else 3420else
2974 am_cv_CC_dependencies_compiler_type=none 3421 am_cv_CC_dependencies_compiler_type=none
2975fi 3422fi
2976 3423
2977fi 3424fi
2978echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3425{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2979echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 3426echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
2980CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3427CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2981 3428
2982 3429
2983echo "$as_me:$LINENO: checking whether ln -s works" >&5 3430{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
2984echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 3431echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2985LN_S=$as_ln_s 3432LN_S=$as_ln_s
2986if test "$LN_S" = "ln -s"; then 3433if test "$LN_S" = "ln -s"; then
2987 echo "$as_me:$LINENO: result: yes" >&5 3434 { echo "$as_me:$LINENO: result: yes" >&5
2988echo "${ECHO_T}yes" >&6 3435echo "${ECHO_T}yes" >&6; }
2989else 3436else
2990 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3437 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2991echo "${ECHO_T}no, using $LN_S" >&6 3438echo "${ECHO_T}no, using $LN_S" >&6; }
2992fi 3439fi
2993 3440
2994if test -n "$ac_tool_prefix"; then 3441if test -n "$ac_tool_prefix"; then
2995 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3442 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2996set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3443set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2997echo "$as_me:$LINENO: checking for $ac_word" >&5 3444{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2998echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3445echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2999if test "${ac_cv_prog_RANLIB+set}" = set; then 3446if test "${ac_cv_prog_RANLIB+set}" = set; then
3000 echo $ECHO_N "(cached) $ECHO_C" >&6 3447 echo $ECHO_N "(cached) $ECHO_C" >&6
3001else 3448else
3002 if test -n "$RANLIB"; then 3449 if test -n "$RANLIB"; then
3003 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3450 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3006for as_dir in $PATH 3453for as_dir in $PATH
3007do 3454do
3008 IFS=$as_save_IFS 3455 IFS=$as_save_IFS
3009 test -z "$as_dir" && as_dir=. 3456 test -z "$as_dir" && as_dir=.
3010 for ac_exec_ext in '' $ac_executable_extensions; do 3457 for ac_exec_ext in '' $ac_executable_extensions; do
3011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3012 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3459 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3014 break 2 3461 break 2
3015 fi 3462 fi
3016done 3463done
3017done 3464done
3465IFS=$as_save_IFS
3018 3466
3019fi 3467fi
3020fi 3468fi
3021RANLIB=$ac_cv_prog_RANLIB 3469RANLIB=$ac_cv_prog_RANLIB
3022if test -n "$RANLIB"; then 3470if test -n "$RANLIB"; then
3023 echo "$as_me:$LINENO: result: $RANLIB" >&5 3471 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3024echo "${ECHO_T}$RANLIB" >&6 3472echo "${ECHO_T}$RANLIB" >&6; }
3025else 3473else
3026 echo "$as_me:$LINENO: result: no" >&5 3474 { echo "$as_me:$LINENO: result: no" >&5
3027echo "${ECHO_T}no" >&6 3475echo "${ECHO_T}no" >&6; }
3028fi 3476fi
3477
3029 3478
3030fi 3479fi
3031if test -z "$ac_cv_prog_RANLIB"; then 3480if test -z "$ac_cv_prog_RANLIB"; then
3032 ac_ct_RANLIB=$RANLIB 3481 ac_ct_RANLIB=$RANLIB
3033 # Extract the first word of "ranlib", so it can be a program name with args. 3482 # Extract the first word of "ranlib", so it can be a program name with args.
3034set dummy ranlib; ac_word=$2 3483set dummy ranlib; ac_word=$2
3035echo "$as_me:$LINENO: checking for $ac_word" >&5 3484{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3036echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3485echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3037if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3486if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3038 echo $ECHO_N "(cached) $ECHO_C" >&6 3487 echo $ECHO_N "(cached) $ECHO_C" >&6
3039else 3488else
3040 if test -n "$ac_ct_RANLIB"; then 3489 if test -n "$ac_ct_RANLIB"; then
3041 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 3490 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3044for as_dir in $PATH 3493for as_dir in $PATH
3045do 3494do
3046 IFS=$as_save_IFS 3495 IFS=$as_save_IFS
3047 test -z "$as_dir" && as_dir=. 3496 test -z "$as_dir" && as_dir=.
3048 for ac_exec_ext in '' $ac_executable_extensions; do 3497 for ac_exec_ext in '' $ac_executable_extensions; do
3049 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3050 ac_cv_prog_ac_ct_RANLIB="ranlib" 3499 ac_cv_prog_ac_ct_RANLIB="ranlib"
3051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3052 break 2 3501 break 2
3053 fi 3502 fi
3054done 3503done
3055done 3504done
3505IFS=$as_save_IFS
3056 3506
3057 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3058fi 3507fi
3059fi 3508fi
3060ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3509ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3061if test -n "$ac_ct_RANLIB"; then 3510if test -n "$ac_ct_RANLIB"; then
3062 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3511 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3063echo "${ECHO_T}$ac_ct_RANLIB" >&6 3512echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3064else 3513else
3065 echo "$as_me:$LINENO: result: no" >&5 3514 { echo "$as_me:$LINENO: result: no" >&5
3066echo "${ECHO_T}no" >&6 3515echo "${ECHO_T}no" >&6; }
3067fi 3516fi
3068 3517
3518 if test "x$ac_ct_RANLIB" = x; then
3519 RANLIB=":"
3520 else
3521 case $cross_compiling:$ac_tool_warned in
3522yes:)
3523{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3524whose name does not start with the host triplet. If you think this
3525configuration is useful to you, please write to autoconf@gnu.org." >&5
3526echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3527whose name does not start with the host triplet. If you think this
3528configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3529ac_tool_warned=yes ;;
3530esac
3069 RANLIB=$ac_ct_RANLIB 3531 RANLIB=$ac_ct_RANLIB
3532 fi
3070else 3533else
3071 RANLIB="$ac_cv_prog_RANLIB" 3534 RANLIB="$ac_cv_prog_RANLIB"
3072fi 3535fi
3073 3536
3074#AC_ARG_PROGRAM 3537#AC_ARG_PROGRAM
3075echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3538{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3076echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 3539echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3077set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 3540set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3078if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 3541if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3079 echo $ECHO_N "(cached) $ECHO_C" >&6 3542 echo $ECHO_N "(cached) $ECHO_C" >&6
3080else 3543else
3081 cat >conftest.make <<\_ACEOF 3544 cat >conftest.make <<\_ACEOF
3545SHELL = /bin/sh
3082all: 3546all:
3083 @echo 'ac_maketemp="$(MAKE)"' 3547 @echo '@@@%%%=$(MAKE)=@@@%%%'
3084_ACEOF 3548_ACEOF
3085# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3549# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3086eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 3550case `${MAKE-make} -f conftest.make 2>/dev/null` in
3087if test -n "$ac_maketemp"; then 3551 *@@@%%%=?*=@@@%%%*)
3088 eval ac_cv_prog_make_${ac_make}_set=yes 3552 eval ac_cv_prog_make_${ac_make}_set=yes;;
3089else 3553 *)
3090 eval ac_cv_prog_make_${ac_make}_set=no 3554 eval ac_cv_prog_make_${ac_make}_set=no;;
3091fi 3555esac
3092rm -f conftest.make 3556rm -f conftest.make
3093fi 3557fi
3094if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 3558if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3095 echo "$as_me:$LINENO: result: yes" >&5 3559 { echo "$as_me:$LINENO: result: yes" >&5
3096echo "${ECHO_T}yes" >&6 3560echo "${ECHO_T}yes" >&6; }
3097 SET_MAKE= 3561 SET_MAKE=
3098else 3562else
3099 echo "$as_me:$LINENO: result: no" >&5 3563 { echo "$as_me:$LINENO: result: no" >&5
3100echo "${ECHO_T}no" >&6 3564echo "${ECHO_T}no" >&6; }
3101 SET_MAKE="MAKE=${MAKE-make}" 3565 SET_MAKE="MAKE=${MAKE-make}"
3102fi 3566fi
3103 3567
3104ac_ext=c 3568ac_ext=c
3105ac_cpp='$CPP $CPPFLAGS' 3569ac_cpp='$CPP $CPPFLAGS'
3106ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3570ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3107ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3571ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3108ac_compiler_gnu=$ac_cv_c_compiler_gnu 3572ac_compiler_gnu=$ac_cv_c_compiler_gnu
3109echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3573{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3110echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3574echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3111# On Suns, sometimes $CPP names a directory. 3575# On Suns, sometimes $CPP names a directory.
3112if test -n "$CPP" && test -d "$CPP"; then 3576if test -n "$CPP" && test -d "$CPP"; then
3113 CPP= 3577 CPP=
3114fi 3578fi
3115if test -z "$CPP"; then 3579if test -z "$CPP"; then
3139#else 3603#else
3140# include <assert.h> 3604# include <assert.h>
3141#endif 3605#endif
3142 Syntax error 3606 Syntax error
3143_ACEOF 3607_ACEOF
3144if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3608if { (ac_try="$ac_cpp conftest.$ac_ext"
3609case "(($ac_try" in
3610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3611 *) ac_try_echo=$ac_try;;
3612esac
3613eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3145 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3614 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3146 ac_status=$? 3615 ac_status=$?
3147 grep -v '^ *+' conftest.er1 >conftest.err 3616 grep -v '^ *+' conftest.er1 >conftest.err
3148 rm -f conftest.er1 3617 rm -f conftest.er1
3149 cat conftest.err >&5 3618 cat conftest.err >&5
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); } >/dev/null; then 3620 (exit $ac_status); } >/dev/null && {
3621 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3152 if test -s conftest.err; then 3622 test ! -s conftest.err
3153 ac_cpp_err=$ac_c_preproc_warn_flag 3623 }; then
3154 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3155 else
3156 ac_cpp_err=
3157 fi
3158else
3159 ac_cpp_err=yes
3160fi
3161if test -z "$ac_cpp_err"; then
3162 : 3624 :
3163else 3625else
3164 echo "$as_me: failed program was:" >&5 3626 echo "$as_me: failed program was:" >&5
3165sed 's/^/| /' conftest.$ac_ext >&5 3627sed 's/^/| /' conftest.$ac_ext >&5
3166 3628
3167 # Broken: fails on valid input. 3629 # Broken: fails on valid input.
3168continue 3630continue
3169fi 3631fi
3632
3170rm -f conftest.err conftest.$ac_ext 3633rm -f conftest.err conftest.$ac_ext
3171 3634
3172 # OK, works on sane cases. Now check whether non-existent headers 3635 # OK, works on sane cases. Now check whether nonexistent headers
3173 # can be detected and how. 3636 # can be detected and how.
3174 cat >conftest.$ac_ext <<_ACEOF 3637 cat >conftest.$ac_ext <<_ACEOF
3175/* confdefs.h. */ 3638/* confdefs.h. */
3176_ACEOF 3639_ACEOF
3177cat confdefs.h >>conftest.$ac_ext 3640cat confdefs.h >>conftest.$ac_ext
3178cat >>conftest.$ac_ext <<_ACEOF 3641cat >>conftest.$ac_ext <<_ACEOF
3179/* end confdefs.h. */ 3642/* end confdefs.h. */
3180#include <ac_nonexistent.h> 3643#include <ac_nonexistent.h>
3181_ACEOF 3644_ACEOF
3182if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3645if { (ac_try="$ac_cpp conftest.$ac_ext"
3646case "(($ac_try" in
3647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3648 *) ac_try_echo=$ac_try;;
3649esac
3650eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3183 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3651 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3184 ac_status=$? 3652 ac_status=$?
3185 grep -v '^ *+' conftest.er1 >conftest.err 3653 grep -v '^ *+' conftest.er1 >conftest.err
3186 rm -f conftest.er1 3654 rm -f conftest.er1
3187 cat conftest.err >&5 3655 cat conftest.err >&5
3188 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189 (exit $ac_status); } >/dev/null; then 3657 (exit $ac_status); } >/dev/null && {
3658 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3190 if test -s conftest.err; then 3659 test ! -s conftest.err
3191 ac_cpp_err=$ac_c_preproc_warn_flag 3660 }; then
3192 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3193 else
3194 ac_cpp_err=
3195 fi
3196else
3197 ac_cpp_err=yes
3198fi
3199if test -z "$ac_cpp_err"; then
3200 # Broken: success on invalid input. 3661 # Broken: success on invalid input.
3201continue 3662continue
3202else 3663else
3203 echo "$as_me: failed program was:" >&5 3664 echo "$as_me: failed program was:" >&5
3204sed 's/^/| /' conftest.$ac_ext >&5 3665sed 's/^/| /' conftest.$ac_ext >&5
3205 3666
3206 # Passes both tests. 3667 # Passes both tests.
3207ac_preproc_ok=: 3668ac_preproc_ok=:
3208break 3669break
3209fi 3670fi
3671
3210rm -f conftest.err conftest.$ac_ext 3672rm -f conftest.err conftest.$ac_ext
3211 3673
3212done 3674done
3213# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3675# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3214rm -f conftest.err conftest.$ac_ext 3676rm -f conftest.err conftest.$ac_ext
3222fi 3684fi
3223 CPP=$ac_cv_prog_CPP 3685 CPP=$ac_cv_prog_CPP
3224else 3686else
3225 ac_cv_prog_CPP=$CPP 3687 ac_cv_prog_CPP=$CPP
3226fi 3688fi
3227echo "$as_me:$LINENO: result: $CPP" >&5 3689{ echo "$as_me:$LINENO: result: $CPP" >&5
3228echo "${ECHO_T}$CPP" >&6 3690echo "${ECHO_T}$CPP" >&6; }
3229ac_preproc_ok=false 3691ac_preproc_ok=false
3230for ac_c_preproc_warn_flag in '' yes 3692for ac_c_preproc_warn_flag in '' yes
3231do 3693do
3232 # Use a header file that comes with gcc, so configuring glibc 3694 # Use a header file that comes with gcc, so configuring glibc
3233 # with a fresh cross-compiler works. 3695 # with a fresh cross-compiler works.
3246#else 3708#else
3247# include <assert.h> 3709# include <assert.h>
3248#endif 3710#endif
3249 Syntax error 3711 Syntax error
3250_ACEOF 3712_ACEOF
3251if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3713if { (ac_try="$ac_cpp conftest.$ac_ext"
3714case "(($ac_try" in
3715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3716 *) ac_try_echo=$ac_try;;
3717esac
3718eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3252 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3719 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3253 ac_status=$? 3720 ac_status=$?
3254 grep -v '^ *+' conftest.er1 >conftest.err 3721 grep -v '^ *+' conftest.er1 >conftest.err
3255 rm -f conftest.er1 3722 rm -f conftest.er1
3256 cat conftest.err >&5 3723 cat conftest.err >&5
3257 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258 (exit $ac_status); } >/dev/null; then 3725 (exit $ac_status); } >/dev/null && {
3726 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3259 if test -s conftest.err; then 3727 test ! -s conftest.err
3260 ac_cpp_err=$ac_c_preproc_warn_flag 3728 }; then
3261 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3262 else
3263 ac_cpp_err=
3264 fi
3265else
3266 ac_cpp_err=yes
3267fi
3268if test -z "$ac_cpp_err"; then
3269 : 3729 :
3270else 3730else
3271 echo "$as_me: failed program was:" >&5 3731 echo "$as_me: failed program was:" >&5
3272sed 's/^/| /' conftest.$ac_ext >&5 3732sed 's/^/| /' conftest.$ac_ext >&5
3273 3733
3274 # Broken: fails on valid input. 3734 # Broken: fails on valid input.
3275continue 3735continue
3276fi 3736fi
3737
3277rm -f conftest.err conftest.$ac_ext 3738rm -f conftest.err conftest.$ac_ext
3278 3739
3279 # OK, works on sane cases. Now check whether non-existent headers 3740 # OK, works on sane cases. Now check whether nonexistent headers
3280 # can be detected and how. 3741 # can be detected and how.
3281 cat >conftest.$ac_ext <<_ACEOF 3742 cat >conftest.$ac_ext <<_ACEOF
3282/* confdefs.h. */ 3743/* confdefs.h. */
3283_ACEOF 3744_ACEOF
3284cat confdefs.h >>conftest.$ac_ext 3745cat confdefs.h >>conftest.$ac_ext
3285cat >>conftest.$ac_ext <<_ACEOF 3746cat >>conftest.$ac_ext <<_ACEOF
3286/* end confdefs.h. */ 3747/* end confdefs.h. */
3287#include <ac_nonexistent.h> 3748#include <ac_nonexistent.h>
3288_ACEOF 3749_ACEOF
3289if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3750if { (ac_try="$ac_cpp conftest.$ac_ext"
3751case "(($ac_try" in
3752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3753 *) ac_try_echo=$ac_try;;
3754esac
3755eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3290 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3756 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3291 ac_status=$? 3757 ac_status=$?
3292 grep -v '^ *+' conftest.er1 >conftest.err 3758 grep -v '^ *+' conftest.er1 >conftest.err
3293 rm -f conftest.er1 3759 rm -f conftest.er1
3294 cat conftest.err >&5 3760 cat conftest.err >&5
3295 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296 (exit $ac_status); } >/dev/null; then 3762 (exit $ac_status); } >/dev/null && {
3763 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3297 if test -s conftest.err; then 3764 test ! -s conftest.err
3298 ac_cpp_err=$ac_c_preproc_warn_flag 3765 }; then
3299 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3300 else
3301 ac_cpp_err=
3302 fi
3303else
3304 ac_cpp_err=yes
3305fi
3306if test -z "$ac_cpp_err"; then
3307 # Broken: success on invalid input. 3766 # Broken: success on invalid input.
3308continue 3767continue
3309else 3768else
3310 echo "$as_me: failed program was:" >&5 3769 echo "$as_me: failed program was:" >&5
3311sed 's/^/| /' conftest.$ac_ext >&5 3770sed 's/^/| /' conftest.$ac_ext >&5
3312 3771
3313 # Passes both tests. 3772 # Passes both tests.
3314ac_preproc_ok=: 3773ac_preproc_ok=:
3315break 3774break
3316fi 3775fi
3776
3317rm -f conftest.err conftest.$ac_ext 3777rm -f conftest.err conftest.$ac_ext
3318 3778
3319done 3779done
3320# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3780# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3321rm -f conftest.err conftest.$ac_ext 3781rm -f conftest.err conftest.$ac_ext
3346# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3806# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3347# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3807# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3348# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3808# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3349# OS/2's system install, which has a completely different semantic 3809# OS/2's system install, which has a completely different semantic
3350# ./install, which can be erroneously created by make from ./install.sh. 3810# ./install, which can be erroneously created by make from ./install.sh.
3351echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3811{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3352echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 3812echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3353if test -z "$INSTALL"; then 3813if test -z "$INSTALL"; then
3354if test "${ac_cv_path_install+set}" = set; then 3814if test "${ac_cv_path_install+set}" = set; then
3355 echo $ECHO_N "(cached) $ECHO_C" >&6 3815 echo $ECHO_N "(cached) $ECHO_C" >&6
3356else 3816else
3357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3369 # OSF1 and SCO ODT 3.0 have their own names for install. 3829 # OSF1 and SCO ODT 3.0 have their own names for install.
3370 # Don't use installbsd from OSF since it installs stuff as root 3830 # Don't use installbsd from OSF since it installs stuff as root
3371 # by default. 3831 # by default.
3372 for ac_prog in ginstall scoinst install; do 3832 for ac_prog in ginstall scoinst install; do
3373 for ac_exec_ext in '' $ac_executable_extensions; do 3833 for ac_exec_ext in '' $ac_executable_extensions; do
3374 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3834 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3375 if test $ac_prog = install && 3835 if test $ac_prog = install &&
3376 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3836 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3377 # AIX install. It has an incompatible calling convention. 3837 # AIX install. It has an incompatible calling convention.
3378 : 3838 :
3379 elif test $ac_prog = install && 3839 elif test $ac_prog = install &&
3388 done 3848 done
3389 done 3849 done
3390 ;; 3850 ;;
3391esac 3851esac
3392done 3852done
3853IFS=$as_save_IFS
3393 3854
3394 3855
3395fi 3856fi
3396 if test "${ac_cv_path_install+set}" = set; then 3857 if test "${ac_cv_path_install+set}" = set; then
3397 INSTALL=$ac_cv_path_install 3858 INSTALL=$ac_cv_path_install
3398 else 3859 else
3399 # As a last resort, use the slow shell script. We don't cache a 3860 # As a last resort, use the slow shell script. Don't cache a
3400 # path for INSTALL within a source directory, because that will 3861 # value for INSTALL within a source directory, because that will
3401 # break other packages using the cache if that directory is 3862 # break other packages using the cache if that directory is
3402 # removed, or if the path is relative. 3863 # removed, or if the value is a relative name.
3403 INSTALL=$ac_install_sh 3864 INSTALL=$ac_install_sh
3404 fi 3865 fi
3405fi 3866fi
3406echo "$as_me:$LINENO: result: $INSTALL" >&5 3867{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3407echo "${ECHO_T}$INSTALL" >&6 3868echo "${ECHO_T}$INSTALL" >&6; }
3408 3869
3409# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3870# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3410# It thinks the first close brace ends the variable substitution. 3871# It thinks the first close brace ends the variable substitution.
3411test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3872test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3412 3873
3431 3892
3432#------------------------------------------------------------------------------- 3893#-------------------------------------------------------------------------------
3433# LIBTOOL 3894# LIBTOOL
3434#------------------------------------------------------------------------------- 3895#-------------------------------------------------------------------------------
3435 3896
3436# Check whether --enable-shared or --disable-shared was given. 3897# Check whether --enable-shared was given.
3437if test "${enable_shared+set}" = set; then 3898if test "${enable_shared+set}" = set; then
3438 enableval="$enable_shared" 3899 enableval=$enable_shared; p=${PACKAGE-default}
3439 p=${PACKAGE-default}
3440 case $enableval in 3900 case $enableval in
3441 yes) enable_shared=yes ;; 3901 yes) enable_shared=yes ;;
3442 no) enable_shared=no ;; 3902 no) enable_shared=no ;;
3443 *) 3903 *)
3444 enable_shared=no 3904 enable_shared=no
3453 IFS="$lt_save_ifs" 3913 IFS="$lt_save_ifs"
3454 ;; 3914 ;;
3455 esac 3915 esac
3456else 3916else
3457 enable_shared=yes 3917 enable_shared=yes
3458fi; 3918fi
3459 3919
3920
3460# Check whether --enable-static or --disable-static was given. 3921# Check whether --enable-static was given.
3461if test "${enable_static+set}" = set; then 3922if test "${enable_static+set}" = set; then
3462 enableval="$enable_static" 3923 enableval=$enable_static; p=${PACKAGE-default}
3463 p=${PACKAGE-default}
3464 case $enableval in 3924 case $enableval in
3465 yes) enable_static=yes ;; 3925 yes) enable_static=yes ;;
3466 no) enable_static=no ;; 3926 no) enable_static=no ;;
3467 *) 3927 *)
3468 enable_static=no 3928 enable_static=no
3477 IFS="$lt_save_ifs" 3937 IFS="$lt_save_ifs"
3478 ;; 3938 ;;
3479 esac 3939 esac
3480else 3940else
3481 enable_static=yes 3941 enable_static=yes
3482fi; 3942fi
3483 3943
3944
3484# Check whether --enable-fast-install or --disable-fast-install was given. 3945# Check whether --enable-fast-install was given.
3485if test "${enable_fast_install+set}" = set; then 3946if test "${enable_fast_install+set}" = set; then
3486 enableval="$enable_fast_install" 3947 enableval=$enable_fast_install; p=${PACKAGE-default}
3487 p=${PACKAGE-default}
3488 case $enableval in 3948 case $enableval in
3489 yes) enable_fast_install=yes ;; 3949 yes) enable_fast_install=yes ;;
3490 no) enable_fast_install=no ;; 3950 no) enable_fast_install=no ;;
3491 *) 3951 *)
3492 enable_fast_install=no 3952 enable_fast_install=no
3501 IFS="$lt_save_ifs" 3961 IFS="$lt_save_ifs"
3502 ;; 3962 ;;
3503 esac 3963 esac
3504else 3964else
3505 enable_fast_install=yes 3965 enable_fast_install=yes
3506fi; 3966fi
3967
3507 3968
3508# Make sure we can run config.sub. 3969# Make sure we can run config.sub.
3509$ac_config_sub sun4 >/dev/null 2>&1 || 3970$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3510 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 3971 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3511echo "$as_me: error: cannot run $ac_config_sub" >&2;} 3972echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3512 { (exit 1); exit 1; }; } 3973 { (exit 1); exit 1; }; }
3513 3974
3514echo "$as_me:$LINENO: checking build system type" >&5 3975{ echo "$as_me:$LINENO: checking build system type" >&5
3515echo $ECHO_N "checking build system type... $ECHO_C" >&6 3976echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3516if test "${ac_cv_build+set}" = set; then 3977if test "${ac_cv_build+set}" = set; then
3517 echo $ECHO_N "(cached) $ECHO_C" >&6 3978 echo $ECHO_N "(cached) $ECHO_C" >&6
3518else 3979else
3519 ac_cv_build_alias=$build_alias 3980 ac_build_alias=$build_alias
3520test -z "$ac_cv_build_alias" && 3981test "x$ac_build_alias" = x &&
3521 ac_cv_build_alias=`$ac_config_guess` 3982 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3522test -z "$ac_cv_build_alias" && 3983test "x$ac_build_alias" = x &&
3523 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 3984 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3524echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3985echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3525 { (exit 1); exit 1; }; } 3986 { (exit 1); exit 1; }; }
3526ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 3987ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3527 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 3988 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3528echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 3989echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3529 { (exit 1); exit 1; }; } 3990 { (exit 1); exit 1; }; }
3530 3991
3531fi 3992fi
3532echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3993{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3533echo "${ECHO_T}$ac_cv_build" >&6 3994echo "${ECHO_T}$ac_cv_build" >&6; }
3995case $ac_cv_build in
3996*-*-*) ;;
3997*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3998echo "$as_me: error: invalid value of canonical build" >&2;}
3999 { (exit 1); exit 1; }; };;
4000esac
3534build=$ac_cv_build 4001build=$ac_cv_build
3535build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 4002ac_save_IFS=$IFS; IFS='-'
3536build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 4003set x $ac_cv_build
3537build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 4004shift
4005build_cpu=$1
4006build_vendor=$2
4007shift; shift
4008# Remember, the first character of IFS is used to create $*,
4009# except with old shells:
4010build_os=$*
4011IFS=$ac_save_IFS
4012case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3538 4013
3539 4014
3540echo "$as_me:$LINENO: checking host system type" >&5 4015{ echo "$as_me:$LINENO: checking host system type" >&5
3541echo $ECHO_N "checking host system type... $ECHO_C" >&6 4016echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3542if test "${ac_cv_host+set}" = set; then 4017if test "${ac_cv_host+set}" = set; then
3543 echo $ECHO_N "(cached) $ECHO_C" >&6 4018 echo $ECHO_N "(cached) $ECHO_C" >&6
3544else 4019else
3545 ac_cv_host_alias=$host_alias 4020 if test "x$host_alias" = x; then
3546test -z "$ac_cv_host_alias" &&
3547 ac_cv_host_alias=$ac_cv_build_alias 4021 ac_cv_host=$ac_cv_build
4022else
3548ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 4023 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3549 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 4024 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3550echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 4025echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3551 { (exit 1); exit 1; }; } 4026 { (exit 1); exit 1; }; }
3552
3553fi 4027fi
4028
4029fi
3554echo "$as_me:$LINENO: result: $ac_cv_host" >&5 4030{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3555echo "${ECHO_T}$ac_cv_host" >&6 4031echo "${ECHO_T}$ac_cv_host" >&6; }
4032case $ac_cv_host in
4033*-*-*) ;;
4034*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4035echo "$as_me: error: invalid value of canonical host" >&2;}
4036 { (exit 1); exit 1; }; };;
4037esac
3556host=$ac_cv_host 4038host=$ac_cv_host
3557host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 4039ac_save_IFS=$IFS; IFS='-'
3558host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 4040set x $ac_cv_host
3559host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 4041shift
4042host_cpu=$1
4043host_vendor=$2
4044shift; shift
4045# Remember, the first character of IFS is used to create $*,
4046# except with old shells:
4047host_os=$*
4048IFS=$ac_save_IFS
4049case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3560 4050
3561 4051
3562echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 4052{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3563echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 4053echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3564if test "${lt_cv_path_SED+set}" = set; then 4054if test "${lt_cv_path_SED+set}" = set; then
3565 echo $ECHO_N "(cached) $ECHO_C" >&6 4055 echo $ECHO_N "(cached) $ECHO_C" >&6
3566else 4056else
3567 # Loop through the user's path and test for sed and gsed. 4057 # Loop through the user's path and test for sed and gsed.
3568# Then use that list of sed's as ones to test for truncation. 4058# Then use that list of sed's as ones to test for truncation.
3611done 4101done
3612SED=$lt_cv_path_SED 4102SED=$lt_cv_path_SED
3613 4103
3614fi 4104fi
3615 4105
3616echo "$as_me:$LINENO: result: $SED" >&5 4106{ echo "$as_me:$LINENO: result: $SED" >&5
3617echo "${ECHO_T}$SED" >&6 4107echo "${ECHO_T}$SED" >&6; }
3618 4108
3619echo "$as_me:$LINENO: checking for egrep" >&5 4109{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3620echo $ECHO_N "checking for egrep... $ECHO_C" >&6 4110echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3621if test "${ac_cv_prog_egrep+set}" = set; then 4111if test "${ac_cv_path_GREP+set}" = set; then
3622 echo $ECHO_N "(cached) $ECHO_C" >&6 4112 echo $ECHO_N "(cached) $ECHO_C" >&6
3623else 4113else
3624 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 4114 # Extract the first word of "grep ggrep" to use in msg output
3625 then ac_cv_prog_egrep='grep -E' 4115if test -z "$GREP"; then
3626 else ac_cv_prog_egrep='egrep' 4116set dummy grep ggrep; ac_prog_name=$2
4117if test "${ac_cv_path_GREP+set}" = set; then
4118 echo $ECHO_N "(cached) $ECHO_C" >&6
4119else
4120 ac_path_GREP_found=false
4121# Loop through the user's path and test for each of PROGNAME-LIST
4122as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4123for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4124do
4125 IFS=$as_save_IFS
4126 test -z "$as_dir" && as_dir=.
4127 for ac_prog in grep ggrep; do
4128 for ac_exec_ext in '' $ac_executable_extensions; do
4129 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4130 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4131 # Check for GNU ac_path_GREP and select it if it is found.
4132 # Check for GNU $ac_path_GREP
4133case `"$ac_path_GREP" --version 2>&1` in
4134*GNU*)
4135 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4136*)
4137 ac_count=0
4138 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4139 while :
4140 do
4141 cat "conftest.in" "conftest.in" >"conftest.tmp"
4142 mv "conftest.tmp" "conftest.in"
4143 cp "conftest.in" "conftest.nl"
4144 echo 'GREP' >> "conftest.nl"
4145 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4146 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4147 ac_count=`expr $ac_count + 1`
4148 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4149 # Best one so far, save it but keep looking for a better one
4150 ac_cv_path_GREP="$ac_path_GREP"
4151 ac_path_GREP_max=$ac_count
3627 fi 4152 fi
4153 # 10*(2^10) chars as input seems more than enough
4154 test $ac_count -gt 10 && break
4155 done
4156 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4157esac
4158
4159
4160 $ac_path_GREP_found && break 3
4161 done
4162done
4163
4164done
4165IFS=$as_save_IFS
4166
4167
3628fi 4168fi
4169
4170GREP="$ac_cv_path_GREP"
4171if test -z "$GREP"; then
4172 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4173echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4174 { (exit 1); exit 1; }; }
4175fi
4176
4177else
4178 ac_cv_path_GREP=$GREP
4179fi
4180
4181
4182fi
3629echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 4183{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3630echo "${ECHO_T}$ac_cv_prog_egrep" >&6 4184echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3631 EGREP=$ac_cv_prog_egrep 4185 GREP="$ac_cv_path_GREP"
3632 4186
3633 4187
4188{ echo "$as_me:$LINENO: checking for egrep" >&5
4189echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4190if test "${ac_cv_path_EGREP+set}" = set; then
4191 echo $ECHO_N "(cached) $ECHO_C" >&6
4192else
4193 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4194 then ac_cv_path_EGREP="$GREP -E"
4195 else
4196 # Extract the first word of "egrep" to use in msg output
4197if test -z "$EGREP"; then
4198set dummy egrep; ac_prog_name=$2
4199if test "${ac_cv_path_EGREP+set}" = set; then
4200 echo $ECHO_N "(cached) $ECHO_C" >&6
4201else
4202 ac_path_EGREP_found=false
4203# Loop through the user's path and test for each of PROGNAME-LIST
4204as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4205for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4206do
4207 IFS=$as_save_IFS
4208 test -z "$as_dir" && as_dir=.
4209 for ac_prog in egrep; do
4210 for ac_exec_ext in '' $ac_executable_extensions; do
4211 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4212 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4213 # Check for GNU ac_path_EGREP and select it if it is found.
4214 # Check for GNU $ac_path_EGREP
4215case `"$ac_path_EGREP" --version 2>&1` in
4216*GNU*)
4217 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4218*)
4219 ac_count=0
4220 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4221 while :
4222 do
4223 cat "conftest.in" "conftest.in" >"conftest.tmp"
4224 mv "conftest.tmp" "conftest.in"
4225 cp "conftest.in" "conftest.nl"
4226 echo 'EGREP' >> "conftest.nl"
4227 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4228 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4229 ac_count=`expr $ac_count + 1`
4230 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4231 # Best one so far, save it but keep looking for a better one
4232 ac_cv_path_EGREP="$ac_path_EGREP"
4233 ac_path_EGREP_max=$ac_count
4234 fi
4235 # 10*(2^10) chars as input seems more than enough
4236 test $ac_count -gt 10 && break
4237 done
4238 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4239esac
3634 4240
4241
4242 $ac_path_EGREP_found && break 3
4243 done
4244done
4245
4246done
4247IFS=$as_save_IFS
4248
4249
4250fi
4251
4252EGREP="$ac_cv_path_EGREP"
4253if test -z "$EGREP"; then
4254 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4255echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4256 { (exit 1); exit 1; }; }
4257fi
4258
4259else
4260 ac_cv_path_EGREP=$EGREP
4261fi
4262
4263
4264 fi
4265fi
4266{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4267echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4268 EGREP="$ac_cv_path_EGREP"
4269
4270
4271
3635# Check whether --with-gnu-ld or --without-gnu-ld was given. 4272# Check whether --with-gnu-ld was given.
3636if test "${with_gnu_ld+set}" = set; then 4273if test "${with_gnu_ld+set}" = set; then
3637 withval="$with_gnu_ld"
3638 test "$withval" = no || with_gnu_ld=yes 4274 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3639else 4275else
3640 with_gnu_ld=no 4276 with_gnu_ld=no
3641fi; 4277fi
4278
3642ac_prog=ld 4279ac_prog=ld
3643if test "$GCC" = yes; then 4280if test "$GCC" = yes; then
3644 # Check if gcc -print-prog-name=ld gives a path. 4281 # Check if gcc -print-prog-name=ld gives a path.
3645 echo "$as_me:$LINENO: checking for ld used by $CC" >&5 4282 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3646echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 4283echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3647 case $host in 4284 case $host in
3648 *-*-mingw*) 4285 *-*-mingw*)
3649 # gcc leaves a trailing carriage return which upsets mingw 4286 # gcc leaves a trailing carriage return which upsets mingw
3650 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4287 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3651 *) 4288 *)
3670 # If it is relative, then search for the first ld in PATH. 4307 # If it is relative, then search for the first ld in PATH.
3671 with_gnu_ld=unknown 4308 with_gnu_ld=unknown
3672 ;; 4309 ;;
3673 esac 4310 esac
3674elif test "$with_gnu_ld" = yes; then 4311elif test "$with_gnu_ld" = yes; then
3675 echo "$as_me:$LINENO: checking for GNU ld" >&5 4312 { echo "$as_me:$LINENO: checking for GNU ld" >&5
3676echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 4313echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3677else 4314else
3678 echo "$as_me:$LINENO: checking for non-GNU ld" >&5 4315 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3679echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 4316echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3680fi 4317fi
3681if test "${lt_cv_path_LD+set}" = set; then 4318if test "${lt_cv_path_LD+set}" = set; then
3682 echo $ECHO_N "(cached) $ECHO_C" >&6 4319 echo $ECHO_N "(cached) $ECHO_C" >&6
3683else 4320else
3684 if test -z "$LD"; then 4321 if test -z "$LD"; then
3707fi 4344fi
3708fi 4345fi
3709 4346
3710LD="$lt_cv_path_LD" 4347LD="$lt_cv_path_LD"
3711if test -n "$LD"; then 4348if test -n "$LD"; then
3712 echo "$as_me:$LINENO: result: $LD" >&5 4349 { echo "$as_me:$LINENO: result: $LD" >&5
3713echo "${ECHO_T}$LD" >&6 4350echo "${ECHO_T}$LD" >&6; }
3714else 4351else
3715 echo "$as_me:$LINENO: result: no" >&5 4352 { echo "$as_me:$LINENO: result: no" >&5
3716echo "${ECHO_T}no" >&6 4353echo "${ECHO_T}no" >&6; }
3717fi 4354fi
3718test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 4355test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3719echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 4356echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3720 { (exit 1); exit 1; }; } 4357 { (exit 1); exit 1; }; }
3721echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 4358{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3722echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 4359echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
3723if test "${lt_cv_prog_gnu_ld+set}" = set; then 4360if test "${lt_cv_prog_gnu_ld+set}" = set; then
3724 echo $ECHO_N "(cached) $ECHO_C" >&6 4361 echo $ECHO_N "(cached) $ECHO_C" >&6
3725else 4362else
3726 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 4363 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3727case `$LD -v 2>&1 </dev/null` in 4364case `$LD -v 2>&1 </dev/null` in
3731*) 4368*)
3732 lt_cv_prog_gnu_ld=no 4369 lt_cv_prog_gnu_ld=no
3733 ;; 4370 ;;
3734esac 4371esac
3735fi 4372fi
3736echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 4373{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3737echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 4374echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
3738with_gnu_ld=$lt_cv_prog_gnu_ld 4375with_gnu_ld=$lt_cv_prog_gnu_ld
3739 4376
3740 4377
3741echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 4378{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3742echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 4379echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
3743if test "${lt_cv_ld_reload_flag+set}" = set; then 4380if test "${lt_cv_ld_reload_flag+set}" = set; then
3744 echo $ECHO_N "(cached) $ECHO_C" >&6 4381 echo $ECHO_N "(cached) $ECHO_C" >&6
3745else 4382else
3746 lt_cv_ld_reload_flag='-r' 4383 lt_cv_ld_reload_flag='-r'
3747fi 4384fi
3748echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 4385{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3749echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 4386echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
3750reload_flag=$lt_cv_ld_reload_flag 4387reload_flag=$lt_cv_ld_reload_flag
3751case $reload_flag in 4388case $reload_flag in
3752"" | " "*) ;; 4389"" | " "*) ;;
3753*) reload_flag=" $reload_flag" ;; 4390*) reload_flag=" $reload_flag" ;;
3754esac 4391esac
3755reload_cmds='$LD$reload_flag -o $output$reload_objs' 4392reload_cmds='$LD$reload_flag -o $output$reload_objs'
3756 4393
3757echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 4394{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3758echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 4395echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
3759if test "${lt_cv_path_NM+set}" = set; then 4396if test "${lt_cv_path_NM+set}" = set; then
3760 echo $ECHO_N "(cached) $ECHO_C" >&6 4397 echo $ECHO_N "(cached) $ECHO_C" >&6
3761else 4398else
3762 if test -n "$NM"; then 4399 if test -n "$NM"; then
3763 # Let the user override the test. 4400 # Let the user override the test.
3794 done 4431 done
3795 IFS="$lt_save_ifs" 4432 IFS="$lt_save_ifs"
3796 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm 4433 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3797fi 4434fi
3798fi 4435fi
3799echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 4436{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3800echo "${ECHO_T}$lt_cv_path_NM" >&6 4437echo "${ECHO_T}$lt_cv_path_NM" >&6; }
3801NM="$lt_cv_path_NM" 4438NM="$lt_cv_path_NM"
3802 4439
3803echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 4440{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3804echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6 4441echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
3805if test "${lt_cv_deplibs_check_method+set}" = set; then 4442if test "${lt_cv_deplibs_check_method+set}" = set; then
3806 echo $ECHO_N "(cached) $ECHO_C" >&6 4443 echo $ECHO_N "(cached) $ECHO_C" >&6
3807else 4444else
3808 lt_cv_file_magic_cmd='$MAGIC_CMD' 4445 lt_cv_file_magic_cmd='$MAGIC_CMD'
3809lt_cv_file_magic_test_file= 4446lt_cv_file_magic_test_file=
3981 lt_cv_deplibs_check_method=pass_all 4618 lt_cv_deplibs_check_method=pass_all
3982 ;; 4619 ;;
3983esac 4620esac
3984 4621
3985fi 4622fi
3986echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 4623{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3987echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 4624echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
3988file_magic_cmd=$lt_cv_file_magic_cmd 4625file_magic_cmd=$lt_cv_file_magic_cmd
3989deplibs_check_method=$lt_cv_deplibs_check_method 4626deplibs_check_method=$lt_cv_deplibs_check_method
3990test -z "$deplibs_check_method" && deplibs_check_method=unknown 4627test -z "$deplibs_check_method" && deplibs_check_method=unknown
3991 4628
3992 4629
3997 4634
3998# Allow CC to be a program name with arguments. 4635# Allow CC to be a program name with arguments.
3999compiler=$CC 4636compiler=$CC
4000 4637
4001 4638
4002# Check whether --enable-libtool-lock or --disable-libtool-lock was given. 4639# Check whether --enable-libtool-lock was given.
4003if test "${enable_libtool_lock+set}" = set; then 4640if test "${enable_libtool_lock+set}" = set; then
4004 enableval="$enable_libtool_lock" 4641 enableval=$enable_libtool_lock;
4005
4006fi; 4642fi
4643
4007test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 4644test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4008 4645
4009# Some flags need to be propagated to the compiler or linker for good 4646# Some flags need to be propagated to the compiler or linker for good
4010# libtool support. 4647# libtool support.
4011case $host in 4648case $host in
4028 fi 4665 fi
4029 rm -rf conftest* 4666 rm -rf conftest*
4030 ;; 4667 ;;
4031*-*-irix6*) 4668*-*-irix6*)
4032 # Find out which ABI we are using. 4669 # Find out which ABI we are using.
4033 echo '#line 4033 "configure"' > conftest.$ac_ext 4670 echo '#line 4670 "configure"' > conftest.$ac_ext
4034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4035 (eval $ac_compile) 2>&5 4672 (eval $ac_compile) 2>&5
4036 ac_status=$? 4673 ac_status=$?
4037 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4038 (exit $ac_status); }; then 4675 (exit $ac_status); }; then
4113 4750
4114*-*-sco3.2v5*) 4751*-*-sco3.2v5*)
4115 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 4752 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4116 SAVE_CFLAGS="$CFLAGS" 4753 SAVE_CFLAGS="$CFLAGS"
4117 CFLAGS="$CFLAGS -belf" 4754 CFLAGS="$CFLAGS -belf"
4118 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 4755 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4119echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 4756echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4120if test "${lt_cv_cc_needs_belf+set}" = set; then 4757if test "${lt_cv_cc_needs_belf+set}" = set; then
4121 echo $ECHO_N "(cached) $ECHO_C" >&6 4758 echo $ECHO_N "(cached) $ECHO_C" >&6
4122else 4759else
4123 ac_ext=c 4760 ac_ext=c
4124ac_cpp='$CPP $CPPFLAGS' 4761ac_cpp='$CPP $CPPFLAGS'
4140 ; 4777 ;
4141 return 0; 4778 return 0;
4142} 4779}
4143_ACEOF 4780_ACEOF
4144rm -f conftest.$ac_objext conftest$ac_exeext 4781rm -f conftest.$ac_objext conftest$ac_exeext
4782if { (ac_try="$ac_link"
4783case "(($ac_try" in
4784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4785 *) ac_try_echo=$ac_try;;
4786esac
4145if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4787eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4146 (eval $ac_link) 2>conftest.er1 4788 (eval "$ac_link") 2>conftest.er1
4147 ac_status=$? 4789 ac_status=$?
4148 grep -v '^ *+' conftest.er1 >conftest.err 4790 grep -v '^ *+' conftest.er1 >conftest.err
4149 rm -f conftest.er1 4791 rm -f conftest.er1
4150 cat conftest.err >&5 4792 cat conftest.err >&5
4151 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4152 (exit $ac_status); } && 4794 (exit $ac_status); } && {
4153 { ac_try='test -z "$ac_c_werror_flag" 4795 test -z "$ac_c_werror_flag" ||
4154 || test ! -s conftest.err' 4796 test ! -s conftest.err
4155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4797 } && test -s conftest$ac_exeext &&
4156 (eval $ac_try) 2>&5 4798 $as_test_x conftest$ac_exeext; then
4157 ac_status=$?
4158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4159 (exit $ac_status); }; } &&
4160 { ac_try='test -s conftest$ac_exeext'
4161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4162 (eval $ac_try) 2>&5
4163 ac_status=$?
4164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4165 (exit $ac_status); }; }; then
4166 lt_cv_cc_needs_belf=yes 4799 lt_cv_cc_needs_belf=yes
4167else 4800else
4168 echo "$as_me: failed program was:" >&5 4801 echo "$as_me: failed program was:" >&5
4169sed 's/^/| /' conftest.$ac_ext >&5 4802sed 's/^/| /' conftest.$ac_ext >&5
4170 4803
4171lt_cv_cc_needs_belf=no 4804 lt_cv_cc_needs_belf=no
4172fi 4805fi
4173rm -f conftest.err conftest.$ac_objext \ 4806
4807rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4174 conftest$ac_exeext conftest.$ac_ext 4808 conftest$ac_exeext conftest.$ac_ext
4175 ac_ext=c 4809 ac_ext=c
4176ac_cpp='$CPP $CPPFLAGS' 4810ac_cpp='$CPP $CPPFLAGS'
4177ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4811ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4178ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4812ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4179ac_compiler_gnu=$ac_cv_c_compiler_gnu 4813ac_compiler_gnu=$ac_cv_c_compiler_gnu
4180 4814
4181fi 4815fi
4182echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 4816{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4183echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 4817echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4184 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 4818 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4185 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 4819 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4186 CFLAGS="$SAVE_CFLAGS" 4820 CFLAGS="$SAVE_CFLAGS"
4187 fi 4821 fi
4188 ;; 4822 ;;
4191 4825
4192need_locks="$enable_libtool_lock" 4826need_locks="$enable_libtool_lock"
4193 4827
4194 4828
4195 4829
4196echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4830{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4197echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4831echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4198if test "${ac_cv_header_stdc+set}" = set; then 4832if test "${ac_cv_header_stdc+set}" = set; then
4199 echo $ECHO_N "(cached) $ECHO_C" >&6 4833 echo $ECHO_N "(cached) $ECHO_C" >&6
4200else 4834else
4201 cat >conftest.$ac_ext <<_ACEOF 4835 cat >conftest.$ac_ext <<_ACEOF
4202/* confdefs.h. */ 4836/* confdefs.h. */
4216 ; 4850 ;
4217 return 0; 4851 return 0;
4218} 4852}
4219_ACEOF 4853_ACEOF
4220rm -f conftest.$ac_objext 4854rm -f conftest.$ac_objext
4855if { (ac_try="$ac_compile"
4856case "(($ac_try" in
4857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4858 *) ac_try_echo=$ac_try;;
4859esac
4221if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4860eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4222 (eval $ac_compile) 2>conftest.er1 4861 (eval "$ac_compile") 2>conftest.er1
4223 ac_status=$? 4862 ac_status=$?
4224 grep -v '^ *+' conftest.er1 >conftest.err 4863 grep -v '^ *+' conftest.er1 >conftest.err
4225 rm -f conftest.er1 4864 rm -f conftest.er1
4226 cat conftest.err >&5 4865 cat conftest.err >&5
4227 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4228 (exit $ac_status); } && 4867 (exit $ac_status); } && {
4229 { ac_try='test -z "$ac_c_werror_flag" 4868 test -z "$ac_c_werror_flag" ||
4230 || test ! -s conftest.err' 4869 test ! -s conftest.err
4231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4870 } && test -s conftest.$ac_objext; then
4232 (eval $ac_try) 2>&5
4233 ac_status=$?
4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235 (exit $ac_status); }; } &&
4236 { ac_try='test -s conftest.$ac_objext'
4237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4238 (eval $ac_try) 2>&5
4239 ac_status=$?
4240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4241 (exit $ac_status); }; }; then
4242 ac_cv_header_stdc=yes 4871 ac_cv_header_stdc=yes
4243else 4872else
4244 echo "$as_me: failed program was:" >&5 4873 echo "$as_me: failed program was:" >&5
4245sed 's/^/| /' conftest.$ac_ext >&5 4874sed 's/^/| /' conftest.$ac_ext >&5
4246 4875
4247ac_cv_header_stdc=no 4876 ac_cv_header_stdc=no
4248fi 4877fi
4878
4249rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4879rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4250 4880
4251if test $ac_cv_header_stdc = yes; then 4881if test $ac_cv_header_stdc = yes; then
4252 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4882 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4253 cat >conftest.$ac_ext <<_ACEOF 4883 cat >conftest.$ac_ext <<_ACEOF
4254/* confdefs.h. */ 4884/* confdefs.h. */
4300_ACEOF 4930_ACEOF
4301cat confdefs.h >>conftest.$ac_ext 4931cat confdefs.h >>conftest.$ac_ext
4302cat >>conftest.$ac_ext <<_ACEOF 4932cat >>conftest.$ac_ext <<_ACEOF
4303/* end confdefs.h. */ 4933/* end confdefs.h. */
4304#include <ctype.h> 4934#include <ctype.h>
4935#include <stdlib.h>
4305#if ((' ' & 0x0FF) == 0x020) 4936#if ((' ' & 0x0FF) == 0x020)
4306# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4937# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4307# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4938# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4308#else 4939#else
4309# define ISLOWER(c) \ 4940# define ISLOWER(c) \
4319{ 4950{
4320 int i; 4951 int i;
4321 for (i = 0; i < 256; i++) 4952 for (i = 0; i < 256; i++)
4322 if (XOR (islower (i), ISLOWER (i)) 4953 if (XOR (islower (i), ISLOWER (i))
4323 || toupper (i) != TOUPPER (i)) 4954 || toupper (i) != TOUPPER (i))
4324 exit(2); 4955 return 2;
4325 exit (0); 4956 return 0;
4326} 4957}
4327_ACEOF 4958_ACEOF
4328rm -f conftest$ac_exeext 4959rm -f conftest$ac_exeext
4960if { (ac_try="$ac_link"
4961case "(($ac_try" in
4962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4963 *) ac_try_echo=$ac_try;;
4964esac
4329if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4965eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4330 (eval $ac_link) 2>&5 4966 (eval "$ac_link") 2>&5
4331 ac_status=$? 4967 ac_status=$?
4332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4333 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4969 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4970 { (case "(($ac_try" in
4971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4972 *) ac_try_echo=$ac_try;;
4973esac
4334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4974eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4335 (eval $ac_try) 2>&5 4975 (eval "$ac_try") 2>&5
4336 ac_status=$? 4976 ac_status=$?
4337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338 (exit $ac_status); }; }; then 4978 (exit $ac_status); }; }; then
4339 : 4979 :
4340else 4980else
4343sed 's/^/| /' conftest.$ac_ext >&5 4983sed 's/^/| /' conftest.$ac_ext >&5
4344 4984
4345( exit $ac_status ) 4985( exit $ac_status )
4346ac_cv_header_stdc=no 4986ac_cv_header_stdc=no
4347fi 4987fi
4348rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4988rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4349fi 4989fi
4990
4991
4350fi 4992fi
4351fi 4993fi
4352echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4994{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4353echo "${ECHO_T}$ac_cv_header_stdc" >&6 4995echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4354if test $ac_cv_header_stdc = yes; then 4996if test $ac_cv_header_stdc = yes; then
4355 4997
4356cat >>confdefs.h <<\_ACEOF 4998cat >>confdefs.h <<\_ACEOF
4357#define STDC_HEADERS 1 4999#define STDC_HEADERS 1
4358_ACEOF 5000_ACEOF
4371 5013
4372for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 5014for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4373 inttypes.h stdint.h unistd.h 5015 inttypes.h stdint.h unistd.h
4374do 5016do
4375as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5017as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4376echo "$as_me:$LINENO: checking for $ac_header" >&5 5018{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4377echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5019echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4378if eval "test \"\${$as_ac_Header+set}\" = set"; then 5020if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4379 echo $ECHO_N "(cached) $ECHO_C" >&6 5021 echo $ECHO_N "(cached) $ECHO_C" >&6
4380else 5022else
4381 cat >conftest.$ac_ext <<_ACEOF 5023 cat >conftest.$ac_ext <<_ACEOF
4382/* confdefs.h. */ 5024/* confdefs.h. */
4383_ACEOF 5025_ACEOF
4387$ac_includes_default 5029$ac_includes_default
4388 5030
4389#include <$ac_header> 5031#include <$ac_header>
4390_ACEOF 5032_ACEOF
4391rm -f conftest.$ac_objext 5033rm -f conftest.$ac_objext
5034if { (ac_try="$ac_compile"
5035case "(($ac_try" in
5036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5037 *) ac_try_echo=$ac_try;;
5038esac
4392if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5039eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4393 (eval $ac_compile) 2>conftest.er1 5040 (eval "$ac_compile") 2>conftest.er1
4394 ac_status=$? 5041 ac_status=$?
4395 grep -v '^ *+' conftest.er1 >conftest.err 5042 grep -v '^ *+' conftest.er1 >conftest.err
4396 rm -f conftest.er1 5043 rm -f conftest.er1
4397 cat conftest.err >&5 5044 cat conftest.err >&5
4398 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4399 (exit $ac_status); } && 5046 (exit $ac_status); } && {
4400 { ac_try='test -z "$ac_c_werror_flag" 5047 test -z "$ac_c_werror_flag" ||
4401 || test ! -s conftest.err' 5048 test ! -s conftest.err
4402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5049 } && test -s conftest.$ac_objext; then
4403 (eval $ac_try) 2>&5
4404 ac_status=$?
4405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4406 (exit $ac_status); }; } &&
4407 { ac_try='test -s conftest.$ac_objext'
4408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4409 (eval $ac_try) 2>&5
4410 ac_status=$?
4411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4412 (exit $ac_status); }; }; then
4413 eval "$as_ac_Header=yes" 5050 eval "$as_ac_Header=yes"
4414else 5051else
4415 echo "$as_me: failed program was:" >&5 5052 echo "$as_me: failed program was:" >&5
4416sed 's/^/| /' conftest.$ac_ext >&5 5053sed 's/^/| /' conftest.$ac_ext >&5
4417 5054
4418eval "$as_ac_Header=no" 5055 eval "$as_ac_Header=no"
4419fi 5056fi
5057
4420rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5058rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4421fi 5059fi
4422echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5060ac_res=`eval echo '${'$as_ac_Header'}'`
4423echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5061 { echo "$as_me:$LINENO: result: $ac_res" >&5
5062echo "${ECHO_T}$ac_res" >&6; }
4424if test `eval echo '${'$as_ac_Header'}'` = yes; then 5063if test `eval echo '${'$as_ac_Header'}'` = yes; then
4425 cat >>confdefs.h <<_ACEOF 5064 cat >>confdefs.h <<_ACEOF
4426#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5065#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4427_ACEOF 5066_ACEOF
4428 5067
4433 5072
4434 5073
4435for ac_header in dlfcn.h 5074for ac_header in dlfcn.h
4436do 5075do
4437as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5076as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4438if eval "test \"\${$as_ac_Header+set}\" = set"; then 5077if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4439 echo "$as_me:$LINENO: checking for $ac_header" >&5 5078 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4440echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5079echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4441if eval "test \"\${$as_ac_Header+set}\" = set"; then 5080if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4442 echo $ECHO_N "(cached) $ECHO_C" >&6 5081 echo $ECHO_N "(cached) $ECHO_C" >&6
4443fi 5082fi
4444echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5083ac_res=`eval echo '${'$as_ac_Header'}'`
4445echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5084 { echo "$as_me:$LINENO: result: $ac_res" >&5
5085echo "${ECHO_T}$ac_res" >&6; }
4446else 5086else
4447 # Is the header compilable? 5087 # Is the header compilable?
4448echo "$as_me:$LINENO: checking $ac_header usability" >&5 5088{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4449echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5089echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4450cat >conftest.$ac_ext <<_ACEOF 5090cat >conftest.$ac_ext <<_ACEOF
4451/* confdefs.h. */ 5091/* confdefs.h. */
4452_ACEOF 5092_ACEOF
4453cat confdefs.h >>conftest.$ac_ext 5093cat confdefs.h >>conftest.$ac_ext
4454cat >>conftest.$ac_ext <<_ACEOF 5094cat >>conftest.$ac_ext <<_ACEOF
4455/* end confdefs.h. */ 5095/* end confdefs.h. */
4456$ac_includes_default 5096$ac_includes_default
4457#include <$ac_header> 5097#include <$ac_header>
4458_ACEOF 5098_ACEOF
4459rm -f conftest.$ac_objext 5099rm -f conftest.$ac_objext
5100if { (ac_try="$ac_compile"
5101case "(($ac_try" in
5102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5103 *) ac_try_echo=$ac_try;;
5104esac
4460if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5105eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4461 (eval $ac_compile) 2>conftest.er1 5106 (eval "$ac_compile") 2>conftest.er1
4462 ac_status=$? 5107 ac_status=$?
4463 grep -v '^ *+' conftest.er1 >conftest.err 5108 grep -v '^ *+' conftest.er1 >conftest.err
4464 rm -f conftest.er1 5109 rm -f conftest.er1
4465 cat conftest.err >&5 5110 cat conftest.err >&5
4466 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4467 (exit $ac_status); } && 5112 (exit $ac_status); } && {
4468 { ac_try='test -z "$ac_c_werror_flag" 5113 test -z "$ac_c_werror_flag" ||
4469 || test ! -s conftest.err' 5114 test ! -s conftest.err
4470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5115 } && test -s conftest.$ac_objext; then
4471 (eval $ac_try) 2>&5
4472 ac_status=$?
4473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4474 (exit $ac_status); }; } &&
4475 { ac_try='test -s conftest.$ac_objext'
4476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4477 (eval $ac_try) 2>&5
4478 ac_status=$?
4479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4480 (exit $ac_status); }; }; then
4481 ac_header_compiler=yes 5116 ac_header_compiler=yes
4482else 5117else
4483 echo "$as_me: failed program was:" >&5 5118 echo "$as_me: failed program was:" >&5
4484sed 's/^/| /' conftest.$ac_ext >&5 5119sed 's/^/| /' conftest.$ac_ext >&5
4485 5120
4486ac_header_compiler=no 5121 ac_header_compiler=no
4487fi 5122fi
5123
4488rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5124rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4489echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5125{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4490echo "${ECHO_T}$ac_header_compiler" >&6 5126echo "${ECHO_T}$ac_header_compiler" >&6; }
4491 5127
4492# Is the header present? 5128# Is the header present?
4493echo "$as_me:$LINENO: checking $ac_header presence" >&5 5129{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4494echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5130echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4495cat >conftest.$ac_ext <<_ACEOF 5131cat >conftest.$ac_ext <<_ACEOF
4496/* confdefs.h. */ 5132/* confdefs.h. */
4497_ACEOF 5133_ACEOF
4498cat confdefs.h >>conftest.$ac_ext 5134cat confdefs.h >>conftest.$ac_ext
4499cat >>conftest.$ac_ext <<_ACEOF 5135cat >>conftest.$ac_ext <<_ACEOF
4500/* end confdefs.h. */ 5136/* end confdefs.h. */
4501#include <$ac_header> 5137#include <$ac_header>
4502_ACEOF 5138_ACEOF
4503if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5139if { (ac_try="$ac_cpp conftest.$ac_ext"
5140case "(($ac_try" in
5141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5142 *) ac_try_echo=$ac_try;;
5143esac
5144eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4504 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5145 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4505 ac_status=$? 5146 ac_status=$?
4506 grep -v '^ *+' conftest.er1 >conftest.err 5147 grep -v '^ *+' conftest.er1 >conftest.err
4507 rm -f conftest.er1 5148 rm -f conftest.er1
4508 cat conftest.err >&5 5149 cat conftest.err >&5
4509 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4510 (exit $ac_status); } >/dev/null; then 5151 (exit $ac_status); } >/dev/null && {
5152 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4511 if test -s conftest.err; then 5153 test ! -s conftest.err
4512 ac_cpp_err=$ac_c_preproc_warn_flag 5154 }; then
4513 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4514 else
4515 ac_cpp_err=
4516 fi
4517else
4518 ac_cpp_err=yes
4519fi
4520if test -z "$ac_cpp_err"; then
4521 ac_header_preproc=yes 5155 ac_header_preproc=yes
4522else 5156else
4523 echo "$as_me: failed program was:" >&5 5157 echo "$as_me: failed program was:" >&5
4524sed 's/^/| /' conftest.$ac_ext >&5 5158sed 's/^/| /' conftest.$ac_ext >&5
4525 5159
4526 ac_header_preproc=no 5160 ac_header_preproc=no
4527fi 5161fi
5162
4528rm -f conftest.err conftest.$ac_ext 5163rm -f conftest.err conftest.$ac_ext
4529echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5164{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4530echo "${ECHO_T}$ac_header_preproc" >&6 5165echo "${ECHO_T}$ac_header_preproc" >&6; }
4531 5166
4532# So? What about this header? 5167# So? What about this header?
4533case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5168case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4534 yes:no: ) 5169 yes:no: )
4535 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5170 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4549echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5184echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5185 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4551echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5186echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4552 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5187 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4553echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5188echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4554 (
4555 cat <<\_ASBOX 5189 ( cat <<\_ASBOX
4556## ------------------------------------ ## 5190## ------------------------------------ ##
4557## Report this to jcouzens@codeshare.ca ## 5191## Report this to jcouzens@codeshare.ca ##
4558## ------------------------------------ ## 5192## ------------------------------------ ##
4559_ASBOX 5193_ASBOX
4560 ) |
4561 sed "s/^/$as_me: WARNING: /" >&2 5194 ) | sed "s/^/$as_me: WARNING: /" >&2
4562 ;; 5195 ;;
4563esac 5196esac
4564echo "$as_me:$LINENO: checking for $ac_header" >&5 5197{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4565echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5198echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4566if eval "test \"\${$as_ac_Header+set}\" = set"; then 5199if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4567 echo $ECHO_N "(cached) $ECHO_C" >&6 5200 echo $ECHO_N "(cached) $ECHO_C" >&6
4568else 5201else
4569 eval "$as_ac_Header=\$ac_header_preproc" 5202 eval "$as_ac_Header=\$ac_header_preproc"
4570fi 5203fi
4571echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5204ac_res=`eval echo '${'$as_ac_Header'}'`
4572echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5205 { echo "$as_me:$LINENO: result: $ac_res" >&5
5206echo "${ECHO_T}$ac_res" >&6; }
4573 5207
4574fi 5208fi
4575if test `eval echo '${'$as_ac_Header'}'` = yes; then 5209if test `eval echo '${'$as_ac_Header'}'` = yes; then
4576 cat >>confdefs.h <<_ACEOF 5210 cat >>confdefs.h <<_ACEOF
4577#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5211#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4579 5213
4580fi 5214fi
4581 5215
4582done 5216done
4583 5217
4584ac_ext=cc 5218ac_ext=cpp
4585ac_cpp='$CXXCPP $CPPFLAGS' 5219ac_cpp='$CXXCPP $CPPFLAGS'
4586ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5220ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4587ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5221ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4588ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5222ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5223if test -z "$CXX"; then
5224 if test -n "$CCC"; then
5225 CXX=$CCC
5226 else
4589if test -n "$ac_tool_prefix"; then 5227 if test -n "$ac_tool_prefix"; then
4590 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 5228 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4591 do 5229 do
4592 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5230 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4593set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5231set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4594echo "$as_me:$LINENO: checking for $ac_word" >&5 5232{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4595echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5233echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4596if test "${ac_cv_prog_CXX+set}" = set; then 5234if test "${ac_cv_prog_CXX+set}" = set; then
4597 echo $ECHO_N "(cached) $ECHO_C" >&6 5235 echo $ECHO_N "(cached) $ECHO_C" >&6
4598else 5236else
4599 if test -n "$CXX"; then 5237 if test -n "$CXX"; then
4600 ac_cv_prog_CXX="$CXX" # Let the user override the test. 5238 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4603for as_dir in $PATH 5241for as_dir in $PATH
4604do 5242do
4605 IFS=$as_save_IFS 5243 IFS=$as_save_IFS
4606 test -z "$as_dir" && as_dir=. 5244 test -z "$as_dir" && as_dir=.
4607 for ac_exec_ext in '' $ac_executable_extensions; do 5245 for ac_exec_ext in '' $ac_executable_extensions; do
4608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4609 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 5247 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4611 break 2 5249 break 2
4612 fi 5250 fi
4613done 5251done
4614done 5252done
5253IFS=$as_save_IFS
4615 5254
4616fi 5255fi
4617fi 5256fi
4618CXX=$ac_cv_prog_CXX 5257CXX=$ac_cv_prog_CXX
4619if test -n "$CXX"; then 5258if test -n "$CXX"; then
4620 echo "$as_me:$LINENO: result: $CXX" >&5 5259 { echo "$as_me:$LINENO: result: $CXX" >&5
4621echo "${ECHO_T}$CXX" >&6 5260echo "${ECHO_T}$CXX" >&6; }
4622else 5261else
4623 echo "$as_me:$LINENO: result: no" >&5 5262 { echo "$as_me:$LINENO: result: no" >&5
4624echo "${ECHO_T}no" >&6 5263echo "${ECHO_T}no" >&6; }
4625fi 5264fi
5265
4626 5266
4627 test -n "$CXX" && break 5267 test -n "$CXX" && break
4628 done 5268 done
4629fi 5269fi
4630if test -z "$CXX"; then 5270if test -z "$CXX"; then
4631 ac_ct_CXX=$CXX 5271 ac_ct_CXX=$CXX
4632 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 5272 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4633do 5273do
4634 # Extract the first word of "$ac_prog", so it can be a program name with args. 5274 # Extract the first word of "$ac_prog", so it can be a program name with args.
4635set dummy $ac_prog; ac_word=$2 5275set dummy $ac_prog; ac_word=$2
4636echo "$as_me:$LINENO: checking for $ac_word" >&5 5276{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4637echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5277echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4638if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 5278if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4639 echo $ECHO_N "(cached) $ECHO_C" >&6 5279 echo $ECHO_N "(cached) $ECHO_C" >&6
4640else 5280else
4641 if test -n "$ac_ct_CXX"; then 5281 if test -n "$ac_ct_CXX"; then
4642 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 5282 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4645for as_dir in $PATH 5285for as_dir in $PATH
4646do 5286do
4647 IFS=$as_save_IFS 5287 IFS=$as_save_IFS
4648 test -z "$as_dir" && as_dir=. 5288 test -z "$as_dir" && as_dir=.
4649 for ac_exec_ext in '' $ac_executable_extensions; do 5289 for ac_exec_ext in '' $ac_executable_extensions; do
4650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4651 ac_cv_prog_ac_ct_CXX="$ac_prog" 5291 ac_cv_prog_ac_ct_CXX="$ac_prog"
4652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4653 break 2 5293 break 2
4654 fi 5294 fi
4655done 5295done
4656done 5296done
5297IFS=$as_save_IFS
4657 5298
4658fi 5299fi
4659fi 5300fi
4660ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 5301ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4661if test -n "$ac_ct_CXX"; then 5302if test -n "$ac_ct_CXX"; then
4662 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 5303 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4663echo "${ECHO_T}$ac_ct_CXX" >&6 5304echo "${ECHO_T}$ac_ct_CXX" >&6; }
4664else 5305else
4665 echo "$as_me:$LINENO: result: no" >&5 5306 { echo "$as_me:$LINENO: result: no" >&5
4666echo "${ECHO_T}no" >&6 5307echo "${ECHO_T}no" >&6; }
4667fi 5308fi
5309
4668 5310
4669 test -n "$ac_ct_CXX" && break 5311 test -n "$ac_ct_CXX" && break
4670done 5312done
4671test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4672 5313
5314 if test "x$ac_ct_CXX" = x; then
5315 CXX="g++"
5316 else
5317 case $cross_compiling:$ac_tool_warned in
5318yes:)
5319{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5320whose name does not start with the host triplet. If you think this
5321configuration is useful to you, please write to autoconf@gnu.org." >&5
5322echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5323whose name does not start with the host triplet. If you think this
5324configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5325ac_tool_warned=yes ;;
5326esac
4673 CXX=$ac_ct_CXX 5327 CXX=$ac_ct_CXX
5328 fi
4674fi 5329fi
4675 5330
4676 5331 fi
5332fi
4677# Provide some information about the compiler. 5333# Provide some information about the compiler.
4678echo "$as_me:$LINENO:" \
4679 "checking for C++ compiler version" >&5 5334echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4680ac_compiler=`set X $ac_compile; echo $2` 5335ac_compiler=`set X $ac_compile; echo $2`
4681{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 5336{ (ac_try="$ac_compiler --version >&5"
5337case "(($ac_try" in
5338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5339 *) ac_try_echo=$ac_try;;
5340esac
5341eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4682 (eval $ac_compiler --version </dev/null >&5) 2>&5 5342 (eval "$ac_compiler --version >&5") 2>&5
4683 ac_status=$? 5343 ac_status=$?
4684 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4685 (exit $ac_status); } 5345 (exit $ac_status); }
4686{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 5346{ (ac_try="$ac_compiler -v >&5"
5347case "(($ac_try" in
5348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5349 *) ac_try_echo=$ac_try;;
5350esac
5351eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4687 (eval $ac_compiler -v </dev/null >&5) 2>&5 5352 (eval "$ac_compiler -v >&5") 2>&5
4688 ac_status=$? 5353 ac_status=$?
4689 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690 (exit $ac_status); } 5355 (exit $ac_status); }
4691{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 5356{ (ac_try="$ac_compiler -V >&5"
5357case "(($ac_try" in
5358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5359 *) ac_try_echo=$ac_try;;
5360esac
5361eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4692 (eval $ac_compiler -V </dev/null >&5) 2>&5 5362 (eval "$ac_compiler -V >&5") 2>&5
4693 ac_status=$? 5363 ac_status=$?
4694 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4695 (exit $ac_status); } 5365 (exit $ac_status); }
4696 5366
4697echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 5367{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4698echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 5368echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4699if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 5369if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4700 echo $ECHO_N "(cached) $ECHO_C" >&6 5370 echo $ECHO_N "(cached) $ECHO_C" >&6
4701else 5371else
4702 cat >conftest.$ac_ext <<_ACEOF 5372 cat >conftest.$ac_ext <<_ACEOF
4703/* confdefs.h. */ 5373/* confdefs.h. */
4716 ; 5386 ;
4717 return 0; 5387 return 0;
4718} 5388}
4719_ACEOF 5389_ACEOF
4720rm -f conftest.$ac_objext 5390rm -f conftest.$ac_objext
5391if { (ac_try="$ac_compile"
5392case "(($ac_try" in
5393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5394 *) ac_try_echo=$ac_try;;
5395esac
4721if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5396eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4722 (eval $ac_compile) 2>conftest.er1 5397 (eval "$ac_compile") 2>conftest.er1
4723 ac_status=$? 5398 ac_status=$?
4724 grep -v '^ *+' conftest.er1 >conftest.err 5399 grep -v '^ *+' conftest.er1 >conftest.err
4725 rm -f conftest.er1 5400 rm -f conftest.er1
4726 cat conftest.err >&5 5401 cat conftest.err >&5
4727 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728 (exit $ac_status); } && 5403 (exit $ac_status); } && {
4729 { ac_try='test -z "$ac_cxx_werror_flag" 5404 test -z "$ac_cxx_werror_flag" ||
4730 || test ! -s conftest.err' 5405 test ! -s conftest.err
4731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5406 } && test -s conftest.$ac_objext; then
4732 (eval $ac_try) 2>&5
4733 ac_status=$?
4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735 (exit $ac_status); }; } &&
4736 { ac_try='test -s conftest.$ac_objext'
4737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4738 (eval $ac_try) 2>&5
4739 ac_status=$?
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); }; }; then
4742 ac_compiler_gnu=yes 5407 ac_compiler_gnu=yes
4743else 5408else
4744 echo "$as_me: failed program was:" >&5 5409 echo "$as_me: failed program was:" >&5
4745sed 's/^/| /' conftest.$ac_ext >&5 5410sed 's/^/| /' conftest.$ac_ext >&5
4746 5411
4747ac_compiler_gnu=no 5412 ac_compiler_gnu=no
4748fi 5413fi
5414
4749rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5415rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4750ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 5416ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4751 5417
4752fi 5418fi
4753echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 5419{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4754echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 5420echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4755GXX=`test $ac_compiler_gnu = yes && echo yes` 5421GXX=`test $ac_compiler_gnu = yes && echo yes`
4756ac_test_CXXFLAGS=${CXXFLAGS+set} 5422ac_test_CXXFLAGS=${CXXFLAGS+set}
4757ac_save_CXXFLAGS=$CXXFLAGS 5423ac_save_CXXFLAGS=$CXXFLAGS
4758CXXFLAGS="-g"
4759echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 5424{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4760echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 5425echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4761if test "${ac_cv_prog_cxx_g+set}" = set; then 5426if test "${ac_cv_prog_cxx_g+set}" = set; then
4762 echo $ECHO_N "(cached) $ECHO_C" >&6 5427 echo $ECHO_N "(cached) $ECHO_C" >&6
4763else 5428else
5429 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5430 ac_cxx_werror_flag=yes
5431 ac_cv_prog_cxx_g=no
5432 CXXFLAGS="-g"
4764 cat >conftest.$ac_ext <<_ACEOF 5433 cat >conftest.$ac_ext <<_ACEOF
4765/* confdefs.h. */ 5434/* confdefs.h. */
4766_ACEOF 5435_ACEOF
4767cat confdefs.h >>conftest.$ac_ext 5436cat confdefs.h >>conftest.$ac_ext
4768cat >>conftest.$ac_ext <<_ACEOF 5437cat >>conftest.$ac_ext <<_ACEOF
4769/* end confdefs.h. */ 5438/* end confdefs.h. */
4775 ; 5444 ;
4776 return 0; 5445 return 0;
4777} 5446}
4778_ACEOF 5447_ACEOF
4779rm -f conftest.$ac_objext 5448rm -f conftest.$ac_objext
5449if { (ac_try="$ac_compile"
5450case "(($ac_try" in
5451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5452 *) ac_try_echo=$ac_try;;
5453esac
4780if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5454eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4781 (eval $ac_compile) 2>conftest.er1 5455 (eval "$ac_compile") 2>conftest.er1
4782 ac_status=$? 5456 ac_status=$?
4783 grep -v '^ *+' conftest.er1 >conftest.err 5457 grep -v '^ *+' conftest.er1 >conftest.err
4784 rm -f conftest.er1 5458 rm -f conftest.er1
4785 cat conftest.err >&5 5459 cat conftest.err >&5
4786 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787 (exit $ac_status); } && 5461 (exit $ac_status); } && {
4788 { ac_try='test -z "$ac_cxx_werror_flag" 5462 test -z "$ac_cxx_werror_flag" ||
4789 || test ! -s conftest.err' 5463 test ! -s conftest.err
4790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5464 } && test -s conftest.$ac_objext; then
4791 (eval $ac_try) 2>&5
4792 ac_status=$?
4793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794 (exit $ac_status); }; } &&
4795 { ac_try='test -s conftest.$ac_objext'
4796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4797 (eval $ac_try) 2>&5
4798 ac_status=$?
4799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); }; }; then
4801 ac_cv_prog_cxx_g=yes 5465 ac_cv_prog_cxx_g=yes
4802else 5466else
4803 echo "$as_me: failed program was:" >&5 5467 echo "$as_me: failed program was:" >&5
4804sed 's/^/| /' conftest.$ac_ext >&5 5468sed 's/^/| /' conftest.$ac_ext >&5
4805 5469
5470 CXXFLAGS=""
5471 cat >conftest.$ac_ext <<_ACEOF
5472/* confdefs.h. */
5473_ACEOF
5474cat confdefs.h >>conftest.$ac_ext
5475cat >>conftest.$ac_ext <<_ACEOF
5476/* end confdefs.h. */
5477
5478int
5479main ()
5480{
5481
5482 ;
5483 return 0;
5484}
5485_ACEOF
5486rm -f conftest.$ac_objext
5487if { (ac_try="$ac_compile"
5488case "(($ac_try" in
5489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5490 *) ac_try_echo=$ac_try;;
5491esac
5492eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5493 (eval "$ac_compile") 2>conftest.er1
5494 ac_status=$?
5495 grep -v '^ *+' conftest.er1 >conftest.err
5496 rm -f conftest.er1
5497 cat conftest.err >&5
5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5499 (exit $ac_status); } && {
5500 test -z "$ac_cxx_werror_flag" ||
5501 test ! -s conftest.err
5502 } && test -s conftest.$ac_objext; then
5503 :
5504else
5505 echo "$as_me: failed program was:" >&5
5506sed 's/^/| /' conftest.$ac_ext >&5
5507
5508 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5509 CXXFLAGS="-g"
5510 cat >conftest.$ac_ext <<_ACEOF
5511/* confdefs.h. */
5512_ACEOF
5513cat confdefs.h >>conftest.$ac_ext
5514cat >>conftest.$ac_ext <<_ACEOF
5515/* end confdefs.h. */
5516
5517int
5518main ()
5519{
5520
5521 ;
5522 return 0;
5523}
5524_ACEOF
5525rm -f conftest.$ac_objext
5526if { (ac_try="$ac_compile"
5527case "(($ac_try" in
5528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5529 *) ac_try_echo=$ac_try;;
5530esac
5531eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5532 (eval "$ac_compile") 2>conftest.er1
5533 ac_status=$?
5534 grep -v '^ *+' conftest.er1 >conftest.err
5535 rm -f conftest.er1
5536 cat conftest.err >&5
5537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5538 (exit $ac_status); } && {
5539 test -z "$ac_cxx_werror_flag" ||
5540 test ! -s conftest.err
5541 } && test -s conftest.$ac_objext; then
4806ac_cv_prog_cxx_g=no 5542 ac_cv_prog_cxx_g=yes
5543else
5544 echo "$as_me: failed program was:" >&5
5545sed 's/^/| /' conftest.$ac_ext >&5
5546
5547
4807fi 5548fi
5549
4808rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5550rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4809fi 5551fi
5552
5553rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5554fi
5555
5556rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5557 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5558fi
4810echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 5559{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4811echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 5560echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4812if test "$ac_test_CXXFLAGS" = set; then 5561if test "$ac_test_CXXFLAGS" = set; then
4813 CXXFLAGS=$ac_save_CXXFLAGS 5562 CXXFLAGS=$ac_save_CXXFLAGS
4814elif test $ac_cv_prog_cxx_g = yes; then 5563elif test $ac_cv_prog_cxx_g = yes; then
4815 if test "$GXX" = yes; then 5564 if test "$GXX" = yes; then
4816 CXXFLAGS="-g -O2" 5565 CXXFLAGS="-g -O2"
4822 CXXFLAGS="-O2" 5571 CXXFLAGS="-O2"
4823 else 5572 else
4824 CXXFLAGS= 5573 CXXFLAGS=
4825 fi 5574 fi
4826fi 5575fi
4827for ac_declaration in \
4828 '' \
4829 'extern "C" void std::exit (int) throw (); using std::exit;' \
4830 'extern "C" void std::exit (int); using std::exit;' \
4831 'extern "C" void exit (int) throw ();' \
4832 'extern "C" void exit (int);' \
4833 'void exit (int);'
4834do
4835 cat >conftest.$ac_ext <<_ACEOF
4836/* confdefs.h. */
4837_ACEOF
4838cat confdefs.h >>conftest.$ac_ext
4839cat >>conftest.$ac_ext <<_ACEOF
4840/* end confdefs.h. */
4841$ac_declaration
4842#include <stdlib.h>
4843int
4844main ()
4845{
4846exit (42);
4847 ;
4848 return 0;
4849}
4850_ACEOF
4851rm -f conftest.$ac_objext
4852if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4853 (eval $ac_compile) 2>conftest.er1
4854 ac_status=$?
4855 grep -v '^ *+' conftest.er1 >conftest.err
4856 rm -f conftest.er1
4857 cat conftest.err >&5
4858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859 (exit $ac_status); } &&
4860 { ac_try='test -z "$ac_cxx_werror_flag"
4861 || test ! -s conftest.err'
4862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4863 (eval $ac_try) 2>&5
4864 ac_status=$?
4865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4866 (exit $ac_status); }; } &&
4867 { ac_try='test -s conftest.$ac_objext'
4868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4869 (eval $ac_try) 2>&5
4870 ac_status=$?
4871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4872 (exit $ac_status); }; }; then
4873 :
4874else
4875 echo "$as_me: failed program was:" >&5
4876sed 's/^/| /' conftest.$ac_ext >&5
4877
4878continue
4879fi
4880rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4881 cat >conftest.$ac_ext <<_ACEOF
4882/* confdefs.h. */
4883_ACEOF
4884cat confdefs.h >>conftest.$ac_ext
4885cat >>conftest.$ac_ext <<_ACEOF
4886/* end confdefs.h. */
4887$ac_declaration
4888int
4889main ()
4890{
4891exit (42);
4892 ;
4893 return 0;
4894}
4895_ACEOF
4896rm -f conftest.$ac_objext
4897if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4898 (eval $ac_compile) 2>conftest.er1
4899 ac_status=$?
4900 grep -v '^ *+' conftest.er1 >conftest.err
4901 rm -f conftest.er1
4902 cat conftest.err >&5
4903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4904 (exit $ac_status); } &&
4905 { ac_try='test -z "$ac_cxx_werror_flag"
4906 || test ! -s conftest.err'
4907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4908 (eval $ac_try) 2>&5
4909 ac_status=$?
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); }; } &&
4912 { ac_try='test -s conftest.$ac_objext'
4913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4914 (eval $ac_try) 2>&5
4915 ac_status=$?
4916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4917 (exit $ac_status); }; }; then
4918 break
4919else
4920 echo "$as_me: failed program was:" >&5
4921sed 's/^/| /' conftest.$ac_ext >&5
4922
4923fi
4924rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4925done
4926rm -f conftest*
4927if test -n "$ac_declaration"; then
4928 echo '#ifdef __cplusplus' >>confdefs.h
4929 echo $ac_declaration >>confdefs.h
4930 echo '#endif' >>confdefs.h
4931fi
4932
4933ac_ext=cc 5576ac_ext=cpp
4934ac_cpp='$CXXCPP $CPPFLAGS' 5577ac_cpp='$CXXCPP $CPPFLAGS'
4935ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5578ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4936ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5579ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4937ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5580ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4938 5581
4939depcc="$CXX" am_compiler_list= 5582depcc="$CXX" am_compiler_list=
4940 5583
4941echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 5584{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4942echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 5585echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4943if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then 5586if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4944 echo $ECHO_N "(cached) $ECHO_C" >&6 5587 echo $ECHO_N "(cached) $ECHO_C" >&6
4945else 5588else
4946 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5589 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4947 # We make a subdir and do the tests there. Otherwise we can end up 5590 # We make a subdir and do the tests there. Otherwise we can end up
4998else 5641else
4999 am_cv_CXX_dependencies_compiler_type=none 5642 am_cv_CXX_dependencies_compiler_type=none
5000fi 5643fi
5001 5644
5002fi 5645fi
5003echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 5646{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5004echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 5647echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5005CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 5648CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5006 5649
5007 5650
5008ac_ext=cc 5651ac_ext=cpp
5009ac_cpp='$CXXCPP $CPPFLAGS' 5652ac_cpp='$CXXCPP $CPPFLAGS'
5010ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5653ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5011ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5654ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5012ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5655ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5013echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 5656{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5014echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 5657echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5015if test -z "$CXXCPP"; then 5658if test -z "$CXXCPP"; then
5016 if test "${ac_cv_prog_CXXCPP+set}" = set; then 5659 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5017 echo $ECHO_N "(cached) $ECHO_C" >&6 5660 echo $ECHO_N "(cached) $ECHO_C" >&6
5018else 5661else
5019 # Double quotes because CXXCPP needs to be expanded 5662 # Double quotes because CXXCPP needs to be expanded
5039#else 5682#else
5040# include <assert.h> 5683# include <assert.h>
5041#endif 5684#endif
5042 Syntax error 5685 Syntax error
5043_ACEOF 5686_ACEOF
5044if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5687if { (ac_try="$ac_cpp conftest.$ac_ext"
5688case "(($ac_try" in
5689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5690 *) ac_try_echo=$ac_try;;
5691esac
5692eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5045 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5693 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5046 ac_status=$? 5694 ac_status=$?
5047 grep -v '^ *+' conftest.er1 >conftest.err 5695 grep -v '^ *+' conftest.er1 >conftest.err
5048 rm -f conftest.er1 5696 rm -f conftest.er1
5049 cat conftest.err >&5 5697 cat conftest.err >&5
5050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5051 (exit $ac_status); } >/dev/null; then 5699 (exit $ac_status); } >/dev/null && {
5700 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5052 if test -s conftest.err; then 5701 test ! -s conftest.err
5053 ac_cpp_err=$ac_cxx_preproc_warn_flag 5702 }; then
5054 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5055 else
5056 ac_cpp_err=
5057 fi
5058else
5059 ac_cpp_err=yes
5060fi
5061if test -z "$ac_cpp_err"; then
5062 : 5703 :
5063else 5704else
5064 echo "$as_me: failed program was:" >&5 5705 echo "$as_me: failed program was:" >&5
5065sed 's/^/| /' conftest.$ac_ext >&5 5706sed 's/^/| /' conftest.$ac_ext >&5
5066 5707
5067 # Broken: fails on valid input. 5708 # Broken: fails on valid input.
5068continue 5709continue
5069fi 5710fi
5711
5070rm -f conftest.err conftest.$ac_ext 5712rm -f conftest.err conftest.$ac_ext
5071 5713
5072 # OK, works on sane cases. Now check whether non-existent headers 5714 # OK, works on sane cases. Now check whether nonexistent headers
5073 # can be detected and how. 5715 # can be detected and how.
5074 cat >conftest.$ac_ext <<_ACEOF 5716 cat >conftest.$ac_ext <<_ACEOF
5075/* confdefs.h. */ 5717/* confdefs.h. */
5076_ACEOF 5718_ACEOF
5077cat confdefs.h >>conftest.$ac_ext 5719cat confdefs.h >>conftest.$ac_ext
5078cat >>conftest.$ac_ext <<_ACEOF 5720cat >>conftest.$ac_ext <<_ACEOF
5079/* end confdefs.h. */ 5721/* end confdefs.h. */
5080#include <ac_nonexistent.h> 5722#include <ac_nonexistent.h>
5081_ACEOF 5723_ACEOF
5082if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5724if { (ac_try="$ac_cpp conftest.$ac_ext"
5725case "(($ac_try" in
5726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5727 *) ac_try_echo=$ac_try;;
5728esac
5729eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5083 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5730 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5084 ac_status=$? 5731 ac_status=$?
5085 grep -v '^ *+' conftest.er1 >conftest.err 5732 grep -v '^ *+' conftest.er1 >conftest.err
5086 rm -f conftest.er1 5733 rm -f conftest.er1
5087 cat conftest.err >&5 5734 cat conftest.err >&5
5088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5089 (exit $ac_status); } >/dev/null; then 5736 (exit $ac_status); } >/dev/null && {
5737 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5090 if test -s conftest.err; then 5738 test ! -s conftest.err
5091 ac_cpp_err=$ac_cxx_preproc_warn_flag 5739 }; then
5092 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5093 else
5094 ac_cpp_err=
5095 fi
5096else
5097 ac_cpp_err=yes
5098fi
5099if test -z "$ac_cpp_err"; then
5100 # Broken: success on invalid input. 5740 # Broken: success on invalid input.
5101continue 5741continue
5102else 5742else
5103 echo "$as_me: failed program was:" >&5 5743 echo "$as_me: failed program was:" >&5
5104sed 's/^/| /' conftest.$ac_ext >&5 5744sed 's/^/| /' conftest.$ac_ext >&5
5105 5745
5106 # Passes both tests. 5746 # Passes both tests.
5107ac_preproc_ok=: 5747ac_preproc_ok=:
5108break 5748break
5109fi 5749fi
5750
5110rm -f conftest.err conftest.$ac_ext 5751rm -f conftest.err conftest.$ac_ext
5111 5752
5112done 5753done
5113# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5754# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5114rm -f conftest.err conftest.$ac_ext 5755rm -f conftest.err conftest.$ac_ext
5122fi 5763fi
5123 CXXCPP=$ac_cv_prog_CXXCPP 5764 CXXCPP=$ac_cv_prog_CXXCPP
5124else 5765else
5125 ac_cv_prog_CXXCPP=$CXXCPP 5766 ac_cv_prog_CXXCPP=$CXXCPP
5126fi 5767fi
5127echo "$as_me:$LINENO: result: $CXXCPP" >&5 5768{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
5128echo "${ECHO_T}$CXXCPP" >&6 5769echo "${ECHO_T}$CXXCPP" >&6; }
5129ac_preproc_ok=false 5770ac_preproc_ok=false
5130for ac_cxx_preproc_warn_flag in '' yes 5771for ac_cxx_preproc_warn_flag in '' yes
5131do 5772do
5132 # Use a header file that comes with gcc, so configuring glibc 5773 # Use a header file that comes with gcc, so configuring glibc
5133 # with a fresh cross-compiler works. 5774 # with a fresh cross-compiler works.
5146#else 5787#else
5147# include <assert.h> 5788# include <assert.h>
5148#endif 5789#endif
5149 Syntax error 5790 Syntax error
5150_ACEOF 5791_ACEOF
5151if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5792if { (ac_try="$ac_cpp conftest.$ac_ext"
5793case "(($ac_try" in
5794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5795 *) ac_try_echo=$ac_try;;
5796esac
5797eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5152 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5798 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5153 ac_status=$? 5799 ac_status=$?
5154 grep -v '^ *+' conftest.er1 >conftest.err 5800 grep -v '^ *+' conftest.er1 >conftest.err
5155 rm -f conftest.er1 5801 rm -f conftest.er1
5156 cat conftest.err >&5 5802 cat conftest.err >&5
5157 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5158 (exit $ac_status); } >/dev/null; then 5804 (exit $ac_status); } >/dev/null && {
5805 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5159 if test -s conftest.err; then 5806 test ! -s conftest.err
5160 ac_cpp_err=$ac_cxx_preproc_warn_flag 5807 }; then
5161 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5162 else
5163 ac_cpp_err=
5164 fi
5165else
5166 ac_cpp_err=yes
5167fi
5168if test -z "$ac_cpp_err"; then
5169 : 5808 :
5170else 5809else
5171 echo "$as_me: failed program was:" >&5 5810 echo "$as_me: failed program was:" >&5
5172sed 's/^/| /' conftest.$ac_ext >&5 5811sed 's/^/| /' conftest.$ac_ext >&5
5173 5812
5174 # Broken: fails on valid input. 5813 # Broken: fails on valid input.
5175continue 5814continue
5176fi 5815fi
5816
5177rm -f conftest.err conftest.$ac_ext 5817rm -f conftest.err conftest.$ac_ext
5178 5818
5179 # OK, works on sane cases. Now check whether non-existent headers 5819 # OK, works on sane cases. Now check whether nonexistent headers
5180 # can be detected and how. 5820 # can be detected and how.
5181 cat >conftest.$ac_ext <<_ACEOF 5821 cat >conftest.$ac_ext <<_ACEOF
5182/* confdefs.h. */ 5822/* confdefs.h. */
5183_ACEOF 5823_ACEOF
5184cat confdefs.h >>conftest.$ac_ext 5824cat confdefs.h >>conftest.$ac_ext
5185cat >>conftest.$ac_ext <<_ACEOF 5825cat >>conftest.$ac_ext <<_ACEOF
5186/* end confdefs.h. */ 5826/* end confdefs.h. */
5187#include <ac_nonexistent.h> 5827#include <ac_nonexistent.h>
5188_ACEOF 5828_ACEOF
5189if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5829if { (ac_try="$ac_cpp conftest.$ac_ext"
5830case "(($ac_try" in
5831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5832 *) ac_try_echo=$ac_try;;
5833esac
5834eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5190 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5835 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5191 ac_status=$? 5836 ac_status=$?
5192 grep -v '^ *+' conftest.er1 >conftest.err 5837 grep -v '^ *+' conftest.er1 >conftest.err
5193 rm -f conftest.er1 5838 rm -f conftest.er1
5194 cat conftest.err >&5 5839 cat conftest.err >&5
5195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5196 (exit $ac_status); } >/dev/null; then 5841 (exit $ac_status); } >/dev/null && {
5842 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5197 if test -s conftest.err; then 5843 test ! -s conftest.err
5198 ac_cpp_err=$ac_cxx_preproc_warn_flag 5844 }; then
5199 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5200 else
5201 ac_cpp_err=
5202 fi
5203else
5204 ac_cpp_err=yes
5205fi
5206if test -z "$ac_cpp_err"; then
5207 # Broken: success on invalid input. 5845 # Broken: success on invalid input.
5208continue 5846continue
5209else 5847else
5210 echo "$as_me: failed program was:" >&5 5848 echo "$as_me: failed program was:" >&5
5211sed 's/^/| /' conftest.$ac_ext >&5 5849sed 's/^/| /' conftest.$ac_ext >&5
5212 5850
5213 # Passes both tests. 5851 # Passes both tests.
5214ac_preproc_ok=: 5852ac_preproc_ok=:
5215break 5853break
5216fi 5854fi
5855
5217rm -f conftest.err conftest.$ac_ext 5856rm -f conftest.err conftest.$ac_ext
5218 5857
5219done 5858done
5220# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5859# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5221rm -f conftest.err conftest.$ac_ext 5860rm -f conftest.err conftest.$ac_ext
5227echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 5866echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5228See \`config.log' for more details." >&2;} 5867See \`config.log' for more details." >&2;}
5229 { (exit 1); exit 1; }; } 5868 { (exit 1); exit 1; }; }
5230fi 5869fi
5231 5870
5232ac_ext=cc 5871ac_ext=cpp
5233ac_cpp='$CXXCPP $CPPFLAGS' 5872ac_cpp='$CXXCPP $CPPFLAGS'
5234ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5873ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5235ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5874ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5236ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5875ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5237 5876
5239ac_ext=f 5878ac_ext=f
5240ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 5879ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5241ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5880ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5242ac_compiler_gnu=$ac_cv_f77_compiler_gnu 5881ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5243if test -n "$ac_tool_prefix"; then 5882if test -n "$ac_tool_prefix"; then
5244 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran 5883 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
5245 do 5884 do
5246 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5885 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5247set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5886set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5248echo "$as_me:$LINENO: checking for $ac_word" >&5 5887{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5249echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5888echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5250if test "${ac_cv_prog_F77+set}" = set; then 5889if test "${ac_cv_prog_F77+set}" = set; then
5251 echo $ECHO_N "(cached) $ECHO_C" >&6 5890 echo $ECHO_N "(cached) $ECHO_C" >&6
5252else 5891else
5253 if test -n "$F77"; then 5892 if test -n "$F77"; then
5254 ac_cv_prog_F77="$F77" # Let the user override the test. 5893 ac_cv_prog_F77="$F77" # Let the user override the test.
5257for as_dir in $PATH 5896for as_dir in $PATH
5258do 5897do
5259 IFS=$as_save_IFS 5898 IFS=$as_save_IFS
5260 test -z "$as_dir" && as_dir=. 5899 test -z "$as_dir" && as_dir=.
5261 for ac_exec_ext in '' $ac_executable_extensions; do 5900 for ac_exec_ext in '' $ac_executable_extensions; do
5262 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5263 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 5902 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5265 break 2 5904 break 2
5266 fi 5905 fi
5267done 5906done
5268done 5907done
5908IFS=$as_save_IFS
5269 5909
5270fi 5910fi
5271fi 5911fi
5272F77=$ac_cv_prog_F77 5912F77=$ac_cv_prog_F77
5273if test -n "$F77"; then 5913if test -n "$F77"; then
5274 echo "$as_me:$LINENO: result: $F77" >&5 5914 { echo "$as_me:$LINENO: result: $F77" >&5
5275echo "${ECHO_T}$F77" >&6 5915echo "${ECHO_T}$F77" >&6; }
5276else 5916else
5277 echo "$as_me:$LINENO: result: no" >&5 5917 { echo "$as_me:$LINENO: result: no" >&5
5278echo "${ECHO_T}no" >&6 5918echo "${ECHO_T}no" >&6; }
5279fi 5919fi
5920
5280 5921
5281 test -n "$F77" && break 5922 test -n "$F77" && break
5282 done 5923 done
5283fi 5924fi
5284if test -z "$F77"; then 5925if test -z "$F77"; then
5285 ac_ct_F77=$F77 5926 ac_ct_F77=$F77
5286 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran 5927 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
5287do 5928do
5288 # Extract the first word of "$ac_prog", so it can be a program name with args. 5929 # Extract the first word of "$ac_prog", so it can be a program name with args.
5289set dummy $ac_prog; ac_word=$2 5930set dummy $ac_prog; ac_word=$2
5290echo "$as_me:$LINENO: checking for $ac_word" >&5 5931{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5291echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5932echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5292if test "${ac_cv_prog_ac_ct_F77+set}" = set; then 5933if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5293 echo $ECHO_N "(cached) $ECHO_C" >&6 5934 echo $ECHO_N "(cached) $ECHO_C" >&6
5294else 5935else
5295 if test -n "$ac_ct_F77"; then 5936 if test -n "$ac_ct_F77"; then
5296 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. 5937 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5299for as_dir in $PATH 5940for as_dir in $PATH
5300do 5941do
5301 IFS=$as_save_IFS 5942 IFS=$as_save_IFS
5302 test -z "$as_dir" && as_dir=. 5943 test -z "$as_dir" && as_dir=.
5303 for ac_exec_ext in '' $ac_executable_extensions; do 5944 for ac_exec_ext in '' $ac_executable_extensions; do
5304 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5305 ac_cv_prog_ac_ct_F77="$ac_prog" 5946 ac_cv_prog_ac_ct_F77="$ac_prog"
5306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5307 break 2 5948 break 2
5308 fi 5949 fi
5309done 5950done
5310done 5951done
5952IFS=$as_save_IFS
5311 5953
5312fi 5954fi
5313fi 5955fi
5314ac_ct_F77=$ac_cv_prog_ac_ct_F77 5956ac_ct_F77=$ac_cv_prog_ac_ct_F77
5315if test -n "$ac_ct_F77"; then 5957if test -n "$ac_ct_F77"; then
5316 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 5958 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5317echo "${ECHO_T}$ac_ct_F77" >&6 5959echo "${ECHO_T}$ac_ct_F77" >&6; }
5318else 5960else
5319 echo "$as_me:$LINENO: result: no" >&5 5961 { echo "$as_me:$LINENO: result: no" >&5
5320echo "${ECHO_T}no" >&6 5962echo "${ECHO_T}no" >&6; }
5321fi 5963fi
5964
5322 5965
5323 test -n "$ac_ct_F77" && break 5966 test -n "$ac_ct_F77" && break
5324done 5967done
5325 5968
5969 if test "x$ac_ct_F77" = x; then
5970 F77=""
5971 else
5972 case $cross_compiling:$ac_tool_warned in
5973yes:)
5974{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5975whose name does not start with the host triplet. If you think this
5976configuration is useful to you, please write to autoconf@gnu.org." >&5
5977echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5978whose name does not start with the host triplet. If you think this
5979configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5980ac_tool_warned=yes ;;
5981esac
5326 F77=$ac_ct_F77 5982 F77=$ac_ct_F77
5983 fi
5327fi 5984fi
5328 5985
5329 5986
5330# Provide some information about the compiler. 5987# Provide some information about the compiler.
5331echo "$as_me:5331:" \
5332 "checking for Fortran 77 compiler version" >&5 5988echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5333ac_compiler=`set X $ac_compile; echo $2` 5989ac_compiler=`set X $ac_compile; echo $2`
5334{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 5990{ (ac_try="$ac_compiler --version >&5"
5991case "(($ac_try" in
5992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5993 *) ac_try_echo=$ac_try;;
5994esac
5995eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5335 (eval $ac_compiler --version </dev/null >&5) 2>&5 5996 (eval "$ac_compiler --version >&5") 2>&5
5336 ac_status=$? 5997 ac_status=$?
5337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5338 (exit $ac_status); } 5999 (exit $ac_status); }
5339{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 6000{ (ac_try="$ac_compiler -v >&5"
6001case "(($ac_try" in
6002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6003 *) ac_try_echo=$ac_try;;
6004esac
6005eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5340 (eval $ac_compiler -v </dev/null >&5) 2>&5 6006 (eval "$ac_compiler -v >&5") 2>&5
5341 ac_status=$? 6007 ac_status=$?
5342 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343 (exit $ac_status); } 6009 (exit $ac_status); }
5344{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 6010{ (ac_try="$ac_compiler -V >&5"
6011case "(($ac_try" in
6012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6013 *) ac_try_echo=$ac_try;;
6014esac
6015eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5345 (eval $ac_compiler -V </dev/null >&5) 2>&5 6016 (eval "$ac_compiler -V >&5") 2>&5
5346 ac_status=$? 6017 ac_status=$?
5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5348 (exit $ac_status); } 6019 (exit $ac_status); }
5349rm -f a.out 6020rm -f a.out
5350 6021
5351# If we don't use `.F' as extension, the preprocessor is not run on the 6022# If we don't use `.F' as extension, the preprocessor is not run on the
5352# input file. (Note that this only needs to work for GNU compilers.) 6023# input file. (Note that this only needs to work for GNU compilers.)
5353ac_save_ext=$ac_ext 6024ac_save_ext=$ac_ext
5354ac_ext=F 6025ac_ext=F
5355echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 6026{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5356echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6 6027echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5357if test "${ac_cv_f77_compiler_gnu+set}" = set; then 6028if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5358 echo $ECHO_N "(cached) $ECHO_C" >&6 6029 echo $ECHO_N "(cached) $ECHO_C" >&6
5359else 6030else
5360 cat >conftest.$ac_ext <<_ACEOF 6031 cat >conftest.$ac_ext <<_ACEOF
5361 program main 6032 program main
5364#endif 6035#endif
5365 6036
5366 end 6037 end
5367_ACEOF 6038_ACEOF
5368rm -f conftest.$ac_objext 6039rm -f conftest.$ac_objext
6040if { (ac_try="$ac_compile"
6041case "(($ac_try" in
6042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6043 *) ac_try_echo=$ac_try;;
6044esac
5369if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6045eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5370 (eval $ac_compile) 2>conftest.er1 6046 (eval "$ac_compile") 2>conftest.er1
5371 ac_status=$? 6047 ac_status=$?
5372 grep -v '^ *+' conftest.er1 >conftest.err 6048 grep -v '^ *+' conftest.er1 >conftest.err
5373 rm -f conftest.er1 6049 rm -f conftest.er1
5374 cat conftest.err >&5 6050 cat conftest.err >&5
5375 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5376 (exit $ac_status); } && 6052 (exit $ac_status); } && {
5377 { ac_try='test -z "$ac_f77_werror_flag" 6053 test -z "$ac_f77_werror_flag" ||
5378 || test ! -s conftest.err' 6054 test ! -s conftest.err
5379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6055 } && test -s conftest.$ac_objext; then
5380 (eval $ac_try) 2>&5
5381 ac_status=$?
5382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5383 (exit $ac_status); }; } &&
5384 { ac_try='test -s conftest.$ac_objext'
5385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5386 (eval $ac_try) 2>&5
5387 ac_status=$?
5388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5389 (exit $ac_status); }; }; then
5390 ac_compiler_gnu=yes 6056 ac_compiler_gnu=yes
5391else 6057else
5392 echo "$as_me: failed program was:" >&5 6058 echo "$as_me: failed program was:" >&5
5393sed 's/^/| /' conftest.$ac_ext >&5 6059sed 's/^/| /' conftest.$ac_ext >&5
5394 6060
5395ac_compiler_gnu=no 6061 ac_compiler_gnu=no
5396fi 6062fi
6063
5397rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6064rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5398ac_cv_f77_compiler_gnu=$ac_compiler_gnu 6065ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5399 6066
5400fi 6067fi
5401echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 6068{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5402echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 6069echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
5403ac_ext=$ac_save_ext 6070ac_ext=$ac_save_ext
5404ac_test_FFLAGS=${FFLAGS+set} 6071ac_test_FFLAGS=${FFLAGS+set}
5405ac_save_FFLAGS=$FFLAGS 6072ac_save_FFLAGS=$FFLAGS
5406FFLAGS= 6073FFLAGS=
5407echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 6074{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5408echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6 6075echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
5409if test "${ac_cv_prog_f77_g+set}" = set; then 6076if test "${ac_cv_prog_f77_g+set}" = set; then
5410 echo $ECHO_N "(cached) $ECHO_C" >&6 6077 echo $ECHO_N "(cached) $ECHO_C" >&6
5411else 6078else
5412 FFLAGS=-g 6079 FFLAGS=-g
5413cat >conftest.$ac_ext <<_ACEOF 6080cat >conftest.$ac_ext <<_ACEOF
5414 program main 6081 program main
5415 6082
5416 end 6083 end
5417_ACEOF 6084_ACEOF
5418rm -f conftest.$ac_objext 6085rm -f conftest.$ac_objext
6086if { (ac_try="$ac_compile"
6087case "(($ac_try" in
6088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6089 *) ac_try_echo=$ac_try;;
6090esac
5419if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6091eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5420 (eval $ac_compile) 2>conftest.er1 6092 (eval "$ac_compile") 2>conftest.er1
5421 ac_status=$? 6093 ac_status=$?
5422 grep -v '^ *+' conftest.er1 >conftest.err 6094 grep -v '^ *+' conftest.er1 >conftest.err
5423 rm -f conftest.er1 6095 rm -f conftest.er1
5424 cat conftest.err >&5 6096 cat conftest.err >&5
5425 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5426 (exit $ac_status); } && 6098 (exit $ac_status); } && {
5427 { ac_try='test -z "$ac_f77_werror_flag" 6099 test -z "$ac_f77_werror_flag" ||
5428 || test ! -s conftest.err' 6100 test ! -s conftest.err
5429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6101 } && test -s conftest.$ac_objext; then
5430 (eval $ac_try) 2>&5
5431 ac_status=$?
5432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5433 (exit $ac_status); }; } &&
5434 { ac_try='test -s conftest.$ac_objext'
5435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5436 (eval $ac_try) 2>&5
5437 ac_status=$?
5438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439 (exit $ac_status); }; }; then
5440 ac_cv_prog_f77_g=yes 6102 ac_cv_prog_f77_g=yes
5441else 6103else
5442 echo "$as_me: failed program was:" >&5 6104 echo "$as_me: failed program was:" >&5
5443sed 's/^/| /' conftest.$ac_ext >&5 6105sed 's/^/| /' conftest.$ac_ext >&5
5444 6106
5445ac_cv_prog_f77_g=no 6107 ac_cv_prog_f77_g=no
5446fi 6108fi
6109
5447rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6110rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5448 6111
5449fi 6112fi
5450echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 6113{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5451echo "${ECHO_T}$ac_cv_prog_f77_g" >&6 6114echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
5452if test "$ac_test_FFLAGS" = set; then 6115if test "$ac_test_FFLAGS" = set; then
5453 FFLAGS=$ac_save_FFLAGS 6116 FFLAGS=$ac_save_FFLAGS
5454elif test $ac_cv_prog_f77_g = yes; then 6117elif test $ac_cv_prog_f77_g = yes; then
5455 if test "x$ac_cv_f77_compiler_gnu" = xyes; then 6118 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
5456 FFLAGS="-g -O2" 6119 FFLAGS="-g -O2"
5475 6138
5476 6139
5477# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! 6140# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5478 6141
5479# find the maximum length of command line arguments 6142# find the maximum length of command line arguments
5480echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 6143{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5481echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6 6144echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5482if test "${lt_cv_sys_max_cmd_len+set}" = set; then 6145if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5483 echo $ECHO_N "(cached) $ECHO_C" >&6 6146 echo $ECHO_N "(cached) $ECHO_C" >&6
5484else 6147else
5485 i=0 6148 i=0
5486 testring="ABCD" 6149 testring="ABCD"
5540 esac 6203 esac
5541 6204
5542fi 6205fi
5543 6206
5544if test -n $lt_cv_sys_max_cmd_len ; then 6207if test -n $lt_cv_sys_max_cmd_len ; then
5545 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 6208 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5546echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6 6209echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5547else 6210else
5548 echo "$as_me:$LINENO: result: none" >&5 6211 { echo "$as_me:$LINENO: result: none" >&5
5549echo "${ECHO_T}none" >&6 6212echo "${ECHO_T}none" >&6; }
5550fi 6213fi
5551 6214
5552 6215
5553 6216
5554 6217
5555# Check for command to grab the raw symbol name followed by C symbol from nm. 6218# Check for command to grab the raw symbol name followed by C symbol from nm.
5556echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 6219{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5557echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6 6220echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5558if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then 6221if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5559 echo $ECHO_N "(cached) $ECHO_C" >&6 6222 echo $ECHO_N "(cached) $ECHO_C" >&6
5560else 6223else
5561 6224
5562# These are sane defaults that work on at least a few old systems. 6225# These are sane defaults that work on at least a few old systems.
5740 6403
5741if test -z "$lt_cv_sys_global_symbol_pipe"; then 6404if test -z "$lt_cv_sys_global_symbol_pipe"; then
5742 lt_cv_sys_global_symbol_to_cdecl= 6405 lt_cv_sys_global_symbol_to_cdecl=
5743fi 6406fi
5744if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6407if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5745 echo "$as_me:$LINENO: result: failed" >&5 6408 { echo "$as_me:$LINENO: result: failed" >&5
5746echo "${ECHO_T}failed" >&6 6409echo "${ECHO_T}failed" >&6; }
5747else 6410else
5748 echo "$as_me:$LINENO: result: ok" >&5 6411 { echo "$as_me:$LINENO: result: ok" >&5
5749echo "${ECHO_T}ok" >&6 6412echo "${ECHO_T}ok" >&6; }
5750fi 6413fi
5751 6414
5752echo "$as_me:$LINENO: checking for objdir" >&5 6415{ echo "$as_me:$LINENO: checking for objdir" >&5
5753echo $ECHO_N "checking for objdir... $ECHO_C" >&6 6416echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
5754if test "${lt_cv_objdir+set}" = set; then 6417if test "${lt_cv_objdir+set}" = set; then
5755 echo $ECHO_N "(cached) $ECHO_C" >&6 6418 echo $ECHO_N "(cached) $ECHO_C" >&6
5756else 6419else
5757 rm -f .libs 2>/dev/null 6420 rm -f .libs 2>/dev/null
5758mkdir .libs 2>/dev/null 6421mkdir .libs 2>/dev/null
5762 # MS-DOS does not allow filenames that begin with a dot. 6425 # MS-DOS does not allow filenames that begin with a dot.
5763 lt_cv_objdir=_libs 6426 lt_cv_objdir=_libs
5764fi 6427fi
5765rmdir .libs 2>/dev/null 6428rmdir .libs 2>/dev/null
5766fi 6429fi
5767echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 6430{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5768echo "${ECHO_T}$lt_cv_objdir" >&6 6431echo "${ECHO_T}$lt_cv_objdir" >&6; }
5769objdir=$lt_cv_objdir 6432objdir=$lt_cv_objdir
5770 6433
5771 6434
5772 6435
5773 6436
5814with_gnu_ld="$lt_cv_prog_gnu_ld" 6477with_gnu_ld="$lt_cv_prog_gnu_ld"
5815 6478
5816if test -n "$ac_tool_prefix"; then 6479if test -n "$ac_tool_prefix"; then
5817 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 6480 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5818set dummy ${ac_tool_prefix}ar; ac_word=$2 6481set dummy ${ac_tool_prefix}ar; ac_word=$2
5819echo "$as_me:$LINENO: checking for $ac_word" >&5 6482{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5820echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 6483echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5821if test "${ac_cv_prog_AR+set}" = set; then 6484if test "${ac_cv_prog_AR+set}" = set; then
5822 echo $ECHO_N "(cached) $ECHO_C" >&6 6485 echo $ECHO_N "(cached) $ECHO_C" >&6
5823else 6486else
5824 if test -n "$AR"; then 6487 if test -n "$AR"; then
5825 ac_cv_prog_AR="$AR" # Let the user override the test. 6488 ac_cv_prog_AR="$AR" # Let the user override the test.
5828for as_dir in $PATH 6491for as_dir in $PATH
5829do 6492do
5830 IFS=$as_save_IFS 6493 IFS=$as_save_IFS
5831 test -z "$as_dir" && as_dir=. 6494 test -z "$as_dir" && as_dir=.
5832 for ac_exec_ext in '' $ac_executable_extensions; do 6495 for ac_exec_ext in '' $ac_executable_extensions; do
5833 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5834 ac_cv_prog_AR="${ac_tool_prefix}ar" 6497 ac_cv_prog_AR="${ac_tool_prefix}ar"
5835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5836 break 2 6499 break 2
5837 fi 6500 fi
5838done 6501done
5839done 6502done
6503IFS=$as_save_IFS
5840 6504
5841fi 6505fi
5842fi 6506fi
5843AR=$ac_cv_prog_AR 6507AR=$ac_cv_prog_AR
5844if test -n "$AR"; then 6508if test -n "$AR"; then
5845 echo "$as_me:$LINENO: result: $AR" >&5 6509 { echo "$as_me:$LINENO: result: $AR" >&5
5846echo "${ECHO_T}$AR" >&6 6510echo "${ECHO_T}$AR" >&6; }
5847else 6511else
5848 echo "$as_me:$LINENO: result: no" >&5 6512 { echo "$as_me:$LINENO: result: no" >&5
5849echo "${ECHO_T}no" >&6 6513echo "${ECHO_T}no" >&6; }
5850fi 6514fi
6515
5851 6516
5852fi 6517fi
5853if test -z "$ac_cv_prog_AR"; then 6518if test -z "$ac_cv_prog_AR"; then
5854 ac_ct_AR=$AR 6519 ac_ct_AR=$AR
5855 # Extract the first word of "ar", so it can be a program name with args. 6520 # Extract the first word of "ar", so it can be a program name with args.
5856set dummy ar; ac_word=$2 6521set dummy ar; ac_word=$2
5857echo "$as_me:$LINENO: checking for $ac_word" >&5 6522{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5858echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 6523echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5859if test "${ac_cv_prog_ac_ct_AR+set}" = set; then 6524if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5860 echo $ECHO_N "(cached) $ECHO_C" >&6 6525 echo $ECHO_N "(cached) $ECHO_C" >&6
5861else 6526else
5862 if test -n "$ac_ct_AR"; then 6527 if test -n "$ac_ct_AR"; then
5863 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6528 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5866for as_dir in $PATH 6531for as_dir in $PATH
5867do 6532do
5868 IFS=$as_save_IFS 6533 IFS=$as_save_IFS
5869 test -z "$as_dir" && as_dir=. 6534 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do 6535 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5872 ac_cv_prog_ac_ct_AR="ar" 6537 ac_cv_prog_ac_ct_AR="ar"
5873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5874 break 2 6539 break 2
5875 fi 6540 fi
5876done 6541done
5877done 6542done
6543IFS=$as_save_IFS
5878 6544
5879 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5880fi 6545fi
5881fi 6546fi
5882ac_ct_AR=$ac_cv_prog_ac_ct_AR 6547ac_ct_AR=$ac_cv_prog_ac_ct_AR
5883if test -n "$ac_ct_AR"; then 6548if test -n "$ac_ct_AR"; then
5884 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 6549 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5885echo "${ECHO_T}$ac_ct_AR" >&6 6550echo "${ECHO_T}$ac_ct_AR" >&6; }
5886else 6551else
5887 echo "$as_me:$LINENO: result: no" >&5 6552 { echo "$as_me:$LINENO: result: no" >&5
5888echo "${ECHO_T}no" >&6 6553echo "${ECHO_T}no" >&6; }
5889fi 6554fi
5890 6555
6556 if test "x$ac_ct_AR" = x; then
6557 AR="false"
6558 else
6559 case $cross_compiling:$ac_tool_warned in
6560yes:)
6561{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6562whose name does not start with the host triplet. If you think this
6563configuration is useful to you, please write to autoconf@gnu.org." >&5
6564echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6565whose name does not start with the host triplet. If you think this
6566configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6567ac_tool_warned=yes ;;
6568esac
5891 AR=$ac_ct_AR 6569 AR=$ac_ct_AR
6570 fi
5892else 6571else
5893 AR="$ac_cv_prog_AR" 6572 AR="$ac_cv_prog_AR"
5894fi 6573fi
5895 6574
5896if test -n "$ac_tool_prefix"; then 6575if test -n "$ac_tool_prefix"; then
5897 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6576 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5898set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6577set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5899echo "$as_me:$LINENO: checking for $ac_word" >&5 6578{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5900echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 6579echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5901if test "${ac_cv_prog_RANLIB+set}" = set; then 6580if test "${ac_cv_prog_RANLIB+set}" = set; then
5902 echo $ECHO_N "(cached) $ECHO_C" >&6 6581 echo $ECHO_N "(cached) $ECHO_C" >&6
5903else 6582else
5904 if test -n "$RANLIB"; then 6583 if test -n "$RANLIB"; then
5905 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6584 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5908for as_dir in $PATH 6587for as_dir in $PATH
5909do 6588do
5910 IFS=$as_save_IFS 6589 IFS=$as_save_IFS
5911 test -z "$as_dir" && as_dir=. 6590 test -z "$as_dir" && as_dir=.
5912 for ac_exec_ext in '' $ac_executable_extensions; do 6591 for ac_exec_ext in '' $ac_executable_extensions; do
5913 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5914 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6593 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5916 break 2 6595 break 2
5917 fi 6596 fi
5918done 6597done
5919done 6598done
6599IFS=$as_save_IFS
5920 6600
5921fi 6601fi
5922fi 6602fi
5923RANLIB=$ac_cv_prog_RANLIB 6603RANLIB=$ac_cv_prog_RANLIB
5924if test -n "$RANLIB"; then 6604if test -n "$RANLIB"; then
5925 echo "$as_me:$LINENO: result: $RANLIB" >&5 6605 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5926echo "${ECHO_T}$RANLIB" >&6 6606echo "${ECHO_T}$RANLIB" >&6; }
5927else 6607else
5928 echo "$as_me:$LINENO: result: no" >&5 6608 { echo "$as_me:$LINENO: result: no" >&5
5929echo "${ECHO_T}no" >&6 6609echo "${ECHO_T}no" >&6; }
5930fi 6610fi
6611
5931 6612
5932fi 6613fi
5933if test -z "$ac_cv_prog_RANLIB"; then 6614if test -z "$ac_cv_prog_RANLIB"; then
5934 ac_ct_RANLIB=$RANLIB 6615 ac_ct_RANLIB=$RANLIB
5935 # Extract the first word of "ranlib", so it can be a program name with args. 6616 # Extract the first word of "ranlib", so it can be a program name with args.
5936set dummy ranlib; ac_word=$2 6617set dummy ranlib; ac_word=$2
5937echo "$as_me:$LINENO: checking for $ac_word" >&5 6618{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5938echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 6619echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5939if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 6620if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5940 echo $ECHO_N "(cached) $ECHO_C" >&6 6621 echo $ECHO_N "(cached) $ECHO_C" >&6
5941else 6622else
5942 if test -n "$ac_ct_RANLIB"; then 6623 if test -n "$ac_ct_RANLIB"; then
5943 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6624 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5946for as_dir in $PATH 6627for as_dir in $PATH
5947do 6628do
5948 IFS=$as_save_IFS 6629 IFS=$as_save_IFS
5949 test -z "$as_dir" && as_dir=. 6630 test -z "$as_dir" && as_dir=.
5950 for ac_exec_ext in '' $ac_executable_extensions; do 6631 for ac_exec_ext in '' $ac_executable_extensions; do
5951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5952 ac_cv_prog_ac_ct_RANLIB="ranlib" 6633 ac_cv_prog_ac_ct_RANLIB="ranlib"
5953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5954 break 2 6635 break 2
5955 fi 6636 fi
5956done 6637done
5957done 6638done
6639IFS=$as_save_IFS
5958 6640
5959 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5960fi 6641fi
5961fi 6642fi
5962ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6643ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5963if test -n "$ac_ct_RANLIB"; then 6644if test -n "$ac_ct_RANLIB"; then
5964 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 6645 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5965echo "${ECHO_T}$ac_ct_RANLIB" >&6 6646echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5966else 6647else
5967 echo "$as_me:$LINENO: result: no" >&5 6648 { echo "$as_me:$LINENO: result: no" >&5
5968echo "${ECHO_T}no" >&6 6649echo "${ECHO_T}no" >&6; }
5969fi 6650fi
5970 6651
6652 if test "x$ac_ct_RANLIB" = x; then
6653 RANLIB=":"
6654 else
6655 case $cross_compiling:$ac_tool_warned in
6656yes:)
6657{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6658whose name does not start with the host triplet. If you think this
6659configuration is useful to you, please write to autoconf@gnu.org." >&5
6660echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6661whose name does not start with the host triplet. If you think this
6662configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6663ac_tool_warned=yes ;;
6664esac
5971 RANLIB=$ac_ct_RANLIB 6665 RANLIB=$ac_ct_RANLIB
6666 fi
5972else 6667else
5973 RANLIB="$ac_cv_prog_RANLIB" 6668 RANLIB="$ac_cv_prog_RANLIB"
5974fi 6669fi
5975 6670
5976if test -n "$ac_tool_prefix"; then 6671if test -n "$ac_tool_prefix"; then
5977 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6672 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5978set dummy ${ac_tool_prefix}strip; ac_word=$2 6673set dummy ${ac_tool_prefix}strip; ac_word=$2
5979echo "$as_me:$LINENO: checking for $ac_word" >&5 6674{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5980echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 6675echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5981if test "${ac_cv_prog_STRIP+set}" = set; then 6676if test "${ac_cv_prog_STRIP+set}" = set; then
5982 echo $ECHO_N "(cached) $ECHO_C" >&6 6677 echo $ECHO_N "(cached) $ECHO_C" >&6
5983else 6678else
5984 if test -n "$STRIP"; then 6679 if test -n "$STRIP"; then
5985 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6680 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5988for as_dir in $PATH 6683for as_dir in $PATH
5989do 6684do
5990 IFS=$as_save_IFS 6685 IFS=$as_save_IFS
5991 test -z "$as_dir" && as_dir=. 6686 test -z "$as_dir" && as_dir=.
5992 for ac_exec_ext in '' $ac_executable_extensions; do 6687 for ac_exec_ext in '' $ac_executable_extensions; do
5993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5994 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6689 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5996 break 2 6691 break 2
5997 fi 6692 fi
5998done 6693done
5999done 6694done
6695IFS=$as_save_IFS
6000 6696
6001fi 6697fi
6002fi 6698fi
6003STRIP=$ac_cv_prog_STRIP 6699STRIP=$ac_cv_prog_STRIP
6004if test -n "$STRIP"; then 6700if test -n "$STRIP"; then
6005 echo "$as_me:$LINENO: result: $STRIP" >&5 6701 { echo "$as_me:$LINENO: result: $STRIP" >&5
6006echo "${ECHO_T}$STRIP" >&6 6702echo "${ECHO_T}$STRIP" >&6; }
6007else 6703else
6008 echo "$as_me:$LINENO: result: no" >&5 6704 { echo "$as_me:$LINENO: result: no" >&5
6009echo "${ECHO_T}no" >&6 6705echo "${ECHO_T}no" >&6; }
6010fi 6706fi
6707
6011 6708
6012fi 6709fi
6013if test -z "$ac_cv_prog_STRIP"; then 6710if test -z "$ac_cv_prog_STRIP"; then
6014 ac_ct_STRIP=$STRIP 6711 ac_ct_STRIP=$STRIP
6015 # Extract the first word of "strip", so it can be a program name with args. 6712 # Extract the first word of "strip", so it can be a program name with args.
6016set dummy strip; ac_word=$2 6713set dummy strip; ac_word=$2
6017echo "$as_me:$LINENO: checking for $ac_word" >&5 6714{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6018echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 6715echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6019if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 6716if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6020 echo $ECHO_N "(cached) $ECHO_C" >&6 6717 echo $ECHO_N "(cached) $ECHO_C" >&6
6021else 6718else
6022 if test -n "$ac_ct_STRIP"; then 6719 if test -n "$ac_ct_STRIP"; then
6023 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6720 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6026for as_dir in $PATH 6723for as_dir in $PATH
6027do 6724do
6028 IFS=$as_save_IFS 6725 IFS=$as_save_IFS
6029 test -z "$as_dir" && as_dir=. 6726 test -z "$as_dir" && as_dir=.
6030 for ac_exec_ext in '' $ac_executable_extensions; do 6727 for ac_exec_ext in '' $ac_executable_extensions; do
6031 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6032 ac_cv_prog_ac_ct_STRIP="strip" 6729 ac_cv_prog_ac_ct_STRIP="strip"
6033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6034 break 2 6731 break 2
6035 fi 6732 fi
6036done 6733done
6037done 6734done
6735IFS=$as_save_IFS
6038 6736
6039 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6040fi 6737fi
6041fi 6738fi
6042ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6739ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6043if test -n "$ac_ct_STRIP"; then 6740if test -n "$ac_ct_STRIP"; then
6044 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 6741 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6045echo "${ECHO_T}$ac_ct_STRIP" >&6 6742echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6046else 6743else
6047 echo "$as_me:$LINENO: result: no" >&5 6744 { echo "$as_me:$LINENO: result: no" >&5
6048echo "${ECHO_T}no" >&6 6745echo "${ECHO_T}no" >&6; }
6049fi 6746fi
6050 6747
6748 if test "x$ac_ct_STRIP" = x; then
6749 STRIP=":"
6750 else
6751 case $cross_compiling:$ac_tool_warned in
6752yes:)
6753{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6754whose name does not start with the host triplet. If you think this
6755configuration is useful to you, please write to autoconf@gnu.org." >&5
6756echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6757whose name does not start with the host triplet. If you think this
6758configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6759ac_tool_warned=yes ;;
6760esac
6051 STRIP=$ac_ct_STRIP 6761 STRIP=$ac_ct_STRIP
6762 fi
6052else 6763else
6053 STRIP="$ac_cv_prog_STRIP" 6764 STRIP="$ac_cv_prog_STRIP"
6054fi 6765fi
6055 6766
6056 6767
6093 6804
6094# Only perform the check for file, if the check method requires it 6805# Only perform the check for file, if the check method requires it
6095case $deplibs_check_method in 6806case $deplibs_check_method in
6096file_magic*) 6807file_magic*)
6097 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 6808 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6098 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 6809 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6099echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 6810echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6100if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 6811if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6101 echo $ECHO_N "(cached) $ECHO_C" >&6 6812 echo $ECHO_N "(cached) $ECHO_C" >&6
6102else 6813else
6103 case $MAGIC_CMD in 6814 case $MAGIC_CMD in
6104[\\/*] | ?:[\\/]*) 6815[\\/*] | ?:[\\/]*)
6146esac 6857esac
6147fi 6858fi
6148 6859
6149MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 6860MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6150if test -n "$MAGIC_CMD"; then 6861if test -n "$MAGIC_CMD"; then
6151 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 6862 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6152echo "${ECHO_T}$MAGIC_CMD" >&6 6863echo "${ECHO_T}$MAGIC_CMD" >&6; }
6153else 6864else
6154 echo "$as_me:$LINENO: result: no" >&5 6865 { echo "$as_me:$LINENO: result: no" >&5
6155echo "${ECHO_T}no" >&6 6866echo "${ECHO_T}no" >&6; }
6156fi 6867fi
6157 6868
6158if test -z "$lt_cv_path_MAGIC_CMD"; then 6869if test -z "$lt_cv_path_MAGIC_CMD"; then
6159 if test -n "$ac_tool_prefix"; then 6870 if test -n "$ac_tool_prefix"; then
6160 echo "$as_me:$LINENO: checking for file" >&5 6871 { echo "$as_me:$LINENO: checking for file" >&5
6161echo $ECHO_N "checking for file... $ECHO_C" >&6 6872echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6162if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 6873if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6163 echo $ECHO_N "(cached) $ECHO_C" >&6 6874 echo $ECHO_N "(cached) $ECHO_C" >&6
6164else 6875else
6165 case $MAGIC_CMD in 6876 case $MAGIC_CMD in
6166[\\/*] | ?:[\\/]*) 6877[\\/*] | ?:[\\/]*)
6208esac 6919esac
6209fi 6920fi
6210 6921
6211MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 6922MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6212if test -n "$MAGIC_CMD"; then 6923if test -n "$MAGIC_CMD"; then
6213 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 6924 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6214echo "${ECHO_T}$MAGIC_CMD" >&6 6925echo "${ECHO_T}$MAGIC_CMD" >&6; }
6215else 6926else
6216 echo "$as_me:$LINENO: result: no" >&5 6927 { echo "$as_me:$LINENO: result: no" >&5
6217echo "${ECHO_T}no" >&6 6928echo "${ECHO_T}no" >&6; }
6218fi 6929fi
6219 6930
6220 else 6931 else
6221 MAGIC_CMD=: 6932 MAGIC_CMD=:
6222 fi 6933 fi
6227esac 6938esac
6228 6939
6229enable_dlopen=no 6940enable_dlopen=no
6230enable_win32_dll=no 6941enable_win32_dll=no
6231 6942
6232# Check whether --enable-libtool-lock or --disable-libtool-lock was given. 6943# Check whether --enable-libtool-lock was given.
6233if test "${enable_libtool_lock+set}" = set; then 6944if test "${enable_libtool_lock+set}" = set; then
6234 enableval="$enable_libtool_lock" 6945 enableval=$enable_libtool_lock;
6235
6236fi; 6946fi
6947
6237test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6948test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6238 6949
6239 6950
6240# Check whether --with-pic or --without-pic was given. 6951# Check whether --with-pic was given.
6241if test "${with_pic+set}" = set; then 6952if test "${with_pic+set}" = set; then
6242 withval="$with_pic" 6953 withval=$with_pic; pic_mode="$withval"
6243 pic_mode="$withval"
6244else 6954else
6245 pic_mode=default 6955 pic_mode=default
6246fi; 6956fi
6957
6247test -z "$pic_mode" && pic_mode=default 6958test -z "$pic_mode" && pic_mode=default
6248 6959
6249# Use C for the default configuration in the libtool script 6960# Use C for the default configuration in the libtool script
6250tagname= 6961tagname=
6251lt_save_CC="$CC" 6962lt_save_CC="$CC"
6301 7012
6302 7013
6303# 7014#
6304# Check to make sure the static flag actually works. 7015# Check to make sure the static flag actually works.
6305# 7016#
6306echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5 7017{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6307echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6 7018echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; }
6308if test "${lt_prog_compiler_static_works+set}" = set; then 7019if test "${lt_prog_compiler_static_works+set}" = set; then
6309 echo $ECHO_N "(cached) $ECHO_C" >&6 7020 echo $ECHO_N "(cached) $ECHO_C" >&6
6310else 7021else
6311 lt_prog_compiler_static_works=no 7022 lt_prog_compiler_static_works=no
6312 save_LDFLAGS="$LDFLAGS" 7023 save_LDFLAGS="$LDFLAGS"
6324 fi 7035 fi
6325 $rm conftest* 7036 $rm conftest*
6326 LDFLAGS="$save_LDFLAGS" 7037 LDFLAGS="$save_LDFLAGS"
6327 7038
6328fi 7039fi
6329echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 7040{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6330echo "${ECHO_T}$lt_prog_compiler_static_works" >&6 7041echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
6331 7042
6332if test x"$lt_prog_compiler_static_works" = xyes; then 7043if test x"$lt_prog_compiler_static_works" = xyes; then
6333 : 7044 :
6334else 7045else
6335 lt_prog_compiler_static= 7046 lt_prog_compiler_static=
6342 7053
6343if test "$GCC" = yes; then 7054if test "$GCC" = yes; then
6344 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 7055 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6345 7056
6346 7057
6347echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7058{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6348echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 7059echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6349if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then 7060if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6350 echo $ECHO_N "(cached) $ECHO_C" >&6 7061 echo $ECHO_N "(cached) $ECHO_C" >&6
6351else 7062else
6352 lt_cv_prog_compiler_rtti_exceptions=no 7063 lt_cv_prog_compiler_rtti_exceptions=no
6353 ac_outfile=conftest.$ac_objext 7064 ac_outfile=conftest.$ac_objext
6360 # The option is referenced via a variable to avoid confusing sed. 7071 # The option is referenced via a variable to avoid confusing sed.
6361 lt_compile=`echo "$ac_compile" | $SED \ 7072 lt_compile=`echo "$ac_compile" | $SED \
6362 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 7073 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6363 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7074 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6364 -e 's:$: $lt_compiler_flag:'` 7075 -e 's:$: $lt_compiler_flag:'`
6365 (eval echo "\"\$as_me:6365: $lt_compile\"" >&5) 7076 (eval echo "\"\$as_me:7076: $lt_compile\"" >&5)
6366 (eval "$lt_compile" 2>conftest.err) 7077 (eval "$lt_compile" 2>conftest.err)
6367 ac_status=$? 7078 ac_status=$?
6368 cat conftest.err >&5 7079 cat conftest.err >&5
6369 echo "$as_me:6369: \$? = $ac_status" >&5 7080 echo "$as_me:7080: \$? = $ac_status" >&5
6370 if (exit $ac_status) && test -s "$ac_outfile"; then 7081 if (exit $ac_status) && test -s "$ac_outfile"; then
6371 # The compiler can only warn and ignore the option if not recognized 7082 # The compiler can only warn and ignore the option if not recognized
6372 # So say no if there are warnings 7083 # So say no if there are warnings
6373 if test ! -s conftest.err; then 7084 if test ! -s conftest.err; then
6374 lt_cv_prog_compiler_rtti_exceptions=yes 7085 lt_cv_prog_compiler_rtti_exceptions=yes
6375 fi 7086 fi
6376 fi 7087 fi
6377 $rm conftest* 7088 $rm conftest*
6378 7089
6379fi 7090fi
6380echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 7091{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6381echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 7092echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6382 7093
6383if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 7094if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6384 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 7095 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6385else 7096else
6386 : 7097 :
6390 7101
6391lt_prog_compiler_wl= 7102lt_prog_compiler_wl=
6392lt_prog_compiler_pic= 7103lt_prog_compiler_pic=
6393lt_prog_compiler_static= 7104lt_prog_compiler_static=
6394 7105
6395echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 7106{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6396echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 7107echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6397 7108
6398 if test "$GCC" = yes; then 7109 if test "$GCC" = yes; then
6399 lt_prog_compiler_wl='-Wl,' 7110 lt_prog_compiler_wl='-Wl,'
6400 lt_prog_compiler_static='-static' 7111 lt_prog_compiler_static='-static'
6401 7112
6567 lt_prog_compiler_can_build_shared=no 7278 lt_prog_compiler_can_build_shared=no
6568 ;; 7279 ;;
6569 esac 7280 esac
6570 fi 7281 fi
6571 7282
6572echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 7283{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6573echo "${ECHO_T}$lt_prog_compiler_pic" >&6 7284echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
6574 7285
6575# 7286#
6576# Check to make sure the PIC flag actually works. 7287# Check to make sure the PIC flag actually works.
6577# 7288#
6578if test -n "$lt_prog_compiler_pic"; then 7289if test -n "$lt_prog_compiler_pic"; then
6579 7290
6580echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 7291{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6581echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 7292echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
6582if test "${lt_prog_compiler_pic_works+set}" = set; then 7293if test "${lt_prog_compiler_pic_works+set}" = set; then
6583 echo $ECHO_N "(cached) $ECHO_C" >&6 7294 echo $ECHO_N "(cached) $ECHO_C" >&6
6584else 7295else
6585 lt_prog_compiler_pic_works=no 7296 lt_prog_compiler_pic_works=no
6586 ac_outfile=conftest.$ac_objext 7297 ac_outfile=conftest.$ac_objext
6593 # The option is referenced via a variable to avoid confusing sed. 7304 # The option is referenced via a variable to avoid confusing sed.
6594 lt_compile=`echo "$ac_compile" | $SED \ 7305 lt_compile=`echo "$ac_compile" | $SED \
6595 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 7306 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6596 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7307 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6597 -e 's:$: $lt_compiler_flag:'` 7308 -e 's:$: $lt_compiler_flag:'`
6598 (eval echo "\"\$as_me:6598: $lt_compile\"" >&5) 7309 (eval echo "\"\$as_me:7309: $lt_compile\"" >&5)
6599 (eval "$lt_compile" 2>conftest.err) 7310 (eval "$lt_compile" 2>conftest.err)
6600 ac_status=$? 7311 ac_status=$?
6601 cat conftest.err >&5 7312 cat conftest.err >&5
6602 echo "$as_me:6602: \$? = $ac_status" >&5 7313 echo "$as_me:7313: \$? = $ac_status" >&5
6603 if (exit $ac_status) && test -s "$ac_outfile"; then 7314 if (exit $ac_status) && test -s "$ac_outfile"; then
6604 # The compiler can only warn and ignore the option if not recognized 7315 # The compiler can only warn and ignore the option if not recognized
6605 # So say no if there are warnings 7316 # So say no if there are warnings
6606 if test ! -s conftest.err; then 7317 if test ! -s conftest.err; then
6607 lt_prog_compiler_pic_works=yes 7318 lt_prog_compiler_pic_works=yes
6608 fi 7319 fi
6609 fi 7320 fi
6610 $rm conftest* 7321 $rm conftest*
6611 7322
6612fi 7323fi
6613echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 7324{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6614echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6 7325echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
6615 7326
6616if test x"$lt_prog_compiler_pic_works" = xyes; then 7327if test x"$lt_prog_compiler_pic_works" = xyes; then
6617 case $lt_prog_compiler_pic in 7328 case $lt_prog_compiler_pic in
6618 "" | " "*) ;; 7329 "" | " "*) ;;
6619 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 7330 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6632 *) 7343 *)
6633 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 7344 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6634 ;; 7345 ;;
6635esac 7346esac
6636 7347
6637echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 7348{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6638echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 7349echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
6639if test "${lt_cv_prog_compiler_c_o+set}" = set; then 7350if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6640 echo $ECHO_N "(cached) $ECHO_C" >&6 7351 echo $ECHO_N "(cached) $ECHO_C" >&6
6641else 7352else
6642 lt_cv_prog_compiler_c_o=no 7353 lt_cv_prog_compiler_c_o=no
6643 $rm -r conftest 2>/dev/null 7354 $rm -r conftest 2>/dev/null
6653 # with a dollar sign (not a hyphen), so the echo should work correctly. 7364 # with a dollar sign (not a hyphen), so the echo should work correctly.
6654 lt_compile=`echo "$ac_compile" | $SED \ 7365 lt_compile=`echo "$ac_compile" | $SED \
6655 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 7366 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6656 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7367 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6657 -e 's:$: $lt_compiler_flag:'` 7368 -e 's:$: $lt_compiler_flag:'`
6658 (eval echo "\"\$as_me:6658: $lt_compile\"" >&5) 7369 (eval echo "\"\$as_me:7369: $lt_compile\"" >&5)
6659 (eval "$lt_compile" 2>out/conftest.err) 7370 (eval "$lt_compile" 2>out/conftest.err)
6660 ac_status=$? 7371 ac_status=$?
6661 cat out/conftest.err >&5 7372 cat out/conftest.err >&5
6662 echo "$as_me:6662: \$? = $ac_status" >&5 7373 echo "$as_me:7373: \$? = $ac_status" >&5
6663 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7374 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6664 then 7375 then
6665 # The compiler can only warn and ignore the option if not recognized 7376 # The compiler can only warn and ignore the option if not recognized
6666 # So say no if there are warnings 7377 # So say no if there are warnings
6667 if test ! -s out/conftest.err; then 7378 if test ! -s out/conftest.err; then
6677 cd .. 7388 cd ..
6678 rmdir conftest 7389 rmdir conftest
6679 $rm conftest* 7390 $rm conftest*
6680 7391
6681fi 7392fi
6682echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 7393{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6683echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6 7394echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
6684 7395
6685 7396
6686hard_links="nottested" 7397hard_links="nottested"
6687if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 7398if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6688 # do not overwrite the value of need_locks provided by the user 7399 # do not overwrite the value of need_locks provided by the user
6689 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 7400 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6690echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 7401echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
6691 hard_links=yes 7402 hard_links=yes
6692 $rm conftest* 7403 $rm conftest*
6693 ln conftest.a conftest.b 2>/dev/null && hard_links=no 7404 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6694 touch conftest.a 7405 touch conftest.a
6695 ln conftest.a conftest.b 2>&5 || hard_links=no 7406 ln conftest.a conftest.b 2>&5 || hard_links=no
6696 ln conftest.a conftest.b 2>/dev/null && hard_links=no 7407 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6697 echo "$as_me:$LINENO: result: $hard_links" >&5 7408 { echo "$as_me:$LINENO: result: $hard_links" >&5
6698echo "${ECHO_T}$hard_links" >&6 7409echo "${ECHO_T}$hard_links" >&6; }
6699 if test "$hard_links" = no; then 7410 if test "$hard_links" = no; then
6700 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 7411 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6701echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 7412echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6702 need_locks=warn 7413 need_locks=warn
6703 fi 7414 fi
6704else 7415else
6705 need_locks=no 7416 need_locks=no
6706fi 7417fi
6707 7418
6708echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 7419{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6709echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 7420echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
6710 7421
6711 runpath_var= 7422 runpath_var=
6712 allow_undefined_flag= 7423 allow_undefined_flag=
6713 enable_shared_with_static_runtimes=no 7424 enable_shared_with_static_runtimes=no
6714 archive_cmds= 7425 archive_cmds=
7036 ; 7747 ;
7037 return 0; 7748 return 0;
7038} 7749}
7039_ACEOF 7750_ACEOF
7040rm -f conftest.$ac_objext conftest$ac_exeext 7751rm -f conftest.$ac_objext conftest$ac_exeext
7752if { (ac_try="$ac_link"
7753case "(($ac_try" in
7754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7755 *) ac_try_echo=$ac_try;;
7756esac
7041if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7757eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7042 (eval $ac_link) 2>conftest.er1 7758 (eval "$ac_link") 2>conftest.er1
7043 ac_status=$? 7759 ac_status=$?
7044 grep -v '^ *+' conftest.er1 >conftest.err 7760 grep -v '^ *+' conftest.er1 >conftest.err
7045 rm -f conftest.er1 7761 rm -f conftest.er1
7046 cat conftest.err >&5 7762 cat conftest.err >&5
7047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7048 (exit $ac_status); } && 7764 (exit $ac_status); } && {
7049 { ac_try='test -z "$ac_c_werror_flag" 7765 test -z "$ac_c_werror_flag" ||
7050 || test ! -s conftest.err' 7766 test ! -s conftest.err
7051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7767 } && test -s conftest$ac_exeext &&
7052 (eval $ac_try) 2>&5 7768 $as_test_x conftest$ac_exeext; then
7053 ac_status=$?
7054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7055 (exit $ac_status); }; } &&
7056 { ac_try='test -s conftest$ac_exeext'
7057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7058 (eval $ac_try) 2>&5
7059 ac_status=$?
7060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7061 (exit $ac_status); }; }; then
7062 7769
7063aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 7770aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7064}'` 7771}'`
7065# Check for a 64-bit object if we didn't find anything. 7772# Check for a 64-bit object if we didn't find anything.
7066if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 7773if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7067}'`; fi 7774}'`; fi
7068else 7775else
7069 echo "$as_me: failed program was:" >&5 7776 echo "$as_me: failed program was:" >&5
7070sed 's/^/| /' conftest.$ac_ext >&5 7777sed 's/^/| /' conftest.$ac_ext >&5
7071 7778
7779
7072fi 7780fi
7073rm -f conftest.err conftest.$ac_objext \ 7781
7782rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7074 conftest$ac_exeext conftest.$ac_ext 7783 conftest$ac_exeext conftest.$ac_ext
7075if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 7784if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7076 7785
7077 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 7786 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7078 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" 7787 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7097 ; 7806 ;
7098 return 0; 7807 return 0;
7099} 7808}
7100_ACEOF 7809_ACEOF
7101rm -f conftest.$ac_objext conftest$ac_exeext 7810rm -f conftest.$ac_objext conftest$ac_exeext
7811if { (ac_try="$ac_link"
7812case "(($ac_try" in
7813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7814 *) ac_try_echo=$ac_try;;
7815esac
7102if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7816eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7103 (eval $ac_link) 2>conftest.er1 7817 (eval "$ac_link") 2>conftest.er1
7104 ac_status=$? 7818 ac_status=$?
7105 grep -v '^ *+' conftest.er1 >conftest.err 7819 grep -v '^ *+' conftest.er1 >conftest.err
7106 rm -f conftest.er1 7820 rm -f conftest.er1
7107 cat conftest.err >&5 7821 cat conftest.err >&5
7108 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7109 (exit $ac_status); } && 7823 (exit $ac_status); } && {
7110 { ac_try='test -z "$ac_c_werror_flag" 7824 test -z "$ac_c_werror_flag" ||
7111 || test ! -s conftest.err' 7825 test ! -s conftest.err
7112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7826 } && test -s conftest$ac_exeext &&
7113 (eval $ac_try) 2>&5 7827 $as_test_x conftest$ac_exeext; then
7114 ac_status=$?
7115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7116 (exit $ac_status); }; } &&
7117 { ac_try='test -s conftest$ac_exeext'
7118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7119 (eval $ac_try) 2>&5
7120 ac_status=$?
7121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7122 (exit $ac_status); }; }; then
7123 7828
7124aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 7829aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7125}'` 7830}'`
7126# Check for a 64-bit object if we didn't find anything. 7831# Check for a 64-bit object if we didn't find anything.
7127if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 7832if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7128}'`; fi 7833}'`; fi
7129else 7834else
7130 echo "$as_me: failed program was:" >&5 7835 echo "$as_me: failed program was:" >&5
7131sed 's/^/| /' conftest.$ac_ext >&5 7836sed 's/^/| /' conftest.$ac_ext >&5
7132 7837
7838
7133fi 7839fi
7134rm -f conftest.err conftest.$ac_objext \ 7840
7841rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7135 conftest$ac_exeext conftest.$ac_ext 7842 conftest$ac_exeext conftest.$ac_ext
7136if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 7843if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7137 7844
7138 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 7845 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7139 # Warning - without using the other run time loading flags, 7846 # Warning - without using the other run time loading flags,
7551 ld_shlibs=no 8258 ld_shlibs=no
7552 ;; 8259 ;;
7553 esac 8260 esac
7554 fi 8261 fi
7555 8262
7556echo "$as_me:$LINENO: result: $ld_shlibs" >&5 8263{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7557echo "${ECHO_T}$ld_shlibs" >&6 8264echo "${ECHO_T}$ld_shlibs" >&6; }
7558test "$ld_shlibs" = no && can_build_shared=no 8265test "$ld_shlibs" = no && can_build_shared=no
7559 8266
7560variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 8267variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7561if test "$GCC" = yes; then 8268if test "$GCC" = yes; then
7562 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 8269 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7577 ;; 8284 ;;
7578 '$CC '*) 8285 '$CC '*)
7579 # Test whether the compiler implicitly links with -lc since on some 8286 # Test whether the compiler implicitly links with -lc since on some
7580 # systems, -lgcc has to come before -lc. If gcc already passes -lc 8287 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7581 # to ld, don't add -lc before -lgcc. 8288 # to ld, don't add -lc before -lgcc.
7582 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 8289 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7583echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 8290echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
7584 $rm conftest* 8291 $rm conftest*
7585 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 8292 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7586 8293
7587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7588 (eval $ac_compile) 2>&5 8295 (eval $ac_compile) 2>&5
7614 allow_undefined_flag=$lt_save_allow_undefined_flag 8321 allow_undefined_flag=$lt_save_allow_undefined_flag
7615 else 8322 else
7616 cat conftest.err 1>&5 8323 cat conftest.err 1>&5
7617 fi 8324 fi
7618 $rm conftest* 8325 $rm conftest*
7619 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 8326 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7620echo "${ECHO_T}$archive_cmds_need_lc" >&6 8327echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
7621 ;; 8328 ;;
7622 esac 8329 esac
7623 fi 8330 fi
7624 ;; 8331 ;;
7625esac 8332esac
7626 8333
7627echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 8334{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7628echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 8335echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
7629library_names_spec= 8336library_names_spec=
7630libname_spec='lib$name' 8337libname_spec='lib$name'
7631soname_spec= 8338soname_spec=
7632shrext=".so" 8339shrext=".so"
7633postinstall_cmds= 8340postinstall_cmds=
8162 8869
8163*) 8870*)
8164 dynamic_linker=no 8871 dynamic_linker=no
8165 ;; 8872 ;;
8166esac 8873esac
8167echo "$as_me:$LINENO: result: $dynamic_linker" >&5 8874{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8168echo "${ECHO_T}$dynamic_linker" >&6 8875echo "${ECHO_T}$dynamic_linker" >&6; }
8169test "$dynamic_linker" = no && can_build_shared=no 8876test "$dynamic_linker" = no && can_build_shared=no
8170 8877
8171echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 8878{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8172echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 8879echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
8173hardcode_action= 8880hardcode_action=
8174if test -n "$hardcode_libdir_flag_spec" || \ 8881if test -n "$hardcode_libdir_flag_spec" || \
8175 test -n "$runpath_var " || \ 8882 test -n "$runpath_var " || \
8176 test "X$hardcode_automatic"="Xyes" ; then 8883 test "X$hardcode_automatic"="Xyes" ; then
8177 8884
8191else 8898else
8192 # We cannot hardcode anything, or else we can only hardcode existing 8899 # We cannot hardcode anything, or else we can only hardcode existing
8193 # directories. 8900 # directories.
8194 hardcode_action=unsupported 8901 hardcode_action=unsupported
8195fi 8902fi
8196echo "$as_me:$LINENO: result: $hardcode_action" >&5 8903{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
8197echo "${ECHO_T}$hardcode_action" >&6 8904echo "${ECHO_T}$hardcode_action" >&6; }
8198 8905
8199if test "$hardcode_action" = relink; then 8906if test "$hardcode_action" = relink; then
8200 # Fast installation is not supported 8907 # Fast installation is not supported
8201 enable_fast_install=no 8908 enable_fast_install=no
8202elif test "$shlibpath_overrides_runpath" = yes || 8909elif test "$shlibpath_overrides_runpath" = yes ||
8205 enable_fast_install=needless 8912 enable_fast_install=needless
8206fi 8913fi
8207 8914
8208striplib= 8915striplib=
8209old_striplib= 8916old_striplib=
8210echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 8917{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8211echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 8918echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
8212if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 8919if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8213 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 8920 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8214 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 8921 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8215 echo "$as_me:$LINENO: result: yes" >&5 8922 { echo "$as_me:$LINENO: result: yes" >&5
8216echo "${ECHO_T}yes" >&6 8923echo "${ECHO_T}yes" >&6; }
8217else 8924else
8218# FIXME - insert some real tests, host_os isn't really good enough 8925# FIXME - insert some real tests, host_os isn't really good enough
8219 case $host_os in 8926 case $host_os in
8220 darwin*) 8927 darwin*)
8221 if test -n "$STRIP" ; then 8928 if test -n "$STRIP" ; then
8222 striplib="$STRIP -x" 8929 striplib="$STRIP -x"
8223 echo "$as_me:$LINENO: result: yes" >&5 8930 { echo "$as_me:$LINENO: result: yes" >&5
8224echo "${ECHO_T}yes" >&6 8931echo "${ECHO_T}yes" >&6; }
8225 else 8932 else
8226 echo "$as_me:$LINENO: result: no" >&5 8933 { echo "$as_me:$LINENO: result: no" >&5
8227echo "${ECHO_T}no" >&6 8934echo "${ECHO_T}no" >&6; }
8228fi 8935fi
8229 ;; 8936 ;;
8230 *) 8937 *)
8231 echo "$as_me:$LINENO: result: no" >&5 8938 { echo "$as_me:$LINENO: result: no" >&5
8232echo "${ECHO_T}no" >&6 8939echo "${ECHO_T}no" >&6; }
8233 ;; 8940 ;;
8234 esac 8941 esac
8235fi 8942fi
8236 8943
8237if test "x$enable_dlopen" != xyes; then 8944if test "x$enable_dlopen" != xyes; then
8259 lt_cv_dlopen_libs= 8966 lt_cv_dlopen_libs=
8260 ;; 8967 ;;
8261 8968
8262 darwin*) 8969 darwin*)
8263 # if libdl is installed we need to link against it 8970 # if libdl is installed we need to link against it
8264 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 8971 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8265echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 8972echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8266if test "${ac_cv_lib_dl_dlopen+set}" = set; then 8973if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8267 echo $ECHO_N "(cached) $ECHO_C" >&6 8974 echo $ECHO_N "(cached) $ECHO_C" >&6
8268else 8975else
8269 ac_check_lib_save_LIBS=$LIBS 8976 ac_check_lib_save_LIBS=$LIBS
8270LIBS="-ldl $LIBS" 8977LIBS="-ldl $LIBS"
8273_ACEOF 8980_ACEOF
8274cat confdefs.h >>conftest.$ac_ext 8981cat confdefs.h >>conftest.$ac_ext
8275cat >>conftest.$ac_ext <<_ACEOF 8982cat >>conftest.$ac_ext <<_ACEOF
8276/* end confdefs.h. */ 8983/* end confdefs.h. */
8277 8984
8278/* Override any gcc2 internal prototype to avoid an error. */ 8985/* Override any GCC internal prototype to avoid an error.
8986 Use char because int might match the return type of a GCC
8987 builtin and then its argument prototype would still apply. */
8279#ifdef __cplusplus 8988#ifdef __cplusplus
8280extern "C" 8989extern "C"
8281#endif 8990#endif
8282/* We use char because int might match the return type of a gcc2
8283 builtin and then its argument prototype would still apply. */
8284char dlopen (); 8991char dlopen ();
8285int 8992int
8286main () 8993main ()
8287{ 8994{
8288dlopen (); 8995return dlopen ();
8289 ; 8996 ;
8290 return 0; 8997 return 0;
8291} 8998}
8292_ACEOF 8999_ACEOF
8293rm -f conftest.$ac_objext conftest$ac_exeext 9000rm -f conftest.$ac_objext conftest$ac_exeext
9001if { (ac_try="$ac_link"
9002case "(($ac_try" in
9003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9004 *) ac_try_echo=$ac_try;;
9005esac
8294if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9006eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8295 (eval $ac_link) 2>conftest.er1 9007 (eval "$ac_link") 2>conftest.er1
8296 ac_status=$? 9008 ac_status=$?
8297 grep -v '^ *+' conftest.er1 >conftest.err 9009 grep -v '^ *+' conftest.er1 >conftest.err
8298 rm -f conftest.er1 9010 rm -f conftest.er1
8299 cat conftest.err >&5 9011 cat conftest.err >&5
8300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8301 (exit $ac_status); } && 9013 (exit $ac_status); } && {
8302 { ac_try='test -z "$ac_c_werror_flag" 9014 test -z "$ac_c_werror_flag" ||
8303 || test ! -s conftest.err' 9015 test ! -s conftest.err
8304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9016 } && test -s conftest$ac_exeext &&
8305 (eval $ac_try) 2>&5 9017 $as_test_x conftest$ac_exeext; then
8306 ac_status=$?
8307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8308 (exit $ac_status); }; } &&
8309 { ac_try='test -s conftest$ac_exeext'
8310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8311 (eval $ac_try) 2>&5
8312 ac_status=$?
8313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8314 (exit $ac_status); }; }; then
8315 ac_cv_lib_dl_dlopen=yes 9018 ac_cv_lib_dl_dlopen=yes
8316else 9019else
8317 echo "$as_me: failed program was:" >&5 9020 echo "$as_me: failed program was:" >&5
8318sed 's/^/| /' conftest.$ac_ext >&5 9021sed 's/^/| /' conftest.$ac_ext >&5
8319 9022
8320ac_cv_lib_dl_dlopen=no 9023 ac_cv_lib_dl_dlopen=no
8321fi 9024fi
8322rm -f conftest.err conftest.$ac_objext \ 9025
9026rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8323 conftest$ac_exeext conftest.$ac_ext 9027 conftest$ac_exeext conftest.$ac_ext
8324LIBS=$ac_check_lib_save_LIBS 9028LIBS=$ac_check_lib_save_LIBS
8325fi 9029fi
8326echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 9030{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8327echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 9031echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8328if test $ac_cv_lib_dl_dlopen = yes; then 9032if test $ac_cv_lib_dl_dlopen = yes; then
8329 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 9033 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8330else 9034else
8331 9035
8332 lt_cv_dlopen="dyld" 9036 lt_cv_dlopen="dyld"
8336fi 9040fi
8337 9041
8338 ;; 9042 ;;
8339 9043
8340 *) 9044 *)
8341 echo "$as_me:$LINENO: checking for shl_load" >&5 9045 { echo "$as_me:$LINENO: checking for shl_load" >&5
8342echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 9046echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
8343if test "${ac_cv_func_shl_load+set}" = set; then 9047if test "${ac_cv_func_shl_load+set}" = set; then
8344 echo $ECHO_N "(cached) $ECHO_C" >&6 9048 echo $ECHO_N "(cached) $ECHO_C" >&6
8345else 9049else
8346 cat >conftest.$ac_ext <<_ACEOF 9050 cat >conftest.$ac_ext <<_ACEOF
8347/* confdefs.h. */ 9051/* confdefs.h. */
8364# include <assert.h> 9068# include <assert.h>
8365#endif 9069#endif
8366 9070
8367#undef shl_load 9071#undef shl_load
8368 9072
8369/* Override any gcc2 internal prototype to avoid an error. */ 9073/* Override any GCC internal prototype to avoid an error.
9074 Use char because int might match the return type of a GCC
9075 builtin and then its argument prototype would still apply. */
8370#ifdef __cplusplus 9076#ifdef __cplusplus
8371extern "C" 9077extern "C"
8372{
8373#endif 9078#endif
8374/* We use char because int might match the return type of a gcc2
8375 builtin and then its argument prototype would still apply. */
8376char shl_load (); 9079char shl_load ();
8377/* The GNU C library defines this for functions which it implements 9080/* The GNU C library defines this for functions which it implements
8378 to always fail with ENOSYS. Some functions are actually named 9081 to always fail with ENOSYS. Some functions are actually named
8379 something starting with __ and the normal name is an alias. */ 9082 something starting with __ and the normal name is an alias. */
8380#if defined (__stub_shl_load) || defined (__stub___shl_load) 9083#if defined __stub_shl_load || defined __stub___shl_load
8381choke me 9084choke me
8382#else
8383char (*f) () = shl_load;
8384#endif
8385#ifdef __cplusplus
8386}
8387#endif 9085#endif
8388 9086
8389int 9087int
8390main () 9088main ()
8391{ 9089{
8392return f != shl_load; 9090return shl_load ();
8393 ; 9091 ;
8394 return 0; 9092 return 0;
8395} 9093}
8396_ACEOF 9094_ACEOF
8397rm -f conftest.$ac_objext conftest$ac_exeext 9095rm -f conftest.$ac_objext conftest$ac_exeext
9096if { (ac_try="$ac_link"
9097case "(($ac_try" in
9098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9099 *) ac_try_echo=$ac_try;;
9100esac
8398if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9101eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8399 (eval $ac_link) 2>conftest.er1 9102 (eval "$ac_link") 2>conftest.er1
8400 ac_status=$? 9103 ac_status=$?
8401 grep -v '^ *+' conftest.er1 >conftest.err 9104 grep -v '^ *+' conftest.er1 >conftest.err
8402 rm -f conftest.er1 9105 rm -f conftest.er1
8403 cat conftest.err >&5 9106 cat conftest.err >&5
8404 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8405 (exit $ac_status); } && 9108 (exit $ac_status); } && {
8406 { ac_try='test -z "$ac_c_werror_flag" 9109 test -z "$ac_c_werror_flag" ||
8407 || test ! -s conftest.err' 9110 test ! -s conftest.err
8408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9111 } && test -s conftest$ac_exeext &&
8409 (eval $ac_try) 2>&5 9112 $as_test_x conftest$ac_exeext; then
8410 ac_status=$?
8411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8412 (exit $ac_status); }; } &&
8413 { ac_try='test -s conftest$ac_exeext'
8414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8415 (eval $ac_try) 2>&5
8416 ac_status=$?
8417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8418 (exit $ac_status); }; }; then
8419 ac_cv_func_shl_load=yes 9113 ac_cv_func_shl_load=yes
8420else 9114else
8421 echo "$as_me: failed program was:" >&5 9115 echo "$as_me: failed program was:" >&5
8422sed 's/^/| /' conftest.$ac_ext >&5 9116sed 's/^/| /' conftest.$ac_ext >&5
8423 9117
8424ac_cv_func_shl_load=no 9118 ac_cv_func_shl_load=no
8425fi 9119fi
8426rm -f conftest.err conftest.$ac_objext \ 9120
9121rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8427 conftest$ac_exeext conftest.$ac_ext 9122 conftest$ac_exeext conftest.$ac_ext
8428fi 9123fi
8429echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 9124{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8430echo "${ECHO_T}$ac_cv_func_shl_load" >&6 9125echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
8431if test $ac_cv_func_shl_load = yes; then 9126if test $ac_cv_func_shl_load = yes; then
8432 lt_cv_dlopen="shl_load" 9127 lt_cv_dlopen="shl_load"
8433else 9128else
8434 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 9129 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8435echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 9130echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
8436if test "${ac_cv_lib_dld_shl_load+set}" = set; then 9131if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8437 echo $ECHO_N "(cached) $ECHO_C" >&6 9132 echo $ECHO_N "(cached) $ECHO_C" >&6
8438else 9133else
8439 ac_check_lib_save_LIBS=$LIBS 9134 ac_check_lib_save_LIBS=$LIBS
8440LIBS="-ldld $LIBS" 9135LIBS="-ldld $LIBS"
8443_ACEOF 9138_ACEOF
8444cat confdefs.h >>conftest.$ac_ext 9139cat confdefs.h >>conftest.$ac_ext
8445cat >>conftest.$ac_ext <<_ACEOF 9140cat >>conftest.$ac_ext <<_ACEOF
8446/* end confdefs.h. */ 9141/* end confdefs.h. */
8447 9142
8448/* Override any gcc2 internal prototype to avoid an error. */ 9143/* Override any GCC internal prototype to avoid an error.
9144 Use char because int might match the return type of a GCC
9145 builtin and then its argument prototype would still apply. */
8449#ifdef __cplusplus 9146#ifdef __cplusplus
8450extern "C" 9147extern "C"
8451#endif 9148#endif
8452/* We use char because int might match the return type of a gcc2
8453 builtin and then its argument prototype would still apply. */
8454char shl_load (); 9149char shl_load ();
8455int 9150int
8456main () 9151main ()
8457{ 9152{
8458shl_load (); 9153return shl_load ();
8459 ; 9154 ;
8460 return 0; 9155 return 0;
8461} 9156}
8462_ACEOF 9157_ACEOF
8463rm -f conftest.$ac_objext conftest$ac_exeext 9158rm -f conftest.$ac_objext conftest$ac_exeext
9159if { (ac_try="$ac_link"
9160case "(($ac_try" in
9161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9162 *) ac_try_echo=$ac_try;;
9163esac
8464if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9164eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8465 (eval $ac_link) 2>conftest.er1 9165 (eval "$ac_link") 2>conftest.er1
8466 ac_status=$? 9166 ac_status=$?
8467 grep -v '^ *+' conftest.er1 >conftest.err 9167 grep -v '^ *+' conftest.er1 >conftest.err
8468 rm -f conftest.er1 9168 rm -f conftest.er1
8469 cat conftest.err >&5 9169 cat conftest.err >&5
8470 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8471 (exit $ac_status); } && 9171 (exit $ac_status); } && {
8472 { ac_try='test -z "$ac_c_werror_flag" 9172 test -z "$ac_c_werror_flag" ||
8473 || test ! -s conftest.err' 9173 test ! -s conftest.err
8474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9174 } && test -s conftest$ac_exeext &&
8475 (eval $ac_try) 2>&5 9175 $as_test_x conftest$ac_exeext; then
8476 ac_status=$?
8477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8478 (exit $ac_status); }; } &&
8479 { ac_try='test -s conftest$ac_exeext'
8480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8481 (eval $ac_try) 2>&5
8482 ac_status=$?
8483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8484 (exit $ac_status); }; }; then
8485 ac_cv_lib_dld_shl_load=yes 9176 ac_cv_lib_dld_shl_load=yes
8486else 9177else
8487 echo "$as_me: failed program was:" >&5 9178 echo "$as_me: failed program was:" >&5
8488sed 's/^/| /' conftest.$ac_ext >&5 9179sed 's/^/| /' conftest.$ac_ext >&5
8489 9180
8490ac_cv_lib_dld_shl_load=no 9181 ac_cv_lib_dld_shl_load=no
8491fi 9182fi
8492rm -f conftest.err conftest.$ac_objext \ 9183
9184rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8493 conftest$ac_exeext conftest.$ac_ext 9185 conftest$ac_exeext conftest.$ac_ext
8494LIBS=$ac_check_lib_save_LIBS 9186LIBS=$ac_check_lib_save_LIBS
8495fi 9187fi
8496echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 9188{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8497echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 9189echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
8498if test $ac_cv_lib_dld_shl_load = yes; then 9190if test $ac_cv_lib_dld_shl_load = yes; then
8499 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" 9191 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8500else 9192else
8501 echo "$as_me:$LINENO: checking for dlopen" >&5 9193 { echo "$as_me:$LINENO: checking for dlopen" >&5
8502echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 9194echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
8503if test "${ac_cv_func_dlopen+set}" = set; then 9195if test "${ac_cv_func_dlopen+set}" = set; then
8504 echo $ECHO_N "(cached) $ECHO_C" >&6 9196 echo $ECHO_N "(cached) $ECHO_C" >&6
8505else 9197else
8506 cat >conftest.$ac_ext <<_ACEOF 9198 cat >conftest.$ac_ext <<_ACEOF
8507/* confdefs.h. */ 9199/* confdefs.h. */
8524# include <assert.h> 9216# include <assert.h>
8525#endif 9217#endif
8526 9218
8527#undef dlopen 9219#undef dlopen
8528 9220
8529/* Override any gcc2 internal prototype to avoid an error. */ 9221/* Override any GCC internal prototype to avoid an error.
9222 Use char because int might match the return type of a GCC
9223 builtin and then its argument prototype would still apply. */
8530#ifdef __cplusplus 9224#ifdef __cplusplus
8531extern "C" 9225extern "C"
8532{
8533#endif 9226#endif
8534/* We use char because int might match the return type of a gcc2
8535 builtin and then its argument prototype would still apply. */
8536char dlopen (); 9227char dlopen ();
8537/* The GNU C library defines this for functions which it implements 9228/* The GNU C library defines this for functions which it implements
8538 to always fail with ENOSYS. Some functions are actually named 9229 to always fail with ENOSYS. Some functions are actually named
8539 something starting with __ and the normal name is an alias. */ 9230 something starting with __ and the normal name is an alias. */
8540#if defined (__stub_dlopen) || defined (__stub___dlopen) 9231#if defined __stub_dlopen || defined __stub___dlopen
8541choke me 9232choke me
8542#else
8543char (*f) () = dlopen;
8544#endif
8545#ifdef __cplusplus
8546}
8547#endif 9233#endif
8548 9234
8549int 9235int
8550main () 9236main ()
8551{ 9237{
8552return f != dlopen; 9238return dlopen ();
8553 ; 9239 ;
8554 return 0; 9240 return 0;
8555} 9241}
8556_ACEOF 9242_ACEOF
8557rm -f conftest.$ac_objext conftest$ac_exeext 9243rm -f conftest.$ac_objext conftest$ac_exeext
9244if { (ac_try="$ac_link"
9245case "(($ac_try" in
9246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9247 *) ac_try_echo=$ac_try;;
9248esac
8558if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9249eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8559 (eval $ac_link) 2>conftest.er1 9250 (eval "$ac_link") 2>conftest.er1
8560 ac_status=$? 9251 ac_status=$?
8561 grep -v '^ *+' conftest.er1 >conftest.err 9252 grep -v '^ *+' conftest.er1 >conftest.err
8562 rm -f conftest.er1 9253 rm -f conftest.er1
8563 cat conftest.err >&5 9254 cat conftest.err >&5
8564 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565 (exit $ac_status); } && 9256 (exit $ac_status); } && {
8566 { ac_try='test -z "$ac_c_werror_flag" 9257 test -z "$ac_c_werror_flag" ||
8567 || test ! -s conftest.err' 9258 test ! -s conftest.err
8568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9259 } && test -s conftest$ac_exeext &&
8569 (eval $ac_try) 2>&5 9260 $as_test_x conftest$ac_exeext; then
8570 ac_status=$?
8571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572 (exit $ac_status); }; } &&
8573 { ac_try='test -s conftest$ac_exeext'
8574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8575 (eval $ac_try) 2>&5
8576 ac_status=$?
8577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8578 (exit $ac_status); }; }; then
8579 ac_cv_func_dlopen=yes 9261 ac_cv_func_dlopen=yes
8580else 9262else
8581 echo "$as_me: failed program was:" >&5 9263 echo "$as_me: failed program was:" >&5
8582sed 's/^/| /' conftest.$ac_ext >&5 9264sed 's/^/| /' conftest.$ac_ext >&5
8583 9265
8584ac_cv_func_dlopen=no 9266 ac_cv_func_dlopen=no
8585fi 9267fi
8586rm -f conftest.err conftest.$ac_objext \ 9268
9269rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8587 conftest$ac_exeext conftest.$ac_ext 9270 conftest$ac_exeext conftest.$ac_ext
8588fi 9271fi
8589echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 9272{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8590echo "${ECHO_T}$ac_cv_func_dlopen" >&6 9273echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
8591if test $ac_cv_func_dlopen = yes; then 9274if test $ac_cv_func_dlopen = yes; then
8592 lt_cv_dlopen="dlopen" 9275 lt_cv_dlopen="dlopen"
8593else 9276else
8594 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 9277 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8595echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 9278echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8596if test "${ac_cv_lib_dl_dlopen+set}" = set; then 9279if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8597 echo $ECHO_N "(cached) $ECHO_C" >&6 9280 echo $ECHO_N "(cached) $ECHO_C" >&6
8598else 9281else
8599 ac_check_lib_save_LIBS=$LIBS 9282 ac_check_lib_save_LIBS=$LIBS
8600LIBS="-ldl $LIBS" 9283LIBS="-ldl $LIBS"
8603_ACEOF 9286_ACEOF
8604cat confdefs.h >>conftest.$ac_ext 9287cat confdefs.h >>conftest.$ac_ext
8605cat >>conftest.$ac_ext <<_ACEOF 9288cat >>conftest.$ac_ext <<_ACEOF
8606/* end confdefs.h. */ 9289/* end confdefs.h. */
8607 9290
8608/* Override any gcc2 internal prototype to avoid an error. */ 9291/* Override any GCC internal prototype to avoid an error.
9292 Use char because int might match the return type of a GCC
9293 builtin and then its argument prototype would still apply. */
8609#ifdef __cplusplus 9294#ifdef __cplusplus
8610extern "C" 9295extern "C"
8611#endif 9296#endif
8612/* We use char because int might match the return type of a gcc2
8613 builtin and then its argument prototype would still apply. */
8614char dlopen (); 9297char dlopen ();
8615int 9298int
8616main () 9299main ()
8617{ 9300{
8618dlopen (); 9301return dlopen ();
8619 ; 9302 ;
8620 return 0; 9303 return 0;
8621} 9304}
8622_ACEOF 9305_ACEOF
8623rm -f conftest.$ac_objext conftest$ac_exeext 9306rm -f conftest.$ac_objext conftest$ac_exeext
9307if { (ac_try="$ac_link"
9308case "(($ac_try" in
9309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9310 *) ac_try_echo=$ac_try;;
9311esac
8624if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9312eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8625 (eval $ac_link) 2>conftest.er1 9313 (eval "$ac_link") 2>conftest.er1
8626 ac_status=$? 9314 ac_status=$?
8627 grep -v '^ *+' conftest.er1 >conftest.err 9315 grep -v '^ *+' conftest.er1 >conftest.err
8628 rm -f conftest.er1 9316 rm -f conftest.er1
8629 cat conftest.err >&5 9317 cat conftest.err >&5
8630 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8631 (exit $ac_status); } && 9319 (exit $ac_status); } && {
8632 { ac_try='test -z "$ac_c_werror_flag" 9320 test -z "$ac_c_werror_flag" ||
8633 || test ! -s conftest.err' 9321 test ! -s conftest.err
8634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9322 } && test -s conftest$ac_exeext &&
8635 (eval $ac_try) 2>&5 9323 $as_test_x conftest$ac_exeext; then
8636 ac_status=$?
8637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8638 (exit $ac_status); }; } &&
8639 { ac_try='test -s conftest$ac_exeext'
8640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8641 (eval $ac_try) 2>&5
8642 ac_status=$?
8643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8644 (exit $ac_status); }; }; then
8645 ac_cv_lib_dl_dlopen=yes 9324 ac_cv_lib_dl_dlopen=yes
8646else 9325else
8647 echo "$as_me: failed program was:" >&5 9326 echo "$as_me: failed program was:" >&5
8648sed 's/^/| /' conftest.$ac_ext >&5 9327sed 's/^/| /' conftest.$ac_ext >&5
8649 9328
8650ac_cv_lib_dl_dlopen=no 9329 ac_cv_lib_dl_dlopen=no
8651fi 9330fi
8652rm -f conftest.err conftest.$ac_objext \ 9331
9332rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8653 conftest$ac_exeext conftest.$ac_ext 9333 conftest$ac_exeext conftest.$ac_ext
8654LIBS=$ac_check_lib_save_LIBS 9334LIBS=$ac_check_lib_save_LIBS
8655fi 9335fi
8656echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 9336{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8657echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 9337echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8658if test $ac_cv_lib_dl_dlopen = yes; then 9338if test $ac_cv_lib_dl_dlopen = yes; then
8659 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 9339 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8660else 9340else
8661 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 9341 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8662echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 9342echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
8663if test "${ac_cv_lib_svld_dlopen+set}" = set; then 9343if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8664 echo $ECHO_N "(cached) $ECHO_C" >&6 9344 echo $ECHO_N "(cached) $ECHO_C" >&6
8665else 9345else
8666 ac_check_lib_save_LIBS=$LIBS 9346 ac_check_lib_save_LIBS=$LIBS
8667LIBS="-lsvld $LIBS" 9347LIBS="-lsvld $LIBS"
8670_ACEOF 9350_ACEOF
8671cat confdefs.h >>conftest.$ac_ext 9351cat confdefs.h >>conftest.$ac_ext
8672cat >>conftest.$ac_ext <<_ACEOF 9352cat >>conftest.$ac_ext <<_ACEOF
8673/* end confdefs.h. */ 9353/* end confdefs.h. */
8674 9354
8675/* Override any gcc2 internal prototype to avoid an error. */ 9355/* Override any GCC internal prototype to avoid an error.
9356 Use char because int might match the return type of a GCC
9357 builtin and then its argument prototype would still apply. */
8676#ifdef __cplusplus 9358#ifdef __cplusplus
8677extern "C" 9359extern "C"
8678#endif 9360#endif
8679/* We use char because int might match the return type of a gcc2
8680 builtin and then its argument prototype would still apply. */
8681char dlopen (); 9361char dlopen ();
8682int 9362int
8683main () 9363main ()
8684{ 9364{
8685dlopen (); 9365return dlopen ();
8686 ; 9366 ;
8687 return 0; 9367 return 0;
8688} 9368}
8689_ACEOF 9369_ACEOF
8690rm -f conftest.$ac_objext conftest$ac_exeext 9370rm -f conftest.$ac_objext conftest$ac_exeext
9371if { (ac_try="$ac_link"
9372case "(($ac_try" in
9373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9374 *) ac_try_echo=$ac_try;;
9375esac
8691if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9376eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8692 (eval $ac_link) 2>conftest.er1 9377 (eval "$ac_link") 2>conftest.er1
8693 ac_status=$? 9378 ac_status=$?
8694 grep -v '^ *+' conftest.er1 >conftest.err 9379 grep -v '^ *+' conftest.er1 >conftest.err
8695 rm -f conftest.er1 9380 rm -f conftest.er1
8696 cat conftest.err >&5 9381 cat conftest.err >&5
8697 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8698 (exit $ac_status); } && 9383 (exit $ac_status); } && {
8699 { ac_try='test -z "$ac_c_werror_flag" 9384 test -z "$ac_c_werror_flag" ||
8700 || test ! -s conftest.err' 9385 test ! -s conftest.err
8701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9386 } && test -s conftest$ac_exeext &&
8702 (eval $ac_try) 2>&5 9387 $as_test_x conftest$ac_exeext; then
8703 ac_status=$?
8704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705 (exit $ac_status); }; } &&
8706 { ac_try='test -s conftest$ac_exeext'
8707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8708 (eval $ac_try) 2>&5
8709 ac_status=$?
8710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711 (exit $ac_status); }; }; then
8712 ac_cv_lib_svld_dlopen=yes 9388 ac_cv_lib_svld_dlopen=yes
8713else 9389else
8714 echo "$as_me: failed program was:" >&5 9390 echo "$as_me: failed program was:" >&5
8715sed 's/^/| /' conftest.$ac_ext >&5 9391sed 's/^/| /' conftest.$ac_ext >&5
8716 9392
8717ac_cv_lib_svld_dlopen=no 9393 ac_cv_lib_svld_dlopen=no
8718fi 9394fi
8719rm -f conftest.err conftest.$ac_objext \ 9395
9396rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8720 conftest$ac_exeext conftest.$ac_ext 9397 conftest$ac_exeext conftest.$ac_ext
8721LIBS=$ac_check_lib_save_LIBS 9398LIBS=$ac_check_lib_save_LIBS
8722fi 9399fi
8723echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 9400{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8724echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 9401echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
8725if test $ac_cv_lib_svld_dlopen = yes; then 9402if test $ac_cv_lib_svld_dlopen = yes; then
8726 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 9403 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8727else 9404else
8728 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 9405 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8729echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 9406echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
8730if test "${ac_cv_lib_dld_dld_link+set}" = set; then 9407if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8731 echo $ECHO_N "(cached) $ECHO_C" >&6 9408 echo $ECHO_N "(cached) $ECHO_C" >&6
8732else 9409else
8733 ac_check_lib_save_LIBS=$LIBS 9410 ac_check_lib_save_LIBS=$LIBS
8734LIBS="-ldld $LIBS" 9411LIBS="-ldld $LIBS"
8737_ACEOF 9414_ACEOF
8738cat confdefs.h >>conftest.$ac_ext 9415cat confdefs.h >>conftest.$ac_ext
8739cat >>conftest.$ac_ext <<_ACEOF 9416cat >>conftest.$ac_ext <<_ACEOF
8740/* end confdefs.h. */ 9417/* end confdefs.h. */
8741 9418
8742/* Override any gcc2 internal prototype to avoid an error. */ 9419/* Override any GCC internal prototype to avoid an error.
9420 Use char because int might match the return type of a GCC
9421 builtin and then its argument prototype would still apply. */
8743#ifdef __cplusplus 9422#ifdef __cplusplus
8744extern "C" 9423extern "C"
8745#endif 9424#endif
8746/* We use char because int might match the return type of a gcc2
8747 builtin and then its argument prototype would still apply. */
8748char dld_link (); 9425char dld_link ();
8749int 9426int
8750main () 9427main ()
8751{ 9428{
8752dld_link (); 9429return dld_link ();
8753 ; 9430 ;
8754 return 0; 9431 return 0;
8755} 9432}
8756_ACEOF 9433_ACEOF
8757rm -f conftest.$ac_objext conftest$ac_exeext 9434rm -f conftest.$ac_objext conftest$ac_exeext
9435if { (ac_try="$ac_link"
9436case "(($ac_try" in
9437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9438 *) ac_try_echo=$ac_try;;
9439esac
8758if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9440eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8759 (eval $ac_link) 2>conftest.er1 9441 (eval "$ac_link") 2>conftest.er1
8760 ac_status=$? 9442 ac_status=$?
8761 grep -v '^ *+' conftest.er1 >conftest.err 9443 grep -v '^ *+' conftest.er1 >conftest.err
8762 rm -f conftest.er1 9444 rm -f conftest.er1
8763 cat conftest.err >&5 9445 cat conftest.err >&5
8764 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8765 (exit $ac_status); } && 9447 (exit $ac_status); } && {
8766 { ac_try='test -z "$ac_c_werror_flag" 9448 test -z "$ac_c_werror_flag" ||
8767 || test ! -s conftest.err' 9449 test ! -s conftest.err
8768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9450 } && test -s conftest$ac_exeext &&
8769 (eval $ac_try) 2>&5 9451 $as_test_x conftest$ac_exeext; then
8770 ac_status=$?
8771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8772 (exit $ac_status); }; } &&
8773 { ac_try='test -s conftest$ac_exeext'
8774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8775 (eval $ac_try) 2>&5
8776 ac_status=$?
8777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8778 (exit $ac_status); }; }; then
8779 ac_cv_lib_dld_dld_link=yes 9452 ac_cv_lib_dld_dld_link=yes
8780else 9453else
8781 echo "$as_me: failed program was:" >&5 9454 echo "$as_me: failed program was:" >&5
8782sed 's/^/| /' conftest.$ac_ext >&5 9455sed 's/^/| /' conftest.$ac_ext >&5
8783 9456
8784ac_cv_lib_dld_dld_link=no 9457 ac_cv_lib_dld_dld_link=no
8785fi 9458fi
8786rm -f conftest.err conftest.$ac_objext \ 9459
9460rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8787 conftest$ac_exeext conftest.$ac_ext 9461 conftest$ac_exeext conftest.$ac_ext
8788LIBS=$ac_check_lib_save_LIBS 9462LIBS=$ac_check_lib_save_LIBS
8789fi 9463fi
8790echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 9464{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8791echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 9465echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
8792if test $ac_cv_lib_dld_dld_link = yes; then 9466if test $ac_cv_lib_dld_dld_link = yes; then
8793 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" 9467 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8794fi 9468fi
8795 9469
8796 9470
8826 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 9500 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8827 9501
8828 save_LIBS="$LIBS" 9502 save_LIBS="$LIBS"
8829 LIBS="$lt_cv_dlopen_libs $LIBS" 9503 LIBS="$lt_cv_dlopen_libs $LIBS"
8830 9504
8831 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 9505 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8832echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 9506echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
8833if test "${lt_cv_dlopen_self+set}" = set; then 9507if test "${lt_cv_dlopen_self+set}" = set; then
8834 echo $ECHO_N "(cached) $ECHO_C" >&6 9508 echo $ECHO_N "(cached) $ECHO_C" >&6
8835else 9509else
8836 if test "$cross_compiling" = yes; then : 9510 if test "$cross_compiling" = yes; then :
8837 lt_cv_dlopen_self=cross 9511 lt_cv_dlopen_self=cross
8838else 9512else
8839 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 9513 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8840 lt_status=$lt_dlunknown 9514 lt_status=$lt_dlunknown
8841 cat > conftest.$ac_ext <<EOF 9515 cat > conftest.$ac_ext <<EOF
8842#line 8842 "configure" 9516#line 9516 "configure"
8843#include "confdefs.h" 9517#include "confdefs.h"
8844 9518
8845#if HAVE_DLFCN_H 9519#if HAVE_DLFCN_H
8846#include <dlfcn.h> 9520#include <dlfcn.h>
8847#endif 9521#endif
8919fi 9593fi
8920rm -fr conftest* 9594rm -fr conftest*
8921 9595
8922 9596
8923fi 9597fi
8924echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 9598{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8925echo "${ECHO_T}$lt_cv_dlopen_self" >&6 9599echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
8926 9600
8927 if test "x$lt_cv_dlopen_self" = xyes; then 9601 if test "x$lt_cv_dlopen_self" = xyes; then
8928 LDFLAGS="$LDFLAGS $link_static_flag" 9602 LDFLAGS="$LDFLAGS $link_static_flag"
8929 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 9603 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8930echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 9604echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
8931if test "${lt_cv_dlopen_self_static+set}" = set; then 9605if test "${lt_cv_dlopen_self_static+set}" = set; then
8932 echo $ECHO_N "(cached) $ECHO_C" >&6 9606 echo $ECHO_N "(cached) $ECHO_C" >&6
8933else 9607else
8934 if test "$cross_compiling" = yes; then : 9608 if test "$cross_compiling" = yes; then :
8935 lt_cv_dlopen_self_static=cross 9609 lt_cv_dlopen_self_static=cross
8936else 9610else
8937 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 9611 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8938 lt_status=$lt_dlunknown 9612 lt_status=$lt_dlunknown
8939 cat > conftest.$ac_ext <<EOF 9613 cat > conftest.$ac_ext <<EOF
8940#line 8940 "configure" 9614#line 9614 "configure"
8941#include "confdefs.h" 9615#include "confdefs.h"
8942 9616
8943#if HAVE_DLFCN_H 9617#if HAVE_DLFCN_H
8944#include <dlfcn.h> 9618#include <dlfcn.h>
8945#endif 9619#endif
9017fi 9691fi
9018rm -fr conftest* 9692rm -fr conftest*
9019 9693
9020 9694
9021fi 9695fi
9022echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 9696{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9023echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 9697echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9024 fi 9698 fi
9025 9699
9026 CPPFLAGS="$save_CPPFLAGS" 9700 CPPFLAGS="$save_CPPFLAGS"
9027 LDFLAGS="$save_LDFLAGS" 9701 LDFLAGS="$save_LDFLAGS"
9028 LIBS="$save_LIBS" 9702 LIBS="$save_LIBS"
9040 esac 9714 esac
9041fi 9715fi
9042 9716
9043 9717
9044# Report which librarie types wil actually be built 9718# Report which librarie types wil actually be built
9045echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 9719{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9046echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 9720echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
9047echo "$as_me:$LINENO: result: $can_build_shared" >&5 9721{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
9048echo "${ECHO_T}$can_build_shared" >&6 9722echo "${ECHO_T}$can_build_shared" >&6; }
9049 9723
9050echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 9724{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9051echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 9725echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9052test "$can_build_shared" = "no" && enable_shared=no 9726test "$can_build_shared" = "no" && enable_shared=no
9053 9727
9054# On AIX, shared libraries and static libraries use the same namespace, and 9728# On AIX, shared libraries and static libraries use the same namespace, and
9055# are all built from PIC. 9729# are all built from PIC.
9056case "$host_os" in 9730case "$host_os" in
9103 else 9777 else
9104 ld_shlibs=no 9778 ld_shlibs=no
9105 fi 9779 fi
9106 ;; 9780 ;;
9107esac 9781esac
9108echo "$as_me:$LINENO: result: $enable_shared" >&5 9782{ echo "$as_me:$LINENO: result: $enable_shared" >&5
9109echo "${ECHO_T}$enable_shared" >&6 9783echo "${ECHO_T}$enable_shared" >&6; }
9110 9784
9111echo "$as_me:$LINENO: checking whether to build static libraries" >&5 9785{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9112echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 9786echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9113# Make sure either enable_shared or enable_static is yes. 9787# Make sure either enable_shared or enable_static is yes.
9114test "$enable_shared" = yes || enable_static=yes 9788test "$enable_shared" = yes || enable_static=yes
9115echo "$as_me:$LINENO: result: $enable_static" >&5 9789{ echo "$as_me:$LINENO: result: $enable_static" >&5
9116echo "${ECHO_T}$enable_static" >&6 9790echo "${ECHO_T}$enable_static" >&6; }
9117 9791
9118# The else clause should only fire when bootstrapping the 9792# The else clause should only fire when bootstrapping the
9119# libtool distribution, otherwise you forgot to ship ltmain.sh 9793# libtool distribution, otherwise you forgot to ship ltmain.sh
9120# with your package, and you will get complaints that there are 9794# with your package, and you will get complaints that there are
9121# no rules to generate ltmain.sh. 9795# no rules to generate ltmain.sh.
9594ac_compiler_gnu=$ac_cv_c_compiler_gnu 10268ac_compiler_gnu=$ac_cv_c_compiler_gnu
9595 10269
9596CC="$lt_save_CC" 10270CC="$lt_save_CC"
9597 10271
9598 10272
9599# Check whether --with-tags or --without-tags was given. 10273# Check whether --with-tags was given.
9600if test "${with_tags+set}" = set; then 10274if test "${with_tags+set}" = set; then
9601 withval="$with_tags" 10275 withval=$with_tags; tagnames="$withval"
9602 tagnames="$withval"
9603fi; 10276fi
10277
9604 10278
9605if test -f "$ltmain" && test -n "$tagnames"; then 10279if test -f "$ltmain" && test -n "$tagnames"; then
9606 if test ! -f "${ofile}"; then 10280 if test ! -f "${ofile}"; then
9607 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 10281 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9608echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} 10282echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9647 echo appending configuration tag \"$tagname\" to $ofile 10321 echo appending configuration tag \"$tagname\" to $ofile
9648 10322
9649 case $tagname in 10323 case $tagname in
9650 CXX) 10324 CXX)
9651 if test -n "$CXX" && test "X$CXX" != "Xno"; then 10325 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9652 ac_ext=cc 10326 ac_ext=cpp
9653ac_cpp='$CXXCPP $CPPFLAGS' 10327ac_cpp='$CXXCPP $CPPFLAGS'
9654ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 10328ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9655ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 10329ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9656ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 10330ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9657 10331
9739 10413
9740if test "$GXX" = yes; then 10414if test "$GXX" = yes; then
9741 # Set up default GNU C++ configuration 10415 # Set up default GNU C++ configuration
9742 10416
9743 10417
9744# Check whether --with-gnu-ld or --without-gnu-ld was given. 10418# Check whether --with-gnu-ld was given.
9745if test "${with_gnu_ld+set}" = set; then 10419if test "${with_gnu_ld+set}" = set; then
9746 withval="$with_gnu_ld"
9747 test "$withval" = no || with_gnu_ld=yes 10420 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
9748else 10421else
9749 with_gnu_ld=no 10422 with_gnu_ld=no
9750fi; 10423fi
10424
9751ac_prog=ld 10425ac_prog=ld
9752if test "$GCC" = yes; then 10426if test "$GCC" = yes; then
9753 # Check if gcc -print-prog-name=ld gives a path. 10427 # Check if gcc -print-prog-name=ld gives a path.
9754 echo "$as_me:$LINENO: checking for ld used by $CC" >&5 10428 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9755echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 10429echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
9756 case $host in 10430 case $host in
9757 *-*-mingw*) 10431 *-*-mingw*)
9758 # gcc leaves a trailing carriage return which upsets mingw 10432 # gcc leaves a trailing carriage return which upsets mingw
9759 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 10433 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9760 *) 10434 *)
9779 # If it is relative, then search for the first ld in PATH. 10453 # If it is relative, then search for the first ld in PATH.
9780 with_gnu_ld=unknown 10454 with_gnu_ld=unknown
9781 ;; 10455 ;;
9782 esac 10456 esac
9783elif test "$with_gnu_ld" = yes; then 10457elif test "$with_gnu_ld" = yes; then
9784 echo "$as_me:$LINENO: checking for GNU ld" >&5 10458 { echo "$as_me:$LINENO: checking for GNU ld" >&5
9785echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 10459echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
9786else 10460else
9787 echo "$as_me:$LINENO: checking for non-GNU ld" >&5 10461 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9788echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 10462echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
9789fi 10463fi
9790if test "${lt_cv_path_LD+set}" = set; then 10464if test "${lt_cv_path_LD+set}" = set; then
9791 echo $ECHO_N "(cached) $ECHO_C" >&6 10465 echo $ECHO_N "(cached) $ECHO_C" >&6
9792else 10466else
9793 if test -z "$LD"; then 10467 if test -z "$LD"; then
9816fi 10490fi
9817fi 10491fi
9818 10492
9819LD="$lt_cv_path_LD" 10493LD="$lt_cv_path_LD"
9820if test -n "$LD"; then 10494if test -n "$LD"; then
9821 echo "$as_me:$LINENO: result: $LD" >&5 10495 { echo "$as_me:$LINENO: result: $LD" >&5
9822echo "${ECHO_T}$LD" >&6 10496echo "${ECHO_T}$LD" >&6; }
9823else 10497else
9824 echo "$as_me:$LINENO: result: no" >&5 10498 { echo "$as_me:$LINENO: result: no" >&5
9825echo "${ECHO_T}no" >&6 10499echo "${ECHO_T}no" >&6; }
9826fi 10500fi
9827test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 10501test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9828echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 10502echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9829 { (exit 1); exit 1; }; } 10503 { (exit 1); exit 1; }; }
9830echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 10504{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9831echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 10505echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
9832if test "${lt_cv_prog_gnu_ld+set}" = set; then 10506if test "${lt_cv_prog_gnu_ld+set}" = set; then
9833 echo $ECHO_N "(cached) $ECHO_C" >&6 10507 echo $ECHO_N "(cached) $ECHO_C" >&6
9834else 10508else
9835 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 10509 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9836case `$LD -v 2>&1 </dev/null` in 10510case `$LD -v 2>&1 </dev/null` in
9840*) 10514*)
9841 lt_cv_prog_gnu_ld=no 10515 lt_cv_prog_gnu_ld=no
9842 ;; 10516 ;;
9843esac 10517esac
9844fi 10518fi
9845echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 10519{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9846echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 10520echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
9847with_gnu_ld=$lt_cv_prog_gnu_ld 10521with_gnu_ld=$lt_cv_prog_gnu_ld
9848 10522
9849 10523
9850 10524
9851 # Check if GNU C++ uses GNU ld as the underlying linker, since the 10525 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9891 with_gnu_ld=no 10565 with_gnu_ld=no
9892 wlarc= 10566 wlarc=
9893fi 10567fi
9894 10568
9895# PORTME: fill in a description of your system's C++ link characteristics 10569# PORTME: fill in a description of your system's C++ link characteristics
9896echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 10570{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9897echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 10571echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
9898ld_shlibs_CXX=yes 10572ld_shlibs_CXX=yes
9899case $host_os in 10573case $host_os in
9900 aix3*) 10574 aix3*)
9901 # FIXME: insert proper C++ library support 10575 # FIXME: insert proper C++ library support
9902 ld_shlibs_CXX=no 10576 ld_shlibs_CXX=no
9999 ; 10673 ;
10000 return 0; 10674 return 0;
10001} 10675}
10002_ACEOF 10676_ACEOF
10003rm -f conftest.$ac_objext conftest$ac_exeext 10677rm -f conftest.$ac_objext conftest$ac_exeext
10678if { (ac_try="$ac_link"
10679case "(($ac_try" in
10680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10681 *) ac_try_echo=$ac_try;;
10682esac
10004if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10683eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10005 (eval $ac_link) 2>conftest.er1 10684 (eval "$ac_link") 2>conftest.er1
10006 ac_status=$? 10685 ac_status=$?
10007 grep -v '^ *+' conftest.er1 >conftest.err 10686 grep -v '^ *+' conftest.er1 >conftest.err
10008 rm -f conftest.er1 10687 rm -f conftest.er1
10009 cat conftest.err >&5 10688 cat conftest.err >&5
10010 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10011 (exit $ac_status); } && 10690 (exit $ac_status); } && {
10012 { ac_try='test -z "$ac_cxx_werror_flag" 10691 test -z "$ac_cxx_werror_flag" ||
10013 || test ! -s conftest.err' 10692 test ! -s conftest.err
10014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10693 } && test -s conftest$ac_exeext &&
10015 (eval $ac_try) 2>&5 10694 $as_test_x conftest$ac_exeext; then
10016 ac_status=$?
10017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10018 (exit $ac_status); }; } &&
10019 { ac_try='test -s conftest$ac_exeext'
10020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10021 (eval $ac_try) 2>&5
10022 ac_status=$?
10023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10024 (exit $ac_status); }; }; then
10025 10695
10026aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 10696aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10027}'` 10697}'`
10028# Check for a 64-bit object if we didn't find anything. 10698# Check for a 64-bit object if we didn't find anything.
10029if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 10699if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10030}'`; fi 10700}'`; fi
10031else 10701else
10032 echo "$as_me: failed program was:" >&5 10702 echo "$as_me: failed program was:" >&5
10033sed 's/^/| /' conftest.$ac_ext >&5 10703sed 's/^/| /' conftest.$ac_ext >&5
10034 10704
10705
10035fi 10706fi
10036rm -f conftest.err conftest.$ac_objext \ 10707
10708rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10037 conftest$ac_exeext conftest.$ac_ext 10709 conftest$ac_exeext conftest.$ac_ext
10038if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 10710if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10039 10711
10040 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 10712 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10041 10713
10061 ; 10733 ;
10062 return 0; 10734 return 0;
10063} 10735}
10064_ACEOF 10736_ACEOF
10065rm -f conftest.$ac_objext conftest$ac_exeext 10737rm -f conftest.$ac_objext conftest$ac_exeext
10738if { (ac_try="$ac_link"
10739case "(($ac_try" in
10740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10741 *) ac_try_echo=$ac_try;;
10742esac
10066if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10743eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10067 (eval $ac_link) 2>conftest.er1 10744 (eval "$ac_link") 2>conftest.er1
10068 ac_status=$? 10745 ac_status=$?
10069 grep -v '^ *+' conftest.er1 >conftest.err 10746 grep -v '^ *+' conftest.er1 >conftest.err
10070 rm -f conftest.er1 10747 rm -f conftest.er1
10071 cat conftest.err >&5 10748 cat conftest.err >&5
10072 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10073 (exit $ac_status); } && 10750 (exit $ac_status); } && {
10074 { ac_try='test -z "$ac_cxx_werror_flag" 10751 test -z "$ac_cxx_werror_flag" ||
10075 || test ! -s conftest.err' 10752 test ! -s conftest.err
10076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10753 } && test -s conftest$ac_exeext &&
10077 (eval $ac_try) 2>&5 10754 $as_test_x conftest$ac_exeext; then
10078 ac_status=$?
10079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10080 (exit $ac_status); }; } &&
10081 { ac_try='test -s conftest$ac_exeext'
10082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10083 (eval $ac_try) 2>&5
10084 ac_status=$?
10085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10086 (exit $ac_status); }; }; then
10087 10755
10088aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 10756aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10089}'` 10757}'`
10090# Check for a 64-bit object if we didn't find anything. 10758# Check for a 64-bit object if we didn't find anything.
10091if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 10759if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10092}'`; fi 10760}'`; fi
10093else 10761else
10094 echo "$as_me: failed program was:" >&5 10762 echo "$as_me: failed program was:" >&5
10095sed 's/^/| /' conftest.$ac_ext >&5 10763sed 's/^/| /' conftest.$ac_ext >&5
10096 10764
10765
10097fi 10766fi
10098rm -f conftest.err conftest.$ac_objext \ 10767
10768rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10099 conftest$ac_exeext conftest.$ac_ext 10769 conftest$ac_exeext conftest.$ac_ext
10100if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 10770if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10101 10771
10102 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 10772 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10103 # Warning - without using the other run time loading flags, 10773 # Warning - without using the other run time loading flags,
10719 *) 11389 *)
10720 # FIXME: insert proper C++ library support 11390 # FIXME: insert proper C++ library support
10721 ld_shlibs_CXX=no 11391 ld_shlibs_CXX=no
10722 ;; 11392 ;;
10723esac 11393esac
10724echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 11394{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10725echo "${ECHO_T}$ld_shlibs_CXX" >&6 11395echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
10726test "$ld_shlibs_CXX" = no && can_build_shared=no 11396test "$ld_shlibs_CXX" = no && can_build_shared=no
10727 11397
10728GCC_CXX="$GXX" 11398GCC_CXX="$GXX"
10729LD_CXX="$LD" 11399LD_CXX="$LD"
10730 11400
10836 11506
10837lt_prog_compiler_wl_CXX= 11507lt_prog_compiler_wl_CXX=
10838lt_prog_compiler_pic_CXX= 11508lt_prog_compiler_pic_CXX=
10839lt_prog_compiler_static_CXX= 11509lt_prog_compiler_static_CXX=
10840 11510
10841echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 11511{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10842echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 11512echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
10843 11513
10844 # C++ specific cases for pic, static, wl, etc. 11514 # C++ specific cases for pic, static, wl, etc.
10845 if test "$GXX" = yes; then 11515 if test "$GXX" = yes; then
10846 lt_prog_compiler_wl_CXX='-Wl,' 11516 lt_prog_compiler_wl_CXX='-Wl,'
10847 lt_prog_compiler_static_CXX='-static' 11517 lt_prog_compiler_static_CXX='-static'
11088 lt_prog_compiler_can_build_shared_CXX=no 11758 lt_prog_compiler_can_build_shared_CXX=no
11089 ;; 11759 ;;
11090 esac 11760 esac
11091 fi 11761 fi
11092 11762
11093echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 11763{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11094echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6 11764echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11095 11765
11096# 11766#
11097# Check to make sure the PIC flag actually works. 11767# Check to make sure the PIC flag actually works.
11098# 11768#
11099if test -n "$lt_prog_compiler_pic_CXX"; then 11769if test -n "$lt_prog_compiler_pic_CXX"; then
11100 11770
11101echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 11771{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11102echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6 11772echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
11103if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then 11773if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11104 echo $ECHO_N "(cached) $ECHO_C" >&6 11774 echo $ECHO_N "(cached) $ECHO_C" >&6
11105else 11775else
11106 lt_prog_compiler_pic_works_CXX=no 11776 lt_prog_compiler_pic_works_CXX=no
11107 ac_outfile=conftest.$ac_objext 11777 ac_outfile=conftest.$ac_objext
11114 # The option is referenced via a variable to avoid confusing sed. 11784 # The option is referenced via a variable to avoid confusing sed.
11115 lt_compile=`echo "$ac_compile" | $SED \ 11785 lt_compile=`echo "$ac_compile" | $SED \
11116 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 11786 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11117 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 11787 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11118 -e 's:$: $lt_compiler_flag:'` 11788 -e 's:$: $lt_compiler_flag:'`
11119 (eval echo "\"\$as_me:11119: $lt_compile\"" >&5) 11789 (eval echo "\"\$as_me:11789: $lt_compile\"" >&5)
11120 (eval "$lt_compile" 2>conftest.err) 11790 (eval "$lt_compile" 2>conftest.err)
11121 ac_status=$? 11791 ac_status=$?
11122 cat conftest.err >&5 11792 cat conftest.err >&5
11123 echo "$as_me:11123: \$? = $ac_status" >&5 11793 echo "$as_me:11793: \$? = $ac_status" >&5
11124 if (exit $ac_status) && test -s "$ac_outfile"; then 11794 if (exit $ac_status) && test -s "$ac_outfile"; then
11125 # The compiler can only warn and ignore the option if not recognized 11795 # The compiler can only warn and ignore the option if not recognized
11126 # So say no if there are warnings 11796 # So say no if there are warnings
11127 if test ! -s conftest.err; then 11797 if test ! -s conftest.err; then
11128 lt_prog_compiler_pic_works_CXX=yes 11798 lt_prog_compiler_pic_works_CXX=yes
11129 fi 11799 fi
11130 fi 11800 fi
11131 $rm conftest* 11801 $rm conftest*
11132 11802
11133fi 11803fi
11134echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 11804{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11135echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6 11805echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
11136 11806
11137if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then 11807if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
11138 case $lt_prog_compiler_pic_CXX in 11808 case $lt_prog_compiler_pic_CXX in
11139 "" | " "*) ;; 11809 "" | " "*) ;;
11140 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 11810 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
11153 *) 11823 *)
11154 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 11824 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
11155 ;; 11825 ;;
11156esac 11826esac
11157 11827
11158echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 11828{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11159echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 11829echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11160if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then 11830if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11161 echo $ECHO_N "(cached) $ECHO_C" >&6 11831 echo $ECHO_N "(cached) $ECHO_C" >&6
11162else 11832else
11163 lt_cv_prog_compiler_c_o_CXX=no 11833 lt_cv_prog_compiler_c_o_CXX=no
11164 $rm -r conftest 2>/dev/null 11834 $rm -r conftest 2>/dev/null
11174 # with a dollar sign (not a hyphen), so the echo should work correctly. 11844 # with a dollar sign (not a hyphen), so the echo should work correctly.
11175 lt_compile=`echo "$ac_compile" | $SED \ 11845 lt_compile=`echo "$ac_compile" | $SED \
11176 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 11846 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11177 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 11847 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11178 -e 's:$: $lt_compiler_flag:'` 11848 -e 's:$: $lt_compiler_flag:'`
11179 (eval echo "\"\$as_me:11179: $lt_compile\"" >&5) 11849 (eval echo "\"\$as_me:11849: $lt_compile\"" >&5)
11180 (eval "$lt_compile" 2>out/conftest.err) 11850 (eval "$lt_compile" 2>out/conftest.err)
11181 ac_status=$? 11851 ac_status=$?
11182 cat out/conftest.err >&5 11852 cat out/conftest.err >&5
11183 echo "$as_me:11183: \$? = $ac_status" >&5 11853 echo "$as_me:11853: \$? = $ac_status" >&5
11184 if (exit $ac_status) && test -s out/conftest2.$ac_objext 11854 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11185 then 11855 then
11186 # The compiler can only warn and ignore the option if not recognized 11856 # The compiler can only warn and ignore the option if not recognized
11187 # So say no if there are warnings 11857 # So say no if there are warnings
11188 if test ! -s out/conftest.err; then 11858 if test ! -s out/conftest.err; then
11198 cd .. 11868 cd ..
11199 rmdir conftest 11869 rmdir conftest
11200 $rm conftest* 11870 $rm conftest*
11201 11871
11202fi 11872fi
11203echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 11873{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11204echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6 11874echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
11205 11875
11206 11876
11207hard_links="nottested" 11877hard_links="nottested"
11208if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then 11878if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
11209 # do not overwrite the value of need_locks provided by the user 11879 # do not overwrite the value of need_locks provided by the user
11210 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 11880 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11211echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 11881echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11212 hard_links=yes 11882 hard_links=yes
11213 $rm conftest* 11883 $rm conftest*
11214 ln conftest.a conftest.b 2>/dev/null && hard_links=no 11884 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11215 touch conftest.a 11885 touch conftest.a
11216 ln conftest.a conftest.b 2>&5 || hard_links=no 11886 ln conftest.a conftest.b 2>&5 || hard_links=no
11217 ln conftest.a conftest.b 2>/dev/null && hard_links=no 11887 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11218 echo "$as_me:$LINENO: result: $hard_links" >&5 11888 { echo "$as_me:$LINENO: result: $hard_links" >&5
11219echo "${ECHO_T}$hard_links" >&6 11889echo "${ECHO_T}$hard_links" >&6; }
11220 if test "$hard_links" = no; then 11890 if test "$hard_links" = no; then
11221 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 11891 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11222echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 11892echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11223 need_locks=warn 11893 need_locks=warn
11224 fi 11894 fi
11225else 11895else
11226 need_locks=no 11896 need_locks=no
11227fi 11897fi
11228 11898
11229echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 11899{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11230echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 11900echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11231 11901
11232 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 11902 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11233 case $host_os in 11903 case $host_os in
11234 aix4* | aix5*) 11904 aix4* | aix5*)
11235 # If we're using GNU nm, then we don't want the "-C" option. 11905 # If we're using GNU nm, then we don't want the "-C" option.
11249 *) 11919 *)
11250 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 11920 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11251 ;; 11921 ;;
11252 esac 11922 esac
11253 11923
11254echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 11924{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11255echo "${ECHO_T}$ld_shlibs_CXX" >&6 11925echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11256test "$ld_shlibs_CXX" = no && can_build_shared=no 11926test "$ld_shlibs_CXX" = no && can_build_shared=no
11257 11927
11258variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11928variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11259if test "$GCC" = yes; then 11929if test "$GCC" = yes; then
11260 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11930 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11275 ;; 11945 ;;
11276 '$CC '*) 11946 '$CC '*)
11277 # Test whether the compiler implicitly links with -lc since on some 11947 # Test whether the compiler implicitly links with -lc since on some
11278 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11948 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11279 # to ld, don't add -lc before -lgcc. 11949 # to ld, don't add -lc before -lgcc.
11280 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 11950 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11281echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 11951echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11282 $rm conftest* 11952 $rm conftest*
11283 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 11953 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11284 11954
11285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11286 (eval $ac_compile) 2>&5 11956 (eval $ac_compile) 2>&5
11312 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 11982 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
11313 else 11983 else
11314 cat conftest.err 1>&5 11984 cat conftest.err 1>&5
11315 fi 11985 fi
11316 $rm conftest* 11986 $rm conftest*
11317 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 11987 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11318echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6 11988echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
11319 ;; 11989 ;;
11320 esac 11990 esac
11321 fi 11991 fi
11322 ;; 11992 ;;
11323esac 11993esac
11324 11994
11325echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 11995{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11326echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 11996echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11327library_names_spec= 11997library_names_spec=
11328libname_spec='lib$name' 11998libname_spec='lib$name'
11329soname_spec= 11999soname_spec=
11330shrext=".so" 12000shrext=".so"
11331postinstall_cmds= 12001postinstall_cmds=
11860 12530
11861*) 12531*)
11862 dynamic_linker=no 12532 dynamic_linker=no
11863 ;; 12533 ;;
11864esac 12534esac
11865echo "$as_me:$LINENO: result: $dynamic_linker" >&5 12535{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11866echo "${ECHO_T}$dynamic_linker" >&6 12536echo "${ECHO_T}$dynamic_linker" >&6; }
11867test "$dynamic_linker" = no && can_build_shared=no 12537test "$dynamic_linker" = no && can_build_shared=no
11868 12538
11869echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 12539{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11870echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 12540echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11871hardcode_action_CXX= 12541hardcode_action_CXX=
11872if test -n "$hardcode_libdir_flag_spec_CXX" || \ 12542if test -n "$hardcode_libdir_flag_spec_CXX" || \
11873 test -n "$runpath_var CXX" || \ 12543 test -n "$runpath_var CXX" || \
11874 test "X$hardcode_automatic_CXX"="Xyes" ; then 12544 test "X$hardcode_automatic_CXX"="Xyes" ; then
11875 12545
11889else 12559else
11890 # We cannot hardcode anything, or else we can only hardcode existing 12560 # We cannot hardcode anything, or else we can only hardcode existing
11891 # directories. 12561 # directories.
11892 hardcode_action_CXX=unsupported 12562 hardcode_action_CXX=unsupported
11893fi 12563fi
11894echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 12564{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11895echo "${ECHO_T}$hardcode_action_CXX" >&6 12565echo "${ECHO_T}$hardcode_action_CXX" >&6; }
11896 12566
11897if test "$hardcode_action_CXX" = relink; then 12567if test "$hardcode_action_CXX" = relink; then
11898 # Fast installation is not supported 12568 # Fast installation is not supported
11899 enable_fast_install=no 12569 enable_fast_install=no
11900elif test "$shlibpath_overrides_runpath" = yes || 12570elif test "$shlibpath_overrides_runpath" = yes ||
11903 enable_fast_install=needless 12573 enable_fast_install=needless
11904fi 12574fi
11905 12575
11906striplib= 12576striplib=
11907old_striplib= 12577old_striplib=
11908echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 12578{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11909echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 12579echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11910if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 12580if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11911 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12581 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11912 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12582 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11913 echo "$as_me:$LINENO: result: yes" >&5 12583 { echo "$as_me:$LINENO: result: yes" >&5
11914echo "${ECHO_T}yes" >&6 12584echo "${ECHO_T}yes" >&6; }
11915else 12585else
11916# FIXME - insert some real tests, host_os isn't really good enough 12586# FIXME - insert some real tests, host_os isn't really good enough
11917 case $host_os in 12587 case $host_os in
11918 darwin*) 12588 darwin*)
11919 if test -n "$STRIP" ; then 12589 if test -n "$STRIP" ; then
11920 striplib="$STRIP -x" 12590 striplib="$STRIP -x"
11921 echo "$as_me:$LINENO: result: yes" >&5 12591 { echo "$as_me:$LINENO: result: yes" >&5
11922echo "${ECHO_T}yes" >&6 12592echo "${ECHO_T}yes" >&6; }
11923 else 12593 else
11924 echo "$as_me:$LINENO: result: no" >&5 12594 { echo "$as_me:$LINENO: result: no" >&5
11925echo "${ECHO_T}no" >&6 12595echo "${ECHO_T}no" >&6; }
11926fi 12596fi
11927 ;; 12597 ;;
11928 *) 12598 *)
11929 echo "$as_me:$LINENO: result: no" >&5 12599 { echo "$as_me:$LINENO: result: no" >&5
11930echo "${ECHO_T}no" >&6 12600echo "${ECHO_T}no" >&6; }
11931 ;; 12601 ;;
11932 esac 12602 esac
11933fi 12603fi
11934 12604
11935if test "x$enable_dlopen" != xyes; then 12605if test "x$enable_dlopen" != xyes; then
11957 lt_cv_dlopen_libs= 12627 lt_cv_dlopen_libs=
11958 ;; 12628 ;;
11959 12629
11960 darwin*) 12630 darwin*)
11961 # if libdl is installed we need to link against it 12631 # if libdl is installed we need to link against it
11962 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 12632 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11963echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 12633echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11964if test "${ac_cv_lib_dl_dlopen+set}" = set; then 12634if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11965 echo $ECHO_N "(cached) $ECHO_C" >&6 12635 echo $ECHO_N "(cached) $ECHO_C" >&6
11966else 12636else
11967 ac_check_lib_save_LIBS=$LIBS 12637 ac_check_lib_save_LIBS=$LIBS
11968LIBS="-ldl $LIBS" 12638LIBS="-ldl $LIBS"
11971_ACEOF 12641_ACEOF
11972cat confdefs.h >>conftest.$ac_ext 12642cat confdefs.h >>conftest.$ac_ext
11973cat >>conftest.$ac_ext <<_ACEOF 12643cat >>conftest.$ac_ext <<_ACEOF
11974/* end confdefs.h. */ 12644/* end confdefs.h. */
11975 12645
11976/* Override any gcc2 internal prototype to avoid an error. */ 12646/* Override any GCC internal prototype to avoid an error.
12647 Use char because int might match the return type of a GCC
12648 builtin and then its argument prototype would still apply. */
11977#ifdef __cplusplus 12649#ifdef __cplusplus
11978extern "C" 12650extern "C"
11979#endif 12651#endif
11980/* We use char because int might match the return type of a gcc2
11981 builtin and then its argument prototype would still apply. */
11982char dlopen (); 12652char dlopen ();
11983int 12653int
11984main () 12654main ()
11985{ 12655{
11986dlopen (); 12656return dlopen ();
11987 ; 12657 ;
11988 return 0; 12658 return 0;
11989} 12659}
11990_ACEOF 12660_ACEOF
11991rm -f conftest.$ac_objext conftest$ac_exeext 12661rm -f conftest.$ac_objext conftest$ac_exeext
12662if { (ac_try="$ac_link"
12663case "(($ac_try" in
12664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12665 *) ac_try_echo=$ac_try;;
12666esac
11992if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12667eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11993 (eval $ac_link) 2>conftest.er1 12668 (eval "$ac_link") 2>conftest.er1
11994 ac_status=$? 12669 ac_status=$?
11995 grep -v '^ *+' conftest.er1 >conftest.err 12670 grep -v '^ *+' conftest.er1 >conftest.err
11996 rm -f conftest.er1 12671 rm -f conftest.er1
11997 cat conftest.err >&5 12672 cat conftest.err >&5
11998 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11999 (exit $ac_status); } && 12674 (exit $ac_status); } && {
12000 { ac_try='test -z "$ac_cxx_werror_flag" 12675 test -z "$ac_cxx_werror_flag" ||
12001 || test ! -s conftest.err' 12676 test ! -s conftest.err
12002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12677 } && test -s conftest$ac_exeext &&
12003 (eval $ac_try) 2>&5 12678 $as_test_x conftest$ac_exeext; then
12004 ac_status=$?
12005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12006 (exit $ac_status); }; } &&
12007 { ac_try='test -s conftest$ac_exeext'
12008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12009 (eval $ac_try) 2>&5
12010 ac_status=$?
12011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12012 (exit $ac_status); }; }; then
12013 ac_cv_lib_dl_dlopen=yes 12679 ac_cv_lib_dl_dlopen=yes
12014else 12680else
12015 echo "$as_me: failed program was:" >&5 12681 echo "$as_me: failed program was:" >&5
12016sed 's/^/| /' conftest.$ac_ext >&5 12682sed 's/^/| /' conftest.$ac_ext >&5
12017 12683
12018ac_cv_lib_dl_dlopen=no 12684 ac_cv_lib_dl_dlopen=no
12019fi 12685fi
12020rm -f conftest.err conftest.$ac_objext \ 12686
12687rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12021 conftest$ac_exeext conftest.$ac_ext 12688 conftest$ac_exeext conftest.$ac_ext
12022LIBS=$ac_check_lib_save_LIBS 12689LIBS=$ac_check_lib_save_LIBS
12023fi 12690fi
12024echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 12691{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12025echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 12692echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12026if test $ac_cv_lib_dl_dlopen = yes; then 12693if test $ac_cv_lib_dl_dlopen = yes; then
12027 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 12694 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12028else 12695else
12029 12696
12030 lt_cv_dlopen="dyld" 12697 lt_cv_dlopen="dyld"
12034fi 12701fi
12035 12702
12036 ;; 12703 ;;
12037 12704
12038 *) 12705 *)
12039 echo "$as_me:$LINENO: checking for shl_load" >&5 12706 { echo "$as_me:$LINENO: checking for shl_load" >&5
12040echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 12707echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
12041if test "${ac_cv_func_shl_load+set}" = set; then 12708if test "${ac_cv_func_shl_load+set}" = set; then
12042 echo $ECHO_N "(cached) $ECHO_C" >&6 12709 echo $ECHO_N "(cached) $ECHO_C" >&6
12043else 12710else
12044 cat >conftest.$ac_ext <<_ACEOF 12711 cat >conftest.$ac_ext <<_ACEOF
12045/* confdefs.h. */ 12712/* confdefs.h. */
12062# include <assert.h> 12729# include <assert.h>
12063#endif 12730#endif
12064 12731
12065#undef shl_load 12732#undef shl_load
12066 12733
12067/* Override any gcc2 internal prototype to avoid an error. */ 12734/* Override any GCC internal prototype to avoid an error.
12735 Use char because int might match the return type of a GCC
12736 builtin and then its argument prototype would still apply. */
12068#ifdef __cplusplus 12737#ifdef __cplusplus
12069extern "C" 12738extern "C"
12070{
12071#endif 12739#endif
12072/* We use char because int might match the return type of a gcc2
12073 builtin and then its argument prototype would still apply. */
12074char shl_load (); 12740char shl_load ();
12075/* The GNU C library defines this for functions which it implements 12741/* The GNU C library defines this for functions which it implements
12076 to always fail with ENOSYS. Some functions are actually named 12742 to always fail with ENOSYS. Some functions are actually named
12077 something starting with __ and the normal name is an alias. */ 12743 something starting with __ and the normal name is an alias. */
12078#if defined (__stub_shl_load) || defined (__stub___shl_load) 12744#if defined __stub_shl_load || defined __stub___shl_load
12079choke me 12745choke me
12080#else
12081char (*f) () = shl_load;
12082#endif
12083#ifdef __cplusplus
12084}
12085#endif 12746#endif
12086 12747
12087int 12748int
12088main () 12749main ()
12089{ 12750{
12090return f != shl_load; 12751return shl_load ();
12091 ; 12752 ;
12092 return 0; 12753 return 0;
12093} 12754}
12094_ACEOF 12755_ACEOF
12095rm -f conftest.$ac_objext conftest$ac_exeext 12756rm -f conftest.$ac_objext conftest$ac_exeext
12757if { (ac_try="$ac_link"
12758case "(($ac_try" in
12759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12760 *) ac_try_echo=$ac_try;;
12761esac
12096if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12762eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12097 (eval $ac_link) 2>conftest.er1 12763 (eval "$ac_link") 2>conftest.er1
12098 ac_status=$? 12764 ac_status=$?
12099 grep -v '^ *+' conftest.er1 >conftest.err 12765 grep -v '^ *+' conftest.er1 >conftest.err
12100 rm -f conftest.er1 12766 rm -f conftest.er1
12101 cat conftest.err >&5 12767 cat conftest.err >&5
12102 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12103 (exit $ac_status); } && 12769 (exit $ac_status); } && {
12104 { ac_try='test -z "$ac_cxx_werror_flag" 12770 test -z "$ac_cxx_werror_flag" ||
12105 || test ! -s conftest.err' 12771 test ! -s conftest.err
12106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12772 } && test -s conftest$ac_exeext &&
12107 (eval $ac_try) 2>&5 12773 $as_test_x conftest$ac_exeext; then
12108 ac_status=$?
12109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12110 (exit $ac_status); }; } &&
12111 { ac_try='test -s conftest$ac_exeext'
12112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12113 (eval $ac_try) 2>&5
12114 ac_status=$?
12115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12116 (exit $ac_status); }; }; then
12117 ac_cv_func_shl_load=yes 12774 ac_cv_func_shl_load=yes
12118else 12775else
12119 echo "$as_me: failed program was:" >&5 12776 echo "$as_me: failed program was:" >&5
12120sed 's/^/| /' conftest.$ac_ext >&5 12777sed 's/^/| /' conftest.$ac_ext >&5
12121 12778
12122ac_cv_func_shl_load=no 12779 ac_cv_func_shl_load=no
12123fi 12780fi
12124rm -f conftest.err conftest.$ac_objext \ 12781
12782rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12125 conftest$ac_exeext conftest.$ac_ext 12783 conftest$ac_exeext conftest.$ac_ext
12126fi 12784fi
12127echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 12785{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12128echo "${ECHO_T}$ac_cv_func_shl_load" >&6 12786echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
12129if test $ac_cv_func_shl_load = yes; then 12787if test $ac_cv_func_shl_load = yes; then
12130 lt_cv_dlopen="shl_load" 12788 lt_cv_dlopen="shl_load"
12131else 12789else
12132 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 12790 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12133echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 12791echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
12134if test "${ac_cv_lib_dld_shl_load+set}" = set; then 12792if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12135 echo $ECHO_N "(cached) $ECHO_C" >&6 12793 echo $ECHO_N "(cached) $ECHO_C" >&6
12136else 12794else
12137 ac_check_lib_save_LIBS=$LIBS 12795 ac_check_lib_save_LIBS=$LIBS
12138LIBS="-ldld $LIBS" 12796LIBS="-ldld $LIBS"
12141_ACEOF 12799_ACEOF
12142cat confdefs.h >>conftest.$ac_ext 12800cat confdefs.h >>conftest.$ac_ext
12143cat >>conftest.$ac_ext <<_ACEOF 12801cat >>conftest.$ac_ext <<_ACEOF
12144/* end confdefs.h. */ 12802/* end confdefs.h. */
12145 12803
12146/* Override any gcc2 internal prototype to avoid an error. */ 12804/* Override any GCC internal prototype to avoid an error.
12805 Use char because int might match the return type of a GCC
12806 builtin and then its argument prototype would still apply. */
12147#ifdef __cplusplus 12807#ifdef __cplusplus
12148extern "C" 12808extern "C"
12149#endif 12809#endif
12150/* We use char because int might match the return type of a gcc2
12151 builtin and then its argument prototype would still apply. */
12152char shl_load (); 12810char shl_load ();
12153int 12811int
12154main () 12812main ()
12155{ 12813{
12156shl_load (); 12814return shl_load ();
12157 ; 12815 ;
12158 return 0; 12816 return 0;
12159} 12817}
12160_ACEOF 12818_ACEOF
12161rm -f conftest.$ac_objext conftest$ac_exeext 12819rm -f conftest.$ac_objext conftest$ac_exeext
12820if { (ac_try="$ac_link"
12821case "(($ac_try" in
12822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12823 *) ac_try_echo=$ac_try;;
12824esac
12162if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12825eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12163 (eval $ac_link) 2>conftest.er1 12826 (eval "$ac_link") 2>conftest.er1
12164 ac_status=$? 12827 ac_status=$?
12165 grep -v '^ *+' conftest.er1 >conftest.err 12828 grep -v '^ *+' conftest.er1 >conftest.err
12166 rm -f conftest.er1 12829 rm -f conftest.er1
12167 cat conftest.err >&5 12830 cat conftest.err >&5
12168 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12169 (exit $ac_status); } && 12832 (exit $ac_status); } && {
12170 { ac_try='test -z "$ac_cxx_werror_flag" 12833 test -z "$ac_cxx_werror_flag" ||
12171 || test ! -s conftest.err' 12834 test ! -s conftest.err
12172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12835 } && test -s conftest$ac_exeext &&
12173 (eval $ac_try) 2>&5 12836 $as_test_x conftest$ac_exeext; then
12174 ac_status=$?
12175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12176 (exit $ac_status); }; } &&
12177 { ac_try='test -s conftest$ac_exeext'
12178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12179 (eval $ac_try) 2>&5
12180 ac_status=$?
12181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12182 (exit $ac_status); }; }; then
12183 ac_cv_lib_dld_shl_load=yes 12837 ac_cv_lib_dld_shl_load=yes
12184else 12838else
12185 echo "$as_me: failed program was:" >&5 12839 echo "$as_me: failed program was:" >&5
12186sed 's/^/| /' conftest.$ac_ext >&5 12840sed 's/^/| /' conftest.$ac_ext >&5
12187 12841
12188ac_cv_lib_dld_shl_load=no 12842 ac_cv_lib_dld_shl_load=no
12189fi 12843fi
12190rm -f conftest.err conftest.$ac_objext \ 12844
12845rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12191 conftest$ac_exeext conftest.$ac_ext 12846 conftest$ac_exeext conftest.$ac_ext
12192LIBS=$ac_check_lib_save_LIBS 12847LIBS=$ac_check_lib_save_LIBS
12193fi 12848fi
12194echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 12849{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12195echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 12850echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
12196if test $ac_cv_lib_dld_shl_load = yes; then 12851if test $ac_cv_lib_dld_shl_load = yes; then
12197 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" 12852 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12198else 12853else
12199 echo "$as_me:$LINENO: checking for dlopen" >&5 12854 { echo "$as_me:$LINENO: checking for dlopen" >&5
12200echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 12855echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
12201if test "${ac_cv_func_dlopen+set}" = set; then 12856if test "${ac_cv_func_dlopen+set}" = set; then
12202 echo $ECHO_N "(cached) $ECHO_C" >&6 12857 echo $ECHO_N "(cached) $ECHO_C" >&6
12203else 12858else
12204 cat >conftest.$ac_ext <<_ACEOF 12859 cat >conftest.$ac_ext <<_ACEOF
12205/* confdefs.h. */ 12860/* confdefs.h. */
12222# include <assert.h> 12877# include <assert.h>
12223#endif 12878#endif
12224 12879
12225#undef dlopen 12880#undef dlopen
12226 12881
12227/* Override any gcc2 internal prototype to avoid an error. */ 12882/* Override any GCC internal prototype to avoid an error.
12883 Use char because int might match the return type of a GCC
12884 builtin and then its argument prototype would still apply. */
12228#ifdef __cplusplus 12885#ifdef __cplusplus
12229extern "C" 12886extern "C"
12230{
12231#endif 12887#endif
12232/* We use char because int might match the return type of a gcc2
12233 builtin and then its argument prototype would still apply. */
12234char dlopen (); 12888char dlopen ();
12235/* The GNU C library defines this for functions which it implements 12889/* The GNU C library defines this for functions which it implements
12236 to always fail with ENOSYS. Some functions are actually named 12890 to always fail with ENOSYS. Some functions are actually named
12237 something starting with __ and the normal name is an alias. */ 12891 something starting with __ and the normal name is an alias. */
12238#if defined (__stub_dlopen) || defined (__stub___dlopen) 12892#if defined __stub_dlopen || defined __stub___dlopen
12239choke me 12893choke me
12240#else
12241char (*f) () = dlopen;
12242#endif
12243#ifdef __cplusplus
12244}
12245#endif 12894#endif
12246 12895
12247int 12896int
12248main () 12897main ()
12249{ 12898{
12250return f != dlopen; 12899return dlopen ();
12251 ; 12900 ;
12252 return 0; 12901 return 0;
12253} 12902}
12254_ACEOF 12903_ACEOF
12255rm -f conftest.$ac_objext conftest$ac_exeext 12904rm -f conftest.$ac_objext conftest$ac_exeext
12905if { (ac_try="$ac_link"
12906case "(($ac_try" in
12907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12908 *) ac_try_echo=$ac_try;;
12909esac
12256if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12910eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12257 (eval $ac_link) 2>conftest.er1 12911 (eval "$ac_link") 2>conftest.er1
12258 ac_status=$? 12912 ac_status=$?
12259 grep -v '^ *+' conftest.er1 >conftest.err 12913 grep -v '^ *+' conftest.er1 >conftest.err
12260 rm -f conftest.er1 12914 rm -f conftest.er1
12261 cat conftest.err >&5 12915 cat conftest.err >&5
12262 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12263 (exit $ac_status); } && 12917 (exit $ac_status); } && {
12264 { ac_try='test -z "$ac_cxx_werror_flag" 12918 test -z "$ac_cxx_werror_flag" ||
12265 || test ! -s conftest.err' 12919 test ! -s conftest.err
12266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12920 } && test -s conftest$ac_exeext &&
12267 (eval $ac_try) 2>&5 12921 $as_test_x conftest$ac_exeext; then
12268 ac_status=$?
12269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270 (exit $ac_status); }; } &&
12271 { ac_try='test -s conftest$ac_exeext'
12272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12273 (eval $ac_try) 2>&5
12274 ac_status=$?
12275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12276 (exit $ac_status); }; }; then
12277 ac_cv_func_dlopen=yes 12922 ac_cv_func_dlopen=yes
12278else 12923else
12279 echo "$as_me: failed program was:" >&5 12924 echo "$as_me: failed program was:" >&5
12280sed 's/^/| /' conftest.$ac_ext >&5 12925sed 's/^/| /' conftest.$ac_ext >&5
12281 12926
12282ac_cv_func_dlopen=no 12927 ac_cv_func_dlopen=no
12283fi 12928fi
12284rm -f conftest.err conftest.$ac_objext \ 12929
12930rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12285 conftest$ac_exeext conftest.$ac_ext 12931 conftest$ac_exeext conftest.$ac_ext
12286fi 12932fi
12287echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 12933{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12288echo "${ECHO_T}$ac_cv_func_dlopen" >&6 12934echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12289if test $ac_cv_func_dlopen = yes; then 12935if test $ac_cv_func_dlopen = yes; then
12290 lt_cv_dlopen="dlopen" 12936 lt_cv_dlopen="dlopen"
12291else 12937else
12292 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 12938 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12293echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 12939echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12294if test "${ac_cv_lib_dl_dlopen+set}" = set; then 12940if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12295 echo $ECHO_N "(cached) $ECHO_C" >&6 12941 echo $ECHO_N "(cached) $ECHO_C" >&6
12296else 12942else
12297 ac_check_lib_save_LIBS=$LIBS 12943 ac_check_lib_save_LIBS=$LIBS
12298LIBS="-ldl $LIBS" 12944LIBS="-ldl $LIBS"
12301_ACEOF 12947_ACEOF
12302cat confdefs.h >>conftest.$ac_ext 12948cat confdefs.h >>conftest.$ac_ext
12303cat >>conftest.$ac_ext <<_ACEOF 12949cat >>conftest.$ac_ext <<_ACEOF
12304/* end confdefs.h. */ 12950/* end confdefs.h. */
12305 12951
12306/* Override any gcc2 internal prototype to avoid an error. */ 12952/* Override any GCC internal prototype to avoid an error.
12953 Use char because int might match the return type of a GCC
12954 builtin and then its argument prototype would still apply. */
12307#ifdef __cplusplus 12955#ifdef __cplusplus
12308extern "C" 12956extern "C"
12309#endif 12957#endif
12310/* We use char because int might match the return type of a gcc2
12311 builtin and then its argument prototype would still apply. */
12312char dlopen (); 12958char dlopen ();
12313int 12959int
12314main () 12960main ()
12315{ 12961{
12316dlopen (); 12962return dlopen ();
12317 ; 12963 ;
12318 return 0; 12964 return 0;
12319} 12965}
12320_ACEOF 12966_ACEOF
12321rm -f conftest.$ac_objext conftest$ac_exeext 12967rm -f conftest.$ac_objext conftest$ac_exeext
12968if { (ac_try="$ac_link"
12969case "(($ac_try" in
12970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12971 *) ac_try_echo=$ac_try;;
12972esac
12322if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12973eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12323 (eval $ac_link) 2>conftest.er1 12974 (eval "$ac_link") 2>conftest.er1
12324 ac_status=$? 12975 ac_status=$?
12325 grep -v '^ *+' conftest.er1 >conftest.err 12976 grep -v '^ *+' conftest.er1 >conftest.err
12326 rm -f conftest.er1 12977 rm -f conftest.er1
12327 cat conftest.err >&5 12978 cat conftest.err >&5
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); } && 12980 (exit $ac_status); } && {
12330 { ac_try='test -z "$ac_cxx_werror_flag" 12981 test -z "$ac_cxx_werror_flag" ||
12331 || test ! -s conftest.err' 12982 test ! -s conftest.err
12332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12983 } && test -s conftest$ac_exeext &&
12333 (eval $ac_try) 2>&5 12984 $as_test_x conftest$ac_exeext; then
12334 ac_status=$?
12335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336 (exit $ac_status); }; } &&
12337 { ac_try='test -s conftest$ac_exeext'
12338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12339 (eval $ac_try) 2>&5
12340 ac_status=$?
12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12342 (exit $ac_status); }; }; then
12343 ac_cv_lib_dl_dlopen=yes 12985 ac_cv_lib_dl_dlopen=yes
12344else 12986else
12345 echo "$as_me: failed program was:" >&5 12987 echo "$as_me: failed program was:" >&5
12346sed 's/^/| /' conftest.$ac_ext >&5 12988sed 's/^/| /' conftest.$ac_ext >&5
12347 12989
12348ac_cv_lib_dl_dlopen=no 12990 ac_cv_lib_dl_dlopen=no
12349fi 12991fi
12350rm -f conftest.err conftest.$ac_objext \ 12992
12993rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12351 conftest$ac_exeext conftest.$ac_ext 12994 conftest$ac_exeext conftest.$ac_ext
12352LIBS=$ac_check_lib_save_LIBS 12995LIBS=$ac_check_lib_save_LIBS
12353fi 12996fi
12354echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 12997{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12355echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 12998echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12356if test $ac_cv_lib_dl_dlopen = yes; then 12999if test $ac_cv_lib_dl_dlopen = yes; then
12357 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 13000 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12358else 13001else
12359 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 13002 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12360echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 13003echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
12361if test "${ac_cv_lib_svld_dlopen+set}" = set; then 13004if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12362 echo $ECHO_N "(cached) $ECHO_C" >&6 13005 echo $ECHO_N "(cached) $ECHO_C" >&6
12363else 13006else
12364 ac_check_lib_save_LIBS=$LIBS 13007 ac_check_lib_save_LIBS=$LIBS
12365LIBS="-lsvld $LIBS" 13008LIBS="-lsvld $LIBS"
12368_ACEOF 13011_ACEOF
12369cat confdefs.h >>conftest.$ac_ext 13012cat confdefs.h >>conftest.$ac_ext
12370cat >>conftest.$ac_ext <<_ACEOF 13013cat >>conftest.$ac_ext <<_ACEOF
12371/* end confdefs.h. */ 13014/* end confdefs.h. */
12372 13015
12373/* Override any gcc2 internal prototype to avoid an error. */ 13016/* Override any GCC internal prototype to avoid an error.
13017 Use char because int might match the return type of a GCC
13018 builtin and then its argument prototype would still apply. */
12374#ifdef __cplusplus 13019#ifdef __cplusplus
12375extern "C" 13020extern "C"
12376#endif 13021#endif
12377/* We use char because int might match the return type of a gcc2
12378 builtin and then its argument prototype would still apply. */
12379char dlopen (); 13022char dlopen ();
12380int 13023int
12381main () 13024main ()
12382{ 13025{
12383dlopen (); 13026return dlopen ();
12384 ; 13027 ;
12385 return 0; 13028 return 0;
12386} 13029}
12387_ACEOF 13030_ACEOF
12388rm -f conftest.$ac_objext conftest$ac_exeext 13031rm -f conftest.$ac_objext conftest$ac_exeext
13032if { (ac_try="$ac_link"
13033case "(($ac_try" in
13034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13035 *) ac_try_echo=$ac_try;;
13036esac
12389if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13037eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12390 (eval $ac_link) 2>conftest.er1 13038 (eval "$ac_link") 2>conftest.er1
12391 ac_status=$? 13039 ac_status=$?
12392 grep -v '^ *+' conftest.er1 >conftest.err 13040 grep -v '^ *+' conftest.er1 >conftest.err
12393 rm -f conftest.er1 13041 rm -f conftest.er1
12394 cat conftest.err >&5 13042 cat conftest.err >&5
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); } && 13044 (exit $ac_status); } && {
12397 { ac_try='test -z "$ac_cxx_werror_flag" 13045 test -z "$ac_cxx_werror_flag" ||
12398 || test ! -s conftest.err' 13046 test ! -s conftest.err
12399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13047 } && test -s conftest$ac_exeext &&
12400 (eval $ac_try) 2>&5 13048 $as_test_x conftest$ac_exeext; then
12401 ac_status=$?
12402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12403 (exit $ac_status); }; } &&
12404 { ac_try='test -s conftest$ac_exeext'
12405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12406 (eval $ac_try) 2>&5
12407 ac_status=$?
12408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12409 (exit $ac_status); }; }; then
12410 ac_cv_lib_svld_dlopen=yes 13049 ac_cv_lib_svld_dlopen=yes
12411else 13050else
12412 echo "$as_me: failed program was:" >&5 13051 echo "$as_me: failed program was:" >&5
12413sed 's/^/| /' conftest.$ac_ext >&5 13052sed 's/^/| /' conftest.$ac_ext >&5
12414 13053
12415ac_cv_lib_svld_dlopen=no 13054 ac_cv_lib_svld_dlopen=no
12416fi 13055fi
12417rm -f conftest.err conftest.$ac_objext \ 13056
13057rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12418 conftest$ac_exeext conftest.$ac_ext 13058 conftest$ac_exeext conftest.$ac_ext
12419LIBS=$ac_check_lib_save_LIBS 13059LIBS=$ac_check_lib_save_LIBS
12420fi 13060fi
12421echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 13061{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12422echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 13062echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
12423if test $ac_cv_lib_svld_dlopen = yes; then 13063if test $ac_cv_lib_svld_dlopen = yes; then
12424 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 13064 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12425else 13065else
12426 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 13066 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12427echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 13067echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
12428if test "${ac_cv_lib_dld_dld_link+set}" = set; then 13068if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12429 echo $ECHO_N "(cached) $ECHO_C" >&6 13069 echo $ECHO_N "(cached) $ECHO_C" >&6
12430else 13070else
12431 ac_check_lib_save_LIBS=$LIBS 13071 ac_check_lib_save_LIBS=$LIBS
12432LIBS="-ldld $LIBS" 13072LIBS="-ldld $LIBS"
12435_ACEOF 13075_ACEOF
12436cat confdefs.h >>conftest.$ac_ext 13076cat confdefs.h >>conftest.$ac_ext
12437cat >>conftest.$ac_ext <<_ACEOF 13077cat >>conftest.$ac_ext <<_ACEOF
12438/* end confdefs.h. */ 13078/* end confdefs.h. */
12439 13079
12440/* Override any gcc2 internal prototype to avoid an error. */ 13080/* Override any GCC internal prototype to avoid an error.
13081 Use char because int might match the return type of a GCC
13082 builtin and then its argument prototype would still apply. */
12441#ifdef __cplusplus 13083#ifdef __cplusplus
12442extern "C" 13084extern "C"
12443#endif 13085#endif
12444/* We use char because int might match the return type of a gcc2
12445 builtin and then its argument prototype would still apply. */
12446char dld_link (); 13086char dld_link ();
12447int 13087int
12448main () 13088main ()
12449{ 13089{
12450dld_link (); 13090return dld_link ();
12451 ; 13091 ;
12452 return 0; 13092 return 0;
12453} 13093}
12454_ACEOF 13094_ACEOF
12455rm -f conftest.$ac_objext conftest$ac_exeext 13095rm -f conftest.$ac_objext conftest$ac_exeext
13096if { (ac_try="$ac_link"
13097case "(($ac_try" in
13098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13099 *) ac_try_echo=$ac_try;;
13100esac
12456if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13101eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12457 (eval $ac_link) 2>conftest.er1 13102 (eval "$ac_link") 2>conftest.er1
12458 ac_status=$? 13103 ac_status=$?
12459 grep -v '^ *+' conftest.er1 >conftest.err 13104 grep -v '^ *+' conftest.er1 >conftest.err
12460 rm -f conftest.er1 13105 rm -f conftest.er1
12461 cat conftest.err >&5 13106 cat conftest.err >&5
12462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12463 (exit $ac_status); } && 13108 (exit $ac_status); } && {
12464 { ac_try='test -z "$ac_cxx_werror_flag" 13109 test -z "$ac_cxx_werror_flag" ||
12465 || test ! -s conftest.err' 13110 test ! -s conftest.err
12466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13111 } && test -s conftest$ac_exeext &&
12467 (eval $ac_try) 2>&5 13112 $as_test_x conftest$ac_exeext; then
12468 ac_status=$?
12469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12470 (exit $ac_status); }; } &&
12471 { ac_try='test -s conftest$ac_exeext'
12472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12473 (eval $ac_try) 2>&5
12474 ac_status=$?
12475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12476 (exit $ac_status); }; }; then
12477 ac_cv_lib_dld_dld_link=yes 13113 ac_cv_lib_dld_dld_link=yes
12478else 13114else
12479 echo "$as_me: failed program was:" >&5 13115 echo "$as_me: failed program was:" >&5
12480sed 's/^/| /' conftest.$ac_ext >&5 13116sed 's/^/| /' conftest.$ac_ext >&5
12481 13117
12482ac_cv_lib_dld_dld_link=no 13118 ac_cv_lib_dld_dld_link=no
12483fi 13119fi
12484rm -f conftest.err conftest.$ac_objext \ 13120
13121rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12485 conftest$ac_exeext conftest.$ac_ext 13122 conftest$ac_exeext conftest.$ac_ext
12486LIBS=$ac_check_lib_save_LIBS 13123LIBS=$ac_check_lib_save_LIBS
12487fi 13124fi
12488echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 13125{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12489echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 13126echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
12490if test $ac_cv_lib_dld_dld_link = yes; then 13127if test $ac_cv_lib_dld_dld_link = yes; then
12491 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" 13128 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12492fi 13129fi
12493 13130
12494 13131
12524 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 13161 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12525 13162
12526 save_LIBS="$LIBS" 13163 save_LIBS="$LIBS"
12527 LIBS="$lt_cv_dlopen_libs $LIBS" 13164 LIBS="$lt_cv_dlopen_libs $LIBS"
12528 13165
12529 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 13166 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12530echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 13167echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
12531if test "${lt_cv_dlopen_self+set}" = set; then 13168if test "${lt_cv_dlopen_self+set}" = set; then
12532 echo $ECHO_N "(cached) $ECHO_C" >&6 13169 echo $ECHO_N "(cached) $ECHO_C" >&6
12533else 13170else
12534 if test "$cross_compiling" = yes; then : 13171 if test "$cross_compiling" = yes; then :
12535 lt_cv_dlopen_self=cross 13172 lt_cv_dlopen_self=cross
12536else 13173else
12537 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13174 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12538 lt_status=$lt_dlunknown 13175 lt_status=$lt_dlunknown
12539 cat > conftest.$ac_ext <<EOF 13176 cat > conftest.$ac_ext <<EOF
12540#line 12540 "configure" 13177#line 13177 "configure"
12541#include "confdefs.h" 13178#include "confdefs.h"
12542 13179
12543#if HAVE_DLFCN_H 13180#if HAVE_DLFCN_H
12544#include <dlfcn.h> 13181#include <dlfcn.h>
12545#endif 13182#endif
12617fi 13254fi
12618rm -fr conftest* 13255rm -fr conftest*
12619 13256
12620 13257
12621fi 13258fi
12622echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 13259{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12623echo "${ECHO_T}$lt_cv_dlopen_self" >&6 13260echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
12624 13261
12625 if test "x$lt_cv_dlopen_self" = xyes; then 13262 if test "x$lt_cv_dlopen_self" = xyes; then
12626 LDFLAGS="$LDFLAGS $link_static_flag" 13263 LDFLAGS="$LDFLAGS $link_static_flag"
12627 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 13264 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12628echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 13265echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
12629if test "${lt_cv_dlopen_self_static+set}" = set; then 13266if test "${lt_cv_dlopen_self_static+set}" = set; then
12630 echo $ECHO_N "(cached) $ECHO_C" >&6 13267 echo $ECHO_N "(cached) $ECHO_C" >&6
12631else 13268else
12632 if test "$cross_compiling" = yes; then : 13269 if test "$cross_compiling" = yes; then :
12633 lt_cv_dlopen_self_static=cross 13270 lt_cv_dlopen_self_static=cross
12634else 13271else
12635 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13272 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12636 lt_status=$lt_dlunknown 13273 lt_status=$lt_dlunknown
12637 cat > conftest.$ac_ext <<EOF 13274 cat > conftest.$ac_ext <<EOF
12638#line 12638 "configure" 13275#line 13275 "configure"
12639#include "confdefs.h" 13276#include "confdefs.h"
12640 13277
12641#if HAVE_DLFCN_H 13278#if HAVE_DLFCN_H
12642#include <dlfcn.h> 13279#include <dlfcn.h>
12643#endif 13280#endif
12715fi 13352fi
12716rm -fr conftest* 13353rm -fr conftest*
12717 13354
12718 13355
12719fi 13356fi
12720echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 13357{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12721echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 13358echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
12722 fi 13359 fi
12723 13360
12724 CPPFLAGS="$save_CPPFLAGS" 13361 CPPFLAGS="$save_CPPFLAGS"
12725 LDFLAGS="$save_LDFLAGS" 13362 LDFLAGS="$save_LDFLAGS"
12726 LIBS="$save_LIBS" 13363 LIBS="$save_LIBS"
13215CC=${F77-"f77"} 13852CC=${F77-"f77"}
13216compiler=$CC 13853compiler=$CC
13217compiler_F77=$CC 13854compiler_F77=$CC
13218cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` 13855cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
13219 13856
13220echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 13857{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13221echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 13858echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13222echo "$as_me:$LINENO: result: $can_build_shared" >&5 13859{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
13223echo "${ECHO_T}$can_build_shared" >&6 13860echo "${ECHO_T}$can_build_shared" >&6; }
13224 13861
13225echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 13862{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13226echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 13863echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13227test "$can_build_shared" = "no" && enable_shared=no 13864test "$can_build_shared" = "no" && enable_shared=no
13228 13865
13229# On AIX, shared libraries and static libraries use the same namespace, and 13866# On AIX, shared libraries and static libraries use the same namespace, and
13230# are all built from PIC. 13867# are all built from PIC.
13231case "$host_os" in 13868case "$host_os" in
13238 ;; 13875 ;;
13239aix4*) 13876aix4*)
13240 test "$enable_shared" = yes && enable_static=no 13877 test "$enable_shared" = yes && enable_static=no
13241 ;; 13878 ;;
13242esac 13879esac
13243echo "$as_me:$LINENO: result: $enable_shared" >&5 13880{ echo "$as_me:$LINENO: result: $enable_shared" >&5
13244echo "${ECHO_T}$enable_shared" >&6 13881echo "${ECHO_T}$enable_shared" >&6; }
13245 13882
13246echo "$as_me:$LINENO: checking whether to build static libraries" >&5 13883{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13247echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 13884echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13248# Make sure either enable_shared or enable_static is yes. 13885# Make sure either enable_shared or enable_static is yes.
13249test "$enable_shared" = yes || enable_static=yes 13886test "$enable_shared" = yes || enable_static=yes
13250echo "$as_me:$LINENO: result: $enable_static" >&5 13887{ echo "$as_me:$LINENO: result: $enable_static" >&5
13251echo "${ECHO_T}$enable_static" >&6 13888echo "${ECHO_T}$enable_static" >&6; }
13252 13889
13253test "$ld_shlibs_F77" = no && can_build_shared=no 13890test "$ld_shlibs_F77" = no && can_build_shared=no
13254 13891
13255GCC_F77="$G77" 13892GCC_F77="$G77"
13256LD_F77="$LD" 13893LD_F77="$LD"
13257 13894
13258lt_prog_compiler_wl_F77= 13895lt_prog_compiler_wl_F77=
13259lt_prog_compiler_pic_F77= 13896lt_prog_compiler_pic_F77=
13260lt_prog_compiler_static_F77= 13897lt_prog_compiler_static_F77=
13261 13898
13262echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 13899{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13263echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 13900echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13264 13901
13265 if test "$GCC" = yes; then 13902 if test "$GCC" = yes; then
13266 lt_prog_compiler_wl_F77='-Wl,' 13903 lt_prog_compiler_wl_F77='-Wl,'
13267 lt_prog_compiler_static_F77='-static' 13904 lt_prog_compiler_static_F77='-static'
13268 13905
13434 lt_prog_compiler_can_build_shared_F77=no 14071 lt_prog_compiler_can_build_shared_F77=no
13435 ;; 14072 ;;
13436 esac 14073 esac
13437 fi 14074 fi
13438 14075
13439echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 14076{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13440echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6 14077echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13441 14078
13442# 14079#
13443# Check to make sure the PIC flag actually works. 14080# Check to make sure the PIC flag actually works.
13444# 14081#
13445if test -n "$lt_prog_compiler_pic_F77"; then 14082if test -n "$lt_prog_compiler_pic_F77"; then
13446 14083
13447echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 14084{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13448echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6 14085echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13449if test "${lt_prog_compiler_pic_works_F77+set}" = set; then 14086if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13450 echo $ECHO_N "(cached) $ECHO_C" >&6 14087 echo $ECHO_N "(cached) $ECHO_C" >&6
13451else 14088else
13452 lt_prog_compiler_pic_works_F77=no 14089 lt_prog_compiler_pic_works_F77=no
13453 ac_outfile=conftest.$ac_objext 14090 ac_outfile=conftest.$ac_objext
13460 # The option is referenced via a variable to avoid confusing sed. 14097 # The option is referenced via a variable to avoid confusing sed.
13461 lt_compile=`echo "$ac_compile" | $SED \ 14098 lt_compile=`echo "$ac_compile" | $SED \
13462 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 14099 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13463 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14100 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13464 -e 's:$: $lt_compiler_flag:'` 14101 -e 's:$: $lt_compiler_flag:'`
13465 (eval echo "\"\$as_me:13465: $lt_compile\"" >&5) 14102 (eval echo "\"\$as_me:14102: $lt_compile\"" >&5)
13466 (eval "$lt_compile" 2>conftest.err) 14103 (eval "$lt_compile" 2>conftest.err)
13467 ac_status=$? 14104 ac_status=$?
13468 cat conftest.err >&5 14105 cat conftest.err >&5
13469 echo "$as_me:13469: \$? = $ac_status" >&5 14106 echo "$as_me:14106: \$? = $ac_status" >&5
13470 if (exit $ac_status) && test -s "$ac_outfile"; then 14107 if (exit $ac_status) && test -s "$ac_outfile"; then
13471 # The compiler can only warn and ignore the option if not recognized 14108 # The compiler can only warn and ignore the option if not recognized
13472 # So say no if there are warnings 14109 # So say no if there are warnings
13473 if test ! -s conftest.err; then 14110 if test ! -s conftest.err; then
13474 lt_prog_compiler_pic_works_F77=yes 14111 lt_prog_compiler_pic_works_F77=yes
13475 fi 14112 fi
13476 fi 14113 fi
13477 $rm conftest* 14114 $rm conftest*
13478 14115
13479fi 14116fi
13480echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 14117{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13481echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6 14118echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
13482 14119
13483if test x"$lt_prog_compiler_pic_works_F77" = xyes; then 14120if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13484 case $lt_prog_compiler_pic_F77 in 14121 case $lt_prog_compiler_pic_F77 in
13485 "" | " "*) ;; 14122 "" | " "*) ;;
13486 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; 14123 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13499 *) 14136 *)
13500 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" 14137 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13501 ;; 14138 ;;
13502esac 14139esac
13503 14140
13504echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 14141{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13505echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 14142echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13506if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then 14143if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13507 echo $ECHO_N "(cached) $ECHO_C" >&6 14144 echo $ECHO_N "(cached) $ECHO_C" >&6
13508else 14145else
13509 lt_cv_prog_compiler_c_o_F77=no 14146 lt_cv_prog_compiler_c_o_F77=no
13510 $rm -r conftest 2>/dev/null 14147 $rm -r conftest 2>/dev/null
13520 # with a dollar sign (not a hyphen), so the echo should work correctly. 14157 # with a dollar sign (not a hyphen), so the echo should work correctly.
13521 lt_compile=`echo "$ac_compile" | $SED \ 14158 lt_compile=`echo "$ac_compile" | $SED \
13522 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 14159 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13523 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14160 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13524 -e 's:$: $lt_compiler_flag:'` 14161 -e 's:$: $lt_compiler_flag:'`
13525 (eval echo "\"\$as_me:13525: $lt_compile\"" >&5) 14162 (eval echo "\"\$as_me:14162: $lt_compile\"" >&5)
13526 (eval "$lt_compile" 2>out/conftest.err) 14163 (eval "$lt_compile" 2>out/conftest.err)
13527 ac_status=$? 14164 ac_status=$?
13528 cat out/conftest.err >&5 14165 cat out/conftest.err >&5
13529 echo "$as_me:13529: \$? = $ac_status" >&5 14166 echo "$as_me:14166: \$? = $ac_status" >&5
13530 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14167 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13531 then 14168 then
13532 # The compiler can only warn and ignore the option if not recognized 14169 # The compiler can only warn and ignore the option if not recognized
13533 # So say no if there are warnings 14170 # So say no if there are warnings
13534 if test ! -s out/conftest.err; then 14171 if test ! -s out/conftest.err; then
13544 cd .. 14181 cd ..
13545 rmdir conftest 14182 rmdir conftest
13546 $rm conftest* 14183 $rm conftest*
13547 14184
13548fi 14185fi
13549echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 14186{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13550echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6 14187echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
13551 14188
13552 14189
13553hard_links="nottested" 14190hard_links="nottested"
13554if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then 14191if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13555 # do not overwrite the value of need_locks provided by the user 14192 # do not overwrite the value of need_locks provided by the user
13556 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 14193 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13557echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 14194echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13558 hard_links=yes 14195 hard_links=yes
13559 $rm conftest* 14196 $rm conftest*
13560 ln conftest.a conftest.b 2>/dev/null && hard_links=no 14197 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13561 touch conftest.a 14198 touch conftest.a
13562 ln conftest.a conftest.b 2>&5 || hard_links=no 14199 ln conftest.a conftest.b 2>&5 || hard_links=no
13563 ln conftest.a conftest.b 2>/dev/null && hard_links=no 14200 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13564 echo "$as_me:$LINENO: result: $hard_links" >&5 14201 { echo "$as_me:$LINENO: result: $hard_links" >&5
13565echo "${ECHO_T}$hard_links" >&6 14202echo "${ECHO_T}$hard_links" >&6; }
13566 if test "$hard_links" = no; then 14203 if test "$hard_links" = no; then
13567 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 14204 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13568echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 14205echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13569 need_locks=warn 14206 need_locks=warn
13570 fi 14207 fi
13571else 14208else
13572 need_locks=no 14209 need_locks=no
13573fi 14210fi
13574 14211
13575echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 14212{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13576echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 14213echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13577 14214
13578 runpath_var= 14215 runpath_var=
13579 allow_undefined_flag_F77= 14216 allow_undefined_flag_F77=
13580 enable_shared_with_static_runtimes_F77=no 14217 enable_shared_with_static_runtimes_F77=no
13581 archive_cmds_F77= 14218 archive_cmds_F77=
13893 program main 14530 program main
13894 14531
13895 end 14532 end
13896_ACEOF 14533_ACEOF
13897rm -f conftest.$ac_objext conftest$ac_exeext 14534rm -f conftest.$ac_objext conftest$ac_exeext
14535if { (ac_try="$ac_link"
14536case "(($ac_try" in
14537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14538 *) ac_try_echo=$ac_try;;
14539esac
13898if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 14540eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13899 (eval $ac_link) 2>conftest.er1 14541 (eval "$ac_link") 2>conftest.er1
13900 ac_status=$? 14542 ac_status=$?
13901 grep -v '^ *+' conftest.er1 >conftest.err 14543 grep -v '^ *+' conftest.er1 >conftest.err
13902 rm -f conftest.er1 14544 rm -f conftest.er1
13903 cat conftest.err >&5 14545 cat conftest.err >&5
13904 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13905 (exit $ac_status); } && 14547 (exit $ac_status); } && {
13906 { ac_try='test -z "$ac_f77_werror_flag" 14548 test -z "$ac_f77_werror_flag" ||
13907 || test ! -s conftest.err' 14549 test ! -s conftest.err
13908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14550 } && test -s conftest$ac_exeext &&
13909 (eval $ac_try) 2>&5 14551 $as_test_x conftest$ac_exeext; then
13910 ac_status=$?
13911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13912 (exit $ac_status); }; } &&
13913 { ac_try='test -s conftest$ac_exeext'
13914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13915 (eval $ac_try) 2>&5
13916 ac_status=$?
13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 (exit $ac_status); }; }; then
13919 14552
13920aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 14553aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13921}'` 14554}'`
13922# Check for a 64-bit object if we didn't find anything. 14555# Check for a 64-bit object if we didn't find anything.
13923if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 14556if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13924}'`; fi 14557}'`; fi
13925else 14558else
13926 echo "$as_me: failed program was:" >&5 14559 echo "$as_me: failed program was:" >&5
13927sed 's/^/| /' conftest.$ac_ext >&5 14560sed 's/^/| /' conftest.$ac_ext >&5
13928 14561
14562
13929fi 14563fi
13930rm -f conftest.err conftest.$ac_objext \ 14564
14565rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13931 conftest$ac_exeext conftest.$ac_ext 14566 conftest$ac_exeext conftest.$ac_ext
13932if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 14567if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13933 14568
13934 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" 14569 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13935 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" 14570 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13944 program main 14579 program main
13945 14580
13946 end 14581 end
13947_ACEOF 14582_ACEOF
13948rm -f conftest.$ac_objext conftest$ac_exeext 14583rm -f conftest.$ac_objext conftest$ac_exeext
14584if { (ac_try="$ac_link"
14585case "(($ac_try" in
14586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14587 *) ac_try_echo=$ac_try;;
14588esac
13949if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 14589eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13950 (eval $ac_link) 2>conftest.er1 14590 (eval "$ac_link") 2>conftest.er1
13951 ac_status=$? 14591 ac_status=$?
13952 grep -v '^ *+' conftest.er1 >conftest.err 14592 grep -v '^ *+' conftest.er1 >conftest.err
13953 rm -f conftest.er1 14593 rm -f conftest.er1
13954 cat conftest.err >&5 14594 cat conftest.err >&5
13955 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13956 (exit $ac_status); } && 14596 (exit $ac_status); } && {
13957 { ac_try='test -z "$ac_f77_werror_flag" 14597 test -z "$ac_f77_werror_flag" ||
13958 || test ! -s conftest.err' 14598 test ! -s conftest.err
13959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14599 } && test -s conftest$ac_exeext &&
13960 (eval $ac_try) 2>&5 14600 $as_test_x conftest$ac_exeext; then
13961 ac_status=$?
13962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13963 (exit $ac_status); }; } &&
13964 { ac_try='test -s conftest$ac_exeext'
13965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13966 (eval $ac_try) 2>&5
13967 ac_status=$?
13968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13969 (exit $ac_status); }; }; then
13970 14601
13971aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 14602aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13972}'` 14603}'`
13973# Check for a 64-bit object if we didn't find anything. 14604# Check for a 64-bit object if we didn't find anything.
13974if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 14605if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13975}'`; fi 14606}'`; fi
13976else 14607else
13977 echo "$as_me: failed program was:" >&5 14608 echo "$as_me: failed program was:" >&5
13978sed 's/^/| /' conftest.$ac_ext >&5 14609sed 's/^/| /' conftest.$ac_ext >&5
13979 14610
14611
13980fi 14612fi
13981rm -f conftest.err conftest.$ac_objext \ 14613
14614rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13982 conftest$ac_exeext conftest.$ac_ext 14615 conftest$ac_exeext conftest.$ac_ext
13983if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 14616if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13984 14617
13985 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" 14618 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13986 # Warning - without using the other run time loading flags, 14619 # Warning - without using the other run time loading flags,
14398 ld_shlibs_F77=no 15031 ld_shlibs_F77=no
14399 ;; 15032 ;;
14400 esac 15033 esac
14401 fi 15034 fi
14402 15035
14403echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 15036{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14404echo "${ECHO_T}$ld_shlibs_F77" >&6 15037echo "${ECHO_T}$ld_shlibs_F77" >&6; }
14405test "$ld_shlibs_F77" = no && can_build_shared=no 15038test "$ld_shlibs_F77" = no && can_build_shared=no
14406 15039
14407variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 15040variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14408if test "$GCC" = yes; then 15041if test "$GCC" = yes; then
14409 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 15042 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14424 ;; 15057 ;;
14425 '$CC '*) 15058 '$CC '*)
14426 # Test whether the compiler implicitly links with -lc since on some 15059 # Test whether the compiler implicitly links with -lc since on some
14427 # systems, -lgcc has to come before -lc. If gcc already passes -lc 15060 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14428 # to ld, don't add -lc before -lgcc. 15061 # to ld, don't add -lc before -lgcc.
14429 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 15062 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14430echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 15063echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14431 $rm conftest* 15064 $rm conftest*
14432 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 15065 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14433 15066
14434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 15067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14435 (eval $ac_compile) 2>&5 15068 (eval $ac_compile) 2>&5
14461 allow_undefined_flag_F77=$lt_save_allow_undefined_flag 15094 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
14462 else 15095 else
14463 cat conftest.err 1>&5 15096 cat conftest.err 1>&5
14464 fi 15097 fi
14465 $rm conftest* 15098 $rm conftest*
14466 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 15099 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14467echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6 15100echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
14468 ;; 15101 ;;
14469 esac 15102 esac
14470 fi 15103 fi
14471 ;; 15104 ;;
14472esac 15105esac
14473 15106
14474echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 15107{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14475echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 15108echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14476library_names_spec= 15109library_names_spec=
14477libname_spec='lib$name' 15110libname_spec='lib$name'
14478soname_spec= 15111soname_spec=
14479shrext=".so" 15112shrext=".so"
14480postinstall_cmds= 15113postinstall_cmds=
15009 15642
15010*) 15643*)
15011 dynamic_linker=no 15644 dynamic_linker=no
15012 ;; 15645 ;;
15013esac 15646esac
15014echo "$as_me:$LINENO: result: $dynamic_linker" >&5 15647{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15015echo "${ECHO_T}$dynamic_linker" >&6 15648echo "${ECHO_T}$dynamic_linker" >&6; }
15016test "$dynamic_linker" = no && can_build_shared=no 15649test "$dynamic_linker" = no && can_build_shared=no
15017 15650
15018echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 15651{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15019echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 15652echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15020hardcode_action_F77= 15653hardcode_action_F77=
15021if test -n "$hardcode_libdir_flag_spec_F77" || \ 15654if test -n "$hardcode_libdir_flag_spec_F77" || \
15022 test -n "$runpath_var F77" || \ 15655 test -n "$runpath_var F77" || \
15023 test "X$hardcode_automatic_F77"="Xyes" ; then 15656 test "X$hardcode_automatic_F77"="Xyes" ; then
15024 15657
15038else 15671else
15039 # We cannot hardcode anything, or else we can only hardcode existing 15672 # We cannot hardcode anything, or else we can only hardcode existing
15040 # directories. 15673 # directories.
15041 hardcode_action_F77=unsupported 15674 hardcode_action_F77=unsupported
15042fi 15675fi
15043echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 15676{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15044echo "${ECHO_T}$hardcode_action_F77" >&6 15677echo "${ECHO_T}$hardcode_action_F77" >&6; }
15045 15678
15046if test "$hardcode_action_F77" = relink; then 15679if test "$hardcode_action_F77" = relink; then
15047 # Fast installation is not supported 15680 # Fast installation is not supported
15048 enable_fast_install=no 15681 enable_fast_install=no
15049elif test "$shlibpath_overrides_runpath" = yes || 15682elif test "$shlibpath_overrides_runpath" = yes ||
15052 enable_fast_install=needless 15685 enable_fast_install=needless
15053fi 15686fi
15054 15687
15055striplib= 15688striplib=
15056old_striplib= 15689old_striplib=
15057echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 15690{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15058echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 15691echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
15059if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 15692if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15060 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 15693 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15061 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 15694 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15062 echo "$as_me:$LINENO: result: yes" >&5 15695 { echo "$as_me:$LINENO: result: yes" >&5
15063echo "${ECHO_T}yes" >&6 15696echo "${ECHO_T}yes" >&6; }
15064else 15697else
15065# FIXME - insert some real tests, host_os isn't really good enough 15698# FIXME - insert some real tests, host_os isn't really good enough
15066 case $host_os in 15699 case $host_os in
15067 darwin*) 15700 darwin*)
15068 if test -n "$STRIP" ; then 15701 if test -n "$STRIP" ; then
15069 striplib="$STRIP -x" 15702 striplib="$STRIP -x"
15070 echo "$as_me:$LINENO: result: yes" >&5 15703 { echo "$as_me:$LINENO: result: yes" >&5
15071echo "${ECHO_T}yes" >&6 15704echo "${ECHO_T}yes" >&6; }
15072 else 15705 else
15073 echo "$as_me:$LINENO: result: no" >&5 15706 { echo "$as_me:$LINENO: result: no" >&5
15074echo "${ECHO_T}no" >&6 15707echo "${ECHO_T}no" >&6; }
15075fi 15708fi
15076 ;; 15709 ;;
15077 *) 15710 *)
15078 echo "$as_me:$LINENO: result: no" >&5 15711 { echo "$as_me:$LINENO: result: no" >&5
15079echo "${ECHO_T}no" >&6 15712echo "${ECHO_T}no" >&6; }
15080 ;; 15713 ;;
15081 esac 15714 esac
15082fi 15715fi
15083 15716
15084 15717
15497 16130
15498 GCJ) 16131 GCJ)
15499 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then 16132 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15500 16133
15501 16134
15502
15503# Source file extension for Java test sources. 16135# Source file extension for Java test sources.
15504ac_ext=java 16136ac_ext=java
15505 16137
15506# Object file extension for compiled Java test sources. 16138# Object file extension for compiled Java test sources.
15507objext=o 16139objext=o
15536 16168
15537if test "$GCC" = yes; then 16169if test "$GCC" = yes; then
15538 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' 16170 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15539 16171
15540 16172
15541echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 16173{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15542echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 16174echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
15543if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then 16175if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15544 echo $ECHO_N "(cached) $ECHO_C" >&6 16176 echo $ECHO_N "(cached) $ECHO_C" >&6
15545else 16177else
15546 lt_cv_prog_compiler_rtti_exceptions=no 16178 lt_cv_prog_compiler_rtti_exceptions=no
15547 ac_outfile=conftest.$ac_objext 16179 ac_outfile=conftest.$ac_objext
15554 # The option is referenced via a variable to avoid confusing sed. 16186 # The option is referenced via a variable to avoid confusing sed.
15555 lt_compile=`echo "$ac_compile" | $SED \ 16187 lt_compile=`echo "$ac_compile" | $SED \
15556 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 16188 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15557 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16189 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15558 -e 's:$: $lt_compiler_flag:'` 16190 -e 's:$: $lt_compiler_flag:'`
15559 (eval echo "\"\$as_me:15559: $lt_compile\"" >&5) 16191 (eval echo "\"\$as_me:16191: $lt_compile\"" >&5)
15560 (eval "$lt_compile" 2>conftest.err) 16192 (eval "$lt_compile" 2>conftest.err)
15561 ac_status=$? 16193 ac_status=$?
15562 cat conftest.err >&5 16194 cat conftest.err >&5
15563 echo "$as_me:15563: \$? = $ac_status" >&5 16195 echo "$as_me:16195: \$? = $ac_status" >&5
15564 if (exit $ac_status) && test -s "$ac_outfile"; then 16196 if (exit $ac_status) && test -s "$ac_outfile"; then
15565 # The compiler can only warn and ignore the option if not recognized 16197 # The compiler can only warn and ignore the option if not recognized
15566 # So say no if there are warnings 16198 # So say no if there are warnings
15567 if test ! -s conftest.err; then 16199 if test ! -s conftest.err; then
15568 lt_cv_prog_compiler_rtti_exceptions=yes 16200 lt_cv_prog_compiler_rtti_exceptions=yes
15569 fi 16201 fi
15570 fi 16202 fi
15571 $rm conftest* 16203 $rm conftest*
15572 16204
15573fi 16205fi
15574echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 16206{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15575echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 16207echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
15576 16208
15577if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 16209if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15578 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" 16210 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15579else 16211else
15580 : 16212 :
15584 16216
15585lt_prog_compiler_wl_GCJ= 16217lt_prog_compiler_wl_GCJ=
15586lt_prog_compiler_pic_GCJ= 16218lt_prog_compiler_pic_GCJ=
15587lt_prog_compiler_static_GCJ= 16219lt_prog_compiler_static_GCJ=
15588 16220
15589echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 16221{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15590echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 16222echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15591 16223
15592 if test "$GCC" = yes; then 16224 if test "$GCC" = yes; then
15593 lt_prog_compiler_wl_GCJ='-Wl,' 16225 lt_prog_compiler_wl_GCJ='-Wl,'
15594 lt_prog_compiler_static_GCJ='-static' 16226 lt_prog_compiler_static_GCJ='-static'
15595 16227
15761 lt_prog_compiler_can_build_shared_GCJ=no 16393 lt_prog_compiler_can_build_shared_GCJ=no
15762 ;; 16394 ;;
15763 esac 16395 esac
15764 fi 16396 fi
15765 16397
15766echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 16398{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15767echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6 16399echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
15768 16400
15769# 16401#
15770# Check to make sure the PIC flag actually works. 16402# Check to make sure the PIC flag actually works.
15771# 16403#
15772if test -n "$lt_prog_compiler_pic_GCJ"; then 16404if test -n "$lt_prog_compiler_pic_GCJ"; then
15773 16405
15774echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 16406{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15775echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6 16407echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
15776if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then 16408if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15777 echo $ECHO_N "(cached) $ECHO_C" >&6 16409 echo $ECHO_N "(cached) $ECHO_C" >&6
15778else 16410else
15779 lt_prog_compiler_pic_works_GCJ=no 16411 lt_prog_compiler_pic_works_GCJ=no
15780 ac_outfile=conftest.$ac_objext 16412 ac_outfile=conftest.$ac_objext
15787 # The option is referenced via a variable to avoid confusing sed. 16419 # The option is referenced via a variable to avoid confusing sed.
15788 lt_compile=`echo "$ac_compile" | $SED \ 16420 lt_compile=`echo "$ac_compile" | $SED \
15789 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 16421 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15790 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16422 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15791 -e 's:$: $lt_compiler_flag:'` 16423 -e 's:$: $lt_compiler_flag:'`
15792 (eval echo "\"\$as_me:15792: $lt_compile\"" >&5) 16424 (eval echo "\"\$as_me:16424: $lt_compile\"" >&5)
15793 (eval "$lt_compile" 2>conftest.err) 16425 (eval "$lt_compile" 2>conftest.err)
15794 ac_status=$? 16426 ac_status=$?
15795 cat conftest.err >&5 16427 cat conftest.err >&5
15796 echo "$as_me:15796: \$? = $ac_status" >&5 16428 echo "$as_me:16428: \$? = $ac_status" >&5
15797 if (exit $ac_status) && test -s "$ac_outfile"; then 16429 if (exit $ac_status) && test -s "$ac_outfile"; then
15798 # The compiler can only warn and ignore the option if not recognized 16430 # The compiler can only warn and ignore the option if not recognized
15799 # So say no if there are warnings 16431 # So say no if there are warnings
15800 if test ! -s conftest.err; then 16432 if test ! -s conftest.err; then
15801 lt_prog_compiler_pic_works_GCJ=yes 16433 lt_prog_compiler_pic_works_GCJ=yes
15802 fi 16434 fi
15803 fi 16435 fi
15804 $rm conftest* 16436 $rm conftest*
15805 16437
15806fi 16438fi
15807echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 16439{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15808echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6 16440echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
15809 16441
15810if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then 16442if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15811 case $lt_prog_compiler_pic_GCJ in 16443 case $lt_prog_compiler_pic_GCJ in
15812 "" | " "*) ;; 16444 "" | " "*) ;;
15813 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; 16445 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15826 *) 16458 *)
15827 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" 16459 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15828 ;; 16460 ;;
15829esac 16461esac
15830 16462
15831echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 16463{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15832echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 16464echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15833if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then 16465if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15834 echo $ECHO_N "(cached) $ECHO_C" >&6 16466 echo $ECHO_N "(cached) $ECHO_C" >&6
15835else 16467else
15836 lt_cv_prog_compiler_c_o_GCJ=no 16468 lt_cv_prog_compiler_c_o_GCJ=no
15837 $rm -r conftest 2>/dev/null 16469 $rm -r conftest 2>/dev/null
15847 # with a dollar sign (not a hyphen), so the echo should work correctly. 16479 # with a dollar sign (not a hyphen), so the echo should work correctly.
15848 lt_compile=`echo "$ac_compile" | $SED \ 16480 lt_compile=`echo "$ac_compile" | $SED \
15849 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 16481 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15850 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16482 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15851 -e 's:$: $lt_compiler_flag:'` 16483 -e 's:$: $lt_compiler_flag:'`
15852 (eval echo "\"\$as_me:15852: $lt_compile\"" >&5) 16484 (eval echo "\"\$as_me:16484: $lt_compile\"" >&5)
15853 (eval "$lt_compile" 2>out/conftest.err) 16485 (eval "$lt_compile" 2>out/conftest.err)
15854 ac_status=$? 16486 ac_status=$?
15855 cat out/conftest.err >&5 16487 cat out/conftest.err >&5
15856 echo "$as_me:15856: \$? = $ac_status" >&5 16488 echo "$as_me:16488: \$? = $ac_status" >&5
15857 if (exit $ac_status) && test -s out/conftest2.$ac_objext 16489 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15858 then 16490 then
15859 # The compiler can only warn and ignore the option if not recognized 16491 # The compiler can only warn and ignore the option if not recognized
15860 # So say no if there are warnings 16492 # So say no if there are warnings
15861 if test ! -s out/conftest.err; then 16493 if test ! -s out/conftest.err; then
15871 cd .. 16503 cd ..
15872 rmdir conftest 16504 rmdir conftest
15873 $rm conftest* 16505 $rm conftest*
15874 16506
15875fi 16507fi
15876echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 16508{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15877echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6 16509echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
15878 16510
15879 16511
15880hard_links="nottested" 16512hard_links="nottested"
15881if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then 16513if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15882 # do not overwrite the value of need_locks provided by the user 16514 # do not overwrite the value of need_locks provided by the user
15883 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 16515 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15884echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 16516echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15885 hard_links=yes 16517 hard_links=yes
15886 $rm conftest* 16518 $rm conftest*
15887 ln conftest.a conftest.b 2>/dev/null && hard_links=no 16519 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15888 touch conftest.a 16520 touch conftest.a
15889 ln conftest.a conftest.b 2>&5 || hard_links=no 16521 ln conftest.a conftest.b 2>&5 || hard_links=no
15890 ln conftest.a conftest.b 2>/dev/null && hard_links=no 16522 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15891 echo "$as_me:$LINENO: result: $hard_links" >&5 16523 { echo "$as_me:$LINENO: result: $hard_links" >&5
15892echo "${ECHO_T}$hard_links" >&6 16524echo "${ECHO_T}$hard_links" >&6; }
15893 if test "$hard_links" = no; then 16525 if test "$hard_links" = no; then
15894 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 16526 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15895echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 16527echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15896 need_locks=warn 16528 need_locks=warn
15897 fi 16529 fi
15898else 16530else
15899 need_locks=no 16531 need_locks=no
15900fi 16532fi
15901 16533
15902echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 16534{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15903echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 16535echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15904 16536
15905 runpath_var= 16537 runpath_var=
15906 allow_undefined_flag_GCJ= 16538 allow_undefined_flag_GCJ=
15907 enable_shared_with_static_runtimes_GCJ=no 16539 enable_shared_with_static_runtimes_GCJ=no
15908 archive_cmds_GCJ= 16540 archive_cmds_GCJ=
16230 ; 16862 ;
16231 return 0; 16863 return 0;
16232} 16864}
16233_ACEOF 16865_ACEOF
16234rm -f conftest.$ac_objext conftest$ac_exeext 16866rm -f conftest.$ac_objext conftest$ac_exeext
16867if { (ac_try="$ac_link"
16868case "(($ac_try" in
16869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16870 *) ac_try_echo=$ac_try;;
16871esac
16235if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 16872eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16236 (eval $ac_link) 2>conftest.er1 16873 (eval "$ac_link") 2>conftest.er1
16237 ac_status=$? 16874 ac_status=$?
16238 grep -v '^ *+' conftest.er1 >conftest.err 16875 grep -v '^ *+' conftest.er1 >conftest.err
16239 rm -f conftest.er1 16876 rm -f conftest.er1
16240 cat conftest.err >&5 16877 cat conftest.err >&5
16241 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16242 (exit $ac_status); } && 16879 (exit $ac_status); } && {
16243 { ac_try='test -z "$ac_c_werror_flag" 16880 test -z "$ac_c_werror_flag" ||
16244 || test ! -s conftest.err' 16881 test ! -s conftest.err
16245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16882 } && test -s conftest$ac_exeext &&
16246 (eval $ac_try) 2>&5 16883 $as_test_x conftest$ac_exeext; then
16247 ac_status=$?
16248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16249 (exit $ac_status); }; } &&
16250 { ac_try='test -s conftest$ac_exeext'
16251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16252 (eval $ac_try) 2>&5
16253 ac_status=$?
16254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16255 (exit $ac_status); }; }; then
16256 16884
16257aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 16885aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16258}'` 16886}'`
16259# Check for a 64-bit object if we didn't find anything. 16887# Check for a 64-bit object if we didn't find anything.
16260if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 16888if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16261}'`; fi 16889}'`; fi
16262else 16890else
16263 echo "$as_me: failed program was:" >&5 16891 echo "$as_me: failed program was:" >&5
16264sed 's/^/| /' conftest.$ac_ext >&5 16892sed 's/^/| /' conftest.$ac_ext >&5
16265 16893
16894
16266fi 16895fi
16267rm -f conftest.err conftest.$ac_objext \ 16896
16897rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16268 conftest$ac_exeext conftest.$ac_ext 16898 conftest$ac_exeext conftest.$ac_ext
16269if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 16899if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16270 16900
16271 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" 16901 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16272 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" 16902 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16291 ; 16921 ;
16292 return 0; 16922 return 0;
16293} 16923}
16294_ACEOF 16924_ACEOF
16295rm -f conftest.$ac_objext conftest$ac_exeext 16925rm -f conftest.$ac_objext conftest$ac_exeext
16926if { (ac_try="$ac_link"
16927case "(($ac_try" in
16928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16929 *) ac_try_echo=$ac_try;;
16930esac
16296if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 16931eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16297 (eval $ac_link) 2>conftest.er1 16932 (eval "$ac_link") 2>conftest.er1
16298 ac_status=$? 16933 ac_status=$?
16299 grep -v '^ *+' conftest.er1 >conftest.err 16934 grep -v '^ *+' conftest.er1 >conftest.err
16300 rm -f conftest.er1 16935 rm -f conftest.er1
16301 cat conftest.err >&5 16936 cat conftest.err >&5
16302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16303 (exit $ac_status); } && 16938 (exit $ac_status); } && {
16304 { ac_try='test -z "$ac_c_werror_flag" 16939 test -z "$ac_c_werror_flag" ||
16305 || test ! -s conftest.err' 16940 test ! -s conftest.err
16306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16941 } && test -s conftest$ac_exeext &&
16307 (eval $ac_try) 2>&5 16942 $as_test_x conftest$ac_exeext; then
16308 ac_status=$?
16309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16310 (exit $ac_status); }; } &&
16311 { ac_try='test -s conftest$ac_exeext'
16312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16313 (eval $ac_try) 2>&5
16314 ac_status=$?
16315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16316 (exit $ac_status); }; }; then
16317 16943
16318aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 16944aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16319}'` 16945}'`
16320# Check for a 64-bit object if we didn't find anything. 16946# Check for a 64-bit object if we didn't find anything.
16321if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 16947if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16322}'`; fi 16948}'`; fi
16323else 16949else
16324 echo "$as_me: failed program was:" >&5 16950 echo "$as_me: failed program was:" >&5
16325sed 's/^/| /' conftest.$ac_ext >&5 16951sed 's/^/| /' conftest.$ac_ext >&5
16326 16952
16953
16327fi 16954fi
16328rm -f conftest.err conftest.$ac_objext \ 16955
16956rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16329 conftest$ac_exeext conftest.$ac_ext 16957 conftest$ac_exeext conftest.$ac_ext
16330if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 16958if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16331 16959
16332 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" 16960 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16333 # Warning - without using the other run time loading flags, 16961 # Warning - without using the other run time loading flags,
16745 ld_shlibs_GCJ=no 17373 ld_shlibs_GCJ=no
16746 ;; 17374 ;;
16747 esac 17375 esac
16748 fi 17376 fi
16749 17377
16750echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 17378{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16751echo "${ECHO_T}$ld_shlibs_GCJ" >&6 17379echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
16752test "$ld_shlibs_GCJ" = no && can_build_shared=no 17380test "$ld_shlibs_GCJ" = no && can_build_shared=no
16753 17381
16754variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 17382variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16755if test "$GCC" = yes; then 17383if test "$GCC" = yes; then
16756 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 17384 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16771 ;; 17399 ;;
16772 '$CC '*) 17400 '$CC '*)
16773 # Test whether the compiler implicitly links with -lc since on some 17401 # Test whether the compiler implicitly links with -lc since on some
16774 # systems, -lgcc has to come before -lc. If gcc already passes -lc 17402 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16775 # to ld, don't add -lc before -lgcc. 17403 # to ld, don't add -lc before -lgcc.
16776 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 17404 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16777echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 17405echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16778 $rm conftest* 17406 $rm conftest*
16779 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 17407 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16780 17408
16781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 17409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16782 (eval $ac_compile) 2>&5 17410 (eval $ac_compile) 2>&5
16808 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag 17436 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16809 else 17437 else
16810 cat conftest.err 1>&5 17438 cat conftest.err 1>&5
16811 fi 17439 fi
16812 $rm conftest* 17440 $rm conftest*
16813 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 17441 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16814echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6 17442echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
16815 ;; 17443 ;;
16816 esac 17444 esac
16817 fi 17445 fi
16818 ;; 17446 ;;
16819esac 17447esac
16820 17448
16821echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 17449{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16822echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 17450echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16823library_names_spec= 17451library_names_spec=
16824libname_spec='lib$name' 17452libname_spec='lib$name'
16825soname_spec= 17453soname_spec=
16826shrext=".so" 17454shrext=".so"
16827postinstall_cmds= 17455postinstall_cmds=
17356 17984
17357*) 17985*)
17358 dynamic_linker=no 17986 dynamic_linker=no
17359 ;; 17987 ;;
17360esac 17988esac
17361echo "$as_me:$LINENO: result: $dynamic_linker" >&5 17989{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17362echo "${ECHO_T}$dynamic_linker" >&6 17990echo "${ECHO_T}$dynamic_linker" >&6; }
17363test "$dynamic_linker" = no && can_build_shared=no 17991test "$dynamic_linker" = no && can_build_shared=no
17364 17992
17365echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 17993{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17366echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 17994echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17367hardcode_action_GCJ= 17995hardcode_action_GCJ=
17368if test -n "$hardcode_libdir_flag_spec_GCJ" || \ 17996if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17369 test -n "$runpath_var GCJ" || \ 17997 test -n "$runpath_var GCJ" || \
17370 test "X$hardcode_automatic_GCJ"="Xyes" ; then 17998 test "X$hardcode_automatic_GCJ"="Xyes" ; then
17371 17999
17385else 18013else
17386 # We cannot hardcode anything, or else we can only hardcode existing 18014 # We cannot hardcode anything, or else we can only hardcode existing
17387 # directories. 18015 # directories.
17388 hardcode_action_GCJ=unsupported 18016 hardcode_action_GCJ=unsupported
17389fi 18017fi
17390echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 18018{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17391echo "${ECHO_T}$hardcode_action_GCJ" >&6 18019echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
17392 18020
17393if test "$hardcode_action_GCJ" = relink; then 18021if test "$hardcode_action_GCJ" = relink; then
17394 # Fast installation is not supported 18022 # Fast installation is not supported
17395 enable_fast_install=no 18023 enable_fast_install=no
17396elif test "$shlibpath_overrides_runpath" = yes || 18024elif test "$shlibpath_overrides_runpath" = yes ||
17399 enable_fast_install=needless 18027 enable_fast_install=needless
17400fi 18028fi
17401 18029
17402striplib= 18030striplib=
17403old_striplib= 18031old_striplib=
17404echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 18032{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17405echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 18033echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
17406if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 18034if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
17407 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 18035 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
17408 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 18036 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
17409 echo "$as_me:$LINENO: result: yes" >&5 18037 { echo "$as_me:$LINENO: result: yes" >&5
17410echo "${ECHO_T}yes" >&6 18038echo "${ECHO_T}yes" >&6; }
17411else 18039else
17412# FIXME - insert some real tests, host_os isn't really good enough 18040# FIXME - insert some real tests, host_os isn't really good enough
17413 case $host_os in 18041 case $host_os in
17414 darwin*) 18042 darwin*)
17415 if test -n "$STRIP" ; then 18043 if test -n "$STRIP" ; then
17416 striplib="$STRIP -x" 18044 striplib="$STRIP -x"
17417 echo "$as_me:$LINENO: result: yes" >&5 18045 { echo "$as_me:$LINENO: result: yes" >&5
17418echo "${ECHO_T}yes" >&6 18046echo "${ECHO_T}yes" >&6; }
17419 else 18047 else
17420 echo "$as_me:$LINENO: result: no" >&5 18048 { echo "$as_me:$LINENO: result: no" >&5
17421echo "${ECHO_T}no" >&6 18049echo "${ECHO_T}no" >&6; }
17422fi 18050fi
17423 ;; 18051 ;;
17424 *) 18052 *)
17425 echo "$as_me:$LINENO: result: no" >&5 18053 { echo "$as_me:$LINENO: result: no" >&5
17426echo "${ECHO_T}no" >&6 18054echo "${ECHO_T}no" >&6; }
17427 ;; 18055 ;;
17428 esac 18056 esac
17429fi 18057fi
17430 18058
17431if test "x$enable_dlopen" != xyes; then 18059if test "x$enable_dlopen" != xyes; then
17453 lt_cv_dlopen_libs= 18081 lt_cv_dlopen_libs=
17454 ;; 18082 ;;
17455 18083
17456 darwin*) 18084 darwin*)
17457 # if libdl is installed we need to link against it 18085 # if libdl is installed we need to link against it
17458 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 18086 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17459echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 18087echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17460if test "${ac_cv_lib_dl_dlopen+set}" = set; then 18088if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17461 echo $ECHO_N "(cached) $ECHO_C" >&6 18089 echo $ECHO_N "(cached) $ECHO_C" >&6
17462else 18090else
17463 ac_check_lib_save_LIBS=$LIBS 18091 ac_check_lib_save_LIBS=$LIBS
17464LIBS="-ldl $LIBS" 18092LIBS="-ldl $LIBS"
17467_ACEOF 18095_ACEOF
17468cat confdefs.h >>conftest.$ac_ext 18096cat confdefs.h >>conftest.$ac_ext
17469cat >>conftest.$ac_ext <<_ACEOF 18097cat >>conftest.$ac_ext <<_ACEOF
17470/* end confdefs.h. */ 18098/* end confdefs.h. */
17471 18099
17472/* Override any gcc2 internal prototype to avoid an error. */ 18100/* Override any GCC internal prototype to avoid an error.
18101 Use char because int might match the return type of a GCC
18102 builtin and then its argument prototype would still apply. */
17473#ifdef __cplusplus 18103#ifdef __cplusplus
17474extern "C" 18104extern "C"
17475#endif 18105#endif
17476/* We use char because int might match the return type of a gcc2
17477 builtin and then its argument prototype would still apply. */
17478char dlopen (); 18106char dlopen ();
17479int 18107int
17480main () 18108main ()
17481{ 18109{
17482dlopen (); 18110return dlopen ();
17483 ; 18111 ;
17484 return 0; 18112 return 0;
17485} 18113}
17486_ACEOF 18114_ACEOF
17487rm -f conftest.$ac_objext conftest$ac_exeext 18115rm -f conftest.$ac_objext conftest$ac_exeext
18116if { (ac_try="$ac_link"
18117case "(($ac_try" in
18118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18119 *) ac_try_echo=$ac_try;;
18120esac
17488if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18121eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17489 (eval $ac_link) 2>conftest.er1 18122 (eval "$ac_link") 2>conftest.er1
17490 ac_status=$? 18123 ac_status=$?
17491 grep -v '^ *+' conftest.er1 >conftest.err 18124 grep -v '^ *+' conftest.er1 >conftest.err
17492 rm -f conftest.er1 18125 rm -f conftest.er1
17493 cat conftest.err >&5 18126 cat conftest.err >&5
17494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17495 (exit $ac_status); } && 18128 (exit $ac_status); } && {
17496 { ac_try='test -z "$ac_c_werror_flag" 18129 test -z "$ac_c_werror_flag" ||
17497 || test ! -s conftest.err' 18130 test ! -s conftest.err
17498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18131 } && test -s conftest$ac_exeext &&
17499 (eval $ac_try) 2>&5 18132 $as_test_x conftest$ac_exeext; then
17500 ac_status=$?
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); }; } &&
17503 { ac_try='test -s conftest$ac_exeext'
17504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17505 (eval $ac_try) 2>&5
17506 ac_status=$?
17507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17508 (exit $ac_status); }; }; then
17509 ac_cv_lib_dl_dlopen=yes 18133 ac_cv_lib_dl_dlopen=yes
17510else 18134else
17511 echo "$as_me: failed program was:" >&5 18135 echo "$as_me: failed program was:" >&5
17512sed 's/^/| /' conftest.$ac_ext >&5 18136sed 's/^/| /' conftest.$ac_ext >&5
17513 18137
17514ac_cv_lib_dl_dlopen=no 18138 ac_cv_lib_dl_dlopen=no
17515fi 18139fi
17516rm -f conftest.err conftest.$ac_objext \ 18140
18141rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17517 conftest$ac_exeext conftest.$ac_ext 18142 conftest$ac_exeext conftest.$ac_ext
17518LIBS=$ac_check_lib_save_LIBS 18143LIBS=$ac_check_lib_save_LIBS
17519fi 18144fi
17520echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 18145{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17521echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 18146echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17522if test $ac_cv_lib_dl_dlopen = yes; then 18147if test $ac_cv_lib_dl_dlopen = yes; then
17523 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 18148 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17524else 18149else
17525 18150
17526 lt_cv_dlopen="dyld" 18151 lt_cv_dlopen="dyld"
17530fi 18155fi
17531 18156
17532 ;; 18157 ;;
17533 18158
17534 *) 18159 *)
17535 echo "$as_me:$LINENO: checking for shl_load" >&5 18160 { echo "$as_me:$LINENO: checking for shl_load" >&5
17536echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 18161echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
17537if test "${ac_cv_func_shl_load+set}" = set; then 18162if test "${ac_cv_func_shl_load+set}" = set; then
17538 echo $ECHO_N "(cached) $ECHO_C" >&6 18163 echo $ECHO_N "(cached) $ECHO_C" >&6
17539else 18164else
17540 cat >conftest.$ac_ext <<_ACEOF 18165 cat >conftest.$ac_ext <<_ACEOF
17541/* confdefs.h. */ 18166/* confdefs.h. */
17558# include <assert.h> 18183# include <assert.h>
17559#endif 18184#endif
17560 18185
17561#undef shl_load 18186#undef shl_load
17562 18187
17563/* Override any gcc2 internal prototype to avoid an error. */ 18188/* Override any GCC internal prototype to avoid an error.
18189 Use char because int might match the return type of a GCC
18190 builtin and then its argument prototype would still apply. */
17564#ifdef __cplusplus 18191#ifdef __cplusplus
17565extern "C" 18192extern "C"
17566{
17567#endif 18193#endif
17568/* We use char because int might match the return type of a gcc2
17569 builtin and then its argument prototype would still apply. */
17570char shl_load (); 18194char shl_load ();
17571/* The GNU C library defines this for functions which it implements 18195/* The GNU C library defines this for functions which it implements
17572 to always fail with ENOSYS. Some functions are actually named 18196 to always fail with ENOSYS. Some functions are actually named
17573 something starting with __ and the normal name is an alias. */ 18197 something starting with __ and the normal name is an alias. */
17574#if defined (__stub_shl_load) || defined (__stub___shl_load) 18198#if defined __stub_shl_load || defined __stub___shl_load
17575choke me 18199choke me
17576#else
17577char (*f) () = shl_load;
17578#endif
17579#ifdef __cplusplus
17580}
17581#endif 18200#endif
17582 18201
17583int 18202int
17584main () 18203main ()
17585{ 18204{
17586return f != shl_load; 18205return shl_load ();
17587 ; 18206 ;
17588 return 0; 18207 return 0;
17589} 18208}
17590_ACEOF 18209_ACEOF
17591rm -f conftest.$ac_objext conftest$ac_exeext 18210rm -f conftest.$ac_objext conftest$ac_exeext
18211if { (ac_try="$ac_link"
18212case "(($ac_try" in
18213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18214 *) ac_try_echo=$ac_try;;
18215esac
17592if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18216eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17593 (eval $ac_link) 2>conftest.er1 18217 (eval "$ac_link") 2>conftest.er1
17594 ac_status=$? 18218 ac_status=$?
17595 grep -v '^ *+' conftest.er1 >conftest.err 18219 grep -v '^ *+' conftest.er1 >conftest.err
17596 rm -f conftest.er1 18220 rm -f conftest.er1
17597 cat conftest.err >&5 18221 cat conftest.err >&5
17598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599 (exit $ac_status); } && 18223 (exit $ac_status); } && {
17600 { ac_try='test -z "$ac_c_werror_flag" 18224 test -z "$ac_c_werror_flag" ||
17601 || test ! -s conftest.err' 18225 test ! -s conftest.err
17602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18226 } && test -s conftest$ac_exeext &&
17603 (eval $ac_try) 2>&5 18227 $as_test_x conftest$ac_exeext; then
17604 ac_status=$?
17605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17606 (exit $ac_status); }; } &&
17607 { ac_try='test -s conftest$ac_exeext'
17608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17609 (eval $ac_try) 2>&5
17610 ac_status=$?
17611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17612 (exit $ac_status); }; }; then
17613 ac_cv_func_shl_load=yes 18228 ac_cv_func_shl_load=yes
17614else 18229else
17615 echo "$as_me: failed program was:" >&5 18230 echo "$as_me: failed program was:" >&5
17616sed 's/^/| /' conftest.$ac_ext >&5 18231sed 's/^/| /' conftest.$ac_ext >&5
17617 18232
17618ac_cv_func_shl_load=no 18233 ac_cv_func_shl_load=no
17619fi 18234fi
17620rm -f conftest.err conftest.$ac_objext \ 18235
18236rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17621 conftest$ac_exeext conftest.$ac_ext 18237 conftest$ac_exeext conftest.$ac_ext
17622fi 18238fi
17623echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 18239{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17624echo "${ECHO_T}$ac_cv_func_shl_load" >&6 18240echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
17625if test $ac_cv_func_shl_load = yes; then 18241if test $ac_cv_func_shl_load = yes; then
17626 lt_cv_dlopen="shl_load" 18242 lt_cv_dlopen="shl_load"
17627else 18243else
17628 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 18244 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17629echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 18245echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
17630if test "${ac_cv_lib_dld_shl_load+set}" = set; then 18246if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17631 echo $ECHO_N "(cached) $ECHO_C" >&6 18247 echo $ECHO_N "(cached) $ECHO_C" >&6
17632else 18248else
17633 ac_check_lib_save_LIBS=$LIBS 18249 ac_check_lib_save_LIBS=$LIBS
17634LIBS="-ldld $LIBS" 18250LIBS="-ldld $LIBS"
17637_ACEOF 18253_ACEOF
17638cat confdefs.h >>conftest.$ac_ext 18254cat confdefs.h >>conftest.$ac_ext
17639cat >>conftest.$ac_ext <<_ACEOF 18255cat >>conftest.$ac_ext <<_ACEOF
17640/* end confdefs.h. */ 18256/* end confdefs.h. */
17641 18257
17642/* Override any gcc2 internal prototype to avoid an error. */ 18258/* Override any GCC internal prototype to avoid an error.
18259 Use char because int might match the return type of a GCC
18260 builtin and then its argument prototype would still apply. */
17643#ifdef __cplusplus 18261#ifdef __cplusplus
17644extern "C" 18262extern "C"
17645#endif 18263#endif
17646/* We use char because int might match the return type of a gcc2
17647 builtin and then its argument prototype would still apply. */
17648char shl_load (); 18264char shl_load ();
17649int 18265int
17650main () 18266main ()
17651{ 18267{
17652shl_load (); 18268return shl_load ();
17653 ; 18269 ;
17654 return 0; 18270 return 0;
17655} 18271}
17656_ACEOF 18272_ACEOF
17657rm -f conftest.$ac_objext conftest$ac_exeext 18273rm -f conftest.$ac_objext conftest$ac_exeext
18274if { (ac_try="$ac_link"
18275case "(($ac_try" in
18276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18277 *) ac_try_echo=$ac_try;;
18278esac
17658if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18279eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17659 (eval $ac_link) 2>conftest.er1 18280 (eval "$ac_link") 2>conftest.er1
17660 ac_status=$? 18281 ac_status=$?
17661 grep -v '^ *+' conftest.er1 >conftest.err 18282 grep -v '^ *+' conftest.er1 >conftest.err
17662 rm -f conftest.er1 18283 rm -f conftest.er1
17663 cat conftest.err >&5 18284 cat conftest.err >&5
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); } && 18286 (exit $ac_status); } && {
17666 { ac_try='test -z "$ac_c_werror_flag" 18287 test -z "$ac_c_werror_flag" ||
17667 || test ! -s conftest.err' 18288 test ! -s conftest.err
17668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18289 } && test -s conftest$ac_exeext &&
17669 (eval $ac_try) 2>&5 18290 $as_test_x conftest$ac_exeext; then
17670 ac_status=$?
17671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17672 (exit $ac_status); }; } &&
17673 { ac_try='test -s conftest$ac_exeext'
17674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17675 (eval $ac_try) 2>&5
17676 ac_status=$?
17677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17678 (exit $ac_status); }; }; then
17679 ac_cv_lib_dld_shl_load=yes 18291 ac_cv_lib_dld_shl_load=yes
17680else 18292else
17681 echo "$as_me: failed program was:" >&5 18293 echo "$as_me: failed program was:" >&5
17682sed 's/^/| /' conftest.$ac_ext >&5 18294sed 's/^/| /' conftest.$ac_ext >&5
17683 18295
17684ac_cv_lib_dld_shl_load=no 18296 ac_cv_lib_dld_shl_load=no
17685fi 18297fi
17686rm -f conftest.err conftest.$ac_objext \ 18298
18299rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17687 conftest$ac_exeext conftest.$ac_ext 18300 conftest$ac_exeext conftest.$ac_ext
17688LIBS=$ac_check_lib_save_LIBS 18301LIBS=$ac_check_lib_save_LIBS
17689fi 18302fi
17690echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 18303{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17691echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 18304echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
17692if test $ac_cv_lib_dld_shl_load = yes; then 18305if test $ac_cv_lib_dld_shl_load = yes; then
17693 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" 18306 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17694else 18307else
17695 echo "$as_me:$LINENO: checking for dlopen" >&5 18308 { echo "$as_me:$LINENO: checking for dlopen" >&5
17696echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 18309echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
17697if test "${ac_cv_func_dlopen+set}" = set; then 18310if test "${ac_cv_func_dlopen+set}" = set; then
17698 echo $ECHO_N "(cached) $ECHO_C" >&6 18311 echo $ECHO_N "(cached) $ECHO_C" >&6
17699else 18312else
17700 cat >conftest.$ac_ext <<_ACEOF 18313 cat >conftest.$ac_ext <<_ACEOF
17701/* confdefs.h. */ 18314/* confdefs.h. */
17718# include <assert.h> 18331# include <assert.h>
17719#endif 18332#endif
17720 18333
17721#undef dlopen 18334#undef dlopen
17722 18335
17723/* Override any gcc2 internal prototype to avoid an error. */ 18336/* Override any GCC internal prototype to avoid an error.
18337 Use char because int might match the return type of a GCC
18338 builtin and then its argument prototype would still apply. */
17724#ifdef __cplusplus 18339#ifdef __cplusplus
17725extern "C" 18340extern "C"
17726{
17727#endif 18341#endif
17728/* We use char because int might match the return type of a gcc2
17729 builtin and then its argument prototype would still apply. */
17730char dlopen (); 18342char dlopen ();
17731/* The GNU C library defines this for functions which it implements 18343/* The GNU C library defines this for functions which it implements
17732 to always fail with ENOSYS. Some functions are actually named 18344 to always fail with ENOSYS. Some functions are actually named
17733 something starting with __ and the normal name is an alias. */ 18345 something starting with __ and the normal name is an alias. */
17734#if defined (__stub_dlopen) || defined (__stub___dlopen) 18346#if defined __stub_dlopen || defined __stub___dlopen
17735choke me 18347choke me
17736#else
17737char (*f) () = dlopen;
17738#endif
17739#ifdef __cplusplus
17740}
17741#endif 18348#endif
17742 18349
17743int 18350int
17744main () 18351main ()
17745{ 18352{
17746return f != dlopen; 18353return dlopen ();
17747 ; 18354 ;
17748 return 0; 18355 return 0;
17749} 18356}
17750_ACEOF 18357_ACEOF
17751rm -f conftest.$ac_objext conftest$ac_exeext 18358rm -f conftest.$ac_objext conftest$ac_exeext
18359if { (ac_try="$ac_link"
18360case "(($ac_try" in
18361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18362 *) ac_try_echo=$ac_try;;
18363esac
17752if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18364eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17753 (eval $ac_link) 2>conftest.er1 18365 (eval "$ac_link") 2>conftest.er1
17754 ac_status=$? 18366 ac_status=$?
17755 grep -v '^ *+' conftest.er1 >conftest.err 18367 grep -v '^ *+' conftest.er1 >conftest.err
17756 rm -f conftest.er1 18368 rm -f conftest.er1
17757 cat conftest.err >&5 18369 cat conftest.err >&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); } && 18371 (exit $ac_status); } && {
17760 { ac_try='test -z "$ac_c_werror_flag" 18372 test -z "$ac_c_werror_flag" ||
17761 || test ! -s conftest.err' 18373 test ! -s conftest.err
17762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18374 } && test -s conftest$ac_exeext &&
17763 (eval $ac_try) 2>&5 18375 $as_test_x conftest$ac_exeext; then
17764 ac_status=$?
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); }; } &&
17767 { ac_try='test -s conftest$ac_exeext'
17768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17769 (eval $ac_try) 2>&5
17770 ac_status=$?
17771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772 (exit $ac_status); }; }; then
17773 ac_cv_func_dlopen=yes 18376 ac_cv_func_dlopen=yes
17774else 18377else
17775 echo "$as_me: failed program was:" >&5 18378 echo "$as_me: failed program was:" >&5
17776sed 's/^/| /' conftest.$ac_ext >&5 18379sed 's/^/| /' conftest.$ac_ext >&5
17777 18380
17778ac_cv_func_dlopen=no 18381 ac_cv_func_dlopen=no
17779fi 18382fi
17780rm -f conftest.err conftest.$ac_objext \ 18383
18384rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17781 conftest$ac_exeext conftest.$ac_ext 18385 conftest$ac_exeext conftest.$ac_ext
17782fi 18386fi
17783echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 18387{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17784echo "${ECHO_T}$ac_cv_func_dlopen" >&6 18388echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
17785if test $ac_cv_func_dlopen = yes; then 18389if test $ac_cv_func_dlopen = yes; then
17786 lt_cv_dlopen="dlopen" 18390 lt_cv_dlopen="dlopen"
17787else 18391else
17788 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 18392 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17789echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 18393echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17790if test "${ac_cv_lib_dl_dlopen+set}" = set; then 18394if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17791 echo $ECHO_N "(cached) $ECHO_C" >&6 18395 echo $ECHO_N "(cached) $ECHO_C" >&6
17792else 18396else
17793 ac_check_lib_save_LIBS=$LIBS 18397 ac_check_lib_save_LIBS=$LIBS
17794LIBS="-ldl $LIBS" 18398LIBS="-ldl $LIBS"
17797_ACEOF 18401_ACEOF
17798cat confdefs.h >>conftest.$ac_ext 18402cat confdefs.h >>conftest.$ac_ext
17799cat >>conftest.$ac_ext <<_ACEOF 18403cat >>conftest.$ac_ext <<_ACEOF
17800/* end confdefs.h. */ 18404/* end confdefs.h. */
17801 18405
17802/* Override any gcc2 internal prototype to avoid an error. */ 18406/* Override any GCC internal prototype to avoid an error.
18407 Use char because int might match the return type of a GCC
18408 builtin and then its argument prototype would still apply. */
17803#ifdef __cplusplus 18409#ifdef __cplusplus
17804extern "C" 18410extern "C"
17805#endif 18411#endif
17806/* We use char because int might match the return type of a gcc2
17807 builtin and then its argument prototype would still apply. */
17808char dlopen (); 18412char dlopen ();
17809int 18413int
17810main () 18414main ()
17811{ 18415{
17812dlopen (); 18416return dlopen ();
17813 ; 18417 ;
17814 return 0; 18418 return 0;
17815} 18419}
17816_ACEOF 18420_ACEOF
17817rm -f conftest.$ac_objext conftest$ac_exeext 18421rm -f conftest.$ac_objext conftest$ac_exeext
18422if { (ac_try="$ac_link"
18423case "(($ac_try" in
18424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18425 *) ac_try_echo=$ac_try;;
18426esac
17818if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18427eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17819 (eval $ac_link) 2>conftest.er1 18428 (eval "$ac_link") 2>conftest.er1
17820 ac_status=$? 18429 ac_status=$?
17821 grep -v '^ *+' conftest.er1 >conftest.err 18430 grep -v '^ *+' conftest.er1 >conftest.err
17822 rm -f conftest.er1 18431 rm -f conftest.er1
17823 cat conftest.err >&5 18432 cat conftest.err >&5
17824 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825 (exit $ac_status); } && 18434 (exit $ac_status); } && {
17826 { ac_try='test -z "$ac_c_werror_flag" 18435 test -z "$ac_c_werror_flag" ||
17827 || test ! -s conftest.err' 18436 test ! -s conftest.err
17828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18437 } && test -s conftest$ac_exeext &&
17829 (eval $ac_try) 2>&5 18438 $as_test_x conftest$ac_exeext; then
17830 ac_status=$?
17831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832 (exit $ac_status); }; } &&
17833 { ac_try='test -s conftest$ac_exeext'
17834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17835 (eval $ac_try) 2>&5
17836 ac_status=$?
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); }; }; then
17839 ac_cv_lib_dl_dlopen=yes 18439 ac_cv_lib_dl_dlopen=yes
17840else 18440else
17841 echo "$as_me: failed program was:" >&5 18441 echo "$as_me: failed program was:" >&5
17842sed 's/^/| /' conftest.$ac_ext >&5 18442sed 's/^/| /' conftest.$ac_ext >&5
17843 18443
17844ac_cv_lib_dl_dlopen=no 18444 ac_cv_lib_dl_dlopen=no
17845fi 18445fi
17846rm -f conftest.err conftest.$ac_objext \ 18446
18447rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17847 conftest$ac_exeext conftest.$ac_ext 18448 conftest$ac_exeext conftest.$ac_ext
17848LIBS=$ac_check_lib_save_LIBS 18449LIBS=$ac_check_lib_save_LIBS
17849fi 18450fi
17850echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 18451{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17851echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 18452echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17852if test $ac_cv_lib_dl_dlopen = yes; then 18453if test $ac_cv_lib_dl_dlopen = yes; then
17853 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 18454 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17854else 18455else
17855 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 18456 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17856echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 18457echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
17857if test "${ac_cv_lib_svld_dlopen+set}" = set; then 18458if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17858 echo $ECHO_N "(cached) $ECHO_C" >&6 18459 echo $ECHO_N "(cached) $ECHO_C" >&6
17859else 18460else
17860 ac_check_lib_save_LIBS=$LIBS 18461 ac_check_lib_save_LIBS=$LIBS
17861LIBS="-lsvld $LIBS" 18462LIBS="-lsvld $LIBS"
17864_ACEOF 18465_ACEOF
17865cat confdefs.h >>conftest.$ac_ext 18466cat confdefs.h >>conftest.$ac_ext
17866cat >>conftest.$ac_ext <<_ACEOF 18467cat >>conftest.$ac_ext <<_ACEOF
17867/* end confdefs.h. */ 18468/* end confdefs.h. */
17868 18469
17869/* Override any gcc2 internal prototype to avoid an error. */ 18470/* Override any GCC internal prototype to avoid an error.
18471 Use char because int might match the return type of a GCC
18472 builtin and then its argument prototype would still apply. */
17870#ifdef __cplusplus 18473#ifdef __cplusplus
17871extern "C" 18474extern "C"
17872#endif 18475#endif
17873/* We use char because int might match the return type of a gcc2
17874 builtin and then its argument prototype would still apply. */
17875char dlopen (); 18476char dlopen ();
17876int 18477int
17877main () 18478main ()
17878{ 18479{
17879dlopen (); 18480return dlopen ();
17880 ; 18481 ;
17881 return 0; 18482 return 0;
17882} 18483}
17883_ACEOF 18484_ACEOF
17884rm -f conftest.$ac_objext conftest$ac_exeext 18485rm -f conftest.$ac_objext conftest$ac_exeext
18486if { (ac_try="$ac_link"
18487case "(($ac_try" in
18488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18489 *) ac_try_echo=$ac_try;;
18490esac
17885if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18491eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17886 (eval $ac_link) 2>conftest.er1 18492 (eval "$ac_link") 2>conftest.er1
17887 ac_status=$? 18493 ac_status=$?
17888 grep -v '^ *+' conftest.er1 >conftest.err 18494 grep -v '^ *+' conftest.er1 >conftest.err
17889 rm -f conftest.er1 18495 rm -f conftest.er1
17890 cat conftest.err >&5 18496 cat conftest.err >&5
17891 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17892 (exit $ac_status); } && 18498 (exit $ac_status); } && {
17893 { ac_try='test -z "$ac_c_werror_flag" 18499 test -z "$ac_c_werror_flag" ||
17894 || test ! -s conftest.err' 18500 test ! -s conftest.err
17895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18501 } && test -s conftest$ac_exeext &&
17896 (eval $ac_try) 2>&5 18502 $as_test_x conftest$ac_exeext; then
17897 ac_status=$?
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); }; } &&
17900 { ac_try='test -s conftest$ac_exeext'
17901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17902 (eval $ac_try) 2>&5
17903 ac_status=$?
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); }; }; then
17906 ac_cv_lib_svld_dlopen=yes 18503 ac_cv_lib_svld_dlopen=yes
17907else 18504else
17908 echo "$as_me: failed program was:" >&5 18505 echo "$as_me: failed program was:" >&5
17909sed 's/^/| /' conftest.$ac_ext >&5 18506sed 's/^/| /' conftest.$ac_ext >&5
17910 18507
17911ac_cv_lib_svld_dlopen=no 18508 ac_cv_lib_svld_dlopen=no
17912fi 18509fi
17913rm -f conftest.err conftest.$ac_objext \ 18510
18511rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17914 conftest$ac_exeext conftest.$ac_ext 18512 conftest$ac_exeext conftest.$ac_ext
17915LIBS=$ac_check_lib_save_LIBS 18513LIBS=$ac_check_lib_save_LIBS
17916fi 18514fi
17917echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 18515{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17918echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 18516echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
17919if test $ac_cv_lib_svld_dlopen = yes; then 18517if test $ac_cv_lib_svld_dlopen = yes; then
17920 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 18518 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17921else 18519else
17922 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 18520 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17923echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 18521echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
17924if test "${ac_cv_lib_dld_dld_link+set}" = set; then 18522if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17925 echo $ECHO_N "(cached) $ECHO_C" >&6 18523 echo $ECHO_N "(cached) $ECHO_C" >&6
17926else 18524else
17927 ac_check_lib_save_LIBS=$LIBS 18525 ac_check_lib_save_LIBS=$LIBS
17928LIBS="-ldld $LIBS" 18526LIBS="-ldld $LIBS"
17931_ACEOF 18529_ACEOF
17932cat confdefs.h >>conftest.$ac_ext 18530cat confdefs.h >>conftest.$ac_ext
17933cat >>conftest.$ac_ext <<_ACEOF 18531cat >>conftest.$ac_ext <<_ACEOF
17934/* end confdefs.h. */ 18532/* end confdefs.h. */
17935 18533
17936/* Override any gcc2 internal prototype to avoid an error. */ 18534/* Override any GCC internal prototype to avoid an error.
18535 Use char because int might match the return type of a GCC
18536 builtin and then its argument prototype would still apply. */
17937#ifdef __cplusplus 18537#ifdef __cplusplus
17938extern "C" 18538extern "C"
17939#endif 18539#endif
17940/* We use char because int might match the return type of a gcc2
17941 builtin and then its argument prototype would still apply. */
17942char dld_link (); 18540char dld_link ();
17943int 18541int
17944main () 18542main ()
17945{ 18543{
17946dld_link (); 18544return dld_link ();
17947 ; 18545 ;
17948 return 0; 18546 return 0;
17949} 18547}
17950_ACEOF 18548_ACEOF
17951rm -f conftest.$ac_objext conftest$ac_exeext 18549rm -f conftest.$ac_objext conftest$ac_exeext
18550if { (ac_try="$ac_link"
18551case "(($ac_try" in
18552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18553 *) ac_try_echo=$ac_try;;
18554esac
17952if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18555eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17953 (eval $ac_link) 2>conftest.er1 18556 (eval "$ac_link") 2>conftest.er1
17954 ac_status=$? 18557 ac_status=$?
17955 grep -v '^ *+' conftest.er1 >conftest.err 18558 grep -v '^ *+' conftest.er1 >conftest.err
17956 rm -f conftest.er1 18559 rm -f conftest.er1
17957 cat conftest.err >&5 18560 cat conftest.err >&5
17958 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17959 (exit $ac_status); } && 18562 (exit $ac_status); } && {
17960 { ac_try='test -z "$ac_c_werror_flag" 18563 test -z "$ac_c_werror_flag" ||
17961 || test ! -s conftest.err' 18564 test ! -s conftest.err
17962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18565 } && test -s conftest$ac_exeext &&
17963 (eval $ac_try) 2>&5 18566 $as_test_x conftest$ac_exeext; then
17964 ac_status=$?
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); }; } &&
17967 { ac_try='test -s conftest$ac_exeext'
17968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17969 (eval $ac_try) 2>&5
17970 ac_status=$?
17971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17972 (exit $ac_status); }; }; then
17973 ac_cv_lib_dld_dld_link=yes 18567 ac_cv_lib_dld_dld_link=yes
17974else 18568else
17975 echo "$as_me: failed program was:" >&5 18569 echo "$as_me: failed program was:" >&5
17976sed 's/^/| /' conftest.$ac_ext >&5 18570sed 's/^/| /' conftest.$ac_ext >&5
17977 18571
17978ac_cv_lib_dld_dld_link=no 18572 ac_cv_lib_dld_dld_link=no
17979fi 18573fi
17980rm -f conftest.err conftest.$ac_objext \ 18574
18575rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17981 conftest$ac_exeext conftest.$ac_ext 18576 conftest$ac_exeext conftest.$ac_ext
17982LIBS=$ac_check_lib_save_LIBS 18577LIBS=$ac_check_lib_save_LIBS
17983fi 18578fi
17984echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 18579{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17985echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 18580echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
17986if test $ac_cv_lib_dld_dld_link = yes; then 18581if test $ac_cv_lib_dld_dld_link = yes; then
17987 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" 18582 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17988fi 18583fi
17989 18584
17990 18585
18020 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 18615 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
18021 18616
18022 save_LIBS="$LIBS" 18617 save_LIBS="$LIBS"
18023 LIBS="$lt_cv_dlopen_libs $LIBS" 18618 LIBS="$lt_cv_dlopen_libs $LIBS"
18024 18619
18025 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 18620 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18026echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 18621echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
18027if test "${lt_cv_dlopen_self+set}" = set; then 18622if test "${lt_cv_dlopen_self+set}" = set; then
18028 echo $ECHO_N "(cached) $ECHO_C" >&6 18623 echo $ECHO_N "(cached) $ECHO_C" >&6
18029else 18624else
18030 if test "$cross_compiling" = yes; then : 18625 if test "$cross_compiling" = yes; then :
18031 lt_cv_dlopen_self=cross 18626 lt_cv_dlopen_self=cross
18032else 18627else
18033 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 18628 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18034 lt_status=$lt_dlunknown 18629 lt_status=$lt_dlunknown
18035 cat > conftest.$ac_ext <<EOF 18630 cat > conftest.$ac_ext <<EOF
18036#line 18036 "configure" 18631#line 18631 "configure"
18037#include "confdefs.h" 18632#include "confdefs.h"
18038 18633
18039#if HAVE_DLFCN_H 18634#if HAVE_DLFCN_H
18040#include <dlfcn.h> 18635#include <dlfcn.h>
18041#endif 18636#endif
18113fi 18708fi
18114rm -fr conftest* 18709rm -fr conftest*
18115 18710
18116 18711
18117fi 18712fi
18118echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 18713{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18119echo "${ECHO_T}$lt_cv_dlopen_self" >&6 18714echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
18120 18715
18121 if test "x$lt_cv_dlopen_self" = xyes; then 18716 if test "x$lt_cv_dlopen_self" = xyes; then
18122 LDFLAGS="$LDFLAGS $link_static_flag" 18717 LDFLAGS="$LDFLAGS $link_static_flag"
18123 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 18718 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18124echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 18719echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
18125if test "${lt_cv_dlopen_self_static+set}" = set; then 18720if test "${lt_cv_dlopen_self_static+set}" = set; then
18126 echo $ECHO_N "(cached) $ECHO_C" >&6 18721 echo $ECHO_N "(cached) $ECHO_C" >&6
18127else 18722else
18128 if test "$cross_compiling" = yes; then : 18723 if test "$cross_compiling" = yes; then :
18129 lt_cv_dlopen_self_static=cross 18724 lt_cv_dlopen_self_static=cross
18130else 18725else
18131 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 18726 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18132 lt_status=$lt_dlunknown 18727 lt_status=$lt_dlunknown
18133 cat > conftest.$ac_ext <<EOF 18728 cat > conftest.$ac_ext <<EOF
18134#line 18134 "configure" 18729#line 18729 "configure"
18135#include "confdefs.h" 18730#include "confdefs.h"
18136 18731
18137#if HAVE_DLFCN_H 18732#if HAVE_DLFCN_H
18138#include <dlfcn.h> 18733#include <dlfcn.h>
18139#endif 18734#endif
18211fi 18806fi
18212rm -fr conftest* 18807rm -fr conftest*
18213 18808
18214 18809
18215fi 18810fi
18216echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 18811{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18217echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 18812echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
18218 fi 18813 fi
18219 18814
18220 CPPFLAGS="$save_CPPFLAGS" 18815 CPPFLAGS="$save_CPPFLAGS"
18221 LDFLAGS="$save_LDFLAGS" 18816 LDFLAGS="$save_LDFLAGS"
18222 LIBS="$save_LIBS" 18817 LIBS="$save_LIBS"
18648 ;; 19243 ;;
18649 19244
18650 RC) 19245 RC)
18651 19246
18652 19247
18653
18654# Source file extension for RC test sources. 19248# Source file extension for RC test sources.
18655ac_ext=rc 19249ac_ext=rc
18656 19250
18657# Object file extension for compiled RC test sources. 19251# Object file extension for compiled RC test sources.
18658objext=o 19252objext=o
19210#------------------------------------------------------------------------------- 19804#-------------------------------------------------------------------------------
19211# Check for some library functions 19805# Check for some library functions
19212#------------------------------------------------------------------------------- 19806#-------------------------------------------------------------------------------
19213 19807
19214 19808
19215echo "$as_me:$LINENO: checking for exit in -lc" >&5 19809{ echo "$as_me:$LINENO: checking for exit in -lc" >&5
19216echo $ECHO_N "checking for exit in -lc... $ECHO_C" >&6 19810echo $ECHO_N "checking for exit in -lc... $ECHO_C" >&6; }
19217if test "${ac_cv_lib_c_exit+set}" = set; then 19811if test "${ac_cv_lib_c_exit+set}" = set; then
19218 echo $ECHO_N "(cached) $ECHO_C" >&6 19812 echo $ECHO_N "(cached) $ECHO_C" >&6
19219else 19813else
19220 ac_check_lib_save_LIBS=$LIBS 19814 ac_check_lib_save_LIBS=$LIBS
19221LIBS="-lc $LIBS" 19815LIBS="-lc $LIBS"
19224_ACEOF 19818_ACEOF
19225cat confdefs.h >>conftest.$ac_ext 19819cat confdefs.h >>conftest.$ac_ext
19226cat >>conftest.$ac_ext <<_ACEOF 19820cat >>conftest.$ac_ext <<_ACEOF
19227/* end confdefs.h. */ 19821/* end confdefs.h. */
19228 19822
19229/* Override any gcc2 internal prototype to avoid an error. */ 19823/* Override any GCC internal prototype to avoid an error.
19824 Use char because int might match the return type of a GCC
19825 builtin and then its argument prototype would still apply. */
19230#ifdef __cplusplus 19826#ifdef __cplusplus
19231extern "C" 19827extern "C"
19232#endif 19828#endif
19233/* We use char because int might match the return type of a gcc2
19234 builtin and then its argument prototype would still apply. */
19235char exit (); 19829char exit ();
19236int 19830int
19237main () 19831main ()
19238{ 19832{
19239exit (); 19833return exit ();
19240 ; 19834 ;
19241 return 0; 19835 return 0;
19242} 19836}
19243_ACEOF 19837_ACEOF
19244rm -f conftest.$ac_objext conftest$ac_exeext 19838rm -f conftest.$ac_objext conftest$ac_exeext
19839if { (ac_try="$ac_link"
19840case "(($ac_try" in
19841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19842 *) ac_try_echo=$ac_try;;
19843esac
19245if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 19844eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19246 (eval $ac_link) 2>conftest.er1 19845 (eval "$ac_link") 2>conftest.er1
19247 ac_status=$? 19846 ac_status=$?
19248 grep -v '^ *+' conftest.er1 >conftest.err 19847 grep -v '^ *+' conftest.er1 >conftest.err
19249 rm -f conftest.er1 19848 rm -f conftest.er1
19250 cat conftest.err >&5 19849 cat conftest.err >&5
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); } && 19851 (exit $ac_status); } && {
19253 { ac_try='test -z "$ac_c_werror_flag" 19852 test -z "$ac_c_werror_flag" ||
19254 || test ! -s conftest.err' 19853 test ! -s conftest.err
19255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19854 } && test -s conftest$ac_exeext &&
19256 (eval $ac_try) 2>&5 19855 $as_test_x conftest$ac_exeext; then
19257 ac_status=$?
19258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19259 (exit $ac_status); }; } &&
19260 { ac_try='test -s conftest$ac_exeext'
19261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19262 (eval $ac_try) 2>&5
19263 ac_status=$?
19264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265 (exit $ac_status); }; }; then
19266 ac_cv_lib_c_exit=yes 19856 ac_cv_lib_c_exit=yes
19267else 19857else
19268 echo "$as_me: failed program was:" >&5 19858 echo "$as_me: failed program was:" >&5
19269sed 's/^/| /' conftest.$ac_ext >&5 19859sed 's/^/| /' conftest.$ac_ext >&5
19270 19860
19271ac_cv_lib_c_exit=no 19861 ac_cv_lib_c_exit=no
19272fi 19862fi
19273rm -f conftest.err conftest.$ac_objext \ 19863
19864rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19274 conftest$ac_exeext conftest.$ac_ext 19865 conftest$ac_exeext conftest.$ac_ext
19275LIBS=$ac_check_lib_save_LIBS 19866LIBS=$ac_check_lib_save_LIBS
19276fi 19867fi
19277echo "$as_me:$LINENO: result: $ac_cv_lib_c_exit" >&5 19868{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_exit" >&5
19278echo "${ECHO_T}$ac_cv_lib_c_exit" >&6 19869echo "${ECHO_T}$ac_cv_lib_c_exit" >&6; }
19279if test $ac_cv_lib_c_exit = yes; then 19870if test $ac_cv_lib_c_exit = yes; then
19280 cat >>confdefs.h <<_ACEOF 19871 cat >>confdefs.h <<_ACEOF
19281#define HAVE_LIBC 1 19872#define HAVE_LIBC 1
19282_ACEOF 19873_ACEOF
19283 19874
19284 LIBS="-lc $LIBS" 19875 LIBS="-lc $LIBS"
19285 19876
19286fi 19877fi
19287 19878
19288 19879
19289echo "$as_me:$LINENO: checking for inet_pton in -lnsl" >&5 19880{ echo "$as_me:$LINENO: checking for inet_pton in -lnsl" >&5
19290echo $ECHO_N "checking for inet_pton in -lnsl... $ECHO_C" >&6 19881echo $ECHO_N "checking for inet_pton in -lnsl... $ECHO_C" >&6; }
19291if test "${ac_cv_lib_nsl_inet_pton+set}" = set; then 19882if test "${ac_cv_lib_nsl_inet_pton+set}" = set; then
19292 echo $ECHO_N "(cached) $ECHO_C" >&6 19883 echo $ECHO_N "(cached) $ECHO_C" >&6
19293else 19884else
19294 ac_check_lib_save_LIBS=$LIBS 19885 ac_check_lib_save_LIBS=$LIBS
19295LIBS="-lnsl $LIBS" 19886LIBS="-lnsl $LIBS"
19298_ACEOF 19889_ACEOF
19299cat confdefs.h >>conftest.$ac_ext 19890cat confdefs.h >>conftest.$ac_ext
19300cat >>conftest.$ac_ext <<_ACEOF 19891cat >>conftest.$ac_ext <<_ACEOF
19301/* end confdefs.h. */ 19892/* end confdefs.h. */
19302 19893
19303/* Override any gcc2 internal prototype to avoid an error. */ 19894/* Override any GCC internal prototype to avoid an error.
19895 Use char because int might match the return type of a GCC
19896 builtin and then its argument prototype would still apply. */
19304#ifdef __cplusplus 19897#ifdef __cplusplus
19305extern "C" 19898extern "C"
19306#endif 19899#endif
19307/* We use char because int might match the return type of a gcc2
19308 builtin and then its argument prototype would still apply. */
19309char inet_pton (); 19900char inet_pton ();
19310int 19901int
19311main () 19902main ()
19312{ 19903{
19313inet_pton (); 19904return inet_pton ();
19314 ; 19905 ;
19315 return 0; 19906 return 0;
19316} 19907}
19317_ACEOF 19908_ACEOF
19318rm -f conftest.$ac_objext conftest$ac_exeext 19909rm -f conftest.$ac_objext conftest$ac_exeext
19910if { (ac_try="$ac_link"
19911case "(($ac_try" in
19912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19913 *) ac_try_echo=$ac_try;;
19914esac
19319if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 19915eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19320 (eval $ac_link) 2>conftest.er1 19916 (eval "$ac_link") 2>conftest.er1
19321 ac_status=$? 19917 ac_status=$?
19322 grep -v '^ *+' conftest.er1 >conftest.err 19918 grep -v '^ *+' conftest.er1 >conftest.err
19323 rm -f conftest.er1 19919 rm -f conftest.er1
19324 cat conftest.err >&5 19920 cat conftest.err >&5
19325 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326 (exit $ac_status); } && 19922 (exit $ac_status); } && {
19327 { ac_try='test -z "$ac_c_werror_flag" 19923 test -z "$ac_c_werror_flag" ||
19328 || test ! -s conftest.err' 19924 test ! -s conftest.err
19329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19925 } && test -s conftest$ac_exeext &&
19330 (eval $ac_try) 2>&5 19926 $as_test_x conftest$ac_exeext; then
19331 ac_status=$?
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); }; } &&
19334 { ac_try='test -s conftest$ac_exeext'
19335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19336 (eval $ac_try) 2>&5
19337 ac_status=$?
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); }; }; then
19340 ac_cv_lib_nsl_inet_pton=yes 19927 ac_cv_lib_nsl_inet_pton=yes
19341else 19928else
19342 echo "$as_me: failed program was:" >&5 19929 echo "$as_me: failed program was:" >&5
19343sed 's/^/| /' conftest.$ac_ext >&5 19930sed 's/^/| /' conftest.$ac_ext >&5
19344 19931
19345ac_cv_lib_nsl_inet_pton=no 19932 ac_cv_lib_nsl_inet_pton=no
19346fi 19933fi
19347rm -f conftest.err conftest.$ac_objext \ 19934
19935rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19348 conftest$ac_exeext conftest.$ac_ext 19936 conftest$ac_exeext conftest.$ac_ext
19349LIBS=$ac_check_lib_save_LIBS 19937LIBS=$ac_check_lib_save_LIBS
19350fi 19938fi
19351echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_pton" >&5 19939{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_pton" >&5
19352echo "${ECHO_T}$ac_cv_lib_nsl_inet_pton" >&6 19940echo "${ECHO_T}$ac_cv_lib_nsl_inet_pton" >&6; }
19353if test $ac_cv_lib_nsl_inet_pton = yes; then 19941if test $ac_cv_lib_nsl_inet_pton = yes; then
19354 cat >>confdefs.h <<_ACEOF 19942 cat >>confdefs.h <<_ACEOF
19355#define HAVE_LIBNSL 1 19943#define HAVE_LIBNSL 1
19356_ACEOF 19944_ACEOF
19357 19945
19358 LIBS="-lnsl $LIBS" 19946 LIBS="-lnsl $LIBS"
19359 19947
19360fi 19948fi
19361 19949
19362 19950
19363echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 19951{ echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
19364echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 19952echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
19365if test "${ac_cv_lib_socket_socket+set}" = set; then 19953if test "${ac_cv_lib_socket_socket+set}" = set; then
19366 echo $ECHO_N "(cached) $ECHO_C" >&6 19954 echo $ECHO_N "(cached) $ECHO_C" >&6
19367else 19955else
19368 ac_check_lib_save_LIBS=$LIBS 19956 ac_check_lib_save_LIBS=$LIBS
19369LIBS="-lsocket $LIBS" 19957LIBS="-lsocket $LIBS"
19372_ACEOF 19960_ACEOF
19373cat confdefs.h >>conftest.$ac_ext 19961cat confdefs.h >>conftest.$ac_ext
19374cat >>conftest.$ac_ext <<_ACEOF 19962cat >>conftest.$ac_ext <<_ACEOF
19375/* end confdefs.h. */ 19963/* end confdefs.h. */
19376 19964
19377/* Override any gcc2 internal prototype to avoid an error. */ 19965/* Override any GCC internal prototype to avoid an error.
19966 Use char because int might match the return type of a GCC
19967 builtin and then its argument prototype would still apply. */
19378#ifdef __cplusplus 19968#ifdef __cplusplus
19379extern "C" 19969extern "C"
19380#endif 19970#endif
19381/* We use char because int might match the return type of a gcc2
19382 builtin and then its argument prototype would still apply. */
19383char socket (); 19971char socket ();
19384int 19972int
19385main () 19973main ()
19386{ 19974{
19387socket (); 19975return socket ();
19388 ; 19976 ;
19389 return 0; 19977 return 0;
19390} 19978}
19391_ACEOF 19979_ACEOF
19392rm -f conftest.$ac_objext conftest$ac_exeext 19980rm -f conftest.$ac_objext conftest$ac_exeext
19981if { (ac_try="$ac_link"
19982case "(($ac_try" in
19983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19984 *) ac_try_echo=$ac_try;;
19985esac
19393if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 19986eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19394 (eval $ac_link) 2>conftest.er1 19987 (eval "$ac_link") 2>conftest.er1
19395 ac_status=$? 19988 ac_status=$?
19396 grep -v '^ *+' conftest.er1 >conftest.err 19989 grep -v '^ *+' conftest.er1 >conftest.err
19397 rm -f conftest.er1 19990 rm -f conftest.er1
19398 cat conftest.err >&5 19991 cat conftest.err >&5
19399 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19400 (exit $ac_status); } && 19993 (exit $ac_status); } && {
19401 { ac_try='test -z "$ac_c_werror_flag" 19994 test -z "$ac_c_werror_flag" ||
19402 || test ! -s conftest.err' 19995 test ! -s conftest.err
19403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19996 } && test -s conftest$ac_exeext &&
19404 (eval $ac_try) 2>&5 19997 $as_test_x conftest$ac_exeext; then
19405 ac_status=$?
19406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19407 (exit $ac_status); }; } &&
19408 { ac_try='test -s conftest$ac_exeext'
19409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19410 (eval $ac_try) 2>&5
19411 ac_status=$?
19412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19413 (exit $ac_status); }; }; then
19414 ac_cv_lib_socket_socket=yes 19998 ac_cv_lib_socket_socket=yes
19415else 19999else
19416 echo "$as_me: failed program was:" >&5 20000 echo "$as_me: failed program was:" >&5
19417sed 's/^/| /' conftest.$ac_ext >&5 20001sed 's/^/| /' conftest.$ac_ext >&5
19418 20002
19419ac_cv_lib_socket_socket=no 20003 ac_cv_lib_socket_socket=no
19420fi 20004fi
19421rm -f conftest.err conftest.$ac_objext \ 20005
20006rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19422 conftest$ac_exeext conftest.$ac_ext 20007 conftest$ac_exeext conftest.$ac_ext
19423LIBS=$ac_check_lib_save_LIBS 20008LIBS=$ac_check_lib_save_LIBS
19424fi 20009fi
19425echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 20010{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
19426echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 20011echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
19427if test $ac_cv_lib_socket_socket = yes; then 20012if test $ac_cv_lib_socket_socket = yes; then
19428 cat >>confdefs.h <<_ACEOF 20013 cat >>confdefs.h <<_ACEOF
19429#define HAVE_LIBSOCKET 1 20014#define HAVE_LIBSOCKET 1
19430_ACEOF 20015_ACEOF
19431 20016
19432 LIBS="-lsocket $LIBS" 20017 LIBS="-lsocket $LIBS"
19433 20018
19434fi 20019fi
19435 20020
19436 20021
19437echo "$as_me:$LINENO: checking for SPF_sanitize in -lspf2" >&5 20022{ echo "$as_me:$LINENO: checking for SPF_sanitize in -lspf2" >&5
19438echo $ECHO_N "checking for SPF_sanitize in -lspf2... $ECHO_C" >&6 20023echo $ECHO_N "checking for SPF_sanitize in -lspf2... $ECHO_C" >&6; }
19439if test "${ac_cv_lib_spf2_SPF_sanitize+set}" = set; then 20024if test "${ac_cv_lib_spf2_SPF_sanitize+set}" = set; then
19440 echo $ECHO_N "(cached) $ECHO_C" >&6 20025 echo $ECHO_N "(cached) $ECHO_C" >&6
19441else 20026else
19442 ac_check_lib_save_LIBS=$LIBS 20027 ac_check_lib_save_LIBS=$LIBS
19443LIBS="-lspf2 $LIBS" 20028LIBS="-lspf2 $LIBS"
19446_ACEOF 20031_ACEOF
19447cat confdefs.h >>conftest.$ac_ext 20032cat confdefs.h >>conftest.$ac_ext
19448cat >>conftest.$ac_ext <<_ACEOF 20033cat >>conftest.$ac_ext <<_ACEOF
19449/* end confdefs.h. */ 20034/* end confdefs.h. */
19450 20035
19451/* Override any gcc2 internal prototype to avoid an error. */ 20036/* Override any GCC internal prototype to avoid an error.
20037 Use char because int might match the return type of a GCC
20038 builtin and then its argument prototype would still apply. */
19452#ifdef __cplusplus 20039#ifdef __cplusplus
19453extern "C" 20040extern "C"
19454#endif 20041#endif
19455/* We use char because int might match the return type of a gcc2
19456 builtin and then its argument prototype would still apply. */
19457char SPF_sanitize (); 20042char SPF_sanitize ();
19458int 20043int
19459main () 20044main ()
19460{ 20045{
19461SPF_sanitize (); 20046return SPF_sanitize ();
19462 ; 20047 ;
19463 return 0; 20048 return 0;
19464} 20049}
19465_ACEOF 20050_ACEOF
19466rm -f conftest.$ac_objext conftest$ac_exeext 20051rm -f conftest.$ac_objext conftest$ac_exeext
20052if { (ac_try="$ac_link"
20053case "(($ac_try" in
20054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20055 *) ac_try_echo=$ac_try;;
20056esac
19467if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 20057eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19468 (eval $ac_link) 2>conftest.er1 20058 (eval "$ac_link") 2>conftest.er1
19469 ac_status=$? 20059 ac_status=$?
19470 grep -v '^ *+' conftest.er1 >conftest.err 20060 grep -v '^ *+' conftest.er1 >conftest.err
19471 rm -f conftest.er1 20061 rm -f conftest.er1
19472 cat conftest.err >&5 20062 cat conftest.err >&5
19473 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19474 (exit $ac_status); } && 20064 (exit $ac_status); } && {
19475 { ac_try='test -z "$ac_c_werror_flag" 20065 test -z "$ac_c_werror_flag" ||
19476 || test ! -s conftest.err' 20066 test ! -s conftest.err
19477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20067 } && test -s conftest$ac_exeext &&
19478 (eval $ac_try) 2>&5 20068 $as_test_x conftest$ac_exeext; then
19479 ac_status=$?
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); }; } &&
19482 { ac_try='test -s conftest$ac_exeext'
19483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19484 (eval $ac_try) 2>&5
19485 ac_status=$?
19486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487 (exit $ac_status); }; }; then
19488 ac_cv_lib_spf2_SPF_sanitize=yes 20069 ac_cv_lib_spf2_SPF_sanitize=yes
19489else 20070else
19490 echo "$as_me: failed program was:" >&5 20071 echo "$as_me: failed program was:" >&5
19491sed 's/^/| /' conftest.$ac_ext >&5 20072sed 's/^/| /' conftest.$ac_ext >&5
19492 20073
19493ac_cv_lib_spf2_SPF_sanitize=no 20074 ac_cv_lib_spf2_SPF_sanitize=no
19494fi 20075fi
19495rm -f conftest.err conftest.$ac_objext \ 20076
20077rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19496 conftest$ac_exeext conftest.$ac_ext 20078 conftest$ac_exeext conftest.$ac_ext
19497LIBS=$ac_check_lib_save_LIBS 20079LIBS=$ac_check_lib_save_LIBS
19498fi 20080fi
19499echo "$as_me:$LINENO: result: $ac_cv_lib_spf2_SPF_sanitize" >&5 20081{ echo "$as_me:$LINENO: result: $ac_cv_lib_spf2_SPF_sanitize" >&5
19500echo "${ECHO_T}$ac_cv_lib_spf2_SPF_sanitize" >&6 20082echo "${ECHO_T}$ac_cv_lib_spf2_SPF_sanitize" >&6; }
19501if test $ac_cv_lib_spf2_SPF_sanitize = yes; then 20083if test $ac_cv_lib_spf2_SPF_sanitize = yes; then
19502 LIBSPF2_POOPOO="true" 20084 LIBSPF2_POOPOO="true"
19503fi 20085fi
19504 20086
19505if test "$LIBSPF2_POOPOO" ; then 20087if test "$LIBSPF2_POOPOO" ; then
19515#------------------------------------------------------------------------------- 20097#-------------------------------------------------------------------------------
19516# Check up on GCC 20098# Check up on GCC
19517#------------------------------------------------------------------------------- 20099#-------------------------------------------------------------------------------
19518 20100
19519# We don't want gcc 2.7 20101# We don't want gcc 2.7
19520echo "$as_me:$LINENO: checking for a supported version of gcc" >&5 20102{ echo "$as_me:$LINENO: checking for a supported version of gcc" >&5
19521echo $ECHO_N "checking for a supported version of gcc... $ECHO_C" >&6 20103echo $ECHO_N "checking for a supported version of gcc... $ECHO_C" >&6; }
19522 20104
19523gcc_version=`${CC} --version | head -n 1` 20105gcc_version=`${CC} --version | head -n 1`
19524gcc_special_cflags="" 20106gcc_special_cflags=""
19525case "${gcc_version}" in 20107case "${gcc_version}" in
19526 2.7.*) 20108 2.7.*)
19527 echo "$as_me:$LINENO: result: no (${gcc_version})" >&5 20109 { echo "$as_me:$LINENO: result: no (${gcc_version})" >&5
19528echo "${ECHO_T}no (${gcc_version})" >&6 20110echo "${ECHO_T}no (${gcc_version})" >&6; }
19529 { { echo "$as_me:$LINENO: error: please use a recent (>= gcc-2.95) version of gcc" >&5 20111 { { echo "$as_me:$LINENO: error: please use a recent (>= gcc-2.95) version of gcc" >&5
19530echo "$as_me: error: please use a recent (>= gcc-2.95) version of gcc" >&2;} 20112echo "$as_me: error: please use a recent (>= gcc-2.95) version of gcc" >&2;}
19531 { (exit 1); exit 1; }; } 20113 { (exit 1); exit 1; }; }
19532 ;; 20114 ;;
19533 2.95.*) 20115 2.95.*)
19534 echo "$as_me:$LINENO: result: yes (${gcc_version}) using %d instead of %zu" >&5 20116 { echo "$as_me:$LINENO: result: yes (${gcc_version}) using %d instead of %zu" >&5
19535echo "${ECHO_T}yes (${gcc_version}) using %d instead of %zu" >&6 20117echo "${ECHO_T}yes (${gcc_version}) using %d instead of %zu" >&6; }
19536 UNSIGNED_INT_ARG="%d" 20118 UNSIGNED_INT_ARG="%d"
19537 20119
19538 gcc_special_cflags="-mcpu=pentium -malign-loops=5 -malign-jumps=5 -malign-functions=5" 20120 gcc_special_cflags="-mcpu=pentium -malign-loops=5 -malign-jumps=5 -malign-functions=5"
19539 ;; 20121 ;;
19540 3.*) 20122 3.*)
19541 echo "$as_me:$LINENO: result: yes (${gcc_version}) using -falign instead of -malign" >&5 20123 { echo "$as_me:$LINENO: result: yes (${gcc_version}) using -falign instead of -malign" >&5
19542echo "${ECHO_T}yes (${gcc_version}) using -falign instead of -malign" >&6 20124echo "${ECHO_T}yes (${gcc_version}) using -falign instead of -malign" >&6; }
19543 UNSIGNED_INT_ARG="%zu" 20125 UNSIGNED_INT_ARG="%zu"
19544 20126
19545 gcc_special_cflags="-mcpu=pentium -falign-loops=5 -falign-jumps=5 -falign-functions=5" 20127 gcc_special_cflags="-mcpu=pentium -falign-loops=5 -falign-jumps=5 -falign-functions=5"
19546 ;; 20128 ;;
19547 4.*) 20129 4.*)
19548 echo "$as_me:$LINENO: result: yes (${gcc_version}) using -falign instead of -malign" >&5 20130 { echo "$as_me:$LINENO: result: yes (${gcc_version}) using -falign instead of -malign" >&5
19549echo "${ECHO_T}yes (${gcc_version}) using -falign instead of -malign" >&6 20131echo "${ECHO_T}yes (${gcc_version}) using -falign instead of -malign" >&6; }
19550 UNSIGNED_INT_ARG="%zu" 20132 UNSIGNED_INT_ARG="%zu"
19551 20133
19552 gcc_special_cflags="-mcpu=pentium -falign-loops=5 -falign-jumps=5 -falign-functions=5" 20134 gcc_special_cflags="-mcpu=pentium -falign-loops=5 -falign-jumps=5 -falign-functions=5"
19553 ;; 20135 ;;
19554 *) 20136 *)
19555 echo "$as_me:$LINENO: result: ok (${gcc_version})" >&5 20137 { echo "$as_me:$LINENO: result: ok (${gcc_version})" >&5
19556echo "${ECHO_T}ok (${gcc_version})" >&6 20138echo "${ECHO_T}ok (${gcc_version})" >&6; }
19557 UNSIGNED_INT_ARG="%zu" 20139 UNSIGNED_INT_ARG="%zu"
19558 20140
19559 ;; 20141 ;;
19560esac 20142esac
19561 20143
19610 20192
19611#------------------------------------------------------------------------------- 20193#-------------------------------------------------------------------------------
19612# Checks for header files. 20194# Checks for header files.
19613#------------------------------------------------------------------------------- 20195#-------------------------------------------------------------------------------
19614 20196
19615echo "$as_me:$LINENO: checking for ANSI C header files" >&5 20197{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19616echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 20198echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19617if test "${ac_cv_header_stdc+set}" = set; then 20199if test "${ac_cv_header_stdc+set}" = set; then
19618 echo $ECHO_N "(cached) $ECHO_C" >&6 20200 echo $ECHO_N "(cached) $ECHO_C" >&6
19619else 20201else
19620 cat >conftest.$ac_ext <<_ACEOF 20202 cat >conftest.$ac_ext <<_ACEOF
19621/* confdefs.h. */ 20203/* confdefs.h. */
19635 ; 20217 ;
19636 return 0; 20218 return 0;
19637} 20219}
19638_ACEOF 20220_ACEOF
19639rm -f conftest.$ac_objext 20221rm -f conftest.$ac_objext
20222if { (ac_try="$ac_compile"
20223case "(($ac_try" in
20224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20225 *) ac_try_echo=$ac_try;;
20226esac
19640if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 20227eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19641 (eval $ac_compile) 2>conftest.er1 20228 (eval "$ac_compile") 2>conftest.er1
19642 ac_status=$? 20229 ac_status=$?
19643 grep -v '^ *+' conftest.er1 >conftest.err 20230 grep -v '^ *+' conftest.er1 >conftest.err
19644 rm -f conftest.er1 20231 rm -f conftest.er1
19645 cat conftest.err >&5 20232 cat conftest.err >&5
19646 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19647 (exit $ac_status); } && 20234 (exit $ac_status); } && {
19648 { ac_try='test -z "$ac_c_werror_flag" 20235 test -z "$ac_c_werror_flag" ||
19649 || test ! -s conftest.err' 20236 test ! -s conftest.err
19650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20237 } && test -s conftest.$ac_objext; then
19651 (eval $ac_try) 2>&5
19652 ac_status=$?
19653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19654 (exit $ac_status); }; } &&
19655 { ac_try='test -s conftest.$ac_objext'
19656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19657 (eval $ac_try) 2>&5
19658 ac_status=$?
19659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660 (exit $ac_status); }; }; then
19661 ac_cv_header_stdc=yes 20238 ac_cv_header_stdc=yes
19662else 20239else
19663 echo "$as_me: failed program was:" >&5 20240 echo "$as_me: failed program was:" >&5
19664sed 's/^/| /' conftest.$ac_ext >&5 20241sed 's/^/| /' conftest.$ac_ext >&5
19665 20242
19666ac_cv_header_stdc=no 20243 ac_cv_header_stdc=no
19667fi 20244fi
20245
19668rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 20246rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19669 20247
19670if test $ac_cv_header_stdc = yes; then 20248if test $ac_cv_header_stdc = yes; then
19671 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 20249 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19672 cat >conftest.$ac_ext <<_ACEOF 20250 cat >conftest.$ac_ext <<_ACEOF
19673/* confdefs.h. */ 20251/* confdefs.h. */
19719_ACEOF 20297_ACEOF
19720cat confdefs.h >>conftest.$ac_ext 20298cat confdefs.h >>conftest.$ac_ext
19721cat >>conftest.$ac_ext <<_ACEOF 20299cat >>conftest.$ac_ext <<_ACEOF
19722/* end confdefs.h. */ 20300/* end confdefs.h. */
19723#include <ctype.h> 20301#include <ctype.h>
20302#include <stdlib.h>
19724#if ((' ' & 0x0FF) == 0x020) 20303#if ((' ' & 0x0FF) == 0x020)
19725# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 20304# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19726# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 20305# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19727#else 20306#else
19728# define ISLOWER(c) \ 20307# define ISLOWER(c) \
19738{ 20317{
19739 int i; 20318 int i;
19740 for (i = 0; i < 256; i++) 20319 for (i = 0; i < 256; i++)
19741 if (XOR (islower (i), ISLOWER (i)) 20320 if (XOR (islower (i), ISLOWER (i))
19742 || toupper (i) != TOUPPER (i)) 20321 || toupper (i) != TOUPPER (i))
19743 exit(2); 20322 return 2;
19744 exit (0); 20323 return 0;
19745} 20324}
19746_ACEOF 20325_ACEOF
19747rm -f conftest$ac_exeext 20326rm -f conftest$ac_exeext
20327if { (ac_try="$ac_link"
20328case "(($ac_try" in
20329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20330 *) ac_try_echo=$ac_try;;
20331esac
19748if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 20332eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19749 (eval $ac_link) 2>&5 20333 (eval "$ac_link") 2>&5
19750 ac_status=$? 20334 ac_status=$?
19751 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 20336 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20337 { (case "(($ac_try" in
20338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20339 *) ac_try_echo=$ac_try;;
20340esac
19753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20341eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19754 (eval $ac_try) 2>&5 20342 (eval "$ac_try") 2>&5
19755 ac_status=$? 20343 ac_status=$?
19756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757 (exit $ac_status); }; }; then 20345 (exit $ac_status); }; }; then
19758 : 20346 :
19759else 20347else
19762sed 's/^/| /' conftest.$ac_ext >&5 20350sed 's/^/| /' conftest.$ac_ext >&5
19763 20351
19764( exit $ac_status ) 20352( exit $ac_status )
19765ac_cv_header_stdc=no 20353ac_cv_header_stdc=no
19766fi 20354fi
19767rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 20355rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19768fi 20356fi
20357
20358
19769fi 20359fi
19770fi 20360fi
19771echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 20361{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19772echo "${ECHO_T}$ac_cv_header_stdc" >&6 20362echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19773if test $ac_cv_header_stdc = yes; then 20363if test $ac_cv_header_stdc = yes; then
19774 20364
19775cat >>confdefs.h <<\_ACEOF 20365cat >>confdefs.h <<\_ACEOF
19776#define STDC_HEADERS 1 20366#define STDC_HEADERS 1
19777_ACEOF 20367_ACEOF
19790 20380
19791for ac_header in arpa/inet.h, netdb.h, netinet/in.h, stdlib.h, \ 20381for ac_header in arpa/inet.h, netdb.h, netinet/in.h, stdlib.h, \
19792 string.h, strings.h, sys/socket.h unistd.h, error.h, inttypes.h 20382 string.h, strings.h, sys/socket.h unistd.h, error.h, inttypes.h
19793do 20383do
19794as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 20384as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19795if eval "test \"\${$as_ac_Header+set}\" = set"; then 20385if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19796 echo "$as_me:$LINENO: checking for $ac_header" >&5 20386 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19797echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 20387echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19798if eval "test \"\${$as_ac_Header+set}\" = set"; then 20388if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19799 echo $ECHO_N "(cached) $ECHO_C" >&6 20389 echo $ECHO_N "(cached) $ECHO_C" >&6
19800fi 20390fi
19801echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 20391ac_res=`eval echo '${'$as_ac_Header'}'`
19802echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 20392 { echo "$as_me:$LINENO: result: $ac_res" >&5
20393echo "${ECHO_T}$ac_res" >&6; }
19803else 20394else
19804 # Is the header compilable? 20395 # Is the header compilable?
19805echo "$as_me:$LINENO: checking $ac_header usability" >&5 20396{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
19806echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 20397echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19807cat >conftest.$ac_ext <<_ACEOF 20398cat >conftest.$ac_ext <<_ACEOF
19808/* confdefs.h. */ 20399/* confdefs.h. */
19809_ACEOF 20400_ACEOF
19810cat confdefs.h >>conftest.$ac_ext 20401cat confdefs.h >>conftest.$ac_ext
19811cat >>conftest.$ac_ext <<_ACEOF 20402cat >>conftest.$ac_ext <<_ACEOF
19812/* end confdefs.h. */ 20403/* end confdefs.h. */
19813$ac_includes_default 20404$ac_includes_default
19814#include <$ac_header> 20405#include <$ac_header>
19815_ACEOF 20406_ACEOF
19816rm -f conftest.$ac_objext 20407rm -f conftest.$ac_objext
20408if { (ac_try="$ac_compile"
20409case "(($ac_try" in
20410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20411 *) ac_try_echo=$ac_try;;
20412esac
19817if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 20413eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19818 (eval $ac_compile) 2>conftest.er1 20414 (eval "$ac_compile") 2>conftest.er1
19819 ac_status=$? 20415 ac_status=$?
19820 grep -v '^ *+' conftest.er1 >conftest.err 20416 grep -v '^ *+' conftest.er1 >conftest.err
19821 rm -f conftest.er1 20417 rm -f conftest.er1
19822 cat conftest.err >&5 20418 cat conftest.err >&5
19823 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824 (exit $ac_status); } && 20420 (exit $ac_status); } && {
19825 { ac_try='test -z "$ac_c_werror_flag" 20421 test -z "$ac_c_werror_flag" ||
19826 || test ! -s conftest.err' 20422 test ! -s conftest.err
19827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20423 } && test -s conftest.$ac_objext; then
19828 (eval $ac_try) 2>&5
19829 ac_status=$?
19830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831 (exit $ac_status); }; } &&
19832 { ac_try='test -s conftest.$ac_objext'
19833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19834 (eval $ac_try) 2>&5
19835 ac_status=$?
19836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19837 (exit $ac_status); }; }; then
19838 ac_header_compiler=yes 20424 ac_header_compiler=yes
19839else 20425else
19840 echo "$as_me: failed program was:" >&5 20426 echo "$as_me: failed program was:" >&5
19841sed 's/^/| /' conftest.$ac_ext >&5 20427sed 's/^/| /' conftest.$ac_ext >&5
19842 20428
19843ac_header_compiler=no 20429 ac_header_compiler=no
19844fi 20430fi
20431
19845rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 20432rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19846echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 20433{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19847echo "${ECHO_T}$ac_header_compiler" >&6 20434echo "${ECHO_T}$ac_header_compiler" >&6; }
19848 20435
19849# Is the header present? 20436# Is the header present?
19850echo "$as_me:$LINENO: checking $ac_header presence" >&5 20437{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
19851echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 20438echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19852cat >conftest.$ac_ext <<_ACEOF 20439cat >conftest.$ac_ext <<_ACEOF
19853/* confdefs.h. */ 20440/* confdefs.h. */
19854_ACEOF 20441_ACEOF
19855cat confdefs.h >>conftest.$ac_ext 20442cat confdefs.h >>conftest.$ac_ext
19856cat >>conftest.$ac_ext <<_ACEOF 20443cat >>conftest.$ac_ext <<_ACEOF
19857/* end confdefs.h. */ 20444/* end confdefs.h. */
19858#include <$ac_header> 20445#include <$ac_header>
19859_ACEOF 20446_ACEOF
19860if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 20447if { (ac_try="$ac_cpp conftest.$ac_ext"
20448case "(($ac_try" in
20449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20450 *) ac_try_echo=$ac_try;;
20451esac
20452eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19861 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 20453 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19862 ac_status=$? 20454 ac_status=$?
19863 grep -v '^ *+' conftest.er1 >conftest.err 20455 grep -v '^ *+' conftest.er1 >conftest.err
19864 rm -f conftest.er1 20456 rm -f conftest.er1
19865 cat conftest.err >&5 20457 cat conftest.err >&5
19866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19867 (exit $ac_status); } >/dev/null; then 20459 (exit $ac_status); } >/dev/null && {
20460 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19868 if test -s conftest.err; then 20461 test ! -s conftest.err
19869 ac_cpp_err=$ac_c_preproc_warn_flag 20462 }; then
19870 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19871 else
19872 ac_cpp_err=
19873 fi
19874else
19875 ac_cpp_err=yes
19876fi
19877if test -z "$ac_cpp_err"; then
19878 ac_header_preproc=yes 20463 ac_header_preproc=yes
19879else 20464else
19880 echo "$as_me: failed program was:" >&5 20465 echo "$as_me: failed program was:" >&5
19881sed 's/^/| /' conftest.$ac_ext >&5 20466sed 's/^/| /' conftest.$ac_ext >&5
19882 20467
19883 ac_header_preproc=no 20468 ac_header_preproc=no
19884fi 20469fi
20470
19885rm -f conftest.err conftest.$ac_ext 20471rm -f conftest.err conftest.$ac_ext
19886echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 20472{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19887echo "${ECHO_T}$ac_header_preproc" >&6 20473echo "${ECHO_T}$ac_header_preproc" >&6; }
19888 20474
19889# So? What about this header? 20475# So? What about this header?
19890case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 20476case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19891 yes:no: ) 20477 yes:no: )
19892 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 20478 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19906echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 20492echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 20493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19908echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 20494echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19909 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 20495 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19910echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 20496echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19911 (
19912 cat <<\_ASBOX 20497 ( cat <<\_ASBOX
19913## ------------------------------------ ## 20498## ------------------------------------ ##
19914## Report this to jcouzens@codeshare.ca ## 20499## Report this to jcouzens@codeshare.ca ##
19915## ------------------------------------ ## 20500## ------------------------------------ ##
19916_ASBOX 20501_ASBOX
19917 ) |
19918 sed "s/^/$as_me: WARNING: /" >&2 20502 ) | sed "s/^/$as_me: WARNING: /" >&2
19919 ;; 20503 ;;
19920esac 20504esac
19921echo "$as_me:$LINENO: checking for $ac_header" >&5 20505{ echo "$as_me:$LINENO: checking for $ac_header" >&5
19922echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 20506echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19923if eval "test \"\${$as_ac_Header+set}\" = set"; then 20507if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19924 echo $ECHO_N "(cached) $ECHO_C" >&6 20508 echo $ECHO_N "(cached) $ECHO_C" >&6
19925else 20509else
19926 eval "$as_ac_Header=\$ac_header_preproc" 20510 eval "$as_ac_Header=\$ac_header_preproc"
19927fi 20511fi
19928echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 20512ac_res=`eval echo '${'$as_ac_Header'}'`
19929echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 20513 { echo "$as_me:$LINENO: result: $ac_res" >&5
20514echo "${ECHO_T}$ac_res" >&6; }
19930 20515
19931fi 20516fi
19932if test `eval echo '${'$as_ac_Header'}'` = yes; then 20517if test `eval echo '${'$as_ac_Header'}'` = yes; then
19933 cat >>confdefs.h <<_ACEOF 20518 cat >>confdefs.h <<_ACEOF
19934#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 20519#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19942 20527
19943#------------------------------------------------------------------------------- 20528#-------------------------------------------------------------------------------
19944# Required Types, structures and other compiler requirements 20529# Required Types, structures and other compiler requirements
19945#------------------------------------------------------------------------------- 20530#-------------------------------------------------------------------------------
19946 20531
19947echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 20532{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19948echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 20533echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19949if test "${ac_cv_c_const+set}" = set; then 20534if test "${ac_cv_c_const+set}" = set; then
19950 echo $ECHO_N "(cached) $ECHO_C" >&6 20535 echo $ECHO_N "(cached) $ECHO_C" >&6
19951else 20536else
19952 cat >conftest.$ac_ext <<_ACEOF 20537 cat >conftest.$ac_ext <<_ACEOF
19953/* confdefs.h. */ 20538/* confdefs.h. */
19961{ 20546{
19962/* FIXME: Include the comments suggested by Paul. */ 20547/* FIXME: Include the comments suggested by Paul. */
19963#ifndef __cplusplus 20548#ifndef __cplusplus
19964 /* Ultrix mips cc rejects this. */ 20549 /* Ultrix mips cc rejects this. */
19965 typedef int charset[2]; 20550 typedef int charset[2];
19966 const charset x; 20551 const charset cs;
19967 /* SunOS 4.1.1 cc rejects this. */ 20552 /* SunOS 4.1.1 cc rejects this. */
19968 char const *const *ccp; 20553 char const *const *pcpcc;
19969 char **p; 20554 char **ppc;
19970 /* NEC SVR4.0.2 mips cc rejects this. */ 20555 /* NEC SVR4.0.2 mips cc rejects this. */
19971 struct point {int x, y;}; 20556 struct point {int x, y;};
19972 static struct point const zero = {0,0}; 20557 static struct point const zero = {0,0};
19973 /* AIX XL C 1.02.0.0 rejects this. 20558 /* AIX XL C 1.02.0.0 rejects this.
19974 It does not let you subtract one const X* pointer from another in 20559 It does not let you subtract one const X* pointer from another in
19975 an arm of an if-expression whose if-part is not a constant 20560 an arm of an if-expression whose if-part is not a constant
19976 expression */ 20561 expression */
19977 const char *g = "string"; 20562 const char *g = "string";
19978 ccp = &g + (g ? g-g : 0); 20563 pcpcc = &g + (g ? g-g : 0);
19979 /* HPUX 7.0 cc rejects these. */ 20564 /* HPUX 7.0 cc rejects these. */
19980 ++ccp; 20565 ++pcpcc;
19981 p = (char**) ccp; 20566 ppc = (char**) pcpcc;
19982 ccp = (char const *const *) p; 20567 pcpcc = (char const *const *) ppc;
19983 { /* SCO 3.2v4 cc rejects this. */ 20568 { /* SCO 3.2v4 cc rejects this. */
19984 char *t; 20569 char *t;
19985 char const *s = 0 ? (char *) 0 : (char const *) 0; 20570 char const *s = 0 ? (char *) 0 : (char const *) 0;
19986 20571
19987 *t++ = 0; 20572 *t++ = 0;
20573 if (s) return 0;
19988 } 20574 }
19989 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 20575 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19990 int x[] = {25, 17}; 20576 int x[] = {25, 17};
19991 const int *foo = &x[0]; 20577 const int *foo = &x[0];
19992 ++foo; 20578 ++foo;
20001 struct s { int j; const int *ap[3]; }; 20587 struct s { int j; const int *ap[3]; };
20002 struct s *b; b->j = 5; 20588 struct s *b; b->j = 5;
20003 } 20589 }
20004 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 20590 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20005 const int foo = 10; 20591 const int foo = 10;
20592 if (!foo) return 0;
20006 } 20593 }
20594 return !cs[0] && !zero.x;
20007#endif 20595#endif
20008 20596
20009 ; 20597 ;
20010 return 0; 20598 return 0;
20011} 20599}
20012_ACEOF 20600_ACEOF
20013rm -f conftest.$ac_objext 20601rm -f conftest.$ac_objext
20602if { (ac_try="$ac_compile"
20603case "(($ac_try" in
20604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20605 *) ac_try_echo=$ac_try;;
20606esac
20014if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 20607eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20015 (eval $ac_compile) 2>conftest.er1 20608 (eval "$ac_compile") 2>conftest.er1
20016 ac_status=$? 20609 ac_status=$?
20017 grep -v '^ *+' conftest.er1 >conftest.err 20610 grep -v '^ *+' conftest.er1 >conftest.err
20018 rm -f conftest.er1 20611 rm -f conftest.er1
20019 cat conftest.err >&5 20612 cat conftest.err >&5
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); } && 20614 (exit $ac_status); } && {
20022 { ac_try='test -z "$ac_c_werror_flag" 20615 test -z "$ac_c_werror_flag" ||
20023 || test ! -s conftest.err' 20616 test ! -s conftest.err
20024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20617 } && test -s conftest.$ac_objext; then
20025 (eval $ac_try) 2>&5
20026 ac_status=$?
20027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20028 (exit $ac_status); }; } &&
20029 { ac_try='test -s conftest.$ac_objext'
20030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20031 (eval $ac_try) 2>&5
20032 ac_status=$?
20033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20034 (exit $ac_status); }; }; then
20035 ac_cv_c_const=yes 20618 ac_cv_c_const=yes
20036else 20619else
20037 echo "$as_me: failed program was:" >&5 20620 echo "$as_me: failed program was:" >&5
20038sed 's/^/| /' conftest.$ac_ext >&5 20621sed 's/^/| /' conftest.$ac_ext >&5
20039 20622
20040ac_cv_c_const=no 20623 ac_cv_c_const=no
20041fi 20624fi
20625
20042rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 20626rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20043fi 20627fi
20044echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 20628{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20045echo "${ECHO_T}$ac_cv_c_const" >&6 20629echo "${ECHO_T}$ac_cv_c_const" >&6; }
20046if test $ac_cv_c_const = no; then 20630if test $ac_cv_c_const = no; then
20047 20631
20048cat >>confdefs.h <<\_ACEOF 20632cat >>confdefs.h <<\_ACEOF
20049#define const 20633#define const
20050_ACEOF 20634_ACEOF
20051 20635
20052fi 20636fi
20053 20637
20054echo "$as_me:$LINENO: checking for inline" >&5 20638{ echo "$as_me:$LINENO: checking for inline" >&5
20055echo $ECHO_N "checking for inline... $ECHO_C" >&6 20639echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20056if test "${ac_cv_c_inline+set}" = set; then 20640if test "${ac_cv_c_inline+set}" = set; then
20057 echo $ECHO_N "(cached) $ECHO_C" >&6 20641 echo $ECHO_N "(cached) $ECHO_C" >&6
20058else 20642else
20059 ac_cv_c_inline=no 20643 ac_cv_c_inline=no
20060for ac_kw in inline __inline__ __inline; do 20644for ac_kw in inline __inline__ __inline; do
20070$ac_kw foo_t foo () {return 0; } 20654$ac_kw foo_t foo () {return 0; }
20071#endif 20655#endif
20072 20656
20073_ACEOF 20657_ACEOF
20074rm -f conftest.$ac_objext 20658rm -f conftest.$ac_objext
20659if { (ac_try="$ac_compile"
20660case "(($ac_try" in
20661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20662 *) ac_try_echo=$ac_try;;
20663esac
20075if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 20664eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20076 (eval $ac_compile) 2>conftest.er1 20665 (eval "$ac_compile") 2>conftest.er1
20077 ac_status=$? 20666 ac_status=$?
20078 grep -v '^ *+' conftest.er1 >conftest.err 20667 grep -v '^ *+' conftest.er1 >conftest.err
20079 rm -f conftest.er1 20668 rm -f conftest.er1
20080 cat conftest.err >&5 20669 cat conftest.err >&5
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); } && 20671 (exit $ac_status); } && {
20083 { ac_try='test -z "$ac_c_werror_flag" 20672 test -z "$ac_c_werror_flag" ||
20084 || test ! -s conftest.err' 20673 test ! -s conftest.err
20085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20674 } && test -s conftest.$ac_objext; then
20086 (eval $ac_try) 2>&5
20087 ac_status=$?
20088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089 (exit $ac_status); }; } &&
20090 { ac_try='test -s conftest.$ac_objext'
20091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20092 (eval $ac_try) 2>&5
20093 ac_status=$?
20094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20095 (exit $ac_status); }; }; then
20096 ac_cv_c_inline=$ac_kw; break 20675 ac_cv_c_inline=$ac_kw
20097else 20676else
20098 echo "$as_me: failed program was:" >&5 20677 echo "$as_me: failed program was:" >&5
20099sed 's/^/| /' conftest.$ac_ext >&5 20678sed 's/^/| /' conftest.$ac_ext >&5
20100 20679
20680
20101fi 20681fi
20682
20102rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 20683rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20684 test "$ac_cv_c_inline" != no && break
20103done 20685done
20104 20686
20105fi 20687fi
20106echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 20688{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20107echo "${ECHO_T}$ac_cv_c_inline" >&6 20689echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20108 20690
20109 20691
20110case $ac_cv_c_inline in 20692case $ac_cv_c_inline in
20111 inline | yes) ;; 20693 inline | yes) ;;
20112 *) 20694 *)
20120#endif 20702#endif
20121_ACEOF 20703_ACEOF
20122 ;; 20704 ;;
20123esac 20705esac
20124 20706
20125echo "$as_me:$LINENO: checking for size_t" >&5 20707{ echo "$as_me:$LINENO: checking for size_t" >&5
20126echo $ECHO_N "checking for size_t... $ECHO_C" >&6 20708echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20127if test "${ac_cv_type_size_t+set}" = set; then 20709if test "${ac_cv_type_size_t+set}" = set; then
20128 echo $ECHO_N "(cached) $ECHO_C" >&6 20710 echo $ECHO_N "(cached) $ECHO_C" >&6
20129else 20711else
20130 cat >conftest.$ac_ext <<_ACEOF 20712 cat >conftest.$ac_ext <<_ACEOF
20131/* confdefs.h. */ 20713/* confdefs.h. */
20132_ACEOF 20714_ACEOF
20133cat confdefs.h >>conftest.$ac_ext 20715cat confdefs.h >>conftest.$ac_ext
20134cat >>conftest.$ac_ext <<_ACEOF 20716cat >>conftest.$ac_ext <<_ACEOF
20135/* end confdefs.h. */ 20717/* end confdefs.h. */
20136$ac_includes_default 20718$ac_includes_default
20719typedef size_t ac__type_new_;
20137int 20720int
20138main () 20721main ()
20139{ 20722{
20140if ((size_t *) 0) 20723if ((ac__type_new_ *) 0)
20141 return 0; 20724 return 0;
20142if (sizeof (size_t)) 20725if (sizeof (ac__type_new_))
20143 return 0; 20726 return 0;
20144 ; 20727 ;
20145 return 0; 20728 return 0;
20146} 20729}
20147_ACEOF 20730_ACEOF
20148rm -f conftest.$ac_objext 20731rm -f conftest.$ac_objext
20732if { (ac_try="$ac_compile"
20733case "(($ac_try" in
20734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20735 *) ac_try_echo=$ac_try;;
20736esac
20149if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 20737eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20150 (eval $ac_compile) 2>conftest.er1 20738 (eval "$ac_compile") 2>conftest.er1
20151 ac_status=$? 20739 ac_status=$?
20152 grep -v '^ *+' conftest.er1 >conftest.err 20740 grep -v '^ *+' conftest.er1 >conftest.err
20153 rm -f conftest.er1 20741 rm -f conftest.er1
20154 cat conftest.err >&5 20742 cat conftest.err >&5
20155 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20156 (exit $ac_status); } && 20744 (exit $ac_status); } && {
20157 { ac_try='test -z "$ac_c_werror_flag" 20745 test -z "$ac_c_werror_flag" ||
20158 || test ! -s conftest.err' 20746 test ! -s conftest.err
20159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20747 } && test -s conftest.$ac_objext; then
20160 (eval $ac_try) 2>&5
20161 ac_status=$?
20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163 (exit $ac_status); }; } &&
20164 { ac_try='test -s conftest.$ac_objext'
20165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20166 (eval $ac_try) 2>&5
20167 ac_status=$?
20168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20169 (exit $ac_status); }; }; then
20170 ac_cv_type_size_t=yes 20748 ac_cv_type_size_t=yes
20171else 20749else
20172 echo "$as_me: failed program was:" >&5 20750 echo "$as_me: failed program was:" >&5
20173sed 's/^/| /' conftest.$ac_ext >&5 20751sed 's/^/| /' conftest.$ac_ext >&5
20174 20752
20175ac_cv_type_size_t=no 20753 ac_cv_type_size_t=no
20176fi 20754fi
20755
20177rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 20756rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20178fi 20757fi
20179echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 20758{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20180echo "${ECHO_T}$ac_cv_type_size_t" >&6 20759echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20181if test $ac_cv_type_size_t = yes; then 20760if test $ac_cv_type_size_t = yes; then
20182 : 20761 :
20183else 20762else
20184 20763
20185cat >>confdefs.h <<_ACEOF 20764cat >>confdefs.h <<_ACEOF
20186#define size_t unsigned 20765#define size_t unsigned int
20187_ACEOF 20766_ACEOF
20188 20767
20189fi 20768fi
20190 20769
20191echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 20770{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20192echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 20771echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
20193if test "${ac_cv_struct_tm+set}" = set; then 20772if test "${ac_cv_struct_tm+set}" = set; then
20194 echo $ECHO_N "(cached) $ECHO_C" >&6 20773 echo $ECHO_N "(cached) $ECHO_C" >&6
20195else 20774else
20196 cat >conftest.$ac_ext <<_ACEOF 20775 cat >conftest.$ac_ext <<_ACEOF
20197/* confdefs.h. */ 20776/* confdefs.h. */
20203#include <time.h> 20782#include <time.h>
20204 20783
20205int 20784int
20206main () 20785main ()
20207{ 20786{
20208struct tm *tp; tp->tm_sec; 20787struct tm tm;
20788 int *p = &tm.tm_sec;
20789 return !p;
20209 ; 20790 ;
20210 return 0; 20791 return 0;
20211} 20792}
20212_ACEOF 20793_ACEOF
20213rm -f conftest.$ac_objext 20794rm -f conftest.$ac_objext
20795if { (ac_try="$ac_compile"
20796case "(($ac_try" in
20797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20798 *) ac_try_echo=$ac_try;;
20799esac
20214if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 20800eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20215 (eval $ac_compile) 2>conftest.er1 20801 (eval "$ac_compile") 2>conftest.er1
20216 ac_status=$? 20802 ac_status=$?
20217 grep -v '^ *+' conftest.er1 >conftest.err 20803 grep -v '^ *+' conftest.er1 >conftest.err
20218 rm -f conftest.er1 20804 rm -f conftest.er1
20219 cat conftest.err >&5 20805 cat conftest.err >&5
20220 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20221 (exit $ac_status); } && 20807 (exit $ac_status); } && {
20222 { ac_try='test -z "$ac_c_werror_flag" 20808 test -z "$ac_c_werror_flag" ||
20223 || test ! -s conftest.err' 20809 test ! -s conftest.err
20224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20810 } && test -s conftest.$ac_objext; then
20225 (eval $ac_try) 2>&5
20226 ac_status=$?
20227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228 (exit $ac_status); }; } &&
20229 { ac_try='test -s conftest.$ac_objext'
20230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20231 (eval $ac_try) 2>&5
20232 ac_status=$?
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); }; }; then
20235 ac_cv_struct_tm=time.h 20811 ac_cv_struct_tm=time.h
20236else 20812else
20237 echo "$as_me: failed program was:" >&5 20813 echo "$as_me: failed program was:" >&5
20238sed 's/^/| /' conftest.$ac_ext >&5 20814sed 's/^/| /' conftest.$ac_ext >&5
20239 20815
20240ac_cv_struct_tm=sys/time.h 20816 ac_cv_struct_tm=sys/time.h
20241fi 20817fi
20818
20242rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 20819rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20243fi 20820fi
20244echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 20821{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20245echo "${ECHO_T}$ac_cv_struct_tm" >&6 20822echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
20246if test $ac_cv_struct_tm = sys/time.h; then 20823if test $ac_cv_struct_tm = sys/time.h; then
20247 20824
20248cat >>confdefs.h <<\_ACEOF 20825cat >>confdefs.h <<\_ACEOF
20249#define TM_IN_SYS_TIME 1 20826#define TM_IN_SYS_TIME 1
20250_ACEOF 20827_ACEOF
20251 20828
20252fi 20829fi
20253 20830
20254 20831
20255echo "$as_me:$LINENO: checking whether char is unsigned" >&5 20832{ echo "$as_me:$LINENO: checking whether char is unsigned" >&5
20256echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6 20833echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6; }
20257if test "${ac_cv_c_char_unsigned+set}" = set; then 20834if test "${ac_cv_c_char_unsigned+set}" = set; then
20258 echo $ECHO_N "(cached) $ECHO_C" >&6 20835 echo $ECHO_N "(cached) $ECHO_C" >&6
20259else 20836else
20260 cat >conftest.$ac_ext <<_ACEOF 20837 cat >conftest.$ac_ext <<_ACEOF
20261/* confdefs.h. */ 20838/* confdefs.h. */
20273 ; 20850 ;
20274 return 0; 20851 return 0;
20275} 20852}
20276_ACEOF 20853_ACEOF
20277rm -f conftest.$ac_objext 20854rm -f conftest.$ac_objext
20855if { (ac_try="$ac_compile"
20856case "(($ac_try" in
20857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20858 *) ac_try_echo=$ac_try;;
20859esac
20278if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 20860eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20279 (eval $ac_compile) 2>conftest.er1 20861 (eval "$ac_compile") 2>conftest.er1
20280 ac_status=$? 20862 ac_status=$?
20281 grep -v '^ *+' conftest.er1 >conftest.err 20863 grep -v '^ *+' conftest.er1 >conftest.err
20282 rm -f conftest.er1 20864 rm -f conftest.er1
20283 cat conftest.err >&5 20865 cat conftest.err >&5
20284 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20285 (exit $ac_status); } && 20867 (exit $ac_status); } && {
20286 { ac_try='test -z "$ac_c_werror_flag" 20868 test -z "$ac_c_werror_flag" ||
20287 || test ! -s conftest.err' 20869 test ! -s conftest.err
20288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20870 } && test -s conftest.$ac_objext; then
20289 (eval $ac_try) 2>&5
20290 ac_status=$?
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); }; } &&
20293 { ac_try='test -s conftest.$ac_objext'
20294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20295 (eval $ac_try) 2>&5
20296 ac_status=$?
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); }; }; then
20299 ac_cv_c_char_unsigned=no 20871 ac_cv_c_char_unsigned=no
20300else 20872else
20301 echo "$as_me: failed program was:" >&5 20873 echo "$as_me: failed program was:" >&5
20302sed 's/^/| /' conftest.$ac_ext >&5 20874sed 's/^/| /' conftest.$ac_ext >&5
20303 20875
20304ac_cv_c_char_unsigned=yes 20876 ac_cv_c_char_unsigned=yes
20305fi 20877fi
20878
20306rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 20879rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20307fi 20880fi
20308echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5 20881{ echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5
20309echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6 20882echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6; }
20310if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then 20883if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
20311 cat >>confdefs.h <<\_ACEOF 20884 cat >>confdefs.h <<\_ACEOF
20312#define __CHAR_UNSIGNED__ 1 20885#define __CHAR_UNSIGNED__ 1
20313_ACEOF 20886_ACEOF
20314 20887
20315fi 20888fi
20316 20889
20317echo "$as_me:$LINENO: checking for u_char" >&5 20890{ echo "$as_me:$LINENO: checking for u_char" >&5
20318echo $ECHO_N "checking for u_char... $ECHO_C" >&6 20891echo $ECHO_N "checking for u_char... $ECHO_C" >&6; }
20319if test "${ac_cv_type_u_char+set}" = set; then 20892if test "${ac_cv_type_u_char+set}" = set; then
20320 echo $ECHO_N "(cached) $ECHO_C" >&6 20893 echo $ECHO_N "(cached) $ECHO_C" >&6
20321else 20894else
20322 cat >conftest.$ac_ext <<_ACEOF 20895 cat >conftest.$ac_ext <<_ACEOF
20323/* confdefs.h. */ 20896/* confdefs.h. */
20324_ACEOF 20897_ACEOF
20325cat confdefs.h >>conftest.$ac_ext 20898cat confdefs.h >>conftest.$ac_ext
20326cat >>conftest.$ac_ext <<_ACEOF 20899cat >>conftest.$ac_ext <<_ACEOF
20327/* end confdefs.h. */ 20900/* end confdefs.h. */
20328$ac_includes_default 20901$ac_includes_default
20902typedef u_char ac__type_new_;
20329int 20903int
20330main () 20904main ()
20331{ 20905{
20332if ((u_char *) 0) 20906if ((ac__type_new_ *) 0)
20333 return 0; 20907 return 0;
20334if (sizeof (u_char)) 20908if (sizeof (ac__type_new_))
20335 return 0; 20909 return 0;
20336 ; 20910 ;
20337 return 0; 20911 return 0;
20338} 20912}
20339_ACEOF 20913_ACEOF
20340rm -f conftest.$ac_objext 20914rm -f conftest.$ac_objext
20915if { (ac_try="$ac_compile"
20916case "(($ac_try" in
20917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20918 *) ac_try_echo=$ac_try;;
20919esac
20341if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 20920eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20342 (eval $ac_compile) 2>conftest.er1 20921 (eval "$ac_compile") 2>conftest.er1
20343 ac_status=$? 20922 ac_status=$?
20344 grep -v '^ *+' conftest.er1 >conftest.err 20923 grep -v '^ *+' conftest.er1 >conftest.err
20345 rm -f conftest.er1 20924 rm -f conftest.er1
20346 cat conftest.err >&5 20925 cat conftest.err >&5
20347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20348 (exit $ac_status); } && 20927 (exit $ac_status); } && {
20349 { ac_try='test -z "$ac_c_werror_flag" 20928 test -z "$ac_c_werror_flag" ||
20350 || test ! -s conftest.err' 20929 test ! -s conftest.err
20351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20930 } && test -s conftest.$ac_objext; then
20352 (eval $ac_try) 2>&5
20353 ac_status=$?
20354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355 (exit $ac_status); }; } &&
20356 { ac_try='test -s conftest.$ac_objext'
20357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20358 (eval $ac_try) 2>&5
20359 ac_status=$?
20360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20361 (exit $ac_status); }; }; then
20362 ac_cv_type_u_char=yes 20931 ac_cv_type_u_char=yes
20363else 20932else
20364 echo "$as_me: failed program was:" >&5 20933 echo "$as_me: failed program was:" >&5
20365sed 's/^/| /' conftest.$ac_ext >&5 20934sed 's/^/| /' conftest.$ac_ext >&5
20366 20935
20367ac_cv_type_u_char=no 20936 ac_cv_type_u_char=no
20368fi 20937fi
20938
20369rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 20939rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20370fi 20940fi
20371echo "$as_me:$LINENO: result: $ac_cv_type_u_char" >&5 20941{ echo "$as_me:$LINENO: result: $ac_cv_type_u_char" >&5
20372echo "${ECHO_T}$ac_cv_type_u_char" >&6 20942echo "${ECHO_T}$ac_cv_type_u_char" >&6; }
20373if test $ac_cv_type_u_char = yes; then 20943if test $ac_cv_type_u_char = yes; then
20374 20944
20375cat >>confdefs.h <<_ACEOF 20945cat >>confdefs.h <<_ACEOF
20376#define HAVE_U_CHAR 1 20946#define HAVE_U_CHAR 1
20377_ACEOF 20947_ACEOF
20378 20948
20379 20949
20380fi 20950fi
20381echo "$as_me:$LINENO: checking for time_t" >&5 20951{ echo "$as_me:$LINENO: checking for time_t" >&5
20382echo $ECHO_N "checking for time_t... $ECHO_C" >&6 20952echo $ECHO_N "checking for time_t... $ECHO_C" >&6; }
20383if test "${ac_cv_type_time_t+set}" = set; then 20953if test "${ac_cv_type_time_t+set}" = set; then
20384 echo $ECHO_N "(cached) $ECHO_C" >&6 20954 echo $ECHO_N "(cached) $ECHO_C" >&6
20385else 20955else
20386 cat >conftest.$ac_ext <<_ACEOF 20956 cat >conftest.$ac_ext <<_ACEOF
20387/* confdefs.h. */ 20957/* confdefs.h. */
20388_ACEOF 20958_ACEOF
20389cat confdefs.h >>conftest.$ac_ext 20959cat confdefs.h >>conftest.$ac_ext
20390cat >>conftest.$ac_ext <<_ACEOF 20960cat >>conftest.$ac_ext <<_ACEOF
20391/* end confdefs.h. */ 20961/* end confdefs.h. */
20392$ac_includes_default 20962$ac_includes_default
20963typedef time_t ac__type_new_;
20393int 20964int
20394main () 20965main ()
20395{ 20966{
20396if ((time_t *) 0) 20967if ((ac__type_new_ *) 0)
20397 return 0; 20968 return 0;
20398if (sizeof (time_t)) 20969if (sizeof (ac__type_new_))
20399 return 0; 20970 return 0;
20400 ; 20971 ;
20401 return 0; 20972 return 0;
20402} 20973}
20403_ACEOF 20974_ACEOF
20404rm -f conftest.$ac_objext 20975rm -f conftest.$ac_objext
20976if { (ac_try="$ac_compile"
20977case "(($ac_try" in
20978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20979 *) ac_try_echo=$ac_try;;
20980esac
20405if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 20981eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20406 (eval $ac_compile) 2>conftest.er1 20982 (eval "$ac_compile") 2>conftest.er1
20407 ac_status=$? 20983 ac_status=$?
20408 grep -v '^ *+' conftest.er1 >conftest.err 20984 grep -v '^ *+' conftest.er1 >conftest.err
20409 rm -f conftest.er1 20985 rm -f conftest.er1
20410 cat conftest.err >&5 20986 cat conftest.err >&5
20411 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20412 (exit $ac_status); } && 20988 (exit $ac_status); } && {
20413 { ac_try='test -z "$ac_c_werror_flag" 20989 test -z "$ac_c_werror_flag" ||
20414 || test ! -s conftest.err' 20990 test ! -s conftest.err
20415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20991 } && test -s conftest.$ac_objext; then
20416 (eval $ac_try) 2>&5
20417 ac_status=$?
20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419 (exit $ac_status); }; } &&
20420 { ac_try='test -s conftest.$ac_objext'
20421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20422 (eval $ac_try) 2>&5
20423 ac_status=$?
20424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20425 (exit $ac_status); }; }; then
20426 ac_cv_type_time_t=yes 20992 ac_cv_type_time_t=yes
20427else 20993else
20428 echo "$as_me: failed program was:" >&5 20994 echo "$as_me: failed program was:" >&5
20429sed 's/^/| /' conftest.$ac_ext >&5 20995sed 's/^/| /' conftest.$ac_ext >&5
20430 20996
20431ac_cv_type_time_t=no 20997 ac_cv_type_time_t=no
20432fi 20998fi
20999
20433rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 21000rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20434fi 21001fi
20435echo "$as_me:$LINENO: result: $ac_cv_type_time_t" >&5 21002{ echo "$as_me:$LINENO: result: $ac_cv_type_time_t" >&5
20436echo "${ECHO_T}$ac_cv_type_time_t" >&6 21003echo "${ECHO_T}$ac_cv_type_time_t" >&6; }
20437if test $ac_cv_type_time_t = yes; then 21004if test $ac_cv_type_time_t = yes; then
20438 21005
20439cat >>confdefs.h <<_ACEOF 21006cat >>confdefs.h <<_ACEOF
20440#define HAVE_TIME_T 1 21007#define HAVE_TIME_T 1
20441_ACEOF 21008_ACEOF
20451 21018
20452 21019
20453for ac_header in stdlib.h 21020for ac_header in stdlib.h
20454do 21021do
20455as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 21022as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20456if eval "test \"\${$as_ac_Header+set}\" = set"; then 21023if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20457 echo "$as_me:$LINENO: checking for $ac_header" >&5 21024 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20458echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 21025echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20459if eval "test \"\${$as_ac_Header+set}\" = set"; then 21026if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20460 echo $ECHO_N "(cached) $ECHO_C" >&6 21027 echo $ECHO_N "(cached) $ECHO_C" >&6
20461fi 21028fi
20462echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 21029ac_res=`eval echo '${'$as_ac_Header'}'`
20463echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 21030 { echo "$as_me:$LINENO: result: $ac_res" >&5
21031echo "${ECHO_T}$ac_res" >&6; }
20464else 21032else
20465 # Is the header compilable? 21033 # Is the header compilable?
20466echo "$as_me:$LINENO: checking $ac_header usability" >&5 21034{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
20467echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 21035echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20468cat >conftest.$ac_ext <<_ACEOF 21036cat >conftest.$ac_ext <<_ACEOF
20469/* confdefs.h. */ 21037/* confdefs.h. */
20470_ACEOF 21038_ACEOF
20471cat confdefs.h >>conftest.$ac_ext 21039cat confdefs.h >>conftest.$ac_ext
20472cat >>conftest.$ac_ext <<_ACEOF 21040cat >>conftest.$ac_ext <<_ACEOF
20473/* end confdefs.h. */ 21041/* end confdefs.h. */
20474$ac_includes_default 21042$ac_includes_default
20475#include <$ac_header> 21043#include <$ac_header>
20476_ACEOF 21044_ACEOF
20477rm -f conftest.$ac_objext 21045rm -f conftest.$ac_objext
21046if { (ac_try="$ac_compile"
21047case "(($ac_try" in
21048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21049 *) ac_try_echo=$ac_try;;
21050esac
20478if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 21051eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20479 (eval $ac_compile) 2>conftest.er1 21052 (eval "$ac_compile") 2>conftest.er1
20480 ac_status=$? 21053 ac_status=$?
20481 grep -v '^ *+' conftest.er1 >conftest.err 21054 grep -v '^ *+' conftest.er1 >conftest.err
20482 rm -f conftest.er1 21055 rm -f conftest.er1
20483 cat conftest.err >&5 21056 cat conftest.err >&5
20484 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20485 (exit $ac_status); } && 21058 (exit $ac_status); } && {
20486 { ac_try='test -z "$ac_c_werror_flag" 21059 test -z "$ac_c_werror_flag" ||
20487 || test ! -s conftest.err' 21060 test ! -s conftest.err
20488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21061 } && test -s conftest.$ac_objext; then
20489 (eval $ac_try) 2>&5
20490 ac_status=$?
20491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20492 (exit $ac_status); }; } &&
20493 { ac_try='test -s conftest.$ac_objext'
20494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20495 (eval $ac_try) 2>&5
20496 ac_status=$?
20497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20498 (exit $ac_status); }; }; then
20499 ac_header_compiler=yes 21062 ac_header_compiler=yes
20500else 21063else
20501 echo "$as_me: failed program was:" >&5 21064 echo "$as_me: failed program was:" >&5
20502sed 's/^/| /' conftest.$ac_ext >&5 21065sed 's/^/| /' conftest.$ac_ext >&5
20503 21066
20504ac_header_compiler=no 21067 ac_header_compiler=no
20505fi 21068fi
21069
20506rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 21070rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20507echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 21071{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20508echo "${ECHO_T}$ac_header_compiler" >&6 21072echo "${ECHO_T}$ac_header_compiler" >&6; }
20509 21073
20510# Is the header present? 21074# Is the header present?
20511echo "$as_me:$LINENO: checking $ac_header presence" >&5 21075{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
20512echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 21076echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20513cat >conftest.$ac_ext <<_ACEOF 21077cat >conftest.$ac_ext <<_ACEOF
20514/* confdefs.h. */ 21078/* confdefs.h. */
20515_ACEOF 21079_ACEOF
20516cat confdefs.h >>conftest.$ac_ext 21080cat confdefs.h >>conftest.$ac_ext
20517cat >>conftest.$ac_ext <<_ACEOF 21081cat >>conftest.$ac_ext <<_ACEOF
20518/* end confdefs.h. */ 21082/* end confdefs.h. */
20519#include <$ac_header> 21083#include <$ac_header>
20520_ACEOF 21084_ACEOF
20521if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 21085if { (ac_try="$ac_cpp conftest.$ac_ext"
21086case "(($ac_try" in
21087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21088 *) ac_try_echo=$ac_try;;
21089esac
21090eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20522 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 21091 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20523 ac_status=$? 21092 ac_status=$?
20524 grep -v '^ *+' conftest.er1 >conftest.err 21093 grep -v '^ *+' conftest.er1 >conftest.err
20525 rm -f conftest.er1 21094 rm -f conftest.er1
20526 cat conftest.err >&5 21095 cat conftest.err >&5
20527 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20528 (exit $ac_status); } >/dev/null; then 21097 (exit $ac_status); } >/dev/null && {
21098 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20529 if test -s conftest.err; then 21099 test ! -s conftest.err
20530 ac_cpp_err=$ac_c_preproc_warn_flag 21100 }; then
20531 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20532 else
20533 ac_cpp_err=
20534 fi
20535else
20536 ac_cpp_err=yes
20537fi
20538if test -z "$ac_cpp_err"; then
20539 ac_header_preproc=yes 21101 ac_header_preproc=yes
20540else 21102else
20541 echo "$as_me: failed program was:" >&5 21103 echo "$as_me: failed program was:" >&5
20542sed 's/^/| /' conftest.$ac_ext >&5 21104sed 's/^/| /' conftest.$ac_ext >&5
20543 21105
20544 ac_header_preproc=no 21106 ac_header_preproc=no
20545fi 21107fi
21108
20546rm -f conftest.err conftest.$ac_ext 21109rm -f conftest.err conftest.$ac_ext
20547echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 21110{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20548echo "${ECHO_T}$ac_header_preproc" >&6 21111echo "${ECHO_T}$ac_header_preproc" >&6; }
20549 21112
20550# So? What about this header? 21113# So? What about this header?
20551case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 21114case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20552 yes:no: ) 21115 yes:no: )
20553 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 21116 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20567echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 21130echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20568 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 21131 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20569echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 21132echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20570 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 21133 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20571echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 21134echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20572 (
20573 cat <<\_ASBOX 21135 ( cat <<\_ASBOX
20574## ------------------------------------ ## 21136## ------------------------------------ ##
20575## Report this to jcouzens@codeshare.ca ## 21137## Report this to jcouzens@codeshare.ca ##
20576## ------------------------------------ ## 21138## ------------------------------------ ##
20577_ASBOX 21139_ASBOX
20578 ) |
20579 sed "s/^/$as_me: WARNING: /" >&2 21140 ) | sed "s/^/$as_me: WARNING: /" >&2
20580 ;; 21141 ;;
20581esac 21142esac
20582echo "$as_me:$LINENO: checking for $ac_header" >&5 21143{ echo "$as_me:$LINENO: checking for $ac_header" >&5
20583echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 21144echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20584if eval "test \"\${$as_ac_Header+set}\" = set"; then 21145if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20585 echo $ECHO_N "(cached) $ECHO_C" >&6 21146 echo $ECHO_N "(cached) $ECHO_C" >&6
20586else 21147else
20587 eval "$as_ac_Header=\$ac_header_preproc" 21148 eval "$as_ac_Header=\$ac_header_preproc"
20588fi 21149fi
20589echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 21150ac_res=`eval echo '${'$as_ac_Header'}'`
20590echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 21151 { echo "$as_me:$LINENO: result: $ac_res" >&5
21152echo "${ECHO_T}$ac_res" >&6; }
20591 21153
20592fi 21154fi
20593if test `eval echo '${'$as_ac_Header'}'` = yes; then 21155if test `eval echo '${'$as_ac_Header'}'` = yes; then
20594 cat >>confdefs.h <<_ACEOF 21156 cat >>confdefs.h <<_ACEOF
20595#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 21157#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20597 21159
20598fi 21160fi
20599 21161
20600done 21162done
20601 21163
20602echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 21164{ echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
20603echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6 21165echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
20604if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then 21166if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
20605 echo $ECHO_N "(cached) $ECHO_C" >&6 21167 echo $ECHO_N "(cached) $ECHO_C" >&6
20606else 21168else
20607 if test "$cross_compiling" = yes; then 21169 if test "$cross_compiling" = yes; then
20608 ac_cv_func_malloc_0_nonnull=no 21170 ac_cv_func_malloc_0_nonnull=no
20611/* confdefs.h. */ 21173/* confdefs.h. */
20612_ACEOF 21174_ACEOF
20613cat confdefs.h >>conftest.$ac_ext 21175cat confdefs.h >>conftest.$ac_ext
20614cat >>conftest.$ac_ext <<_ACEOF 21176cat >>conftest.$ac_ext <<_ACEOF
20615/* end confdefs.h. */ 21177/* end confdefs.h. */
20616#if STDC_HEADERS || HAVE_STDLIB_H 21178#if defined STDC_HEADERS || defined HAVE_STDLIB_H
20617# include <stdlib.h> 21179# include <stdlib.h>
20618#else 21180#else
20619char *malloc (); 21181char *malloc ();
20620#endif 21182#endif
20621 21183
20622int 21184int
20623main () 21185main ()
20624{ 21186{
20625exit (malloc (0) ? 0 : 1); 21187return ! malloc (0);
20626 ; 21188 ;
20627 return 0; 21189 return 0;
20628} 21190}
20629_ACEOF 21191_ACEOF
20630rm -f conftest$ac_exeext 21192rm -f conftest$ac_exeext
21193if { (ac_try="$ac_link"
21194case "(($ac_try" in
21195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21196 *) ac_try_echo=$ac_try;;
21197esac
20631if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 21198eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20632 (eval $ac_link) 2>&5 21199 (eval "$ac_link") 2>&5
20633 ac_status=$? 21200 ac_status=$?
20634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 21202 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21203 { (case "(($ac_try" in
21204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21205 *) ac_try_echo=$ac_try;;
21206esac
20636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21207eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20637 (eval $ac_try) 2>&5 21208 (eval "$ac_try") 2>&5
20638 ac_status=$? 21209 ac_status=$?
20639 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20640 (exit $ac_status); }; }; then 21211 (exit $ac_status); }; }; then
20641 ac_cv_func_malloc_0_nonnull=yes 21212 ac_cv_func_malloc_0_nonnull=yes
20642else 21213else
20645sed 's/^/| /' conftest.$ac_ext >&5 21216sed 's/^/| /' conftest.$ac_ext >&5
20646 21217
20647( exit $ac_status ) 21218( exit $ac_status )
20648ac_cv_func_malloc_0_nonnull=no 21219ac_cv_func_malloc_0_nonnull=no
20649fi 21220fi
20650rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 21221rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20651fi 21222fi
21223
21224
20652fi 21225fi
20653echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 21226{ echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
20654echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6 21227echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
20655if test $ac_cv_func_malloc_0_nonnull = yes; then 21228if test $ac_cv_func_malloc_0_nonnull = yes; then
20656 21229
20657cat >>confdefs.h <<\_ACEOF 21230cat >>confdefs.h <<\_ACEOF
20658#define HAVE_MALLOC 1 21231#define HAVE_MALLOC 1
20659_ACEOF 21232_ACEOF
20661else 21234else
20662 cat >>confdefs.h <<\_ACEOF 21235 cat >>confdefs.h <<\_ACEOF
20663#define HAVE_MALLOC 0 21236#define HAVE_MALLOC 0
20664_ACEOF 21237_ACEOF
20665 21238
20666 case $LIBOBJS in 21239 case " $LIBOBJS " in
20667 "malloc.$ac_objext" | \
20668 *" malloc.$ac_objext" | \
20669 "malloc.$ac_objext "* | \
20670 *" malloc.$ac_objext "* ) ;; 21240 *" malloc.$ac_objext "* ) ;;
20671 *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;; 21241 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
21242 ;;
20672esac 21243esac
20673 21244
20674 21245
20675cat >>confdefs.h <<\_ACEOF 21246cat >>confdefs.h <<\_ACEOF
20676#define malloc rpl_malloc 21247#define malloc rpl_malloc
20682 21253
20683 21254
20684for ac_header in stdlib.h 21255for ac_header in stdlib.h
20685do 21256do
20686as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 21257as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20687if eval "test \"\${$as_ac_Header+set}\" = set"; then 21258if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20688 echo "$as_me:$LINENO: checking for $ac_header" >&5 21259 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20689echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 21260echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20690if eval "test \"\${$as_ac_Header+set}\" = set"; then 21261if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20691 echo $ECHO_N "(cached) $ECHO_C" >&6 21262 echo $ECHO_N "(cached) $ECHO_C" >&6
20692fi 21263fi
20693echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 21264ac_res=`eval echo '${'$as_ac_Header'}'`
20694echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 21265 { echo "$as_me:$LINENO: result: $ac_res" >&5
21266echo "${ECHO_T}$ac_res" >&6; }
20695else 21267else
20696 # Is the header compilable? 21268 # Is the header compilable?
20697echo "$as_me:$LINENO: checking $ac_header usability" >&5 21269{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
20698echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 21270echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20699cat >conftest.$ac_ext <<_ACEOF 21271cat >conftest.$ac_ext <<_ACEOF
20700/* confdefs.h. */ 21272/* confdefs.h. */
20701_ACEOF 21273_ACEOF
20702cat confdefs.h >>conftest.$ac_ext 21274cat confdefs.h >>conftest.$ac_ext
20703cat >>conftest.$ac_ext <<_ACEOF 21275cat >>conftest.$ac_ext <<_ACEOF
20704/* end confdefs.h. */ 21276/* end confdefs.h. */
20705$ac_includes_default 21277$ac_includes_default
20706#include <$ac_header> 21278#include <$ac_header>
20707_ACEOF 21279_ACEOF
20708rm -f conftest.$ac_objext 21280rm -f conftest.$ac_objext
21281if { (ac_try="$ac_compile"
21282case "(($ac_try" in
21283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21284 *) ac_try_echo=$ac_try;;
21285esac
20709if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 21286eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20710 (eval $ac_compile) 2>conftest.er1 21287 (eval "$ac_compile") 2>conftest.er1
20711 ac_status=$? 21288 ac_status=$?
20712 grep -v '^ *+' conftest.er1 >conftest.err 21289 grep -v '^ *+' conftest.er1 >conftest.err
20713 rm -f conftest.er1 21290 rm -f conftest.er1
20714 cat conftest.err >&5 21291 cat conftest.err >&5
20715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20716 (exit $ac_status); } && 21293 (exit $ac_status); } && {
20717 { ac_try='test -z "$ac_c_werror_flag" 21294 test -z "$ac_c_werror_flag" ||
20718 || test ! -s conftest.err' 21295 test ! -s conftest.err
20719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21296 } && test -s conftest.$ac_objext; then
20720 (eval $ac_try) 2>&5
20721 ac_status=$?
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); }; } &&
20724 { ac_try='test -s conftest.$ac_objext'
20725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20726 (eval $ac_try) 2>&5
20727 ac_status=$?
20728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20729 (exit $ac_status); }; }; then
20730 ac_header_compiler=yes 21297 ac_header_compiler=yes
20731else 21298else
20732 echo "$as_me: failed program was:" >&5 21299 echo "$as_me: failed program was:" >&5
20733sed 's/^/| /' conftest.$ac_ext >&5 21300sed 's/^/| /' conftest.$ac_ext >&5
20734 21301
20735ac_header_compiler=no 21302 ac_header_compiler=no
20736fi 21303fi
21304
20737rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 21305rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20738echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 21306{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20739echo "${ECHO_T}$ac_header_compiler" >&6 21307echo "${ECHO_T}$ac_header_compiler" >&6; }
20740 21308
20741# Is the header present? 21309# Is the header present?
20742echo "$as_me:$LINENO: checking $ac_header presence" >&5 21310{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
20743echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 21311echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20744cat >conftest.$ac_ext <<_ACEOF 21312cat >conftest.$ac_ext <<_ACEOF
20745/* confdefs.h. */ 21313/* confdefs.h. */
20746_ACEOF 21314_ACEOF
20747cat confdefs.h >>conftest.$ac_ext 21315cat confdefs.h >>conftest.$ac_ext
20748cat >>conftest.$ac_ext <<_ACEOF 21316cat >>conftest.$ac_ext <<_ACEOF
20749/* end confdefs.h. */ 21317/* end confdefs.h. */
20750#include <$ac_header> 21318#include <$ac_header>
20751_ACEOF 21319_ACEOF
20752if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 21320if { (ac_try="$ac_cpp conftest.$ac_ext"
21321case "(($ac_try" in
21322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21323 *) ac_try_echo=$ac_try;;
21324esac
21325eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20753 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 21326 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20754 ac_status=$? 21327 ac_status=$?
20755 grep -v '^ *+' conftest.er1 >conftest.err 21328 grep -v '^ *+' conftest.er1 >conftest.err
20756 rm -f conftest.er1 21329 rm -f conftest.er1
20757 cat conftest.err >&5 21330 cat conftest.err >&5
20758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20759 (exit $ac_status); } >/dev/null; then 21332 (exit $ac_status); } >/dev/null && {
21333 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20760 if test -s conftest.err; then 21334 test ! -s conftest.err
20761 ac_cpp_err=$ac_c_preproc_warn_flag 21335 }; then
20762 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20763 else
20764 ac_cpp_err=
20765 fi
20766else
20767 ac_cpp_err=yes
20768fi
20769if test -z "$ac_cpp_err"; then
20770 ac_header_preproc=yes 21336 ac_header_preproc=yes
20771else 21337else
20772 echo "$as_me: failed program was:" >&5 21338 echo "$as_me: failed program was:" >&5
20773sed 's/^/| /' conftest.$ac_ext >&5 21339sed 's/^/| /' conftest.$ac_ext >&5
20774 21340
20775 ac_header_preproc=no 21341 ac_header_preproc=no
20776fi 21342fi
21343
20777rm -f conftest.err conftest.$ac_ext 21344rm -f conftest.err conftest.$ac_ext
20778echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 21345{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20779echo "${ECHO_T}$ac_header_preproc" >&6 21346echo "${ECHO_T}$ac_header_preproc" >&6; }
20780 21347
20781# So? What about this header? 21348# So? What about this header?
20782case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 21349case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20783 yes:no: ) 21350 yes:no: )
20784 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 21351 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20798echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 21365echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20799 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 21366 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20800echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 21367echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20801 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 21368 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20802echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 21369echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20803 (
20804 cat <<\_ASBOX 21370 ( cat <<\_ASBOX
20805## ------------------------------------ ## 21371## ------------------------------------ ##
20806## Report this to jcouzens@codeshare.ca ## 21372## Report this to jcouzens@codeshare.ca ##
20807## ------------------------------------ ## 21373## ------------------------------------ ##
20808_ASBOX 21374_ASBOX
20809 ) |
20810 sed "s/^/$as_me: WARNING: /" >&2 21375 ) | sed "s/^/$as_me: WARNING: /" >&2
20811 ;; 21376 ;;
20812esac 21377esac
20813echo "$as_me:$LINENO: checking for $ac_header" >&5 21378{ echo "$as_me:$LINENO: checking for $ac_header" >&5
20814echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 21379echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20815if eval "test \"\${$as_ac_Header+set}\" = set"; then 21380if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20816 echo $ECHO_N "(cached) $ECHO_C" >&6 21381 echo $ECHO_N "(cached) $ECHO_C" >&6
20817else 21382else
20818 eval "$as_ac_Header=\$ac_header_preproc" 21383 eval "$as_ac_Header=\$ac_header_preproc"
20819fi 21384fi
20820echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 21385ac_res=`eval echo '${'$as_ac_Header'}'`
20821echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 21386 { echo "$as_me:$LINENO: result: $ac_res" >&5
21387echo "${ECHO_T}$ac_res" >&6; }
20822 21388
20823fi 21389fi
20824if test `eval echo '${'$as_ac_Header'}'` = yes; then 21390if test `eval echo '${'$as_ac_Header'}'` = yes; then
20825 cat >>confdefs.h <<_ACEOF 21391 cat >>confdefs.h <<_ACEOF
20826#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 21392#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20828 21394
20829fi 21395fi
20830 21396
20831done 21397done
20832 21398
20833echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5 21399{ echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
20834echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6 21400echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6; }
20835if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then 21401if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
20836 echo $ECHO_N "(cached) $ECHO_C" >&6 21402 echo $ECHO_N "(cached) $ECHO_C" >&6
20837else 21403else
20838 if test "$cross_compiling" = yes; then 21404 if test "$cross_compiling" = yes; then
20839 ac_cv_func_realloc_0_nonnull=no 21405 ac_cv_func_realloc_0_nonnull=no
20842/* confdefs.h. */ 21408/* confdefs.h. */
20843_ACEOF 21409_ACEOF
20844cat confdefs.h >>conftest.$ac_ext 21410cat confdefs.h >>conftest.$ac_ext
20845cat >>conftest.$ac_ext <<_ACEOF 21411cat >>conftest.$ac_ext <<_ACEOF
20846/* end confdefs.h. */ 21412/* end confdefs.h. */
20847#if STDC_HEADERS || HAVE_STDLIB_H 21413#if defined STDC_HEADERS || defined HAVE_STDLIB_H
20848# include <stdlib.h> 21414# include <stdlib.h>
20849#else 21415#else
20850char *realloc (); 21416char *realloc ();
20851#endif 21417#endif
20852 21418
20853int 21419int
20854main () 21420main ()
20855{ 21421{
20856exit (realloc (0, 0) ? 0 : 1); 21422return ! realloc (0, 0);
20857 ; 21423 ;
20858 return 0; 21424 return 0;
20859} 21425}
20860_ACEOF 21426_ACEOF
20861rm -f conftest$ac_exeext 21427rm -f conftest$ac_exeext
21428if { (ac_try="$ac_link"
21429case "(($ac_try" in
21430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21431 *) ac_try_echo=$ac_try;;
21432esac
20862if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 21433eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20863 (eval $ac_link) 2>&5 21434 (eval "$ac_link") 2>&5
20864 ac_status=$? 21435 ac_status=$?
20865 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20866 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 21437 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21438 { (case "(($ac_try" in
21439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21440 *) ac_try_echo=$ac_try;;
21441esac
20867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21442eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20868 (eval $ac_try) 2>&5 21443 (eval "$ac_try") 2>&5
20869 ac_status=$? 21444 ac_status=$?
20870 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20871 (exit $ac_status); }; }; then 21446 (exit $ac_status); }; }; then
20872 ac_cv_func_realloc_0_nonnull=yes 21447 ac_cv_func_realloc_0_nonnull=yes
20873else 21448else
20876sed 's/^/| /' conftest.$ac_ext >&5 21451sed 's/^/| /' conftest.$ac_ext >&5
20877 21452
20878( exit $ac_status ) 21453( exit $ac_status )
20879ac_cv_func_realloc_0_nonnull=no 21454ac_cv_func_realloc_0_nonnull=no
20880fi 21455fi
20881rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 21456rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20882fi 21457fi
21458
21459
20883fi 21460fi
20884echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5 21461{ echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
20885echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6 21462echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6; }
20886if test $ac_cv_func_realloc_0_nonnull = yes; then 21463if test $ac_cv_func_realloc_0_nonnull = yes; then
20887 21464
20888cat >>confdefs.h <<\_ACEOF 21465cat >>confdefs.h <<\_ACEOF
20889#define HAVE_REALLOC 1 21466#define HAVE_REALLOC 1
20890_ACEOF 21467_ACEOF
20892else 21469else
20893 cat >>confdefs.h <<\_ACEOF 21470 cat >>confdefs.h <<\_ACEOF
20894#define HAVE_REALLOC 0 21471#define HAVE_REALLOC 0
20895_ACEOF 21472_ACEOF
20896 21473
20897 case $LIBOBJS in 21474 case " $LIBOBJS " in
20898 "realloc.$ac_objext" | \
20899 *" realloc.$ac_objext" | \
20900 "realloc.$ac_objext "* | \
20901 *" realloc.$ac_objext "* ) ;; 21475 *" realloc.$ac_objext "* ) ;;
20902 *) LIBOBJS="$LIBOBJS realloc.$ac_objext" ;; 21476 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
21477 ;;
20903esac 21478esac
20904 21479
20905 21480
20906cat >>confdefs.h <<\_ACEOF 21481cat >>confdefs.h <<\_ACEOF
20907#define realloc rpl_realloc 21482#define realloc rpl_realloc
20913 21488
20914 21489
20915for ac_func in strftime 21490for ac_func in strftime
20916do 21491do
20917as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 21492as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20918echo "$as_me:$LINENO: checking for $ac_func" >&5 21493{ echo "$as_me:$LINENO: checking for $ac_func" >&5
20919echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 21494echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20920if eval "test \"\${$as_ac_var+set}\" = set"; then 21495if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20921 echo $ECHO_N "(cached) $ECHO_C" >&6 21496 echo $ECHO_N "(cached) $ECHO_C" >&6
20922else 21497else
20923 cat >conftest.$ac_ext <<_ACEOF 21498 cat >conftest.$ac_ext <<_ACEOF
20924/* confdefs.h. */ 21499/* confdefs.h. */
20925_ACEOF 21500_ACEOF
20941# include <assert.h> 21516# include <assert.h>
20942#endif 21517#endif
20943 21518
20944#undef $ac_func 21519#undef $ac_func
20945 21520
20946/* Override any gcc2 internal prototype to avoid an error. */ 21521/* Override any GCC internal prototype to avoid an error.
21522 Use char because int might match the return type of a GCC
21523 builtin and then its argument prototype would still apply. */
20947#ifdef __cplusplus 21524#ifdef __cplusplus
20948extern "C" 21525extern "C"
20949{
20950#endif 21526#endif
20951/* We use char because int might match the return type of a gcc2
20952 builtin and then its argument prototype would still apply. */
20953char $ac_func (); 21527char $ac_func ();
20954/* The GNU C library defines this for functions which it implements 21528/* The GNU C library defines this for functions which it implements
20955 to always fail with ENOSYS. Some functions are actually named 21529 to always fail with ENOSYS. Some functions are actually named
20956 something starting with __ and the normal name is an alias. */ 21530 something starting with __ and the normal name is an alias. */
20957#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 21531#if defined __stub_$ac_func || defined __stub___$ac_func
20958choke me 21532choke me
20959#else
20960char (*f) () = $ac_func;
20961#endif
20962#ifdef __cplusplus
20963}
20964#endif 21533#endif
20965 21534
20966int 21535int
20967main () 21536main ()
20968{ 21537{
20969return f != $ac_func; 21538return $ac_func ();
20970 ; 21539 ;
20971 return 0; 21540 return 0;
20972} 21541}
20973_ACEOF 21542_ACEOF
20974rm -f conftest.$ac_objext conftest$ac_exeext 21543rm -f conftest.$ac_objext conftest$ac_exeext
21544if { (ac_try="$ac_link"
21545case "(($ac_try" in
21546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21547 *) ac_try_echo=$ac_try;;
21548esac
20975if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 21549eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20976 (eval $ac_link) 2>conftest.er1 21550 (eval "$ac_link") 2>conftest.er1
20977 ac_status=$? 21551 ac_status=$?
20978 grep -v '^ *+' conftest.er1 >conftest.err 21552 grep -v '^ *+' conftest.er1 >conftest.err
20979 rm -f conftest.er1 21553 rm -f conftest.er1
20980 cat conftest.err >&5 21554 cat conftest.err >&5
20981 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982 (exit $ac_status); } && 21556 (exit $ac_status); } && {
20983 { ac_try='test -z "$ac_c_werror_flag" 21557 test -z "$ac_c_werror_flag" ||
20984 || test ! -s conftest.err' 21558 test ! -s conftest.err
20985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21559 } && test -s conftest$ac_exeext &&
20986 (eval $ac_try) 2>&5 21560 $as_test_x conftest$ac_exeext; then
20987 ac_status=$?
20988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20989 (exit $ac_status); }; } &&
20990 { ac_try='test -s conftest$ac_exeext'
20991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20992 (eval $ac_try) 2>&5
20993 ac_status=$?
20994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20995 (exit $ac_status); }; }; then
20996 eval "$as_ac_var=yes" 21561 eval "$as_ac_var=yes"
20997else 21562else
20998 echo "$as_me: failed program was:" >&5 21563 echo "$as_me: failed program was:" >&5
20999sed 's/^/| /' conftest.$ac_ext >&5 21564sed 's/^/| /' conftest.$ac_ext >&5
21000 21565
21001eval "$as_ac_var=no" 21566 eval "$as_ac_var=no"
21002fi 21567fi
21003rm -f conftest.err conftest.$ac_objext \ 21568
21569rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21004 conftest$ac_exeext conftest.$ac_ext 21570 conftest$ac_exeext conftest.$ac_ext
21005fi 21571fi
21006echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 21572ac_res=`eval echo '${'$as_ac_var'}'`
21007echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 21573 { echo "$as_me:$LINENO: result: $ac_res" >&5
21574echo "${ECHO_T}$ac_res" >&6; }
21008if test `eval echo '${'$as_ac_var'}'` = yes; then 21575if test `eval echo '${'$as_ac_var'}'` = yes; then
21009 cat >>confdefs.h <<_ACEOF 21576 cat >>confdefs.h <<_ACEOF
21010#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 21577#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21011_ACEOF 21578_ACEOF
21012 21579
21013else 21580else
21014 # strftime is in -lintl on SCO UNIX. 21581 # strftime is in -lintl on SCO UNIX.
21015echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 21582{ echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
21016echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6 21583echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; }
21017if test "${ac_cv_lib_intl_strftime+set}" = set; then 21584if test "${ac_cv_lib_intl_strftime+set}" = set; then
21018 echo $ECHO_N "(cached) $ECHO_C" >&6 21585 echo $ECHO_N "(cached) $ECHO_C" >&6
21019else 21586else
21020 ac_check_lib_save_LIBS=$LIBS 21587 ac_check_lib_save_LIBS=$LIBS
21021LIBS="-lintl $LIBS" 21588LIBS="-lintl $LIBS"
21024_ACEOF 21591_ACEOF
21025cat confdefs.h >>conftest.$ac_ext 21592cat confdefs.h >>conftest.$ac_ext
21026cat >>conftest.$ac_ext <<_ACEOF 21593cat >>conftest.$ac_ext <<_ACEOF
21027/* end confdefs.h. */ 21594/* end confdefs.h. */
21028 21595
21029/* Override any gcc2 internal prototype to avoid an error. */ 21596/* Override any GCC internal prototype to avoid an error.
21597 Use char because int might match the return type of a GCC
21598 builtin and then its argument prototype would still apply. */
21030#ifdef __cplusplus 21599#ifdef __cplusplus
21031extern "C" 21600extern "C"
21032#endif 21601#endif
21033/* We use char because int might match the return type of a gcc2
21034 builtin and then its argument prototype would still apply. */
21035char strftime (); 21602char strftime ();
21036int 21603int
21037main () 21604main ()
21038{ 21605{
21039strftime (); 21606return strftime ();
21040 ; 21607 ;
21041 return 0; 21608 return 0;
21042} 21609}
21043_ACEOF 21610_ACEOF
21044rm -f conftest.$ac_objext conftest$ac_exeext 21611rm -f conftest.$ac_objext conftest$ac_exeext
21612if { (ac_try="$ac_link"
21613case "(($ac_try" in
21614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21615 *) ac_try_echo=$ac_try;;
21616esac
21045if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 21617eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21046 (eval $ac_link) 2>conftest.er1 21618 (eval "$ac_link") 2>conftest.er1
21047 ac_status=$? 21619 ac_status=$?
21048 grep -v '^ *+' conftest.er1 >conftest.err 21620 grep -v '^ *+' conftest.er1 >conftest.err
21049 rm -f conftest.er1 21621 rm -f conftest.er1
21050 cat conftest.err >&5 21622 cat conftest.err >&5
21051 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052 (exit $ac_status); } && 21624 (exit $ac_status); } && {
21053 { ac_try='test -z "$ac_c_werror_flag" 21625 test -z "$ac_c_werror_flag" ||
21054 || test ! -s conftest.err' 21626 test ! -s conftest.err
21055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21627 } && test -s conftest$ac_exeext &&
21056 (eval $ac_try) 2>&5 21628 $as_test_x conftest$ac_exeext; then
21057 ac_status=$?
21058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21059 (exit $ac_status); }; } &&
21060 { ac_try='test -s conftest$ac_exeext'
21061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21062 (eval $ac_try) 2>&5
21063 ac_status=$?
21064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21065 (exit $ac_status); }; }; then
21066 ac_cv_lib_intl_strftime=yes 21629 ac_cv_lib_intl_strftime=yes
21067else 21630else
21068 echo "$as_me: failed program was:" >&5 21631 echo "$as_me: failed program was:" >&5
21069sed 's/^/| /' conftest.$ac_ext >&5 21632sed 's/^/| /' conftest.$ac_ext >&5
21070 21633
21071ac_cv_lib_intl_strftime=no 21634 ac_cv_lib_intl_strftime=no
21072fi 21635fi
21073rm -f conftest.err conftest.$ac_objext \ 21636
21637rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21074 conftest$ac_exeext conftest.$ac_ext 21638 conftest$ac_exeext conftest.$ac_ext
21075LIBS=$ac_check_lib_save_LIBS 21639LIBS=$ac_check_lib_save_LIBS
21076fi 21640fi
21077echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 21641{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
21078echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6 21642echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; }
21079if test $ac_cv_lib_intl_strftime = yes; then 21643if test $ac_cv_lib_intl_strftime = yes; then
21080 cat >>confdefs.h <<\_ACEOF 21644 cat >>confdefs.h <<\_ACEOF
21081#define HAVE_STRFTIME 1 21645#define HAVE_STRFTIME 1
21082_ACEOF 21646_ACEOF
21083 21647
21099 21663
21100for ac_func in gethostbyname, inet_ntoa, memset, strcasecmp, \ 21664for ac_func in gethostbyname, inet_ntoa, memset, strcasecmp, \
21101 localtime_r, strchr, strdup, strrchr, strstr, mkdir 21665 localtime_r, strchr, strdup, strrchr, strstr, mkdir
21102do 21666do
21103as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 21667as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21104echo "$as_me:$LINENO: checking for $ac_func" >&5 21668{ echo "$as_me:$LINENO: checking for $ac_func" >&5
21105echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 21669echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21106if eval "test \"\${$as_ac_var+set}\" = set"; then 21670if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21107 echo $ECHO_N "(cached) $ECHO_C" >&6 21671 echo $ECHO_N "(cached) $ECHO_C" >&6
21108else 21672else
21109 cat >conftest.$ac_ext <<_ACEOF 21673 cat >conftest.$ac_ext <<_ACEOF
21110/* confdefs.h. */ 21674/* confdefs.h. */
21111_ACEOF 21675_ACEOF
21127# include <assert.h> 21691# include <assert.h>
21128#endif 21692#endif
21129 21693
21130#undef $ac_func 21694#undef $ac_func
21131 21695
21132/* Override any gcc2 internal prototype to avoid an error. */ 21696/* Override any GCC internal prototype to avoid an error.
21697 Use char because int might match the return type of a GCC
21698 builtin and then its argument prototype would still apply. */
21133#ifdef __cplusplus 21699#ifdef __cplusplus
21134extern "C" 21700extern "C"
21135{
21136#endif 21701#endif
21137/* We use char because int might match the return type of a gcc2
21138 builtin and then its argument prototype would still apply. */
21139char $ac_func (); 21702char $ac_func ();
21140/* The GNU C library defines this for functions which it implements 21703/* The GNU C library defines this for functions which it implements
21141 to always fail with ENOSYS. Some functions are actually named 21704 to always fail with ENOSYS. Some functions are actually named
21142 something starting with __ and the normal name is an alias. */ 21705 something starting with __ and the normal name is an alias. */
21143#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 21706#if defined __stub_$ac_func || defined __stub___$ac_func
21144choke me 21707choke me
21145#else
21146char (*f) () = $ac_func;
21147#endif
21148#ifdef __cplusplus
21149}
21150#endif 21708#endif
21151 21709
21152int 21710int
21153main () 21711main ()
21154{ 21712{
21155return f != $ac_func; 21713return $ac_func ();
21156 ; 21714 ;
21157 return 0; 21715 return 0;
21158} 21716}
21159_ACEOF 21717_ACEOF
21160rm -f conftest.$ac_objext conftest$ac_exeext 21718rm -f conftest.$ac_objext conftest$ac_exeext
21719if { (ac_try="$ac_link"
21720case "(($ac_try" in
21721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21722 *) ac_try_echo=$ac_try;;
21723esac
21161if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 21724eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21162 (eval $ac_link) 2>conftest.er1 21725 (eval "$ac_link") 2>conftest.er1
21163 ac_status=$? 21726 ac_status=$?
21164 grep -v '^ *+' conftest.er1 >conftest.err 21727 grep -v '^ *+' conftest.er1 >conftest.err
21165 rm -f conftest.er1 21728 rm -f conftest.er1
21166 cat conftest.err >&5 21729 cat conftest.err >&5
21167 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168 (exit $ac_status); } && 21731 (exit $ac_status); } && {
21169 { ac_try='test -z "$ac_c_werror_flag" 21732 test -z "$ac_c_werror_flag" ||
21170 || test ! -s conftest.err' 21733 test ! -s conftest.err
21171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21734 } && test -s conftest$ac_exeext &&
21172 (eval $ac_try) 2>&5 21735 $as_test_x conftest$ac_exeext; then
21173 ac_status=$?
21174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21175 (exit $ac_status); }; } &&
21176 { ac_try='test -s conftest$ac_exeext'
21177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21178 (eval $ac_try) 2>&5
21179 ac_status=$?
21180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181 (exit $ac_status); }; }; then
21182 eval "$as_ac_var=yes" 21736 eval "$as_ac_var=yes"
21183else 21737else
21184 echo "$as_me: failed program was:" >&5 21738 echo "$as_me: failed program was:" >&5
21185sed 's/^/| /' conftest.$ac_ext >&5 21739sed 's/^/| /' conftest.$ac_ext >&5
21186 21740
21187eval "$as_ac_var=no" 21741 eval "$as_ac_var=no"
21188fi 21742fi
21189rm -f conftest.err conftest.$ac_objext \ 21743
21744rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21190 conftest$ac_exeext conftest.$ac_ext 21745 conftest$ac_exeext conftest.$ac_ext
21191fi 21746fi
21192echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 21747ac_res=`eval echo '${'$as_ac_var'}'`
21193echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 21748 { echo "$as_me:$LINENO: result: $ac_res" >&5
21749echo "${ECHO_T}$ac_res" >&6; }
21194if test `eval echo '${'$as_ac_var'}'` = yes; then 21750if test `eval echo '${'$as_ac_var'}'` = yes; then
21195 cat >>confdefs.h <<_ACEOF 21751 cat >>confdefs.h <<_ACEOF
21196#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 21752#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21197_ACEOF 21753_ACEOF
21198 21754
21203 21759
21204#------------------------------------------------------------------------------- 21760#-------------------------------------------------------------------------------
21205# __BEGIN_DECLS / __END_DECLS defined ? 21761# __BEGIN_DECLS / __END_DECLS defined ?
21206#------------------------------------------------------------------------------- 21762#-------------------------------------------------------------------------------
21207 21763
21208echo "$as_me:$LINENO: checking __BEGIN_DECLS" >&5 21764{ echo "$as_me:$LINENO: checking __BEGIN_DECLS" >&5
21209echo $ECHO_N "checking __BEGIN_DECLS... $ECHO_C" >&6 21765echo $ECHO_N "checking __BEGIN_DECLS... $ECHO_C" >&6; }
21210cat >conftest.$ac_ext <<_ACEOF 21766cat >conftest.$ac_ext <<_ACEOF
21211 21767
21212#include <features.h> 21768#include <features.h>
21213__BEGIN_DECLS 21769__BEGIN_DECLS
21214extern int x; 21770extern int x;
21215__END_DECLS 21771__END_DECLS
21216_ACEOF 21772_ACEOF
21217rm -f conftest.$ac_objext 21773rm -f conftest.$ac_objext
21774if { (ac_try="$ac_compile"
21775case "(($ac_try" in
21776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21777 *) ac_try_echo=$ac_try;;
21778esac
21218if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 21779eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21219 (eval $ac_compile) 2>conftest.er1 21780 (eval "$ac_compile") 2>conftest.er1
21220 ac_status=$? 21781 ac_status=$?
21221 grep -v '^ *+' conftest.er1 >conftest.err 21782 grep -v '^ *+' conftest.er1 >conftest.err
21222 rm -f conftest.er1 21783 rm -f conftest.er1
21223 cat conftest.err >&5 21784 cat conftest.err >&5
21224 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21225 (exit $ac_status); } && 21786 (exit $ac_status); } && {
21226 { ac_try='test -z "$ac_c_werror_flag" 21787 test -z "$ac_c_werror_flag" ||
21227 || test ! -s conftest.err' 21788 test ! -s conftest.err
21228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21789 } && test -s conftest.$ac_objext; then
21229 (eval $ac_try) 2>&5
21230 ac_status=$?
21231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21232 (exit $ac_status); }; } &&
21233 { ac_try='test -s conftest.$ac_objext'
21234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21235 (eval $ac_try) 2>&5
21236 ac_status=$?
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); }; }; then
21239 echo "$as_me:$LINENO: result: yes" >&5 21790 { echo "$as_me:$LINENO: result: yes" >&5
21240echo "${ECHO_T}yes" >&6 21791echo "${ECHO_T}yes" >&6; }
21241 21792
21242cat >>confdefs.h <<\_ACEOF 21793cat >>confdefs.h <<\_ACEOF
21243#define HAVE__BEGIN_DECLS 1 21794#define HAVE__BEGIN_DECLS 1
21244_ACEOF 21795_ACEOF
21245 21796
21249 21800
21250else 21801else
21251 echo "$as_me: failed program was:" >&5 21802 echo "$as_me: failed program was:" >&5
21252sed 's/^/| /' conftest.$ac_ext >&5 21803sed 's/^/| /' conftest.$ac_ext >&5
21253 21804
21254echo "$as_me:$LINENO: result: no" >&5 21805 { echo "$as_me:$LINENO: result: no" >&5
21255echo "${ECHO_T}no" >&6 21806echo "${ECHO_T}no" >&6; }
21256 21807
21257 __BEGIN_DECLS_INCL=$srcdir/conf/begin_decls 21808 __BEGIN_DECLS_INCL=$srcdir/conf/begin_decls
21258 21809
21259 __END_DECLS_INCL=$srcdir/conf/end_decls 21810 __END_DECLS_INCL=$srcdir/conf/end_decls
21260 21811
21261fi 21812fi
21813
21262rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 21814rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21263 21815
21264 21816
21265#------------------------------------------------------------------------------- 21817#-------------------------------------------------------------------------------
21266# Unsigned int types 21818# Unsigned int types
21267#------------------------------------------------------------------------------- 21819#-------------------------------------------------------------------------------
21268 21820
21269 21821
21270 21822
21271 21823
21272echo "$as_me:$LINENO: checking size of int" >&5 21824{ echo "$as_me:$LINENO: checking size of int" >&5
21273echo $ECHO_N "checking size of int... $ECHO_C" >&6 21825echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21274if test "${ac_cv_sizeof_int+set}" = set; then 21826if test "${ac_cv_sizeof_int+set}" = set; then
21275 echo $ECHO_N "(cached) $ECHO_C" >&6 21827 echo $ECHO_N "(cached) $ECHO_C" >&6
21276else 21828else
21277 if test "$cross_compiling" = yes; then 21829 if test "$cross_compiling" = yes; then
21278 { { echo "$as_me:$LINENO: error: failed to compile test program" >&5 21830 { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
21293 fprintf(f, "%d\n", (int)sizeof(int)); 21845 fprintf(f, "%d\n", (int)sizeof(int));
21294 exit(0); 21846 exit(0);
21295 } 21847 }
21296_ACEOF 21848_ACEOF
21297rm -f conftest$ac_exeext 21849rm -f conftest$ac_exeext
21850if { (ac_try="$ac_link"
21851case "(($ac_try" in
21852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21853 *) ac_try_echo=$ac_try;;
21854esac
21298if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 21855eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21299 (eval $ac_link) 2>&5 21856 (eval "$ac_link") 2>&5
21300 ac_status=$? 21857 ac_status=$?
21301 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21302 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 21859 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21860 { (case "(($ac_try" in
21861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21862 *) ac_try_echo=$ac_try;;
21863esac
21303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21864eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21304 (eval $ac_try) 2>&5 21865 (eval "$ac_try") 2>&5
21305 ac_status=$? 21866 ac_status=$?
21306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21307 (exit $ac_status); }; }; then 21868 (exit $ac_status); }; }; then
21308 ac_cv_sizeof_int=`cat conftestval` 21869 ac_cv_sizeof_int=`cat conftestval`
21309else 21870else
21312sed 's/^/| /' conftest.$ac_ext >&5 21873sed 's/^/| /' conftest.$ac_ext >&5
21313 21874
21314( exit $ac_status ) 21875( exit $ac_status )
21315ac_cv_sizeof_int=0 21876ac_cv_sizeof_int=0
21316fi 21877fi
21317rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 21878rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21318fi 21879fi
21319fi
21320 21880
21881
21882fi
21883
21321echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 21884{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21322echo "${ECHO_T}$ac_cv_sizeof_int" >&6 21885echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21323 21886
21324cat >>confdefs.h <<_ACEOF 21887cat >>confdefs.h <<_ACEOF
21325#define SIZEOF_INT $ac_cv_sizeof_int 21888#define SIZEOF_INT $ac_cv_sizeof_int
21326_ACEOF 21889_ACEOF
21327 21890
21328#AC_DEFINE([SIZEOF_INT], [$ac_cv_sizeof_int], [Check to fix sizeof bug that can't print %d]) 21891#AC_DEFINE([SIZEOF_INT], [$ac_cv_sizeof_int], [Check to fix sizeof bug that can't print %d])
21329 21892
21330 21893
21331 21894
21332# ------ AC CREATE STDINT H ------------------------------------- 21895# ------ AC CREATE STDINT H -------------------------------------
21333echo "$as_me:$LINENO: checking for stdint-types...." >&5 21896{ echo "$as_me:$LINENO: checking for stdint-types...." >&5
21334echo $ECHO_N "checking for stdint-types....... $ECHO_C" >&6 21897echo $ECHO_N "checking for stdint-types....... $ECHO_C" >&6; }
21335ac_stdint_h=`echo src/libspf/_stdint.h` 21898ac_stdint_h=`echo src/libspf/_stdint.h`
21336if test "$ac_stdint_h" = "stdint.h" ; then 21899if test "$ac_stdint_h" = "stdint.h" ; then
21337 echo "$as_me:$LINENO: result: \"(are you sure you want them in ./stdint.h?)\"" >&5 21900 { echo "$as_me:$LINENO: result: \"(are you sure you want them in ./stdint.h?)\"" >&5
21338echo "${ECHO_T}\"(are you sure you want them in ./stdint.h?)\"" >&6 21901echo "${ECHO_T}\"(are you sure you want them in ./stdint.h?)\"" >&6; }
21339elif test "$ac_stdint_h" = "inttypes.h" ; then 21902elif test "$ac_stdint_h" = "inttypes.h" ; then
21340 echo "$as_me:$LINENO: result: \"(are you sure you want them in ./inttypes.h?)\"" >&5 21903 { echo "$as_me:$LINENO: result: \"(are you sure you want them in ./inttypes.h?)\"" >&5
21341echo "${ECHO_T}\"(are you sure you want them in ./inttypes.h?)\"" >&6 21904echo "${ECHO_T}\"(are you sure you want them in ./inttypes.h?)\"" >&6; }
21342else 21905else
21343 echo "$as_me:$LINENO: result: \"(putting them into $ac_stdint_h)\"" >&5 21906 { echo "$as_me:$LINENO: result: \"(putting them into $ac_stdint_h)\"" >&5
21344echo "${ECHO_T}\"(putting them into $ac_stdint_h)\"" >&6 21907echo "${ECHO_T}\"(putting them into $ac_stdint_h)\"" >&6; }
21345fi 21908fi
21346 21909
21347inttype_headers=`echo inttypes.h sys/inttypes.h sys/inttypes.h \ 21910inttype_headers=`echo inttypes.h sys/inttypes.h sys/inttypes.h \
21348| sed -e 's/,/ /g'` 21911| sed -e 's/,/ /g'`
21349 21912
21351 ac_cv_header_stdint_o="no-file" 21914 ac_cv_header_stdint_o="no-file"
21352 ac_cv_header_stdint_u="no-file" 21915 ac_cv_header_stdint_u="no-file"
21353 for i in stdint.h $inttype_headers ; do 21916 for i in stdint.h $inttype_headers ; do
21354 unset ac_cv_type_uintptr_t 21917 unset ac_cv_type_uintptr_t
21355 unset ac_cv_type_uint64_t 21918 unset ac_cv_type_uint64_t
21356 echo "$as_me:$LINENO: checking for uintptr_t" >&5 21919 { echo "$as_me:$LINENO: checking for uintptr_t" >&5
21357echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6 21920echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6; }
21358if test "${ac_cv_type_uintptr_t+set}" = set; then 21921if test "${ac_cv_type_uintptr_t+set}" = set; then
21359 echo $ECHO_N "(cached) $ECHO_C" >&6 21922 echo $ECHO_N "(cached) $ECHO_C" >&6
21360else 21923else
21361 cat >conftest.$ac_ext <<_ACEOF 21924 cat >conftest.$ac_ext <<_ACEOF
21362/* confdefs.h. */ 21925/* confdefs.h. */
21364cat confdefs.h >>conftest.$ac_ext 21927cat confdefs.h >>conftest.$ac_ext
21365cat >>conftest.$ac_ext <<_ACEOF 21928cat >>conftest.$ac_ext <<_ACEOF
21366/* end confdefs.h. */ 21929/* end confdefs.h. */
21367#include <$i> 21930#include <$i>
21368 21931
21932typedef uintptr_t ac__type_new_;
21369int 21933int
21370main () 21934main ()
21371{ 21935{
21372if ((uintptr_t *) 0) 21936if ((ac__type_new_ *) 0)
21373 return 0; 21937 return 0;
21374if (sizeof (uintptr_t)) 21938if (sizeof (ac__type_new_))
21375 return 0; 21939 return 0;
21376 ; 21940 ;
21377 return 0; 21941 return 0;
21378} 21942}
21379_ACEOF 21943_ACEOF
21380rm -f conftest.$ac_objext 21944rm -f conftest.$ac_objext
21945if { (ac_try="$ac_compile"
21946case "(($ac_try" in
21947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21948 *) ac_try_echo=$ac_try;;
21949esac
21381if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 21950eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21382 (eval $ac_compile) 2>conftest.er1 21951 (eval "$ac_compile") 2>conftest.er1
21383 ac_status=$? 21952 ac_status=$?
21384 grep -v '^ *+' conftest.er1 >conftest.err 21953 grep -v '^ *+' conftest.er1 >conftest.err
21385 rm -f conftest.er1 21954 rm -f conftest.er1
21386 cat conftest.err >&5 21955 cat conftest.err >&5
21387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21388 (exit $ac_status); } && 21957 (exit $ac_status); } && {
21389 { ac_try='test -z "$ac_c_werror_flag" 21958 test -z "$ac_c_werror_flag" ||
21390 || test ! -s conftest.err' 21959 test ! -s conftest.err
21391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21960 } && test -s conftest.$ac_objext; then
21392 (eval $ac_try) 2>&5
21393 ac_status=$?
21394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21395 (exit $ac_status); }; } &&
21396 { ac_try='test -s conftest.$ac_objext'
21397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21398 (eval $ac_try) 2>&5
21399 ac_status=$?
21400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21401 (exit $ac_status); }; }; then
21402 ac_cv_type_uintptr_t=yes 21961 ac_cv_type_uintptr_t=yes
21403else 21962else
21404 echo "$as_me: failed program was:" >&5 21963 echo "$as_me: failed program was:" >&5
21405sed 's/^/| /' conftest.$ac_ext >&5 21964sed 's/^/| /' conftest.$ac_ext >&5
21406 21965
21407ac_cv_type_uintptr_t=no 21966 ac_cv_type_uintptr_t=no
21408fi 21967fi
21968
21409rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 21969rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21410fi 21970fi
21411echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5 21971{ echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
21412echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6 21972echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6; }
21413if test $ac_cv_type_uintptr_t = yes; then 21973if test $ac_cv_type_uintptr_t = yes; then
21414 ac_cv_header_stdint_x=$i 21974 ac_cv_header_stdint_x=$i
21415else 21975else
21416 continue 21976 continue
21417fi 21977fi
21418 21978
21419 echo "$as_me:$LINENO: checking for uint64_t" >&5 21979 { echo "$as_me:$LINENO: checking for uint64_t" >&5
21420echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6 21980echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
21421if test "${ac_cv_type_uint64_t+set}" = set; then 21981if test "${ac_cv_type_uint64_t+set}" = set; then
21422 echo $ECHO_N "(cached) $ECHO_C" >&6 21982 echo $ECHO_N "(cached) $ECHO_C" >&6
21423else 21983else
21424 cat >conftest.$ac_ext <<_ACEOF 21984 cat >conftest.$ac_ext <<_ACEOF
21425/* confdefs.h. */ 21985/* confdefs.h. */
21427cat confdefs.h >>conftest.$ac_ext 21987cat confdefs.h >>conftest.$ac_ext
21428cat >>conftest.$ac_ext <<_ACEOF 21988cat >>conftest.$ac_ext <<_ACEOF
21429/* end confdefs.h. */ 21989/* end confdefs.h. */
21430#include<$i> 21990#include<$i>
21431 21991
21992typedef uint64_t ac__type_new_;
21432int 21993int
21433main () 21994main ()
21434{ 21995{
21435if ((uint64_t *) 0) 21996if ((ac__type_new_ *) 0)
21436 return 0; 21997 return 0;
21437if (sizeof (uint64_t)) 21998if (sizeof (ac__type_new_))
21438 return 0; 21999 return 0;
21439 ; 22000 ;
21440 return 0; 22001 return 0;
21441} 22002}
21442_ACEOF 22003_ACEOF
21443rm -f conftest.$ac_objext 22004rm -f conftest.$ac_objext
22005if { (ac_try="$ac_compile"
22006case "(($ac_try" in
22007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22008 *) ac_try_echo=$ac_try;;
22009esac
21444if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 22010eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21445 (eval $ac_compile) 2>conftest.er1 22011 (eval "$ac_compile") 2>conftest.er1
21446 ac_status=$? 22012 ac_status=$?
21447 grep -v '^ *+' conftest.er1 >conftest.err 22013 grep -v '^ *+' conftest.er1 >conftest.err
21448 rm -f conftest.er1 22014 rm -f conftest.er1
21449 cat conftest.err >&5 22015 cat conftest.err >&5
21450 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21451 (exit $ac_status); } && 22017 (exit $ac_status); } && {
21452 { ac_try='test -z "$ac_c_werror_flag" 22018 test -z "$ac_c_werror_flag" ||
21453 || test ! -s conftest.err' 22019 test ! -s conftest.err
21454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22020 } && test -s conftest.$ac_objext; then
21455 (eval $ac_try) 2>&5
21456 ac_status=$?
21457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21458 (exit $ac_status); }; } &&
21459 { ac_try='test -s conftest.$ac_objext'
21460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21461 (eval $ac_try) 2>&5
21462 ac_status=$?
21463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21464 (exit $ac_status); }; }; then
21465 ac_cv_type_uint64_t=yes 22021 ac_cv_type_uint64_t=yes
21466else 22022else
21467 echo "$as_me: failed program was:" >&5 22023 echo "$as_me: failed program was:" >&5
21468sed 's/^/| /' conftest.$ac_ext >&5 22024sed 's/^/| /' conftest.$ac_ext >&5
21469 22025
21470ac_cv_type_uint64_t=no 22026 ac_cv_type_uint64_t=no
21471fi 22027fi
22028
21472rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 22029rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21473fi 22030fi
21474echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 22031{ echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
21475echo "${ECHO_T}$ac_cv_type_uint64_t" >&6 22032echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
21476if test $ac_cv_type_uint64_t = yes; then 22033if test $ac_cv_type_uint64_t = yes; then
21477 and64="(uint64_t too)" 22034 and64="(uint64_t too)"
21478else 22035else
21479 and64="" 22036 and64=""
21480fi 22037fi
21481 22038
21482 echo "$as_me:$LINENO: result: ... seen our uintptr_t in $i $and64" >&5 22039 { echo "$as_me:$LINENO: result: ... seen our uintptr_t in $i $and64" >&5
21483echo "${ECHO_T}... seen our uintptr_t in $i $and64" >&6 22040echo "${ECHO_T}... seen our uintptr_t in $i $and64" >&6; }
21484 break; 22041 break;
21485 done 22042 done
21486 if test "$ac_cv_header_stdint_x" = "no-file" ; then 22043 if test "$ac_cv_header_stdint_x" = "no-file" ; then
21487 for i in stdint.h $inttype_headers ; do 22044 for i in stdint.h $inttype_headers ; do
21488 unset ac_cv_type_uint32_t 22045 unset ac_cv_type_uint32_t
21489 unset ac_cv_type_uint64_t 22046 unset ac_cv_type_uint64_t
21490 echo "$as_me:$LINENO: checking for uint32_t" >&5 22047 { echo "$as_me:$LINENO: checking for uint32_t" >&5
21491echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6 22048echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
21492if test "${ac_cv_type_uint32_t+set}" = set; then 22049if test "${ac_cv_type_uint32_t+set}" = set; then
21493 echo $ECHO_N "(cached) $ECHO_C" >&6 22050 echo $ECHO_N "(cached) $ECHO_C" >&6
21494else 22051else
21495 cat >conftest.$ac_ext <<_ACEOF 22052 cat >conftest.$ac_ext <<_ACEOF
21496/* confdefs.h. */ 22053/* confdefs.h. */
21498cat confdefs.h >>conftest.$ac_ext 22055cat confdefs.h >>conftest.$ac_ext
21499cat >>conftest.$ac_ext <<_ACEOF 22056cat >>conftest.$ac_ext <<_ACEOF
21500/* end confdefs.h. */ 22057/* end confdefs.h. */
21501#include <$i> 22058#include <$i>
21502 22059
22060typedef uint32_t ac__type_new_;
21503int 22061int
21504main () 22062main ()
21505{ 22063{
21506if ((uint32_t *) 0) 22064if ((ac__type_new_ *) 0)
21507 return 0; 22065 return 0;
21508if (sizeof (uint32_t)) 22066if (sizeof (ac__type_new_))
21509 return 0; 22067 return 0;
21510 ; 22068 ;
21511 return 0; 22069 return 0;
21512} 22070}
21513_ACEOF 22071_ACEOF
21514rm -f conftest.$ac_objext 22072rm -f conftest.$ac_objext
22073if { (ac_try="$ac_compile"
22074case "(($ac_try" in
22075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22076 *) ac_try_echo=$ac_try;;
22077esac
21515if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 22078eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21516 (eval $ac_compile) 2>conftest.er1 22079 (eval "$ac_compile") 2>conftest.er1
21517 ac_status=$? 22080 ac_status=$?
21518 grep -v '^ *+' conftest.er1 >conftest.err 22081 grep -v '^ *+' conftest.er1 >conftest.err
21519 rm -f conftest.er1 22082 rm -f conftest.er1
21520 cat conftest.err >&5 22083 cat conftest.err >&5
21521 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21522 (exit $ac_status); } && 22085 (exit $ac_status); } && {
21523 { ac_try='test -z "$ac_c_werror_flag" 22086 test -z "$ac_c_werror_flag" ||
21524 || test ! -s conftest.err' 22087 test ! -s conftest.err
21525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22088 } && test -s conftest.$ac_objext; then
21526 (eval $ac_try) 2>&5
21527 ac_status=$?
21528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21529 (exit $ac_status); }; } &&
21530 { ac_try='test -s conftest.$ac_objext'
21531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21532 (eval $ac_try) 2>&5
21533 ac_status=$?
21534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21535 (exit $ac_status); }; }; then
21536 ac_cv_type_uint32_t=yes 22089 ac_cv_type_uint32_t=yes
21537else 22090else
21538 echo "$as_me: failed program was:" >&5 22091 echo "$as_me: failed program was:" >&5
21539sed 's/^/| /' conftest.$ac_ext >&5 22092sed 's/^/| /' conftest.$ac_ext >&5
21540 22093
21541ac_cv_type_uint32_t=no 22094 ac_cv_type_uint32_t=no
21542fi 22095fi
22096
21543rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 22097rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21544fi 22098fi
21545echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5 22099{ echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
21546echo "${ECHO_T}$ac_cv_type_uint32_t" >&6 22100echo "${ECHO_T}$ac_cv_type_uint32_t" >&6; }
21547if test $ac_cv_type_uint32_t = yes; then 22101if test $ac_cv_type_uint32_t = yes; then
21548 ac_cv_header_stdint_o=$i 22102 ac_cv_header_stdint_o=$i
21549else 22103else
21550 continue 22104 continue
21551fi 22105fi
21552 22106
21553 echo "$as_me:$LINENO: checking for uint64_t" >&5 22107 { echo "$as_me:$LINENO: checking for uint64_t" >&5
21554echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6 22108echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
21555if test "${ac_cv_type_uint64_t+set}" = set; then 22109if test "${ac_cv_type_uint64_t+set}" = set; then
21556 echo $ECHO_N "(cached) $ECHO_C" >&6 22110 echo $ECHO_N "(cached) $ECHO_C" >&6
21557else 22111else
21558 cat >conftest.$ac_ext <<_ACEOF 22112 cat >conftest.$ac_ext <<_ACEOF
21559/* confdefs.h. */ 22113/* confdefs.h. */
21561cat confdefs.h >>conftest.$ac_ext 22115cat confdefs.h >>conftest.$ac_ext
21562cat >>conftest.$ac_ext <<_ACEOF 22116cat >>conftest.$ac_ext <<_ACEOF
21563/* end confdefs.h. */ 22117/* end confdefs.h. */
21564#include<$i> 22118#include<$i>
21565 22119
22120typedef uint64_t ac__type_new_;
21566int 22121int
21567main () 22122main ()
21568{ 22123{
21569if ((uint64_t *) 0) 22124if ((ac__type_new_ *) 0)
21570 return 0; 22125 return 0;
21571if (sizeof (uint64_t)) 22126if (sizeof (ac__type_new_))
21572 return 0; 22127 return 0;
21573 ; 22128 ;
21574 return 0; 22129 return 0;
21575} 22130}
21576_ACEOF 22131_ACEOF
21577rm -f conftest.$ac_objext 22132rm -f conftest.$ac_objext
22133if { (ac_try="$ac_compile"
22134case "(($ac_try" in
22135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22136 *) ac_try_echo=$ac_try;;
22137esac
21578if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 22138eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21579 (eval $ac_compile) 2>conftest.er1 22139 (eval "$ac_compile") 2>conftest.er1
21580 ac_status=$? 22140 ac_status=$?
21581 grep -v '^ *+' conftest.er1 >conftest.err 22141 grep -v '^ *+' conftest.er1 >conftest.err
21582 rm -f conftest.er1 22142 rm -f conftest.er1
21583 cat conftest.err >&5 22143 cat conftest.err >&5
21584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585 (exit $ac_status); } && 22145 (exit $ac_status); } && {
21586 { ac_try='test -z "$ac_c_werror_flag" 22146 test -z "$ac_c_werror_flag" ||
21587 || test ! -s conftest.err' 22147 test ! -s conftest.err
21588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22148 } && test -s conftest.$ac_objext; then
21589 (eval $ac_try) 2>&5
21590 ac_status=$?
21591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21592 (exit $ac_status); }; } &&
21593 { ac_try='test -s conftest.$ac_objext'
21594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21595 (eval $ac_try) 2>&5
21596 ac_status=$?
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); }; }; then
21599 ac_cv_type_uint64_t=yes 22149 ac_cv_type_uint64_t=yes
21600else 22150else
21601 echo "$as_me: failed program was:" >&5 22151 echo "$as_me: failed program was:" >&5
21602sed 's/^/| /' conftest.$ac_ext >&5 22152sed 's/^/| /' conftest.$ac_ext >&5
21603 22153
21604ac_cv_type_uint64_t=no 22154 ac_cv_type_uint64_t=no
21605fi 22155fi
22156
21606rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 22157rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21607fi 22158fi
21608echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 22159{ echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
21609echo "${ECHO_T}$ac_cv_type_uint64_t" >&6 22160echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
21610if test $ac_cv_type_uint64_t = yes; then 22161if test $ac_cv_type_uint64_t = yes; then
21611 and64="(uint64_t too)" 22162 and64="(uint64_t too)"
21612else 22163else
21613 and64="" 22164 and64=""
21614fi 22165fi
21615 22166
21616 echo "$as_me:$LINENO: result: ... seen our uint32_t in $i $and64" >&5 22167 { echo "$as_me:$LINENO: result: ... seen our uint32_t in $i $and64" >&5
21617echo "${ECHO_T}... seen our uint32_t in $i $and64" >&6 22168echo "${ECHO_T}... seen our uint32_t in $i $and64" >&6; }
21618 break; 22169 break;
21619 done 22170 done
21620 if test "$ac_cv_header_stdint_o" = "no-file" ; then 22171 if test "$ac_cv_header_stdint_o" = "no-file" ; then
21621 for i in sys/types.h $inttype_headers ; do 22172 for i in sys/types.h $inttype_headers ; do
21622 unset ac_cv_type_u_int32_t 22173 unset ac_cv_type_u_int32_t
21623 unset ac_cv_type_u_int64_t 22174 unset ac_cv_type_u_int64_t
21624 echo "$as_me:$LINENO: checking for u_int32_t" >&5 22175 { echo "$as_me:$LINENO: checking for u_int32_t" >&5
21625echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6 22176echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6; }
21626if test "${ac_cv_type_u_int32_t+set}" = set; then 22177if test "${ac_cv_type_u_int32_t+set}" = set; then
21627 echo $ECHO_N "(cached) $ECHO_C" >&6 22178 echo $ECHO_N "(cached) $ECHO_C" >&6
21628else 22179else
21629 cat >conftest.$ac_ext <<_ACEOF 22180 cat >conftest.$ac_ext <<_ACEOF
21630/* confdefs.h. */ 22181/* confdefs.h. */
21632cat confdefs.h >>conftest.$ac_ext 22183cat confdefs.h >>conftest.$ac_ext
21633cat >>conftest.$ac_ext <<_ACEOF 22184cat >>conftest.$ac_ext <<_ACEOF
21634/* end confdefs.h. */ 22185/* end confdefs.h. */
21635#include <$i> 22186#include <$i>
21636 22187
22188typedef u_int32_t ac__type_new_;
21637int 22189int
21638main () 22190main ()
21639{ 22191{
21640if ((u_int32_t *) 0) 22192if ((ac__type_new_ *) 0)
21641 return 0; 22193 return 0;
21642if (sizeof (u_int32_t)) 22194if (sizeof (ac__type_new_))
21643 return 0; 22195 return 0;
21644 ; 22196 ;
21645 return 0; 22197 return 0;
21646} 22198}
21647_ACEOF 22199_ACEOF
21648rm -f conftest.$ac_objext 22200rm -f conftest.$ac_objext
22201if { (ac_try="$ac_compile"
22202case "(($ac_try" in
22203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22204 *) ac_try_echo=$ac_try;;
22205esac
21649if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 22206eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21650 (eval $ac_compile) 2>conftest.er1 22207 (eval "$ac_compile") 2>conftest.er1
21651 ac_status=$? 22208 ac_status=$?
21652 grep -v '^ *+' conftest.er1 >conftest.err 22209 grep -v '^ *+' conftest.er1 >conftest.err
21653 rm -f conftest.er1 22210 rm -f conftest.er1
21654 cat conftest.err >&5 22211 cat conftest.err >&5
21655 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21656 (exit $ac_status); } && 22213 (exit $ac_status); } && {
21657 { ac_try='test -z "$ac_c_werror_flag" 22214 test -z "$ac_c_werror_flag" ||
21658 || test ! -s conftest.err' 22215 test ! -s conftest.err
21659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22216 } && test -s conftest.$ac_objext; then
21660 (eval $ac_try) 2>&5
21661 ac_status=$?
21662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21663 (exit $ac_status); }; } &&
21664 { ac_try='test -s conftest.$ac_objext'
21665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21666 (eval $ac_try) 2>&5
21667 ac_status=$?
21668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); }; }; then
21670 ac_cv_type_u_int32_t=yes 22217 ac_cv_type_u_int32_t=yes
21671else 22218else
21672 echo "$as_me: failed program was:" >&5 22219 echo "$as_me: failed program was:" >&5
21673sed 's/^/| /' conftest.$ac_ext >&5 22220sed 's/^/| /' conftest.$ac_ext >&5
21674 22221
21675ac_cv_type_u_int32_t=no 22222 ac_cv_type_u_int32_t=no
21676fi 22223fi
22224
21677rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 22225rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21678fi 22226fi
21679echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5 22227{ echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
21680echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6 22228echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6; }
21681if test $ac_cv_type_u_int32_t = yes; then 22229if test $ac_cv_type_u_int32_t = yes; then
21682 ac_cv_header_stdint_u=$i 22230 ac_cv_header_stdint_u=$i
21683else 22231else
21684 continue 22232 continue
21685fi 22233fi
21686 22234
21687 echo "$as_me:$LINENO: checking for uint64_t" >&5 22235 { echo "$as_me:$LINENO: checking for uint64_t" >&5
21688echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6 22236echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
21689if test "${ac_cv_type_uint64_t+set}" = set; then 22237if test "${ac_cv_type_uint64_t+set}" = set; then
21690 echo $ECHO_N "(cached) $ECHO_C" >&6 22238 echo $ECHO_N "(cached) $ECHO_C" >&6
21691else 22239else
21692 cat >conftest.$ac_ext <<_ACEOF 22240 cat >conftest.$ac_ext <<_ACEOF
21693/* confdefs.h. */ 22241/* confdefs.h. */
21695cat confdefs.h >>conftest.$ac_ext 22243cat confdefs.h >>conftest.$ac_ext
21696cat >>conftest.$ac_ext <<_ACEOF 22244cat >>conftest.$ac_ext <<_ACEOF
21697/* end confdefs.h. */ 22245/* end confdefs.h. */
21698#include<$i> 22246#include<$i>
21699 22247
22248typedef uint64_t ac__type_new_;
21700int 22249int
21701main () 22250main ()
21702{ 22251{
21703if ((uint64_t *) 0) 22252if ((ac__type_new_ *) 0)
21704 return 0; 22253 return 0;
21705if (sizeof (uint64_t)) 22254if (sizeof (ac__type_new_))
21706 return 0; 22255 return 0;
21707 ; 22256 ;
21708 return 0; 22257 return 0;
21709} 22258}
21710_ACEOF 22259_ACEOF
21711rm -f conftest.$ac_objext 22260rm -f conftest.$ac_objext
22261if { (ac_try="$ac_compile"
22262case "(($ac_try" in
22263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22264 *) ac_try_echo=$ac_try;;
22265esac
21712if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 22266eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21713 (eval $ac_compile) 2>conftest.er1 22267 (eval "$ac_compile") 2>conftest.er1
21714 ac_status=$? 22268 ac_status=$?
21715 grep -v '^ *+' conftest.er1 >conftest.err 22269 grep -v '^ *+' conftest.er1 >conftest.err
21716 rm -f conftest.er1 22270 rm -f conftest.er1
21717 cat conftest.err >&5 22271 cat conftest.err >&5
21718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21719 (exit $ac_status); } && 22273 (exit $ac_status); } && {
21720 { ac_try='test -z "$ac_c_werror_flag" 22274 test -z "$ac_c_werror_flag" ||
21721 || test ! -s conftest.err' 22275 test ! -s conftest.err
21722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22276 } && test -s conftest.$ac_objext; then
21723 (eval $ac_try) 2>&5
21724 ac_status=$?
21725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21726 (exit $ac_status); }; } &&
21727 { ac_try='test -s conftest.$ac_objext'
21728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21729 (eval $ac_try) 2>&5
21730 ac_status=$?
21731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21732 (exit $ac_status); }; }; then
21733 ac_cv_type_uint64_t=yes 22277 ac_cv_type_uint64_t=yes
21734else 22278else
21735 echo "$as_me: failed program was:" >&5 22279 echo "$as_me: failed program was:" >&5
21736sed 's/^/| /' conftest.$ac_ext >&5 22280sed 's/^/| /' conftest.$ac_ext >&5
21737 22281
21738ac_cv_type_uint64_t=no 22282 ac_cv_type_uint64_t=no
21739fi 22283fi
22284
21740rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 22285rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21741fi 22286fi
21742echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 22287{ echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
21743echo "${ECHO_T}$ac_cv_type_uint64_t" >&6 22288echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
21744if test $ac_cv_type_uint64_t = yes; then 22289if test $ac_cv_type_uint64_t = yes; then
21745 and64="(u_int64_t too)" 22290 and64="(u_int64_t too)"
21746else 22291else
21747 and64="" 22292 and64=""
21748fi 22293fi
21749 22294
21750 echo "$as_me:$LINENO: result: ... seen our u_int32_t in $i $and64" >&5 22295 { echo "$as_me:$LINENO: result: ... seen our u_int32_t in $i $and64" >&5
21751echo "${ECHO_T}... seen our u_int32_t in $i $and64" >&6 22296echo "${ECHO_T}... seen our u_int32_t in $i $and64" >&6; }
21752 break; 22297 break;
21753 done 22298 done
21754 fi 22299 fi
21755 fi 22300 fi
21756 22301
21757# ----------------- DONE inttypes.h checks MAYBE C basic types -------- 22302# ----------------- DONE inttypes.h checks MAYBE C basic types --------
21758 22303
21759if test "$ac_cv_header_stdint_x" = "no-file" ; then 22304if test "$ac_cv_header_stdint_x" = "no-file" ; then
21760 echo "$as_me:$LINENO: checking that size of char is " >&5 22305 { echo "$as_me:$LINENO: checking that size of char is " >&5
21761echo $ECHO_N "checking that size of char is ... $ECHO_C" >&6 22306echo $ECHO_N "checking that size of char is ... $ECHO_C" >&6; }
21762 cat >conftest.$ac_ext <<_ACEOF 22307 cat >conftest.$ac_ext <<_ACEOF
21763/* confdefs.h. */ 22308/* confdefs.h. */
21764_ACEOF 22309_ACEOF
21765cat confdefs.h >>conftest.$ac_ext 22310cat confdefs.h >>conftest.$ac_ext
21766cat >>conftest.$ac_ext <<_ACEOF 22311cat >>conftest.$ac_ext <<_ACEOF
21773 ; 22318 ;
21774 return 0; 22319 return 0;
21775} 22320}
21776_ACEOF 22321_ACEOF
21777rm -f conftest.$ac_objext 22322rm -f conftest.$ac_objext
22323if { (ac_try="$ac_compile"
22324case "(($ac_try" in
22325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22326 *) ac_try_echo=$ac_try;;
22327esac
21778if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 22328eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21779 (eval $ac_compile) 2>conftest.er1 22329 (eval "$ac_compile") 2>conftest.er1
21780 ac_status=$? 22330 ac_status=$?
21781 grep -v '^ *+' conftest.er1 >conftest.err 22331 grep -v '^ *+' conftest.er1 >conftest.err
21782 rm -f conftest.er1 22332 rm -f conftest.er1
21783 cat conftest.err >&5 22333 cat conftest.err >&5
21784 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785 (exit $ac_status); } && 22335 (exit $ac_status); } && {
21786 { ac_try='test -z "$ac_c_werror_flag" 22336 test -z "$ac_c_werror_flag" ||
21787 || test ! -s conftest.err' 22337 test ! -s conftest.err
21788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22338 } && test -s conftest.$ac_objext; then
21789 (eval $ac_try) 2>&5
21790 ac_status=$?
21791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792 (exit $ac_status); }; } &&
21793 { ac_try='test -s conftest.$ac_objext'
21794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21795 (eval $ac_try) 2>&5
21796 ac_status=$?
21797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21798 (exit $ac_status); }; }; then
21799 : 22339 :
21800else 22340else
21801 echo "$as_me: failed program was:" >&5 22341 echo "$as_me: failed program was:" >&5
21802sed 's/^/| /' conftest.$ac_ext >&5 22342sed 's/^/| /' conftest.$ac_ext >&5
21803 22343
21804{ { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5 22344 { { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5
21805echo "$as_me: error: can not build a default inttypes.h" >&2;} 22345echo "$as_me: error: can not build a default inttypes.h" >&2;}
21806 { (exit 1); exit 1; }; } 22346 { (exit 1); exit 1; }; }
21807fi 22347fi
22348
21808rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 22349rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21809 echo "$as_me:$LINENO: result: yes" >&5 22350 { echo "$as_me:$LINENO: result: yes" >&5
21810echo "${ECHO_T}yes" >&6 22351echo "${ECHO_T}yes" >&6; }
21811 echo "$as_me:$LINENO: checking that size of short is " >&5 22352 { echo "$as_me:$LINENO: checking that size of short is " >&5
21812echo $ECHO_N "checking that size of short is ... $ECHO_C" >&6 22353echo $ECHO_N "checking that size of short is ... $ECHO_C" >&6; }
21813 cat >conftest.$ac_ext <<_ACEOF 22354 cat >conftest.$ac_ext <<_ACEOF
21814/* confdefs.h. */ 22355/* confdefs.h. */
21815_ACEOF 22356_ACEOF
21816cat confdefs.h >>conftest.$ac_ext 22357cat confdefs.h >>conftest.$ac_ext
21817cat >>conftest.$ac_ext <<_ACEOF 22358cat >>conftest.$ac_ext <<_ACEOF
21824 ; 22365 ;
21825 return 0; 22366 return 0;
21826} 22367}
21827_ACEOF 22368_ACEOF
21828rm -f conftest.$ac_objext 22369rm -f conftest.$ac_objext
22370if { (ac_try="$ac_compile"
22371case "(($ac_try" in
22372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22373 *) ac_try_echo=$ac_try;;
22374esac
21829if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 22375eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21830 (eval $ac_compile) 2>conftest.er1 22376 (eval "$ac_compile") 2>conftest.er1
21831 ac_status=$? 22377 ac_status=$?
21832 grep -v '^ *+' conftest.er1 >conftest.err 22378 grep -v '^ *+' conftest.er1 >conftest.err
21833 rm -f conftest.er1 22379 rm -f conftest.er1
21834 cat conftest.err >&5 22380 cat conftest.err >&5
21835 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21836 (exit $ac_status); } && 22382 (exit $ac_status); } && {
21837 { ac_try='test -z "$ac_c_werror_flag" 22383 test -z "$ac_c_werror_flag" ||
21838 || test ! -s conftest.err' 22384 test ! -s conftest.err
21839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22385 } && test -s conftest.$ac_objext; then
21840 (eval $ac_try) 2>&5
21841 ac_status=$?
21842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21843 (exit $ac_status); }; } &&
21844 { ac_try='test -s conftest.$ac_objext'
21845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21846 (eval $ac_try) 2>&5
21847 ac_status=$?
21848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21849 (exit $ac_status); }; }; then
21850 : 22386 :
21851else 22387else
21852 echo "$as_me: failed program was:" >&5 22388 echo "$as_me: failed program was:" >&5
21853sed 's/^/| /' conftest.$ac_ext >&5 22389sed 's/^/| /' conftest.$ac_ext >&5
21854 22390
21855{ { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5 22391 { { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5
21856echo "$as_me: error: can not build a default inttypes.h" >&2;} 22392echo "$as_me: error: can not build a default inttypes.h" >&2;}
21857 { (exit 1); exit 1; }; } 22393 { (exit 1); exit 1; }; }
21858fi 22394fi
22395
21859rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 22396rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21860 echo "$as_me:$LINENO: result: yes" >&5 22397 { echo "$as_me:$LINENO: result: yes" >&5
21861echo "${ECHO_T}yes" >&6 22398echo "${ECHO_T}yes" >&6; }
21862 echo "$as_me:$LINENO: checking that size of int is " >&5 22399 { echo "$as_me:$LINENO: checking that size of int is " >&5
21863echo $ECHO_N "checking that size of int is ... $ECHO_C" >&6 22400echo $ECHO_N "checking that size of int is ... $ECHO_C" >&6; }
21864 cat >conftest.$ac_ext <<_ACEOF 22401 cat >conftest.$ac_ext <<_ACEOF
21865/* confdefs.h. */ 22402/* confdefs.h. */
21866_ACEOF 22403_ACEOF
21867cat confdefs.h >>conftest.$ac_ext 22404cat confdefs.h >>conftest.$ac_ext
21868cat >>conftest.$ac_ext <<_ACEOF 22405cat >>conftest.$ac_ext <<_ACEOF
21875 ; 22412 ;
21876 return 0; 22413 return 0;
21877} 22414}
21878_ACEOF 22415_ACEOF
21879rm -f conftest.$ac_objext 22416rm -f conftest.$ac_objext
22417if { (ac_try="$ac_compile"
22418case "(($ac_try" in
22419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22420 *) ac_try_echo=$ac_try;;
22421esac
21880if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 22422eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21881 (eval $ac_compile) 2>conftest.er1 22423 (eval "$ac_compile") 2>conftest.er1
21882 ac_status=$? 22424 ac_status=$?
21883 grep -v '^ *+' conftest.er1 >conftest.err 22425 grep -v '^ *+' conftest.er1 >conftest.err
21884 rm -f conftest.er1 22426 rm -f conftest.er1
21885 cat conftest.err >&5 22427 cat conftest.err >&5
21886 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21887 (exit $ac_status); } && 22429 (exit $ac_status); } && {
21888 { ac_try='test -z "$ac_c_werror_flag" 22430 test -z "$ac_c_werror_flag" ||
21889 || test ! -s conftest.err' 22431 test ! -s conftest.err
21890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22432 } && test -s conftest.$ac_objext; then
21891 (eval $ac_try) 2>&5
21892 ac_status=$?
21893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894 (exit $ac_status); }; } &&
21895 { ac_try='test -s conftest.$ac_objext'
21896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21897 (eval $ac_try) 2>&5
21898 ac_status=$?
21899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21900 (exit $ac_status); }; }; then
21901 : 22433 :
21902else 22434else
21903 echo "$as_me: failed program was:" >&5 22435 echo "$as_me: failed program was:" >&5
21904sed 's/^/| /' conftest.$ac_ext >&5 22436sed 's/^/| /' conftest.$ac_ext >&5
21905 22437
21906{ { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5 22438 { { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5
21907echo "$as_me: error: can not build a default inttypes.h" >&2;} 22439echo "$as_me: error: can not build a default inttypes.h" >&2;}
21908 { (exit 1); exit 1; }; } 22440 { (exit 1); exit 1; }; }
21909fi 22441fi
22442
21910rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 22443rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21911 echo "$as_me:$LINENO: result: yes" >&5 22444 { echo "$as_me:$LINENO: result: yes" >&5
21912echo "${ECHO_T}yes" >&6 22445echo "${ECHO_T}yes" >&6; }
21913 echo "$as_me:$LINENO: checking that size of long is " >&5 22446 { echo "$as_me:$LINENO: checking that size of long is " >&5
21914echo $ECHO_N "checking that size of long is ... $ECHO_C" >&6 22447echo $ECHO_N "checking that size of long is ... $ECHO_C" >&6; }
21915 cat >conftest.$ac_ext <<_ACEOF 22448 cat >conftest.$ac_ext <<_ACEOF
21916/* confdefs.h. */ 22449/* confdefs.h. */
21917_ACEOF 22450_ACEOF
21918cat confdefs.h >>conftest.$ac_ext 22451cat confdefs.h >>conftest.$ac_ext
21919cat >>conftest.$ac_ext <<_ACEOF 22452cat >>conftest.$ac_ext <<_ACEOF
21926 ; 22459 ;
21927 return 0; 22460 return 0;
21928} 22461}
21929_ACEOF 22462_ACEOF
21930rm -f conftest.$ac_objext 22463rm -f conftest.$ac_objext
22464if { (ac_try="$ac_compile"
22465case "(($ac_try" in
22466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22467 *) ac_try_echo=$ac_try;;
22468esac
21931if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 22469eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21932 (eval $ac_compile) 2>conftest.er1 22470 (eval "$ac_compile") 2>conftest.er1
21933 ac_status=$? 22471 ac_status=$?
21934 grep -v '^ *+' conftest.er1 >conftest.err 22472 grep -v '^ *+' conftest.er1 >conftest.err
21935 rm -f conftest.er1 22473 rm -f conftest.er1
21936 cat conftest.err >&5 22474 cat conftest.err >&5
21937 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21938 (exit $ac_status); } && 22476 (exit $ac_status); } && {
21939 { ac_try='test -z "$ac_c_werror_flag" 22477 test -z "$ac_c_werror_flag" ||
21940 || test ! -s conftest.err' 22478 test ! -s conftest.err
21941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22479 } && test -s conftest.$ac_objext; then
21942 (eval $ac_try) 2>&5
21943 ac_status=$?
21944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21945 (exit $ac_status); }; } &&
21946 { ac_try='test -s conftest.$ac_objext'
21947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21948 (eval $ac_try) 2>&5
21949 ac_status=$?
21950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21951 (exit $ac_status); }; }; then
21952 : 22480 :
21953else 22481else
21954 echo "$as_me: failed program was:" >&5 22482 echo "$as_me: failed program was:" >&5
21955sed 's/^/| /' conftest.$ac_ext >&5 22483sed 's/^/| /' conftest.$ac_ext >&5
21956 22484
21957{ { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5 22485 { { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5
21958echo "$as_me: error: can not build a default inttypes.h" >&2;} 22486echo "$as_me: error: can not build a default inttypes.h" >&2;}
21959 { (exit 1); exit 1; }; } 22487 { (exit 1); exit 1; }; }
21960fi 22488fi
22489
21961rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 22490rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21962 echo "$as_me:$LINENO: result: yes" >&5 22491 { echo "$as_me:$LINENO: result: yes" >&5
21963echo "${ECHO_T}yes" >&6 22492echo "${ECHO_T}yes" >&6; }
21964 echo "$as_me:$LINENO: checking that size of void* is " >&5 22493 { echo "$as_me:$LINENO: checking that size of void* is " >&5
21965echo $ECHO_N "checking that size of void* is ... $ECHO_C" >&6 22494echo $ECHO_N "checking that size of void* is ... $ECHO_C" >&6; }
21966 cat >conftest.$ac_ext <<_ACEOF 22495 cat >conftest.$ac_ext <<_ACEOF
21967/* confdefs.h. */ 22496/* confdefs.h. */
21968_ACEOF 22497_ACEOF
21969cat confdefs.h >>conftest.$ac_ext 22498cat confdefs.h >>conftest.$ac_ext
21970cat >>conftest.$ac_ext <<_ACEOF 22499cat >>conftest.$ac_ext <<_ACEOF
21977 ; 22506 ;
21978 return 0; 22507 return 0;
21979} 22508}
21980_ACEOF 22509_ACEOF
21981rm -f conftest.$ac_objext 22510rm -f conftest.$ac_objext
22511if { (ac_try="$ac_compile"
22512case "(($ac_try" in
22513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22514 *) ac_try_echo=$ac_try;;
22515esac
21982if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 22516eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21983 (eval $ac_compile) 2>conftest.er1 22517 (eval "$ac_compile") 2>conftest.er1
21984 ac_status=$? 22518 ac_status=$?
21985 grep -v '^ *+' conftest.er1 >conftest.err 22519 grep -v '^ *+' conftest.er1 >conftest.err
21986 rm -f conftest.er1 22520 rm -f conftest.er1
21987 cat conftest.err >&5 22521 cat conftest.err >&5
21988 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21989 (exit $ac_status); } && 22523 (exit $ac_status); } && {
21990 { ac_try='test -z "$ac_c_werror_flag" 22524 test -z "$ac_c_werror_flag" ||
21991 || test ! -s conftest.err' 22525 test ! -s conftest.err
21992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22526 } && test -s conftest.$ac_objext; then
21993 (eval $ac_try) 2>&5
21994 ac_status=$?
21995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21996 (exit $ac_status); }; } &&
21997 { ac_try='test -s conftest.$ac_objext'
21998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21999 (eval $ac_try) 2>&5
22000 ac_status=$?
22001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22002 (exit $ac_status); }; }; then
22003 : 22527 :
22004else 22528else
22005 echo "$as_me: failed program was:" >&5 22529 echo "$as_me: failed program was:" >&5
22006sed 's/^/| /' conftest.$ac_ext >&5 22530sed 's/^/| /' conftest.$ac_ext >&5
22007 22531
22008{ { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5 22532 { { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5
22009echo "$as_me: error: can not build a default inttypes.h" >&2;} 22533echo "$as_me: error: can not build a default inttypes.h" >&2;}
22010 { (exit 1); exit 1; }; } 22534 { (exit 1); exit 1; }; }
22011fi 22535fi
22536
22012rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 22537rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22013 echo "$as_me:$LINENO: result: yes" >&5 22538 { echo "$as_me:$LINENO: result: yes" >&5
22014echo "${ECHO_T}yes" >&6 22539echo "${ECHO_T}yes" >&6; }
22015 ac_cv_header_stdint_test="yes" 22540 ac_cv_header_stdint_test="yes"
22016else 22541else
22017 ac_cv_header_stdint_test="no" 22542 ac_cv_header_stdint_test="no"
22018fi 22543fi
22019 22544
22020# ----------------- DONE inttypes.h checks START header ------------- 22545# ----------------- DONE inttypes.h checks START header -------------
22021_ac_stdint_h=`echo "_$ac_stdint_h" | $as_tr_cpp` 22546_ac_stdint_h=`echo "_$ac_stdint_h" | $as_tr_cpp`
22022echo "$as_me:$LINENO: result: creating $ac_stdint_h : $_ac_stdint_h" >&5 22547{ echo "$as_me:$LINENO: result: creating $ac_stdint_h : $_ac_stdint_h" >&5
22023echo "${ECHO_T}creating $ac_stdint_h : $_ac_stdint_h" >&6 22548echo "${ECHO_T}creating $ac_stdint_h : $_ac_stdint_h" >&6; }
22024echo "#ifndef" $_ac_stdint_h >$ac_stdint_h 22549echo "#ifndef" $_ac_stdint_h >$ac_stdint_h
22025echo "#define" $_ac_stdint_h "1" >>$ac_stdint_h 22550echo "#define" $_ac_stdint_h "1" >>$ac_stdint_h
22026echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint_h 22551echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint_h
22027echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint_h 22552echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint_h
22028if test "$GCC" = "yes" ; then 22553if test "$GCC" = "yes" ; then
22044fi 22569fi
22045 22570
22046# ----------------- See if int_least and int_fast types are present 22571# ----------------- See if int_least and int_fast types are present
22047unset ac_cv_type_int_least32_t 22572unset ac_cv_type_int_least32_t
22048unset ac_cv_type_int_fast32_t 22573unset ac_cv_type_int_fast32_t
22049echo "$as_me:$LINENO: checking for int_least32_t" >&5 22574{ echo "$as_me:$LINENO: checking for int_least32_t" >&5
22050echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6 22575echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6; }
22051if test "${ac_cv_type_int_least32_t+set}" = set; then 22576if test "${ac_cv_type_int_least32_t+set}" = set; then
22052 echo $ECHO_N "(cached) $ECHO_C" >&6 22577 echo $ECHO_N "(cached) $ECHO_C" >&6
22053else 22578else
22054 cat >conftest.$ac_ext <<_ACEOF 22579 cat >conftest.$ac_ext <<_ACEOF
22055/* confdefs.h. */ 22580/* confdefs.h. */
22057cat confdefs.h >>conftest.$ac_ext 22582cat confdefs.h >>conftest.$ac_ext
22058cat >>conftest.$ac_ext <<_ACEOF 22583cat >>conftest.$ac_ext <<_ACEOF
22059/* end confdefs.h. */ 22584/* end confdefs.h. */
22060#include <$ac_cv_header_stdint> 22585#include <$ac_cv_header_stdint>
22061 22586
22587typedef int_least32_t ac__type_new_;
22062int 22588int
22063main () 22589main ()
22064{ 22590{
22065if ((int_least32_t *) 0) 22591if ((ac__type_new_ *) 0)
22066 return 0; 22592 return 0;
22067if (sizeof (int_least32_t)) 22593if (sizeof (ac__type_new_))
22068 return 0; 22594 return 0;
22069 ; 22595 ;
22070 return 0; 22596 return 0;
22071} 22597}
22072_ACEOF 22598_ACEOF
22073rm -f conftest.$ac_objext 22599rm -f conftest.$ac_objext
22600if { (ac_try="$ac_compile"
22601case "(($ac_try" in
22602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22603 *) ac_try_echo=$ac_try;;
22604esac
22074if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 22605eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22075 (eval $ac_compile) 2>conftest.er1 22606 (eval "$ac_compile") 2>conftest.er1
22076 ac_status=$? 22607 ac_status=$?
22077 grep -v '^ *+' conftest.er1 >conftest.err 22608 grep -v '^ *+' conftest.er1 >conftest.err
22078 rm -f conftest.er1 22609 rm -f conftest.er1
22079 cat conftest.err >&5 22610 cat conftest.err >&5
22080 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22081 (exit $ac_status); } && 22612 (exit $ac_status); } && {
22082 { ac_try='test -z "$ac_c_werror_flag" 22613 test -z "$ac_c_werror_flag" ||
22083 || test ! -s conftest.err' 22614 test ! -s conftest.err
22084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22615 } && test -s conftest.$ac_objext; then
22085 (eval $ac_try) 2>&5
22086 ac_status=$?
22087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22088 (exit $ac_status); }; } &&
22089 { ac_try='test -s conftest.$ac_objext'
22090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22091 (eval $ac_try) 2>&5
22092 ac_status=$?
22093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22094 (exit $ac_status); }; }; then
22095 ac_cv_type_int_least32_t=yes 22616 ac_cv_type_int_least32_t=yes
22096else 22617else
22097 echo "$as_me: failed program was:" >&5 22618 echo "$as_me: failed program was:" >&5
22098sed 's/^/| /' conftest.$ac_ext >&5 22619sed 's/^/| /' conftest.$ac_ext >&5
22099 22620
22100ac_cv_type_int_least32_t=no 22621 ac_cv_type_int_least32_t=no
22101fi 22622fi
22623
22102rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 22624rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22103fi 22625fi
22104echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5 22626{ echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
22105echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6 22627echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6; }
22106 22628
22107echo "$as_me:$LINENO: checking for int_fast32_t" >&5 22629{ echo "$as_me:$LINENO: checking for int_fast32_t" >&5
22108echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6 22630echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6; }
22109if test "${ac_cv_type_int_fast32_t+set}" = set; then 22631if test "${ac_cv_type_int_fast32_t+set}" = set; then
22110 echo $ECHO_N "(cached) $ECHO_C" >&6 22632 echo $ECHO_N "(cached) $ECHO_C" >&6
22111else 22633else
22112 cat >conftest.$ac_ext <<_ACEOF 22634 cat >conftest.$ac_ext <<_ACEOF
22113/* confdefs.h. */ 22635/* confdefs.h. */
22115cat confdefs.h >>conftest.$ac_ext 22637cat confdefs.h >>conftest.$ac_ext
22116cat >>conftest.$ac_ext <<_ACEOF 22638cat >>conftest.$ac_ext <<_ACEOF
22117/* end confdefs.h. */ 22639/* end confdefs.h. */
22118#include<$ac_cv_header_stdint> 22640#include<$ac_cv_header_stdint>
22119 22641
22642typedef int_fast32_t ac__type_new_;
22120int 22643int
22121main () 22644main ()
22122{ 22645{
22123if ((int_fast32_t *) 0) 22646if ((ac__type_new_ *) 0)
22124 return 0; 22647 return 0;
22125if (sizeof (int_fast32_t)) 22648if (sizeof (ac__type_new_))
22126 return 0; 22649 return 0;
22127 ; 22650 ;
22128 return 0; 22651 return 0;
22129} 22652}
22130_ACEOF 22653_ACEOF
22131rm -f conftest.$ac_objext 22654rm -f conftest.$ac_objext
22655if { (ac_try="$ac_compile"
22656case "(($ac_try" in
22657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22658 *) ac_try_echo=$ac_try;;
22659esac
22132if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 22660eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22133 (eval $ac_compile) 2>conftest.er1 22661 (eval "$ac_compile") 2>conftest.er1
22134 ac_status=$? 22662 ac_status=$?
22135 grep -v '^ *+' conftest.er1 >conftest.err 22663 grep -v '^ *+' conftest.er1 >conftest.err
22136 rm -f conftest.er1 22664 rm -f conftest.er1
22137 cat conftest.err >&5 22665 cat conftest.err >&5
22138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22139 (exit $ac_status); } && 22667 (exit $ac_status); } && {
22140 { ac_try='test -z "$ac_c_werror_flag" 22668 test -z "$ac_c_werror_flag" ||
22141 || test ! -s conftest.err' 22669 test ! -s conftest.err
22142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22670 } && test -s conftest.$ac_objext; then
22143 (eval $ac_try) 2>&5
22144 ac_status=$?
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); }; } &&
22147 { ac_try='test -s conftest.$ac_objext'
22148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22149 (eval $ac_try) 2>&5
22150 ac_status=$?
22151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22152 (exit $ac_status); }; }; then
22153 ac_cv_type_int_fast32_t=yes 22671 ac_cv_type_int_fast32_t=yes
22154else 22672else
22155 echo "$as_me: failed program was:" >&5 22673 echo "$as_me: failed program was:" >&5
22156sed 's/^/| /' conftest.$ac_ext >&5 22674sed 's/^/| /' conftest.$ac_ext >&5
22157 22675
22158ac_cv_type_int_fast32_t=no 22676 ac_cv_type_int_fast32_t=no
22159fi 22677fi
22678
22160rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 22679rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22161fi 22680fi
22162echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5 22681{ echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
22163echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6 22682echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6; }
22164 22683
22165 22684
22166if test "$ac_cv_header_stdint" != "stddef.h" ; then 22685if test "$ac_cv_header_stdint" != "stddef.h" ; then
22167if test "$ac_cv_header_stdint" != "stdint.h" ; then 22686if test "$ac_cv_header_stdint" != "stdint.h" ; then
22168echo "$as_me:$LINENO: result: ..adding include stddef.h" >&5 22687{ echo "$as_me:$LINENO: result: ..adding include stddef.h" >&5
22169echo "${ECHO_T}..adding include stddef.h" >&6 22688echo "${ECHO_T}..adding include stddef.h" >&6; }
22170 echo "#include <stddef.h>" >>$ac_stdint_h 22689 echo "#include <stddef.h>" >>$ac_stdint_h
22171fi ; fi 22690fi ; fi
22172echo "$as_me:$LINENO: result: ..adding include $ac_cv_header_stdint" >&5 22691{ echo "$as_me:$LINENO: result: ..adding include $ac_cv_header_stdint" >&5
22173echo "${ECHO_T}..adding include $ac_cv_header_stdint" >&6 22692echo "${ECHO_T}..adding include $ac_cv_header_stdint" >&6; }
22174 echo "#include <$ac_cv_header_stdint>" >>$ac_stdint_h 22693 echo "#include <$ac_cv_header_stdint>" >>$ac_stdint_h
22175echo "" >>$ac_stdint_h 22694echo "" >>$ac_stdint_h
22176 22695
22177# ----------------- DONE header START basic int types ------------- 22696# ----------------- DONE header START basic int types -------------
22178if test "$ac_cv_header_stdint_x" = "no-file" ; then 22697if test "$ac_cv_header_stdint_x" = "no-file" ; then
22179 echo "$as_me:$LINENO: result: ... need to look at C basic types" >&5 22698 { echo "$as_me:$LINENO: result: ... need to look at C basic types" >&5
22180echo "${ECHO_T}... need to look at C basic types" >&6 22699echo "${ECHO_T}... need to look at C basic types" >&6; }
22181else 22700else
22182 echo "$as_me:$LINENO: result: ... seen good stdint.h inttypes" >&5 22701 { echo "$as_me:$LINENO: result: ... seen good stdint.h inttypes" >&5
22183echo "${ECHO_T}... seen good stdint.h inttypes" >&6 22702echo "${ECHO_T}... seen good stdint.h inttypes" >&6; }
22184fi 22703fi
22185 22704
22186if test "$ac_cv_header_stdint_u" != "no-file" ; then 22705if test "$ac_cv_header_stdint_u" != "no-file" ; then
22187 echo "$as_me:$LINENO: result: ... seen bsd/sysv typedefs" >&5 22706 { echo "$as_me:$LINENO: result: ... seen bsd/sysv typedefs" >&5
22188echo "${ECHO_T}... seen bsd/sysv typedefs" >&6 22707echo "${ECHO_T}... seen bsd/sysv typedefs" >&6; }
22189 cat >>$ac_stdint_h <<EOF 22708 cat >>$ac_stdint_h <<EOF
22190 22709
22191/* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */ 22710/* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
22192typedef u_int8_t uint8_t; 22711typedef u_int8_t uint8_t;
22193typedef u_int16_t uint16_t; 22712typedef u_int16_t uint16_t;
22211 cat >>$ac_stdint_h <<EOF 22730 cat >>$ac_stdint_h <<EOF
22212/* ------------ BITSPECIFIC INTTYPES SECTION --------------- */ 22731/* ------------ BITSPECIFIC INTTYPES SECTION --------------- */
22213EOF 22732EOF
22214 t="typedefs for a" 22733 t="typedefs for a"
22215 case "$ac_cv_sizeof_X" in 22734 case "$ac_cv_sizeof_X" in
22216 1:2:2:2:4) echo "$as_me:$LINENO: result: ..adding $t normal 16-bit system" >&5 22735 1:2:2:2:4) { echo "$as_me:$LINENO: result: ..adding $t normal 16-bit system" >&5
22217echo "${ECHO_T}..adding $t normal 16-bit system" >&6 22736echo "${ECHO_T}..adding $t normal 16-bit system" >&6; }
22218 cat >>$ac_stdint_h <<EOF 22737 cat >>$ac_stdint_h <<EOF
22219/* a normal 16-bit system */ 22738/* a normal 16-bit system */
22220typedef unsigned char uint8_t; 22739typedef unsigned char uint8_t;
22221typedef unsigned short uint16_t; 22740typedef unsigned short uint16_t;
22222typedef unsigned long uint32_t; 22741typedef unsigned long uint32_t;
22226typedef short int16_t; 22745typedef short int16_t;
22227typedef long int32_t; 22746typedef long int32_t;
22228#endif 22747#endif
22229EOF 22748EOF
22230;; 22749;;
22231 1:2:2:4:4) echo "$as_me:$LINENO: result: ..adding $t 32-bit system derived from a 16-bit" >&5 22750 1:2:2:4:4) { echo "$as_me:$LINENO: result: ..adding $t 32-bit system derived from a 16-bit" >&5
22232echo "${ECHO_T}..adding $t 32-bit system derived from a 16-bit" >&6 22751echo "${ECHO_T}..adding $t 32-bit system derived from a 16-bit" >&6; }
22233 cat >>$ac_stdint_h <<EOF 22752 cat >>$ac_stdint_h <<EOF
22234/* a 32-bit system derived from a 16-bit */ 22753/* a 32-bit system derived from a 16-bit */
22235typedef unsigned char uint8_t; 22754typedef unsigned char uint8_t;
22236typedef unsigned short uint16_t; 22755typedef unsigned short uint16_t;
22237typedef unsigned int uint32_t; 22756typedef unsigned int uint32_t;
22241typedef short int16_t; 22760typedef short int16_t;
22242typedef int int32_t; 22761typedef int int32_t;
22243#endif 22762#endif
22244EOF 22763EOF
22245;; 22764;;
22246 1:2:4:4:4) echo "$as_me:$LINENO: result: ..adding $t normal 32-bit system" >&5 22765 1:2:4:4:4) { echo "$as_me:$LINENO: result: ..adding $t normal 32-bit system" >&5
22247echo "${ECHO_T}..adding $t normal 32-bit system" >&6 22766echo "${ECHO_T}..adding $t normal 32-bit system" >&6; }
22248 cat >>$ac_stdint_h <<EOF 22767 cat >>$ac_stdint_h <<EOF
22249/* a normal 32-bit system */ 22768/* a normal 32-bit system */
22250typedef unsigned char uint8_t; 22769typedef unsigned char uint8_t;
22251typedef unsigned short uint16_t; 22770typedef unsigned short uint16_t;
22252typedef unsigned int uint32_t; 22771typedef unsigned int uint32_t;
22256typedef short int16_t; 22775typedef short int16_t;
22257typedef int int32_t; 22776typedef int int32_t;
22258#endif 22777#endif
22259EOF 22778EOF
22260;; 22779;;
22261 1:2:4:4:8) echo "$as_me:$LINENO: result: ..adding $t 32-bit system prepared for 64-bit" >&5 22780 1:2:4:4:8) { echo "$as_me:$LINENO: result: ..adding $t 32-bit system prepared for 64-bit" >&5
22262echo "${ECHO_T}..adding $t 32-bit system prepared for 64-bit" >&6 22781echo "${ECHO_T}..adding $t 32-bit system prepared for 64-bit" >&6; }
22263 cat >>$ac_stdint_h <<EOF 22782 cat >>$ac_stdint_h <<EOF
22264 22783
22265/* a 32-bit system prepared for 64-bit */ 22784/* a 32-bit system prepared for 64-bit */
22266typedef unsigned char uint8_t; 22785typedef unsigned char uint8_t;
22267typedef unsigned short uint16_t; 22786typedef unsigned short uint16_t;
22272typedef short int16_t; 22791typedef short int16_t;
22273typedef int int32_t; 22792typedef int int32_t;
22274#endif 22793#endif
22275EOF 22794EOF
22276;; 22795;;
22277 1:2:4:8:8) echo "$as_me:$LINENO: result: ..adding $t normal 64-bit system" >&5 22796 1:2:4:8:8) { echo "$as_me:$LINENO: result: ..adding $t normal 64-bit system" >&5
22278echo "${ECHO_T}..adding $t normal 64-bit system" >&6 22797echo "${ECHO_T}..adding $t normal 64-bit system" >&6; }
22279 cat >>$ac_stdint_h <<EOF 22798 cat >>$ac_stdint_h <<EOF
22280 22799
22281/* a normal 64-bit system */ 22800/* a normal 64-bit system */
22282typedef unsigned char uint8_t; 22801typedef unsigned char uint8_t;
22283typedef unsigned short uint16_t; 22802typedef unsigned short uint16_t;
22288typedef short int16_t; 22807typedef short int16_t;
22289typedef int int32_t; 22808typedef int int32_t;
22290#endif 22809#endif
22291EOF 22810EOF
22292;; 22811;;
22293 1:2:4:8:4) echo "$as_me:$LINENO: result: ..adding $t 64-bit system derived from a 32-bit" >&5 22812 1:2:4:8:4) { echo "$as_me:$LINENO: result: ..adding $t 64-bit system derived from a 32-bit" >&5
22294echo "${ECHO_T}..adding $t 64-bit system derived from a 32-bit" >&6 22813echo "${ECHO_T}..adding $t 64-bit system derived from a 32-bit" >&6; }
22295 cat >>$ac_stdint_h <<EOF 22814 cat >>$ac_stdint_h <<EOF
22296 22815
22297/* a 64-bit system derived from a 32-bit system */ 22816/* a 64-bit system derived from a 32-bit system */
22298typedef unsigned char uint8_t; 22817typedef unsigned char uint8_t;
22299typedef unsigned short uint16_t; 22818typedef unsigned short uint16_t;
22315 esac 22834 esac
22316fi 22835fi
22317 22836
22318# ------------- DONE basic int types START int64_t types ------------ 22837# ------------- DONE basic int types START int64_t types ------------
22319if test "$ac_cv_type_uint64_t" = "yes" 22838if test "$ac_cv_type_uint64_t" = "yes"
22320then echo "$as_me:$LINENO: result: ... seen good uint64_t" >&5 22839then { echo "$as_me:$LINENO: result: ... seen good uint64_t" >&5
22321echo "${ECHO_T}... seen good uint64_t" >&6 22840echo "${ECHO_T}... seen good uint64_t" >&6; }
22322 cat >>$ac_stdint_h <<EOF 22841 cat >>$ac_stdint_h <<EOF
22323 22842
22324/* system headers have good uint64_t */ 22843/* system headers have good uint64_t */
22325#ifndef _HAVE_UINT64_T 22844#ifndef _HAVE_UINT64_T
22326#define _HAVE_UINT64_T 22845#define _HAVE_UINT64_T
22327#endif 22846#endif
22328EOF 22847EOF
22329 22848
22330elif test "$ac_cv_type_u_int64_t" = "yes" 22849elif test "$ac_cv_type_u_int64_t" = "yes"
22331then echo "$as_me:$LINENO: result: ..adding typedef u_int64_t uint64_t" >&5 22850then { echo "$as_me:$LINENO: result: ..adding typedef u_int64_t uint64_t" >&5
22332echo "${ECHO_T}..adding typedef u_int64_t uint64_t" >&6 22851echo "${ECHO_T}..adding typedef u_int64_t uint64_t" >&6; }
22333 cat >>$ac_stdint_h <<EOF 22852 cat >>$ac_stdint_h <<EOF
22334 22853
22335/* system headers have an u_int64_t */ 22854/* system headers have an u_int64_t */
22336#ifndef _HAVE_UINT64_T 22855#ifndef _HAVE_UINT64_T
22337#define _HAVE_UINT64_T 22856#define _HAVE_UINT64_T
22338typedef u_int64_t uint64_t; 22857typedef u_int64_t uint64_t;
22339#endif 22858#endif
22340EOF 22859EOF
22341else echo "$as_me:$LINENO: result: ..adding generic uint64_t runtime checks" >&5 22860else { echo "$as_me:$LINENO: result: ..adding generic uint64_t runtime checks" >&5
22342echo "${ECHO_T}..adding generic uint64_t runtime checks" >&6 22861echo "${ECHO_T}..adding generic uint64_t runtime checks" >&6; }
22343 cat >>$ac_stdint_h <<EOF 22862 cat >>$ac_stdint_h <<EOF
22344 22863
22345/* -------------------- 64 BIT GENERIC SECTION -------------------- */ 22864/* -------------------- 64 BIT GENERIC SECTION -------------------- */
22346/* here are some common heuristics using compiler runtime specifics */ 22865/* here are some common heuristics using compiler runtime specifics */
22347#if defined __STDC_VERSION__ && defined __STDC_VERSION__ > 199901L 22866#if defined __STDC_VERSION__ && defined __STDC_VERSION__ > 199901L
22385#endif 22904#endif
22386EOF 22905EOF
22387 22906
22388# plus a default 64-bit for systems that are likely to be 64-bit ready 22907# plus a default 64-bit for systems that are likely to be 64-bit ready
22389 case "$ac_cv_sizeof_x:$ac_cv_sizeof_voidp:$ac_cv_sizeof_long" in 22908 case "$ac_cv_sizeof_x:$ac_cv_sizeof_voidp:$ac_cv_sizeof_long" in
22390 1:2:8:8) echo "$as_me:$LINENO: result: ..adding uint64_t default" >&5 22909 1:2:8:8) { echo "$as_me:$LINENO: result: ..adding uint64_t default" >&5
22391echo "${ECHO_T}..adding uint64_t default" >&6 22910echo "${ECHO_T}..adding uint64_t default" >&6; }
22392cat >>$ac_stdint_h <<EOF 22911cat >>$ac_stdint_h <<EOF
22393/* DEFAULT: */ 22912/* DEFAULT: */
22394/* seen normal 64-bit system, CC has sizeof(long and void*) == 8 bytes */ 22913/* seen normal 64-bit system, CC has sizeof(long and void*) == 8 bytes */
22395#ifndef _HAVE_UINT64_T 22914#ifndef _HAVE_UINT64_T
22396#define _HAVE_UINT64_T 22915#define _HAVE_UINT64_T
22397typedef long int64_t; 22916typedef long int64_t;
22398typedef unsigned long uint64_t; 22917typedef unsigned long uint64_t;
22399#endif 22918#endif
22400EOF 22919EOF
22401;; 22920;;
22402 1:2:4:8) echo "$as_me:$LINENO: result: ..adding uint64_t default" >&5 22921 1:2:4:8) { echo "$as_me:$LINENO: result: ..adding uint64_t default" >&5
22403echo "${ECHO_T}..adding uint64_t default" >&6 22922echo "${ECHO_T}..adding uint64_t default" >&6; }
22404cat >>$ac_stdint_h <<EOF 22923cat >>$ac_stdint_h <<EOF
22405/* DEFAULT: */ 22924/* DEFAULT: */
22406/* seen 32-bit system prepared for 64-bit, CC has sizeof(long) == 8 bytes */ 22925/* seen 32-bit system prepared for 64-bit, CC has sizeof(long) == 8 bytes */
22407#ifndef _HAVE_UINT64_T 22926#ifndef _HAVE_UINT64_T
22408#define _HAVE_UINT64_T 22927#define _HAVE_UINT64_T
22409typedef long int64_t; 22928typedef long int64_t;
22410typedef unsigned long uint64_t; 22929typedef unsigned long uint64_t;
22411#endif 22930#endif
22412EOF 22931EOF
22413;; 22932;;
22414 1:2:8:4) echo "$as_me:$LINENO: result: ..adding uint64_t default" >&5 22933 1:2:8:4) { echo "$as_me:$LINENO: result: ..adding uint64_t default" >&5
22415echo "${ECHO_T}..adding uint64_t default" >&6 22934echo "${ECHO_T}..adding uint64_t default" >&6; }
22416cat >>$ac_stdint_h <<EOF 22935cat >>$ac_stdint_h <<EOF
22417/* DEFAULT: */ 22936/* DEFAULT: */
22418/* seen 64-bit derived from a 32-bit, CC has sizeof(long) == 4 bytes */ 22937/* seen 64-bit derived from a 32-bit, CC has sizeof(long) == 4 bytes */
22419#ifndef _HAVE_UINT64_T 22938#ifndef _HAVE_UINT64_T
22420#define _HAVE_UINT64_T 22939#define _HAVE_UINT64_T
22470typedef unsigned long uintptr_t; 22989typedef unsigned long uintptr_t;
22471typedef long intptr_t; 22990typedef long intptr_t;
22472EOF 22991EOF
22473;; 22992;;
22474 esac 22993 esac
22475echo "$as_me:$LINENO: result: ..adding typedef $a intptr_t" >&5 22994{ echo "$as_me:$LINENO: result: ..adding typedef $a intptr_t" >&5
22476echo "${ECHO_T}..adding typedef $a intptr_t" >&6 22995echo "${ECHO_T}..adding typedef $a intptr_t" >&6; }
22477fi 22996fi
22478 22997
22479# ------------- DONE intptr types START int_least types ------------ 22998# ------------- DONE intptr types START int_least types ------------
22480if test "$ac_cv_type_int_least32_t" = "no"; then 22999if test "$ac_cv_type_int_least32_t" = "no"; then
22481echo "$as_me:$LINENO: result: ..adding generic int_least-types" >&5 23000{ echo "$as_me:$LINENO: result: ..adding generic int_least-types" >&5
22482echo "${ECHO_T}..adding generic int_least-types" >&6 23001echo "${ECHO_T}..adding generic int_least-types" >&6; }
22483 cat >>$ac_stdint_h <<EOF 23002 cat >>$ac_stdint_h <<EOF
22484 23003
22485/* --------------GENERIC INT_LEAST ------------------ */ 23004/* --------------GENERIC INT_LEAST ------------------ */
22486 23005
22487typedef int8_t int_least8_t; 23006typedef int8_t int_least8_t;
22500EOF 23019EOF
22501fi 23020fi
22502 23021
22503# ------------- DONE intptr types START int_least types ------------ 23022# ------------- DONE intptr types START int_least types ------------
22504if test "$ac_cv_type_int_fast32_t" = "no"; then 23023if test "$ac_cv_type_int_fast32_t" = "no"; then
22505echo "$as_me:$LINENO: result: ..adding generic int_fast-types" >&5 23024{ echo "$as_me:$LINENO: result: ..adding generic int_fast-types" >&5
22506echo "${ECHO_T}..adding generic int_fast-types" >&6 23025echo "${ECHO_T}..adding generic int_fast-types" >&6; }
22507 cat >>$ac_stdint_h <<EOF 23026 cat >>$ac_stdint_h <<EOF
22508 23027
22509/* --------------GENERIC INT_FAST ------------------ */ 23028/* --------------GENERIC INT_FAST ------------------ */
22510 23029
22511typedef int8_t int_fast8_t; 23030typedef int8_t int_fast8_t;
22535typedef unsigned long uintmax_t; 23054typedef unsigned long uintmax_t;
22536#endif 23055#endif
22537EOF 23056EOF
22538fi 23057fi
22539 23058
22540echo "$as_me:$LINENO: result: ... DONE $ac_stdint_h" >&5 23059{ echo "$as_me:$LINENO: result: ... DONE $ac_stdint_h" >&5
22541echo "${ECHO_T}... DONE $ac_stdint_h" >&6 23060echo "${ECHO_T}... DONE $ac_stdint_h" >&6; }
22542 cat >>$ac_stdint_h <<EOF 23061 cat >>$ac_stdint_h <<EOF
22543 23062
22544 /* once */ 23063 /* once */
22545#endif 23064#endif
22546#endif 23065#endif
22576 23095
22577#------------------------------------------------------------------------------- 23096#-------------------------------------------------------------------------------
22578# __FUNCTION__ 23097# __FUNCTION__
22579#------------------------------------------------------------------------------- 23098#-------------------------------------------------------------------------------
22580 23099
22581echo "$as_me:$LINENO: checking __FUNCTION__" >&5 23100{ echo "$as_me:$LINENO: checking __FUNCTION__" >&5
22582echo $ECHO_N "checking __FUNCTION__... $ECHO_C" >&6 23101echo $ECHO_N "checking __FUNCTION__... $ECHO_C" >&6; }
22583func=none 23102func=none
22584cat >conftest.$ac_ext <<_ACEOF 23103cat >conftest.$ac_ext <<_ACEOF
22585int x() { f(__FUNCTION__); } 23104int x() { f(__FUNCTION__); }
22586_ACEOF 23105_ACEOF
22587rm -f conftest.$ac_objext 23106rm -f conftest.$ac_objext
23107if { (ac_try="$ac_compile"
23108case "(($ac_try" in
23109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23110 *) ac_try_echo=$ac_try;;
23111esac
22588if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 23112eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22589 (eval $ac_compile) 2>conftest.er1 23113 (eval "$ac_compile") 2>conftest.er1
22590 ac_status=$? 23114 ac_status=$?
22591 grep -v '^ *+' conftest.er1 >conftest.err 23115 grep -v '^ *+' conftest.er1 >conftest.err
22592 rm -f conftest.er1 23116 rm -f conftest.er1
22593 cat conftest.err >&5 23117 cat conftest.err >&5
22594 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22595 (exit $ac_status); } && 23119 (exit $ac_status); } && {
22596 { ac_try='test -z "$ac_c_werror_flag" 23120 test -z "$ac_c_werror_flag" ||
22597 || test ! -s conftest.err' 23121 test ! -s conftest.err
22598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23122 } && test -s conftest.$ac_objext; then
22599 (eval $ac_try) 2>&5
22600 ac_status=$?
22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); }; } &&
22603 { ac_try='test -s conftest.$ac_objext'
22604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22605 (eval $ac_try) 2>&5
22606 ac_status=$?
22607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22608 (exit $ac_status); }; }; then
22609 echo "$as_me:$LINENO: result: __FUNCTION__" >&5 23123 { echo "$as_me:$LINENO: result: __FUNCTION__" >&5
22610echo "${ECHO_T}__FUNCTION__" >&6 23124echo "${ECHO_T}__FUNCTION__" >&6; }
22611 23125
22612cat >>confdefs.h <<\_ACEOF 23126cat >>confdefs.h <<\_ACEOF
22613#define HAVE___FUNCTION__ 23127#define HAVE___FUNCTION__
22614_ACEOF 23128_ACEOF
22615 23129
22616else 23130else
22617 echo "$as_me: failed program was:" >&5 23131 echo "$as_me: failed program was:" >&5
22618sed 's/^/| /' conftest.$ac_ext >&5 23132sed 's/^/| /' conftest.$ac_ext >&5
22619 23133
22620cat >conftest.$ac_ext <<_ACEOF 23134 cat >conftest.$ac_ext <<_ACEOF
22621int x() { f(__func__); } 23135int x() { f(__func__); }
22622_ACEOF 23136_ACEOF
22623rm -f conftest.$ac_objext 23137rm -f conftest.$ac_objext
23138if { (ac_try="$ac_compile"
23139case "(($ac_try" in
23140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23141 *) ac_try_echo=$ac_try;;
23142esac
22624if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 23143eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22625 (eval $ac_compile) 2>conftest.er1 23144 (eval "$ac_compile") 2>conftest.er1
22626 ac_status=$? 23145 ac_status=$?
22627 grep -v '^ *+' conftest.er1 >conftest.err 23146 grep -v '^ *+' conftest.er1 >conftest.err
22628 rm -f conftest.er1 23147 rm -f conftest.er1
22629 cat conftest.err >&5 23148 cat conftest.err >&5
22630 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22631 (exit $ac_status); } && 23150 (exit $ac_status); } && {
22632 { ac_try='test -z "$ac_c_werror_flag" 23151 test -z "$ac_c_werror_flag" ||
22633 || test ! -s conftest.err' 23152 test ! -s conftest.err
22634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23153 } && test -s conftest.$ac_objext; then
22635 (eval $ac_try) 2>&5
22636 ac_status=$?
22637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22638 (exit $ac_status); }; } &&
22639 { ac_try='test -s conftest.$ac_objext'
22640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22641 (eval $ac_try) 2>&5
22642 ac_status=$?
22643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22644 (exit $ac_status); }; }; then
22645 echo "$as_me:$LINENO: result: __func__" >&5 23154 { echo "$as_me:$LINENO: result: __func__" >&5
22646echo "${ECHO_T}__func__" >&6 23155echo "${ECHO_T}__func__" >&6; }
22647 23156
22648cat >>confdefs.h <<\_ACEOF 23157cat >>confdefs.h <<\_ACEOF
22649#define HAVE___FUNC__ 23158#define HAVE___FUNC__
22650_ACEOF 23159_ACEOF
22651 23160
22652else 23161else
22653 echo "$as_me: failed program was:" >&5 23162 echo "$as_me: failed program was:" >&5
22654sed 's/^/| /' conftest.$ac_ext >&5 23163sed 's/^/| /' conftest.$ac_ext >&5
22655 23164
23165
22656fi 23166fi
23167
22657rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 23168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22658fi 23169fi
23170
22659rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 23171rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22660 23172
22661 23173
22662#------------------------------------------------------------------------------- 23174#-------------------------------------------------------------------------------
22663# Setup build directories 23175# Setup build directories
22664#------------------------------------------------------------------------------- 23176#-------------------------------------------------------------------------------
22686 23198
22687#------------------------------------------------------------------------------- 23199#-------------------------------------------------------------------------------
22688# Check to see if we want to link libbind 23200# Check to see if we want to link libbind
22689#------------------------------------------------------------------------------- 23201#-------------------------------------------------------------------------------
22690 23202
22691echo "$as_me:$LINENO: checking whether to link libbind is eanbled" >&5 23203{ echo "$as_me:$LINENO: checking whether to link libbind is eanbled" >&5
22692echo $ECHO_N "checking whether to link libbind is eanbled... $ECHO_C" >&6 23204echo $ECHO_N "checking whether to link libbind is eanbled... $ECHO_C" >&6; }
22693# Check whether --enable-libbind or --disable-libbind was given. 23205# Check whether --enable-libbind was given.
22694if test "${enable_libbind+set}" = set; then 23206if test "${enable_libbind+set}" = set; then
22695 enableval="$enable_libbind" 23207 enableval=$enable_libbind; case "${enableval}" in
22696 case "${enableval}" in
22697 yes) 23208 yes)
22698 libbind=true 23209 libbind=true
22699 echo "$as_me:$LINENO: result: yes" >&5 23210 { echo "$as_me:$LINENO: result: yes" >&5
22700echo "${ECHO_T}yes" >&6 23211echo "${ECHO_T}yes" >&6; }
22701 ;; 23212 ;;
22702 no) 23213 no)
22703 libbind=false 23214 libbind=false
22704 echo "$as_me:$LINENO: result: no" >&5 23215 { echo "$as_me:$LINENO: result: no" >&5
22705echo "${ECHO_T}no" >&6 23216echo "${ECHO_T}no" >&6; }
22706 ;; 23217 ;;
22707 *) 23218 *)
22708 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-libbind" >&5 23219 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-libbind" >&5
22709echo "$as_me: error: bad value ${enableval} for --enable-libbind" >&2;} 23220echo "$as_me: error: bad value ${enableval} for --enable-libbind" >&2;}
22710 { (exit 1); exit 1; }; } 23221 { (exit 1); exit 1; }; }
22711 ;; 23222 ;;
22712esac 23223esac
22713else 23224else
23225 libbind=false
22714 libbind=false echo "$as_me:$LINENO: result: no" >&5 23226{ echo "$as_me:$LINENO: result: no" >&5
22715echo "${ECHO_T}no" >&6 23227echo "${ECHO_T}no" >&6; }
22716fi; 23228fi
23229
22717 23230
22718if test "$libbind" = "true"; then 23231if test "$libbind" = "true"; then
22719 LIBSPF_RESOLV_LIB="-lbind" 23232 LIBSPF_RESOLV_LIB="-lbind"
22720fi 23233fi
22721 23234
22729 23242
22730 23243
22731for ac_func in res_query 23244for ac_func in res_query
22732do 23245do
22733as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 23246as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22734echo "$as_me:$LINENO: checking for $ac_func" >&5 23247{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22735echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 23248echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22736if eval "test \"\${$as_ac_var+set}\" = set"; then 23249if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22737 echo $ECHO_N "(cached) $ECHO_C" >&6 23250 echo $ECHO_N "(cached) $ECHO_C" >&6
22738else 23251else
22739 cat >conftest.$ac_ext <<_ACEOF 23252 cat >conftest.$ac_ext <<_ACEOF
22740/* confdefs.h. */ 23253/* confdefs.h. */
22741_ACEOF 23254_ACEOF
22757# include <assert.h> 23270# include <assert.h>
22758#endif 23271#endif
22759 23272
22760#undef $ac_func 23273#undef $ac_func
22761 23274
22762/* Override any gcc2 internal prototype to avoid an error. */ 23275/* Override any GCC internal prototype to avoid an error.
23276 Use char because int might match the return type of a GCC
23277 builtin and then its argument prototype would still apply. */
22763#ifdef __cplusplus 23278#ifdef __cplusplus
22764extern "C" 23279extern "C"
22765{
22766#endif 23280#endif
22767/* We use char because int might match the return type of a gcc2
22768 builtin and then its argument prototype would still apply. */
22769char $ac_func (); 23281char $ac_func ();
22770/* The GNU C library defines this for functions which it implements 23282/* The GNU C library defines this for functions which it implements
22771 to always fail with ENOSYS. Some functions are actually named 23283 to always fail with ENOSYS. Some functions are actually named
22772 something starting with __ and the normal name is an alias. */ 23284 something starting with __ and the normal name is an alias. */
22773#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 23285#if defined __stub_$ac_func || defined __stub___$ac_func
22774choke me 23286choke me
22775#else
22776char (*f) () = $ac_func;
22777#endif
22778#ifdef __cplusplus
22779}
22780#endif 23287#endif
22781 23288
22782int 23289int
22783main () 23290main ()
22784{ 23291{
22785return f != $ac_func; 23292return $ac_func ();
22786 ; 23293 ;
22787 return 0; 23294 return 0;
22788} 23295}
22789_ACEOF 23296_ACEOF
22790rm -f conftest.$ac_objext conftest$ac_exeext 23297rm -f conftest.$ac_objext conftest$ac_exeext
23298if { (ac_try="$ac_link"
23299case "(($ac_try" in
23300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23301 *) ac_try_echo=$ac_try;;
23302esac
22791if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 23303eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22792 (eval $ac_link) 2>conftest.er1 23304 (eval "$ac_link") 2>conftest.er1
22793 ac_status=$? 23305 ac_status=$?
22794 grep -v '^ *+' conftest.er1 >conftest.err 23306 grep -v '^ *+' conftest.er1 >conftest.err
22795 rm -f conftest.er1 23307 rm -f conftest.er1
22796 cat conftest.err >&5 23308 cat conftest.err >&5
22797 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22798 (exit $ac_status); } && 23310 (exit $ac_status); } && {
22799 { ac_try='test -z "$ac_c_werror_flag" 23311 test -z "$ac_c_werror_flag" ||
22800 || test ! -s conftest.err' 23312 test ! -s conftest.err
22801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23313 } && test -s conftest$ac_exeext &&
22802 (eval $ac_try) 2>&5 23314 $as_test_x conftest$ac_exeext; then
22803 ac_status=$?
22804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22805 (exit $ac_status); }; } &&
22806 { ac_try='test -s conftest$ac_exeext'
22807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22808 (eval $ac_try) 2>&5
22809 ac_status=$?
22810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22811 (exit $ac_status); }; }; then
22812 eval "$as_ac_var=yes" 23315 eval "$as_ac_var=yes"
22813else 23316else
22814 echo "$as_me: failed program was:" >&5 23317 echo "$as_me: failed program was:" >&5
22815sed 's/^/| /' conftest.$ac_ext >&5 23318sed 's/^/| /' conftest.$ac_ext >&5
22816 23319
22817eval "$as_ac_var=no" 23320 eval "$as_ac_var=no"
22818fi 23321fi
22819rm -f conftest.err conftest.$ac_objext \ 23322
23323rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22820 conftest$ac_exeext conftest.$ac_ext 23324 conftest$ac_exeext conftest.$ac_ext
22821fi 23325fi
22822echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 23326ac_res=`eval echo '${'$as_ac_var'}'`
22823echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 23327 { echo "$as_me:$LINENO: result: $ac_res" >&5
23328echo "${ECHO_T}$ac_res" >&6; }
22824if test `eval echo '${'$as_ac_var'}'` = yes; then 23329if test `eval echo '${'$as_ac_var'}'` = yes; then
22825 cat >>confdefs.h <<_ACEOF 23330 cat >>confdefs.h <<_ACEOF
22826#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 23331#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22827_ACEOF 23332_ACEOF
22828 res_search 23333 res_search
22838 have_res_search=yes 23343 have_res_search=yes
22839 fi 23344 fi
22840 23345
22841 if test "x-$have_res_query" = "x-no" || test "x-$have_res_search" = "no" ; then 23346 if test "x-$have_res_query" = "x-no" || test "x-$have_res_search" = "no" ; then
22842 23347
22843echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5 23348{ echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
22844echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6 23349echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
22845if test "${ac_cv_lib_resolv_res_query+set}" = set; then 23350if test "${ac_cv_lib_resolv_res_query+set}" = set; then
22846 echo $ECHO_N "(cached) $ECHO_C" >&6 23351 echo $ECHO_N "(cached) $ECHO_C" >&6
22847else 23352else
22848 ac_check_lib_save_LIBS=$LIBS 23353 ac_check_lib_save_LIBS=$LIBS
22849LIBS="-lresolv $LIBS" 23354LIBS="-lresolv $LIBS"
22852_ACEOF 23357_ACEOF
22853cat confdefs.h >>conftest.$ac_ext 23358cat confdefs.h >>conftest.$ac_ext
22854cat >>conftest.$ac_ext <<_ACEOF 23359cat >>conftest.$ac_ext <<_ACEOF
22855/* end confdefs.h. */ 23360/* end confdefs.h. */
22856 23361
22857/* Override any gcc2 internal prototype to avoid an error. */ 23362/* Override any GCC internal prototype to avoid an error.
23363 Use char because int might match the return type of a GCC
23364 builtin and then its argument prototype would still apply. */
22858#ifdef __cplusplus 23365#ifdef __cplusplus
22859extern "C" 23366extern "C"
22860#endif 23367#endif
22861/* We use char because int might match the return type of a gcc2
22862 builtin and then its argument prototype would still apply. */
22863char res_query (); 23368char res_query ();
22864int 23369int
22865main () 23370main ()
22866{ 23371{
22867res_query (); 23372return res_query ();
22868 ; 23373 ;
22869 return 0; 23374 return 0;
22870} 23375}
22871_ACEOF 23376_ACEOF
22872rm -f conftest.$ac_objext conftest$ac_exeext 23377rm -f conftest.$ac_objext conftest$ac_exeext
23378if { (ac_try="$ac_link"
23379case "(($ac_try" in
23380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23381 *) ac_try_echo=$ac_try;;
23382esac
22873if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 23383eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22874 (eval $ac_link) 2>conftest.er1 23384 (eval "$ac_link") 2>conftest.er1
22875 ac_status=$? 23385 ac_status=$?
22876 grep -v '^ *+' conftest.er1 >conftest.err 23386 grep -v '^ *+' conftest.er1 >conftest.err
22877 rm -f conftest.er1 23387 rm -f conftest.er1
22878 cat conftest.err >&5 23388 cat conftest.err >&5
22879 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22880 (exit $ac_status); } && 23390 (exit $ac_status); } && {
22881 { ac_try='test -z "$ac_c_werror_flag" 23391 test -z "$ac_c_werror_flag" ||
22882 || test ! -s conftest.err' 23392 test ! -s conftest.err
22883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23393 } && test -s conftest$ac_exeext &&
22884 (eval $ac_try) 2>&5 23394 $as_test_x conftest$ac_exeext; then
22885 ac_status=$?
22886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22887 (exit $ac_status); }; } &&
22888 { ac_try='test -s conftest$ac_exeext'
22889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22890 (eval $ac_try) 2>&5
22891 ac_status=$?
22892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22893 (exit $ac_status); }; }; then
22894 ac_cv_lib_resolv_res_query=yes 23395 ac_cv_lib_resolv_res_query=yes
22895else 23396else
22896 echo "$as_me: failed program was:" >&5 23397 echo "$as_me: failed program was:" >&5
22897sed 's/^/| /' conftest.$ac_ext >&5 23398sed 's/^/| /' conftest.$ac_ext >&5
22898 23399
22899ac_cv_lib_resolv_res_query=no 23400 ac_cv_lib_resolv_res_query=no
22900fi 23401fi
22901rm -f conftest.err conftest.$ac_objext \ 23402
23403rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22902 conftest$ac_exeext conftest.$ac_ext 23404 conftest$ac_exeext conftest.$ac_ext
22903LIBS=$ac_check_lib_save_LIBS 23405LIBS=$ac_check_lib_save_LIBS
22904fi 23406fi
22905echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5 23407{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
22906echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6 23408echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
22907if test $ac_cv_lib_resolv_res_query = yes; then 23409if test $ac_cv_lib_resolv_res_query = yes; then
22908 cat >>confdefs.h <<_ACEOF 23410 cat >>confdefs.h <<_ACEOF
22909#define HAVE_LIBRESOLV 1 23411#define HAVE_LIBRESOLV 1
22910_ACEOF 23412_ACEOF
22911 23413
22915 23417
22916 if test "x-$ac_cv_lib_resolv_res_query" = "x-yes" ; then 23418 if test "x-$ac_cv_lib_resolv_res_query" = "x-yes" ; then
22917 have_res_query=yes 23419 have_res_query=yes
22918 else 23420 else
22919 23421
22920echo "$as_me:$LINENO: checking for res_query in -lbind" >&5 23422{ echo "$as_me:$LINENO: checking for res_query in -lbind" >&5
22921echo $ECHO_N "checking for res_query in -lbind... $ECHO_C" >&6 23423echo $ECHO_N "checking for res_query in -lbind... $ECHO_C" >&6; }
22922if test "${ac_cv_lib_bind_res_query+set}" = set; then 23424if test "${ac_cv_lib_bind_res_query+set}" = set; then
22923 echo $ECHO_N "(cached) $ECHO_C" >&6 23425 echo $ECHO_N "(cached) $ECHO_C" >&6
22924else 23426else
22925 ac_check_lib_save_LIBS=$LIBS 23427 ac_check_lib_save_LIBS=$LIBS
22926LIBS="-lbind $LIBS" 23428LIBS="-lbind $LIBS"
22929_ACEOF 23431_ACEOF
22930cat confdefs.h >>conftest.$ac_ext 23432cat confdefs.h >>conftest.$ac_ext
22931cat >>conftest.$ac_ext <<_ACEOF 23433cat >>conftest.$ac_ext <<_ACEOF
22932/* end confdefs.h. */ 23434/* end confdefs.h. */
22933 23435
22934/* Override any gcc2 internal prototype to avoid an error. */ 23436/* Override any GCC internal prototype to avoid an error.
23437 Use char because int might match the return type of a GCC
23438 builtin and then its argument prototype would still apply. */
22935#ifdef __cplusplus 23439#ifdef __cplusplus
22936extern "C" 23440extern "C"
22937#endif 23441#endif
22938/* We use char because int might match the return type of a gcc2
22939 builtin and then its argument prototype would still apply. */
22940char res_query (); 23442char res_query ();
22941int 23443int
22942main () 23444main ()
22943{ 23445{
22944res_query (); 23446return res_query ();
22945 ; 23447 ;
22946 return 0; 23448 return 0;
22947} 23449}
22948_ACEOF 23450_ACEOF
22949rm -f conftest.$ac_objext conftest$ac_exeext 23451rm -f conftest.$ac_objext conftest$ac_exeext
23452if { (ac_try="$ac_link"
23453case "(($ac_try" in
23454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23455 *) ac_try_echo=$ac_try;;
23456esac
22950if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 23457eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22951 (eval $ac_link) 2>conftest.er1 23458 (eval "$ac_link") 2>conftest.er1
22952 ac_status=$? 23459 ac_status=$?
22953 grep -v '^ *+' conftest.er1 >conftest.err 23460 grep -v '^ *+' conftest.er1 >conftest.err
22954 rm -f conftest.er1 23461 rm -f conftest.er1
22955 cat conftest.err >&5 23462 cat conftest.err >&5
22956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22957 (exit $ac_status); } && 23464 (exit $ac_status); } && {
22958 { ac_try='test -z "$ac_c_werror_flag" 23465 test -z "$ac_c_werror_flag" ||
22959 || test ! -s conftest.err' 23466 test ! -s conftest.err
22960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23467 } && test -s conftest$ac_exeext &&
22961 (eval $ac_try) 2>&5 23468 $as_test_x conftest$ac_exeext; then
22962 ac_status=$?
22963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22964 (exit $ac_status); }; } &&
22965 { ac_try='test -s conftest$ac_exeext'
22966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22967 (eval $ac_try) 2>&5
22968 ac_status=$?
22969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970 (exit $ac_status); }; }; then
22971 ac_cv_lib_bind_res_query=yes 23469 ac_cv_lib_bind_res_query=yes
22972else 23470else
22973 echo "$as_me: failed program was:" >&5 23471 echo "$as_me: failed program was:" >&5
22974sed 's/^/| /' conftest.$ac_ext >&5 23472sed 's/^/| /' conftest.$ac_ext >&5
22975 23473
22976ac_cv_lib_bind_res_query=no 23474 ac_cv_lib_bind_res_query=no
22977fi 23475fi
22978rm -f conftest.err conftest.$ac_objext \ 23476
23477rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22979 conftest$ac_exeext conftest.$ac_ext 23478 conftest$ac_exeext conftest.$ac_ext
22980LIBS=$ac_check_lib_save_LIBS 23479LIBS=$ac_check_lib_save_LIBS
22981fi 23480fi
22982echo "$as_me:$LINENO: result: $ac_cv_lib_bind_res_query" >&5 23481{ echo "$as_me:$LINENO: result: $ac_cv_lib_bind_res_query" >&5
22983echo "${ECHO_T}$ac_cv_lib_bind_res_query" >&6 23482echo "${ECHO_T}$ac_cv_lib_bind_res_query" >&6; }
22984if test $ac_cv_lib_bind_res_query = yes; then 23483if test $ac_cv_lib_bind_res_query = yes; then
22985 cat >>confdefs.h <<_ACEOF 23484 cat >>confdefs.h <<_ACEOF
22986#define HAVE_LIBBIND 1 23485#define HAVE_LIBBIND 1
22987_ACEOF 23486_ACEOF
22988 23487
22991fi 23490fi
22992 23491
22993 if test "x-$ac_cv_lib_bind_res_query" = "x-yes" ; then 23492 if test "x-$ac_cv_lib_bind_res_query" = "x-yes" ; then
22994 have_res_query=yes 23493 have_res_query=yes
22995 else 23494 else
22996 echo "$as_me:$LINENO: checking for res_query in -lresolv (alternate version)" >&5 23495 { echo "$as_me:$LINENO: checking for res_query in -lresolv (alternate version)" >&5
22997echo $ECHO_N "checking for res_query in -lresolv (alternate version)... $ECHO_C" >&6 23496echo $ECHO_N "checking for res_query in -lresolv (alternate version)... $ECHO_C" >&6; }
22998 save_libs="$LIBS" 23497 save_libs="$LIBS"
22999 libresolv=true 23498 libresolv=true
23000 LIBS="-lresolv $LIBS" 23499 LIBS="-lresolv $LIBS"
23001 LIBSPF_RESOLV_LIB="-lresolv" 23500 LIBSPF_RESOLV_LIB="-lresolv"
23002 cat >conftest.$ac_ext <<_ACEOF 23501 cat >conftest.$ac_ext <<_ACEOF
23013 ; 23512 ;
23014 return 0; 23513 return 0;
23015} 23514}
23016_ACEOF 23515_ACEOF
23017rm -f conftest.$ac_objext conftest$ac_exeext 23516rm -f conftest.$ac_objext conftest$ac_exeext
23517if { (ac_try="$ac_link"
23518case "(($ac_try" in
23519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23520 *) ac_try_echo=$ac_try;;
23521esac
23018if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 23522eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23019 (eval $ac_link) 2>conftest.er1 23523 (eval "$ac_link") 2>conftest.er1
23020 ac_status=$? 23524 ac_status=$?
23021 grep -v '^ *+' conftest.er1 >conftest.err 23525 grep -v '^ *+' conftest.er1 >conftest.err
23022 rm -f conftest.er1 23526 rm -f conftest.er1
23023 cat conftest.err >&5 23527 cat conftest.err >&5
23024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23025 (exit $ac_status); } && 23529 (exit $ac_status); } && {
23026 { ac_try='test -z "$ac_c_werror_flag" 23530 test -z "$ac_c_werror_flag" ||
23027 || test ! -s conftest.err' 23531 test ! -s conftest.err
23028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23532 } && test -s conftest$ac_exeext &&
23029 (eval $ac_try) 2>&5 23533 $as_test_x conftest$ac_exeext; then
23030 ac_status=$?
23031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23032 (exit $ac_status); }; } &&
23033 { ac_try='test -s conftest$ac_exeext'
23034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23035 (eval $ac_try) 2>&5
23036 ac_status=$?
23037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23038 (exit $ac_status); }; }; then
23039 echo "$as_me:$LINENO: result: yes" >&5 23534 { echo "$as_me:$LINENO: result: yes" >&5
23040echo "${ECHO_T}yes" >&6 23535echo "${ECHO_T}yes" >&6; }
23041 have_res_query=yes 23536 have_res_query=yes
23042else 23537else
23043 echo "$as_me: failed program was:" >&5 23538 echo "$as_me: failed program was:" >&5
23044sed 's/^/| /' conftest.$ac_ext >&5 23539sed 's/^/| /' conftest.$ac_ext >&5
23045 23540
23046echo "$as_me:$LINENO: result: no" >&5 23541 { echo "$as_me:$LINENO: result: no" >&5
23047echo "${ECHO_T}no" >&6 23542echo "${ECHO_T}no" >&6; }
23048 libresolv=false 23543 libresolv=false
23049 LIBS="$save_libs" 23544 LIBS="$save_libs"
23050fi 23545fi
23051rm -f conftest.err conftest.$ac_objext \ 23546
23547rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23052 conftest$ac_exeext conftest.$ac_ext 23548 conftest$ac_exeext conftest.$ac_ext
23053 fi 23549 fi
23054 fi 23550 fi
23055 fi 23551 fi
23056 23552
23068 23564
23069fi 23565fi
23070 23566
23071# Checks for libraries. 23567# Checks for libraries.
23072 23568
23073echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5 23569{ echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5
23074echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6 23570echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6; }
23075if test "${ac_cv_lib_resolv_res_search+set}" = set; then 23571if test "${ac_cv_lib_resolv_res_search+set}" = set; then
23076 echo $ECHO_N "(cached) $ECHO_C" >&6 23572 echo $ECHO_N "(cached) $ECHO_C" >&6
23077else 23573else
23078 ac_check_lib_save_LIBS=$LIBS 23574 ac_check_lib_save_LIBS=$LIBS
23079LIBS="-lresolv $LIBS" 23575LIBS="-lresolv $LIBS"
23082_ACEOF 23578_ACEOF
23083cat confdefs.h >>conftest.$ac_ext 23579cat confdefs.h >>conftest.$ac_ext
23084cat >>conftest.$ac_ext <<_ACEOF 23580cat >>conftest.$ac_ext <<_ACEOF
23085/* end confdefs.h. */ 23581/* end confdefs.h. */
23086 23582
23087/* Override any gcc2 internal prototype to avoid an error. */ 23583/* Override any GCC internal prototype to avoid an error.
23584 Use char because int might match the return type of a GCC
23585 builtin and then its argument prototype would still apply. */
23088#ifdef __cplusplus 23586#ifdef __cplusplus
23089extern "C" 23587extern "C"
23090#endif 23588#endif
23091/* We use char because int might match the return type of a gcc2
23092 builtin and then its argument prototype would still apply. */
23093char res_search (); 23589char res_search ();
23094int 23590int
23095main () 23591main ()
23096{ 23592{
23097res_search (); 23593return res_search ();
23098 ; 23594 ;
23099 return 0; 23595 return 0;
23100} 23596}
23101_ACEOF 23597_ACEOF
23102rm -f conftest.$ac_objext conftest$ac_exeext 23598rm -f conftest.$ac_objext conftest$ac_exeext
23599if { (ac_try="$ac_link"
23600case "(($ac_try" in
23601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23602 *) ac_try_echo=$ac_try;;
23603esac
23103if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 23604eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23104 (eval $ac_link) 2>conftest.er1 23605 (eval "$ac_link") 2>conftest.er1
23105 ac_status=$? 23606 ac_status=$?
23106 grep -v '^ *+' conftest.er1 >conftest.err 23607 grep -v '^ *+' conftest.er1 >conftest.err
23107 rm -f conftest.er1 23608 rm -f conftest.er1
23108 cat conftest.err >&5 23609 cat conftest.err >&5
23109 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23110 (exit $ac_status); } && 23611 (exit $ac_status); } && {
23111 { ac_try='test -z "$ac_c_werror_flag" 23612 test -z "$ac_c_werror_flag" ||
23112 || test ! -s conftest.err' 23613 test ! -s conftest.err
23113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23614 } && test -s conftest$ac_exeext &&
23114 (eval $ac_try) 2>&5 23615 $as_test_x conftest$ac_exeext; then
23115 ac_status=$?
23116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23117 (exit $ac_status); }; } &&
23118 { ac_try='test -s conftest$ac_exeext'
23119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23120 (eval $ac_try) 2>&5
23121 ac_status=$?
23122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23123 (exit $ac_status); }; }; then
23124 ac_cv_lib_resolv_res_search=yes 23616 ac_cv_lib_resolv_res_search=yes
23125else 23617else
23126 echo "$as_me: failed program was:" >&5 23618 echo "$as_me: failed program was:" >&5
23127sed 's/^/| /' conftest.$ac_ext >&5 23619sed 's/^/| /' conftest.$ac_ext >&5
23128 23620
23129ac_cv_lib_resolv_res_search=no 23621 ac_cv_lib_resolv_res_search=no
23130fi 23622fi
23131rm -f conftest.err conftest.$ac_objext \ 23623
23624rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23132 conftest$ac_exeext conftest.$ac_ext 23625 conftest$ac_exeext conftest.$ac_ext
23133LIBS=$ac_check_lib_save_LIBS 23626LIBS=$ac_check_lib_save_LIBS
23134fi 23627fi
23135echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5 23628{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5
23136echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6 23629echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6; }
23137if test $ac_cv_lib_resolv_res_search = yes; then 23630if test $ac_cv_lib_resolv_res_search = yes; then
23138 cat >>confdefs.h <<_ACEOF 23631 cat >>confdefs.h <<_ACEOF
23139#define HAVE_LIBRESOLV 1 23632#define HAVE_LIBRESOLV 1
23140_ACEOF 23633_ACEOF
23141 23634
23148 23641
23149#------------------------------------------------------------------------------- 23642#-------------------------------------------------------------------------------
23150# Check to see if we want to enable debugging 23643# Check to see if we want to enable debugging
23151#------------------------------------------------------------------------------- 23644#-------------------------------------------------------------------------------
23152 23645
23153echo "$as_me:$LINENO: checking whether DEBUG is eanbled" >&5 23646{ echo "$as_me:$LINENO: checking whether DEBUG is eanbled" >&5
23154echo $ECHO_N "checking whether DEBUG is eanbled... $ECHO_C" >&6 23647echo $ECHO_N "checking whether DEBUG is eanbled... $ECHO_C" >&6; }
23155# Check whether --enable-debug or --disable-debug was given. 23648# Check whether --enable-debug was given.
23156if test "${enable_debug+set}" = set; then 23649if test "${enable_debug+set}" = set; then
23157 enableval="$enable_debug" 23650 enableval=$enable_debug; case "${enableval}" in
23158 case "${enableval}" in
23159 yes) 23651 yes)
23160 debug=true 23652 debug=true
23161 echo "$as_me:$LINENO: result: yes" >&5 23653 { echo "$as_me:$LINENO: result: yes" >&5
23162echo "${ECHO_T}yes" >&6 23654echo "${ECHO_T}yes" >&6; }
23163 ;; 23655 ;;
23164 no) 23656 no)
23165 debug=false 23657 debug=false
23166 echo "$as_me:$LINENO: result: no" >&5 23658 { echo "$as_me:$LINENO: result: no" >&5
23167echo "${ECHO_T}no" >&6 23659echo "${ECHO_T}no" >&6; }
23168 ;; 23660 ;;
23169 *) 23661 *)
23170 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5 23662 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
23171echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;} 23663echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
23172 { (exit 1); exit 1; }; } 23664 { (exit 1); exit 1; }; }
23173 ;; 23665 ;;
23174esac 23666esac
23175else 23667else
23668 debug=false
23176 debug=false echo "$as_me:$LINENO: result: no" >&5 23669{ echo "$as_me:$LINENO: result: no" >&5
23177echo "${ECHO_T}no" >&6 23670echo "${ECHO_T}no" >&6; }
23178fi; 23671fi
23672
23179 23673
23180CFLAGS="" 23674CFLAGS=""
23181if test "$debug" = "true"; then 23675if test "$debug" = "true"; then
23182 CFLAGS="-ggdb -O -D_SPF_DEBUG" 23676 CFLAGS="-ggdb -O -D_SPF_DEBUG"
23183else 23677else
23184 echo "$as_me:$LINENO: result: Enabling GCC optimisations" >&5 23678 { echo "$as_me:$LINENO: result: Enabling GCC optimisations" >&5
23185echo "${ECHO_T}Enabling GCC optimisations" >&6 23679echo "${ECHO_T}Enabling GCC optimisations" >&6; }
23186 CFLAGS="$CFLAGS -O3 -ffast-math -fomit-frame-pointer" 23680 CFLAGS="$CFLAGS -O3 -ffast-math -fomit-frame-pointer"
23187 23681
23188 if [ "x$GCC_VERSION" = "x3" ]; then 23682 if [ "x$GCC_VERSION" = "x3" ]; then
23189 echo "$as_me:$LINENO: result: Enabling GCC v3 optimizations" >&5 23683 { echo "$as_me:$LINENO: result: Enabling GCC v3 optimizations" >&5
23190echo "${ECHO_T}Enabling GCC v3 optimizations" >&6 23684echo "${ECHO_T}Enabling GCC v3 optimizations" >&6; }
23191 CFLAGS="$CFLAGS -minline-all-stringops -fno-math-errno" 23685 CFLAGS="$CFLAGS -minline-all-stringops -fno-math-errno"
23192 fi 23686 fi
23193fi 23687fi
23194 23688
23195case "${host_cpu}" in 23689case "${host_cpu}" in
23196 i?86) 23690 i?86)
23197 echo "$as_me:$LINENO: result: CPU: ${host_cpu}; Enabling pentium optimisations" >&5 23691 { echo "$as_me:$LINENO: result: CPU: ${host_cpu}; Enabling pentium optimisations" >&5
23198echo "${ECHO_T}CPU: ${host_cpu}; Enabling pentium optimisations" >&6 23692echo "${ECHO_T}CPU: ${host_cpu}; Enabling pentium optimisations" >&6; }
23199 # cannot do malign-double as we link to other libraries and it 23693 # cannot do malign-double as we link to other libraries and it
23200 # would break binary compatibility 23694 # would break binary compatibility
23201 CFLAGS="$CFLAGS ${gcc_special_cflags}" 23695 CFLAGS="$CFLAGS ${gcc_special_cflags}"
23202 ;; 23696 ;;
23203 *) 23697 *)
23204 echo "$as_me:$LINENO: result: Please e-mail author optimizations for this cpu" >&5 23698 { echo "$as_me:$LINENO: result: Please e-mail author optimizations for this cpu" >&5
23205echo "${ECHO_T}Please e-mail author optimizations for this cpu" >&6 23699echo "${ECHO_T}Please e-mail author optimizations for this cpu" >&6; }
23206 ;; 23700 ;;
23207esac 23701esac
23208 23702
23209 23703
23210#------------------------------------------------------------------------------- 23704#-------------------------------------------------------------------------------
23211# Check to see if we want to enable debugging output to logfile 23705# Check to see if we want to enable debugging output to logfile
23212#------------------------------------------------------------------------------- 23706#-------------------------------------------------------------------------------
23213 23707
23214if test "$debug" = "true"; then 23708if test "$debug" = "true"; then
23215 echo "$as_me:$LINENO: checking whether you want debug output to a logfile" >&5 23709 { echo "$as_me:$LINENO: checking whether you want debug output to a logfile" >&5
23216echo $ECHO_N "checking whether you want debug output to a logfile... $ECHO_C" >&6 23710echo $ECHO_N "checking whether you want debug output to a logfile... $ECHO_C" >&6; }
23217 # Check whether --enable-debug_logfile or --disable-debug_logfile was given. 23711 # Check whether --enable-debug_logfile was given.
23218if test "${enable_debug_logfile+set}" = set; then 23712if test "${enable_debug_logfile+set}" = set; then
23219 enableval="$enable_debug_logfile" 23713 enableval=$enable_debug_logfile; case "${enableval}" in
23220 case "${enableval}" in
23221 yes) 23714 yes)
23222 debug_logfile=true 23715 debug_logfile=true
23223 echo "$as_me:$LINENO: result: yes" >&5 23716 { echo "$as_me:$LINENO: result: yes" >&5
23224echo "${ECHO_T}yes" >&6 23717echo "${ECHO_T}yes" >&6; }
23225 ;; 23718 ;;
23226 no) 23719 no)
23227 debug_logfile=false 23720 debug_logfile=false
23228 echo "$as_me:$LINENO: result: no" >&5 23721 { echo "$as_me:$LINENO: result: no" >&5
23229echo "${ECHO_T}no" >&6 23722echo "${ECHO_T}no" >&6; }
23230 ;; 23723 ;;
23231 *) 23724 *)
23232 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug-logfile" >&5 23725 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug-logfile" >&5
23233echo "$as_me: error: bad value ${enableval} for --enable-debug-logfile" >&2;} 23726echo "$as_me: error: bad value ${enableval} for --enable-debug-logfile" >&2;}
23234 { (exit 1); exit 1; }; } 23727 { (exit 1); exit 1; }; }
23235 ;; 23728 ;;
23236 esac 23729 esac
23237else 23730else
23731 debug_logfile=true
23238 debug_logfile=true echo "$as_me:$LINENO: result: no" >&5 23732 { echo "$as_me:$LINENO: result: no" >&5
23239echo "${ECHO_T}no" >&6 23733echo "${ECHO_T}no" >&6; }
23240fi; 23734fi
23735
23241 23736
23242 if test "$debug_logfile" = "true"; then 23737 if test "$debug_logfile" = "true"; then
23243 CFLAGS="-D_SPF_DEBUG_LOGFILE $CFLAGS" 23738 CFLAGS="-D_SPF_DEBUG_LOGFILE $CFLAGS"
23244 fi 23739 fi
23245fi 23740fi
23248#------------------------------------------------------------------------------- 23743#-------------------------------------------------------------------------------
23249# Check to see if we want to enable logfile statistics 23744# Check to see if we want to enable logfile statistics
23250#------------------------------------------------------------------------------- 23745#-------------------------------------------------------------------------------
23251 23746
23252logfile_stats=false 23747logfile_stats=false
23253echo "$as_me:$LINENO: checking whether you want logfile statistics" >&5 23748{ echo "$as_me:$LINENO: checking whether you want logfile statistics" >&5
23254echo $ECHO_N "checking whether you want logfile statistics... $ECHO_C" >&6 23749echo $ECHO_N "checking whether you want logfile statistics... $ECHO_C" >&6; }
23255# Check whether --enable-logfile_stats or --disable-logfile_stats was given. 23750# Check whether --enable-logfile_stats was given.
23256if test "${enable_logfile_stats+set}" = set; then 23751if test "${enable_logfile_stats+set}" = set; then
23257 enableval="$enable_logfile_stats" 23752 enableval=$enable_logfile_stats; case "${enableval}" in
23258 case "${enableval}" in
23259 yes) 23753 yes)
23260 logfile_stats=true 23754 logfile_stats=true
23261 echo "$as_me:$LINENO: result: yes" >&5 23755 { echo "$as_me:$LINENO: result: yes" >&5
23262echo "${ECHO_T}yes" >&6 23756echo "${ECHO_T}yes" >&6; }
23263 ;; 23757 ;;
23264 no) 23758 no)
23265 logfile_stats=false 23759 logfile_stats=false
23266 echo "$as_me:$LINENO: result: no" >&5 23760 { echo "$as_me:$LINENO: result: no" >&5
23267echo "${ECHO_T}no" >&6 23761echo "${ECHO_T}no" >&6; }
23268 ;; 23762 ;;
23269 *) 23763 *)
23270 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-logfile-stats" >&5 23764 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-logfile-stats" >&5
23271echo "$as_me: error: bad value ${enableval} for --enable-logfile-stats" >&2;} 23765echo "$as_me: error: bad value ${enableval} for --enable-logfile-stats" >&2;}
23272 { (exit 1); exit 1; }; } 23766 { (exit 1); exit 1; }; }
23273 ;; 23767 ;;
23274esac 23768esac
23275else 23769else
23770 logfile_stats=false
23276 logfile_stats=false echo "$as_me:$LINENO: result: no" >&5 23771{ echo "$as_me:$LINENO: result: no" >&5
23277echo "${ECHO_T}no" >&6 23772echo "${ECHO_T}no" >&6; }
23278fi; 23773fi
23774
23279 23775
23280if test "$logfile_stats" = "true"; then 23776if test "$logfile_stats" = "true"; then
23281 CFLAGS="-D_SPF_LOGFILE_STATS $CFLAGS" 23777 CFLAGS="-D_SPF_LOGFILE_STATS $CFLAGS"
23282fi 23778fi
23283 23779
23285#------------------------------------------------------------------------------- 23781#-------------------------------------------------------------------------------
23286# Check whether to enable a memset after each malloc 23782# Check whether to enable a memset after each malloc
23287#------------------------------------------------------------------------------- 23783#-------------------------------------------------------------------------------
23288 23784
23289rfc_recursion=false 23785rfc_recursion=false
23290echo "$as_me:$LINENO: checking whether to abide by the RFC as regards recursiveness" >&5 23786{ echo "$as_me:$LINENO: checking whether to abide by the RFC as regards recursiveness" >&5
23291echo $ECHO_N "checking whether to abide by the RFC as regards recursiveness... $ECHO_C" >&6 23787echo $ECHO_N "checking whether to abide by the RFC as regards recursiveness... $ECHO_C" >&6; }
23292# Check whether --enable-rfc_recursion or --disable-rfc_recursion was given. 23788# Check whether --enable-rfc_recursion was given.
23293if test "${enable_rfc_recursion+set}" = set; then 23789if test "${enable_rfc_recursion+set}" = set; then
23294 enableval="$enable_rfc_recursion" 23790 enableval=$enable_rfc_recursion; case "${enableval}" in
23295 case "${enableval}" in
23296 yes) 23791 yes)
23297 rfc_recursion=true 23792 rfc_recursion=true
23298 echo "$as_me:$LINENO: result: yes" >&5 23793 { echo "$as_me:$LINENO: result: yes" >&5
23299echo "${ECHO_T}yes" >&6 23794echo "${ECHO_T}yes" >&6; }
23300 ;; 23795 ;;
23301 no) 23796 no)
23302 rfc_recursion=false 23797 rfc_recursion=false
23303 echo "$as_me:$LINENO: result: no" >&5 23798 { echo "$as_me:$LINENO: result: no" >&5
23304echo "${ECHO_T}no" >&6 23799echo "${ECHO_T}no" >&6; }
23305 ;; 23800 ;;
23306 *) 23801 *)
23307 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-rfc-recursion" >&5 23802 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-rfc-recursion" >&5
23308echo "$as_me: error: bad value ${enableval} for --enable-rfc-recursion" >&2;} 23803echo "$as_me: error: bad value ${enableval} for --enable-rfc-recursion" >&2;}
23309 { (exit 1); exit 1; }; } 23804 { (exit 1); exit 1; }; }
23310 ;; 23805 ;;
23311esac 23806esac
23312else 23807else
23808 rfc_recursion=false
23313 rfc_recursion=false echo "$as_me:$LINENO: result: no" >&5 23809{ echo "$as_me:$LINENO: result: no" >&5
23314echo "${ECHO_T}no" >&6 23810echo "${ECHO_T}no" >&6; }
23315fi; 23811fi
23812
23316 23813
23317if test "$rfc_recursion" = "true"; then 23814if test "$rfc_recursion" = "true"; then
23318 CFLAGS="-D_RFC_RECURSION $CFLAGS" 23815 CFLAGS="-D_RFC_RECURSION $CFLAGS"
23319 { echo "$as_me:$LINENO: WARNING: === THE INTERNET IS FULL OF ILLITERATE AND LAZY PEOPLE ===" >&5 23816 { echo "$as_me:$LINENO: WARNING: === THE INTERNET IS FULL OF ILLITERATE AND LAZY PEOPLE ===" >&5
23320echo "$as_me: WARNING: === THE INTERNET IS FULL OF ILLITERATE AND LAZY PEOPLE ===" >&2;} 23817echo "$as_me: WARNING: === THE INTERNET IS FULL OF ILLITERATE AND LAZY PEOPLE ===" >&2;}
23349#------------------------------------------------------------------------------- 23846#-------------------------------------------------------------------------------
23350# Check whether to enable a memset after each malloc 23847# Check whether to enable a memset after each malloc
23351#------------------------------------------------------------------------------- 23848#-------------------------------------------------------------------------------
23352 23849
23353paranoid_malloc=true 23850paranoid_malloc=true
23354echo "$as_me:$LINENO: checking whether to memset after every malloc (paranoid malloc)?" >&5 23851{ echo "$as_me:$LINENO: checking whether to memset after every malloc (paranoid malloc)?" >&5
23355echo $ECHO_N "checking whether to memset after every malloc (paranoid malloc)?... $ECHO_C" >&6 23852echo $ECHO_N "checking whether to memset after every malloc (paranoid malloc)?... $ECHO_C" >&6; }
23356# Check whether --enable-paranoid_malloc or --disable-paranoid_malloc was given. 23853# Check whether --enable-paranoid_malloc was given.
23357if test "${enable_paranoid_malloc+set}" = set; then 23854if test "${enable_paranoid_malloc+set}" = set; then
23358 enableval="$enable_paranoid_malloc" 23855 enableval=$enable_paranoid_malloc; case "${enableval}" in
23359 case "${enableval}" in
23360 yes) 23856 yes)
23361 paranoid_malloc=true 23857 paranoid_malloc=true
23362 echo "$as_me:$LINENO: result: yes" >&5 23858 { echo "$as_me:$LINENO: result: yes" >&5
23363echo "${ECHO_T}yes" >&6 23859echo "${ECHO_T}yes" >&6; }
23364 ;; 23860 ;;
23365 no) 23861 no)
23366 paranoid_malloc=false 23862 paranoid_malloc=false
23367 echo "$as_me:$LINENO: result: no" >&5 23863 { echo "$as_me:$LINENO: result: no" >&5
23368echo "${ECHO_T}no" >&6 23864echo "${ECHO_T}no" >&6; }
23369 ;; 23865 ;;
23370 *) 23866 *)
23371 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-paranoid-malloc" >&5 23867 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-paranoid-malloc" >&5
23372echo "$as_me: error: bad value ${enableval} for --enable-paranoid-malloc" >&2;} 23868echo "$as_me: error: bad value ${enableval} for --enable-paranoid-malloc" >&2;}
23373 { (exit 1); exit 1; }; } 23869 { (exit 1); exit 1; }; }
23374 ;; 23870 ;;
23375esac 23871esac
23376else 23872else
23873 paranoid_malloc=true
23377 paranoid_malloc=true echo "$as_me:$LINENO: result: yes" >&5 23874{ echo "$as_me:$LINENO: result: yes" >&5
23378echo "${ECHO_T}yes" >&6 23875echo "${ECHO_T}yes" >&6; }
23379fi; 23876fi
23877
23380 23878
23381if test "$paranoid_malloc" = "true"; then 23879if test "$paranoid_malloc" = "true"; then
23382 CFLAGS="-D_WITH_PARANOID_MALLOC $CFLAGS" 23880 CFLAGS="-D_WITH_PARANOID_MALLOC $CFLAGS"
23383fi 23881fi
23384 23882
23388# res_query behaviour. See Debian bug tracking list thread: 23886# res_query behaviour. See Debian bug tracking list thread:
23389# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=297060 for more information. 23887# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=297060 for more information.
23390#------------------------------------------------------------------------------- 23888#-------------------------------------------------------------------------------
23391 23889
23392res_search=false 23890res_search=false
23393echo "$as_me:$LINENO: checking whether to use res_search instead of res_query?" >&5 23891{ echo "$as_me:$LINENO: checking whether to use res_search instead of res_query?" >&5
23394echo $ECHO_N "checking whether to use res_search instead of res_query?... $ECHO_C" >&6 23892echo $ECHO_N "checking whether to use res_search instead of res_query?... $ECHO_C" >&6; }
23395# Check whether --enable-res_search or --disable-res_search was given. 23893# Check whether --enable-res_search was given.
23396if test "${enable_res_search+set}" = set; then 23894if test "${enable_res_search+set}" = set; then
23397 enableval="$enable_res_search" 23895 enableval=$enable_res_search; case "${enableval}" in
23398 case "${enableval}" in
23399 yes) 23896 yes)
23400 res_search=true 23897 res_search=true
23401 echo "$as_me:$LINENO: result: yes" >&5 23898 { echo "$as_me:$LINENO: result: yes" >&5
23402echo "${ECHO_T}yes" >&6 23899echo "${ECHO_T}yes" >&6; }
23403 ;; 23900 ;;
23404 no) 23901 no)
23405 res_search=false 23902 res_search=false
23406 echo "$as_me:$LINENO: result: no" >&5 23903 { echo "$as_me:$LINENO: result: no" >&5
23407echo "${ECHO_T}no" >&6 23904echo "${ECHO_T}no" >&6; }
23408 ;; 23905 ;;
23409 *) 23906 *)
23410 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-res_search" >&5 23907 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-res_search" >&5
23411echo "$as_me: error: bad value ${enableval} for --enable-res_search" >&2;} 23908echo "$as_me: error: bad value ${enableval} for --enable-res_search" >&2;}
23412 { (exit 1); exit 1; }; } 23909 { (exit 1); exit 1; }; }
23413 ;; 23910 ;;
23414esac 23911esac
23415else 23912else
23913 res_search=false
23416 res_search=falsee echo "$as_me:$LINENO: result: no" >&5 23914{ echo "$as_me:$LINENO: result: no" >&5
23417echo "${ECHO_T}no" >&6 23915echo "${ECHO_T}no" >&6; }
23418fi; 23916fi
23917
23419 23918
23420if test "$res_search" = "true"; then 23919if test "$res_search" = "true"; then
23421 CFLAGS="-D_WITH_RES_SEARCH $CFLAGS" 23920 CFLAGS="-D_WITH_RES_SEARCH $CFLAGS"
23422fi 23921fi
23423 23922
23424 23923
23425#------------------------------------------------------------------------------- 23924#-------------------------------------------------------------------------------
23426# Check to see if we should build libSPF Query Tool 23925# Check to see if we should build libSPF Query Tool
23427#------------------------------------------------------------------------------- 23926#-------------------------------------------------------------------------------
23428 23927
23429echo "$as_me:$LINENO: checking whether to disable build the libSPF Query Tool?" >&5 23928{ echo "$as_me:$LINENO: checking whether to disable build the libSPF Query Tool?" >&5
23430echo $ECHO_N "checking whether to disable build the libSPF Query Tool?... $ECHO_C" >&6 23929echo $ECHO_N "checking whether to disable build the libSPF Query Tool?... $ECHO_C" >&6; }
23431# Check whether --enable-spfqtool or --disable-spfqtool was given. 23930# Check whether --enable-spfqtool was given.
23432if test "${enable_spfqtool+set}" = set; then 23931if test "${enable_spfqtool+set}" = set; then
23433 enableval="$enable_spfqtool" 23932 enableval=$enable_spfqtool; case "${enableval}" in
23434 case "${enableval}" in
23435 yes) 23933 yes)
23436 spfqtool=true 23934 spfqtool=true
23437 echo "$as_me:$LINENO: result: yes" >&5 23935 { echo "$as_me:$LINENO: result: yes" >&5
23438echo "${ECHO_T}yes" >&6 23936echo "${ECHO_T}yes" >&6; }
23439 ;; 23937 ;;
23440 no) 23938 no)
23441 spfqtool=false 23939 spfqtool=false
23442 echo "$as_me:$LINENO: result: no" >&5 23940 { echo "$as_me:$LINENO: result: no" >&5
23443echo "${ECHO_T}no" >&6 23941echo "${ECHO_T}no" >&6; }
23444 ;; 23942 ;;
23445 *) 23943 *)
23446 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --disable-spfqtool" >&5 23944 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --disable-spfqtool" >&5
23447echo "$as_me: error: bad value ${enableval} for --disable-spfqtool" >&2;} 23945echo "$as_me: error: bad value ${enableval} for --disable-spfqtool" >&2;}
23448 { (exit 1); exit 1; }; } 23946 { (exit 1); exit 1; }; }
23449 ;; 23947 ;;
23450esac 23948esac
23451else 23949else
23950 spfqtool=false
23452 spfqtool=false echo "$as_me:$LINENO: result: no" >&5 23951{ echo "$as_me:$LINENO: result: no" >&5
23453echo "${ECHO_T}no" >&6 23952echo "${ECHO_T}no" >&6; }
23454fi; 23953fi
23954
23455 23955
23456if test "$spfqtool" = "true"; then 23956if test "$spfqtool" = "true"; then
23457 LIBSPF_BUILD_DIRS="libspf" 23957 LIBSPF_BUILD_DIRS="libspf"
23458fi 23958fi
23459#AC_SUBST(LIBSPF_BUILD_DIRS) 23959#AC_SUBST(LIBSPF_BUILD_DIRS)
23465# _DNS_gethostbyname_r reentrant wrapper to gethostbyname unless 23965# _DNS_gethostbyname_r reentrant wrapper to gethostbyname unless
23466# gethostbyname_r is available (GNU extention) then the wrapper will 23966# gethostbyname_r is available (GNU extention) then the wrapper will
23467# be around that instead and won't use the mutex 23967# be around that instead and won't use the mutex
23468#------------------------------------------------------------------------------- 23968#-------------------------------------------------------------------------------
23469 23969
23470echo "$as_me:$LINENO: checking whether to compile with reentrant capabilities" >&5 23970{ echo "$as_me:$LINENO: checking whether to compile with reentrant capabilities" >&5
23471echo $ECHO_N "checking whether to compile with reentrant capabilities... $ECHO_C" >&6 23971echo $ECHO_N "checking whether to compile with reentrant capabilities... $ECHO_C" >&6; }
23472# Check whether --enable-pthreads or --disable-pthreads was given. 23972# Check whether --enable-pthreads was given.
23473if test "${enable_pthreads+set}" = set; then 23973if test "${enable_pthreads+set}" = set; then
23474 enableval="$enable_pthreads" 23974 enableval=$enable_pthreads; case "${enableval}" in
23475 case "${enableval}" in
23476 yes) 23975 yes)
23477 pthreads=true 23976 pthreads=true
23478 echo "$as_me:$LINENO: result: yes" >&5 23977 { echo "$as_me:$LINENO: result: yes" >&5
23479echo "${ECHO_T}yes" >&6 23978echo "${ECHO_T}yes" >&6; }
23480 ;; 23979 ;;
23481 no) 23980 no)
23482 pthreads=false 23981 pthreads=false
23483 echo "$as_me:$LINENO: result: no" >&5 23982 { echo "$as_me:$LINENO: result: no" >&5
23484echo "${ECHO_T}no" >&6 23983echo "${ECHO_T}no" >&6; }
23485 ;; 23984 ;;
23486 *) 23985 *)
23487 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-pthreads" >&5 23986 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-pthreads" >&5
23488echo "$as_me: error: bad value ${enableval} for --enable-pthreads" >&2;} 23987echo "$as_me: error: bad value ${enableval} for --enable-pthreads" >&2;}
23489 { (exit 1); exit 1; }; } 23988 { (exit 1); exit 1; }; }
23490 ;; 23989 ;;
23491esac 23990esac
23492else 23991else
23992 pthreads=false
23493 pthreads=false echo "$as_me:$LINENO: result: no" >&5 23993{ echo "$as_me:$LINENO: result: no" >&5
23494echo "${ECHO_T}no" >&6 23994echo "${ECHO_T}no" >&6; }
23495fi; 23995fi
23996
23496 23997
23497if test "$pthreads" = "true"; then 23998if test "$pthreads" = "true"; then
23498 23999
23499 24000
23500for ac_header in pthread.h 24001for ac_header in pthread.h
23501do 24002do
23502as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 24003as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23503if eval "test \"\${$as_ac_Header+set}\" = set"; then 24004if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23504 echo "$as_me:$LINENO: checking for $ac_header" >&5 24005 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23505echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 24006echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23506if eval "test \"\${$as_ac_Header+set}\" = set"; then 24007if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23507 echo $ECHO_N "(cached) $ECHO_C" >&6 24008 echo $ECHO_N "(cached) $ECHO_C" >&6
23508fi 24009fi
23509echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 24010ac_res=`eval echo '${'$as_ac_Header'}'`
23510echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 24011 { echo "$as_me:$LINENO: result: $ac_res" >&5
24012echo "${ECHO_T}$ac_res" >&6; }
23511else 24013else
23512 # Is the header compilable? 24014 # Is the header compilable?
23513echo "$as_me:$LINENO: checking $ac_header usability" >&5 24015{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
23514echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 24016echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23515cat >conftest.$ac_ext <<_ACEOF 24017cat >conftest.$ac_ext <<_ACEOF
23516/* confdefs.h. */ 24018/* confdefs.h. */
23517_ACEOF 24019_ACEOF
23518cat confdefs.h >>conftest.$ac_ext 24020cat confdefs.h >>conftest.$ac_ext
23519cat >>conftest.$ac_ext <<_ACEOF 24021cat >>conftest.$ac_ext <<_ACEOF
23520/* end confdefs.h. */ 24022/* end confdefs.h. */
23521$ac_includes_default 24023$ac_includes_default
23522#include <$ac_header> 24024#include <$ac_header>
23523_ACEOF 24025_ACEOF
23524rm -f conftest.$ac_objext 24026rm -f conftest.$ac_objext
24027if { (ac_try="$ac_compile"
24028case "(($ac_try" in
24029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24030 *) ac_try_echo=$ac_try;;
24031esac
23525if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 24032eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23526 (eval $ac_compile) 2>conftest.er1 24033 (eval "$ac_compile") 2>conftest.er1
23527 ac_status=$? 24034 ac_status=$?
23528 grep -v '^ *+' conftest.er1 >conftest.err 24035 grep -v '^ *+' conftest.er1 >conftest.err
23529 rm -f conftest.er1 24036 rm -f conftest.er1
23530 cat conftest.err >&5 24037 cat conftest.err >&5
23531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23532 (exit $ac_status); } && 24039 (exit $ac_status); } && {
23533 { ac_try='test -z "$ac_c_werror_flag" 24040 test -z "$ac_c_werror_flag" ||
23534 || test ! -s conftest.err' 24041 test ! -s conftest.err
23535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24042 } && test -s conftest.$ac_objext; then
23536 (eval $ac_try) 2>&5
23537 ac_status=$?
23538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23539 (exit $ac_status); }; } &&
23540 { ac_try='test -s conftest.$ac_objext'
23541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23542 (eval $ac_try) 2>&5
23543 ac_status=$?
23544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23545 (exit $ac_status); }; }; then
23546 ac_header_compiler=yes 24043 ac_header_compiler=yes
23547else 24044else
23548 echo "$as_me: failed program was:" >&5 24045 echo "$as_me: failed program was:" >&5
23549sed 's/^/| /' conftest.$ac_ext >&5 24046sed 's/^/| /' conftest.$ac_ext >&5
23550 24047
23551ac_header_compiler=no 24048 ac_header_compiler=no
23552fi 24049fi
24050
23553rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 24051rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23554echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 24052{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23555echo "${ECHO_T}$ac_header_compiler" >&6 24053echo "${ECHO_T}$ac_header_compiler" >&6; }
23556 24054
23557# Is the header present? 24055# Is the header present?
23558echo "$as_me:$LINENO: checking $ac_header presence" >&5 24056{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
23559echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 24057echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23560cat >conftest.$ac_ext <<_ACEOF 24058cat >conftest.$ac_ext <<_ACEOF
23561/* confdefs.h. */ 24059/* confdefs.h. */
23562_ACEOF 24060_ACEOF
23563cat confdefs.h >>conftest.$ac_ext 24061cat confdefs.h >>conftest.$ac_ext
23564cat >>conftest.$ac_ext <<_ACEOF 24062cat >>conftest.$ac_ext <<_ACEOF
23565/* end confdefs.h. */ 24063/* end confdefs.h. */
23566#include <$ac_header> 24064#include <$ac_header>
23567_ACEOF 24065_ACEOF
23568if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 24066if { (ac_try="$ac_cpp conftest.$ac_ext"
24067case "(($ac_try" in
24068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24069 *) ac_try_echo=$ac_try;;
24070esac
24071eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23569 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 24072 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23570 ac_status=$? 24073 ac_status=$?
23571 grep -v '^ *+' conftest.er1 >conftest.err 24074 grep -v '^ *+' conftest.er1 >conftest.err
23572 rm -f conftest.er1 24075 rm -f conftest.er1
23573 cat conftest.err >&5 24076 cat conftest.err >&5
23574 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575 (exit $ac_status); } >/dev/null; then 24078 (exit $ac_status); } >/dev/null && {
24079 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23576 if test -s conftest.err; then 24080 test ! -s conftest.err
23577 ac_cpp_err=$ac_c_preproc_warn_flag 24081 }; then
23578 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23579 else
23580 ac_cpp_err=
23581 fi
23582else
23583 ac_cpp_err=yes
23584fi
23585if test -z "$ac_cpp_err"; then
23586 ac_header_preproc=yes 24082 ac_header_preproc=yes
23587else 24083else
23588 echo "$as_me: failed program was:" >&5 24084 echo "$as_me: failed program was:" >&5
23589sed 's/^/| /' conftest.$ac_ext >&5 24085sed 's/^/| /' conftest.$ac_ext >&5
23590 24086
23591 ac_header_preproc=no 24087 ac_header_preproc=no
23592fi 24088fi
24089
23593rm -f conftest.err conftest.$ac_ext 24090rm -f conftest.err conftest.$ac_ext
23594echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 24091{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23595echo "${ECHO_T}$ac_header_preproc" >&6 24092echo "${ECHO_T}$ac_header_preproc" >&6; }
23596 24093
23597# So? What about this header? 24094# So? What about this header?
23598case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 24095case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23599 yes:no: ) 24096 yes:no: )
23600 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 24097 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23614echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 24111echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 24112 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23616echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 24113echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23617 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 24114 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23618echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 24115echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23619 (
23620 cat <<\_ASBOX 24116 ( cat <<\_ASBOX
23621## ------------------------------------ ## 24117## ------------------------------------ ##
23622## Report this to jcouzens@codeshare.ca ## 24118## Report this to jcouzens@codeshare.ca ##
23623## ------------------------------------ ## 24119## ------------------------------------ ##
23624_ASBOX 24120_ASBOX
23625 ) |
23626 sed "s/^/$as_me: WARNING: /" >&2 24121 ) | sed "s/^/$as_me: WARNING: /" >&2
23627 ;; 24122 ;;
23628esac 24123esac
23629echo "$as_me:$LINENO: checking for $ac_header" >&5 24124{ echo "$as_me:$LINENO: checking for $ac_header" >&5
23630echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 24125echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23631if eval "test \"\${$as_ac_Header+set}\" = set"; then 24126if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23632 echo $ECHO_N "(cached) $ECHO_C" >&6 24127 echo $ECHO_N "(cached) $ECHO_C" >&6
23633else 24128else
23634 eval "$as_ac_Header=\$ac_header_preproc" 24129 eval "$as_ac_Header=\$ac_header_preproc"
23635fi 24130fi
23636echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 24131ac_res=`eval echo '${'$as_ac_Header'}'`
23637echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 24132 { echo "$as_me:$LINENO: result: $ac_res" >&5
24133echo "${ECHO_T}$ac_res" >&6; }
23638 24134
23639fi 24135fi
23640if test `eval echo '${'$as_ac_Header'}'` = yes; then 24136if test `eval echo '${'$as_ac_Header'}'` = yes; then
23641 cat >>confdefs.h <<_ACEOF 24137 cat >>confdefs.h <<_ACEOF
23642#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 24138#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23667 24163
23668 24164
23669for ac_func in gethostbyname_r 24165for ac_func in gethostbyname_r
23670do 24166do
23671as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 24167as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23672echo "$as_me:$LINENO: checking for $ac_func" >&5 24168{ echo "$as_me:$LINENO: checking for $ac_func" >&5
23673echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 24169echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
23674if eval "test \"\${$as_ac_var+set}\" = set"; then 24170if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23675 echo $ECHO_N "(cached) $ECHO_C" >&6 24171 echo $ECHO_N "(cached) $ECHO_C" >&6
23676else 24172else
23677 cat >conftest.$ac_ext <<_ACEOF 24173 cat >conftest.$ac_ext <<_ACEOF
23678/* confdefs.h. */ 24174/* confdefs.h. */
23679_ACEOF 24175_ACEOF
23695# include <assert.h> 24191# include <assert.h>
23696#endif 24192#endif
23697 24193
23698#undef $ac_func 24194#undef $ac_func
23699 24195
23700/* Override any gcc2 internal prototype to avoid an error. */ 24196/* Override any GCC internal prototype to avoid an error.
24197 Use char because int might match the return type of a GCC
24198 builtin and then its argument prototype would still apply. */
23701#ifdef __cplusplus 24199#ifdef __cplusplus
23702extern "C" 24200extern "C"
23703{
23704#endif 24201#endif
23705/* We use char because int might match the return type of a gcc2
23706 builtin and then its argument prototype would still apply. */
23707char $ac_func (); 24202char $ac_func ();
23708/* The GNU C library defines this for functions which it implements 24203/* The GNU C library defines this for functions which it implements
23709 to always fail with ENOSYS. Some functions are actually named 24204 to always fail with ENOSYS. Some functions are actually named
23710 something starting with __ and the normal name is an alias. */ 24205 something starting with __ and the normal name is an alias. */
23711#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 24206#if defined __stub_$ac_func || defined __stub___$ac_func
23712choke me 24207choke me
23713#else
23714char (*f) () = $ac_func;
23715#endif
23716#ifdef __cplusplus
23717}
23718#endif 24208#endif
23719 24209
23720int 24210int
23721main () 24211main ()
23722{ 24212{
23723return f != $ac_func; 24213return $ac_func ();
23724 ; 24214 ;
23725 return 0; 24215 return 0;
23726} 24216}
23727_ACEOF 24217_ACEOF
23728rm -f conftest.$ac_objext conftest$ac_exeext 24218rm -f conftest.$ac_objext conftest$ac_exeext
24219if { (ac_try="$ac_link"
24220case "(($ac_try" in
24221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24222 *) ac_try_echo=$ac_try;;
24223esac
23729if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 24224eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23730 (eval $ac_link) 2>conftest.er1 24225 (eval "$ac_link") 2>conftest.er1
23731 ac_status=$? 24226 ac_status=$?
23732 grep -v '^ *+' conftest.er1 >conftest.err 24227 grep -v '^ *+' conftest.er1 >conftest.err
23733 rm -f conftest.er1 24228 rm -f conftest.er1
23734 cat conftest.err >&5 24229 cat conftest.err >&5
23735 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23736 (exit $ac_status); } && 24231 (exit $ac_status); } && {
23737 { ac_try='test -z "$ac_c_werror_flag" 24232 test -z "$ac_c_werror_flag" ||
23738 || test ! -s conftest.err' 24233 test ! -s conftest.err
23739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24234 } && test -s conftest$ac_exeext &&
23740 (eval $ac_try) 2>&5 24235 $as_test_x conftest$ac_exeext; then
23741 ac_status=$?
23742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23743 (exit $ac_status); }; } &&
23744 { ac_try='test -s conftest$ac_exeext'
23745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23746 (eval $ac_try) 2>&5
23747 ac_status=$?
23748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23749 (exit $ac_status); }; }; then
23750 eval "$as_ac_var=yes" 24236 eval "$as_ac_var=yes"
23751else 24237else
23752 echo "$as_me: failed program was:" >&5 24238 echo "$as_me: failed program was:" >&5
23753sed 's/^/| /' conftest.$ac_ext >&5 24239sed 's/^/| /' conftest.$ac_ext >&5
23754 24240
23755eval "$as_ac_var=no" 24241 eval "$as_ac_var=no"
23756fi 24242fi
23757rm -f conftest.err conftest.$ac_objext \ 24243
24244rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23758 conftest$ac_exeext conftest.$ac_ext 24245 conftest$ac_exeext conftest.$ac_ext
23759fi 24246fi
23760echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 24247ac_res=`eval echo '${'$as_ac_var'}'`
23761echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 24248 { echo "$as_me:$LINENO: result: $ac_res" >&5
24249echo "${ECHO_T}$ac_res" >&6; }
23762if test `eval echo '${'$as_ac_var'}'` = yes; then 24250if test `eval echo '${'$as_ac_var'}'` = yes; then
23763 cat >>confdefs.h <<_ACEOF 24251 cat >>confdefs.h <<_ACEOF
23764#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 24252#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23765_ACEOF 24253_ACEOF
23766 24254
23790# Check to see if we should build Sendmail SPF milter and perform the pthreads 24278# Check to see if we should build Sendmail SPF milter and perform the pthreads
23791# check again and in the event it wasn't specified (its required) or it failed, 24279# check again and in the event it wasn't specified (its required) or it failed,
23792# we will catch it (and enable it if successful) here. 24280# we will catch it (and enable it if successful) here.
23793#------------------------------------------------------------------------------- 24281#-------------------------------------------------------------------------------
23794 24282
23795echo "$as_me:$LINENO: checking whether to build the Sendmail SPF milter?" >&5 24283{ echo "$as_me:$LINENO: checking whether to build the Sendmail SPF milter?" >&5
23796echo $ECHO_N "checking whether to build the Sendmail SPF milter?... $ECHO_C" >&6 24284echo $ECHO_N "checking whether to build the Sendmail SPF milter?... $ECHO_C" >&6; }
23797# Check whether --enable-spfmilter or --disable-spfmilter was given. 24285# Check whether --enable-spfmilter was given.
23798if test "${enable_spfmilter+set}" = set; then 24286if test "${enable_spfmilter+set}" = set; then
23799 enableval="$enable_spfmilter" 24287 enableval=$enable_spfmilter; case "${enableval}" in
23800 case "${enableval}" in
23801 yes) 24288 yes)
23802 spfmilter=true 24289 spfmilter=true
23803 echo "$as_me:$LINENO: result: yes" >&5 24290 { echo "$as_me:$LINENO: result: yes" >&5
23804echo "${ECHO_T}yes" >&6 24291echo "${ECHO_T}yes" >&6; }
23805 ;; 24292 ;;
23806 no) 24293 no)
23807 spfmilter=false 24294 spfmilter=false
23808 echo "$as_me:$LINENO: result: no" >&5 24295 { echo "$as_me:$LINENO: result: no" >&5
23809echo "${ECHO_T}no" >&6 24296echo "${ECHO_T}no" >&6; }
23810 ;; 24297 ;;
23811 *) 24298 *)
23812 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-spfmilter" >&5 24299 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-spfmilter" >&5
23813echo "$as_me: error: bad value ${enableval} for --enable-spfmilter" >&2;} 24300echo "$as_me: error: bad value ${enableval} for --enable-spfmilter" >&2;}
23814 { (exit 1); exit 1; }; } 24301 { (exit 1); exit 1; }; }
23815 ;; 24302 ;;
23816esac 24303esac
23817else 24304else
24305 spfmilter=false
23818 spfmilter=false echo "$as_me:$LINENO: result: no" >&5 24306{ echo "$as_me:$LINENO: result: no" >&5
23819echo "${ECHO_T}no" >&6 24307echo "${ECHO_T}no" >&6; }
23820fi; 24308fi
24309
23821 24310
23822if test "$pthreads" = "false"; then 24311if test "$pthreads" = "false"; then
23823 if test "$spfmilter" = "true"; then 24312 if test "$spfmilter" = "true"; then
23824 { { echo "$as_me:$LINENO: error: pthreads is required, please re-configure with --enable-pthreads" >&5 24313 { { echo "$as_me:$LINENO: error: pthreads is required, please re-configure with --enable-pthreads" >&5
23825echo "$as_me: error: pthreads is required, please re-configure with --enable-pthreads" >&2;} 24314echo "$as_me: error: pthreads is required, please re-configure with --enable-pthreads" >&2;}
23857 24346
23858#------------------------------------------------------------------------------- 24347#-------------------------------------------------------------------------------
23859# getpwuid (pwd.h) 24348# getpwuid (pwd.h)
23860#------------------------------------------------------------------------------- 24349#-------------------------------------------------------------------------------
23861 24350
23862echo "$as_me:$LINENO: checking getpwuid" >&5 24351{ echo "$as_me:$LINENO: checking getpwuid" >&5
23863echo $ECHO_N "checking getpwuid... $ECHO_C" >&6 24352echo $ECHO_N "checking getpwuid... $ECHO_C" >&6; }
23864use_getpwuid=no 24353use_getpwuid=no
23865echo "$as_me:$LINENO: checking for getpwuid" >&5 24354{ echo "$as_me:$LINENO: checking for getpwuid" >&5
23866echo $ECHO_N "checking for getpwuid... $ECHO_C" >&6 24355echo $ECHO_N "checking for getpwuid... $ECHO_C" >&6; }
23867if test "${ac_cv_func_getpwuid+set}" = set; then 24356if test "${ac_cv_func_getpwuid+set}" = set; then
23868 echo $ECHO_N "(cached) $ECHO_C" >&6 24357 echo $ECHO_N "(cached) $ECHO_C" >&6
23869else 24358else
23870 cat >conftest.$ac_ext <<_ACEOF 24359 cat >conftest.$ac_ext <<_ACEOF
23871/* confdefs.h. */ 24360/* confdefs.h. */
23888# include <assert.h> 24377# include <assert.h>
23889#endif 24378#endif
23890 24379
23891#undef getpwuid 24380#undef getpwuid
23892 24381
23893/* Override any gcc2 internal prototype to avoid an error. */ 24382/* Override any GCC internal prototype to avoid an error.
24383 Use char because int might match the return type of a GCC
24384 builtin and then its argument prototype would still apply. */
23894#ifdef __cplusplus 24385#ifdef __cplusplus
23895extern "C" 24386extern "C"
23896{
23897#endif 24387#endif
23898/* We use char because int might match the return type of a gcc2
23899 builtin and then its argument prototype would still apply. */
23900char getpwuid (); 24388char getpwuid ();
23901/* The GNU C library defines this for functions which it implements 24389/* The GNU C library defines this for functions which it implements
23902 to always fail with ENOSYS. Some functions are actually named 24390 to always fail with ENOSYS. Some functions are actually named
23903 something starting with __ and the normal name is an alias. */ 24391 something starting with __ and the normal name is an alias. */
23904#if defined (__stub_getpwuid) || defined (__stub___getpwuid) 24392#if defined __stub_getpwuid || defined __stub___getpwuid
23905choke me 24393choke me
23906#else
23907char (*f) () = getpwuid;
23908#endif
23909#ifdef __cplusplus
23910}
23911#endif 24394#endif
23912 24395
23913int 24396int
23914main () 24397main ()
23915{ 24398{
23916return f != getpwuid; 24399return getpwuid ();
23917 ; 24400 ;
23918 return 0; 24401 return 0;
23919} 24402}
23920_ACEOF 24403_ACEOF
23921rm -f conftest.$ac_objext conftest$ac_exeext 24404rm -f conftest.$ac_objext conftest$ac_exeext
24405if { (ac_try="$ac_link"
24406case "(($ac_try" in
24407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24408 *) ac_try_echo=$ac_try;;
24409esac
23922if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 24410eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23923 (eval $ac_link) 2>conftest.er1 24411 (eval "$ac_link") 2>conftest.er1
23924 ac_status=$? 24412 ac_status=$?
23925 grep -v '^ *+' conftest.er1 >conftest.err 24413 grep -v '^ *+' conftest.er1 >conftest.err
23926 rm -f conftest.er1 24414 rm -f conftest.er1
23927 cat conftest.err >&5 24415 cat conftest.err >&5
23928 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23929 (exit $ac_status); } && 24417 (exit $ac_status); } && {
23930 { ac_try='test -z "$ac_c_werror_flag" 24418 test -z "$ac_c_werror_flag" ||
23931 || test ! -s conftest.err' 24419 test ! -s conftest.err
23932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24420 } && test -s conftest$ac_exeext &&
23933 (eval $ac_try) 2>&5 24421 $as_test_x conftest$ac_exeext; then
23934 ac_status=$?
23935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23936 (exit $ac_status); }; } &&
23937 { ac_try='test -s conftest$ac_exeext'
23938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23939 (eval $ac_try) 2>&5
23940 ac_status=$?
23941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23942 (exit $ac_status); }; }; then
23943 ac_cv_func_getpwuid=yes 24422 ac_cv_func_getpwuid=yes
23944else 24423else
23945 echo "$as_me: failed program was:" >&5 24424 echo "$as_me: failed program was:" >&5
23946sed 's/^/| /' conftest.$ac_ext >&5 24425sed 's/^/| /' conftest.$ac_ext >&5
23947 24426
23948ac_cv_func_getpwuid=no 24427 ac_cv_func_getpwuid=no
23949fi 24428fi
23950rm -f conftest.err conftest.$ac_objext \ 24429
24430rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23951 conftest$ac_exeext conftest.$ac_ext 24431 conftest$ac_exeext conftest.$ac_ext
23952fi 24432fi
23953echo "$as_me:$LINENO: result: $ac_cv_func_getpwuid" >&5 24433{ echo "$as_me:$LINENO: result: $ac_cv_func_getpwuid" >&5
23954echo "${ECHO_T}$ac_cv_func_getpwuid" >&6 24434echo "${ECHO_T}$ac_cv_func_getpwuid" >&6; }
23955if test $ac_cv_func_getpwuid = yes; then 24435if test $ac_cv_func_getpwuid = yes; then
23956 use_getpwuid=yes 24436 use_getpwuid=yes
23957else 24437else
23958 echo "$as_me:$LINENO: checking for getpwuid" >&5 24438 { echo "$as_me:$LINENO: checking for getpwuid" >&5
23959echo $ECHO_N "checking for getpwuid... $ECHO_C" >&6 24439echo $ECHO_N "checking for getpwuid... $ECHO_C" >&6; }
23960if test "${ac_cv_func_getpwuid+set}" = set; then 24440if test "${ac_cv_func_getpwuid+set}" = set; then
23961 echo $ECHO_N "(cached) $ECHO_C" >&6 24441 echo $ECHO_N "(cached) $ECHO_C" >&6
23962else 24442else
23963 cat >conftest.$ac_ext <<_ACEOF 24443 cat >conftest.$ac_ext <<_ACEOF
23964/* confdefs.h. */ 24444/* confdefs.h. */
23981# include <assert.h> 24461# include <assert.h>
23982#endif 24462#endif
23983 24463
23984#undef getpwuid 24464#undef getpwuid
23985 24465
23986/* Override any gcc2 internal prototype to avoid an error. */ 24466/* Override any GCC internal prototype to avoid an error.
24467 Use char because int might match the return type of a GCC
24468 builtin and then its argument prototype would still apply. */
23987#ifdef __cplusplus 24469#ifdef __cplusplus
23988extern "C" 24470extern "C"
23989{
23990#endif 24471#endif
23991/* We use char because int might match the return type of a gcc2
23992 builtin and then its argument prototype would still apply. */
23993char getpwuid (); 24472char getpwuid ();
23994/* The GNU C library defines this for functions which it implements 24473/* The GNU C library defines this for functions which it implements
23995 to always fail with ENOSYS. Some functions are actually named 24474 to always fail with ENOSYS. Some functions are actually named
23996 something starting with __ and the normal name is an alias. */ 24475 something starting with __ and the normal name is an alias. */
23997#if defined (__stub_getpwuid) || defined (__stub___getpwuid) 24476#if defined __stub_getpwuid || defined __stub___getpwuid
23998choke me 24477choke me
23999#else
24000char (*f) () = getpwuid;
24001#endif
24002#ifdef __cplusplus
24003}
24004#endif 24478#endif
24005 24479
24006int 24480int
24007main () 24481main ()
24008{ 24482{
24009return f != getpwuid; 24483return getpwuid ();
24010 ; 24484 ;
24011 return 0; 24485 return 0;
24012} 24486}
24013_ACEOF 24487_ACEOF
24014rm -f conftest.$ac_objext conftest$ac_exeext 24488rm -f conftest.$ac_objext conftest$ac_exeext
24489if { (ac_try="$ac_link"
24490case "(($ac_try" in
24491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24492 *) ac_try_echo=$ac_try;;
24493esac
24015if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 24494eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24016 (eval $ac_link) 2>conftest.er1 24495 (eval "$ac_link") 2>conftest.er1
24017 ac_status=$? 24496 ac_status=$?
24018 grep -v '^ *+' conftest.er1 >conftest.err 24497 grep -v '^ *+' conftest.er1 >conftest.err
24019 rm -f conftest.er1 24498 rm -f conftest.er1
24020 cat conftest.err >&5 24499 cat conftest.err >&5
24021 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24022 (exit $ac_status); } && 24501 (exit $ac_status); } && {
24023 { ac_try='test -z "$ac_c_werror_flag" 24502 test -z "$ac_c_werror_flag" ||
24024 || test ! -s conftest.err' 24503 test ! -s conftest.err
24025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24504 } && test -s conftest$ac_exeext &&
24026 (eval $ac_try) 2>&5 24505 $as_test_x conftest$ac_exeext; then
24027 ac_status=$?
24028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24029 (exit $ac_status); }; } &&
24030 { ac_try='test -s conftest$ac_exeext'
24031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24032 (eval $ac_try) 2>&5
24033 ac_status=$?
24034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24035 (exit $ac_status); }; }; then
24036 ac_cv_func_getpwuid=yes 24506 ac_cv_func_getpwuid=yes
24037else 24507else
24038 echo "$as_me: failed program was:" >&5 24508 echo "$as_me: failed program was:" >&5
24039sed 's/^/| /' conftest.$ac_ext >&5 24509sed 's/^/| /' conftest.$ac_ext >&5
24040 24510
24041ac_cv_func_getpwuid=no 24511 ac_cv_func_getpwuid=no
24042fi 24512fi
24043rm -f conftest.err conftest.$ac_objext \ 24513
24514rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24044 conftest$ac_exeext conftest.$ac_ext 24515 conftest$ac_exeext conftest.$ac_ext
24045fi 24516fi
24046echo "$as_me:$LINENO: result: $ac_cv_func_getpwuid" >&5 24517{ echo "$as_me:$LINENO: result: $ac_cv_func_getpwuid" >&5
24047echo "${ECHO_T}$ac_cv_func_getpwuid" >&6 24518echo "${ECHO_T}$ac_cv_func_getpwuid" >&6; }
24048 24519
24049fi 24520fi
24050 24521
24051 if test "x$use_getpwuid" = "xyes"; then 24522 if test "x$use_getpwuid" = "xyes"; then
24052 24523
24063 24534
24064#------------------------------------------------------------------------------- 24535#-------------------------------------------------------------------------------
24065# setgroups (grp.h) 24536# setgroups (grp.h)
24066#------------------------------------------------------------------------------- 24537#-------------------------------------------------------------------------------
24067 24538
24068echo "$as_me:$LINENO: checking setgroups" >&5 24539{ echo "$as_me:$LINENO: checking setgroups" >&5
24069echo $ECHO_N "checking setgroups... $ECHO_C" >&6 24540echo $ECHO_N "checking setgroups... $ECHO_C" >&6; }
24070use_setgroups=no 24541use_setgroups=no
24071echo "$as_me:$LINENO: checking for setgroups" >&5 24542{ echo "$as_me:$LINENO: checking for setgroups" >&5
24072echo $ECHO_N "checking for setgroups... $ECHO_C" >&6 24543echo $ECHO_N "checking for setgroups... $ECHO_C" >&6; }
24073if test "${ac_cv_func_setgroups+set}" = set; then 24544if test "${ac_cv_func_setgroups+set}" = set; then
24074 echo $ECHO_N "(cached) $ECHO_C" >&6 24545 echo $ECHO_N "(cached) $ECHO_C" >&6
24075else 24546else
24076 cat >conftest.$ac_ext <<_ACEOF 24547 cat >conftest.$ac_ext <<_ACEOF
24077/* confdefs.h. */ 24548/* confdefs.h. */
24094# include <assert.h> 24565# include <assert.h>
24095#endif 24566#endif
24096 24567
24097#undef setgroups 24568#undef setgroups
24098 24569
24099/* Override any gcc2 internal prototype to avoid an error. */ 24570/* Override any GCC internal prototype to avoid an error.
24571 Use char because int might match the return type of a GCC
24572 builtin and then its argument prototype would still apply. */
24100#ifdef __cplusplus 24573#ifdef __cplusplus
24101extern "C" 24574extern "C"
24102{
24103#endif 24575#endif
24104/* We use char because int might match the return type of a gcc2
24105 builtin and then its argument prototype would still apply. */
24106char setgroups (); 24576char setgroups ();
24107/* The GNU C library defines this for functions which it implements 24577/* The GNU C library defines this for functions which it implements
24108 to always fail with ENOSYS. Some functions are actually named 24578 to always fail with ENOSYS. Some functions are actually named
24109 something starting with __ and the normal name is an alias. */ 24579 something starting with __ and the normal name is an alias. */
24110#if defined (__stub_setgroups) || defined (__stub___setgroups) 24580#if defined __stub_setgroups || defined __stub___setgroups
24111choke me 24581choke me
24112#else
24113char (*f) () = setgroups;
24114#endif
24115#ifdef __cplusplus
24116}
24117#endif 24582#endif
24118 24583
24119int 24584int
24120main () 24585main ()
24121{ 24586{
24122return f != setgroups; 24587return setgroups ();
24123 ; 24588 ;
24124 return 0; 24589 return 0;
24125} 24590}
24126_ACEOF 24591_ACEOF
24127rm -f conftest.$ac_objext conftest$ac_exeext 24592rm -f conftest.$ac_objext conftest$ac_exeext
24593if { (ac_try="$ac_link"
24594case "(($ac_try" in
24595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24596 *) ac_try_echo=$ac_try;;
24597esac
24128if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 24598eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24129 (eval $ac_link) 2>conftest.er1 24599 (eval "$ac_link") 2>conftest.er1
24130 ac_status=$? 24600 ac_status=$?
24131 grep -v '^ *+' conftest.er1 >conftest.err 24601 grep -v '^ *+' conftest.er1 >conftest.err
24132 rm -f conftest.er1 24602 rm -f conftest.er1
24133 cat conftest.err >&5 24603 cat conftest.err >&5
24134 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135 (exit $ac_status); } && 24605 (exit $ac_status); } && {
24136 { ac_try='test -z "$ac_c_werror_flag" 24606 test -z "$ac_c_werror_flag" ||
24137 || test ! -s conftest.err' 24607 test ! -s conftest.err
24138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24608 } && test -s conftest$ac_exeext &&
24139 (eval $ac_try) 2>&5 24609 $as_test_x conftest$ac_exeext; then
24140 ac_status=$?
24141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24142 (exit $ac_status); }; } &&
24143 { ac_try='test -s conftest$ac_exeext'
24144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24145 (eval $ac_try) 2>&5
24146 ac_status=$?
24147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24148 (exit $ac_status); }; }; then
24149 ac_cv_func_setgroups=yes 24610 ac_cv_func_setgroups=yes
24150else 24611else
24151 echo "$as_me: failed program was:" >&5 24612 echo "$as_me: failed program was:" >&5
24152sed 's/^/| /' conftest.$ac_ext >&5 24613sed 's/^/| /' conftest.$ac_ext >&5
24153 24614
24154ac_cv_func_setgroups=no 24615 ac_cv_func_setgroups=no
24155fi 24616fi
24156rm -f conftest.err conftest.$ac_objext \ 24617
24618rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24157 conftest$ac_exeext conftest.$ac_ext 24619 conftest$ac_exeext conftest.$ac_ext
24158fi 24620fi
24159echo "$as_me:$LINENO: result: $ac_cv_func_setgroups" >&5 24621{ echo "$as_me:$LINENO: result: $ac_cv_func_setgroups" >&5
24160echo "${ECHO_T}$ac_cv_func_setgroups" >&6 24622echo "${ECHO_T}$ac_cv_func_setgroups" >&6; }
24161if test $ac_cv_func_setgroups = yes; then 24623if test $ac_cv_func_setgroups = yes; then
24162 use_setgroups=yes 24624 use_setgroups=yes
24163else 24625else
24164 echo "$as_me:$LINENO: checking for setgroups" >&5 24626 { echo "$as_me:$LINENO: checking for setgroups" >&5
24165echo $ECHO_N "checking for setgroups... $ECHO_C" >&6 24627echo $ECHO_N "checking for setgroups... $ECHO_C" >&6; }
24166if test "${ac_cv_func_setgroups+set}" = set; then 24628if test "${ac_cv_func_setgroups+set}" = set; then
24167 echo $ECHO_N "(cached) $ECHO_C" >&6 24629 echo $ECHO_N "(cached) $ECHO_C" >&6
24168else 24630else
24169 cat >conftest.$ac_ext <<_ACEOF 24631 cat >conftest.$ac_ext <<_ACEOF
24170/* confdefs.h. */ 24632/* confdefs.h. */
24187# include <assert.h> 24649# include <assert.h>
24188#endif 24650#endif
24189 24651
24190#undef setgroups 24652#undef setgroups
24191 24653
24192/* Override any gcc2 internal prototype to avoid an error. */ 24654/* Override any GCC internal prototype to avoid an error.
24655 Use char because int might match the return type of a GCC
24656 builtin and then its argument prototype would still apply. */
24193#ifdef __cplusplus 24657#ifdef __cplusplus
24194extern "C" 24658extern "C"
24195{
24196#endif 24659#endif
24197/* We use char because int might match the return type of a gcc2
24198 builtin and then its argument prototype would still apply. */
24199char setgroups (); 24660char setgroups ();
24200/* The GNU C library defines this for functions which it implements 24661/* The GNU C library defines this for functions which it implements
24201 to always fail with ENOSYS. Some functions are actually named 24662 to always fail with ENOSYS. Some functions are actually named
24202 something starting with __ and the normal name is an alias. */ 24663 something starting with __ and the normal name is an alias. */
24203#if defined (__stub_setgroups) || defined (__stub___setgroups) 24664#if defined __stub_setgroups || defined __stub___setgroups
24204choke me 24665choke me
24205#else
24206char (*f) () = setgroups;
24207#endif
24208#ifdef __cplusplus
24209}
24210#endif 24666#endif
24211 24667
24212int 24668int
24213main () 24669main ()
24214{ 24670{
24215return f != setgroups; 24671return setgroups ();
24216 ; 24672 ;
24217 return 0; 24673 return 0;
24218} 24674}
24219_ACEOF 24675_ACEOF
24220rm -f conftest.$ac_objext conftest$ac_exeext 24676rm -f conftest.$ac_objext conftest$ac_exeext
24677if { (ac_try="$ac_link"
24678case "(($ac_try" in
24679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24680 *) ac_try_echo=$ac_try;;
24681esac
24221if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 24682eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24222 (eval $ac_link) 2>conftest.er1 24683 (eval "$ac_link") 2>conftest.er1
24223 ac_status=$? 24684 ac_status=$?
24224 grep -v '^ *+' conftest.er1 >conftest.err 24685 grep -v '^ *+' conftest.er1 >conftest.err
24225 rm -f conftest.er1 24686 rm -f conftest.er1
24226 cat conftest.err >&5 24687 cat conftest.err >&5
24227 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24228 (exit $ac_status); } && 24689 (exit $ac_status); } && {
24229 { ac_try='test -z "$ac_c_werror_flag" 24690 test -z "$ac_c_werror_flag" ||
24230 || test ! -s conftest.err' 24691 test ! -s conftest.err
24231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24692 } && test -s conftest$ac_exeext &&
24232 (eval $ac_try) 2>&5 24693 $as_test_x conftest$ac_exeext; then
24233 ac_status=$?
24234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24235 (exit $ac_status); }; } &&
24236 { ac_try='test -s conftest$ac_exeext'
24237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24238 (eval $ac_try) 2>&5
24239 ac_status=$?
24240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24241 (exit $ac_status); }; }; then
24242 ac_cv_func_setgroups=yes 24694 ac_cv_func_setgroups=yes
24243else 24695else
24244 echo "$as_me: failed program was:" >&5 24696 echo "$as_me: failed program was:" >&5
24245sed 's/^/| /' conftest.$ac_ext >&5 24697sed 's/^/| /' conftest.$ac_ext >&5
24246 24698
24247ac_cv_func_setgroups=no 24699 ac_cv_func_setgroups=no
24248fi 24700fi
24249rm -f conftest.err conftest.$ac_objext \ 24701
24702rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24250 conftest$ac_exeext conftest.$ac_ext 24703 conftest$ac_exeext conftest.$ac_ext
24251fi 24704fi
24252echo "$as_me:$LINENO: result: $ac_cv_func_setgroups" >&5 24705{ echo "$as_me:$LINENO: result: $ac_cv_func_setgroups" >&5
24253echo "${ECHO_T}$ac_cv_func_setgroups" >&6 24706echo "${ECHO_T}$ac_cv_func_setgroups" >&6; }
24254 24707
24255fi 24708fi
24256 24709
24257 if test "x$use_setgroups" = "xyes"; then 24710 if test "x$use_setgroups" = "xyes"; then
24258 24711
24273# Enable compiler full-optimizations which lead to greater performance 24726# Enable compiler full-optimizations which lead to greater performance
24274#------------------------------------------------------------------------------- 24727#-------------------------------------------------------------------------------
24275 24728
24276if test "$debug" = "false"; then 24729if test "$debug" = "false"; then
24277 24730
24278 echo "$as_me:$LINENO: checking whether I should enable full optimizations" >&5 24731 { echo "$as_me:$LINENO: checking whether I should enable full optimizations" >&5
24279echo $ECHO_N "checking whether I should enable full optimizations... $ECHO_C" >&6 24732echo $ECHO_N "checking whether I should enable full optimizations... $ECHO_C" >&6; }
24280 # Check whether --enable-full_optimizations or --disable-full_optimizations was given. 24733 # Check whether --enable-full_optimizations was given.
24281if test "${enable_full_optimizations+set}" = set; then 24734if test "${enable_full_optimizations+set}" = set; then
24282 enableval="$enable_full_optimizations" 24735 enableval=$enable_full_optimizations; case "${enableval}" in
24283 case "${enableval}" in
24284 yes) 24736 yes)
24285 full_optimizations=true 24737 full_optimizations=true
24286 echo "$as_me:$LINENO: result: yes" >&5 24738 { echo "$as_me:$LINENO: result: yes" >&5
24287echo "${ECHO_T}yes" >&6 24739echo "${ECHO_T}yes" >&6; }
24288 ;; 24740 ;;
24289 no) 24741 no)
24290 full_optimizations=false 24742 full_optimizations=false
24291 echo "$as_me:$LINENO: result: no" >&5 24743 { echo "$as_me:$LINENO: result: no" >&5
24292echo "${ECHO_T}no" >&6 24744echo "${ECHO_T}no" >&6; }
24293 ;; 24745 ;;
24294 *) 24746 *)
24295 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-full-optimizations" >&5 24747 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-full-optimizations" >&5
24296echo "$as_me: error: bad value ${enableval} for --enable-full-optimizations" >&2;} 24748echo "$as_me: error: bad value ${enableval} for --enable-full-optimizations" >&2;}
24297 { (exit 1); exit 1; }; } 24749 { (exit 1); exit 1; }; }
24298 ;; 24750 ;;
24299 esac 24751 esac
24300else 24752else
24753 full_optimizations=false
24301 full_optimizations=false echo "$as_me:$LINENO: result: no" >&5 24754 { echo "$as_me:$LINENO: result: no" >&5
24302echo "${ECHO_T}no" >&6 24755echo "${ECHO_T}no" >&6; }
24303fi; 24756fi
24757
24304 24758
24305 if test "$full_optimizations" = "true"; then 24759 if test "$full_optimizations" = "true"; then
24306 if [ "x$GCCVER" != "xno" ]; then 24760 if [ "x$GCCVER" != "xno" ]; then
24307 echo "$as_me:$LINENO: result: yes" >&5 24761 { echo "$as_me:$LINENO: result: yes" >&5
24308echo "${ECHO_T}yes" >&6 24762echo "${ECHO_T}yes" >&6; }
24309 #CFLAGS="$CFLAGS -O2 -pipe -funroll-loops -ffast-math -ftracer -fweb" 24763 #CFLAGS="$CFLAGS -O2 -pipe -funroll-loops -ffast-math -ftracer -fweb"
24310 #CFLAGS="$CFLAGS -O3 -ffast-math -fomit-frame-pointer" 24764 #CFLAGS="$CFLAGS -O3 -ffast-math -fomit-frame-pointer"
24311 fi 24765 fi
24312 fi 24766 fi
24313fi 24767fi
24315 24769
24316#------------------------------------------------------------------------------- 24770#-------------------------------------------------------------------------------
24317# Generate Makefiles 24771# Generate Makefiles
24318#------------------------------------------------------------------------------- 24772#-------------------------------------------------------------------------------
24319 24773
24320 ac_config_files="$ac_config_files Makefile src/Makefile src/libspf/Makefile src/spfqtool/Makefile src/libspf/spf.h src/libspf/util.c src/spfmilter/Makefile" 24774ac_config_files="$ac_config_files Makefile src/Makefile src/libspf/Makefile src/spfqtool/Makefile src/libspf/spf.h src/libspf/util.c src/spfmilter/Makefile"
24775
24321cat >confcache <<\_ACEOF 24776cat >confcache <<\_ACEOF
24322# This file is a shell script that caches the results of configure 24777# This file is a shell script that caches the results of configure
24323# tests run on this system so they can be shared between configure 24778# tests run on this system so they can be shared between configure
24324# scripts and configure runs, see configure's option --config-cache. 24779# scripts and configure runs, see configure's option --config-cache.
24325# It is not useful on other systems. If it contains results you don't 24780# It is not useful on other systems. If it contains results you don't
24334 24789
24335_ACEOF 24790_ACEOF
24336 24791
24337# The following way of writing the cache mishandles newlines in values, 24792# The following way of writing the cache mishandles newlines in values,
24338# but we know of no workaround that is simple, portable, and efficient. 24793# but we know of no workaround that is simple, portable, and efficient.
24339# So, don't put newlines in cache variables' values. 24794# So, we kill variables containing newlines.
24340# Ultrix sh set writes to stderr and can't be redirected directly, 24795# Ultrix sh set writes to stderr and can't be redirected directly,
24341# and sets the high bit in the cache file unless we assign to the vars. 24796# and sets the high bit in the cache file unless we assign to the vars.
24342{ 24797(
24798 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24799 eval ac_val=\$$ac_var
24800 case $ac_val in #(
24801 *${as_nl}*)
24802 case $ac_var in #(
24803 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24804echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24805 esac
24806 case $ac_var in #(
24807 _ | IFS | as_nl) ;; #(
24808 *) $as_unset $ac_var ;;
24809 esac ;;
24810 esac
24811 done
24812
24343 (set) 2>&1 | 24813 (set) 2>&1 |
24344 case `(ac_space=' '; set | grep ac_space) 2>&1` in 24814 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24345 *ac_space=\ *) 24815 *${as_nl}ac_space=\ *)
24346 # `set' does not quote correctly, so add quotes (double-quote 24816 # `set' does not quote correctly, so add quotes (double-quote
24347 # substitution turns \\\\ into \\, and sed turns \\ into \). 24817 # substitution turns \\\\ into \\, and sed turns \\ into \).
24348 sed -n \ 24818 sed -n \
24349 "s/'/'\\\\''/g; 24819 "s/'/'\\\\''/g;
24350 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 24820 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24351 ;; 24821 ;; #(
24352 *) 24822 *)
24353 # `set' quotes correctly as required by POSIX, so do not add quotes. 24823 # `set' quotes correctly as required by POSIX, so do not add quotes.
24354 sed -n \ 24824 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24355 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24356 ;; 24825 ;;
24357 esac; 24826 esac |
24358} | 24827 sort
24828) |
24359 sed ' 24829 sed '
24830 /^ac_cv_env_/b end
24360 t clear 24831 t clear
24361 : clear 24832 :clear
24362 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 24833 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24363 t end 24834 t end
24364 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 24835 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24365 : end' >>confcache 24836 :end' >>confcache
24366if diff $cache_file confcache >/dev/null 2>&1; then :; else 24837if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24367 if test -w $cache_file; then 24838 if test -w "$cache_file"; then
24368 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 24839 test "x$cache_file" != "x/dev/null" &&
24840 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24841echo "$as_me: updating cache $cache_file" >&6;}
24369 cat confcache >$cache_file 24842 cat confcache >$cache_file
24370 else 24843 else
24844 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24371 echo "not updating unwritable cache $cache_file" 24845echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24372 fi 24846 fi
24373fi 24847fi
24374rm -f confcache 24848rm -f confcache
24375 24849
24376test "x$prefix" = xNONE && prefix=$ac_default_prefix 24850test "x$prefix" = xNONE && prefix=$ac_default_prefix
24377# Let make expand exec_prefix. 24851# Let make expand exec_prefix.
24378test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 24852test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24379
24380# VPATH may cause trouble with some makes, so we remove $(srcdir),
24381# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24382# trailing colons and then remove the whole line if VPATH becomes empty
24383# (actually we leave an empty line to preserve line numbers).
24384if test "x$srcdir" = x.; then
24385 ac_vpsub='/^[ ]*VPATH[ ]*=/{
24386s/:*\$(srcdir):*/:/;
24387s/:*\${srcdir}:*/:/;
24388s/:*@srcdir@:*/:/;
24389s/^\([^=]*=[ ]*\):*/\1/;
24390s/:*$//;
24391s/^[^=]*=[ ]*$//;
24392}'
24393fi
24394 24853
24395DEFS=-DHAVE_CONFIG_H 24854DEFS=-DHAVE_CONFIG_H
24396 24855
24397ac_libobjs= 24856ac_libobjs=
24398ac_ltlibobjs= 24857ac_ltlibobjs=
24399for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 24858for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24400 # 1. Remove the extension, and $U if already installed. 24859 # 1. Remove the extension, and $U if already installed.
24401 ac_i=`echo "$ac_i" |
24402 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 24860 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
24403 # 2. Add them. 24861 ac_i=`echo "$ac_i" | sed "$ac_script"`
24862 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24863 # will be set to the directory where LIBOBJS objects are built.
24404 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 24864 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24405 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 24865 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
24406done 24866done
24407LIBOBJS=$ac_libobjs 24867LIBOBJS=$ac_libobjs
24408 24868
24409LTLIBOBJS=$ac_ltlibobjs 24869LTLIBOBJS=$ac_ltlibobjs
24410 24870
24445cat >>$CONFIG_STATUS <<\_ACEOF 24905cat >>$CONFIG_STATUS <<\_ACEOF
24446## --------------------- ## 24906## --------------------- ##
24447## M4sh Initialization. ## 24907## M4sh Initialization. ##
24448## --------------------- ## 24908## --------------------- ##
24449 24909
24450# Be Bourne compatible 24910# Be more Bourne compatible
24911DUALCASE=1; export DUALCASE # for MKS sh
24451if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 24912if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24452 emulate sh 24913 emulate sh
24453 NULLCMD=: 24914 NULLCMD=:
24454 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 24915 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24455 # is contrary to our usage. Disable this feature. 24916 # is contrary to our usage. Disable this feature.
24456 alias -g '${1+"$@"}'='"$@"' 24917 alias -g '${1+"$@"}'='"$@"'
24457elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 24918 setopt NO_GLOB_SUBST
24458 set -o posix
24459fi
24460DUALCASE=1; export DUALCASE # for MKS sh
24461
24462# Support unset when possible.
24463if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24464 as_unset=unset
24465else
24466 as_unset=false
24467fi
24468
24469
24470# Work around bugs in pre-3.0 UWIN ksh.
24471$as_unset ENV MAIL MAILPATH
24472PS1='$ '
24473PS2='> '
24474PS4='+ '
24475
24476# NLS nuisances.
24477for as_var in \
24478 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24479 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24480 LC_TELEPHONE LC_TIME
24481do
24482 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24483 eval $as_var=C; export $as_var
24484 else 24919else
24485 $as_unset $as_var 24920 case `(set -o) 2>/dev/null` in
24486 fi 24921 *posix*) set -o posix ;;
24487done 24922esac
24488 24923
24489# Required to use basename.
24490if expr a : '\(a\)' >/dev/null 2>&1; then
24491 as_expr=expr
24492else
24493 as_expr=false
24494fi 24924fi
24495 24925
24496if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
24497 as_basename=basename
24498else
24499 as_basename=false
24500fi
24501 24926
24502 24927
24503# Name of the executable.
24504as_me=`$as_basename "$0" ||
24505$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24506 X"$0" : 'X\(//\)$' \| \
24507 X"$0" : 'X\(/\)$' \| \
24508 . : '\(.\)' 2>/dev/null ||
24509echo X/"$0" |
24510 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
24511 /^X\/\(\/\/\)$/{ s//\1/; q; }
24512 /^X\/\(\/\).*/{ s//\1/; q; }
24513 s/.*/./; q'`
24514 24928
24515 24929# PATH needs CR
24516# PATH needs CR, and LINENO needs CR and PATH.
24517# Avoid depending upon Character Ranges. 24930# Avoid depending upon Character Ranges.
24518as_cr_letters='abcdefghijklmnopqrstuvwxyz' 24931as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24519as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 24932as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24520as_cr_Letters=$as_cr_letters$as_cr_LETTERS 24933as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24521as_cr_digits='0123456789' 24934as_cr_digits='0123456789'
24532 PATH_SEPARATOR=: 24945 PATH_SEPARATOR=:
24533 fi 24946 fi
24534 rm -f conf$$.sh 24947 rm -f conf$$.sh
24535fi 24948fi
24536 24949
24950# Support unset when possible.
24951if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24952 as_unset=unset
24953else
24954 as_unset=false
24955fi
24537 24956
24538 as_lineno_1=$LINENO 24957
24539 as_lineno_2=$LINENO 24958# IFS
24540 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 24959# We need space, tab and new line, in precisely that order. Quoting is
24541 test "x$as_lineno_1" != "x$as_lineno_2" && 24960# there to prevent editors from complaining about space-tab.
24542 test "x$as_lineno_3" = "x$as_lineno_2" || { 24961# (If _AS_PATH_WALK were called with IFS unset, it would disable word
24962# splitting by setting IFS to empty value.)
24963as_nl='
24964'
24965IFS=" "" $as_nl"
24966
24543 # Find who we are. Look in the path if we contain no path at all 24967# Find who we are. Look in the path if we contain no directory separator.
24544 # relative or not.
24545 case $0 in 24968case $0 in
24546 *[\\/]* ) as_myself=$0 ;; 24969 *[\\/]* ) as_myself=$0 ;;
24547 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24970 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24548for as_dir in $PATH 24971for as_dir in $PATH
24549do 24972do
24550 IFS=$as_save_IFS 24973 IFS=$as_save_IFS
24551 test -z "$as_dir" && as_dir=. 24974 test -z "$as_dir" && as_dir=.
24552 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 24975 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24553done 24976done
24977IFS=$as_save_IFS
24554 24978
24555 ;; 24979 ;;
24556 esac 24980esac
24557 # We did not find ourselves, most probably we were run as `sh COMMAND' 24981# We did not find ourselves, most probably we were run as `sh COMMAND'
24558 # in which case we are not to be found in the path. 24982# in which case we are not to be found in the path.
24559 if test "x$as_myself" = x; then 24983if test "x$as_myself" = x; then
24560 as_myself=$0 24984 as_myself=$0
24985fi
24986if test ! -f "$as_myself"; then
24987 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24988 { (exit 1); exit 1; }
24989fi
24990
24991# Work around bugs in pre-3.0 UWIN ksh.
24992for as_var in ENV MAIL MAILPATH
24993do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24994done
24995PS1='$ '
24996PS2='> '
24997PS4='+ '
24998
24999# NLS nuisances.
25000for as_var in \
25001 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
25002 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
25003 LC_TELEPHONE LC_TIME
25004do
25005 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
25006 eval $as_var=C; export $as_var
25007 else
25008 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24561 fi 25009 fi
24562 if test ! -f "$as_myself"; then 25010done
24563 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 25011
24564echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 25012# Required to use basename.
24565 { (exit 1); exit 1; }; } 25013if expr a : '\(a\)' >/dev/null 2>&1 &&
24566 fi 25014 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24567 case $CONFIG_SHELL in 25015 as_expr=expr
24568 '') 25016else
24569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25017 as_expr=false
24570for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 25018fi
24571do 25019
24572 IFS=$as_save_IFS 25020if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24573 test -z "$as_dir" && as_dir=. 25021 as_basename=basename
24574 for as_base in sh bash ksh sh5; do 25022else
24575 case $as_dir in 25023 as_basename=false
24576 /*) 25024fi
24577 if ("$as_dir/$as_base" -c ' 25025
25026
25027# Name of the executable.
25028as_me=`$as_basename -- "$0" ||
25029$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25030 X"$0" : 'X\(//\)$' \| \
25031 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25032echo X/"$0" |
25033 sed '/^.*\/\([^/][^/]*\)\/*$/{
25034 s//\1/
25035 q
25036 }
25037 /^X\/\(\/\/\)$/{
25038 s//\1/
25039 q
25040 }
25041 /^X\/\(\/\).*/{
25042 s//\1/
25043 q
25044 }
25045 s/.*/./; q'`
25046
25047# CDPATH.
25048$as_unset CDPATH
25049
25050
25051
24578 as_lineno_1=$LINENO 25052 as_lineno_1=$LINENO
24579 as_lineno_2=$LINENO 25053 as_lineno_2=$LINENO
24580 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24581 test "x$as_lineno_1" != "x$as_lineno_2" && 25054 test "x$as_lineno_1" != "x$as_lineno_2" &&
24582 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 25055 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
24583 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
24584 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
24585 CONFIG_SHELL=$as_dir/$as_base
24586 export CONFIG_SHELL
24587 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
24588 fi;;
24589 esac
24590 done
24591done
24592;;
24593 esac
24594 25056
24595 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 25057 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24596 # uniformly replaced by the line number. The first 'sed' inserts a 25058 # uniformly replaced by the line number. The first 'sed' inserts a
24597 # line-number line before each line; the second 'sed' does the real 25059 # line-number line after each line using $LINENO; the second 'sed'
24598 # work. The second script uses 'N' to pair each line-number line 25060 # does the real work. The second script uses 'N' to pair each
24599 # with the numbered line, and appends trailing '-' during 25061 # line-number line with the line containing $LINENO, and appends
24600 # substitution so that $LINENO is not a special case at line end. 25062 # trailing '-' during substitution so that $LINENO is not a special
25063 # case at line end.
24601 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 25064 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24602 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 25065 # scripts with optimization help from Paolo Bonzini. Blame Lee
25066 # E. McMahon (1931-1989) for sed's syntax. :-)
25067 sed -n '
25068 p
25069 /[$]LINENO/=
24603 sed '=' <$as_myself | 25070 ' <$as_myself |
24604 sed ' 25071 sed '
25072 s/[$]LINENO.*/&-/
25073 t lineno
25074 b
25075 :lineno
24605 N 25076 N
24606 s,$,-,
24607 : loop 25077 :loop
24608 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 25078 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24609 t loop 25079 t loop
24610 s,-$,, 25080 s/-\n.*//
24611 s,^['$as_cr_digits']*\n,,
24612 ' >$as_me.lineno && 25081 ' >$as_me.lineno &&
24613 chmod +x $as_me.lineno || 25082 chmod +x "$as_me.lineno" ||
24614 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
24615echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 25083 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24616 { (exit 1); exit 1; }; } 25084 { (exit 1); exit 1; }; }
24617 25085
24618 # Don't try to exec as it changes $[0], causing all sort of problems 25086 # Don't try to exec as it changes $[0], causing all sort of problems
24619 # (the dirname of $[0] is not the place where we might find the 25087 # (the dirname of $[0] is not the place where we might find the
24620 # original and so on. Autoconf is especially sensible to this). 25088 # original and so on. Autoconf is especially sensitive to this).
24621 . ./$as_me.lineno 25089 . "./$as_me.lineno"
24622 # Exit status is that of the last command. 25090 # Exit status is that of the last command.
24623 exit 25091 exit
24624} 25092}
24625 25093
24626 25094
24627case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 25095if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
24628 *c*,-n*) ECHO_N= ECHO_C=' 25096 as_dirname=dirname
24629' ECHO_T=' ' ;; 25097else
24630 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 25098 as_dirname=false
24631 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 25099fi
25100
25101ECHO_C= ECHO_N= ECHO_T=
25102case `echo -n x` in
25103-n*)
25104 case `echo 'x\c'` in
25105 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
25106 *) ECHO_C='\c';;
25107 esac;;
25108*)
25109 ECHO_N='-n';;
24632esac 25110esac
24633 25111
24634if expr a : '\(a\)' >/dev/null 2>&1; then 25112if expr a : '\(a\)' >/dev/null 2>&1 &&
25113 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24635 as_expr=expr 25114 as_expr=expr
24636else 25115else
24637 as_expr=false 25116 as_expr=false
24638fi 25117fi
24639 25118
24640rm -f conf$$ conf$$.exe conf$$.file 25119rm -f conf$$ conf$$.exe conf$$.file
25120if test -d conf$$.dir; then
25121 rm -f conf$$.dir/conf$$.file
25122else
25123 rm -f conf$$.dir
25124 mkdir conf$$.dir
25125fi
24641echo >conf$$.file 25126echo >conf$$.file
24642if ln -s conf$$.file conf$$ 2>/dev/null; then 25127if ln -s conf$$.file conf$$ 2>/dev/null; then
24643 # We could just check for DJGPP; but this test a) works b) is more generic 25128 as_ln_s='ln -s'
24644 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 25129 # ... but there are two gotchas:
24645 if test -f conf$$.exe; then 25130 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24646 # Don't use ln at all; we don't have any links 25131 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25132 # In both cases, we have to default to `cp -p'.
25133 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
24647 as_ln_s='cp -p' 25134 as_ln_s='cp -p'
24648 else
24649 as_ln_s='ln -s'
24650 fi
24651elif ln conf$$.file conf$$ 2>/dev/null; then 25135elif ln conf$$.file conf$$ 2>/dev/null; then
24652 as_ln_s=ln 25136 as_ln_s=ln
24653else 25137else
24654 as_ln_s='cp -p' 25138 as_ln_s='cp -p'
24655fi 25139fi
24656rm -f conf$$ conf$$.exe conf$$.file 25140rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25141rmdir conf$$.dir 2>/dev/null
24657 25142
24658if mkdir -p . 2>/dev/null; then 25143if mkdir -p . 2>/dev/null; then
24659 as_mkdir_p=: 25144 as_mkdir_p=:
24660else 25145else
24661 test -d ./-p && rmdir ./-p 25146 test -d ./-p && rmdir ./-p
24662 as_mkdir_p=false 25147 as_mkdir_p=false
24663fi 25148fi
24664 25149
25150if test -x / >/dev/null 2>&1; then
25151 as_test_x='test -x'
25152else
25153 if ls -dL / >/dev/null 2>&1; then
25154 as_ls_L_option=L
25155 else
25156 as_ls_L_option=
25157 fi
25158 as_test_x='
25159 eval sh -c '\''
25160 if test -d "$1"; then
25161 test -d "$1/.";
25162 else
25163 case $1 in
25164 -*)set "./$1";;
25165 esac;
25166 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
25167 ???[sx]*):;;*)false;;esac;fi
25168 '\'' sh
25169 '
25170fi
24665as_executable_p="test -f" 25171as_executable_p=$as_test_x
24666 25172
24667# Sed expression to map a string onto a valid CPP name. 25173# Sed expression to map a string onto a valid CPP name.
24668as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 25174as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24669 25175
24670# Sed expression to map a string onto a valid variable name. 25176# Sed expression to map a string onto a valid variable name.
24671as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 25177as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24672 25178
24673 25179
24674# IFS
24675# We need space, tab and new line, in precisely that order.
24676as_nl='
24677'
24678IFS=" $as_nl"
24679
24680# CDPATH.
24681$as_unset CDPATH
24682
24683exec 6>&1 25180exec 6>&1
24684 25181
24685# Open the log real soon, to keep \$[0] and so on meaningful, and to 25182# Save the log message, to keep $[0] and so on meaningful, and to
24686# report actual input values of CONFIG_FILES etc. instead of their 25183# report actual input values of CONFIG_FILES etc. instead of their
24687# values after options handling. Logging --version etc. is OK. 25184# values after options handling.
24688exec 5>>config.log 25185ac_log="
24689{
24690 echo
24691 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24692## Running $as_me. ##
24693_ASBOX
24694} >&5
24695cat >&5 <<_CSEOF
24696
24697This file was extended by libspf $as_me 1.0.0-p5, which was 25186This file was extended by libspf $as_me 1.0.0-p5, which was
24698generated by GNU Autoconf 2.59. Invocation command line was 25187generated by GNU Autoconf 2.61. Invocation command line was
24699 25188
24700 CONFIG_FILES = $CONFIG_FILES 25189 CONFIG_FILES = $CONFIG_FILES
24701 CONFIG_HEADERS = $CONFIG_HEADERS 25190 CONFIG_HEADERS = $CONFIG_HEADERS
24702 CONFIG_LINKS = $CONFIG_LINKS 25191 CONFIG_LINKS = $CONFIG_LINKS
24703 CONFIG_COMMANDS = $CONFIG_COMMANDS 25192 CONFIG_COMMANDS = $CONFIG_COMMANDS
24704 $ $0 $@ 25193 $ $0 $@
24705 25194
24706_CSEOF
24707echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 25195on `(hostname || uname -n) 2>/dev/null | sed 1q`
24708echo >&5 25196"
24709_ACEOF
24710 25197
25198_ACEOF
25199
25200cat >>$CONFIG_STATUS <<_ACEOF
24711# Files that config.status was made for. 25201# Files that config.status was made for.
24712if test -n "$ac_config_files"; then 25202config_files="$ac_config_files"
24713 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 25203config_headers="$ac_config_headers"
24714fi 25204config_commands="$ac_config_commands"
24715 25205
24716if test -n "$ac_config_headers"; then 25206_ACEOF
24717 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
24718fi
24719
24720if test -n "$ac_config_links"; then
24721 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
24722fi
24723
24724if test -n "$ac_config_commands"; then
24725 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
24726fi
24727 25207
24728cat >>$CONFIG_STATUS <<\_ACEOF 25208cat >>$CONFIG_STATUS <<\_ACEOF
24729
24730ac_cs_usage="\ 25209ac_cs_usage="\
24731\`$as_me' instantiates files from templates according to the 25210\`$as_me' instantiates files from templates according to the
24732current configuration. 25211current configuration.
24733 25212
24734Usage: $0 [OPTIONS] [FILE]... 25213Usage: $0 [OPTIONS] [FILE]...
24735 25214
24736 -h, --help print this help, then exit 25215 -h, --help print this help, then exit
24737 -V, --version print version number, then exit 25216 -V, --version print version number and configuration settings, then exit
24738 -q, --quiet do not print progress messages 25217 -q, --quiet do not print progress messages
24739 -d, --debug don't remove temporary files 25218 -d, --debug don't remove temporary files
24740 --recheck update $as_me by reconfiguring in the same conditions 25219 --recheck update $as_me by reconfiguring in the same conditions
24741 --file=FILE[:TEMPLATE] 25220 --file=FILE[:TEMPLATE]
24742 instantiate the configuration file FILE 25221 instantiate the configuration file FILE
24751 25230
24752Configuration commands: 25231Configuration commands:
24753$config_commands 25232$config_commands
24754 25233
24755Report bugs to <bug-autoconf@gnu.org>." 25234Report bugs to <bug-autoconf@gnu.org>."
24756_ACEOF
24757 25235
25236_ACEOF
24758cat >>$CONFIG_STATUS <<_ACEOF 25237cat >>$CONFIG_STATUS <<_ACEOF
24759ac_cs_version="\\ 25238ac_cs_version="\\
24760libspf config.status 1.0.0-p5 25239libspf config.status 1.0.0-p5
24761configured by $0, generated by GNU Autoconf 2.59, 25240configured by $0, generated by GNU Autoconf 2.61,
24762 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 25241 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24763 25242
24764Copyright (C) 2003 Free Software Foundation, Inc. 25243Copyright (C) 2006 Free Software Foundation, Inc.
24765This config.status script is free software; the Free Software Foundation 25244This config.status script is free software; the Free Software Foundation
24766gives unlimited permission to copy, distribute and modify it." 25245gives unlimited permission to copy, distribute and modify it."
25246
25247ac_pwd='$ac_pwd'
24767srcdir=$srcdir 25248srcdir='$srcdir'
24768INSTALL="$INSTALL" 25249INSTALL='$INSTALL'
24769_ACEOF 25250_ACEOF
24770 25251
24771cat >>$CONFIG_STATUS <<\_ACEOF 25252cat >>$CONFIG_STATUS <<\_ACEOF
24772# If no file are specified by the user, then we need to provide default 25253# If no file are specified by the user, then we need to provide default
24773# value. By we need to know if files were specified by the user. 25254# value. By we need to know if files were specified by the user.
24774ac_need_defaults=: 25255ac_need_defaults=:
24775while test $# != 0 25256while test $# != 0
24776do 25257do
24777 case $1 in 25258 case $1 in
24778 --*=*) 25259 --*=*)
24779 ac_option=`expr "x$1" : 'x\([^=]*\)='` 25260 ac_option=`expr "X$1" : 'X\([^=]*\)='`
24780 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 25261 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24781 ac_shift=: 25262 ac_shift=:
24782 ;; 25263 ;;
24783 -*) 25264 *)
24784 ac_option=$1 25265 ac_option=$1
24785 ac_optarg=$2 25266 ac_optarg=$2
24786 ac_shift=shift 25267 ac_shift=shift
24787 ;; 25268 ;;
24788 *) # This is not an option, so the user has probably given explicit
24789 # arguments.
24790 ac_option=$1
24791 ac_need_defaults=false;;
24792 esac 25269 esac
24793 25270
24794 case $ac_option in 25271 case $ac_option in
24795 # Handling of the options. 25272 # Handling of the options.
24796_ACEOF
24797cat >>$CONFIG_STATUS <<\_ACEOF
24798 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 25273 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24799 ac_cs_recheck=: ;; 25274 ac_cs_recheck=: ;;
24800 --version | --vers* | -V ) 25275 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24801 echo "$ac_cs_version"; exit 0 ;; 25276 echo "$ac_cs_version"; exit ;;
24802 --he | --h) 25277 --debug | --debu | --deb | --de | --d | -d )
24803 # Conflict between --help and --header
24804 { { echo "$as_me:$LINENO: error: ambiguous option: $1
24805Try \`$0 --help' for more information." >&5
24806echo "$as_me: error: ambiguous option: $1
24807Try \`$0 --help' for more information." >&2;}
24808 { (exit 1); exit 1; }; };;
24809 --help | --hel | -h )
24810 echo "$ac_cs_usage"; exit 0 ;;
24811 --debug | --d* | -d )
24812 debug=: ;; 25278 debug=: ;;
24813 --file | --fil | --fi | --f ) 25279 --file | --fil | --fi | --f )
24814 $ac_shift 25280 $ac_shift
24815 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 25281 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24816 ac_need_defaults=false;; 25282 ac_need_defaults=false;;
24817 --header | --heade | --head | --hea ) 25283 --header | --heade | --head | --hea )
24818 $ac_shift 25284 $ac_shift
24819 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 25285 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24820 ac_need_defaults=false;; 25286 ac_need_defaults=false;;
25287 --he | --h)
25288 # Conflict between --help and --header
25289 { echo "$as_me: error: ambiguous option: $1
25290Try \`$0 --help' for more information." >&2
25291 { (exit 1); exit 1; }; };;
25292 --help | --hel | -h )
25293 echo "$ac_cs_usage"; exit ;;
24821 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 25294 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24822 | -silent | --silent | --silen | --sile | --sil | --si | --s) 25295 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24823 ac_cs_silent=: ;; 25296 ac_cs_silent=: ;;
24824 25297
24825 # This is an error. 25298 # This is an error.
24826 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
24827Try \`$0 --help' for more information." >&5
24828echo "$as_me: error: unrecognized option: $1 25299 -*) { echo "$as_me: error: unrecognized option: $1
24829Try \`$0 --help' for more information." >&2;} 25300Try \`$0 --help' for more information." >&2
24830 { (exit 1); exit 1; }; } ;; 25301 { (exit 1); exit 1; }; } ;;
24831 25302
24832 *) ac_config_targets="$ac_config_targets $1" ;; 25303 *) ac_config_targets="$ac_config_targets $1"
25304 ac_need_defaults=false ;;
24833 25305
24834 esac 25306 esac
24835 shift 25307 shift
24836done 25308done
24837 25309
24843fi 25315fi
24844 25316
24845_ACEOF 25317_ACEOF
24846cat >>$CONFIG_STATUS <<_ACEOF 25318cat >>$CONFIG_STATUS <<_ACEOF
24847if \$ac_cs_recheck; then 25319if \$ac_cs_recheck; then
24848 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 25320 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
25321 CONFIG_SHELL=$SHELL
25322 export CONFIG_SHELL
24849 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 25323 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24850fi 25324fi
24851 25325
24852_ACEOF 25326_ACEOF
25327cat >>$CONFIG_STATUS <<\_ACEOF
25328exec 5>>config.log
25329{
25330 echo
25331 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25332## Running $as_me. ##
25333_ASBOX
25334 echo "$ac_log"
25335} >&5
24853 25336
25337_ACEOF
24854cat >>$CONFIG_STATUS <<_ACEOF 25338cat >>$CONFIG_STATUS <<_ACEOF
24855# 25339#
24856# INIT-COMMANDS section. 25340# INIT-COMMANDS
24857# 25341#
24858
24859AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 25342AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
24860 25343
24861_ACEOF 25344_ACEOF
24862 25345
24863
24864
24865cat >>$CONFIG_STATUS <<\_ACEOF 25346cat >>$CONFIG_STATUS <<\_ACEOF
25347
25348# Handling of arguments.
24866for ac_config_target in $ac_config_targets 25349for ac_config_target in $ac_config_targets
24867do 25350do
24868 case "$ac_config_target" in 25351 case $ac_config_target in
24869 # Handling of arguments. 25352 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
25353 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
24870 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 25354 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24871 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 25355 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
24872 "src/libspf/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libspf/Makefile" ;; 25356 "src/libspf/Makefile") CONFIG_FILES="$CONFIG_FILES src/libspf/Makefile" ;;
24873 "src/spfqtool/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/spfqtool/Makefile" ;; 25357 "src/spfqtool/Makefile") CONFIG_FILES="$CONFIG_FILES src/spfqtool/Makefile" ;;
24874 "src/libspf/spf.h" ) CONFIG_FILES="$CONFIG_FILES src/libspf/spf.h" ;; 25358 "src/libspf/spf.h") CONFIG_FILES="$CONFIG_FILES src/libspf/spf.h" ;;
24875 "src/libspf/util.c" ) CONFIG_FILES="$CONFIG_FILES src/libspf/util.c" ;; 25359 "src/libspf/util.c") CONFIG_FILES="$CONFIG_FILES src/libspf/util.c" ;;
24876 "src/spfmilter/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/spfmilter/Makefile" ;; 25360 "src/spfmilter/Makefile") CONFIG_FILES="$CONFIG_FILES src/spfmilter/Makefile" ;;
24877 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 25361
24878 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
24879 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 25362 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24880echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 25363echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24881 { (exit 1); exit 1; }; };; 25364 { (exit 1); exit 1; }; };;
24882 esac 25365 esac
24883done 25366done
25367
24884 25368
24885# If the user did not use the arguments to specify the items to instantiate, 25369# If the user did not use the arguments to specify the items to instantiate,
24886# then the envvar interface is used. Set only those that are not. 25370# then the envvar interface is used. Set only those that are not.
24887# We use the long form for the default assignment because of an extremely 25371# We use the long form for the default assignment because of an extremely
24888# bizarre bug on SunOS 4.1.3. 25372# bizarre bug on SunOS 4.1.3.
24891 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 25375 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24892 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 25376 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24893fi 25377fi
24894 25378
24895# Have a temporary directory for convenience. Make it in the build tree 25379# Have a temporary directory for convenience. Make it in the build tree
24896# simply because there is no reason to put it here, and in addition, 25380# simply because there is no reason against having it here, and in addition,
24897# creating and moving files from /tmp can sometimes cause problems. 25381# creating and moving files from /tmp can sometimes cause problems.
24898# Create a temporary directory, and hook for its removal unless debugging. 25382# Hook for its removal unless debugging.
25383# Note that there is a small window in which the directory will not be cleaned:
25384# after its creation but before its name has been assigned to `$tmp'.
24899$debug || 25385$debug ||
24900{ 25386{
24901 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 25387 tmp=
25388 trap 'exit_status=$?
25389 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
25390' 0
24902 trap '{ (exit 1); exit 1; }' 1 2 13 15 25391 trap '{ (exit 1); exit 1; }' 1 2 13 15
24903} 25392}
24904
24905# Create a (secure) tmp directory for tmp files. 25393# Create a (secure) tmp directory for tmp files.
24906 25394
24907{ 25395{
24908 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 25396 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24909 test -n "$tmp" && test -d "$tmp" 25397 test -n "$tmp" && test -d "$tmp"
24910} || 25398} ||
24911{ 25399{
24912 tmp=./confstat$$-$RANDOM 25400 tmp=./conf$$-$RANDOM
24913 (umask 077 && mkdir $tmp) 25401 (umask 077 && mkdir "$tmp")
24914} || 25402} ||
24915{ 25403{
24916 echo "$me: cannot create a temporary directory in ." >&2 25404 echo "$me: cannot create a temporary directory in ." >&2
24917 { (exit 1); exit 1; } 25405 { (exit 1); exit 1; }
24918} 25406}
24919 25407
24920_ACEOF
24921
24922cat >>$CONFIG_STATUS <<_ACEOF
24923
24924# 25408#
24925# CONFIG_FILES section. 25409# Set up the sed scripts for CONFIG_FILES section.
24926# 25410#
24927 25411
24928# No need to generate the scripts if there are no CONFIG_FILES. 25412# No need to generate the scripts if there are no CONFIG_FILES.
24929# This happens for instance when ./config.status config.h 25413# This happens for instance when ./config.status config.h
24930if test -n "\$CONFIG_FILES"; then 25414if test -n "$CONFIG_FILES"; then
24931 # Protect against being on the right side of a sed subst in config.status. 25415
24932 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 25416_ACEOF
24933 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 25417
24934s,@SHELL@,$SHELL,;t t 25418# Create sed commands to just substitute file output variables.
24935s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 25419
24936s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 25420# Remaining file output variables are in a fragment that also has non-file
25421# output varibles.
25422
25423
25424
25425ac_delim='%!_!# '
25426for ac_last_try in false false false false false :; do
25427 cat >conf$$subs.sed <<_ACEOF
25428SHELL!$SHELL$ac_delim
25429PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
25430PACKAGE_NAME!$PACKAGE_NAME$ac_delim
24937s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 25431PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
24938s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 25432PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
24939s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 25433PACKAGE_STRING!$PACKAGE_STRING$ac_delim
24940s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 25434PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
24941s,@exec_prefix@,$exec_prefix,;t t 25435exec_prefix!$exec_prefix$ac_delim
24942s,@prefix@,$prefix,;t t 25436prefix!$prefix$ac_delim
24943s,@program_transform_name@,$program_transform_name,;t t 25437program_transform_name!$program_transform_name$ac_delim
24944s,@bindir@,$bindir,;t t 25438bindir!$bindir$ac_delim
24945s,@sbindir@,$sbindir,;t t 25439sbindir!$sbindir$ac_delim
24946s,@libexecdir@,$libexecdir,;t t 25440libexecdir!$libexecdir$ac_delim
24947s,@datadir@,$datadir,;t t 25441datarootdir!$datarootdir$ac_delim
24948s,@sysconfdir@,$sysconfdir,;t t 25442datadir!$datadir$ac_delim
24949s,@sharedstatedir@,$sharedstatedir,;t t 25443sysconfdir!$sysconfdir$ac_delim
24950s,@localstatedir@,$localstatedir,;t t 25444sharedstatedir!$sharedstatedir$ac_delim
24951s,@libdir@,$libdir,;t t 25445localstatedir!$localstatedir$ac_delim
24952s,@includedir@,$includedir,;t t 25446includedir!$includedir$ac_delim
24953s,@oldincludedir@,$oldincludedir,;t t 25447oldincludedir!$oldincludedir$ac_delim
24954s,@infodir@,$infodir,;t t 25448docdir!$docdir$ac_delim
24955s,@mandir@,$mandir,;t t 25449infodir!$infodir$ac_delim
24956s,@build_alias@,$build_alias,;t t 25450htmldir!$htmldir$ac_delim
24957s,@host_alias@,$host_alias,;t t 25451dvidir!$dvidir$ac_delim
24958s,@target_alias@,$target_alias,;t t 25452pdfdir!$pdfdir$ac_delim
24959s,@DEFS@,$DEFS,;t t 25453psdir!$psdir$ac_delim
24960s,@ECHO_C@,$ECHO_C,;t t 25454libdir!$libdir$ac_delim
24961s,@ECHO_N@,$ECHO_N,;t t 25455localedir!$localedir$ac_delim
24962s,@ECHO_T@,$ECHO_T,;t t 25456mandir!$mandir$ac_delim
24963s,@LIBS@,$LIBS,;t t 25457DEFS!$DEFS$ac_delim
25458ECHO_C!$ECHO_C$ac_delim
25459ECHO_N!$ECHO_N$ac_delim
25460ECHO_T!$ECHO_T$ac_delim
25461LIBS!$LIBS$ac_delim
25462build_alias!$build_alias$ac_delim
25463host_alias!$host_alias$ac_delim
25464target_alias!$target_alias$ac_delim
24964s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 25465INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
24965s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 25466INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
24966s,@INSTALL_DATA@,$INSTALL_DATA,;t t 25467INSTALL_DATA!$INSTALL_DATA$ac_delim
24967s,@PACKAGE@,$PACKAGE,;t t 25468PACKAGE!$PACKAGE$ac_delim
24968s,@VERSION@,$VERSION,;t t 25469VERSION!$VERSION$ac_delim
24969s,@ACLOCAL@,$ACLOCAL,;t t 25470ACLOCAL!$ACLOCAL$ac_delim
24970s,@AUTOCONF@,$AUTOCONF,;t t 25471AUTOCONF!$AUTOCONF$ac_delim
24971s,@AUTOMAKE@,$AUTOMAKE,;t t 25472AUTOMAKE!$AUTOMAKE$ac_delim
24972s,@AUTOHEADER@,$AUTOHEADER,;t t 25473AUTOHEADER!$AUTOHEADER$ac_delim
24973s,@MAKEINFO@,$MAKEINFO,;t t 25474MAKEINFO!$MAKEINFO$ac_delim
24974s,@AMTAR@,$AMTAR,;t t 25475AMTAR!$AMTAR$ac_delim
24975s,@install_sh@,$install_sh,;t t 25476install_sh!$install_sh$ac_delim
24976s,@STRIP@,$STRIP,;t t 25477STRIP!$STRIP$ac_delim
24977s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
24978s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 25478INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
24979s,@AWK@,$AWK,;t t 25479AWK!$AWK$ac_delim
24980s,@SET_MAKE@,$SET_MAKE,;t t 25480SET_MAKE!$SET_MAKE$ac_delim
24981s,@CC@,$CC,;t t 25481CC!$CC$ac_delim
24982s,@CFLAGS@,$CFLAGS,;t t 25482CFLAGS!$CFLAGS$ac_delim
24983s,@LDFLAGS@,$LDFLAGS,;t t 25483LDFLAGS!$LDFLAGS$ac_delim
24984s,@CPPFLAGS@,$CPPFLAGS,;t t 25484CPPFLAGS!$CPPFLAGS$ac_delim
24985s,@ac_ct_CC@,$ac_ct_CC,;t t 25485ac_ct_CC!$ac_ct_CC$ac_delim
24986s,@EXEEXT@,$EXEEXT,;t t 25486EXEEXT!$EXEEXT$ac_delim
24987s,@OBJEXT@,$OBJEXT,;t t 25487OBJEXT!$OBJEXT$ac_delim
24988s,@DEPDIR@,$DEPDIR,;t t 25488DEPDIR!$DEPDIR$ac_delim
24989s,@am__include@,$am__include,;t t 25489am__include!$am__include$ac_delim
24990s,@am__quote@,$am__quote,;t t 25490am__quote!$am__quote$ac_delim
24991s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t 25491AMDEP_TRUE!$AMDEP_TRUE$ac_delim
24992s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t 25492AMDEP_FALSE!$AMDEP_FALSE$ac_delim
24993s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 25493AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
24994s,@CCDEPMODE@,$CCDEPMODE,;t t 25494CCDEPMODE!$CCDEPMODE$ac_delim
24995s,@LN_S@,$LN_S,;t t 25495LN_S!$LN_S$ac_delim
24996s,@RANLIB@,$RANLIB,;t t 25496RANLIB!$RANLIB$ac_delim
24997s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 25497CPP!$CPP$ac_delim
24998s,@CPP@,$CPP,;t t 25498GCC_TRUE!$GCC_TRUE$ac_delim
24999s,@GCC_TRUE@,$GCC_TRUE,;t t 25499GCC_FALSE!$GCC_FALSE$ac_delim
25000s,@GCC_FALSE@,$GCC_FALSE,;t t 25500build!$build$ac_delim
25001s,@build@,$build,;t t 25501build_cpu!$build_cpu$ac_delim
25002s,@build_cpu@,$build_cpu,;t t 25502build_vendor!$build_vendor$ac_delim
25003s,@build_vendor@,$build_vendor,;t t 25503build_os!$build_os$ac_delim
25004s,@build_os@,$build_os,;t t 25504host!$host$ac_delim
25005s,@host@,$host,;t t 25505host_cpu!$host_cpu$ac_delim
25006s,@host_cpu@,$host_cpu,;t t 25506host_vendor!$host_vendor$ac_delim
25007s,@host_vendor@,$host_vendor,;t t 25507host_os!$host_os$ac_delim
25008s,@host_os@,$host_os,;t t 25508GREP!$GREP$ac_delim
25009s,@EGREP@,$EGREP,;t t 25509EGREP!$EGREP$ac_delim
25010s,@ECHO@,$ECHO,;t t 25510ECHO!$ECHO$ac_delim
25011s,@AR@,$AR,;t t 25511AR!$AR$ac_delim
25012s,@ac_ct_AR@,$ac_ct_AR,;t t 25512CXX!$CXX$ac_delim
25013s,@CXX@,$CXX,;t t 25513CXXFLAGS!$CXXFLAGS$ac_delim
25014s,@CXXFLAGS@,$CXXFLAGS,;t t 25514ac_ct_CXX!$ac_ct_CXX$ac_delim
25015s,@ac_ct_CXX@,$ac_ct_CXX,;t t 25515CXXDEPMODE!$CXXDEPMODE$ac_delim
25016s,@CXXDEPMODE@,$CXXDEPMODE,;t t 25516CXXCPP!$CXXCPP$ac_delim
25017s,@CXXCPP@,$CXXCPP,;t t 25517F77!$F77$ac_delim
25018s,@F77@,$F77,;t t 25518FFLAGS!$FFLAGS$ac_delim
25019s,@FFLAGS@,$FFLAGS,;t t 25519_ACEOF
25020s,@ac_ct_F77@,$ac_ct_F77,;t t 25520
25021s,@LIBTOOL@,$LIBTOOL,;t t 25521 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 91; then
25022s,@enable_shared@,$enable_shared,;t t 25522 break
25023s,@enable_static@,$enable_static,;t t 25523 elif $ac_last_try; then
25024s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t 25524 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25525echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25526 { (exit 1); exit 1; }; }
25527 else
25528 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25529 fi
25530done
25531
25532ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25533if test -n "$ac_eof"; then
25534 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
25535 ac_eof=`expr $ac_eof + 1`
25536fi
25537
25538cat >>$CONFIG_STATUS <<_ACEOF
25539cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
25540/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25541/^[ ]*@__BEGIN_DECLS_INCL@[ ]*$/{
25542r $__BEGIN_DECLS_INCL
25543d
25544}
25545/^[ ]*@__END_DECLS_INCL@[ ]*$/{
25546r $__END_DECLS_INCL
25547d
25548}
25549_ACEOF
25550sed '
25551s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25552s/^/s,@/; s/!/@,|#_!!_#|/
25553:n
25554t n
25555s/'"$ac_delim"'$/,g/; t
25556s/$/\\/; p
25557N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25558' >>$CONFIG_STATUS <conf$$subs.sed
25559rm -f conf$$subs.sed
25560cat >>$CONFIG_STATUS <<_ACEOF
25561CEOF$ac_eof
25562_ACEOF
25563
25564
25565ac_delim='%!_!# '
25566for ac_last_try in false false false false false :; do
25567 cat >conf$$subs.sed <<_ACEOF
25568ac_ct_F77!$ac_ct_F77$ac_delim
25569LIBTOOL!$LIBTOOL$ac_delim
25570enable_shared!$enable_shared$ac_delim
25571enable_static!$enable_static$ac_delim
25572LIBTOOL_DEPS!$LIBTOOL_DEPS$ac_delim
25025s,@LIBSPF_MAJOR_VERSION@,$LIBSPF_MAJOR_VERSION,;t t 25573LIBSPF_MAJOR_VERSION!$LIBSPF_MAJOR_VERSION$ac_delim
25026s,@LIBSPF_MINOR_VERSION@,$LIBSPF_MINOR_VERSION,;t t 25574LIBSPF_MINOR_VERSION!$LIBSPF_MINOR_VERSION$ac_delim
25027s,@LIBSPF_MICRO_VERSION@,$LIBSPF_MICRO_VERSION,;t t 25575LIBSPF_MICRO_VERSION!$LIBSPF_MICRO_VERSION$ac_delim
25028s,@LIBSPF_VERSION@,$LIBSPF_VERSION,;t t 25576LIBSPF_VERSION!$LIBSPF_VERSION$ac_delim
25029s,@LIBSPF_INTERFACE_AGE@,$LIBSPF_INTERFACE_AGE,;t t 25577LIBSPF_INTERFACE_AGE!$LIBSPF_INTERFACE_AGE$ac_delim
25030s,@LIBSPF_BINARY_AGE@,$LIBSPF_BINARY_AGE,;t t 25578LIBSPF_BINARY_AGE!$LIBSPF_BINARY_AGE$ac_delim
25031s,@LT_RELEASE@,$LT_RELEASE,;t t 25579LT_RELEASE!$LT_RELEASE$ac_delim
25032s,@LT_CURRENT@,$LT_CURRENT,;t t 25580LT_CURRENT!$LT_CURRENT$ac_delim
25033s,@LT_REVISION@,$LT_REVISION,;t t 25581LT_REVISION!$LT_REVISION$ac_delim
25034s,@LT_AGE@,$LT_AGE,;t t 25582LT_AGE!$LT_AGE$ac_delim
25035s,@UNSIGNED_INT_ARG@,$UNSIGNED_INT_ARG,;t t 25583UNSIGNED_INT_ARG!$UNSIGNED_INT_ARG$ac_delim
25036s,@LIBOBJS@,$LIBOBJS,;t t 25584LIBOBJS!$LIBOBJS$ac_delim
25037s,@__BEGIN_DECLS@,$__BEGIN_DECLS,;t t 25585__BEGIN_DECLS!$__BEGIN_DECLS$ac_delim
25038s,@__END_DECLS@,$__END_DECLS,;t t 25586__END_DECLS!$__END_DECLS$ac_delim
25039s,@LIBSPF_RESOLV_LIB@,$LIBSPF_RESOLV_LIB,;t t 25587LIBSPF_RESOLV_LIB!$LIBSPF_RESOLV_LIB$ac_delim
25040s,@LIBSPF_PTHREADS_LIB@,$LIBSPF_PTHREADS_LIB,;t t 25588LIBSPF_PTHREADS_LIB!$LIBSPF_PTHREADS_LIB$ac_delim
25041s,@LIBSPF_BUILD_DIRS@,$LIBSPF_BUILD_DIRS,;t t 25589LIBSPF_BUILD_DIRS!$LIBSPF_BUILD_DIRS$ac_delim
25042s,@LTLIBOBJS@,$LTLIBOBJS,;t t 25590LTLIBOBJS!$LTLIBOBJS$ac_delim
25043/@__BEGIN_DECLS_INCL@/r $__BEGIN_DECLS_INCL
25044s,@__BEGIN_DECLS_INCL@,,;t t
25045/@__END_DECLS_INCL@/r $__END_DECLS_INCL
25046s,@__END_DECLS_INCL@,,;t t
25047CEOF 25591_ACEOF
25048 25592
25049_ACEOF 25593 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 23; then
25594 break
25595 elif $ac_last_try; then
25596 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25597echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25598 { (exit 1); exit 1; }; }
25599 else
25600 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25601 fi
25602done
25050 25603
25604ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25605if test -n "$ac_eof"; then
25606 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
25607 ac_eof=`expr $ac_eof + 1`
25608fi
25609
25610cat >>$CONFIG_STATUS <<_ACEOF
25611cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
25612/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
25613_ACEOF
25614sed '
25615s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25616s/^/s,@/; s/!/@,|#_!!_#|/
25617:n
25618t n
25619s/'"$ac_delim"'$/,g/; t
25620s/$/\\/; p
25621N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25622' >>$CONFIG_STATUS <conf$$subs.sed
25623rm -f conf$$subs.sed
25624cat >>$CONFIG_STATUS <<_ACEOF
25625:end
25626s/|#_!!_#|//g
25627CEOF$ac_eof
25628_ACEOF
25629
25630
25631# VPATH may cause trouble with some makes, so we remove $(srcdir),
25632# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25633# trailing colons and then remove the whole line if VPATH becomes empty
25634# (actually we leave an empty line to preserve line numbers).
25635if test "x$srcdir" = x.; then
25636 ac_vpsub='/^[ ]*VPATH[ ]*=/{
25637s/:*\$(srcdir):*/:/
25638s/:*\${srcdir}:*/:/
25639s/:*@srcdir@:*/:/
25640s/^\([^=]*=[ ]*\):*/\1/
25641s/:*$//
25642s/^[^=]*=[ ]*$//
25643}'
25644fi
25645
25051 cat >>$CONFIG_STATUS <<\_ACEOF 25646cat >>$CONFIG_STATUS <<\_ACEOF
25052 # Split the substitutions into bite-sized pieces for seds with 25647fi # test -n "$CONFIG_FILES"
25053 # small command number limits, like on Digital OSF/1 and HP-UX. 25648
25054 ac_max_sed_lines=48 25649
25055 ac_sed_frag=1 # Number of current file. 25650for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
25056 ac_beg=1 # First line for current file. 25651do
25057 ac_end=$ac_max_sed_lines # Line after last line for current file. 25652 case $ac_tag in
25058 ac_more_lines=: 25653 :[FHLC]) ac_mode=$ac_tag; continue;;
25059 ac_sed_cmds= 25654 esac
25060 while $ac_more_lines; do 25655 case $ac_mode$ac_tag in
25061 if test $ac_beg -gt 1; then 25656 :[FHL]*:*);;
25062 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 25657 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
25063 else 25658echo "$as_me: error: Invalid tag $ac_tag." >&2;}
25064 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 25659 { (exit 1); exit 1; }; };;
25660 :[FH]-) ac_tag=-:-;;
25661 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
25662 esac
25663 ac_save_IFS=$IFS
25664 IFS=:
25665 set x $ac_tag
25666 IFS=$ac_save_IFS
25667 shift
25668 ac_file=$1
25669 shift
25670
25671 case $ac_mode in
25672 :L) ac_source=$1;;
25673 :[FH])
25674 ac_file_inputs=
25675 for ac_f
25676 do
25677 case $ac_f in
25678 -) ac_f="$tmp/stdin";;
25679 *) # Look for the file first in the build tree, then in the source tree
25680 # (if the path is not absolute). The absolute path cannot be DOS-style,
25681 # because $ac_f cannot contain `:'.
25682 test -f "$ac_f" ||
25683 case $ac_f in
25684 [\\/$]*) false;;
25685 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
25686 esac ||
25687 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25688echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25689 { (exit 1); exit 1; }; };;
25690 esac
25691 ac_file_inputs="$ac_file_inputs $ac_f"
25692 done
25693
25694 # Let's still pretend it is `configure' which instantiates (i.e., don't
25695 # use $as_me), people would be surprised to read:
25696 # /* config.h. Generated by config.status. */
25697 configure_input="Generated from "`IFS=:
25698 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
25699 if test x"$ac_file" != x-; then
25700 configure_input="$ac_file. $configure_input"
25701 { echo "$as_me:$LINENO: creating $ac_file" >&5
25702echo "$as_me: creating $ac_file" >&6;}
25065 fi 25703 fi
25066 if test ! -s $tmp/subs.frag; then
25067 ac_more_lines=false
25068 else
25069 # The purpose of the label and of the branching condition is to
25070 # speed up the sed processing (if there are no `@' at all, there
25071 # is no need to browse any of the substitutions).
25072 # These are the two extra sed commands mentioned above.
25073 (echo ':t
25074 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
25075 if test -z "$ac_sed_cmds"; then
25076 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
25077 else
25078 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
25079 fi
25080 ac_sed_frag=`expr $ac_sed_frag + 1`
25081 ac_beg=$ac_end
25082 ac_end=`expr $ac_end + $ac_max_sed_lines`
25083 fi
25084 done
25085 if test -z "$ac_sed_cmds"; then
25086 ac_sed_cmds=cat
25087 fi
25088fi # test -n "$CONFIG_FILES"
25089 25704
25090_ACEOF
25091cat >>$CONFIG_STATUS <<\_ACEOF
25092for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
25093 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25094 case $ac_file in 25705 case $ac_tag in
25095 - | *:- | *:-:* ) # input from stdin 25706 *:-:* | *:-) cat >"$tmp/stdin";;
25096 cat >$tmp/stdin 25707 esac
25097 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 25708 ;;
25098 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25099 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25100 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25101 * ) ac_file_in=$ac_file.in ;;
25102 esac 25709 esac
25103 25710
25104 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 25711 ac_dir=`$as_dirname -- "$ac_file" ||
25105 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
25106$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 25712$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25107 X"$ac_file" : 'X\(//\)[^/]' \| \ 25713 X"$ac_file" : 'X\(//\)[^/]' \| \
25108 X"$ac_file" : 'X\(//\)$' \| \ 25714 X"$ac_file" : 'X\(//\)$' \| \
25109 X"$ac_file" : 'X\(/\)' \| \ 25715 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25110 . : '\(.\)' 2>/dev/null ||
25111echo X"$ac_file" | 25716echo X"$ac_file" |
25112 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 25717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25113 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 25718 s//\1/
25114 /^X\(\/\/\)$/{ s//\1/; q; } 25719 q
25115 /^X\(\/\).*/{ s//\1/; q; } 25720 }
25721 /^X\(\/\/\)[^/].*/{
25722 s//\1/
25723 q
25724 }
25725 /^X\(\/\/\)$/{
25726 s//\1/
25727 q
25728 }
25729 /^X\(\/\).*/{
25730 s//\1/
25731 q
25732 }
25116 s/.*/./; q'` 25733 s/.*/./; q'`
25117 { if $as_mkdir_p; then
25118 mkdir -p "$ac_dir"
25119 else
25120 as_dir="$ac_dir" 25734 { as_dir="$ac_dir"
25735 case $as_dir in #(
25736 -*) as_dir=./$as_dir;;
25737 esac
25738 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25121 as_dirs= 25739 as_dirs=
25122 while test ! -d "$as_dir"; do 25740 while :; do
25741 case $as_dir in #(
25742 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25743 *) as_qdir=$as_dir;;
25744 esac
25123 as_dirs="$as_dir $as_dirs" 25745 as_dirs="'$as_qdir' $as_dirs"
25124 as_dir=`(dirname "$as_dir") 2>/dev/null || 25746 as_dir=`$as_dirname -- "$as_dir" ||
25125$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 25747$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25126 X"$as_dir" : 'X\(//\)[^/]' \| \ 25748 X"$as_dir" : 'X\(//\)[^/]' \| \
25127 X"$as_dir" : 'X\(//\)$' \| \ 25749 X"$as_dir" : 'X\(//\)$' \| \
25128 X"$as_dir" : 'X\(/\)' \| \ 25750 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25129 . : '\(.\)' 2>/dev/null ||
25130echo X"$as_dir" | 25751echo X"$as_dir" |
25131 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 25752 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25132 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 25753 s//\1/
25133 /^X\(\/\/\)$/{ s//\1/; q; } 25754 q
25134 /^X\(\/\).*/{ s//\1/; q; } 25755 }
25756 /^X\(\/\/\)[^/].*/{
25757 s//\1/
25758 q
25759 }
25760 /^X\(\/\/\)$/{
25761 s//\1/
25762 q
25763 }
25764 /^X\(\/\).*/{
25765 s//\1/
25766 q
25767 }
25135 s/.*/./; q'` 25768 s/.*/./; q'`
25769 test -d "$as_dir" && break
25136 done 25770 done
25137 test ! -n "$as_dirs" || mkdir $as_dirs 25771 test -z "$as_dirs" || eval "mkdir $as_dirs"
25138 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 25772 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25139echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 25773echo "$as_me: error: cannot create directory $as_dir" >&2;}
25140 { (exit 1); exit 1; }; }; } 25774 { (exit 1); exit 1; }; }; }
25141
25142 ac_builddir=. 25775 ac_builddir=.
25143 25776
25144if test "$ac_dir" != .; then 25777case "$ac_dir" in
25778.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25779*)
25145 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 25780 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25146 # A "../" for each directory in $ac_dir_suffix. 25781 # A ".." for each directory in $ac_dir_suffix.
25147 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 25782 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25148else 25783 case $ac_top_builddir_sub in
25149 ac_dir_suffix= ac_top_builddir= 25784 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25150fi 25785 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25786 esac ;;
25787esac
25788ac_abs_top_builddir=$ac_pwd
25789ac_abs_builddir=$ac_pwd$ac_dir_suffix
25790# for backward compatibility:
25791ac_top_builddir=$ac_top_build_prefix
25151 25792
25152case $srcdir in 25793case $srcdir in
25153 .) # No --srcdir option. We are building in place. 25794 .) # We are building in place.
25154 ac_srcdir=. 25795 ac_srcdir=.
25155 if test -z "$ac_top_builddir"; then 25796 ac_top_srcdir=$ac_top_builddir_sub
25156 ac_top_srcdir=. 25797 ac_abs_top_srcdir=$ac_pwd ;;
25157 else
25158 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25159 fi ;;
25160 [\\/]* | ?:[\\/]* ) # Absolute path. 25798 [\\/]* | ?:[\\/]* ) # Absolute name.
25161 ac_srcdir=$srcdir$ac_dir_suffix; 25799 ac_srcdir=$srcdir$ac_dir_suffix;
25162 ac_top_srcdir=$srcdir ;; 25800 ac_top_srcdir=$srcdir
25801 ac_abs_top_srcdir=$srcdir ;;
25163 *) # Relative path. 25802 *) # Relative name.
25164 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 25803 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
25165 ac_top_srcdir=$ac_top_builddir$srcdir ;; 25804 ac_top_srcdir=$ac_top_build_prefix$srcdir
25805 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
25166esac 25806esac
25807ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
25167 25808
25168# Do not use `cd foo && pwd` to compute absolute paths, because 25809
25169# the directories may not exist.
25170case `pwd` in
25171.) ac_abs_builddir="$ac_dir";;
25172*)
25173 case "$ac_dir" in 25810 case $ac_mode in
25174 .) ac_abs_builddir=`pwd`;; 25811 :F)
25175 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 25812 #
25176 *) ac_abs_builddir=`pwd`/"$ac_dir";; 25813 # CONFIG_FILE
25177 esac;; 25814 #
25178esac
25179case $ac_abs_builddir in
25180.) ac_abs_top_builddir=${ac_top_builddir}.;;
25181*)
25182 case ${ac_top_builddir}. in
25183 .) ac_abs_top_builddir=$ac_abs_builddir;;
25184 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
25185 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
25186 esac;;
25187esac
25188case $ac_abs_builddir in
25189.) ac_abs_srcdir=$ac_srcdir;;
25190*)
25191 case $ac_srcdir in
25192 .) ac_abs_srcdir=$ac_abs_builddir;;
25193 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
25194 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
25195 esac;;
25196esac
25197case $ac_abs_builddir in
25198.) ac_abs_top_srcdir=$ac_top_srcdir;;
25199*)
25200 case $ac_top_srcdir in
25201 .) ac_abs_top_srcdir=$ac_abs_builddir;;
25202 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
25203 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
25204 esac;;
25205esac
25206
25207 25815
25208 case $INSTALL in 25816 case $INSTALL in
25209 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 25817 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25210 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 25818 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
25211 esac 25819 esac
25212
25213 if test x"$ac_file" != x-; then
25214 { echo "$as_me:$LINENO: creating $ac_file" >&5
25215echo "$as_me: creating $ac_file" >&6;}
25216 rm -f "$ac_file"
25217 fi
25218 # Let's still pretend it is `configure' which instantiates (i.e., don't
25219 # use $as_me), people would be surprised to read:
25220 # /* config.h. Generated by config.status. */
25221 if test x"$ac_file" = x-; then
25222 configure_input=
25223 else
25224 configure_input="$ac_file. "
25225 fi
25226 configure_input=$configure_input"Generated from `echo $ac_file_in |
25227 sed 's,.*/,,'` by configure."
25228
25229 # First look for the input files in the build tree, otherwise in the
25230 # src tree.
25231 ac_file_inputs=`IFS=:
25232 for f in $ac_file_in; do
25233 case $f in
25234 -) echo $tmp/stdin ;;
25235 [\\/$]*)
25236 # Absolute (can't be DOS-style, as IFS=:)
25237 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25238echo "$as_me: error: cannot find input file: $f" >&2;}
25239 { (exit 1); exit 1; }; }
25240 echo "$f";;
25241 *) # Relative
25242 if test -f "$f"; then
25243 # Build tree
25244 echo "$f"
25245 elif test -f "$srcdir/$f"; then
25246 # Source tree
25247 echo "$srcdir/$f"
25248 else
25249 # /dev/null tree
25250 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25251echo "$as_me: error: cannot find input file: $f" >&2;}
25252 { (exit 1); exit 1; }; }
25253 fi;;
25254 esac
25255 done` || { (exit 1); exit 1; }
25256_ACEOF 25820_ACEOF
25821
25822cat >>$CONFIG_STATUS <<\_ACEOF
25823# If the template does not know about datarootdir, expand it.
25824# FIXME: This hack should be removed a few years after 2.60.
25825ac_datarootdir_hack=; ac_datarootdir_seen=
25826
25827case `sed -n '/datarootdir/ {
25828 p
25829 q
25830}
25831/@datadir@/p
25832/@docdir@/p
25833/@infodir@/p
25834/@localedir@/p
25835/@mandir@/p
25836' $ac_file_inputs` in
25837*datarootdir*) ac_datarootdir_seen=yes;;
25838*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25839 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25840echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25841_ACEOF
25842cat >>$CONFIG_STATUS <<_ACEOF
25843 ac_datarootdir_hack='
25844 s&@datadir@&$datadir&g
25845 s&@docdir@&$docdir&g
25846 s&@infodir@&$infodir&g
25847 s&@localedir@&$localedir&g
25848 s&@mandir@&$mandir&g
25849 s&\\\${datarootdir}&$datarootdir&g' ;;
25850esac
25851_ACEOF
25852
25853# Neutralize VPATH when `$srcdir' = `.'.
25854# Shell code in configure.ac might set extrasub.
25855# FIXME: do we really want to maintain this feature?
25257cat >>$CONFIG_STATUS <<_ACEOF 25856cat >>$CONFIG_STATUS <<_ACEOF
25258 sed "$ac_vpsub 25857 sed "$ac_vpsub
25259$extrasub 25858$extrasub
25260_ACEOF 25859_ACEOF
25261cat >>$CONFIG_STATUS <<\_ACEOF 25860cat >>$CONFIG_STATUS <<\_ACEOF
25262:t 25861:t
25263/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 25862/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25264s,@configure_input@,$configure_input,;t t 25863s&@configure_input@&$configure_input&;t t
25864s&@top_builddir@&$ac_top_builddir_sub&;t t
25265s,@srcdir@,$ac_srcdir,;t t 25865s&@srcdir@&$ac_srcdir&;t t
25266s,@abs_srcdir@,$ac_abs_srcdir,;t t 25866s&@abs_srcdir@&$ac_abs_srcdir&;t t
25267s,@top_srcdir@,$ac_top_srcdir,;t t 25867s&@top_srcdir@&$ac_top_srcdir&;t t
25268s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 25868s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
25269s,@builddir@,$ac_builddir,;t t 25869s&@builddir@&$ac_builddir&;t t
25270s,@abs_builddir@,$ac_abs_builddir,;t t 25870s&@abs_builddir@&$ac_abs_builddir&;t t
25271s,@top_builddir@,$ac_top_builddir,;t t
25272s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 25871s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25273s,@INSTALL@,$ac_INSTALL,;t t 25872s&@INSTALL@&$ac_INSTALL&;t t
25274" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 25873$ac_datarootdir_hack
25874" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
25875
25876test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25877 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
25878 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
25879 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25880which seems to be undefined. Please make sure it is defined." >&5
25881echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25882which seems to be undefined. Please make sure it is defined." >&2;}
25883
25275 rm -f $tmp/stdin 25884 rm -f "$tmp/stdin"
25276 if test x"$ac_file" != x-; then 25885 case $ac_file in
25277 mv $tmp/out $ac_file 25886 -) cat "$tmp/out"; rm -f "$tmp/out";;
25278 else 25887 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25279 cat $tmp/out 25888 esac
25280 rm -f $tmp/out 25889 ;;
25281 fi 25890 :H)
25282 25891 #
25283done 25892 # CONFIG_HEADER
25893 #
25284_ACEOF 25894_ACEOF
25285cat >>$CONFIG_STATUS <<\_ACEOF
25286 25895
25287# 25896# Transform confdefs.h into a sed script `conftest.defines', that
25288# CONFIG_HEADER section. 25897# substitutes the proper values into config.h.in to produce config.h.
25289# 25898rm -f conftest.defines conftest.tail
25290 25899# First, append a space to every undef/define line, to ease matching.
25900echo 's/$/ /' >conftest.defines
25901# Then, protect against being on the right side of a sed subst, or in
25902# an unquoted here document, in config.status. If some macros were
25903# called several times there might be several #defines for the same
25904# symbol, which is useless. But do not sort them, since the last
25905# AC_DEFINE must be honored.
25906ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25291# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 25907# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25292# NAME is the cpp macro being defined and VALUE is the value it is being given. 25908# NAME is the cpp macro being defined, VALUE is the value it is being given.
25293# 25909# PARAMS is the parameter list in the macro definition--in most cases, it's
25294# ac_d sets the value in "#define NAME VALUE" lines. 25910# just an empty string.
25295ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 25911ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25296ac_dB='[ ].*$,\1#\2' 25912ac_dB='\\)[ (].*,\\1define\\2'
25297ac_dC=' ' 25913ac_dC=' '
25298ac_dD=',;t' 25914ac_dD=' ,'
25299# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
25300ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
25301ac_uB='$,\1#\2define\3'
25302ac_uC=' '
25303ac_uD=',;t'
25304 25915
25305for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 25916uniq confdefs.h |
25306 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 25917 sed -n '
25307 case $ac_file in 25918 t rset
25308 - | *:- | *:-:* ) # input from stdin 25919 :rset
25309 cat >$tmp/stdin 25920 s/^[ ]*#[ ]*define[ ][ ]*//
25310 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 25921 t ok
25311 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 25922 d
25312 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 25923 :ok
25313 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25314 * ) ac_file_in=$ac_file.in ;;
25315 esac
25316
25317 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
25318echo "$as_me: creating $ac_file" >&6;}
25319
25320 # First look for the input files in the build tree, otherwise in the
25321 # src tree.
25322 ac_file_inputs=`IFS=:
25323 for f in $ac_file_in; do
25324 case $f in
25325 -) echo $tmp/stdin ;;
25326 [\\/$]*)
25327 # Absolute (can't be DOS-style, as IFS=:)
25328 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25329echo "$as_me: error: cannot find input file: $f" >&2;}
25330 { (exit 1); exit 1; }; }
25331 # Do quote $f, to prevent DOS paths from being IFS'd.
25332 echo "$f";;
25333 *) # Relative
25334 if test -f "$f"; then
25335 # Build tree
25336 echo "$f"
25337 elif test -f "$srcdir/$f"; then
25338 # Source tree
25339 echo "$srcdir/$f"
25340 else
25341 # /dev/null tree
25342 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25343echo "$as_me: error: cannot find input file: $f" >&2;}
25344 { (exit 1); exit 1; }; }
25345 fi;;
25346 esac
25347 done` || { (exit 1); exit 1; }
25348 # Remove the trailing spaces.
25349 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
25350
25351_ACEOF
25352
25353# Transform confdefs.h into two sed scripts, `conftest.defines' and
25354# `conftest.undefs', that substitutes the proper values into
25355# config.h.in to produce config.h. The first handles `#define'
25356# templates, and the second `#undef' templates.
25357# And first: Protect against being on the right side of a sed subst in
25358# config.status. Protect against being in an unquoted here document
25359# in config.status.
25360rm -f conftest.defines conftest.undefs
25361# Using a here document instead of a string reduces the quoting nightmare.
25362# Putting comments in sed scripts is not portable.
25363#
25364# `end' is used to avoid that the second main sed command (meant for
25365# 0-ary CPP macros) applies to n-ary macro definitions.
25366# See the Autoconf documentation for `clear'.
25367cat >confdef2sed.sed <<\_ACEOF
25368s/[\\&,]/\\&/g 25924 s/[\\&,]/\\&/g
25369s,[\\$`],\\&,g 25925 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25370t clear 25926 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25371: clear 25927 ' >>conftest.defines
25372s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
25373t end
25374s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
25375: end
25376_ACEOF
25377# If some macros were called several times there might be several times
25378# the same #defines, which is useless. Nevertheless, we may not want to
25379# sort them, since we want the *last* AC-DEFINE to be honored.
25380uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
25381sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
25382rm -f confdef2sed.sed
25383 25928
25929# Remove the space that was appended to ease matching.
25384# This sed command replaces #undef with comments. This is necessary, for 25930# Then replace #undef with comments. This is necessary, for
25385# example, in the case of _POSIX_SOURCE, which is predefined and required 25931# example, in the case of _POSIX_SOURCE, which is predefined and required
25386# on some systems where configure will not decide to define it. 25932# on some systems where configure will not decide to define it.
25387cat >>conftest.undefs <<\_ACEOF 25933# (The regexp can be short, since the line contains either #define or #undef.)
25388s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 25934echo 's/ $//
25389_ACEOF 25935s,^[ #]*u.*,/* & */,' >>conftest.defines
25390 25936
25391# Break up conftest.defines because some shells have a limit on the size 25937# Break up conftest.defines:
25392# of here documents, and old seds have small limits too (100 cmds). 25938ac_max_sed_lines=50
25393echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 25939
25394echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 25940# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25395echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 25941# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25396echo ' :' >>$CONFIG_STATUS 25942# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25397rm -f conftest.tail 25943# et cetera.
25398while grep . conftest.defines >/dev/null 25944ac_in='$ac_file_inputs'
25945ac_out='"$tmp/out1"'
25946ac_nxt='"$tmp/out2"'
25947
25948while :
25399do 25949do
25400 # Write a limited-size here document to $tmp/defines.sed. 25950 # Write a here document:
25401 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 25951 cat >>$CONFIG_STATUS <<_ACEOF
25402 # Speed up: don't consider the non `#define' lines. 25952 # First, check the format of the line:
25403 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 25953 cat >"\$tmp/defines.sed" <<\\CEOF
25404 # Work around the forget-to-reset-the-flag bug. 25954/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25405 echo 't clr' >>$CONFIG_STATUS 25955/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25406 echo ': clr' >>$CONFIG_STATUS 25956b
25957:def
25958_ACEOF
25407 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 25959 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25408 echo 'CEOF 25960 echo 'CEOF
25409 sed -f $tmp/defines.sed $tmp/in >$tmp/out 25961 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25410 rm -f $tmp/in 25962 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
25411 mv $tmp/out $tmp/in
25412' >>$CONFIG_STATUS
25413 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 25963 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
25964 grep . conftest.tail >/dev/null || break
25414 rm -f conftest.defines 25965 rm -f conftest.defines
25415 mv conftest.tail conftest.defines 25966 mv conftest.tail conftest.defines
25416done 25967done
25417rm -f conftest.defines 25968rm -f conftest.defines conftest.tail
25418echo ' fi # grep' >>$CONFIG_STATUS
25419echo >>$CONFIG_STATUS
25420 25969
25421# Break up conftest.undefs because some shells have a limit on the size 25970echo "ac_result=$ac_in" >>$CONFIG_STATUS
25422# of here documents, and old seds have small limits too (100 cmds).
25423echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
25424rm -f conftest.tail
25425while grep . conftest.undefs >/dev/null
25426do
25427 # Write a limited-size here document to $tmp/undefs.sed.
25428 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
25429 # Speed up: don't consider the non `#undef'
25430 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
25431 # Work around the forget-to-reset-the-flag bug.
25432 echo 't clr' >>$CONFIG_STATUS
25433 echo ': clr' >>$CONFIG_STATUS
25434 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
25435 echo 'CEOF
25436 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
25437 rm -f $tmp/in
25438 mv $tmp/out $tmp/in
25439' >>$CONFIG_STATUS
25440 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
25441 rm -f conftest.undefs
25442 mv conftest.tail conftest.undefs
25443done
25444rm -f conftest.undefs
25445
25446cat >>$CONFIG_STATUS <<\_ACEOF 25971cat >>$CONFIG_STATUS <<\_ACEOF
25447 # Let's still pretend it is `configure' which instantiates (i.e., don't
25448 # use $as_me), people would be surprised to read:
25449 # /* config.h. Generated by config.status. */
25450 if test x"$ac_file" = x-; then
25451 echo "/* Generated by configure. */" >$tmp/config.h
25452 else
25453 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
25454 fi
25455 cat $tmp/in >>$tmp/config.h
25456 rm -f $tmp/in
25457 if test x"$ac_file" != x-; then 25972 if test x"$ac_file" != x-; then
25973 echo "/* $configure_input */" >"$tmp/config.h"
25974 cat "$ac_result" >>"$tmp/config.h"
25458 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 25975 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
25459 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 25976 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25460echo "$as_me: $ac_file is unchanged" >&6;} 25977echo "$as_me: $ac_file is unchanged" >&6;}
25461 else 25978 else
25462 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
25463$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25464 X"$ac_file" : 'X\(//\)[^/]' \| \
25465 X"$ac_file" : 'X\(//\)$' \| \
25466 X"$ac_file" : 'X\(/\)' \| \
25467 . : '\(.\)' 2>/dev/null ||
25468echo X"$ac_file" |
25469 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25470 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25471 /^X\(\/\/\)$/{ s//\1/; q; }
25472 /^X\(\/\).*/{ s//\1/; q; }
25473 s/.*/./; q'`
25474 { if $as_mkdir_p; then
25475 mkdir -p "$ac_dir"
25476 else
25477 as_dir="$ac_dir"
25478 as_dirs=
25479 while test ! -d "$as_dir"; do
25480 as_dirs="$as_dir $as_dirs"
25481 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25482$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25483 X"$as_dir" : 'X\(//\)[^/]' \| \
25484 X"$as_dir" : 'X\(//\)$' \| \
25485 X"$as_dir" : 'X\(/\)' \| \
25486 . : '\(.\)' 2>/dev/null ||
25487echo X"$as_dir" |
25488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25489 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25490 /^X\(\/\/\)$/{ s//\1/; q; }
25491 /^X\(\/\).*/{ s//\1/; q; }
25492 s/.*/./; q'`
25493 done
25494 test ! -n "$as_dirs" || mkdir $as_dirs
25495 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25496echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25497 { (exit 1); exit 1; }; }; }
25498
25499 rm -f $ac_file 25979 rm -f $ac_file
25500 mv $tmp/config.h $ac_file 25980 mv "$tmp/config.h" $ac_file
25501 fi 25981 fi
25502 else 25982 else
25503 cat $tmp/config.h 25983 echo "/* $configure_input */"
25504 rm -f $tmp/config.h 25984 cat "$ac_result"
25505 fi 25985 fi
25506 # Run the commands associated with the file. 25986 rm -f "$tmp/out12"
25987 ;;
25988
25989 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25990echo "$as_me: executing $ac_file commands" >&6;}
25991 ;;
25992 esac
25993
25994
25507 case $ac_file in 25995 case $ac_file$ac_mode in
25508 config.h ) # update the timestamp 25996 "config.h":H) # update the timestamp
25509echo 'timestamp for config.h' >"./stamp-h1" 25997echo 'timestamp for config.h' >"./stamp-h1"
25510 ;; 25998 ;;
25511 esac
25512done
25513_ACEOF
25514cat >>$CONFIG_STATUS <<\_ACEOF
25515
25516#
25517# CONFIG_COMMANDS section.
25518#
25519for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
25520 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
25521 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
25522 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
25523$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25524 X"$ac_dest" : 'X\(//\)[^/]' \| \
25525 X"$ac_dest" : 'X\(//\)$' \| \
25526 X"$ac_dest" : 'X\(/\)' \| \
25527 . : '\(.\)' 2>/dev/null ||
25528echo X"$ac_dest" |
25529 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25530 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25531 /^X\(\/\/\)$/{ s//\1/; q; }
25532 /^X\(\/\).*/{ s//\1/; q; }
25533 s/.*/./; q'`
25534 { if $as_mkdir_p; then
25535 mkdir -p "$ac_dir"
25536 else
25537 as_dir="$ac_dir"
25538 as_dirs=
25539 while test ! -d "$as_dir"; do
25540 as_dirs="$as_dir $as_dirs"
25541 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25542$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25543 X"$as_dir" : 'X\(//\)[^/]' \| \
25544 X"$as_dir" : 'X\(//\)$' \| \
25545 X"$as_dir" : 'X\(/\)' \| \
25546 . : '\(.\)' 2>/dev/null ||
25547echo X"$as_dir" |
25548 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25549 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25550 /^X\(\/\/\)$/{ s//\1/; q; }
25551 /^X\(\/\).*/{ s//\1/; q; }
25552 s/.*/./; q'`
25553 done
25554 test ! -n "$as_dirs" || mkdir $as_dirs
25555 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25556echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25557 { (exit 1); exit 1; }; }; }
25558
25559 ac_builddir=.
25560
25561if test "$ac_dir" != .; then
25562 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25563 # A "../" for each directory in $ac_dir_suffix.
25564 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25565else
25566 ac_dir_suffix= ac_top_builddir=
25567fi
25568
25569case $srcdir in
25570 .) # No --srcdir option. We are building in place.
25571 ac_srcdir=.
25572 if test -z "$ac_top_builddir"; then
25573 ac_top_srcdir=.
25574 else
25575 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25576 fi ;;
25577 [\\/]* | ?:[\\/]* ) # Absolute path.
25578 ac_srcdir=$srcdir$ac_dir_suffix;
25579 ac_top_srcdir=$srcdir ;;
25580 *) # Relative path.
25581 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
25582 ac_top_srcdir=$ac_top_builddir$srcdir ;;
25583esac
25584
25585# Do not use `cd foo && pwd` to compute absolute paths, because
25586# the directories may not exist.
25587case `pwd` in
25588.) ac_abs_builddir="$ac_dir";;
25589*)
25590 case "$ac_dir" in
25591 .) ac_abs_builddir=`pwd`;;
25592 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
25593 *) ac_abs_builddir=`pwd`/"$ac_dir";;
25594 esac;;
25595esac
25596case $ac_abs_builddir in
25597.) ac_abs_top_builddir=${ac_top_builddir}.;;
25598*)
25599 case ${ac_top_builddir}. in
25600 .) ac_abs_top_builddir=$ac_abs_builddir;;
25601 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
25602 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
25603 esac;;
25604esac
25605case $ac_abs_builddir in
25606.) ac_abs_srcdir=$ac_srcdir;;
25607*)
25608 case $ac_srcdir in
25609 .) ac_abs_srcdir=$ac_abs_builddir;;
25610 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
25611 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
25612 esac;;
25613esac
25614case $ac_abs_builddir in
25615.) ac_abs_top_srcdir=$ac_top_srcdir;;
25616*)
25617 case $ac_top_srcdir in
25618 .) ac_abs_top_srcdir=$ac_abs_builddir;;
25619 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
25620 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
25621 esac;;
25622esac
25623
25624
25625 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
25626echo "$as_me: executing $ac_dest commands" >&6;}
25627 case $ac_dest in
25628 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 25999 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
25629 # Strip MF so we end up with the name of the file. 26000 # Strip MF so we end up with the name of the file.
25630 mf=`echo "$mf" | sed -e 's/:.*$//'` 26001 mf=`echo "$mf" | sed -e 's/:.*$//'`
25631 # Check whether this is an Automake generated Makefile or not. 26002 # Check whether this is an Automake generated Makefile or not.
25632 # We used to match only the files named `Makefile.in', but 26003 # We used to match only the files named `Makefile.in', but
25633 # some people rename them; so instead we look at the file content. 26004 # some people rename them; so instead we look at the file content.
25634 # Grep'ing the first line is not enough: some people post-process 26005 # Grep'ing the first line is not enough: some people post-process
25635 # each Makefile.in and add a new line on top of each file to say so. 26006 # each Makefile.in and add a new line on top of each file to say so.
25636 # So let's grep whole file. 26007 # So let's grep whole file.
25637 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 26008 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
25638 dirpart=`(dirname "$mf") 2>/dev/null || 26009 dirpart=`$as_dirname -- "$mf" ||
25639$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 26010$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25640 X"$mf" : 'X\(//\)[^/]' \| \ 26011 X"$mf" : 'X\(//\)[^/]' \| \
25641 X"$mf" : 'X\(//\)$' \| \ 26012 X"$mf" : 'X\(//\)$' \| \
25642 X"$mf" : 'X\(/\)' \| \ 26013 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
25643 . : '\(.\)' 2>/dev/null ||
25644echo X"$mf" | 26014echo X"$mf" |
25645 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 26015 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25646 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 26016 s//\1/
25647 /^X\(\/\/\)$/{ s//\1/; q; } 26017 q
25648 /^X\(\/\).*/{ s//\1/; q; } 26018 }
26019 /^X\(\/\/\)[^/].*/{
26020 s//\1/
26021 q
26022 }
26023 /^X\(\/\/\)$/{
26024 s//\1/
26025 q
26026 }
26027 /^X\(\/\).*/{
26028 s//\1/
26029 q
26030 }
25649 s/.*/./; q'` 26031 s/.*/./; q'`
25650 else 26032 else
25651 continue 26033 continue
25652 fi 26034 fi
25653 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue 26035 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
25654 # Extract the definition of DEP_FILES from the Makefile without 26036 # Extract the definition of DEP_FILES from the Makefile without
25672 } 26054 }
25673 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ 26055 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
25674 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 26056 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
25675 # Make sure the directory exists. 26057 # Make sure the directory exists.
25676 test -f "$dirpart/$file" && continue 26058 test -f "$dirpart/$file" && continue
25677 fdir=`(dirname "$file") 2>/dev/null || 26059 fdir=`$as_dirname -- "$file" ||
25678$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 26060$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25679 X"$file" : 'X\(//\)[^/]' \| \ 26061 X"$file" : 'X\(//\)[^/]' \| \
25680 X"$file" : 'X\(//\)$' \| \ 26062 X"$file" : 'X\(//\)$' \| \
25681 X"$file" : 'X\(/\)' \| \ 26063 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
25682 . : '\(.\)' 2>/dev/null ||
25683echo X"$file" | 26064echo X"$file" |
25684 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 26065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25685 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 26066 s//\1/
25686 /^X\(\/\/\)$/{ s//\1/; q; } 26067 q
25687 /^X\(\/\).*/{ s//\1/; q; } 26068 }
26069 /^X\(\/\/\)[^/].*/{
26070 s//\1/
26071 q
26072 }
26073 /^X\(\/\/\)$/{
26074 s//\1/
26075 q
26076 }
26077 /^X\(\/\).*/{
26078 s//\1/
26079 q
26080 }
25688 s/.*/./; q'` 26081 s/.*/./; q'`
25689 { if $as_mkdir_p; then
25690 mkdir -p $dirpart/$fdir
25691 else
25692 as_dir=$dirpart/$fdir 26082 { as_dir=$dirpart/$fdir
26083 case $as_dir in #(
26084 -*) as_dir=./$as_dir;;
26085 esac
26086 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25693 as_dirs= 26087 as_dirs=
25694 while test ! -d "$as_dir"; do 26088 while :; do
26089 case $as_dir in #(
26090 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
26091 *) as_qdir=$as_dir;;
26092 esac
25695 as_dirs="$as_dir $as_dirs" 26093 as_dirs="'$as_qdir' $as_dirs"
25696 as_dir=`(dirname "$as_dir") 2>/dev/null || 26094 as_dir=`$as_dirname -- "$as_dir" ||
25697$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 26095$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25698 X"$as_dir" : 'X\(//\)[^/]' \| \ 26096 X"$as_dir" : 'X\(//\)[^/]' \| \
25699 X"$as_dir" : 'X\(//\)$' \| \ 26097 X"$as_dir" : 'X\(//\)$' \| \
25700 X"$as_dir" : 'X\(/\)' \| \ 26098 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25701 . : '\(.\)' 2>/dev/null ||
25702echo X"$as_dir" | 26099echo X"$as_dir" |
25703 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 26100 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25704 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 26101 s//\1/
25705 /^X\(\/\/\)$/{ s//\1/; q; } 26102 q
25706 /^X\(\/\).*/{ s//\1/; q; } 26103 }
26104 /^X\(\/\/\)[^/].*/{
26105 s//\1/
26106 q
26107 }
26108 /^X\(\/\/\)$/{
26109 s//\1/
26110 q
26111 }
26112 /^X\(\/\).*/{
26113 s//\1/
26114 q
26115 }
25707 s/.*/./; q'` 26116 s/.*/./; q'`
26117 test -d "$as_dir" && break
25708 done 26118 done
25709 test ! -n "$as_dirs" || mkdir $as_dirs 26119 test -z "$as_dirs" || eval "mkdir $as_dirs"
25710 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 26120 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25711echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} 26121echo "$as_me: error: cannot create directory $as_dir" >&2;}
25712 { (exit 1); exit 1; }; }; } 26122 { (exit 1); exit 1; }; }; }
25713
25714 # echo "creating $dirpart/$file" 26123 # echo "creating $dirpart/$file"
25715 echo '# dummy' > "$dirpart/$file" 26124 echo '# dummy' > "$dirpart/$file"
25716 done 26125 done
25717done 26126done
25718 ;; 26127 ;;
26128
25719 esac 26129 esac
25720done 26130done # for ac_tag
25721_ACEOF
25722 26131
25723cat >>$CONFIG_STATUS <<\_ACEOF
25724 26132
25725{ (exit 0); exit 0; } 26133{ (exit 0); exit 0; }
25726_ACEOF 26134_ACEOF
25727chmod +x $CONFIG_STATUS 26135chmod +x $CONFIG_STATUS
25728ac_clean_files=$ac_clean_files_save 26136ac_clean_files=$ac_clean_files_save

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines