Codebase list libcitadel / 876c42f
Imported Upstream version 8.11 Michael Meskes 11 years ago
20 changed file(s) with 5414 addition(s) and 9374 deletion(s). Raw diff Collapse all Expand all
0 *.o
1 *.d
2 *.lo
3 *.gcno
4 *.gcda
5 .gitignore~
6 .libs/
7 Makefile
8 build-stamp
9 config.log
10 config.status
11 configure
12 install-stamp
13 libcitadel.la
14 libcitadel.pc
15 libtool
16 sysdep.h
17 sysdep.h.in
18 autom4te.cache
3434
3535 DESTDIR = $(INSTALL_ROOT)
3636
37 default: buildlib
37 default: buildinfo buildlib
3838
3939 buildlib: $(LIBRARY)
4040
41 all: $(LIBRARY)
41 all: buildinfo $(LIBRARY)
42
43 buildinfo:
44 echo
45 echo LTCompile: $(LTCOMPILE) -o $@ -c
46 echo
47
4248
4349 libcitadel.pc: $(top_builddir)/config.status libcitadel.pc.in
4450 cd $(top_builddir) && $(SHELL) ./config.status $@
5662
5763
5864 clean:
65 echo "Cleaning: $(LIBRARY) *.o *.lo *.gcda *.gcov *.gcno"
5966 cd lib && rm -f $(LIBRARY) *.o *.lo *.gcda *.gcov *.gcno
67 echo "Cleaning: $(LIBRARY) .libs _libs xdgmime/*.o xdgmime/*.lo xdgmime/.libs xdgmime/*.gcda xdgmime/*.gcov xdgmime/*.gcno"
6068 cd lib && rm -rf .libs _libs xdgmime/*.o xdgmime/*.lo xdgmime/.libs xdgmime/*.gcda xdgmime/*.gcov xdgmime/*.gcno
6169 rm -rf .libs libcitadel.la
6270
146154 .SUFFIXES: .c .cpp .lo .o
147155
148156 .cpp.o:
157 echo "CC+ $<"
149158 $(CXXCOMPILE) -o $@ -c $<
150159 .c.o:
160 echo "CC $<"
151161 $(COMPILE) -o $@ -c $<
152162 .c.lo:
163 echo "CC: $<"
153164 $(LTCOMPILE) -o $@ -c $<
154165
155166 .PHONY: buildlib all \
157168 dist distdir \
158169 install uninstall
159170
160
171 .SILENT:
161172
162173
163174 #
00 @%:@! /bin/sh
11 @%:@ Guess values for system-dependent variables and create Makefiles.
2 @%:@ Generated by GNU Autoconf 2.63 for libcitadel 8.05.
2 @%:@ Generated by GNU Autoconf 2.67 for libcitadel 2.8.11.
33 @%:@
44 @%:@ Report bugs to <http://uncensored.citadel.org>.
55 @%:@
6 @%:@
67 @%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 @%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
8 @%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
9 @%:@ Foundation, Inc.
10 @%:@
11 @%:@
812 @%:@ This configure script is free software; the Free Software Foundation
913 @%:@ gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
1317
1418 # Be more Bourne compatible
1519 DUALCASE=1; export DUALCASE # for MKS sh
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1721 emulate sh
1822 NULLCMD=:
1923 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2125 alias -g '${1+"$@"}'='"$@"'
2226 setopt NO_GLOB_SUBST
2327 else
24 case `(set -o) 2>/dev/null` in
25 *posix*) set -o posix ;;
28 case `(set -o) 2>/dev/null` in @%:@(
29 *posix*) :
30 set -o posix ;; @%:@(
31 *) :
32 ;;
2633 esac
27
28 fi
29
30
31
32
33 # PATH needs CR
34 # Avoid depending upon Character Ranges.
35 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
36 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
37 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
38 as_cr_digits='0123456789'
39 as_cr_alnum=$as_cr_Letters$as_cr_digits
34 fi
35
4036
4137 as_nl='
4238 '
4541 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4642 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4743 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
48 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='print -r --'
49 as_echo_n='print -rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4951 as_echo='printf %s\n'
5052 as_echo_n='printf %s'
5153 else
5658 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5759 as_echo_n_body='eval
5860 arg=$1;
59 case $arg in
61 case $arg in @%:@(
6062 *"$as_nl"*)
6163 expr "X$arg" : "X\\(.*\\)$as_nl";
6264 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7981 }
8082 fi
8183
82 # Support unset when possible.
83 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
84 as_unset=unset
85 else
86 as_unset=false
87 fi
88
8984
9085 # IFS
9186 # We need space, tab and new line, in precisely that order. Quoting is
9590 IFS=" "" $as_nl"
9691
9792 # Find who we are. Look in the path if we contain no directory separator.
98 case $0 in
93 case $0 in @%:@((
9994 *[\\/]* ) as_myself=$0 ;;
10095 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10196 for as_dir in $PATH
10297 do
10398 IFS=$as_save_IFS
10499 test -z "$as_dir" && as_dir=.
105 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 done
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
107102 IFS=$as_save_IFS
108103
109104 ;;
115110 fi
116111 if test ! -f "$as_myself"; then
117112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 { (exit 1); exit 1; }
119 fi
120
121 # Work around bugs in pre-3.0 UWIN ksh.
122 for as_var in ENV MAIL MAILPATH
123 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124123 done
125124 PS1='$ '
126125 PS2='> '
132131 LANGUAGE=C
133132 export LANGUAGE
134133
135 # Required to use basename.
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139 emulate sh
140 NULLCMD=:
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
144 setopt NO_GLOB_SUBST
145 else
146 case \`(set -o) 2>/dev/null\` in @%:@(
147 *posix*) :
148 set -o posix ;; @%:@(
149 *) :
150 ;;
151 esac
152 fi
153 "
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
159
160 exitcode=0
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166
167 else
168 exitcode=1; echo positional parameters were not saved.
169 fi
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev/null; then :
177 as_have_required=yes
178 else
179 as_have_required=no
180 fi
181 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182
183 else
184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 as_found=false
186 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187 do
188 IFS=$as_save_IFS
189 test -z "$as_dir" && as_dir=.
190 as_found=:
191 case $as_dir in @%:@(
192 /*)
193 for as_base in sh bash ksh sh5; do
194 # Try only shells that exist, to save several forks.
195 as_shell=$as_dir/$as_base
196 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198 CONFIG_SHELL=$as_shell as_have_required=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 break 2
201 fi
202 fi
203 done;;
204 esac
205 as_found=false
206 done
207 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209 CONFIG_SHELL=$SHELL as_have_required=yes
210 fi; }
211 IFS=$as_save_IFS
212
213
214 if test "x$CONFIG_SHELL" != x; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 BASH_ENV=/dev/null
219 ENV=/dev/null
220 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 export CONFIG_SHELL
222 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
223 fi
224
225 if test x$as_have_required = xno; then :
226 $as_echo "$0: This script requires a shell more modern than all"
227 $as_echo "$0: the shells that I found on your system."
228 if test x${ZSH_VERSION+set} = xset ; then
229 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
230 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 else
232 $as_echo "$0: Please tell bug-autoconf@gnu.org and
233 $0: http://uncensored.citadel.org about your system,
234 $0: including any error possibly output before this
235 $0: message. Then install a modern shell, or manually run
236 $0: the script under such a shell if you do have one."
237 fi
238 exit 1
239 fi
240 fi
241 fi
242 SHELL=${CONFIG_SHELL-/bin/sh}
243 export SHELL
244 # Unset more variables known to interfere with behavior of common tools.
245 CLICOLOR_FORCE= GREP_OPTIONS=
246 unset CLICOLOR_FORCE GREP_OPTIONS
247
248 ## --------------------- ##
249 ## M4sh Shell Functions. ##
250 ## --------------------- ##
251 @%:@ as_fn_unset VAR
252 @%:@ ---------------
253 @%:@ Portably unset VAR.
254 as_fn_unset ()
255 {
256 { eval $1=; unset $1;}
257 }
258 as_unset=as_fn_unset
259
260 @%:@ as_fn_set_status STATUS
261 @%:@ -----------------------
262 @%:@ Set @S|@? to STATUS, without forking.
263 as_fn_set_status ()
264 {
265 return $1
266 } @%:@ as_fn_set_status
267
268 @%:@ as_fn_exit STATUS
269 @%:@ -----------------
270 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
271 as_fn_exit ()
272 {
273 set +e
274 as_fn_set_status $1
275 exit $1
276 } @%:@ as_fn_exit
277
278 @%:@ as_fn_mkdir_p
279 @%:@ -------------
280 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
281 as_fn_mkdir_p ()
282 {
283
284 case $as_dir in #(
285 -*) as_dir=./$as_dir;;
286 esac
287 test -d "$as_dir" || eval $as_mkdir_p || {
288 as_dirs=
289 while :; do
290 case $as_dir in #(
291 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 *) as_qdir=$as_dir;;
293 esac
294 as_dirs="'$as_qdir' $as_dirs"
295 as_dir=`$as_dirname -- "$as_dir" ||
296 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
297 X"$as_dir" : 'X\(//\)[^/]' \| \
298 X"$as_dir" : 'X\(//\)$' \| \
299 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
300 $as_echo X"$as_dir" |
301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
302 s//\1/
303 q
304 }
305 /^X\(\/\/\)[^/].*/{
306 s//\1/
307 q
308 }
309 /^X\(\/\/\)$/{
310 s//\1/
311 q
312 }
313 /^X\(\/\).*/{
314 s//\1/
315 q
316 }
317 s/.*/./; q'`
318 test -d "$as_dir" && break
319 done
320 test -z "$as_dirs" || eval "mkdir $as_dirs"
321 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
322
323
324 } @%:@ as_fn_mkdir_p
325 @%:@ as_fn_append VAR VALUE
326 @%:@ ----------------------
327 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
328 @%:@ advantage of any shell optimizations that allow amortized linear growth over
329 @%:@ repeated appends, instead of the typical quadratic growth present in naive
330 @%:@ implementations.
331 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
332 eval 'as_fn_append ()
333 {
334 eval $1+=\$2
335 }'
336 else
337 as_fn_append ()
338 {
339 eval $1=\$$1\$2
340 }
341 fi # as_fn_append
342
343 @%:@ as_fn_arith ARG...
344 @%:@ ------------------
345 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
346 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
347 @%:@ must be portable across @S|@(()) and expr.
348 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
349 eval 'as_fn_arith ()
350 {
351 as_val=$(( $* ))
352 }'
353 else
354 as_fn_arith ()
355 {
356 as_val=`expr "$@" || test $? -eq 1`
357 }
358 fi # as_fn_arith
359
360
361 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
362 @%:@ ----------------------------------------
363 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
364 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
365 @%:@ script with STATUS, using 1 if that was 0.
366 as_fn_error ()
367 {
368 as_status=$1; test $as_status -eq 0 && as_status=1
369 if test "$4"; then
370 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
371 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
372 fi
373 $as_echo "$as_me: error: $2" >&2
374 as_fn_exit $as_status
375 } @%:@ as_fn_error
376
136377 if expr a : '\(a\)' >/dev/null 2>&1 &&
137378 test "X`expr 00001 : '.*\(...\)'`" = X001; then
138379 as_expr=expr
146387 as_basename=false
147388 fi
148389
149
150 # Name of the executable.
390 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
391 as_dirname=dirname
392 else
393 as_dirname=false
394 fi
395
151396 as_me=`$as_basename -- "$0" ||
152397 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
153398 X"$0" : 'X\(//\)$' \| \
167412 }
168413 s/.*/./; q'`
169414
170 # CDPATH.
171 $as_unset CDPATH
172
173
174 if test "x$CONFIG_SHELL" = x; then
175 if (eval ":") 2>/dev/null; then
176 as_have_required=yes
177 else
178 as_have_required=no
179 fi
180
181 if test $as_have_required = yes && (eval ":
182 (as_func_return () {
183 (exit \$1)
184 }
185 as_func_success () {
186 as_func_return 0
187 }
188 as_func_failure () {
189 as_func_return 1
190 }
191 as_func_ret_success () {
192 return 0
193 }
194 as_func_ret_failure () {
195 return 1
196 }
197
198 exitcode=0
199 if as_func_success; then
200 :
201 else
202 exitcode=1
203 echo as_func_success failed.
204 fi
205
206 if as_func_failure; then
207 exitcode=1
208 echo as_func_failure succeeded.
209 fi
210
211 if as_func_ret_success; then
212 :
213 else
214 exitcode=1
215 echo as_func_ret_success failed.
216 fi
217
218 if as_func_ret_failure; then
219 exitcode=1
220 echo as_func_ret_failure succeeded.
221 fi
222
223 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
224 :
225 else
226 exitcode=1
227 echo positional parameters were not saved.
228 fi
229
230 test \$exitcode = 0) || { (exit 1); exit 1; }
231
232 (
233 as_lineno_1=\$LINENO
234 as_lineno_2=\$LINENO
235 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
236 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
237 ") 2> /dev/null; then
238 :
239 else
240 as_candidate_shells=
241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
242 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
243 do
244 IFS=$as_save_IFS
245 test -z "$as_dir" && as_dir=.
246 case $as_dir in
247 /*)
248 for as_base in sh bash ksh sh5; do
249 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
250 done;;
251 esac
252 done
253 IFS=$as_save_IFS
254
255
256 for as_shell in $as_candidate_shells $SHELL; do
257 # Try only shells that exist, to save several forks.
258 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
259 { ("$as_shell") 2> /dev/null <<\_ASEOF
260 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
261 emulate sh
262 NULLCMD=:
263 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
264 # is contrary to our usage. Disable this feature.
265 alias -g '${1+"$@"}'='"$@"'
266 setopt NO_GLOB_SUBST
267 else
268 case `(set -o) 2>/dev/null` in
269 *posix*) set -o posix ;;
270 esac
271
272 fi
273
274
275 :
276 _ASEOF
277 }; then
278 CONFIG_SHELL=$as_shell
279 as_have_required=yes
280 if { "$as_shell" 2> /dev/null <<\_ASEOF
281 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
282 emulate sh
283 NULLCMD=:
284 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
285 # is contrary to our usage. Disable this feature.
286 alias -g '${1+"$@"}'='"$@"'
287 setopt NO_GLOB_SUBST
288 else
289 case `(set -o) 2>/dev/null` in
290 *posix*) set -o posix ;;
291 esac
292
293 fi
294
295
296 :
297 (as_func_return () {
298 (exit $1)
299 }
300 as_func_success () {
301 as_func_return 0
302 }
303 as_func_failure () {
304 as_func_return 1
305 }
306 as_func_ret_success () {
307 return 0
308 }
309 as_func_ret_failure () {
310 return 1
311 }
312
313 exitcode=0
314 if as_func_success; then
315 :
316 else
317 exitcode=1
318 echo as_func_success failed.
319 fi
320
321 if as_func_failure; then
322 exitcode=1
323 echo as_func_failure succeeded.
324 fi
325
326 if as_func_ret_success; then
327 :
328 else
329 exitcode=1
330 echo as_func_ret_success failed.
331 fi
332
333 if as_func_ret_failure; then
334 exitcode=1
335 echo as_func_ret_failure succeeded.
336 fi
337
338 if ( set x; as_func_ret_success y && test x = "$1" ); then
339 :
340 else
341 exitcode=1
342 echo positional parameters were not saved.
343 fi
344
345 test $exitcode = 0) || { (exit 1); exit 1; }
346
347 (
348 as_lineno_1=$LINENO
349 as_lineno_2=$LINENO
350 test "x$as_lineno_1" != "x$as_lineno_2" &&
351 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
352
353 _ASEOF
354 }; then
355 break
356 fi
357
358 fi
359
360 done
361
362 if test "x$CONFIG_SHELL" != x; then
363 for as_var in BASH_ENV ENV
364 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
365 done
366 export CONFIG_SHELL
367 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
368 fi
369
370
371 if test $as_have_required = no; then
372 echo This script requires a shell more modern than all the
373 echo shells that I found on your system. Please install a
374 echo modern shell, or manually run the script under such a
375 echo shell if you do have one.
376 { (exit 1); exit 1; }
377 fi
378
379
380 fi
381
382 fi
383
384
385
386 (eval "as_func_return () {
387 (exit \$1)
388 }
389 as_func_success () {
390 as_func_return 0
391 }
392 as_func_failure () {
393 as_func_return 1
394 }
395 as_func_ret_success () {
396 return 0
397 }
398 as_func_ret_failure () {
399 return 1
400 }
401
402 exitcode=0
403 if as_func_success; then
404 :
405 else
406 exitcode=1
407 echo as_func_success failed.
408 fi
409
410 if as_func_failure; then
411 exitcode=1
412 echo as_func_failure succeeded.
413 fi
414
415 if as_func_ret_success; then
416 :
417 else
418 exitcode=1
419 echo as_func_ret_success failed.
420 fi
421
422 if as_func_ret_failure; then
423 exitcode=1
424 echo as_func_ret_failure succeeded.
425 fi
426
427 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
428 :
429 else
430 exitcode=1
431 echo positional parameters were not saved.
432 fi
433
434 test \$exitcode = 0") || {
435 echo No shell found that supports shell functions.
436 echo Please tell bug-autoconf@gnu.org about your system,
437 echo including any error possibly output before this message.
438 echo This can help us improve future autoconf versions.
439 echo Configuration will now proceed without shell functions.
440 }
441
442
443
444 as_lineno_1=$LINENO
445 as_lineno_2=$LINENO
446 test "x$as_lineno_1" != "x$as_lineno_2" &&
447 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448
449 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
450 # uniformly replaced by the line number. The first 'sed' inserts a
451 # line-number line after each line using $LINENO; the second 'sed'
452 # does the real work. The second script uses 'N' to pair each
453 # line-number line with the line containing $LINENO, and appends
454 # trailing '-' during substitution so that $LINENO is not a special
455 # case at line end.
456 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
457 # scripts with optimization help from Paolo Bonzini. Blame Lee
458 # E. McMahon (1931-1989) for sed's syntax. :-)
415 # Avoid depending upon Character Ranges.
416 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
417 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
418 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
419 as_cr_digits='0123456789'
420 as_cr_alnum=$as_cr_Letters$as_cr_digits
421
422
423 as_lineno_1=$LINENO as_lineno_1a=$LINENO
424 as_lineno_2=$LINENO as_lineno_2a=$LINENO
425 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
426 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
427 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
459428 sed -n '
460429 p
461430 /[$]LINENO/=
472441 s/-\n.*//
473442 ' >$as_me.lineno &&
474443 chmod +x "$as_me.lineno" ||
475 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
476 { (exit 1); exit 1; }; }
444 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
477445
478446 # Don't try to exec as it changes $[0], causing all sort of problems
479447 # (the dirname of $[0] is not the place where we might find the
483451 exit
484452 }
485453
486
487 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
488 as_dirname=dirname
489 else
490 as_dirname=false
491 fi
492
493454 ECHO_C= ECHO_N= ECHO_T=
494 case `echo -n x` in
455 case `echo -n x` in @%:@(((((
495456 -n*)
496 case `echo 'x\c'` in
457 case `echo 'xy\c'` in
497458 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
498 *) ECHO_C='\c';;
459 xy) ECHO_C='\c';;
460 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
461 ECHO_T=' ';;
499462 esac;;
500463 *)
501464 ECHO_N='-n';;
502465 esac
503 if expr a : '\(a\)' >/dev/null 2>&1 &&
504 test "X`expr 00001 : '.*\(...\)'`" = X001; then
505 as_expr=expr
506 else
507 as_expr=false
508 fi
509466
510467 rm -f conf$$ conf$$.exe conf$$.file
511468 if test -d conf$$.dir; then
535492 rmdir conf$$.dir 2>/dev/null
536493
537494 if mkdir -p . 2>/dev/null; then
538 as_mkdir_p=:
495 as_mkdir_p='mkdir -p "$as_dir"'
539496 else
540497 test -d ./-p && rmdir ./-p
541498 as_mkdir_p=false
554511 if test -d "$1"; then
555512 test -d "$1/.";
556513 else
557 case $1 in
514 case $1 in @%:@(
558515 -*)set "./$1";;
559516 esac;
560 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
517 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
561518 ???[sx]*):;;*)false;;esac;fi
562519 '\'' sh
563520 '
569526
570527 # Sed expression to map a string onto a valid variable name.
571528 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
572
573529
574530
575531
726682
727683 tagnames=${tagnames+${tagnames},}F77
728684
729 exec 7<&0 </dev/null 6>&1
685 test -n "$DJDIR" || exec 7<&0 </dev/null
686 exec 6>&1
730687
731688 # Name of the host.
732 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
689 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
733690 # so uname gets run too.
734691 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
735692
744701 subdirs=
745702 MFLAGS=
746703 MAKEFLAGS=
747 SHELL=${CONFIG_SHELL-/bin/sh}
748704
749705 # Identity of this package.
750706 PACKAGE_NAME='libcitadel'
751707 PACKAGE_TARNAME='libcitadel'
752 PACKAGE_VERSION='8.05'
753 PACKAGE_STRING='libcitadel 8.05'
708 PACKAGE_VERSION='2.8.11'
709 PACKAGE_STRING='libcitadel 2.8.11'
754710 PACKAGE_BUGREPORT='http://uncensored.citadel.org'
711 PACKAGE_URL=''
755712
756713 ac_unique_file="Makefile.in"
757714 ac_unique_file="tests/Makefile.in"
860817 program_transform_name
861818 prefix
862819 exec_prefix
820 PACKAGE_URL
863821 PACKAGE_BUGREPORT
864822 PACKAGE_STRING
865823 PACKAGE_VERSION
958916 fi
959917
960918 case $ac_option in
961 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
962 *) ac_optarg=yes ;;
919 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
920 *=) ac_optarg= ;;
921 *) ac_optarg=yes ;;
963922 esac
964923
965924 # Accept the important Cygnus configure options, so we can diagnose typos.
1004963 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1005964 # Reject names that are not valid shell variable names.
1006965 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1007 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1008 { (exit 1); exit 1; }; }
966 as_fn_error $? "invalid feature name: $ac_useropt"
1009967 ac_useropt_orig=$ac_useropt
1010968 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1011969 case $ac_user_opts in
1031989 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1032990 # Reject names that are not valid shell variable names.
1033991 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1034 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1035 { (exit 1); exit 1; }; }
992 as_fn_error $? "invalid feature name: $ac_useropt"
1036993 ac_useropt_orig=$ac_useropt
1037994 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038995 case $ac_user_opts in
12361193 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
12371194 # Reject names that are not valid shell variable names.
12381195 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1239 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1240 { (exit 1); exit 1; }; }
1196 as_fn_error $? "invalid package name: $ac_useropt"
12411197 ac_useropt_orig=$ac_useropt
12421198 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
12431199 case $ac_user_opts in
12531209 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
12541210 # Reject names that are not valid shell variable names.
12551211 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1256 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1257 { (exit 1); exit 1; }; }
1212 as_fn_error $? "invalid package name: $ac_useropt"
12581213 ac_useropt_orig=$ac_useropt
12591214 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
12601215 case $ac_user_opts in
12841239 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
12851240 x_libraries=$ac_optarg ;;
12861241
1287 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1288 Try \`$0 --help' for more information." >&2
1289 { (exit 1); exit 1; }; }
1242 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1243 Try \`$0 --help' for more information"
12901244 ;;
12911245
12921246 *=*)
12931247 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
12941248 # Reject names that are not valid shell variable names.
1295 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1296 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1297 { (exit 1); exit 1; }; }
1249 case $ac_envvar in #(
1250 '' | [0-9]* | *[!_$as_cr_alnum]* )
1251 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1252 esac
12981253 eval $ac_envvar=\$ac_optarg
12991254 export $ac_envvar ;;
13001255
13111266
13121267 if test -n "$ac_prev"; then
13131268 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1314 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1315 { (exit 1); exit 1; }; }
1269 as_fn_error $? "missing argument to $ac_option"
13161270 fi
13171271
13181272 if test -n "$ac_unrecognized_opts"; then
13191273 case $enable_option_checking in
13201274 no) ;;
1321 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1322 { (exit 1); exit 1; }; } ;;
1275 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
13231276 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
13241277 esac
13251278 fi
13421295 [\\/$]* | ?:[\\/]* ) continue;;
13431296 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
13441297 esac
1345 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1346 { (exit 1); exit 1; }; }
1298 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
13471299 done
13481300
13491301 # There might be people who depend on the old broken behavior: `$host'
13571309 if test "x$host_alias" != x; then
13581310 if test "x$build_alias" = x; then
13591311 cross_compiling=maybe
1360 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1361 If a cross compiler is detected then cross compile mode will be used." >&2
1312 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1313 If a cross compiler is detected then cross compile mode will be used" >&2
13621314 elif test "x$build_alias" != "x$host_alias"; then
13631315 cross_compiling=yes
13641316 fi
13731325 ac_pwd=`pwd` && test -n "$ac_pwd" &&
13741326 ac_ls_di=`ls -di .` &&
13751327 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1376 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1377 { (exit 1); exit 1; }; }
1328 as_fn_error $? "working directory cannot be determined"
13781329 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1379 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1380 { (exit 1); exit 1; }; }
1330 as_fn_error $? "pwd does not report name of working directory"
13811331
13821332
13831333 # Find the source files, if location was not specified.
14161366 fi
14171367 if test ! -r "$srcdir/$ac_unique_file"; then
14181368 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1419 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1420 { (exit 1); exit 1; }; }
1369 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
14211370 fi
14221371 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
14231372 ac_abs_confdir=`(
1424 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1425 { (exit 1); exit 1; }; }
1373 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
14261374 pwd)`
14271375 # When building in place, set srcdir=.
14281376 if test "$ac_abs_confdir" = "$ac_pwd"; then
14481396 # Omit some internal or obsolete options to make the list less imposing.
14491397 # This message is too long to be a string in the A/UX 3.1 sh.
14501398 cat <<_ACEOF
1451 \`configure' configures libcitadel 8.05 to adapt to many kinds of systems.
1399 \`configure' configures libcitadel 2.8.11 to adapt to many kinds of systems.
14521400
14531401 Usage: $0 [OPTION]... [VAR=VALUE]...
14541402
14621410 --help=short display options specific to this package
14631411 --help=recursive display the short help of all the included packages
14641412 -V, --version display version information and exit
1465 -q, --quiet, --silent do not print \`checking...' messages
1413 -q, --quiet, --silent do not print \`checking ...' messages
14661414 --cache-file=FILE cache test results in FILE [disabled]
14671415 -C, --config-cache alias for \`--cache-file=config.cache'
14681416 -n, --no-create do not create output files
14701418
14711419 Installation directories:
14721420 --prefix=PREFIX install architecture-independent files in PREFIX
1473 [$ac_default_prefix]
1421 @<:@@S|@ac_default_prefix@:>@
14741422 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1475 [PREFIX]
1423 @<:@PREFIX@:>@
14761424
14771425 By default, \`make install' will install all the files in
14781426 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
15131461
15141462 if test -n "$ac_init_help"; then
15151463 case $ac_init_help in
1516 short | recursive ) echo "Configuration of libcitadel 8.05:";;
1464 short | recursive ) echo "Configuration of libcitadel 2.8.11:";;
15171465 esac
15181466 cat <<\_ACEOF
15191467
15441492 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
15451493 nonstandard directory <lib dir>
15461494 LIBS libraries to pass to the linker, e.g. -l<library>
1547 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1495 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
15481496 you have headers in a nonstandard directory <include dir>
15491497 CPP C preprocessor
15501498 CXX C++ compiler command
16191567 test -n "$ac_init_help" && exit $ac_status
16201568 if $ac_init_version; then
16211569 cat <<\_ACEOF
1622 libcitadel configure 8.05
1623 generated by GNU Autoconf 2.63
1624
1625 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1626 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1570 libcitadel configure 2.8.11
1571 generated by GNU Autoconf 2.67
1572
1573 Copyright (C) 2010 Free Software Foundation, Inc.
16271574 This configure script is free software; the Free Software Foundation
16281575 gives unlimited permission to copy, distribute and modify it.
16291576 _ACEOF
16301577 exit
16311578 fi
1579
1580 ## ------------------------ ##
1581 ## Autoconf initialization. ##
1582 ## ------------------------ ##
1583
1584 @%:@ ac_fn_c_try_compile LINENO
1585 @%:@ --------------------------
1586 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1587 ac_fn_c_try_compile ()
1588 {
1589 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1590 rm -f conftest.$ac_objext
1591 if { { ac_try="$ac_compile"
1592 case "(($ac_try" in
1593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1594 *) ac_try_echo=$ac_try;;
1595 esac
1596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1597 $as_echo "$ac_try_echo"; } >&5
1598 (eval "$ac_compile") 2>conftest.err
1599 ac_status=$?
1600 if test -s conftest.err; then
1601 grep -v '^ *+' conftest.err >conftest.er1
1602 cat conftest.er1 >&5
1603 mv -f conftest.er1 conftest.err
1604 fi
1605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1606 test $ac_status = 0; } && {
1607 test -z "$ac_c_werror_flag" ||
1608 test ! -s conftest.err
1609 } && test -s conftest.$ac_objext; then :
1610 ac_retval=0
1611 else
1612 $as_echo "$as_me: failed program was:" >&5
1613 sed 's/^/| /' conftest.$ac_ext >&5
1614
1615 ac_retval=1
1616 fi
1617 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1618 as_fn_set_status $ac_retval
1619
1620 } @%:@ ac_fn_c_try_compile
1621
1622 @%:@ ac_fn_c_try_link LINENO
1623 @%:@ -----------------------
1624 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1625 ac_fn_c_try_link ()
1626 {
1627 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1628 rm -f conftest.$ac_objext conftest$ac_exeext
1629 if { { ac_try="$ac_link"
1630 case "(($ac_try" in
1631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1632 *) ac_try_echo=$ac_try;;
1633 esac
1634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1635 $as_echo "$ac_try_echo"; } >&5
1636 (eval "$ac_link") 2>conftest.err
1637 ac_status=$?
1638 if test -s conftest.err; then
1639 grep -v '^ *+' conftest.err >conftest.er1
1640 cat conftest.er1 >&5
1641 mv -f conftest.er1 conftest.err
1642 fi
1643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1644 test $ac_status = 0; } && {
1645 test -z "$ac_c_werror_flag" ||
1646 test ! -s conftest.err
1647 } && test -s conftest$ac_exeext && {
1648 test "$cross_compiling" = yes ||
1649 $as_test_x conftest$ac_exeext
1650 }; then :
1651 ac_retval=0
1652 else
1653 $as_echo "$as_me: failed program was:" >&5
1654 sed 's/^/| /' conftest.$ac_ext >&5
1655
1656 ac_retval=1
1657 fi
1658 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1659 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1660 # interfere with the next link command; also delete a directory that is
1661 # left behind by Apple's compiler. We do this before executing the actions.
1662 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1663 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1664 as_fn_set_status $ac_retval
1665
1666 } @%:@ ac_fn_c_try_link
1667
1668 @%:@ ac_fn_c_try_cpp LINENO
1669 @%:@ ----------------------
1670 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1671 ac_fn_c_try_cpp ()
1672 {
1673 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1674 if { { ac_try="$ac_cpp conftest.$ac_ext"
1675 case "(($ac_try" in
1676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1677 *) ac_try_echo=$ac_try;;
1678 esac
1679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1680 $as_echo "$ac_try_echo"; } >&5
1681 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1682 ac_status=$?
1683 if test -s conftest.err; then
1684 grep -v '^ *+' conftest.err >conftest.er1
1685 cat conftest.er1 >&5
1686 mv -f conftest.er1 conftest.err
1687 fi
1688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689 test $ac_status = 0; } > conftest.i && {
1690 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1691 test ! -s conftest.err
1692 }; then :
1693 ac_retval=0
1694 else
1695 $as_echo "$as_me: failed program was:" >&5
1696 sed 's/^/| /' conftest.$ac_ext >&5
1697
1698 ac_retval=1
1699 fi
1700 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1701 as_fn_set_status $ac_retval
1702
1703 } @%:@ ac_fn_c_try_cpp
1704
1705 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1706 @%:@ -------------------------------------------------------
1707 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1708 @%:@ the include files in INCLUDES and setting the cache variable VAR
1709 @%:@ accordingly.
1710 ac_fn_c_check_header_mongrel ()
1711 {
1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713 if eval "test \"\${$3+set}\"" = set; then :
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1715 $as_echo_n "checking for $2... " >&6; }
1716 if eval "test \"\${$3+set}\"" = set; then :
1717 $as_echo_n "(cached) " >&6
1718 fi
1719 eval ac_res=\$$3
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1721 $as_echo "$ac_res" >&6; }
1722 else
1723 # Is the header compilable?
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1725 $as_echo_n "checking $2 usability... " >&6; }
1726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1727 /* end confdefs.h. */
1728 $4
1729 @%:@include <$2>
1730 _ACEOF
1731 if ac_fn_c_try_compile "$LINENO"; then :
1732 ac_header_compiler=yes
1733 else
1734 ac_header_compiler=no
1735 fi
1736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1738 $as_echo "$ac_header_compiler" >&6; }
1739
1740 # Is the header present?
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1742 $as_echo_n "checking $2 presence... " >&6; }
1743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744 /* end confdefs.h. */
1745 @%:@include <$2>
1746 _ACEOF
1747 if ac_fn_c_try_cpp "$LINENO"; then :
1748 ac_header_preproc=yes
1749 else
1750 ac_header_preproc=no
1751 fi
1752 rm -f conftest.err conftest.i conftest.$ac_ext
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1754 $as_echo "$ac_header_preproc" >&6; }
1755
1756 # So? What about this header?
1757 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1758 yes:no: )
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1760 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1762 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1763 ;;
1764 no:yes:* )
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1766 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1768 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1770 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1772 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1774 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1775 ( $as_echo "## -------------------------------------------- ##
1776 ## Report this to http://uncensored.citadel.org ##
1777 ## -------------------------------------------- ##"
1778 ) | sed "s/^/$as_me: WARNING: /" >&2
1779 ;;
1780 esac
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1782 $as_echo_n "checking for $2... " >&6; }
1783 if eval "test \"\${$3+set}\"" = set; then :
1784 $as_echo_n "(cached) " >&6
1785 else
1786 eval "$3=\$ac_header_compiler"
1787 fi
1788 eval ac_res=\$$3
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1790 $as_echo "$ac_res" >&6; }
1791 fi
1792 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1793
1794 } @%:@ ac_fn_c_check_header_mongrel
1795
1796 @%:@ ac_fn_c_try_run LINENO
1797 @%:@ ----------------------
1798 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1799 @%:@ that executables *can* be run.
1800 ac_fn_c_try_run ()
1801 {
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 if { { ac_try="$ac_link"
1804 case "(($ac_try" in
1805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1806 *) ac_try_echo=$ac_try;;
1807 esac
1808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1809 $as_echo "$ac_try_echo"; } >&5
1810 (eval "$ac_link") 2>&5
1811 ac_status=$?
1812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1813 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1814 { { case "(($ac_try" in
1815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1816 *) ac_try_echo=$ac_try;;
1817 esac
1818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1819 $as_echo "$ac_try_echo"; } >&5
1820 (eval "$ac_try") 2>&5
1821 ac_status=$?
1822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1823 test $ac_status = 0; }; }; then :
1824 ac_retval=0
1825 else
1826 $as_echo "$as_me: program exited with status $ac_status" >&5
1827 $as_echo "$as_me: failed program was:" >&5
1828 sed 's/^/| /' conftest.$ac_ext >&5
1829
1830 ac_retval=$ac_status
1831 fi
1832 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1833 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1834 as_fn_set_status $ac_retval
1835
1836 } @%:@ ac_fn_c_try_run
1837
1838 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1839 @%:@ -------------------------------------------------------
1840 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1841 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1842 ac_fn_c_check_header_compile ()
1843 {
1844 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1846 $as_echo_n "checking for $2... " >&6; }
1847 if eval "test \"\${$3+set}\"" = set; then :
1848 $as_echo_n "(cached) " >&6
1849 else
1850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1851 /* end confdefs.h. */
1852 $4
1853 @%:@include <$2>
1854 _ACEOF
1855 if ac_fn_c_try_compile "$LINENO"; then :
1856 eval "$3=yes"
1857 else
1858 eval "$3=no"
1859 fi
1860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1861 fi
1862 eval ac_res=\$$3
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1864 $as_echo "$ac_res" >&6; }
1865 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1866
1867 } @%:@ ac_fn_c_check_header_compile
1868
1869 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1870 @%:@ ----------------------------------
1871 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1872 ac_fn_c_check_func ()
1873 {
1874 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1876 $as_echo_n "checking for $2... " >&6; }
1877 if eval "test \"\${$3+set}\"" = set; then :
1878 $as_echo_n "(cached) " >&6
1879 else
1880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1881 /* end confdefs.h. */
1882 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1884 #define $2 innocuous_$2
1885
1886 /* System header to define __stub macros and hopefully few prototypes,
1887 which can conflict with char $2 (); below.
1888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1889 <limits.h> exists even on freestanding compilers. */
1890
1891 #ifdef __STDC__
1892 # include <limits.h>
1893 #else
1894 # include <assert.h>
1895 #endif
1896
1897 #undef $2
1898
1899 /* Override any GCC internal prototype to avoid an error.
1900 Use char because int might match the return type of a GCC
1901 builtin and then its argument prototype would still apply. */
1902 #ifdef __cplusplus
1903 extern "C"
1904 #endif
1905 char $2 ();
1906 /* The GNU C library defines this for functions which it implements
1907 to always fail with ENOSYS. Some functions are actually named
1908 something starting with __ and the normal name is an alias. */
1909 #if defined __stub_$2 || defined __stub___$2
1910 choke me
1911 #endif
1912
1913 int
1914 main ()
1915 {
1916 return $2 ();
1917 ;
1918 return 0;
1919 }
1920 _ACEOF
1921 if ac_fn_c_try_link "$LINENO"; then :
1922 eval "$3=yes"
1923 else
1924 eval "$3=no"
1925 fi
1926 rm -f core conftest.err conftest.$ac_objext \
1927 conftest$ac_exeext conftest.$ac_ext
1928 fi
1929 eval ac_res=\$$3
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1931 $as_echo "$ac_res" >&6; }
1932 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1933
1934 } @%:@ ac_fn_c_check_func
1935
1936 @%:@ ac_fn_cxx_try_compile LINENO
1937 @%:@ ----------------------------
1938 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1939 ac_fn_cxx_try_compile ()
1940 {
1941 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1942 rm -f conftest.$ac_objext
1943 if { { ac_try="$ac_compile"
1944 case "(($ac_try" in
1945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1946 *) ac_try_echo=$ac_try;;
1947 esac
1948 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1949 $as_echo "$ac_try_echo"; } >&5
1950 (eval "$ac_compile") 2>conftest.err
1951 ac_status=$?
1952 if test -s conftest.err; then
1953 grep -v '^ *+' conftest.err >conftest.er1
1954 cat conftest.er1 >&5
1955 mv -f conftest.er1 conftest.err
1956 fi
1957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1958 test $ac_status = 0; } && {
1959 test -z "$ac_cxx_werror_flag" ||
1960 test ! -s conftest.err
1961 } && test -s conftest.$ac_objext; then :
1962 ac_retval=0
1963 else
1964 $as_echo "$as_me: failed program was:" >&5
1965 sed 's/^/| /' conftest.$ac_ext >&5
1966
1967 ac_retval=1
1968 fi
1969 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1970 as_fn_set_status $ac_retval
1971
1972 } @%:@ ac_fn_cxx_try_compile
1973
1974 @%:@ ac_fn_cxx_try_cpp LINENO
1975 @%:@ ------------------------
1976 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1977 ac_fn_cxx_try_cpp ()
1978 {
1979 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1980 if { { ac_try="$ac_cpp conftest.$ac_ext"
1981 case "(($ac_try" in
1982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1983 *) ac_try_echo=$ac_try;;
1984 esac
1985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1986 $as_echo "$ac_try_echo"; } >&5
1987 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1988 ac_status=$?
1989 if test -s conftest.err; then
1990 grep -v '^ *+' conftest.err >conftest.er1
1991 cat conftest.er1 >&5
1992 mv -f conftest.er1 conftest.err
1993 fi
1994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1995 test $ac_status = 0; } > conftest.i && {
1996 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1997 test ! -s conftest.err
1998 }; then :
1999 ac_retval=0
2000 else
2001 $as_echo "$as_me: failed program was:" >&5
2002 sed 's/^/| /' conftest.$ac_ext >&5
2003
2004 ac_retval=1
2005 fi
2006 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2007 as_fn_set_status $ac_retval
2008
2009 } @%:@ ac_fn_cxx_try_cpp
2010
2011 @%:@ ac_fn_cxx_try_link LINENO
2012 @%:@ -------------------------
2013 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
2014 ac_fn_cxx_try_link ()
2015 {
2016 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2017 rm -f conftest.$ac_objext conftest$ac_exeext
2018 if { { ac_try="$ac_link"
2019 case "(($ac_try" in
2020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2021 *) ac_try_echo=$ac_try;;
2022 esac
2023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2024 $as_echo "$ac_try_echo"; } >&5
2025 (eval "$ac_link") 2>conftest.err
2026 ac_status=$?
2027 if test -s conftest.err; then
2028 grep -v '^ *+' conftest.err >conftest.er1
2029 cat conftest.er1 >&5
2030 mv -f conftest.er1 conftest.err
2031 fi
2032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2033 test $ac_status = 0; } && {
2034 test -z "$ac_cxx_werror_flag" ||
2035 test ! -s conftest.err
2036 } && test -s conftest$ac_exeext && {
2037 test "$cross_compiling" = yes ||
2038 $as_test_x conftest$ac_exeext
2039 }; then :
2040 ac_retval=0
2041 else
2042 $as_echo "$as_me: failed program was:" >&5
2043 sed 's/^/| /' conftest.$ac_ext >&5
2044
2045 ac_retval=1
2046 fi
2047 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2048 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2049 # interfere with the next link command; also delete a directory that is
2050 # left behind by Apple's compiler. We do this before executing the actions.
2051 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2052 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2053 as_fn_set_status $ac_retval
2054
2055 } @%:@ ac_fn_cxx_try_link
2056
2057 @%:@ ac_fn_f77_try_compile LINENO
2058 @%:@ ----------------------------
2059 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
2060 ac_fn_f77_try_compile ()
2061 {
2062 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2063 rm -f conftest.$ac_objext
2064 if { { ac_try="$ac_compile"
2065 case "(($ac_try" in
2066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2067 *) ac_try_echo=$ac_try;;
2068 esac
2069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2070 $as_echo "$ac_try_echo"; } >&5
2071 (eval "$ac_compile") 2>conftest.err
2072 ac_status=$?
2073 if test -s conftest.err; then
2074 grep -v '^ *+' conftest.err >conftest.er1
2075 cat conftest.er1 >&5
2076 mv -f conftest.er1 conftest.err
2077 fi
2078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2079 test $ac_status = 0; } && {
2080 test -z "$ac_f77_werror_flag" ||
2081 test ! -s conftest.err
2082 } && test -s conftest.$ac_objext; then :
2083 ac_retval=0
2084 else
2085 $as_echo "$as_me: failed program was:" >&5
2086 sed 's/^/| /' conftest.$ac_ext >&5
2087
2088 ac_retval=1
2089 fi
2090 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2091 as_fn_set_status $ac_retval
2092
2093 } @%:@ ac_fn_f77_try_compile
2094
2095 @%:@ ac_fn_f77_try_link LINENO
2096 @%:@ -------------------------
2097 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
2098 ac_fn_f77_try_link ()
2099 {
2100 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2101 rm -f conftest.$ac_objext conftest$ac_exeext
2102 if { { ac_try="$ac_link"
2103 case "(($ac_try" in
2104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2105 *) ac_try_echo=$ac_try;;
2106 esac
2107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2108 $as_echo "$ac_try_echo"; } >&5
2109 (eval "$ac_link") 2>conftest.err
2110 ac_status=$?
2111 if test -s conftest.err; then
2112 grep -v '^ *+' conftest.err >conftest.er1
2113 cat conftest.er1 >&5
2114 mv -f conftest.er1 conftest.err
2115 fi
2116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2117 test $ac_status = 0; } && {
2118 test -z "$ac_f77_werror_flag" ||
2119 test ! -s conftest.err
2120 } && test -s conftest$ac_exeext && {
2121 test "$cross_compiling" = yes ||
2122 $as_test_x conftest$ac_exeext
2123 }; then :
2124 ac_retval=0
2125 else
2126 $as_echo "$as_me: failed program was:" >&5
2127 sed 's/^/| /' conftest.$ac_ext >&5
2128
2129 ac_retval=1
2130 fi
2131 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2132 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2133 # interfere with the next link command; also delete a directory that is
2134 # left behind by Apple's compiler. We do this before executing the actions.
2135 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2136 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2137 as_fn_set_status $ac_retval
2138
2139 } @%:@ ac_fn_f77_try_link
2140
2141 @%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2142 @%:@ -------------------------------------------
2143 @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
2144 @%:@ variable VAR accordingly.
2145 ac_fn_c_check_type ()
2146 {
2147 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2149 $as_echo_n "checking for $2... " >&6; }
2150 if eval "test \"\${$3+set}\"" = set; then :
2151 $as_echo_n "(cached) " >&6
2152 else
2153 eval "$3=no"
2154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2155 /* end confdefs.h. */
2156 $4
2157 int
2158 main ()
2159 {
2160 if (sizeof ($2))
2161 return 0;
2162 ;
2163 return 0;
2164 }
2165 _ACEOF
2166 if ac_fn_c_try_compile "$LINENO"; then :
2167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2168 /* end confdefs.h. */
2169 $4
2170 int
2171 main ()
2172 {
2173 if (sizeof (($2)))
2174 return 0;
2175 ;
2176 return 0;
2177 }
2178 _ACEOF
2179 if ac_fn_c_try_compile "$LINENO"; then :
2180
2181 else
2182 eval "$3=yes"
2183 fi
2184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2185 fi
2186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2187 fi
2188 eval ac_res=\$$3
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2190 $as_echo "$ac_res" >&6; }
2191 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2192
2193 } @%:@ ac_fn_c_check_type
16322194 cat >config.log <<_ACEOF
16332195 This file contains any messages produced by compilers while
16342196 running configure, to aid debugging if configure makes a mistake.
16352197
1636 It was created by libcitadel $as_me 8.05, which was
1637 generated by GNU Autoconf 2.63. Invocation command line was
2198 It was created by libcitadel $as_me 2.8.11, which was
2199 generated by GNU Autoconf 2.67. Invocation command line was
16382200
16392201 $ $0 $@
16402202
16422204 exec 5>>config.log
16432205 {
16442206 cat <<_ASUNAME
1645 @%:@@%:@ --------- @%:@@%:@
1646 @%:@@%:@ Platform. @%:@@%:@
1647 @%:@@%:@ --------- @%:@@%:@
2207 ## --------- ##
2208 ## Platform. ##
2209 ## --------- ##
16482210
16492211 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
16502212 uname -m = `(uname -m) 2>/dev/null || echo unknown`
16702232 do
16712233 IFS=$as_save_IFS
16722234 test -z "$as_dir" && as_dir=.
1673 $as_echo "PATH: $as_dir"
1674 done
2235 $as_echo "PATH: $as_dir"
2236 done
16752237 IFS=$as_save_IFS
16762238
16772239 } >&5
16792241 cat >&5 <<_ACEOF
16802242
16812243
1682 @%:@@%:@ ----------- @%:@@%:@
1683 @%:@@%:@ Core tests. @%:@@%:@
1684 @%:@@%:@ ----------- @%:@@%:@
2244 ## ----------- ##
2245 ## Core tests. ##
2246 ## ----------- ##
16852247
16862248 _ACEOF
16872249
17082270 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
17092271 esac
17102272 case $ac_pass in
1711 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2273 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
17122274 2)
1713 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2275 as_fn_append ac_configure_args1 " '$ac_arg'"
17142276 if test $ac_must_keep_next = true; then
17152277 ac_must_keep_next=false # Got value, back to normal.
17162278 else
17262288 -* ) ac_must_keep_next=true ;;
17272289 esac
17282290 fi
1729 ac_configure_args="$ac_configure_args '$ac_arg'"
2291 as_fn_append ac_configure_args " '$ac_arg'"
17302292 ;;
17312293 esac
17322294 done
17332295 done
1734 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1735 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2296 { ac_configure_args0=; unset ac_configure_args0;}
2297 { ac_configure_args1=; unset ac_configure_args1;}
17362298
17372299 # When interrupted or exit'd, cleanup temporary files, and complete
17382300 # config.log. We remove comments because anyway the quotes in there
17442306 {
17452307 echo
17462308
1747 cat <<\_ASBOX
1748 @%:@@%:@ ---------------- @%:@@%:@
1749 @%:@@%:@ Cache variables. @%:@@%:@
1750 @%:@@%:@ ---------------- @%:@@%:@
1751 _ASBOX
2309 $as_echo "## ---------------- ##
2310 ## Cache variables. ##
2311 ## ---------------- ##"
17522312 echo
17532313 # The following way of writing the cache mishandles newlines in values,
17542314 (
17572317 case $ac_val in #(
17582318 *${as_nl}*)
17592319 case $ac_var in #(
1760 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
2320 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17612321 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17622322 esac
17632323 case $ac_var in #(
17642324 _ | IFS | as_nl) ;; #(
17652325 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1766 *) $as_unset $ac_var ;;
2326 *) { eval $ac_var=; unset $ac_var;} ;;
17672327 esac ;;
17682328 esac
17692329 done
17822342 )
17832343 echo
17842344
1785 cat <<\_ASBOX
1786 @%:@@%:@ ----------------- @%:@@%:@
1787 @%:@@%:@ Output variables. @%:@@%:@
1788 @%:@@%:@ ----------------- @%:@@%:@
1789 _ASBOX
2345 $as_echo "## ----------------- ##
2346 ## Output variables. ##
2347 ## ----------------- ##"
17902348 echo
17912349 for ac_var in $ac_subst_vars
17922350 do
17992357 echo
18002358
18012359 if test -n "$ac_subst_files"; then
1802 cat <<\_ASBOX
1803 @%:@@%:@ ------------------- @%:@@%:@
1804 @%:@@%:@ File substitutions. @%:@@%:@
1805 @%:@@%:@ ------------------- @%:@@%:@
1806 _ASBOX
2360 $as_echo "## ------------------- ##
2361 ## File substitutions. ##
2362 ## ------------------- ##"
18072363 echo
18082364 for ac_var in $ac_subst_files
18092365 do
18172373 fi
18182374
18192375 if test -s confdefs.h; then
1820 cat <<\_ASBOX
1821 @%:@@%:@ ----------- @%:@@%:@
1822 @%:@@%:@ confdefs.h. @%:@@%:@
1823 @%:@@%:@ ----------- @%:@@%:@
1824 _ASBOX
2376 $as_echo "## ----------- ##
2377 ## confdefs.h. ##
2378 ## ----------- ##"
18252379 echo
18262380 cat confdefs.h
18272381 echo
18352389 exit $exit_status
18362390 ' 0
18372391 for ac_signal in 1 2 13 15; do
1838 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2392 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
18392393 done
18402394 ac_signal=0
18412395
18422396 # confdefs.h avoids OS command line length limits that DEFS can exceed.
18432397 rm -f -r conftest* confdefs.h
2398
2399 $as_echo "/* confdefs.h */" > confdefs.h
18442400
18452401 # Predefined preprocessor variables.
18462402
18482404 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
18492405 _ACEOF
18502406
1851
18522407 cat >>confdefs.h <<_ACEOF
18532408 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
18542409 _ACEOF
18552410
1856
18572411 cat >>confdefs.h <<_ACEOF
18582412 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
18592413 _ACEOF
18602414
1861
18622415 cat >>confdefs.h <<_ACEOF
18632416 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
18642417 _ACEOF
18652418
1866
18672419 cat >>confdefs.h <<_ACEOF
18682420 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2421 _ACEOF
2422
2423 cat >>confdefs.h <<_ACEOF
2424 @%:@define PACKAGE_URL "$PACKAGE_URL"
18692425 _ACEOF
18702426
18712427
18742430 ac_site_file1=NONE
18752431 ac_site_file2=NONE
18762432 if test -n "$CONFIG_SITE"; then
1877 ac_site_file1=$CONFIG_SITE
2433 # We do not want a PATH search for config.site.
2434 case $CONFIG_SITE in @%:@((
2435 -*) ac_site_file1=./$CONFIG_SITE;;
2436 */*) ac_site_file1=$CONFIG_SITE;;
2437 *) ac_site_file1=./$CONFIG_SITE;;
2438 esac
18782439 elif test "x$prefix" != xNONE; then
18792440 ac_site_file1=$prefix/share/config.site
18802441 ac_site_file2=$prefix/etc/config.site
18852446 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
18862447 do
18872448 test "x$ac_site_file" = xNONE && continue
1888 if test -r "$ac_site_file"; then
1889 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2449 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
18902451 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
18912452 sed 's/^/| /' "$ac_site_file" >&5
1892 . "$ac_site_file"
2453 . "$ac_site_file" \
2454 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2456 as_fn_error $? "failed to load site script $ac_site_file
2457 See \`config.log' for more details" "$LINENO" 5 ; }
18932458 fi
18942459 done
18952460
18962461 if test -r "$cache_file"; then
1897 # Some versions of bash will fail to source /dev/null (special
1898 # files actually), so we avoid doing that.
1899 if test -f "$cache_file"; then
1900 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2462 # Some versions of bash will fail to source /dev/null (special files
2463 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2464 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
19012466 $as_echo "$as_me: loading cache $cache_file" >&6;}
19022467 case $cache_file in
19032468 [\\/]* | ?:[\\/]* ) . "$cache_file";;
19052470 esac
19062471 fi
19072472 else
1908 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
19092474 $as_echo "$as_me: creating cache $cache_file" >&6;}
19102475 >$cache_file
19112476 fi
19202485 eval ac_new_val=\$ac_env_${ac_var}_value
19212486 case $ac_old_set,$ac_new_set in
19222487 set,)
1923 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
19242489 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
19252490 ac_cache_corrupted=: ;;
19262491 ,set)
1927 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
19282493 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
19292494 ac_cache_corrupted=: ;;
19302495 ,);;
19342499 ac_old_val_w=`echo x $ac_old_val`
19352500 ac_new_val_w=`echo x $ac_new_val`
19362501 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1937 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
19382503 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
19392504 ac_cache_corrupted=:
19402505 else
1941 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
19422507 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
19432508 eval $ac_var=\$ac_old_val
19442509 fi
1945 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
19462511 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1947 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
19482513 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
19492514 fi;;
19502515 esac
19562521 esac
19572522 case " $ac_configure_args " in
19582523 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1959 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2524 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
19602525 esac
19612526 fi
19622527 done
19632528 if $ac_cache_corrupted; then
1964 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19652530 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1966 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
19672532 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1968 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1969 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1970 { (exit 1); exit 1; }; }
1971 fi
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
2533 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2534 fi
2535 ## -------------------- ##
2536 ## Main body of script. ##
2537 ## -------------------- ##
19962538
19972539 ac_ext=c
19982540 ac_cpp='$CPP $CPPFLAGS'
20202562 fi
20212563 done
20222564 if test -z "$ac_aux_dir"; then
2023 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in conftools \"$srcdir\"/conftools" >&5
2024 $as_echo "$as_me: error: cannot find install-sh or install.sh in conftools \"$srcdir\"/conftools" >&2;}
2025 { (exit 1); exit 1; }; }
2565 as_fn_error $? "cannot find install-sh, install.sh, or shtool in conftools \"$srcdir\"/conftools" "$LINENO" 5
20262566 fi
20272567
20282568 # These three variables are undocumented and unsupported,
20382578
20392579
20402580 LIBCURRENT=2
2041 LIBREVISION=1
2581 LIBREVISION=811
20422582 LIBAGE=0
20432583
20442584 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
25103050
25113051
25123052 @%:@ Check whether --enable-shared was given.
2513 if test "${enable_shared+set}" = set; then
3053 if test "${enable_shared+set}" = set; then :
25143054 enableval=$enable_shared; p=${PACKAGE-default}
25153055 case $enableval in
25163056 yes) enable_shared=yes ;;
25343074
25353075
25363076 @%:@ Check whether --enable-static was given.
2537 if test "${enable_static+set}" = set; then
3077 if test "${enable_static+set}" = set; then :
25383078 enableval=$enable_static; p=${PACKAGE-default}
25393079 case $enableval in
25403080 yes) enable_static=yes ;;
25583098
25593099
25603100 @%:@ Check whether --enable-fast-install was given.
2561 if test "${enable_fast_install+set}" = set; then
3101 if test "${enable_fast_install+set}" = set; then :
25623102 enableval=$enable_fast_install; p=${PACKAGE-default}
25633103 case $enableval in
25643104 yes) enable_fast_install=yes ;;
25833123
25843124 # Make sure we can run config.sub.
25853125 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2586 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2587 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2588 { (exit 1); exit 1; }; }
2589
2590 { $as_echo "$as_me:$LINENO: checking build system type" >&5
3126 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3127
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
25913129 $as_echo_n "checking build system type... " >&6; }
2592 if test "${ac_cv_build+set}" = set; then
3130 if test "${ac_cv_build+set}" = set; then :
25933131 $as_echo_n "(cached) " >&6
25943132 else
25953133 ac_build_alias=$build_alias
25963134 test "x$ac_build_alias" = x &&
25973135 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
25983136 test "x$ac_build_alias" = x &&
2599 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2600 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2601 { (exit 1); exit 1; }; }
3137 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
26023138 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2603 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2604 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2605 { (exit 1); exit 1; }; }
2606
2607 fi
2608 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3139 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3140
3141 fi
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
26093143 $as_echo "$ac_cv_build" >&6; }
26103144 case $ac_cv_build in
26113145 *-*-*) ;;
2612 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2613 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2614 { (exit 1); exit 1; }; };;
3146 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
26153147 esac
26163148 build=$ac_cv_build
26173149 ac_save_IFS=$IFS; IFS='-'
26273159 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
26283160
26293161
2630 { $as_echo "$as_me:$LINENO: checking host system type" >&5
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
26313163 $as_echo_n "checking host system type... " >&6; }
2632 if test "${ac_cv_host+set}" = set; then
3164 if test "${ac_cv_host+set}" = set; then :
26333165 $as_echo_n "(cached) " >&6
26343166 else
26353167 if test "x$host_alias" = x; then
26363168 ac_cv_host=$ac_cv_build
26373169 else
26383170 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2639 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2640 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2641 { (exit 1); exit 1; }; }
2642 fi
2643
2644 fi
2645 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3171 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3172 fi
3173
3174 fi
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
26463176 $as_echo "$ac_cv_host" >&6; }
26473177 case $ac_cv_host in
26483178 *-*-*) ;;
2649 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2650 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2651 { (exit 1); exit 1; }; };;
3179 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
26523180 esac
26533181 host=$ac_cv_host
26543182 ac_save_IFS=$IFS; IFS='-'
26723200 if test -n "$ac_tool_prefix"; then
26733201 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
26743202 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2675 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26763204 $as_echo_n "checking for $ac_word... " >&6; }
2677 if test "${ac_cv_prog_CC+set}" = set; then
3205 if test "${ac_cv_prog_CC+set}" = set; then :
26783206 $as_echo_n "(cached) " >&6
26793207 else
26803208 if test -n "$CC"; then
26853213 do
26863214 IFS=$as_save_IFS
26873215 test -z "$as_dir" && as_dir=.
2688 for ac_exec_ext in '' $ac_executable_extensions; do
3216 for ac_exec_ext in '' $ac_executable_extensions; do
26893217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26903218 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2691 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26923220 break 2
26933221 fi
26943222 done
2695 done
3223 done
26963224 IFS=$as_save_IFS
26973225
26983226 fi
26993227 fi
27003228 CC=$ac_cv_prog_CC
27013229 if test -n "$CC"; then
2702 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
27033231 $as_echo "$CC" >&6; }
27043232 else
2705 { $as_echo "$as_me:$LINENO: result: no" >&5
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27063234 $as_echo "no" >&6; }
27073235 fi
27083236
27123240 ac_ct_CC=$CC
27133241 # Extract the first word of "gcc", so it can be a program name with args.
27143242 set dummy gcc; ac_word=$2
2715 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27163244 $as_echo_n "checking for $ac_word... " >&6; }
2717 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3245 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
27183246 $as_echo_n "(cached) " >&6
27193247 else
27203248 if test -n "$ac_ct_CC"; then
27253253 do
27263254 IFS=$as_save_IFS
27273255 test -z "$as_dir" && as_dir=.
2728 for ac_exec_ext in '' $ac_executable_extensions; do
3256 for ac_exec_ext in '' $ac_executable_extensions; do
27293257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27303258 ac_cv_prog_ac_ct_CC="gcc"
2731 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27323260 break 2
27333261 fi
27343262 done
2735 done
3263 done
27363264 IFS=$as_save_IFS
27373265
27383266 fi
27393267 fi
27403268 ac_ct_CC=$ac_cv_prog_ac_ct_CC
27413269 if test -n "$ac_ct_CC"; then
2742 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
27433271 $as_echo "$ac_ct_CC" >&6; }
27443272 else
2745 { $as_echo "$as_me:$LINENO: result: no" >&5
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27463274 $as_echo "no" >&6; }
27473275 fi
27483276
27513279 else
27523280 case $cross_compiling:$ac_tool_warned in
27533281 yes:)
2754 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27553283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27563284 ac_tool_warned=yes ;;
27573285 esac
27653293 if test -n "$ac_tool_prefix"; then
27663294 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
27673295 set dummy ${ac_tool_prefix}cc; ac_word=$2
2768 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27693297 $as_echo_n "checking for $ac_word... " >&6; }
2770 if test "${ac_cv_prog_CC+set}" = set; then
3298 if test "${ac_cv_prog_CC+set}" = set; then :
27713299 $as_echo_n "(cached) " >&6
27723300 else
27733301 if test -n "$CC"; then
27783306 do
27793307 IFS=$as_save_IFS
27803308 test -z "$as_dir" && as_dir=.
2781 for ac_exec_ext in '' $ac_executable_extensions; do
3309 for ac_exec_ext in '' $ac_executable_extensions; do
27823310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27833311 ac_cv_prog_CC="${ac_tool_prefix}cc"
2784 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27853313 break 2
27863314 fi
27873315 done
2788 done
3316 done
27893317 IFS=$as_save_IFS
27903318
27913319 fi
27923320 fi
27933321 CC=$ac_cv_prog_CC
27943322 if test -n "$CC"; then
2795 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
27963324 $as_echo "$CC" >&6; }
27973325 else
2798 { $as_echo "$as_me:$LINENO: result: no" >&5
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27993327 $as_echo "no" >&6; }
28003328 fi
28013329
28053333 if test -z "$CC"; then
28063334 # Extract the first word of "cc", so it can be a program name with args.
28073335 set dummy cc; ac_word=$2
2808 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28093337 $as_echo_n "checking for $ac_word... " >&6; }
2810 if test "${ac_cv_prog_CC+set}" = set; then
3338 if test "${ac_cv_prog_CC+set}" = set; then :
28113339 $as_echo_n "(cached) " >&6
28123340 else
28133341 if test -n "$CC"; then
28193347 do
28203348 IFS=$as_save_IFS
28213349 test -z "$as_dir" && as_dir=.
2822 for ac_exec_ext in '' $ac_executable_extensions; do
3350 for ac_exec_ext in '' $ac_executable_extensions; do
28233351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28243352 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
28253353 ac_prog_rejected=yes
28263354 continue
28273355 fi
28283356 ac_cv_prog_CC="cc"
2829 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28303358 break 2
28313359 fi
28323360 done
2833 done
3361 done
28343362 IFS=$as_save_IFS
28353363
28363364 if test $ac_prog_rejected = yes; then
28493377 fi
28503378 CC=$ac_cv_prog_CC
28513379 if test -n "$CC"; then
2852 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
28533381 $as_echo "$CC" >&6; }
28543382 else
2855 { $as_echo "$as_me:$LINENO: result: no" >&5
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28563384 $as_echo "no" >&6; }
28573385 fi
28583386
28643392 do
28653393 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
28663394 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2867 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28683396 $as_echo_n "checking for $ac_word... " >&6; }
2869 if test "${ac_cv_prog_CC+set}" = set; then
3397 if test "${ac_cv_prog_CC+set}" = set; then :
28703398 $as_echo_n "(cached) " >&6
28713399 else
28723400 if test -n "$CC"; then
28773405 do
28783406 IFS=$as_save_IFS
28793407 test -z "$as_dir" && as_dir=.
2880 for ac_exec_ext in '' $ac_executable_extensions; do
3408 for ac_exec_ext in '' $ac_executable_extensions; do
28813409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28823410 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2883 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28843412 break 2
28853413 fi
28863414 done
2887 done
3415 done
28883416 IFS=$as_save_IFS
28893417
28903418 fi
28913419 fi
28923420 CC=$ac_cv_prog_CC
28933421 if test -n "$CC"; then
2894 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
28953423 $as_echo "$CC" >&6; }
28963424 else
2897 { $as_echo "$as_me:$LINENO: result: no" >&5
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28983426 $as_echo "no" >&6; }
28993427 fi
29003428
29083436 do
29093437 # Extract the first word of "$ac_prog", so it can be a program name with args.
29103438 set dummy $ac_prog; ac_word=$2
2911 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29123440 $as_echo_n "checking for $ac_word... " >&6; }
2913 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3441 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
29143442 $as_echo_n "(cached) " >&6
29153443 else
29163444 if test -n "$ac_ct_CC"; then
29213449 do
29223450 IFS=$as_save_IFS
29233451 test -z "$as_dir" && as_dir=.
2924 for ac_exec_ext in '' $ac_executable_extensions; do
3452 for ac_exec_ext in '' $ac_executable_extensions; do
29253453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29263454 ac_cv_prog_ac_ct_CC="$ac_prog"
2927 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
29283456 break 2
29293457 fi
29303458 done
2931 done
3459 done
29323460 IFS=$as_save_IFS
29333461
29343462 fi
29353463 fi
29363464 ac_ct_CC=$ac_cv_prog_ac_ct_CC
29373465 if test -n "$ac_ct_CC"; then
2938 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
29393467 $as_echo "$ac_ct_CC" >&6; }
29403468 else
2941 { $as_echo "$as_me:$LINENO: result: no" >&5
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29423470 $as_echo "no" >&6; }
29433471 fi
29443472
29513479 else
29523480 case $cross_compiling:$ac_tool_warned in
29533481 yes:)
2954 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
29553483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
29563484 ac_tool_warned=yes ;;
29573485 esac
29623490 fi
29633491
29643492
2965 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3493 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29663494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2967 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2968 See \`config.log' for more details." >&5
2969 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2970 See \`config.log' for more details." >&2;}
2971 { (exit 1); exit 1; }; }; }
3495 as_fn_error $? "no acceptable C compiler found in \$PATH
3496 See \`config.log' for more details" "$LINENO" 5 ; }
29723497
29733498 # Provide some information about the compiler.
2974 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3499 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
29753500 set X $ac_compile
29763501 ac_compiler=$2
2977 { (ac_try="$ac_compiler --version >&5"
3502 for ac_option in --version -v -V -qversion; do
3503 { { ac_try="$ac_compiler $ac_option >&5"
29783504 case "(($ac_try" in
29793505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29803506 *) ac_try_echo=$ac_try;;
29813507 esac
2982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2983 $as_echo "$ac_try_echo") >&5
2984 (eval "$ac_compiler --version >&5") 2>&5
3508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3509 $as_echo "$ac_try_echo"; } >&5
3510 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
29853511 ac_status=$?
2986 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987 (exit $ac_status); }
2988 { (ac_try="$ac_compiler -v >&5"
2989 case "(($ac_try" in
2990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2991 *) ac_try_echo=$ac_try;;
2992 esac
2993 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2994 $as_echo "$ac_try_echo") >&5
2995 (eval "$ac_compiler -v >&5") 2>&5
2996 ac_status=$?
2997 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998 (exit $ac_status); }
2999 { (ac_try="$ac_compiler -V >&5"
3000 case "(($ac_try" in
3001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3002 *) ac_try_echo=$ac_try;;
3003 esac
3004 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3005 $as_echo "$ac_try_echo") >&5
3006 (eval "$ac_compiler -V >&5") 2>&5
3007 ac_status=$?
3008 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009 (exit $ac_status); }
3010
3011 cat >conftest.$ac_ext <<_ACEOF
3012 /* confdefs.h. */
3013 _ACEOF
3014 cat confdefs.h >>conftest.$ac_ext
3015 cat >>conftest.$ac_ext <<_ACEOF
3512 if test -s conftest.err; then
3513 sed '10a\
3514 ... rest of stderr output deleted ...
3515 10q' conftest.err >conftest.er1
3516 cat conftest.er1 >&5
3517 fi
3518 rm -f conftest.er1 conftest.err
3519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3520 test $ac_status = 0; }
3521 done
3522
3523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30163524 /* end confdefs.h. */
30173525
30183526 int
30283536 # Try to create an executable without -o first, disregard a.out.
30293537 # It will help us diagnose broken compilers, and finding out an intuition
30303538 # of exeext.
3031 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3032 $as_echo_n "checking for C compiler default output file name... " >&6; }
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3540 $as_echo_n "checking whether the C compiler works... " >&6; }
30333541 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
30343542
30353543 # The possible output files:
30453553 done
30463554 rm -f $ac_rmfiles
30473555
3048 if { (ac_try="$ac_link_default"
3556 if { { ac_try="$ac_link_default"
30493557 case "(($ac_try" in
30503558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30513559 *) ac_try_echo=$ac_try;;
30523560 esac
3053 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3054 $as_echo "$ac_try_echo") >&5
3561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3562 $as_echo "$ac_try_echo"; } >&5
30553563 (eval "$ac_link_default") 2>&5
30563564 ac_status=$?
3057 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3058 (exit $ac_status); }; then
3565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3566 test $ac_status = 0; }; then :
30593567 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
30603568 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
30613569 # in a Makefile. We should not override ac_cv_exeext if it was cached,
30723580 # certainly right.
30733581 break;;
30743582 *.* )
3075 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3583 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
30763584 then :; else
30773585 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
30783586 fi
30913599 else
30923600 ac_file=''
30933601 fi
3094
3095 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3602 if test -z "$ac_file"; then :
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3604 $as_echo "no" >&6; }
3605 $as_echo "$as_me: failed program was:" >&5
3606 sed 's/^/| /' conftest.$ac_ext >&5
3607
3608 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3610 as_fn_error 77 "C compiler cannot create executables
3611 See \`config.log' for more details" "$LINENO" 5 ; }
3612 else
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3614 $as_echo "yes" >&6; }
3615 fi
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3617 $as_echo_n "checking for C compiler default output file name... " >&6; }
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
30963619 $as_echo "$ac_file" >&6; }
3097 if test -z "$ac_file"; then
3098 $as_echo "$as_me: failed program was:" >&5
3099 sed 's/^/| /' conftest.$ac_ext >&5
3100
3101 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3102 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3103 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3104 See \`config.log' for more details." >&5
3105 $as_echo "$as_me: error: C compiler cannot create executables
3106 See \`config.log' for more details." >&2;}
3107 { (exit 77); exit 77; }; }; }
3108 fi
3109
31103620 ac_exeext=$ac_cv_exeext
3111
3112 # Check that the compiler produces executables we can run. If not, either
3113 # the compiler is broken, or we cross compile.
3114 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3115 $as_echo_n "checking whether the C compiler works... " >&6; }
3116 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3117 # If not cross compiling, check that we can run a simple program.
3118 if test "$cross_compiling" != yes; then
3119 if { ac_try='./$ac_file'
3120 { (case "(($ac_try" in
3121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3122 *) ac_try_echo=$ac_try;;
3123 esac
3124 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3125 $as_echo "$ac_try_echo") >&5
3126 (eval "$ac_try") 2>&5
3127 ac_status=$?
3128 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129 (exit $ac_status); }; }; then
3130 cross_compiling=no
3131 else
3132 if test "$cross_compiling" = maybe; then
3133 cross_compiling=yes
3134 else
3135 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3137 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3138 If you meant to cross compile, use \`--host'.
3139 See \`config.log' for more details." >&5
3140 $as_echo "$as_me: error: cannot run C compiled programs.
3141 If you meant to cross compile, use \`--host'.
3142 See \`config.log' for more details." >&2;}
3143 { (exit 1); exit 1; }; }; }
3144 fi
3145 fi
3146 fi
3147 { $as_echo "$as_me:$LINENO: result: yes" >&5
3148 $as_echo "yes" >&6; }
31493621
31503622 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
31513623 ac_clean_files=$ac_clean_files_save
3152 # Check that the compiler produces executables we can run. If not, either
3153 # the compiler is broken, or we cross compile.
3154 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3155 $as_echo_n "checking whether we are cross compiling... " >&6; }
3156 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3157 $as_echo "$cross_compiling" >&6; }
3158
3159 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
31603625 $as_echo_n "checking for suffix of executables... " >&6; }
3161 if { (ac_try="$ac_link"
3626 if { { ac_try="$ac_link"
31623627 case "(($ac_try" in
31633628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31643629 *) ac_try_echo=$ac_try;;
31653630 esac
3166 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3167 $as_echo "$ac_try_echo") >&5
3631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3632 $as_echo "$ac_try_echo"; } >&5
31683633 (eval "$ac_link") 2>&5
31693634 ac_status=$?
3170 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171 (exit $ac_status); }; then
3635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3636 test $ac_status = 0; }; then :
31723637 # If both `conftest.exe' and `conftest' are `present' (well, observable)
31733638 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
31743639 # work properly (i.e., refer to `conftest.exe'), while it won't with
31833648 esac
31843649 done
31853650 else
3186 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3651 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
31873652 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3188 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3189 See \`config.log' for more details." >&5
3190 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3191 See \`config.log' for more details." >&2;}
3192 { (exit 1); exit 1; }; }; }
3193 fi
3194
3195 rm -f conftest$ac_cv_exeext
3196 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3653 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3654 See \`config.log' for more details" "$LINENO" 5 ; }
3655 fi
3656 rm -f conftest conftest$ac_cv_exeext
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
31973658 $as_echo "$ac_cv_exeext" >&6; }
31983659
31993660 rm -f conftest.$ac_ext
32003661 EXEEXT=$ac_cv_exeext
32013662 ac_exeext=$EXEEXT
3202 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3664 /* end confdefs.h. */
3665 @%:@include <stdio.h>
3666 int
3667 main ()
3668 {
3669 FILE *f = fopen ("conftest.out", "w");
3670 return ferror (f) || fclose (f) != 0;
3671
3672 ;
3673 return 0;
3674 }
3675 _ACEOF
3676 ac_clean_files="$ac_clean_files conftest.out"
3677 # Check that the compiler produces executables we can run. If not, either
3678 # the compiler is broken, or we cross compile.
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3680 $as_echo_n "checking whether we are cross compiling... " >&6; }
3681 if test "$cross_compiling" != yes; then
3682 { { ac_try="$ac_link"
3683 case "(($ac_try" in
3684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3685 *) ac_try_echo=$ac_try;;
3686 esac
3687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3688 $as_echo "$ac_try_echo"; } >&5
3689 (eval "$ac_link") 2>&5
3690 ac_status=$?
3691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3692 test $ac_status = 0; }
3693 if { ac_try='./conftest$ac_cv_exeext'
3694 { { case "(($ac_try" in
3695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3696 *) ac_try_echo=$ac_try;;
3697 esac
3698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3699 $as_echo "$ac_try_echo"; } >&5
3700 (eval "$ac_try") 2>&5
3701 ac_status=$?
3702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3703 test $ac_status = 0; }; }; then
3704 cross_compiling=no
3705 else
3706 if test "$cross_compiling" = maybe; then
3707 cross_compiling=yes
3708 else
3709 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3710 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3711 as_fn_error $? "cannot run C compiled programs.
3712 If you meant to cross compile, use \`--host'.
3713 See \`config.log' for more details" "$LINENO" 5 ; }
3714 fi
3715 fi
3716 fi
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3718 $as_echo "$cross_compiling" >&6; }
3719
3720 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3721 ac_clean_files=$ac_clean_files_save
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
32033723 $as_echo_n "checking for suffix of object files... " >&6; }
3204 if test "${ac_cv_objext+set}" = set; then
3724 if test "${ac_cv_objext+set}" = set; then :
32053725 $as_echo_n "(cached) " >&6
32063726 else
3207 cat >conftest.$ac_ext <<_ACEOF
3208 /* confdefs.h. */
3209 _ACEOF
3210 cat confdefs.h >>conftest.$ac_ext
3211 cat >>conftest.$ac_ext <<_ACEOF
3727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32123728 /* end confdefs.h. */
32133729
32143730 int
32203736 }
32213737 _ACEOF
32223738 rm -f conftest.o conftest.obj
3223 if { (ac_try="$ac_compile"
3739 if { { ac_try="$ac_compile"
32243740 case "(($ac_try" in
32253741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32263742 *) ac_try_echo=$ac_try;;
32273743 esac
3228 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3229 $as_echo "$ac_try_echo") >&5
3744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3745 $as_echo "$ac_try_echo"; } >&5
32303746 (eval "$ac_compile") 2>&5
32313747 ac_status=$?
3232 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3233 (exit $ac_status); }; then
3748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3749 test $ac_status = 0; }; then :
32343750 for ac_file in conftest.o conftest.obj conftest.*; do
32353751 test -f "$ac_file" || continue;
32363752 case $ac_file in
32433759 $as_echo "$as_me: failed program was:" >&5
32443760 sed 's/^/| /' conftest.$ac_ext >&5
32453761
3246 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32473763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3248 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3249 See \`config.log' for more details." >&5
3250 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3251 See \`config.log' for more details." >&2;}
3252 { (exit 1); exit 1; }; }; }
3253 fi
3254
3764 as_fn_error $? "cannot compute suffix of object files: cannot compile
3765 See \`config.log' for more details" "$LINENO" 5 ; }
3766 fi
32553767 rm -f conftest.$ac_cv_objext conftest.$ac_ext
32563768 fi
3257 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
32583770 $as_echo "$ac_cv_objext" >&6; }
32593771 OBJEXT=$ac_cv_objext
32603772 ac_objext=$OBJEXT
3261 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
32623774 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3263 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3775 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
32643776 $as_echo_n "(cached) " >&6
32653777 else
3266 cat >conftest.$ac_ext <<_ACEOF
3267 /* confdefs.h. */
3268 _ACEOF
3269 cat confdefs.h >>conftest.$ac_ext
3270 cat >>conftest.$ac_ext <<_ACEOF
3778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32713779 /* end confdefs.h. */
32723780
32733781 int
32813789 return 0;
32823790 }
32833791 _ACEOF
3284 rm -f conftest.$ac_objext
3285 if { (ac_try="$ac_compile"
3286 case "(($ac_try" in
3287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3288 *) ac_try_echo=$ac_try;;
3289 esac
3290 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3291 $as_echo "$ac_try_echo") >&5
3292 (eval "$ac_compile") 2>conftest.er1
3293 ac_status=$?
3294 grep -v '^ *+' conftest.er1 >conftest.err
3295 rm -f conftest.er1
3296 cat conftest.err >&5
3297 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 (exit $ac_status); } && {
3299 test -z "$ac_c_werror_flag" ||
3300 test ! -s conftest.err
3301 } && test -s conftest.$ac_objext; then
3792 if ac_fn_c_try_compile "$LINENO"; then :
33023793 ac_compiler_gnu=yes
33033794 else
3304 $as_echo "$as_me: failed program was:" >&5
3305 sed 's/^/| /' conftest.$ac_ext >&5
3306
3307 ac_compiler_gnu=no
3308 fi
3309
3795 ac_compiler_gnu=no
3796 fi
33103797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33113798 ac_cv_c_compiler_gnu=$ac_compiler_gnu
33123799
33133800 fi
3314 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
33153802 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
33163803 if test $ac_compiler_gnu = yes; then
33173804 GCC=yes
33203807 fi
33213808 ac_test_CFLAGS=${CFLAGS+set}
33223809 ac_save_CFLAGS=$CFLAGS
3323 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
33243811 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3325 if test "${ac_cv_prog_cc_g+set}" = set; then
3812 if test "${ac_cv_prog_cc_g+set}" = set; then :
33263813 $as_echo_n "(cached) " >&6
33273814 else
33283815 ac_save_c_werror_flag=$ac_c_werror_flag
33293816 ac_c_werror_flag=yes
33303817 ac_cv_prog_cc_g=no
33313818 CFLAGS="-g"
3332 cat >conftest.$ac_ext <<_ACEOF
3333 /* confdefs.h. */
3334 _ACEOF
3335 cat confdefs.h >>conftest.$ac_ext
3336 cat >>conftest.$ac_ext <<_ACEOF
3819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33373820 /* end confdefs.h. */
33383821
33393822 int
33443827 return 0;
33453828 }
33463829 _ACEOF
3347 rm -f conftest.$ac_objext
3348 if { (ac_try="$ac_compile"
3349 case "(($ac_try" in
3350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3351 *) ac_try_echo=$ac_try;;
3352 esac
3353 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3354 $as_echo "$ac_try_echo") >&5
3355 (eval "$ac_compile") 2>conftest.er1
3356 ac_status=$?
3357 grep -v '^ *+' conftest.er1 >conftest.err
3358 rm -f conftest.er1
3359 cat conftest.err >&5
3360 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3361 (exit $ac_status); } && {
3362 test -z "$ac_c_werror_flag" ||
3363 test ! -s conftest.err
3364 } && test -s conftest.$ac_objext; then
3830 if ac_fn_c_try_compile "$LINENO"; then :
33653831 ac_cv_prog_cc_g=yes
33663832 else
3367 $as_echo "$as_me: failed program was:" >&5
3368 sed 's/^/| /' conftest.$ac_ext >&5
3369
3370 CFLAGS=""
3371 cat >conftest.$ac_ext <<_ACEOF
3372 /* confdefs.h. */
3373 _ACEOF
3374 cat confdefs.h >>conftest.$ac_ext
3375 cat >>conftest.$ac_ext <<_ACEOF
3833 CFLAGS=""
3834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33763835 /* end confdefs.h. */
33773836
33783837 int
33833842 return 0;
33843843 }
33853844 _ACEOF
3386 rm -f conftest.$ac_objext
3387 if { (ac_try="$ac_compile"
3388 case "(($ac_try" in
3389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3390 *) ac_try_echo=$ac_try;;
3391 esac
3392 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3393 $as_echo "$ac_try_echo") >&5
3394 (eval "$ac_compile") 2>conftest.er1
3395 ac_status=$?
3396 grep -v '^ *+' conftest.er1 >conftest.err
3397 rm -f conftest.er1
3398 cat conftest.err >&5
3399 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3400 (exit $ac_status); } && {
3401 test -z "$ac_c_werror_flag" ||
3402 test ! -s conftest.err
3403 } && test -s conftest.$ac_objext; then
3404 :
3405 else
3406 $as_echo "$as_me: failed program was:" >&5
3407 sed 's/^/| /' conftest.$ac_ext >&5
3408
3409 ac_c_werror_flag=$ac_save_c_werror_flag
3845 if ac_fn_c_try_compile "$LINENO"; then :
3846
3847 else
3848 ac_c_werror_flag=$ac_save_c_werror_flag
34103849 CFLAGS="-g"
3411 cat >conftest.$ac_ext <<_ACEOF
3412 /* confdefs.h. */
3413 _ACEOF
3414 cat confdefs.h >>conftest.$ac_ext
3415 cat >>conftest.$ac_ext <<_ACEOF
3850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34163851 /* end confdefs.h. */
34173852
34183853 int
34233858 return 0;
34243859 }
34253860 _ACEOF
3426 rm -f conftest.$ac_objext
3427 if { (ac_try="$ac_compile"
3428 case "(($ac_try" in
3429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3430 *) ac_try_echo=$ac_try;;
3431 esac
3432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3433 $as_echo "$ac_try_echo") >&5
3434 (eval "$ac_compile") 2>conftest.er1
3435 ac_status=$?
3436 grep -v '^ *+' conftest.er1 >conftest.err
3437 rm -f conftest.er1
3438 cat conftest.err >&5
3439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3440 (exit $ac_status); } && {
3441 test -z "$ac_c_werror_flag" ||
3442 test ! -s conftest.err
3443 } && test -s conftest.$ac_objext; then
3861 if ac_fn_c_try_compile "$LINENO"; then :
34443862 ac_cv_prog_cc_g=yes
3445 else
3446 $as_echo "$as_me: failed program was:" >&5
3447 sed 's/^/| /' conftest.$ac_ext >&5
3448
3449
3450 fi
3451
3863 fi
34523864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34533865 fi
3454
34553866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34563867 fi
3457
34583868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34593869 ac_c_werror_flag=$ac_save_c_werror_flag
34603870 fi
3461 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
34623872 $as_echo "$ac_cv_prog_cc_g" >&6; }
34633873 if test "$ac_test_CFLAGS" = set; then
34643874 CFLAGS=$ac_save_CFLAGS
34753885 CFLAGS=
34763886 fi
34773887 fi
3478 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
34793889 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3480 if test "${ac_cv_prog_cc_c89+set}" = set; then
3890 if test "${ac_cv_prog_cc_c89+set}" = set; then :
34813891 $as_echo_n "(cached) " >&6
34823892 else
34833893 ac_cv_prog_cc_c89=no
34843894 ac_save_CC=$CC
3485 cat >conftest.$ac_ext <<_ACEOF
3486 /* confdefs.h. */
3487 _ACEOF
3488 cat confdefs.h >>conftest.$ac_ext
3489 cat >>conftest.$ac_ext <<_ACEOF
3895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34903896 /* end confdefs.h. */
34913897 #include <stdarg.h>
34923898 #include <stdio.h>
35433949 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
35443950 do
35453951 CC="$ac_save_CC $ac_arg"
3546 rm -f conftest.$ac_objext
3547 if { (ac_try="$ac_compile"
3548 case "(($ac_try" in
3549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550 *) ac_try_echo=$ac_try;;
3551 esac
3552 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3553 $as_echo "$ac_try_echo") >&5
3554 (eval "$ac_compile") 2>conftest.er1
3555 ac_status=$?
3556 grep -v '^ *+' conftest.er1 >conftest.err
3557 rm -f conftest.er1
3558 cat conftest.err >&5
3559 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560 (exit $ac_status); } && {
3561 test -z "$ac_c_werror_flag" ||
3562 test ! -s conftest.err
3563 } && test -s conftest.$ac_objext; then
3952 if ac_fn_c_try_compile "$LINENO"; then :
35643953 ac_cv_prog_cc_c89=$ac_arg
3565 else
3566 $as_echo "$as_me: failed program was:" >&5
3567 sed 's/^/| /' conftest.$ac_ext >&5
3568
3569
3570 fi
3571
3572 rm -f core conftest.err conftest.$ac_objext
3954 fi
3955 rm -f core conftest.err conftest.$ac_objext
35733956 test "x$ac_cv_prog_cc_c89" != "xno" && break
35743957 done
35753958 rm -f conftest.$ac_ext
35793962 # AC_CACHE_VAL
35803963 case "x$ac_cv_prog_cc_c89" in
35813964 x)
3582 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
35833966 $as_echo "none needed" >&6; } ;;
35843967 xno)
3585 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
35863969 $as_echo "unsupported" >&6; } ;;
35873970 *)
35883971 CC="$CC $ac_cv_prog_cc_c89"
3589 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
35903973 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
35913974 esac
3592
3975 if test "x$ac_cv_prog_cc_c89" != xno; then :
3976
3977 fi
35933978
35943979 ac_ext=c
35953980 ac_cpp='$CPP $CPPFLAGS'
35973982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35983983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35993984
3600 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
36013986 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3602 if test "${lt_cv_path_SED+set}" = set; then
3987 if test "${lt_cv_path_SED+set}" = set; then :
36033988 $as_echo_n "(cached) " >&6
36043989 else
36053990 # Loop through the user's path and test for sed and gsed.
36514036 fi
36524037
36534038 SED=$lt_cv_path_SED
3654 { $as_echo "$as_me:$LINENO: result: $SED" >&5
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
36554040 $as_echo "$SED" >&6; }
36564041
3657 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
36584043 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3659 if test "${ac_cv_path_GREP+set}" = set; then
4044 if test "${ac_cv_path_GREP+set}" = set; then :
36604045 $as_echo_n "(cached) " >&6
36614046 else
36624047 if test -z "$GREP"; then
36674052 do
36684053 IFS=$as_save_IFS
36694054 test -z "$as_dir" && as_dir=.
3670 for ac_prog in grep ggrep; do
4055 for ac_prog in grep ggrep; do
36714056 for ac_exec_ext in '' $ac_executable_extensions; do
36724057 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
36734058 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
36874072 $as_echo 'GREP' >> "conftest.nl"
36884073 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
36894074 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3690 ac_count=`expr $ac_count + 1`
4075 as_fn_arith $ac_count + 1 && ac_count=$as_val
36914076 if test $ac_count -gt ${ac_path_GREP_max-0}; then
36924077 # Best one so far, save it but keep looking for a better one
36934078 ac_cv_path_GREP="$ac_path_GREP"
37024087 $ac_path_GREP_found && break 3
37034088 done
37044089 done
3705 done
4090 done
37064091 IFS=$as_save_IFS
37074092 if test -z "$ac_cv_path_GREP"; then
3708 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3709 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3710 { (exit 1); exit 1; }; }
4093 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
37114094 fi
37124095 else
37134096 ac_cv_path_GREP=$GREP
37144097 fi
37154098
37164099 fi
3717 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
37184101 $as_echo "$ac_cv_path_GREP" >&6; }
37194102 GREP="$ac_cv_path_GREP"
37204103
37214104
3722 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
37234106 $as_echo_n "checking for egrep... " >&6; }
3724 if test "${ac_cv_path_EGREP+set}" = set; then
4107 if test "${ac_cv_path_EGREP+set}" = set; then :
37254108 $as_echo_n "(cached) " >&6
37264109 else
37274110 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
37354118 do
37364119 IFS=$as_save_IFS
37374120 test -z "$as_dir" && as_dir=.
3738 for ac_prog in egrep; do
4121 for ac_prog in egrep; do
37394122 for ac_exec_ext in '' $ac_executable_extensions; do
37404123 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
37414124 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
37554138 $as_echo 'EGREP' >> "conftest.nl"
37564139 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
37574140 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3758 ac_count=`expr $ac_count + 1`
4141 as_fn_arith $ac_count + 1 && ac_count=$as_val
37594142 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
37604143 # Best one so far, save it but keep looking for a better one
37614144 ac_cv_path_EGREP="$ac_path_EGREP"
37704153 $ac_path_EGREP_found && break 3
37714154 done
37724155 done
3773 done
4156 done
37744157 IFS=$as_save_IFS
37754158 if test -z "$ac_cv_path_EGREP"; then
3776 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3777 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3778 { (exit 1); exit 1; }; }
4159 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
37794160 fi
37804161 else
37814162 ac_cv_path_EGREP=$EGREP
37834164
37844165 fi
37854166 fi
3786 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
37874168 $as_echo "$ac_cv_path_EGREP" >&6; }
37884169 EGREP="$ac_cv_path_EGREP"
37894170
37904171
37914172
37924173 @%:@ Check whether --with-gnu-ld was given.
3793 if test "${with_gnu_ld+set}" = set; then
4174 if test "${with_gnu_ld+set}" = set; then :
37944175 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
37954176 else
37964177 with_gnu_ld=no
37994180 ac_prog=ld
38004181 if test "$GCC" = yes; then
38014182 # Check if gcc -print-prog-name=ld gives a path.
3802 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
38034184 $as_echo_n "checking for ld used by $CC... " >&6; }
38044185 case $host in
38054186 *-*-mingw*)
38294210 ;;
38304211 esac
38314212 elif test "$with_gnu_ld" = yes; then
3832 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
38334214 $as_echo_n "checking for GNU ld... " >&6; }
38344215 else
3835 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
38364217 $as_echo_n "checking for non-GNU ld... " >&6; }
38374218 fi
3838 if test "${lt_cv_path_LD+set}" = set; then
4219 if test "${lt_cv_path_LD+set}" = set; then :
38394220 $as_echo_n "(cached) " >&6
38404221 else
38414222 if test -z "$LD"; then
38664247
38674248 LD="$lt_cv_path_LD"
38684249 if test -n "$LD"; then
3869 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
38704251 $as_echo "$LD" >&6; }
38714252 else
3872 { $as_echo "$as_me:$LINENO: result: no" >&5
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38734254 $as_echo "no" >&6; }
38744255 fi
3875 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3876 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3877 { (exit 1); exit 1; }; }
3878 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4256 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
38794258 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3880 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4259 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
38814260 $as_echo_n "(cached) " >&6
38824261 else
38834262 # I'd rather use --version here, but apparently some GNU lds only accept -v.
38904269 ;;
38914270 esac
38924271 fi
3893 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
38944273 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
38954274 with_gnu_ld=$lt_cv_prog_gnu_ld
38964275
38974276
3898 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
38994278 $as_echo_n "checking for $LD option to reload object files... " >&6; }
3900 if test "${lt_cv_ld_reload_flag+set}" = set; then
4279 if test "${lt_cv_ld_reload_flag+set}" = set; then :
39014280 $as_echo_n "(cached) " >&6
39024281 else
39034282 lt_cv_ld_reload_flag='-r'
39044283 fi
3905 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
39064285 $as_echo "$lt_cv_ld_reload_flag" >&6; }
39074286 reload_flag=$lt_cv_ld_reload_flag
39084287 case $reload_flag in
39204299 ;;
39214300 esac
39224301
3923 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD-compatible nm" >&5
39244303 $as_echo_n "checking for BSD-compatible nm... " >&6; }
3925 if test "${lt_cv_path_NM+set}" = set; then
4304 if test "${lt_cv_path_NM+set}" = set; then :
39264305 $as_echo_n "(cached) " >&6
39274306 else
39284307 if test -n "$NM"; then
39694348 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
39704349 fi
39714350 fi
3972 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
39734352 $as_echo "$lt_cv_path_NM" >&6; }
39744353 NM="$lt_cv_path_NM"
39754354
3976 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
39774356 $as_echo_n "checking whether ln -s works... " >&6; }
39784357 LN_S=$as_ln_s
39794358 if test "$LN_S" = "ln -s"; then
3980 { $as_echo "$as_me:$LINENO: result: yes" >&5
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39814360 $as_echo "yes" >&6; }
39824361 else
3983 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
39844363 $as_echo "no, using $LN_S" >&6; }
39854364 fi
39864365
3987 { $as_echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognise dependent libraries" >&5
39884367 $as_echo_n "checking how to recognise dependent libraries... " >&6; }
3989 if test "${lt_cv_deplibs_check_method+set}" = set; then
4368 if test "${lt_cv_deplibs_check_method+set}" = set; then :
39904369 $as_echo_n "(cached) " >&6
39914370 else
39924371 lt_cv_file_magic_cmd='$MAGIC_CMD'
41604539 esac
41614540
41624541 fi
4163 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
41644543 $as_echo "$lt_cv_deplibs_check_method" >&6; }
41654544 file_magic_cmd=$lt_cv_file_magic_cmd
41664545 deplibs_check_method=$lt_cv_deplibs_check_method
41804559
41814560
41824561 @%:@ Check whether --enable-libtool-lock was given.
4183 if test "${enable_libtool_lock+set}" = set; then
4562 if test "${enable_libtool_lock+set}" = set; then :
41844563 enableval=$enable_libtool_lock;
41854564 fi
41864565
41924571 ia64-*-hpux*)
41934572 # Find out which ABI we are using.
41944573 echo 'int i;' > conftest.$ac_ext
4195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4574 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
41964575 (eval $ac_compile) 2>&5
41974576 ac_status=$?
4198 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4199 (exit $ac_status); }; then
4577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4578 test $ac_status = 0; }; then
42004579 case `/usr/bin/file conftest.$ac_objext` in
42014580 *ELF-32*)
42024581 HPUX_IA64_MODE="32"
42114590 *-*-irix6*)
42124591 # Find out which ABI we are using.
42134592 echo '#line __oline__ "configure"' > conftest.$ac_ext
4214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4593 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
42154594 (eval $ac_compile) 2>&5
42164595 ac_status=$?
4217 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4218 (exit $ac_status); }; then
4596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4597 test $ac_status = 0; }; then
42194598 if test "$lt_cv_prog_gnu_ld" = yes; then
42204599 case `/usr/bin/file conftest.$ac_objext` in
42214600 *32-bit*)
42484627 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
42494628 # Find out which ABI we are using.
42504629 echo 'int i;' > conftest.$ac_ext
4251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4630 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
42524631 (eval $ac_compile) 2>&5
42534632 ac_status=$?
4254 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255 (exit $ac_status); }; then
4633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4634 test $ac_status = 0; }; then
42564635 case `/usr/bin/file conftest.o` in
42574636 *32-bit*)
42584637 case $host in
42954674 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
42964675 SAVE_CFLAGS="$CFLAGS"
42974676 CFLAGS="$CFLAGS -belf"
4298 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
42994678 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
4300 if test "${lt_cv_cc_needs_belf+set}" = set; then
4679 if test "${lt_cv_cc_needs_belf+set}" = set; then :
43014680 $as_echo_n "(cached) " >&6
43024681 else
43034682 ac_ext=c
43064685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43074686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43084687
4309 cat >conftest.$ac_ext <<_ACEOF
4310 /* confdefs.h. */
4311 _ACEOF
4312 cat confdefs.h >>conftest.$ac_ext
4313 cat >>conftest.$ac_ext <<_ACEOF
4688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43144689 /* end confdefs.h. */
43154690
43164691 int
43214696 return 0;
43224697 }
43234698 _ACEOF
4324 rm -f conftest.$ac_objext conftest$ac_exeext
4325 if { (ac_try="$ac_link"
4326 case "(($ac_try" in
4327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4328 *) ac_try_echo=$ac_try;;
4329 esac
4330 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4331 $as_echo "$ac_try_echo") >&5
4332 (eval "$ac_link") 2>conftest.er1
4333 ac_status=$?
4334 grep -v '^ *+' conftest.er1 >conftest.err
4335 rm -f conftest.er1
4336 cat conftest.err >&5
4337 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338 (exit $ac_status); } && {
4339 test -z "$ac_c_werror_flag" ||
4340 test ! -s conftest.err
4341 } && test -s conftest$ac_exeext && {
4342 test "$cross_compiling" = yes ||
4343 $as_test_x conftest$ac_exeext
4344 }; then
4699 if ac_fn_c_try_link "$LINENO"; then :
43454700 lt_cv_cc_needs_belf=yes
43464701 else
4347 $as_echo "$as_me: failed program was:" >&5
4348 sed 's/^/| /' conftest.$ac_ext >&5
4349
4350 lt_cv_cc_needs_belf=no
4351 fi
4352
4353 rm -rf conftest.dSYM
4354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4355 conftest$ac_exeext conftest.$ac_ext
4702 lt_cv_cc_needs_belf=no
4703 fi
4704 rm -f core conftest.err conftest.$ac_objext \
4705 conftest$ac_exeext conftest.$ac_ext
43564706 ac_ext=c
43574707 ac_cpp='$CPP $CPPFLAGS'
43584708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43604710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43614711
43624712 fi
4363 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
43644714 $as_echo "$lt_cv_cc_needs_belf" >&6; }
43654715 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
43664716 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
43704720 sparc*-*solaris*)
43714721 # Find out which ABI we are using.
43724722 echo 'int i;' > conftest.$ac_ext
4373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4723 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
43744724 (eval $ac_compile) 2>&5
43754725 ac_status=$?
4376 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4377 (exit $ac_status); }; then
4726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4727 test $ac_status = 0; }; then
43784728 case `/usr/bin/file conftest.o` in
43794729 *64-bit*)
43804730 case $lt_cv_prog_gnu_ld in
43984748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43994749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44004750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4401 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
44024752 $as_echo_n "checking how to run the C preprocessor... " >&6; }
44034753 # On Suns, sometimes $CPP names a directory.
44044754 if test -n "$CPP" && test -d "$CPP"; then
44054755 CPP=
44064756 fi
44074757 if test -z "$CPP"; then
4408 if test "${ac_cv_prog_CPP+set}" = set; then
4758 if test "${ac_cv_prog_CPP+set}" = set; then :
44094759 $as_echo_n "(cached) " >&6
44104760 else
44114761 # Double quotes because CPP needs to be expanded
44204770 # <limits.h> exists even on freestanding compilers.
44214771 # On the NeXT, cc -E runs the code through the compiler's parser,
44224772 # not just through cpp. "Syntax error" is here to catch this case.
4423 cat >conftest.$ac_ext <<_ACEOF
4424 /* confdefs.h. */
4425 _ACEOF
4426 cat confdefs.h >>conftest.$ac_ext
4427 cat >>conftest.$ac_ext <<_ACEOF
4773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44284774 /* end confdefs.h. */
44294775 @%:@ifdef __STDC__
44304776 @%:@ include <limits.h>
44334779 @%:@endif
44344780 Syntax error
44354781 _ACEOF
4436 if { (ac_try="$ac_cpp conftest.$ac_ext"
4437 case "(($ac_try" in
4438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4439 *) ac_try_echo=$ac_try;;
4440 esac
4441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4442 $as_echo "$ac_try_echo") >&5
4443 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4444 ac_status=$?
4445 grep -v '^ *+' conftest.er1 >conftest.err
4446 rm -f conftest.er1
4447 cat conftest.err >&5
4448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4449 (exit $ac_status); } >/dev/null && {
4450 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4451 test ! -s conftest.err
4452 }; then
4453 :
4454 else
4455 $as_echo "$as_me: failed program was:" >&5
4456 sed 's/^/| /' conftest.$ac_ext >&5
4457
4782 if ac_fn_c_try_cpp "$LINENO"; then :
4783
4784 else
44584785 # Broken: fails on valid input.
44594786 continue
44604787 fi
4461
4462 rm -f conftest.err conftest.$ac_ext
4788 rm -f conftest.err conftest.i conftest.$ac_ext
44634789
44644790 # OK, works on sane cases. Now check whether nonexistent headers
44654791 # can be detected and how.
4466 cat >conftest.$ac_ext <<_ACEOF
4467 /* confdefs.h. */
4468 _ACEOF
4469 cat confdefs.h >>conftest.$ac_ext
4470 cat >>conftest.$ac_ext <<_ACEOF
4792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44714793 /* end confdefs.h. */
44724794 @%:@include <ac_nonexistent.h>
44734795 _ACEOF
4474 if { (ac_try="$ac_cpp conftest.$ac_ext"
4475 case "(($ac_try" in
4476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4477 *) ac_try_echo=$ac_try;;
4478 esac
4479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4480 $as_echo "$ac_try_echo") >&5
4481 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4482 ac_status=$?
4483 grep -v '^ *+' conftest.er1 >conftest.err
4484 rm -f conftest.er1
4485 cat conftest.err >&5
4486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4487 (exit $ac_status); } >/dev/null && {
4488 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4489 test ! -s conftest.err
4490 }; then
4796 if ac_fn_c_try_cpp "$LINENO"; then :
44914797 # Broken: success on invalid input.
44924798 continue
44934799 else
4494 $as_echo "$as_me: failed program was:" >&5
4495 sed 's/^/| /' conftest.$ac_ext >&5
4496
44974800 # Passes both tests.
44984801 ac_preproc_ok=:
44994802 break
45004803 fi
4501
4502 rm -f conftest.err conftest.$ac_ext
4804 rm -f conftest.err conftest.i conftest.$ac_ext
45034805
45044806 done
45054807 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4506 rm -f conftest.err conftest.$ac_ext
4507 if $ac_preproc_ok; then
4808 rm -f conftest.i conftest.err conftest.$ac_ext
4809 if $ac_preproc_ok; then :
45084810 break
45094811 fi
45104812
45164818 else
45174819 ac_cv_prog_CPP=$CPP
45184820 fi
4519 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
45204822 $as_echo "$CPP" >&6; }
45214823 ac_preproc_ok=false
45224824 for ac_c_preproc_warn_flag in '' yes
45274829 # <limits.h> exists even on freestanding compilers.
45284830 # On the NeXT, cc -E runs the code through the compiler's parser,
45294831 # not just through cpp. "Syntax error" is here to catch this case.
4530 cat >conftest.$ac_ext <<_ACEOF
4531 /* confdefs.h. */
4532 _ACEOF
4533 cat confdefs.h >>conftest.$ac_ext
4534 cat >>conftest.$ac_ext <<_ACEOF
4832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45354833 /* end confdefs.h. */
45364834 @%:@ifdef __STDC__
45374835 @%:@ include <limits.h>
45404838 @%:@endif
45414839 Syntax error
45424840 _ACEOF
4543 if { (ac_try="$ac_cpp conftest.$ac_ext"
4544 case "(($ac_try" in
4545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4546 *) ac_try_echo=$ac_try;;
4547 esac
4548 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4549 $as_echo "$ac_try_echo") >&5
4550 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4551 ac_status=$?
4552 grep -v '^ *+' conftest.er1 >conftest.err
4553 rm -f conftest.er1
4554 cat conftest.err >&5
4555 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556 (exit $ac_status); } >/dev/null && {
4557 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4558 test ! -s conftest.err
4559 }; then
4560 :
4561 else
4562 $as_echo "$as_me: failed program was:" >&5
4563 sed 's/^/| /' conftest.$ac_ext >&5
4564
4841 if ac_fn_c_try_cpp "$LINENO"; then :
4842
4843 else
45654844 # Broken: fails on valid input.
45664845 continue
45674846 fi
4568
4569 rm -f conftest.err conftest.$ac_ext
4847 rm -f conftest.err conftest.i conftest.$ac_ext
45704848
45714849 # OK, works on sane cases. Now check whether nonexistent headers
45724850 # can be detected and how.
4573 cat >conftest.$ac_ext <<_ACEOF
4574 /* confdefs.h. */
4575 _ACEOF
4576 cat confdefs.h >>conftest.$ac_ext
4577 cat >>conftest.$ac_ext <<_ACEOF
4851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45784852 /* end confdefs.h. */
45794853 @%:@include <ac_nonexistent.h>
45804854 _ACEOF
4581 if { (ac_try="$ac_cpp conftest.$ac_ext"
4582 case "(($ac_try" in
4583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4584 *) ac_try_echo=$ac_try;;
4585 esac
4586 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4587 $as_echo "$ac_try_echo") >&5
4588 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4589 ac_status=$?
4590 grep -v '^ *+' conftest.er1 >conftest.err
4591 rm -f conftest.er1
4592 cat conftest.err >&5
4593 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594 (exit $ac_status); } >/dev/null && {
4595 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4596 test ! -s conftest.err
4597 }; then
4855 if ac_fn_c_try_cpp "$LINENO"; then :
45984856 # Broken: success on invalid input.
45994857 continue
46004858 else
4601 $as_echo "$as_me: failed program was:" >&5
4602 sed 's/^/| /' conftest.$ac_ext >&5
4603
46044859 # Passes both tests.
46054860 ac_preproc_ok=:
46064861 break
46074862 fi
4608
4609 rm -f conftest.err conftest.$ac_ext
4863 rm -f conftest.err conftest.i conftest.$ac_ext
46104864
46114865 done
46124866 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4613 rm -f conftest.err conftest.$ac_ext
4614 if $ac_preproc_ok; then
4615 :
4616 else
4617 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4867 rm -f conftest.i conftest.err conftest.$ac_ext
4868 if $ac_preproc_ok; then :
4869
4870 else
4871 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46184872 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4619 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4620 See \`config.log' for more details." >&5
4621 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4622 See \`config.log' for more details." >&2;}
4623 { (exit 1); exit 1; }; }; }
4873 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4874 See \`config.log' for more details" "$LINENO" 5 ; }
46244875 fi
46254876
46264877 ac_ext=c
46304881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46314882
46324883
4633 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
46344885 $as_echo_n "checking for ANSI C header files... " >&6; }
4635 if test "${ac_cv_header_stdc+set}" = set; then
4886 if test "${ac_cv_header_stdc+set}" = set; then :
46364887 $as_echo_n "(cached) " >&6
46374888 else
4638 cat >conftest.$ac_ext <<_ACEOF
4639 /* confdefs.h. */
4640 _ACEOF
4641 cat confdefs.h >>conftest.$ac_ext
4642 cat >>conftest.$ac_ext <<_ACEOF
4889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46434890 /* end confdefs.h. */
46444891 #include <stdlib.h>
46454892 #include <stdarg.h>
46544901 return 0;
46554902 }
46564903 _ACEOF
4657 rm -f conftest.$ac_objext
4658 if { (ac_try="$ac_compile"
4659 case "(($ac_try" in
4660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4661 *) ac_try_echo=$ac_try;;
4662 esac
4663 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4664 $as_echo "$ac_try_echo") >&5
4665 (eval "$ac_compile") 2>conftest.er1
4666 ac_status=$?
4667 grep -v '^ *+' conftest.er1 >conftest.err
4668 rm -f conftest.er1
4669 cat conftest.err >&5
4670 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4671 (exit $ac_status); } && {
4672 test -z "$ac_c_werror_flag" ||
4673 test ! -s conftest.err
4674 } && test -s conftest.$ac_objext; then
4904 if ac_fn_c_try_compile "$LINENO"; then :
46754905 ac_cv_header_stdc=yes
46764906 else
4677 $as_echo "$as_me: failed program was:" >&5
4678 sed 's/^/| /' conftest.$ac_ext >&5
4679
4680 ac_cv_header_stdc=no
4681 fi
4682
4907 ac_cv_header_stdc=no
4908 fi
46834909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46844910
46854911 if test $ac_cv_header_stdc = yes; then
46864912 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4687 cat >conftest.$ac_ext <<_ACEOF
4688 /* confdefs.h. */
4689 _ACEOF
4690 cat confdefs.h >>conftest.$ac_ext
4691 cat >>conftest.$ac_ext <<_ACEOF
4913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46924914 /* end confdefs.h. */
46934915 #include <string.h>
46944916
46954917 _ACEOF
46964918 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4697 $EGREP "memchr" >/dev/null 2>&1; then
4698 :
4919 $EGREP "memchr" >/dev/null 2>&1; then :
4920
46994921 else
47004922 ac_cv_header_stdc=no
47014923 fi
47054927
47064928 if test $ac_cv_header_stdc = yes; then
47074929 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4708 cat >conftest.$ac_ext <<_ACEOF
4709 /* confdefs.h. */
4710 _ACEOF
4711 cat confdefs.h >>conftest.$ac_ext
4712 cat >>conftest.$ac_ext <<_ACEOF
4930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47134931 /* end confdefs.h. */
47144932 #include <stdlib.h>
47154933
47164934 _ACEOF
47174935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4718 $EGREP "free" >/dev/null 2>&1; then
4719 :
4936 $EGREP "free" >/dev/null 2>&1; then :
4937
47204938 else
47214939 ac_cv_header_stdc=no
47224940 fi
47264944
47274945 if test $ac_cv_header_stdc = yes; then
47284946 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4729 if test "$cross_compiling" = yes; then
4947 if test "$cross_compiling" = yes; then :
47304948 :
47314949 else
4732 cat >conftest.$ac_ext <<_ACEOF
4733 /* confdefs.h. */
4734 _ACEOF
4735 cat confdefs.h >>conftest.$ac_ext
4736 cat >>conftest.$ac_ext <<_ACEOF
4950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47374951 /* end confdefs.h. */
47384952 #include <ctype.h>
47394953 #include <stdlib.h>
47604974 return 0;
47614975 }
47624976 _ACEOF
4763 rm -f conftest$ac_exeext
4764 if { (ac_try="$ac_link"
4765 case "(($ac_try" in
4766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4767 *) ac_try_echo=$ac_try;;
4768 esac
4769 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4770 $as_echo "$ac_try_echo") >&5
4771 (eval "$ac_link") 2>&5
4772 ac_status=$?
4773 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4774 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4775 { (case "(($ac_try" in
4776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4777 *) ac_try_echo=$ac_try;;
4778 esac
4779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4780 $as_echo "$ac_try_echo") >&5
4781 (eval "$ac_try") 2>&5
4782 ac_status=$?
4783 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784 (exit $ac_status); }; }; then
4785 :
4786 else
4787 $as_echo "$as_me: program exited with status $ac_status" >&5
4788 $as_echo "$as_me: failed program was:" >&5
4789 sed 's/^/| /' conftest.$ac_ext >&5
4790
4791 ( exit $ac_status )
4792 ac_cv_header_stdc=no
4793 fi
4794 rm -rf conftest.dSYM
4795 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4796 fi
4797
4798
4799 fi
4800 fi
4801 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4977 if ac_fn_c_try_run "$LINENO"; then :
4978
4979 else
4980 ac_cv_header_stdc=no
4981 fi
4982 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4983 conftest.$ac_objext conftest.beam conftest.$ac_ext
4984 fi
4985
4986 fi
4987 fi
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
48024989 $as_echo "$ac_cv_header_stdc" >&6; }
48034990 if test $ac_cv_header_stdc = yes; then
48044991
4805 cat >>confdefs.h <<\_ACEOF
4806 @%:@define STDC_HEADERS 1
4807 _ACEOF
4992 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
48084993
48094994 fi
48104995
48114996 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4812
4813
4814
4815
4816
4817
4818
4819
4820
48214997 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
48224998 inttypes.h stdint.h unistd.h
4823 do
4824 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4825 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4826 $as_echo_n "checking for $ac_header... " >&6; }
4827 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4828 $as_echo_n "(cached) " >&6
4829 else
4830 cat >conftest.$ac_ext <<_ACEOF
4831 /* confdefs.h. */
4832 _ACEOF
4833 cat confdefs.h >>conftest.$ac_ext
4834 cat >>conftest.$ac_ext <<_ACEOF
4835 /* end confdefs.h. */
4836 $ac_includes_default
4837
4838 @%:@include <$ac_header>
4839 _ACEOF
4840 rm -f conftest.$ac_objext
4841 if { (ac_try="$ac_compile"
4842 case "(($ac_try" in
4843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4844 *) ac_try_echo=$ac_try;;
4845 esac
4846 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4847 $as_echo "$ac_try_echo") >&5
4848 (eval "$ac_compile") 2>conftest.er1
4849 ac_status=$?
4850 grep -v '^ *+' conftest.er1 >conftest.err
4851 rm -f conftest.er1
4852 cat conftest.err >&5
4853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); } && {
4855 test -z "$ac_c_werror_flag" ||
4856 test ! -s conftest.err
4857 } && test -s conftest.$ac_objext; then
4858 eval "$as_ac_Header=yes"
4859 else
4860 $as_echo "$as_me: failed program was:" >&5
4861 sed 's/^/| /' conftest.$ac_ext >&5
4862
4863 eval "$as_ac_Header=no"
4864 fi
4865
4866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4867 fi
4868 ac_res=`eval 'as_val=${'$as_ac_Header'}
4869 $as_echo "$as_val"'`
4870 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4871 $as_echo "$ac_res" >&6; }
4872 as_val=`eval 'as_val=${'$as_ac_Header'}
4873 $as_echo "$as_val"'`
4874 if test "x$as_val" = x""yes; then
4999 do :
5000 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5001 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5002 "
5003 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
48755004 cat >>confdefs.h <<_ACEOF
48765005 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
48775006 _ACEOF
48815010 done
48825011
48835012
4884
48855013 for ac_header in dlfcn.h
4886 do
4887 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4888 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4889 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4890 $as_echo_n "checking for $ac_header... " >&6; }
4891 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4892 $as_echo_n "(cached) " >&6
4893 fi
4894 ac_res=`eval 'as_val=${'$as_ac_Header'}
4895 $as_echo "$as_val"'`
4896 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4897 $as_echo "$ac_res" >&6; }
4898 else
4899 # Is the header compilable?
4900 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4901 $as_echo_n "checking $ac_header usability... " >&6; }
4902 cat >conftest.$ac_ext <<_ACEOF
4903 /* confdefs.h. */
4904 _ACEOF
4905 cat confdefs.h >>conftest.$ac_ext
4906 cat >>conftest.$ac_ext <<_ACEOF
4907 /* end confdefs.h. */
4908 $ac_includes_default
4909 @%:@include <$ac_header>
4910 _ACEOF
4911 rm -f conftest.$ac_objext
4912 if { (ac_try="$ac_compile"
4913 case "(($ac_try" in
4914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4915 *) ac_try_echo=$ac_try;;
4916 esac
4917 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4918 $as_echo "$ac_try_echo") >&5
4919 (eval "$ac_compile") 2>conftest.er1
4920 ac_status=$?
4921 grep -v '^ *+' conftest.er1 >conftest.err
4922 rm -f conftest.er1
4923 cat conftest.err >&5
4924 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925 (exit $ac_status); } && {
4926 test -z "$ac_c_werror_flag" ||
4927 test ! -s conftest.err
4928 } && test -s conftest.$ac_objext; then
4929 ac_header_compiler=yes
4930 else
4931 $as_echo "$as_me: failed program was:" >&5
4932 sed 's/^/| /' conftest.$ac_ext >&5
4933
4934 ac_header_compiler=no
4935 fi
4936
4937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4938 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4939 $as_echo "$ac_header_compiler" >&6; }
4940
4941 # Is the header present?
4942 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4943 $as_echo_n "checking $ac_header presence... " >&6; }
4944 cat >conftest.$ac_ext <<_ACEOF
4945 /* confdefs.h. */
4946 _ACEOF
4947 cat confdefs.h >>conftest.$ac_ext
4948 cat >>conftest.$ac_ext <<_ACEOF
4949 /* end confdefs.h. */
4950 @%:@include <$ac_header>
4951 _ACEOF
4952 if { (ac_try="$ac_cpp conftest.$ac_ext"
4953 case "(($ac_try" in
4954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4955 *) ac_try_echo=$ac_try;;
4956 esac
4957 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4958 $as_echo "$ac_try_echo") >&5
4959 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4960 ac_status=$?
4961 grep -v '^ *+' conftest.er1 >conftest.err
4962 rm -f conftest.er1
4963 cat conftest.err >&5
4964 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4965 (exit $ac_status); } >/dev/null && {
4966 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4967 test ! -s conftest.err
4968 }; then
4969 ac_header_preproc=yes
4970 else
4971 $as_echo "$as_me: failed program was:" >&5
4972 sed 's/^/| /' conftest.$ac_ext >&5
4973
4974 ac_header_preproc=no
4975 fi
4976
4977 rm -f conftest.err conftest.$ac_ext
4978 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4979 $as_echo "$ac_header_preproc" >&6; }
4980
4981 # So? What about this header?
4982 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4983 yes:no: )
4984 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4985 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4986 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4987 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4988 ac_header_preproc=yes
4989 ;;
4990 no:yes:* )
4991 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4992 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4993 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4994 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4995 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4996 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4997 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4998 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4999 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5000 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5001 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5002 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5003 ( cat <<\_ASBOX
5004 @%:@@%:@ -------------------------------------------- @%:@@%:@
5005 @%:@@%:@ Report this to http://uncensored.citadel.org @%:@@%:@
5006 @%:@@%:@ -------------------------------------------- @%:@@%:@
5007 _ASBOX
5008 ) | sed "s/^/$as_me: WARNING: /" >&2
5009 ;;
5010 esac
5011 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5012 $as_echo_n "checking for $ac_header... " >&6; }
5013 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5014 $as_echo_n "(cached) " >&6
5015 else
5016 eval "$as_ac_Header=\$ac_header_preproc"
5017 fi
5018 ac_res=`eval 'as_val=${'$as_ac_Header'}
5019 $as_echo "$as_val"'`
5020 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5021 $as_echo "$ac_res" >&6; }
5022
5023 fi
5024 as_val=`eval 'as_val=${'$as_ac_Header'}
5025 $as_echo "$as_val"'`
5026 if test "x$as_val" = x""yes; then
5014 do :
5015 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
5016 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
50275017 cat >>confdefs.h <<_ACEOF
5028 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5018 @%:@define HAVE_DLFCN_H 1
50295019 _ACEOF
50305020
50315021 fi
50465036 do
50475037 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
50485038 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5049 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
50505040 $as_echo_n "checking for $ac_word... " >&6; }
5051 if test "${ac_cv_prog_CXX+set}" = set; then
5041 if test "${ac_cv_prog_CXX+set}" = set; then :
50525042 $as_echo_n "(cached) " >&6
50535043 else
50545044 if test -n "$CXX"; then
50595049 do
50605050 IFS=$as_save_IFS
50615051 test -z "$as_dir" && as_dir=.
5062 for ac_exec_ext in '' $ac_executable_extensions; do
5052 for ac_exec_ext in '' $ac_executable_extensions; do
50635053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50645054 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5065 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
50665056 break 2
50675057 fi
50685058 done
5069 done
5059 done
50705060 IFS=$as_save_IFS
50715061
50725062 fi
50735063 fi
50745064 CXX=$ac_cv_prog_CXX
50755065 if test -n "$CXX"; then
5076 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
50775067 $as_echo "$CXX" >&6; }
50785068 else
5079 { $as_echo "$as_me:$LINENO: result: no" >&5
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
50805070 $as_echo "no" >&6; }
50815071 fi
50825072
50905080 do
50915081 # Extract the first word of "$ac_prog", so it can be a program name with args.
50925082 set dummy $ac_prog; ac_word=$2
5093 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
50945084 $as_echo_n "checking for $ac_word... " >&6; }
5095 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5085 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
50965086 $as_echo_n "(cached) " >&6
50975087 else
50985088 if test -n "$ac_ct_CXX"; then
51035093 do
51045094 IFS=$as_save_IFS
51055095 test -z "$as_dir" && as_dir=.
5106 for ac_exec_ext in '' $ac_executable_extensions; do
5096 for ac_exec_ext in '' $ac_executable_extensions; do
51075097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51085098 ac_cv_prog_ac_ct_CXX="$ac_prog"
5109 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
51105100 break 2
51115101 fi
51125102 done
5113 done
5103 done
51145104 IFS=$as_save_IFS
51155105
51165106 fi
51175107 fi
51185108 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
51195109 if test -n "$ac_ct_CXX"; then
5120 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
51215111 $as_echo "$ac_ct_CXX" >&6; }
51225112 else
5123 { $as_echo "$as_me:$LINENO: result: no" >&5
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
51245114 $as_echo "no" >&6; }
51255115 fi
51265116
51335123 else
51345124 case $cross_compiling:$ac_tool_warned in
51355125 yes:)
5136 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
51375127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
51385128 ac_tool_warned=yes ;;
51395129 esac
51445134 fi
51455135 fi
51465136 # Provide some information about the compiler.
5147 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5137 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
51485138 set X $ac_compile
51495139 ac_compiler=$2
5150 { (ac_try="$ac_compiler --version >&5"
5140 for ac_option in --version -v -V -qversion; do
5141 { { ac_try="$ac_compiler $ac_option >&5"
51515142 case "(($ac_try" in
51525143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51535144 *) ac_try_echo=$ac_try;;
51545145 esac
5155 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5156 $as_echo "$ac_try_echo") >&5
5157 (eval "$ac_compiler --version >&5") 2>&5
5146 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5147 $as_echo "$ac_try_echo"; } >&5
5148 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
51585149 ac_status=$?
5159 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160 (exit $ac_status); }
5161 { (ac_try="$ac_compiler -v >&5"
5162 case "(($ac_try" in
5163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5164 *) ac_try_echo=$ac_try;;
5165 esac
5166 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5167 $as_echo "$ac_try_echo") >&5
5168 (eval "$ac_compiler -v >&5") 2>&5
5169 ac_status=$?
5170 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5171 (exit $ac_status); }
5172 { (ac_try="$ac_compiler -V >&5"
5173 case "(($ac_try" in
5174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5175 *) ac_try_echo=$ac_try;;
5176 esac
5177 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5178 $as_echo "$ac_try_echo") >&5
5179 (eval "$ac_compiler -V >&5") 2>&5
5180 ac_status=$?
5181 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5182 (exit $ac_status); }
5183
5184 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5150 if test -s conftest.err; then
5151 sed '10a\
5152 ... rest of stderr output deleted ...
5153 10q' conftest.err >conftest.er1
5154 cat conftest.er1 >&5
5155 fi
5156 rm -f conftest.er1 conftest.err
5157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5158 test $ac_status = 0; }
5159 done
5160
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
51855162 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5186 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5163 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
51875164 $as_echo_n "(cached) " >&6
51885165 else
5189 cat >conftest.$ac_ext <<_ACEOF
5190 /* confdefs.h. */
5191 _ACEOF
5192 cat confdefs.h >>conftest.$ac_ext
5193 cat >>conftest.$ac_ext <<_ACEOF
5166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51945167 /* end confdefs.h. */
51955168
51965169 int
52045177 return 0;
52055178 }
52065179 _ACEOF
5207 rm -f conftest.$ac_objext
5208 if { (ac_try="$ac_compile"
5209 case "(($ac_try" in
5210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5211 *) ac_try_echo=$ac_try;;
5212 esac
5213 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5214 $as_echo "$ac_try_echo") >&5
5215 (eval "$ac_compile") 2>conftest.er1
5216 ac_status=$?
5217 grep -v '^ *+' conftest.er1 >conftest.err
5218 rm -f conftest.er1
5219 cat conftest.err >&5
5220 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5221 (exit $ac_status); } && {
5222 test -z "$ac_cxx_werror_flag" ||
5223 test ! -s conftest.err
5224 } && test -s conftest.$ac_objext; then
5180 if ac_fn_cxx_try_compile "$LINENO"; then :
52255181 ac_compiler_gnu=yes
52265182 else
5227 $as_echo "$as_me: failed program was:" >&5
5228 sed 's/^/| /' conftest.$ac_ext >&5
5229
5230 ac_compiler_gnu=no
5231 fi
5232
5183 ac_compiler_gnu=no
5184 fi
52335185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52345186 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
52355187
52365188 fi
5237 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
52385190 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
52395191 if test $ac_compiler_gnu = yes; then
52405192 GXX=yes
52435195 fi
52445196 ac_test_CXXFLAGS=${CXXFLAGS+set}
52455197 ac_save_CXXFLAGS=$CXXFLAGS
5246 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
52475199 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5248 if test "${ac_cv_prog_cxx_g+set}" = set; then
5200 if test "${ac_cv_prog_cxx_g+set}" = set; then :
52495201 $as_echo_n "(cached) " >&6
52505202 else
52515203 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
52525204 ac_cxx_werror_flag=yes
52535205 ac_cv_prog_cxx_g=no
52545206 CXXFLAGS="-g"
5255 cat >conftest.$ac_ext <<_ACEOF
5256 /* confdefs.h. */
5257 _ACEOF
5258 cat confdefs.h >>conftest.$ac_ext
5259 cat >>conftest.$ac_ext <<_ACEOF
5207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52605208 /* end confdefs.h. */
52615209
52625210 int
52675215 return 0;
52685216 }
52695217 _ACEOF
5270 rm -f conftest.$ac_objext
5271 if { (ac_try="$ac_compile"
5272 case "(($ac_try" in
5273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5274 *) ac_try_echo=$ac_try;;
5275 esac
5276 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5277 $as_echo "$ac_try_echo") >&5
5278 (eval "$ac_compile") 2>conftest.er1
5279 ac_status=$?
5280 grep -v '^ *+' conftest.er1 >conftest.err
5281 rm -f conftest.er1
5282 cat conftest.err >&5
5283 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5284 (exit $ac_status); } && {
5285 test -z "$ac_cxx_werror_flag" ||
5286 test ! -s conftest.err
5287 } && test -s conftest.$ac_objext; then
5218 if ac_fn_cxx_try_compile "$LINENO"; then :
52885219 ac_cv_prog_cxx_g=yes
52895220 else
5290 $as_echo "$as_me: failed program was:" >&5
5291 sed 's/^/| /' conftest.$ac_ext >&5
5292
5293 CXXFLAGS=""
5294 cat >conftest.$ac_ext <<_ACEOF
5295 /* confdefs.h. */
5296 _ACEOF
5297 cat confdefs.h >>conftest.$ac_ext
5298 cat >>conftest.$ac_ext <<_ACEOF
5221 CXXFLAGS=""
5222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52995223 /* end confdefs.h. */
53005224
53015225 int
53065230 return 0;
53075231 }
53085232 _ACEOF
5309 rm -f conftest.$ac_objext
5310 if { (ac_try="$ac_compile"
5311 case "(($ac_try" in
5312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5313 *) ac_try_echo=$ac_try;;
5314 esac
5315 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5316 $as_echo "$ac_try_echo") >&5
5317 (eval "$ac_compile") 2>conftest.er1
5318 ac_status=$?
5319 grep -v '^ *+' conftest.er1 >conftest.err
5320 rm -f conftest.er1
5321 cat conftest.err >&5
5322 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5323 (exit $ac_status); } && {
5324 test -z "$ac_cxx_werror_flag" ||
5325 test ! -s conftest.err
5326 } && test -s conftest.$ac_objext; then
5327 :
5328 else
5329 $as_echo "$as_me: failed program was:" >&5
5330 sed 's/^/| /' conftest.$ac_ext >&5
5331
5332 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5233 if ac_fn_cxx_try_compile "$LINENO"; then :
5234
5235 else
5236 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
53335237 CXXFLAGS="-g"
5334 cat >conftest.$ac_ext <<_ACEOF
5335 /* confdefs.h. */
5336 _ACEOF
5337 cat confdefs.h >>conftest.$ac_ext
5338 cat >>conftest.$ac_ext <<_ACEOF
5238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53395239 /* end confdefs.h. */
53405240
53415241 int
53465246 return 0;
53475247 }
53485248 _ACEOF
5349 rm -f conftest.$ac_objext
5350 if { (ac_try="$ac_compile"
5351 case "(($ac_try" in
5352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5353 *) ac_try_echo=$ac_try;;
5354 esac
5355 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5356 $as_echo "$ac_try_echo") >&5
5357 (eval "$ac_compile") 2>conftest.er1
5358 ac_status=$?
5359 grep -v '^ *+' conftest.er1 >conftest.err
5360 rm -f conftest.er1
5361 cat conftest.err >&5
5362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363 (exit $ac_status); } && {
5364 test -z "$ac_cxx_werror_flag" ||
5365 test ! -s conftest.err
5366 } && test -s conftest.$ac_objext; then
5249 if ac_fn_cxx_try_compile "$LINENO"; then :
53675250 ac_cv_prog_cxx_g=yes
5368 else
5369 $as_echo "$as_me: failed program was:" >&5
5370 sed 's/^/| /' conftest.$ac_ext >&5
5371
5372
5373 fi
5374
5251 fi
53755252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53765253 fi
5377
53785254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53795255 fi
5380
53815256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53825257 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
53835258 fi
5384 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
53855260 $as_echo "$ac_cv_prog_cxx_g" >&6; }
53865261 if test "$ac_test_CXXFLAGS" = set; then
53875262 CXXFLAGS=$ac_save_CXXFLAGS
54145289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54155290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54165291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5417 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
54185293 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
54195294 if test -z "$CXXCPP"; then
5420 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5295 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
54215296 $as_echo_n "(cached) " >&6
54225297 else
54235298 # Double quotes because CXXCPP needs to be expanded
54325307 # <limits.h> exists even on freestanding compilers.
54335308 # On the NeXT, cc -E runs the code through the compiler's parser,
54345309 # not just through cpp. "Syntax error" is here to catch this case.
5435 cat >conftest.$ac_ext <<_ACEOF
5436 /* confdefs.h. */
5437 _ACEOF
5438 cat confdefs.h >>conftest.$ac_ext
5439 cat >>conftest.$ac_ext <<_ACEOF
5310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54405311 /* end confdefs.h. */
54415312 @%:@ifdef __STDC__
54425313 @%:@ include <limits.h>
54455316 @%:@endif
54465317 Syntax error
54475318 _ACEOF
5448 if { (ac_try="$ac_cpp conftest.$ac_ext"
5449 case "(($ac_try" in
5450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5451 *) ac_try_echo=$ac_try;;
5452 esac
5453 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5454 $as_echo "$ac_try_echo") >&5
5455 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5456 ac_status=$?
5457 grep -v '^ *+' conftest.er1 >conftest.err
5458 rm -f conftest.er1
5459 cat conftest.err >&5
5460 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5461 (exit $ac_status); } >/dev/null && {
5462 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5463 test ! -s conftest.err
5464 }; then
5465 :
5466 else
5467 $as_echo "$as_me: failed program was:" >&5
5468 sed 's/^/| /' conftest.$ac_ext >&5
5469
5319 if ac_fn_cxx_try_cpp "$LINENO"; then :
5320
5321 else
54705322 # Broken: fails on valid input.
54715323 continue
54725324 fi
5473
5474 rm -f conftest.err conftest.$ac_ext
5325 rm -f conftest.err conftest.i conftest.$ac_ext
54755326
54765327 # OK, works on sane cases. Now check whether nonexistent headers
54775328 # can be detected and how.
5478 cat >conftest.$ac_ext <<_ACEOF
5479 /* confdefs.h. */
5480 _ACEOF
5481 cat confdefs.h >>conftest.$ac_ext
5482 cat >>conftest.$ac_ext <<_ACEOF
5329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54835330 /* end confdefs.h. */
54845331 @%:@include <ac_nonexistent.h>
54855332 _ACEOF
5486 if { (ac_try="$ac_cpp conftest.$ac_ext"
5487 case "(($ac_try" in
5488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5489 *) ac_try_echo=$ac_try;;
5490 esac
5491 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5492 $as_echo "$ac_try_echo") >&5
5493 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5494 ac_status=$?
5495 grep -v '^ *+' conftest.er1 >conftest.err
5496 rm -f conftest.er1
5497 cat conftest.err >&5
5498 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5499 (exit $ac_status); } >/dev/null && {
5500 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5501 test ! -s conftest.err
5502 }; then
5333 if ac_fn_cxx_try_cpp "$LINENO"; then :
55035334 # Broken: success on invalid input.
55045335 continue
55055336 else
5506 $as_echo "$as_me: failed program was:" >&5
5507 sed 's/^/| /' conftest.$ac_ext >&5
5508
55095337 # Passes both tests.
55105338 ac_preproc_ok=:
55115339 break
55125340 fi
5513
5514 rm -f conftest.err conftest.$ac_ext
5341 rm -f conftest.err conftest.i conftest.$ac_ext
55155342
55165343 done
55175344 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5518 rm -f conftest.err conftest.$ac_ext
5519 if $ac_preproc_ok; then
5345 rm -f conftest.i conftest.err conftest.$ac_ext
5346 if $ac_preproc_ok; then :
55205347 break
55215348 fi
55225349
55285355 else
55295356 ac_cv_prog_CXXCPP=$CXXCPP
55305357 fi
5531 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
55325359 $as_echo "$CXXCPP" >&6; }
55335360 ac_preproc_ok=false
55345361 for ac_cxx_preproc_warn_flag in '' yes
55395366 # <limits.h> exists even on freestanding compilers.
55405367 # On the NeXT, cc -E runs the code through the compiler's parser,
55415368 # not just through cpp. "Syntax error" is here to catch this case.
5542 cat >conftest.$ac_ext <<_ACEOF
5543 /* confdefs.h. */
5544 _ACEOF
5545 cat confdefs.h >>conftest.$ac_ext
5546 cat >>conftest.$ac_ext <<_ACEOF
5369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55475370 /* end confdefs.h. */
55485371 @%:@ifdef __STDC__
55495372 @%:@ include <limits.h>
55525375 @%:@endif
55535376 Syntax error
55545377 _ACEOF
5555 if { (ac_try="$ac_cpp conftest.$ac_ext"
5556 case "(($ac_try" in
5557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5558 *) ac_try_echo=$ac_try;;
5559 esac
5560 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5561 $as_echo "$ac_try_echo") >&5
5562 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5563 ac_status=$?
5564 grep -v '^ *+' conftest.er1 >conftest.err
5565 rm -f conftest.er1
5566 cat conftest.err >&5
5567 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5568 (exit $ac_status); } >/dev/null && {
5569 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5570 test ! -s conftest.err
5571 }; then
5572 :
5573 else
5574 $as_echo "$as_me: failed program was:" >&5
5575 sed 's/^/| /' conftest.$ac_ext >&5
5576
5378 if ac_fn_cxx_try_cpp "$LINENO"; then :
5379
5380 else
55775381 # Broken: fails on valid input.
55785382 continue
55795383 fi
5580
5581 rm -f conftest.err conftest.$ac_ext
5384 rm -f conftest.err conftest.i conftest.$ac_ext
55825385
55835386 # OK, works on sane cases. Now check whether nonexistent headers
55845387 # can be detected and how.
5585 cat >conftest.$ac_ext <<_ACEOF
5586 /* confdefs.h. */
5587 _ACEOF
5588 cat confdefs.h >>conftest.$ac_ext
5589 cat >>conftest.$ac_ext <<_ACEOF
5388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55905389 /* end confdefs.h. */
55915390 @%:@include <ac_nonexistent.h>
55925391 _ACEOF
5593 if { (ac_try="$ac_cpp conftest.$ac_ext"
5594 case "(($ac_try" in
5595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5596 *) ac_try_echo=$ac_try;;
5597 esac
5598 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5599 $as_echo "$ac_try_echo") >&5
5600 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5601 ac_status=$?
5602 grep -v '^ *+' conftest.er1 >conftest.err
5603 rm -f conftest.er1
5604 cat conftest.err >&5
5605 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5606 (exit $ac_status); } >/dev/null && {
5607 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5608 test ! -s conftest.err
5609 }; then
5392 if ac_fn_cxx_try_cpp "$LINENO"; then :
56105393 # Broken: success on invalid input.
56115394 continue
56125395 else
5613 $as_echo "$as_me: failed program was:" >&5
5614 sed 's/^/| /' conftest.$ac_ext >&5
5615
56165396 # Passes both tests.
56175397 ac_preproc_ok=:
56185398 break
56195399 fi
5620
5621 rm -f conftest.err conftest.$ac_ext
5400 rm -f conftest.err conftest.i conftest.$ac_ext
56225401
56235402 done
56245403 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5625 rm -f conftest.err conftest.$ac_ext
5626 if $ac_preproc_ok; then
5627 :
5628 else
5629 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5404 rm -f conftest.i conftest.err conftest.$ac_ext
5405 if $ac_preproc_ok; then :
5406
5407 else
5408 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
56305409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5631 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5632 See \`config.log' for more details." >&5
5633 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5634 See \`config.log' for more details." >&2;}
5635 { (exit 1); exit 1; }; }; }
5410 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
5411 See \`config.log' for more details" "$LINENO" 5 ; }
56365412 fi
56375413
56385414 ac_ext=cpp
56495425 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56505426 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
56515427 if test -n "$ac_tool_prefix"; then
5652 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
5428 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 pgfortran pgf95 lf95 ftn
56535429 do
56545430 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
56555431 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5656 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
56575433 $as_echo_n "checking for $ac_word... " >&6; }
5658 if test "${ac_cv_prog_F77+set}" = set; then
5434 if test "${ac_cv_prog_F77+set}" = set; then :
56595435 $as_echo_n "(cached) " >&6
56605436 else
56615437 if test -n "$F77"; then
56665442 do
56675443 IFS=$as_save_IFS
56685444 test -z "$as_dir" && as_dir=.
5669 for ac_exec_ext in '' $ac_executable_extensions; do
5445 for ac_exec_ext in '' $ac_executable_extensions; do
56705446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
56715447 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5672 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
56735449 break 2
56745450 fi
56755451 done
5676 done
5452 done
56775453 IFS=$as_save_IFS
56785454
56795455 fi
56805456 fi
56815457 F77=$ac_cv_prog_F77
56825458 if test -n "$F77"; then
5683 { $as_echo "$as_me:$LINENO: result: $F77" >&5
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
56845460 $as_echo "$F77" >&6; }
56855461 else
5686 { $as_echo "$as_me:$LINENO: result: no" >&5
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
56875463 $as_echo "no" >&6; }
56885464 fi
56895465
56935469 fi
56945470 if test -z "$F77"; then
56955471 ac_ct_F77=$F77
5696 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
5472 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 pgfortran pgf95 lf95 ftn
56975473 do
56985474 # Extract the first word of "$ac_prog", so it can be a program name with args.
56995475 set dummy $ac_prog; ac_word=$2
5700 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
57015477 $as_echo_n "checking for $ac_word... " >&6; }
5702 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5478 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then :
57035479 $as_echo_n "(cached) " >&6
57045480 else
57055481 if test -n "$ac_ct_F77"; then
57105486 do
57115487 IFS=$as_save_IFS
57125488 test -z "$as_dir" && as_dir=.
5713 for ac_exec_ext in '' $ac_executable_extensions; do
5489 for ac_exec_ext in '' $ac_executable_extensions; do
57145490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
57155491 ac_cv_prog_ac_ct_F77="$ac_prog"
5716 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
57175493 break 2
57185494 fi
57195495 done
5720 done
5496 done
57215497 IFS=$as_save_IFS
57225498
57235499 fi
57245500 fi
57255501 ac_ct_F77=$ac_cv_prog_ac_ct_F77
57265502 if test -n "$ac_ct_F77"; then
5727 { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
57285504 $as_echo "$ac_ct_F77" >&6; }
57295505 else
5730 { $as_echo "$as_me:$LINENO: result: no" >&5
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
57315507 $as_echo "no" >&6; }
57325508 fi
57335509
57405516 else
57415517 case $cross_compiling:$ac_tool_warned in
57425518 yes:)
5743 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
57445520 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
57455521 ac_tool_warned=yes ;;
57465522 esac
57505526
57515527
57525528 # Provide some information about the compiler.
5753 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5529 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
57545530 set X $ac_compile
57555531 ac_compiler=$2
5756 { (ac_try="$ac_compiler --version >&5"
5532 for ac_option in --version -v -V -qversion; do
5533 { { ac_try="$ac_compiler $ac_option >&5"
57575534 case "(($ac_try" in
57585535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
57595536 *) ac_try_echo=$ac_try;;
57605537 esac
5761 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5762 $as_echo "$ac_try_echo") >&5
5763 (eval "$ac_compiler --version >&5") 2>&5
5538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5539 $as_echo "$ac_try_echo"; } >&5
5540 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
57645541 ac_status=$?
5765 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5766 (exit $ac_status); }
5767 { (ac_try="$ac_compiler -v >&5"
5768 case "(($ac_try" in
5769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5770 *) ac_try_echo=$ac_try;;
5771 esac
5772 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5773 $as_echo "$ac_try_echo") >&5
5774 (eval "$ac_compiler -v >&5") 2>&5
5775 ac_status=$?
5776 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5777 (exit $ac_status); }
5778 { (ac_try="$ac_compiler -V >&5"
5779 case "(($ac_try" in
5780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5781 *) ac_try_echo=$ac_try;;
5782 esac
5783 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5784 $as_echo "$ac_try_echo") >&5
5785 (eval "$ac_compiler -V >&5") 2>&5
5786 ac_status=$?
5787 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5788 (exit $ac_status); }
5542 if test -s conftest.err; then
5543 sed '10a\
5544 ... rest of stderr output deleted ...
5545 10q' conftest.err >conftest.er1
5546 cat conftest.er1 >&5
5547 fi
5548 rm -f conftest.er1 conftest.err
5549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5550 test $ac_status = 0; }
5551 done
57895552 rm -f a.out
57905553
57915554 # If we don't use `.F' as extension, the preprocessor is not run on the
57925555 # input file. (Note that this only needs to work for GNU compilers.)
57935556 ac_save_ext=$ac_ext
57945557 ac_ext=F
5795 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
57965559 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
5797 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5560 if test "${ac_cv_f77_compiler_gnu+set}" = set; then :
57985561 $as_echo_n "(cached) " >&6
57995562 else
5800 cat >conftest.$ac_ext <<_ACEOF
5563 cat > conftest.$ac_ext <<_ACEOF
58015564 program main
58025565 #ifndef __GNUC__
58035566 choke me
58055568
58065569 end
58075570 _ACEOF
5808 rm -f conftest.$ac_objext
5809 if { (ac_try="$ac_compile"
5810 case "(($ac_try" in
5811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5812 *) ac_try_echo=$ac_try;;
5813 esac
5814 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5815 $as_echo "$ac_try_echo") >&5
5816 (eval "$ac_compile") 2>conftest.er1
5817 ac_status=$?
5818 grep -v '^ *+' conftest.er1 >conftest.err
5819 rm -f conftest.er1
5820 cat conftest.err >&5
5821 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5822 (exit $ac_status); } && {
5823 test -z "$ac_f77_werror_flag" ||
5824 test ! -s conftest.err
5825 } && test -s conftest.$ac_objext; then
5571 if ac_fn_f77_try_compile "$LINENO"; then :
58265572 ac_compiler_gnu=yes
58275573 else
5828 $as_echo "$as_me: failed program was:" >&5
5829 sed 's/^/| /' conftest.$ac_ext >&5
5830
5831 ac_compiler_gnu=no
5832 fi
5833
5574 ac_compiler_gnu=no
5575 fi
58345576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58355577 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
58365578
58375579 fi
5838 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
58395581 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
58405582 ac_ext=$ac_save_ext
58415583 ac_test_FFLAGS=${FFLAGS+set}
58425584 ac_save_FFLAGS=$FFLAGS
58435585 FFLAGS=
5844 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
58455587 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
5846 if test "${ac_cv_prog_f77_g+set}" = set; then
5588 if test "${ac_cv_prog_f77_g+set}" = set; then :
58475589 $as_echo_n "(cached) " >&6
58485590 else
58495591 FFLAGS=-g
5850 cat >conftest.$ac_ext <<_ACEOF
5592 cat > conftest.$ac_ext <<_ACEOF
58515593 program main
58525594
58535595 end
58545596 _ACEOF
5855 rm -f conftest.$ac_objext
5856 if { (ac_try="$ac_compile"
5857 case "(($ac_try" in
5858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5859 *) ac_try_echo=$ac_try;;
5860 esac
5861 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5862 $as_echo "$ac_try_echo") >&5
5863 (eval "$ac_compile") 2>conftest.er1
5864 ac_status=$?
5865 grep -v '^ *+' conftest.er1 >conftest.err
5866 rm -f conftest.er1
5867 cat conftest.err >&5
5868 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5869 (exit $ac_status); } && {
5870 test -z "$ac_f77_werror_flag" ||
5871 test ! -s conftest.err
5872 } && test -s conftest.$ac_objext; then
5597 if ac_fn_f77_try_compile "$LINENO"; then :
58735598 ac_cv_prog_f77_g=yes
58745599 else
5875 $as_echo "$as_me: failed program was:" >&5
5876 sed 's/^/| /' conftest.$ac_ext >&5
5877
5878 ac_cv_prog_f77_g=no
5879 fi
5880
5600 ac_cv_prog_f77_g=no
5601 fi
58815602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58825603
58835604 fi
5884 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
58855606 $as_echo "$ac_cv_prog_f77_g" >&6; }
58865607 if test "$ac_test_FFLAGS" = set; then
58875608 FFLAGS=$ac_save_FFLAGS
59155636 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
59165637
59175638 # find the maximum length of command line arguments
5918 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
59195640 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5920 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5641 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
59215642 $as_echo_n "(cached) " >&6
59225643 else
59235644 i=0
60245745 fi
60255746
60265747 if test -n $lt_cv_sys_max_cmd_len ; then
6027 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
60285749 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
60295750 else
6030 { $as_echo "$as_me:$LINENO: result: none" >&5
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
60315752 $as_echo "none" >&6; }
60325753 fi
60335754
60355756
60365757
60375758 # Check for command to grab the raw symbol name followed by C symbol from nm.
6038 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
60395760 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6040 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5761 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
60415762 $as_echo_n "(cached) " >&6
60425763 else
60435764
61405861 int main(){nm_test_var='a';nm_test_func();return(0);}
61415862 EOF
61425863
6143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5864 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
61445865 (eval $ac_compile) 2>&5
61455866 ac_status=$?
6146 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6147 (exit $ac_status); }; then
5867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5868 test $ac_status = 0; }; then
61485869 # Now try to grab the symbols.
61495870 nlist=conftest.nm
6150 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5871 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
61515872 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
61525873 ac_status=$?
6153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154 (exit $ac_status); } && test -s "$nlist"; then
5874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5875 test $ac_status = 0; } && test -s "$nlist"; then
61555876 # Try sorting and uniquifying the output.
61565877 if sort "$nlist" | uniq > "$nlist"T; then
61575878 mv -f "$nlist"T "$nlist"
62025923 lt_save_CFLAGS="$CFLAGS"
62035924 LIBS="conftstm.$ac_objext"
62045925 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5926 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
62065927 (eval $ac_link) 2>&5
62075928 ac_status=$?
6208 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6209 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5930 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
62105931 pipe_works=yes
62115932 fi
62125933 LIBS="$lt_save_LIBS"
62405961 lt_cv_sys_global_symbol_to_cdecl=
62415962 fi
62425963 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6243 { $as_echo "$as_me:$LINENO: result: failed" >&5
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
62445965 $as_echo "failed" >&6; }
62455966 else
6246 { $as_echo "$as_me:$LINENO: result: ok" >&5
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
62475968 $as_echo "ok" >&6; }
62485969 fi
62495970
6250 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
62515972 $as_echo_n "checking for objdir... " >&6; }
6252 if test "${lt_cv_objdir+set}" = set; then
5973 if test "${lt_cv_objdir+set}" = set; then :
62535974 $as_echo_n "(cached) " >&6
62545975 else
62555976 rm -f .libs 2>/dev/null
62625983 fi
62635984 rmdir .libs 2>/dev/null
62645985 fi
6265 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
62665987 $as_echo "$lt_cv_objdir" >&6; }
62675988 objdir=$lt_cv_objdir
62685989
63146035 if test -n "$ac_tool_prefix"; then
63156036 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
63166037 set dummy ${ac_tool_prefix}ar; ac_word=$2
6317 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
63186039 $as_echo_n "checking for $ac_word... " >&6; }
6319 if test "${ac_cv_prog_AR+set}" = set; then
6040 if test "${ac_cv_prog_AR+set}" = set; then :
63206041 $as_echo_n "(cached) " >&6
63216042 else
63226043 if test -n "$AR"; then
63276048 do
63286049 IFS=$as_save_IFS
63296050 test -z "$as_dir" && as_dir=.
6330 for ac_exec_ext in '' $ac_executable_extensions; do
6051 for ac_exec_ext in '' $ac_executable_extensions; do
63316052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
63326053 ac_cv_prog_AR="${ac_tool_prefix}ar"
6333 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
63346055 break 2
63356056 fi
63366057 done
6337 done
6058 done
63386059 IFS=$as_save_IFS
63396060
63406061 fi
63416062 fi
63426063 AR=$ac_cv_prog_AR
63436064 if test -n "$AR"; then
6344 { $as_echo "$as_me:$LINENO: result: $AR" >&5
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
63456066 $as_echo "$AR" >&6; }
63466067 else
6347 { $as_echo "$as_me:$LINENO: result: no" >&5
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
63486069 $as_echo "no" >&6; }
63496070 fi
63506071
63546075 ac_ct_AR=$AR
63556076 # Extract the first word of "ar", so it can be a program name with args.
63566077 set dummy ar; ac_word=$2
6357 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
63586079 $as_echo_n "checking for $ac_word... " >&6; }
6359 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6080 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
63606081 $as_echo_n "(cached) " >&6
63616082 else
63626083 if test -n "$ac_ct_AR"; then
63676088 do
63686089 IFS=$as_save_IFS
63696090 test -z "$as_dir" && as_dir=.
6370 for ac_exec_ext in '' $ac_executable_extensions; do
6091 for ac_exec_ext in '' $ac_executable_extensions; do
63716092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
63726093 ac_cv_prog_ac_ct_AR="ar"
6373 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
63746095 break 2
63756096 fi
63766097 done
6377 done
6098 done
63786099 IFS=$as_save_IFS
63796100
63806101 fi
63816102 fi
63826103 ac_ct_AR=$ac_cv_prog_ac_ct_AR
63836104 if test -n "$ac_ct_AR"; then
6384 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
63856106 $as_echo "$ac_ct_AR" >&6; }
63866107 else
6387 { $as_echo "$as_me:$LINENO: result: no" >&5
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
63886109 $as_echo "no" >&6; }
63896110 fi
63906111
63936114 else
63946115 case $cross_compiling:$ac_tool_warned in
63956116 yes:)
6396 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
63976118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
63986119 ac_tool_warned=yes ;;
63996120 esac
64066127 if test -n "$ac_tool_prefix"; then
64076128 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
64086129 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6409 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64106131 $as_echo_n "checking for $ac_word... " >&6; }
6411 if test "${ac_cv_prog_RANLIB+set}" = set; then
6132 if test "${ac_cv_prog_RANLIB+set}" = set; then :
64126133 $as_echo_n "(cached) " >&6
64136134 else
64146135 if test -n "$RANLIB"; then
64196140 do
64206141 IFS=$as_save_IFS
64216142 test -z "$as_dir" && as_dir=.
6422 for ac_exec_ext in '' $ac_executable_extensions; do
6143 for ac_exec_ext in '' $ac_executable_extensions; do
64236144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64246145 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6425 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64266147 break 2
64276148 fi
64286149 done
6429 done
6150 done
64306151 IFS=$as_save_IFS
64316152
64326153 fi
64336154 fi
64346155 RANLIB=$ac_cv_prog_RANLIB
64356156 if test -n "$RANLIB"; then
6436 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
64376158 $as_echo "$RANLIB" >&6; }
64386159 else
6439 { $as_echo "$as_me:$LINENO: result: no" >&5
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64406161 $as_echo "no" >&6; }
64416162 fi
64426163
64466167 ac_ct_RANLIB=$RANLIB
64476168 # Extract the first word of "ranlib", so it can be a program name with args.
64486169 set dummy ranlib; ac_word=$2
6449 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64506171 $as_echo_n "checking for $ac_word... " >&6; }
6451 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6172 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
64526173 $as_echo_n "(cached) " >&6
64536174 else
64546175 if test -n "$ac_ct_RANLIB"; then
64596180 do
64606181 IFS=$as_save_IFS
64616182 test -z "$as_dir" && as_dir=.
6462 for ac_exec_ext in '' $ac_executable_extensions; do
6183 for ac_exec_ext in '' $ac_executable_extensions; do
64636184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64646185 ac_cv_prog_ac_ct_RANLIB="ranlib"
6465 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64666187 break 2
64676188 fi
64686189 done
6469 done
6190 done
64706191 IFS=$as_save_IFS
64716192
64726193 fi
64736194 fi
64746195 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
64756196 if test -n "$ac_ct_RANLIB"; then
6476 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
64776198 $as_echo "$ac_ct_RANLIB" >&6; }
64786199 else
6479 { $as_echo "$as_me:$LINENO: result: no" >&5
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64806201 $as_echo "no" >&6; }
64816202 fi
64826203
64856206 else
64866207 case $cross_compiling:$ac_tool_warned in
64876208 yes:)
6488 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
64896210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
64906211 ac_tool_warned=yes ;;
64916212 esac
64986219 if test -n "$ac_tool_prefix"; then
64996220 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
65006221 set dummy ${ac_tool_prefix}strip; ac_word=$2
6501 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65026223 $as_echo_n "checking for $ac_word... " >&6; }
6503 if test "${ac_cv_prog_STRIP+set}" = set; then
6224 if test "${ac_cv_prog_STRIP+set}" = set; then :
65046225 $as_echo_n "(cached) " >&6
65056226 else
65066227 if test -n "$STRIP"; then
65116232 do
65126233 IFS=$as_save_IFS
65136234 test -z "$as_dir" && as_dir=.
6514 for ac_exec_ext in '' $ac_executable_extensions; do
6235 for ac_exec_ext in '' $ac_executable_extensions; do
65156236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65166237 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6517 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65186239 break 2
65196240 fi
65206241 done
6521 done
6242 done
65226243 IFS=$as_save_IFS
65236244
65246245 fi
65256246 fi
65266247 STRIP=$ac_cv_prog_STRIP
65276248 if test -n "$STRIP"; then
6528 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
65296250 $as_echo "$STRIP" >&6; }
65306251 else
6531 { $as_echo "$as_me:$LINENO: result: no" >&5
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65326253 $as_echo "no" >&6; }
65336254 fi
65346255
65386259 ac_ct_STRIP=$STRIP
65396260 # Extract the first word of "strip", so it can be a program name with args.
65406261 set dummy strip; ac_word=$2
6541 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65426263 $as_echo_n "checking for $ac_word... " >&6; }
6543 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6264 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
65446265 $as_echo_n "(cached) " >&6
65456266 else
65466267 if test -n "$ac_ct_STRIP"; then
65516272 do
65526273 IFS=$as_save_IFS
65536274 test -z "$as_dir" && as_dir=.
6554 for ac_exec_ext in '' $ac_executable_extensions; do
6275 for ac_exec_ext in '' $ac_executable_extensions; do
65556276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65566277 ac_cv_prog_ac_ct_STRIP="strip"
6557 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65586279 break 2
65596280 fi
65606281 done
6561 done
6282 done
65626283 IFS=$as_save_IFS
65636284
65646285 fi
65656286 fi
65666287 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
65676288 if test -n "$ac_ct_STRIP"; then
6568 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
65696290 $as_echo "$ac_ct_STRIP" >&6; }
65706291 else
6571 { $as_echo "$as_me:$LINENO: result: no" >&5
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65726293 $as_echo "no" >&6; }
65736294 fi
65746295
65776298 else
65786299 case $cross_compiling:$ac_tool_warned in
65796300 yes:)
6580 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
65816302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
65826303 ac_tool_warned=yes ;;
65836304 esac
66416362 case $deplibs_check_method in
66426363 file_magic*)
66436364 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6644 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
66456366 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6646 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6367 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
66476368 $as_echo_n "(cached) " >&6
66486369 else
66496370 case $MAGIC_CMD in
66946415
66956416 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
66966417 if test -n "$MAGIC_CMD"; then
6697 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
66986419 $as_echo "$MAGIC_CMD" >&6; }
66996420 else
6700 { $as_echo "$as_me:$LINENO: result: no" >&5
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
67016422 $as_echo "no" >&6; }
67026423 fi
67036424
67046425 if test -z "$lt_cv_path_MAGIC_CMD"; then
67056426 if test -n "$ac_tool_prefix"; then
6706 { $as_echo "$as_me:$LINENO: checking for file" >&5
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
67076428 $as_echo_n "checking for file... " >&6; }
6708 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6429 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
67096430 $as_echo_n "(cached) " >&6
67106431 else
67116432 case $MAGIC_CMD in
67566477
67576478 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
67586479 if test -n "$MAGIC_CMD"; then
6759 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
67606481 $as_echo "$MAGIC_CMD" >&6; }
67616482 else
6762 { $as_echo "$as_me:$LINENO: result: no" >&5
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
67636484 $as_echo "no" >&6; }
67646485 fi
67656486
67766497 enable_win32_dll=no
67776498
67786499 @%:@ Check whether --enable-libtool-lock was given.
6779 if test "${enable_libtool_lock+set}" = set; then
6500 if test "${enable_libtool_lock+set}" = set; then :
67806501 enableval=$enable_libtool_lock;
67816502 fi
67826503
67846505
67856506
67866507 @%:@ Check whether --with-pic was given.
6787 if test "${with_pic+set}" = set; then
6508 if test "${with_pic+set}" = set; then :
67886509 withval=$with_pic; pic_mode="$withval"
67896510 else
67906511 pic_mode=default
68516572 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
68526573
68536574
6854 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
68556576 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6856 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6577 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
68576578 $as_echo_n "(cached) " >&6
68586579 else
68596580 lt_cv_prog_compiler_rtti_exceptions=no
68866607 $rm conftest*
68876608
68886609 fi
6889 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
68906611 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
68916612
68926613 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
69016622 lt_prog_compiler_pic=
69026623 lt_prog_compiler_static=
69036624
6904 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
69056626 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
69066627
69076628 if test "$GCC" = yes; then
71116832 esac
71126833 fi
71136834
7114 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
71156836 $as_echo "$lt_prog_compiler_pic" >&6; }
71166837
71176838 #
71196840 #
71206841 if test -n "$lt_prog_compiler_pic"; then
71216842
7122 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
71236844 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7124 if test "${lt_prog_compiler_pic_works+set}" = set; then
6845 if test "${lt_prog_compiler_pic_works+set}" = set; then :
71256846 $as_echo_n "(cached) " >&6
71266847 else
71276848 lt_prog_compiler_pic_works=no
71546875 $rm conftest*
71556876
71566877 fi
7157 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works" >&5
71586879 $as_echo "$lt_prog_compiler_pic_works" >&6; }
71596880
71606881 if test x"$lt_prog_compiler_pic_works" = xyes; then
71826903 # Check to make sure the static flag actually works.
71836904 #
71846905 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7185 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
71866907 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7187 if test "${lt_prog_compiler_static_works+set}" = set; then
6908 if test "${lt_prog_compiler_static_works+set}" = set; then :
71886909 $as_echo_n "(cached) " >&6
71896910 else
71906911 lt_prog_compiler_static_works=no
72106931 LDFLAGS="$save_LDFLAGS"
72116932
72126933 fi
7213 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_static_works" >&5
72146935 $as_echo "$lt_prog_compiler_static_works" >&6; }
72156936
72166937 if test x"$lt_prog_compiler_static_works" = xyes; then
72206941 fi
72216942
72226943
7223 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
72246945 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7225 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6946 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
72266947 $as_echo_n "(cached) " >&6
72276948 else
72286949 lt_cv_prog_compiler_c_o=no
72676988 $rm conftest*
72686989
72696990 fi
7270 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
72716992 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
72726993
72736994
72746995 hard_links="nottested"
72756996 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
72766997 # do not overwrite the value of need_locks provided by the user
7277 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
72786999 $as_echo_n "checking if we can lock with hard links... " >&6; }
72797000 hard_links=yes
72807001 $rm conftest*
72827003 touch conftest.a
72837004 ln conftest.a conftest.b 2>&5 || hard_links=no
72847005 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7285 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
72867007 $as_echo "$hard_links" >&6; }
72877008 if test "$hard_links" = no; then
7288 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
72897010 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
72907011 need_locks=warn
72917012 fi
72937014 need_locks=no
72947015 fi
72957016
7296 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
72977018 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
72987019
72997020 runpath_var=
76937414 # -berok will link without error, but may produce a broken library.
76947415 allow_undefined_flag='-berok'
76957416 # Determine the default libpath from the value encoded in an empty executable.
7696 cat >conftest.$ac_ext <<_ACEOF
7697 /* confdefs.h. */
7698 _ACEOF
7699 cat confdefs.h >>conftest.$ac_ext
7700 cat >>conftest.$ac_ext <<_ACEOF
7417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77017418 /* end confdefs.h. */
77027419
77037420 int
77087425 return 0;
77097426 }
77107427 _ACEOF
7711 rm -f conftest.$ac_objext conftest$ac_exeext
7712 if { (ac_try="$ac_link"
7713 case "(($ac_try" in
7714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7715 *) ac_try_echo=$ac_try;;
7716 esac
7717 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7718 $as_echo "$ac_try_echo") >&5
7719 (eval "$ac_link") 2>conftest.er1
7720 ac_status=$?
7721 grep -v '^ *+' conftest.er1 >conftest.err
7722 rm -f conftest.er1
7723 cat conftest.err >&5
7724 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725 (exit $ac_status); } && {
7726 test -z "$ac_c_werror_flag" ||
7727 test ! -s conftest.err
7728 } && test -s conftest$ac_exeext && {
7729 test "$cross_compiling" = yes ||
7730 $as_test_x conftest$ac_exeext
7731 }; then
7428 if ac_fn_c_try_link "$LINENO"; then :
77327429
77337430 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
77347431 }'`
77357432 # Check for a 64-bit object if we didn't find anything.
77367433 if 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; }
77377434 }'`; fi
7738 else
7739 $as_echo "$as_me: failed program was:" >&5
7740 sed 's/^/| /' conftest.$ac_ext >&5
7741
7742
7743 fi
7744
7745 rm -rf conftest.dSYM
7746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7747 conftest$ac_exeext conftest.$ac_ext
7435 fi
7436 rm -f core conftest.err conftest.$ac_objext \
7437 conftest$ac_exeext conftest.$ac_ext
77487438 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
77497439
77507440 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
77567446 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
77577447 else
77587448 # Determine the default libpath from the value encoded in an empty executable.
7759 cat >conftest.$ac_ext <<_ACEOF
7760 /* confdefs.h. */
7761 _ACEOF
7762 cat confdefs.h >>conftest.$ac_ext
7763 cat >>conftest.$ac_ext <<_ACEOF
7449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77647450 /* end confdefs.h. */
77657451
77667452 int
77717457 return 0;
77727458 }
77737459 _ACEOF
7774 rm -f conftest.$ac_objext conftest$ac_exeext
7775 if { (ac_try="$ac_link"
7776 case "(($ac_try" in
7777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7778 *) ac_try_echo=$ac_try;;
7779 esac
7780 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7781 $as_echo "$ac_try_echo") >&5
7782 (eval "$ac_link") 2>conftest.er1
7783 ac_status=$?
7784 grep -v '^ *+' conftest.er1 >conftest.err
7785 rm -f conftest.er1
7786 cat conftest.err >&5
7787 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7788 (exit $ac_status); } && {
7789 test -z "$ac_c_werror_flag" ||
7790 test ! -s conftest.err
7791 } && test -s conftest$ac_exeext && {
7792 test "$cross_compiling" = yes ||
7793 $as_test_x conftest$ac_exeext
7794 }; then
7460 if ac_fn_c_try_link "$LINENO"; then :
77957461
77967462 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
77977463 }'`
77987464 # Check for a 64-bit object if we didn't find anything.
77997465 if 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; }
78007466 }'`; fi
7801 else
7802 $as_echo "$as_me: failed program was:" >&5
7803 sed 's/^/| /' conftest.$ac_ext >&5
7804
7805
7806 fi
7807
7808 rm -rf conftest.dSYM
7809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7810 conftest$ac_exeext conftest.$ac_ext
7467 fi
7468 rm -f core conftest.err conftest.$ac_objext \
7469 conftest$ac_exeext conftest.$ac_ext
78117470 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
78127471
78137472 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
82557914 esac
82567915 fi
82577916
8258 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
82597918 $as_echo "$ld_shlibs" >&6; }
82607919 test "$ld_shlibs" = no && can_build_shared=no
82617920
82767935 # Test whether the compiler implicitly links with -lc since on some
82777936 # systems, -lgcc has to come before -lc. If gcc already passes -lc
82787937 # to ld, don't add -lc before -lgcc.
8279 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
82807939 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
82817940 $rm conftest*
82827941 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
82837942
8284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7943 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
82857944 (eval $ac_compile) 2>&5
82867945 ac_status=$?
8287 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8288 (exit $ac_status); } 2>conftest.err; then
7946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7947 test $ac_status = 0; } 2>conftest.err; then
82897948 soname=conftest
82907949 lib=conftest
82917950 libobjs=conftest.$ac_objext
82997958 libname=conftest
83007959 lt_save_allow_undefined_flag=$allow_undefined_flag
83017960 allow_undefined_flag=
8302 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7961 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
83037962 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
83047963 ac_status=$?
8305 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8306 (exit $ac_status); }
7964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7965 test $ac_status = 0; }
83077966 then
83087967 archive_cmds_need_lc=no
83097968 else
83147973 cat conftest.err 1>&5
83157974 fi
83167975 $rm conftest*
8317 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
83187977 $as_echo "$archive_cmds_need_lc" >&6; }
83197978 ;;
83207979 esac
83227981 ;;
83237982 esac
83247983
8325 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
83267985 $as_echo_n "checking dynamic linker characteristics... " >&6; }
83277986 library_names_spec=
83287987 libname_spec='lib$name'
89108569 dynamic_linker=no
89118570 ;;
89128571 esac
8913 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
89148573 $as_echo "$dynamic_linker" >&6; }
89158574 test "$dynamic_linker" = no && can_build_shared=no
89168575
89198578 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
89208579 fi
89218580
8922 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
89238582 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
89248583 hardcode_action=
89258584 if test -n "$hardcode_libdir_flag_spec" || \
89448603 # directories.
89458604 hardcode_action=unsupported
89468605 fi
8947 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
89488607 $as_echo "$hardcode_action" >&6; }
89498608
89508609 if test "$hardcode_action" = relink; then
89588617
89598618 striplib=
89608619 old_striplib=
8961 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
89628621 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
89638622 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
89648623 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
89658624 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8966 { $as_echo "$as_me:$LINENO: result: yes" >&5
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
89678626 $as_echo "yes" >&6; }
89688627 else
89698628 # FIXME - insert some real tests, host_os isn't really good enough
89718630 darwin*)
89728631 if test -n "$STRIP" ; then
89738632 striplib="$STRIP -x"
8974 { $as_echo "$as_me:$LINENO: result: yes" >&5
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
89758634 $as_echo "yes" >&6; }
89768635 else
8977 { $as_echo "$as_me:$LINENO: result: no" >&5
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
89788637 $as_echo "no" >&6; }
89798638 fi
89808639 ;;
89818640 *)
8982 { $as_echo "$as_me:$LINENO: result: no" >&5
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
89838642 $as_echo "no" >&6; }
89848643 ;;
89858644 esac
90128671
90138672 darwin*)
90148673 # if libdl is installed we need to link against it
9015 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
90168675 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9017 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8676 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
90188677 $as_echo_n "(cached) " >&6
90198678 else
90208679 ac_check_lib_save_LIBS=$LIBS
90218680 LIBS="-ldl $LIBS"
9022 cat >conftest.$ac_ext <<_ACEOF
9023 /* confdefs.h. */
9024 _ACEOF
9025 cat confdefs.h >>conftest.$ac_ext
9026 cat >>conftest.$ac_ext <<_ACEOF
8681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
90278682 /* end confdefs.h. */
90288683
90298684 /* Override any GCC internal prototype to avoid an error.
90418696 return 0;
90428697 }
90438698 _ACEOF
9044 rm -f conftest.$ac_objext conftest$ac_exeext
9045 if { (ac_try="$ac_link"
9046 case "(($ac_try" in
9047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9048 *) ac_try_echo=$ac_try;;
9049 esac
9050 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9051 $as_echo "$ac_try_echo") >&5
9052 (eval "$ac_link") 2>conftest.er1
9053 ac_status=$?
9054 grep -v '^ *+' conftest.er1 >conftest.err
9055 rm -f conftest.er1
9056 cat conftest.err >&5
9057 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9058 (exit $ac_status); } && {
9059 test -z "$ac_c_werror_flag" ||
9060 test ! -s conftest.err
9061 } && test -s conftest$ac_exeext && {
9062 test "$cross_compiling" = yes ||
9063 $as_test_x conftest$ac_exeext
9064 }; then
8699 if ac_fn_c_try_link "$LINENO"; then :
90658700 ac_cv_lib_dl_dlopen=yes
90668701 else
9067 $as_echo "$as_me: failed program was:" >&5
9068 sed 's/^/| /' conftest.$ac_ext >&5
9069
9070 ac_cv_lib_dl_dlopen=no
9071 fi
9072
9073 rm -rf conftest.dSYM
9074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9075 conftest$ac_exeext conftest.$ac_ext
8702 ac_cv_lib_dl_dlopen=no
8703 fi
8704 rm -f core conftest.err conftest.$ac_objext \
8705 conftest$ac_exeext conftest.$ac_ext
90768706 LIBS=$ac_check_lib_save_LIBS
90778707 fi
9078 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
90798709 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9080 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
8710 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
90818711 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
90828712 else
90838713
90908720 ;;
90918721
90928722 *)
9093 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
9094 $as_echo_n "checking for shl_load... " >&6; }
9095 if test "${ac_cv_func_shl_load+set}" = set; then
9096 $as_echo_n "(cached) " >&6
9097 else
9098 cat >conftest.$ac_ext <<_ACEOF
9099 /* confdefs.h. */
9100 _ACEOF
9101 cat confdefs.h >>conftest.$ac_ext
9102 cat >>conftest.$ac_ext <<_ACEOF
9103 /* end confdefs.h. */
9104 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9106 #define shl_load innocuous_shl_load
9107
9108 /* System header to define __stub macros and hopefully few prototypes,
9109 which can conflict with char shl_load (); below.
9110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9111 <limits.h> exists even on freestanding compilers. */
9112
9113 #ifdef __STDC__
9114 # include <limits.h>
9115 #else
9116 # include <assert.h>
9117 #endif
9118
9119 #undef shl_load
9120
9121 /* Override any GCC internal prototype to avoid an error.
9122 Use char because int might match the return type of a GCC
9123 builtin and then its argument prototype would still apply. */
9124 #ifdef __cplusplus
9125 extern "C"
9126 #endif
9127 char shl_load ();
9128 /* The GNU C library defines this for functions which it implements
9129 to always fail with ENOSYS. Some functions are actually named
9130 something starting with __ and the normal name is an alias. */
9131 #if defined __stub_shl_load || defined __stub___shl_load
9132 choke me
9133 #endif
9134
9135 int
9136 main ()
9137 {
9138 return shl_load ();
9139 ;
9140 return 0;
9141 }
9142 _ACEOF
9143 rm -f conftest.$ac_objext conftest$ac_exeext
9144 if { (ac_try="$ac_link"
9145 case "(($ac_try" in
9146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9147 *) ac_try_echo=$ac_try;;
9148 esac
9149 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9150 $as_echo "$ac_try_echo") >&5
9151 (eval "$ac_link") 2>conftest.er1
9152 ac_status=$?
9153 grep -v '^ *+' conftest.er1 >conftest.err
9154 rm -f conftest.er1
9155 cat conftest.err >&5
9156 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9157 (exit $ac_status); } && {
9158 test -z "$ac_c_werror_flag" ||
9159 test ! -s conftest.err
9160 } && test -s conftest$ac_exeext && {
9161 test "$cross_compiling" = yes ||
9162 $as_test_x conftest$ac_exeext
9163 }; then
9164 ac_cv_func_shl_load=yes
9165 else
9166 $as_echo "$as_me: failed program was:" >&5
9167 sed 's/^/| /' conftest.$ac_ext >&5
9168
9169 ac_cv_func_shl_load=no
9170 fi
9171
9172 rm -rf conftest.dSYM
9173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9174 conftest$ac_exeext conftest.$ac_ext
9175 fi
9176 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9177 $as_echo "$ac_cv_func_shl_load" >&6; }
9178 if test "x$ac_cv_func_shl_load" = x""yes; then
8723 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
8724 if test "x$ac_cv_func_shl_load" = x""yes; then :
91798725 lt_cv_dlopen="shl_load"
91808726 else
9181 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
91828728 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9183 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8729 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
91848730 $as_echo_n "(cached) " >&6
91858731 else
91868732 ac_check_lib_save_LIBS=$LIBS
91878733 LIBS="-ldld $LIBS"
9188 cat >conftest.$ac_ext <<_ACEOF
9189 /* confdefs.h. */
9190 _ACEOF
9191 cat confdefs.h >>conftest.$ac_ext
9192 cat >>conftest.$ac_ext <<_ACEOF
8734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
91938735 /* end confdefs.h. */
91948736
91958737 /* Override any GCC internal prototype to avoid an error.
92078749 return 0;
92088750 }
92098751 _ACEOF
9210 rm -f conftest.$ac_objext conftest$ac_exeext
9211 if { (ac_try="$ac_link"
9212 case "(($ac_try" in
9213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9214 *) ac_try_echo=$ac_try;;
9215 esac
9216 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9217 $as_echo "$ac_try_echo") >&5
9218 (eval "$ac_link") 2>conftest.er1
9219 ac_status=$?
9220 grep -v '^ *+' conftest.er1 >conftest.err
9221 rm -f conftest.er1
9222 cat conftest.err >&5
9223 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9224 (exit $ac_status); } && {
9225 test -z "$ac_c_werror_flag" ||
9226 test ! -s conftest.err
9227 } && test -s conftest$ac_exeext && {
9228 test "$cross_compiling" = yes ||
9229 $as_test_x conftest$ac_exeext
9230 }; then
8752 if ac_fn_c_try_link "$LINENO"; then :
92318753 ac_cv_lib_dld_shl_load=yes
92328754 else
9233 $as_echo "$as_me: failed program was:" >&5
9234 sed 's/^/| /' conftest.$ac_ext >&5
9235
9236 ac_cv_lib_dld_shl_load=no
9237 fi
9238
9239 rm -rf conftest.dSYM
9240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9241 conftest$ac_exeext conftest.$ac_ext
8755 ac_cv_lib_dld_shl_load=no
8756 fi
8757 rm -f core conftest.err conftest.$ac_objext \
8758 conftest$ac_exeext conftest.$ac_ext
92428759 LIBS=$ac_check_lib_save_LIBS
92438760 fi
9244 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
92458762 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9246 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
8763 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
92478764 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
92488765 else
9249 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
9250 $as_echo_n "checking for dlopen... " >&6; }
9251 if test "${ac_cv_func_dlopen+set}" = set; then
9252 $as_echo_n "(cached) " >&6
9253 else
9254 cat >conftest.$ac_ext <<_ACEOF
9255 /* confdefs.h. */
9256 _ACEOF
9257 cat confdefs.h >>conftest.$ac_ext
9258 cat >>conftest.$ac_ext <<_ACEOF
9259 /* end confdefs.h. */
9260 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9262 #define dlopen innocuous_dlopen
9263
9264 /* System header to define __stub macros and hopefully few prototypes,
9265 which can conflict with char dlopen (); below.
9266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9267 <limits.h> exists even on freestanding compilers. */
9268
9269 #ifdef __STDC__
9270 # include <limits.h>
9271 #else
9272 # include <assert.h>
9273 #endif
9274
9275 #undef dlopen
9276
9277 /* Override any GCC internal prototype to avoid an error.
9278 Use char because int might match the return type of a GCC
9279 builtin and then its argument prototype would still apply. */
9280 #ifdef __cplusplus
9281 extern "C"
9282 #endif
9283 char dlopen ();
9284 /* The GNU C library defines this for functions which it implements
9285 to always fail with ENOSYS. Some functions are actually named
9286 something starting with __ and the normal name is an alias. */
9287 #if defined __stub_dlopen || defined __stub___dlopen
9288 choke me
9289 #endif
9290
9291 int
9292 main ()
9293 {
9294 return dlopen ();
9295 ;
9296 return 0;
9297 }
9298 _ACEOF
9299 rm -f conftest.$ac_objext conftest$ac_exeext
9300 if { (ac_try="$ac_link"
9301 case "(($ac_try" in
9302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9303 *) ac_try_echo=$ac_try;;
9304 esac
9305 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9306 $as_echo "$ac_try_echo") >&5
9307 (eval "$ac_link") 2>conftest.er1
9308 ac_status=$?
9309 grep -v '^ *+' conftest.er1 >conftest.err
9310 rm -f conftest.er1
9311 cat conftest.err >&5
9312 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9313 (exit $ac_status); } && {
9314 test -z "$ac_c_werror_flag" ||
9315 test ! -s conftest.err
9316 } && test -s conftest$ac_exeext && {
9317 test "$cross_compiling" = yes ||
9318 $as_test_x conftest$ac_exeext
9319 }; then
9320 ac_cv_func_dlopen=yes
9321 else
9322 $as_echo "$as_me: failed program was:" >&5
9323 sed 's/^/| /' conftest.$ac_ext >&5
9324
9325 ac_cv_func_dlopen=no
9326 fi
9327
9328 rm -rf conftest.dSYM
9329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9330 conftest$ac_exeext conftest.$ac_ext
9331 fi
9332 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9333 $as_echo "$ac_cv_func_dlopen" >&6; }
9334 if test "x$ac_cv_func_dlopen" = x""yes; then
8766 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
8767 if test "x$ac_cv_func_dlopen" = x""yes; then :
93358768 lt_cv_dlopen="dlopen"
93368769 else
9337 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
93388771 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9339 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8772 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
93408773 $as_echo_n "(cached) " >&6
93418774 else
93428775 ac_check_lib_save_LIBS=$LIBS
93438776 LIBS="-ldl $LIBS"
9344 cat >conftest.$ac_ext <<_ACEOF
9345 /* confdefs.h. */
9346 _ACEOF
9347 cat confdefs.h >>conftest.$ac_ext
9348 cat >>conftest.$ac_ext <<_ACEOF
8777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
93498778 /* end confdefs.h. */
93508779
93518780 /* Override any GCC internal prototype to avoid an error.
93638792 return 0;
93648793 }
93658794 _ACEOF
9366 rm -f conftest.$ac_objext conftest$ac_exeext
9367 if { (ac_try="$ac_link"
9368 case "(($ac_try" in
9369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9370 *) ac_try_echo=$ac_try;;
9371 esac
9372 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9373 $as_echo "$ac_try_echo") >&5
9374 (eval "$ac_link") 2>conftest.er1
9375 ac_status=$?
9376 grep -v '^ *+' conftest.er1 >conftest.err
9377 rm -f conftest.er1
9378 cat conftest.err >&5
9379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9380 (exit $ac_status); } && {
9381 test -z "$ac_c_werror_flag" ||
9382 test ! -s conftest.err
9383 } && test -s conftest$ac_exeext && {
9384 test "$cross_compiling" = yes ||
9385 $as_test_x conftest$ac_exeext
9386 }; then
8795 if ac_fn_c_try_link "$LINENO"; then :
93878796 ac_cv_lib_dl_dlopen=yes
93888797 else
9389 $as_echo "$as_me: failed program was:" >&5
9390 sed 's/^/| /' conftest.$ac_ext >&5
9391
9392 ac_cv_lib_dl_dlopen=no
9393 fi
9394
9395 rm -rf conftest.dSYM
9396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9397 conftest$ac_exeext conftest.$ac_ext
8798 ac_cv_lib_dl_dlopen=no
8799 fi
8800 rm -f core conftest.err conftest.$ac_objext \
8801 conftest$ac_exeext conftest.$ac_ext
93988802 LIBS=$ac_check_lib_save_LIBS
93998803 fi
9400 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
94018805 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9402 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
8806 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
94038807 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
94048808 else
9405 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
94068810 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9407 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8811 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
94088812 $as_echo_n "(cached) " >&6
94098813 else
94108814 ac_check_lib_save_LIBS=$LIBS
94118815 LIBS="-lsvld $LIBS"
9412 cat >conftest.$ac_ext <<_ACEOF
9413 /* confdefs.h. */
9414 _ACEOF
9415 cat confdefs.h >>conftest.$ac_ext
9416 cat >>conftest.$ac_ext <<_ACEOF
8816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
94178817 /* end confdefs.h. */
94188818
94198819 /* Override any GCC internal prototype to avoid an error.
94318831 return 0;
94328832 }
94338833 _ACEOF
9434 rm -f conftest.$ac_objext conftest$ac_exeext
9435 if { (ac_try="$ac_link"
9436 case "(($ac_try" in
9437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9438 *) ac_try_echo=$ac_try;;
9439 esac
9440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9441 $as_echo "$ac_try_echo") >&5
9442 (eval "$ac_link") 2>conftest.er1
9443 ac_status=$?
9444 grep -v '^ *+' conftest.er1 >conftest.err
9445 rm -f conftest.er1
9446 cat conftest.err >&5
9447 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9448 (exit $ac_status); } && {
9449 test -z "$ac_c_werror_flag" ||
9450 test ! -s conftest.err
9451 } && test -s conftest$ac_exeext && {
9452 test "$cross_compiling" = yes ||
9453 $as_test_x conftest$ac_exeext
9454 }; then
8834 if ac_fn_c_try_link "$LINENO"; then :
94558835 ac_cv_lib_svld_dlopen=yes
94568836 else
9457 $as_echo "$as_me: failed program was:" >&5
9458 sed 's/^/| /' conftest.$ac_ext >&5
9459
9460 ac_cv_lib_svld_dlopen=no
9461 fi
9462
9463 rm -rf conftest.dSYM
9464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9465 conftest$ac_exeext conftest.$ac_ext
8837 ac_cv_lib_svld_dlopen=no
8838 fi
8839 rm -f core conftest.err conftest.$ac_objext \
8840 conftest$ac_exeext conftest.$ac_ext
94668841 LIBS=$ac_check_lib_save_LIBS
94678842 fi
9468 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
94698844 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9470 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
8845 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
94718846 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
94728847 else
9473 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
94748849 $as_echo_n "checking for dld_link in -ldld... " >&6; }
9475 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8850 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
94768851 $as_echo_n "(cached) " >&6
94778852 else
94788853 ac_check_lib_save_LIBS=$LIBS
94798854 LIBS="-ldld $LIBS"
9480 cat >conftest.$ac_ext <<_ACEOF
9481 /* confdefs.h. */
9482 _ACEOF
9483 cat confdefs.h >>conftest.$ac_ext
9484 cat >>conftest.$ac_ext <<_ACEOF
8855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
94858856 /* end confdefs.h. */
94868857
94878858 /* Override any GCC internal prototype to avoid an error.
94998870 return 0;
95008871 }
95018872 _ACEOF
9502 rm -f conftest.$ac_objext conftest$ac_exeext
9503 if { (ac_try="$ac_link"
9504 case "(($ac_try" in
9505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9506 *) ac_try_echo=$ac_try;;
9507 esac
9508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9509 $as_echo "$ac_try_echo") >&5
9510 (eval "$ac_link") 2>conftest.er1
9511 ac_status=$?
9512 grep -v '^ *+' conftest.er1 >conftest.err
9513 rm -f conftest.er1
9514 cat conftest.err >&5
9515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9516 (exit $ac_status); } && {
9517 test -z "$ac_c_werror_flag" ||
9518 test ! -s conftest.err
9519 } && test -s conftest$ac_exeext && {
9520 test "$cross_compiling" = yes ||
9521 $as_test_x conftest$ac_exeext
9522 }; then
8873 if ac_fn_c_try_link "$LINENO"; then :
95238874 ac_cv_lib_dld_dld_link=yes
95248875 else
9525 $as_echo "$as_me: failed program was:" >&5
9526 sed 's/^/| /' conftest.$ac_ext >&5
9527
9528 ac_cv_lib_dld_dld_link=no
9529 fi
9530
9531 rm -rf conftest.dSYM
9532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9533 conftest$ac_exeext conftest.$ac_ext
8876 ac_cv_lib_dld_dld_link=no
8877 fi
8878 rm -f core conftest.err conftest.$ac_objext \
8879 conftest$ac_exeext conftest.$ac_ext
95348880 LIBS=$ac_check_lib_save_LIBS
95358881 fi
9536 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
95378883 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9538 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
8884 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
95398885 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
95408886 fi
95418887
95748920 save_LIBS="$LIBS"
95758921 LIBS="$lt_cv_dlopen_libs $LIBS"
95768922
9577 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
95788924 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
9579 if test "${lt_cv_dlopen_self+set}" = set; then
8925 if test "${lt_cv_dlopen_self+set}" = set; then :
95808926 $as_echo_n "(cached) " >&6
95818927 else
95828928 if test "$cross_compiling" = yes; then :
96488994 exit (status);
96498995 }
96508996 EOF
9651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8997 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
96528998 (eval $ac_link) 2>&5
96538999 ac_status=$?
9654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9655 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9001 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
96569002 (./conftest; exit; ) >&5 2>/dev/null
96579003 lt_status=$?
96589004 case x$lt_status in
96699015
96709016
96719017 fi
9672 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
96739019 $as_echo "$lt_cv_dlopen_self" >&6; }
96749020
96759021 if test "x$lt_cv_dlopen_self" = xyes; then
96769022 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9677 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
96789024 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9679 if test "${lt_cv_dlopen_self_static+set}" = set; then
9025 if test "${lt_cv_dlopen_self_static+set}" = set; then :
96809026 $as_echo_n "(cached) " >&6
96819027 else
96829028 if test "$cross_compiling" = yes; then :
97489094 exit (status);
97499095 }
97509096 EOF
9751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9097 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
97529098 (eval $ac_link) 2>&5
97539099 ac_status=$?
9754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9755 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9101 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
97569102 (./conftest; exit; ) >&5 2>/dev/null
97579103 lt_status=$?
97589104 case x$lt_status in
97699115
97709116
97719117 fi
9772 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
97739119 $as_echo "$lt_cv_dlopen_self_static" >&6; }
97749120 fi
97759121
97929138
97939139
97949140 # Report which library types will actually be built
9795 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
97969142 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
9797 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
97989144 $as_echo "$can_build_shared" >&6; }
97999145
9800 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
98019147 $as_echo_n "checking whether to build shared libraries... " >&6; }
98029148 test "$can_build_shared" = "no" && enable_shared=no
98039149
98189164 fi
98199165 ;;
98209166 esac
9821 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
98229168 $as_echo "$enable_shared" >&6; }
98239169
9824 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
98259171 $as_echo_n "checking whether to build static libraries... " >&6; }
98269172 # Make sure either enable_shared or enable_static is yes.
98279173 test "$enable_shared" = yes || enable_static=yes
9828 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
98299175 $as_echo "$enable_static" >&6; }
98309176
98319177 # The else clause should only fire when bootstrapping the
99179263 cfgfile="${ofile}T"
99189264 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
99199265 $rm -f "$cfgfile"
9920 { $as_echo "$as_me:$LINENO: creating $ofile" >&5
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
99219267 $as_echo "$as_me: creating $ofile" >&6;}
99229268
99239269 cat <<__EOF__ >> "$cfgfile"
103199665
103209666
103219667 @%:@ Check whether --with-tags was given.
10322 if test "${with_tags+set}" = set; then
9668 if test "${with_tags+set}" = set; then :
103239669 withval=$with_tags; tagnames="$withval"
103249670 fi
103259671
103269672
103279673 if test -f "$ltmain" && test -n "$tagnames"; then
103289674 if test ! -f "${ofile}"; then
10329 { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not exist" >&5
103309676 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
103319677 fi
103329678
103339679 if test -z "$LTCC"; then
103349680 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
103359681 if test -z "$LTCC"; then
10336 { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not look like a libtool script" >&5
103379683 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
103389684 else
10339 { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
103409686 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
103419687 fi
103429688 fi
103549700 # Check whether tagname contains only valid characters
103559701 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
103569702 "") ;;
10357 *) { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10358 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
10359 { (exit 1); exit 1; }; }
9703 *) as_fn_error $? "invalid tag name: $tagname" "$LINENO" 5
103609704 ;;
103619705 esac
103629706
103639707 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
103649708 then
10365 { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10366 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10367 { (exit 1); exit 1; }; }
9709 as_fn_error $? "tag name \"$tagname\" already exists" "$LINENO" 5
103689710 fi
103699711
103709712 # Update the list of available tags.
104969838
104979839
104989840 @%:@ Check whether --with-gnu-ld was given.
10499 if test "${with_gnu_ld+set}" = set; then
9841 if test "${with_gnu_ld+set}" = set; then :
105009842 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
105019843 else
105029844 with_gnu_ld=no
105059847 ac_prog=ld
105069848 if test "$GCC" = yes; then
105079849 # Check if gcc -print-prog-name=ld gives a path.
10508 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
105099851 $as_echo_n "checking for ld used by $CC... " >&6; }
105109852 case $host in
105119853 *-*-mingw*)
105359877 ;;
105369878 esac
105379879 elif test "$with_gnu_ld" = yes; then
10538 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
105399881 $as_echo_n "checking for GNU ld... " >&6; }
105409882 else
10541 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
105429884 $as_echo_n "checking for non-GNU ld... " >&6; }
105439885 fi
10544 if test "${lt_cv_path_LD+set}" = set; then
9886 if test "${lt_cv_path_LD+set}" = set; then :
105459887 $as_echo_n "(cached) " >&6
105469888 else
105479889 if test -z "$LD"; then
105729914
105739915 LD="$lt_cv_path_LD"
105749916 if test -n "$LD"; then
10575 { $as_echo "$as_me:$LINENO: result: $LD" >&5
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
105769918 $as_echo "$LD" >&6; }
105779919 else
10578 { $as_echo "$as_me:$LINENO: result: no" >&5
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
105799921 $as_echo "no" >&6; }
105809922 fi
10581 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10582 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10583 { (exit 1); exit 1; }; }
10584 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9923 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
105859925 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
10586 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9926 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
105879927 $as_echo_n "(cached) " >&6
105889928 else
105899929 # I'd rather use --version here, but apparently some GNU lds only accept -v.
105969936 ;;
105979937 esac
105989938 fi
10599 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
106009940 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
106019941 with_gnu_ld=$lt_cv_prog_gnu_ld
106029942
106479987 fi
106489988
106499989 # PORTME: fill in a description of your system's C++ link characteristics
10650 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
106519991 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
106529992 ld_shlibs_CXX=yes
106539993 case $host_os in
1074410084 # -berok will link without error, but may produce a broken library.
1074510085 allow_undefined_flag_CXX='-berok'
1074610086 # Determine the default libpath from the value encoded in an empty executable.
10747 cat >conftest.$ac_ext <<_ACEOF
10748 /* confdefs.h. */
10749 _ACEOF
10750 cat confdefs.h >>conftest.$ac_ext
10751 cat >>conftest.$ac_ext <<_ACEOF
10087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1075210088 /* end confdefs.h. */
1075310089
1075410090 int
1075910095 return 0;
1076010096 }
1076110097 _ACEOF
10762 rm -f conftest.$ac_objext conftest$ac_exeext
10763 if { (ac_try="$ac_link"
10764 case "(($ac_try" in
10765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10766 *) ac_try_echo=$ac_try;;
10767 esac
10768 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10769 $as_echo "$ac_try_echo") >&5
10770 (eval "$ac_link") 2>conftest.er1
10771 ac_status=$?
10772 grep -v '^ *+' conftest.er1 >conftest.err
10773 rm -f conftest.er1
10774 cat conftest.err >&5
10775 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10776 (exit $ac_status); } && {
10777 test -z "$ac_cxx_werror_flag" ||
10778 test ! -s conftest.err
10779 } && test -s conftest$ac_exeext && {
10780 test "$cross_compiling" = yes ||
10781 $as_test_x conftest$ac_exeext
10782 }; then
10098 if ac_fn_cxx_try_link "$LINENO"; then :
1078310099
1078410100 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1078510101 }'`
1078610102 # Check for a 64-bit object if we didn't find anything.
1078710103 if 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; }
1078810104 }'`; fi
10789 else
10790 $as_echo "$as_me: failed program was:" >&5
10791 sed 's/^/| /' conftest.$ac_ext >&5
10792
10793
10794 fi
10795
10796 rm -rf conftest.dSYM
10797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10798 conftest$ac_exeext conftest.$ac_ext
10105 fi
10106 rm -f core conftest.err conftest.$ac_objext \
10107 conftest$ac_exeext conftest.$ac_ext
1079910108 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1080010109
1080110110 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
1080810117 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
1080910118 else
1081010119 # Determine the default libpath from the value encoded in an empty executable.
10811 cat >conftest.$ac_ext <<_ACEOF
10812 /* confdefs.h. */
10813 _ACEOF
10814 cat confdefs.h >>conftest.$ac_ext
10815 cat >>conftest.$ac_ext <<_ACEOF
10120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1081610121 /* end confdefs.h. */
1081710122
1081810123 int
1082310128 return 0;
1082410129 }
1082510130 _ACEOF
10826 rm -f conftest.$ac_objext conftest$ac_exeext
10827 if { (ac_try="$ac_link"
10828 case "(($ac_try" in
10829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10830 *) ac_try_echo=$ac_try;;
10831 esac
10832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10833 $as_echo "$ac_try_echo") >&5
10834 (eval "$ac_link") 2>conftest.er1
10835 ac_status=$?
10836 grep -v '^ *+' conftest.er1 >conftest.err
10837 rm -f conftest.er1
10838 cat conftest.err >&5
10839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10840 (exit $ac_status); } && {
10841 test -z "$ac_cxx_werror_flag" ||
10842 test ! -s conftest.err
10843 } && test -s conftest$ac_exeext && {
10844 test "$cross_compiling" = yes ||
10845 $as_test_x conftest$ac_exeext
10846 }; then
10131 if ac_fn_cxx_try_link "$LINENO"; then :
1084710132
1084810133 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1084910134 }'`
1085010135 # Check for a 64-bit object if we didn't find anything.
1085110136 if 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; }
1085210137 }'`; fi
10853 else
10854 $as_echo "$as_me: failed program was:" >&5
10855 sed 's/^/| /' conftest.$ac_ext >&5
10856
10857
10858 fi
10859
10860 rm -rf conftest.dSYM
10861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10862 conftest$ac_exeext conftest.$ac_ext
10138 fi
10139 rm -f core conftest.err conftest.$ac_objext \
10140 conftest$ac_exeext conftest.$ac_ext
1086310141 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1086410142
1086510143 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
1158910867 ld_shlibs_CXX=no
1159010868 ;;
1159110869 esac
11592 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
1159310871 $as_echo "$ld_shlibs_CXX" >&6; }
1159410872 test "$ld_shlibs_CXX" = no && can_build_shared=no
1159510873
1161110889 };
1161210890 EOF
1161310891
11614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10892 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1161510893 (eval $ac_compile) 2>&5
1161610894 ac_status=$?
11617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11618 (exit $ac_status); }; then
10895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10896 test $ac_status = 0; }; then
1161910897 # Parse the compiler output and extract the necessary
1162010898 # objects, libraries and library flags.
1162110899
1173311011 lt_prog_compiler_pic_CXX=
1173411012 lt_prog_compiler_static_CXX=
1173511013
11736 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
1173711015 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
1173811016
1173911017 # C++ specific cases for pic, static, wl, etc.
1200711285 esac
1200811286 fi
1200911287
12010 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
1201111289 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
1201211290
1201311291 #
1201511293 #
1201611294 if test -n "$lt_prog_compiler_pic_CXX"; then
1201711295
12018 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
1201911297 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
12020 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11298 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then :
1202111299 $as_echo_n "(cached) " >&6
1202211300 else
1202311301 lt_prog_compiler_pic_works_CXX=no
1205011328 $rm conftest*
1205111329
1205211330 fi
12053 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works_CXX" >&5
1205411332 $as_echo "$lt_prog_compiler_pic_works_CXX" >&6; }
1205511333
1205611334 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
1207811356 # Check to make sure the static flag actually works.
1207911357 #
1208011358 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12081 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
1208211360 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12083 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11361 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then :
1208411362 $as_echo_n "(cached) " >&6
1208511363 else
1208611364 lt_prog_compiler_static_works_CXX=no
1210611384 LDFLAGS="$save_LDFLAGS"
1210711385
1210811386 fi
12109 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_static_works_CXX" >&5
1211011388 $as_echo "$lt_prog_compiler_static_works_CXX" >&6; }
1211111389
1211211390 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
1211611394 fi
1211711395
1211811396
12119 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
1212011398 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12121 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11399 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
1212211400 $as_echo_n "(cached) " >&6
1212311401 else
1212411402 lt_cv_prog_compiler_c_o_CXX=no
1216311441 $rm conftest*
1216411442
1216511443 fi
12166 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
1216711445 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1216811446
1216911447
1217011448 hard_links="nottested"
1217111449 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
1217211450 # do not overwrite the value of need_locks provided by the user
12173 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
1217411452 $as_echo_n "checking if we can lock with hard links... " >&6; }
1217511453 hard_links=yes
1217611454 $rm conftest*
1217811456 touch conftest.a
1217911457 ln conftest.a conftest.b 2>&5 || hard_links=no
1218011458 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12181 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
1218211460 $as_echo "$hard_links" >&6; }
1218311461 if test "$hard_links" = no; then
12184 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
1218511463 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1218611464 need_locks=warn
1218711465 fi
1218911467 need_locks=no
1219011468 fi
1219111469
12192 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
1219311471 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1219411472
1219511473 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
1221411492 ;;
1221511493 esac
1221611494
12217 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
1221811496 $as_echo "$ld_shlibs_CXX" >&6; }
1221911497 test "$ld_shlibs_CXX" = no && can_build_shared=no
1222011498
1223511513 # Test whether the compiler implicitly links with -lc since on some
1223611514 # systems, -lgcc has to come before -lc. If gcc already passes -lc
1223711515 # to ld, don't add -lc before -lgcc.
12238 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
1223911517 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
1224011518 $rm conftest*
1224111519 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1224211520
12243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11521 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1224411522 (eval $ac_compile) 2>&5
1224511523 ac_status=$?
12246 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247 (exit $ac_status); } 2>conftest.err; then
11524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11525 test $ac_status = 0; } 2>conftest.err; then
1224811526 soname=conftest
1224911527 lib=conftest
1225011528 libobjs=conftest.$ac_objext
1225811536 libname=conftest
1225911537 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
1226011538 allow_undefined_flag_CXX=
12261 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11539 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1226211540 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
1226311541 ac_status=$?
12264 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265 (exit $ac_status); }
11542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11543 test $ac_status = 0; }
1226611544 then
1226711545 archive_cmds_need_lc_CXX=no
1226811546 else
1227311551 cat conftest.err 1>&5
1227411552 fi
1227511553 $rm conftest*
12276 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
1227711555 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
1227811556 ;;
1227911557 esac
1228111559 ;;
1228211560 esac
1228311561
12284 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
1228511563 $as_echo_n "checking dynamic linker characteristics... " >&6; }
1228611564 library_names_spec=
1228711565 libname_spec='lib$name'
1286912147 dynamic_linker=no
1287012148 ;;
1287112149 esac
12872 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
1287312151 $as_echo "$dynamic_linker" >&6; }
1287412152 test "$dynamic_linker" = no && can_build_shared=no
1287512153
1287812156 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1287912157 fi
1288012158
12881 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
1288212160 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1288312161 hardcode_action_CXX=
1288412162 if test -n "$hardcode_libdir_flag_spec_CXX" || \
1290312181 # directories.
1290412182 hardcode_action_CXX=unsupported
1290512183 fi
12906 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
1290712185 $as_echo "$hardcode_action_CXX" >&6; }
1290812186
1290912187 if test "$hardcode_action_CXX" = relink; then
1342912707 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
1343012708
1343112709
13432 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
1343312711 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13434 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
1343512713 $as_echo "$can_build_shared" >&6; }
1343612714
13437 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
1343812716 $as_echo_n "checking whether to build shared libraries... " >&6; }
1343912717 test "$can_build_shared" = "no" && enable_shared=no
1344012718
1345412732 fi
1345512733 ;;
1345612734 esac
13457 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
1345812736 $as_echo "$enable_shared" >&6; }
1345912737
13460 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
1346112739 $as_echo_n "checking whether to build static libraries... " >&6; }
1346212740 # Make sure either enable_shared or enable_static is yes.
1346312741 test "$enable_shared" = yes || enable_static=yes
13464 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
1346512743 $as_echo "$enable_static" >&6; }
1346612744
1346712745 GCC_F77="$G77"
1347112749 lt_prog_compiler_pic_F77=
1347212750 lt_prog_compiler_static_F77=
1347312751
13474 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
1347512753 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
1347612754
1347712755 if test "$GCC" = yes; then
1368112959 esac
1368212960 fi
1368312961
13684 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_F77" >&5
1368512963 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
1368612964
1368712965 #
1368912967 #
1369012968 if test -n "$lt_prog_compiler_pic_F77"; then
1369112969
13692 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
1369312971 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
13694 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
12972 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then :
1369512973 $as_echo_n "(cached) " >&6
1369612974 else
1369712975 lt_prog_compiler_pic_works_F77=no
1372413002 $rm conftest*
1372513003
1372613004 fi
13727 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works_F77" >&5
1372813006 $as_echo "$lt_prog_compiler_pic_works_F77" >&6; }
1372913007
1373013008 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
1375213030 # Check to make sure the static flag actually works.
1375313031 #
1375413032 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
13755 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
1375613034 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13757 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13035 if test "${lt_prog_compiler_static_works_F77+set}" = set; then :
1375813036 $as_echo_n "(cached) " >&6
1375913037 else
1376013038 lt_prog_compiler_static_works_F77=no
1378013058 LDFLAGS="$save_LDFLAGS"
1378113059
1378213060 fi
13783 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_static_works_F77" >&5
1378413062 $as_echo "$lt_prog_compiler_static_works_F77" >&6; }
1378513063
1378613064 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
1379013068 fi
1379113069
1379213070
13793 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
1379413072 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13795 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13073 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then :
1379613074 $as_echo_n "(cached) " >&6
1379713075 else
1379813076 lt_cv_prog_compiler_c_o_F77=no
1383713115 $rm conftest*
1383813116
1383913117 fi
13840 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5
1384113119 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
1384213120
1384313121
1384413122 hard_links="nottested"
1384513123 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
1384613124 # do not overwrite the value of need_locks provided by the user
13847 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
1384813126 $as_echo_n "checking if we can lock with hard links... " >&6; }
1384913127 hard_links=yes
1385013128 $rm conftest*
1385213130 touch conftest.a
1385313131 ln conftest.a conftest.b 2>&5 || hard_links=no
1385413132 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13855 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
1385613134 $as_echo "$hard_links" >&6; }
1385713135 if test "$hard_links" = no; then
13858 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
1385913137 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1386013138 need_locks=warn
1386113139 fi
1386313141 need_locks=no
1386413142 fi
1386513143
13866 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
1386713145 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1386813146
1386913147 runpath_var=
1426313541 # -berok will link without error, but may produce a broken library.
1426413542 allow_undefined_flag_F77='-berok'
1426513543 # Determine the default libpath from the value encoded in an empty executable.
14266 cat >conftest.$ac_ext <<_ACEOF
13544 cat > conftest.$ac_ext <<_ACEOF
1426713545 program main
1426813546
1426913547 end
1427013548 _ACEOF
14271 rm -f conftest.$ac_objext conftest$ac_exeext
14272 if { (ac_try="$ac_link"
14273 case "(($ac_try" in
14274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14275 *) ac_try_echo=$ac_try;;
14276 esac
14277 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14278 $as_echo "$ac_try_echo") >&5
14279 (eval "$ac_link") 2>conftest.er1
14280 ac_status=$?
14281 grep -v '^ *+' conftest.er1 >conftest.err
14282 rm -f conftest.er1
14283 cat conftest.err >&5
14284 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); } && {
14286 test -z "$ac_f77_werror_flag" ||
14287 test ! -s conftest.err
14288 } && test -s conftest$ac_exeext && {
14289 test "$cross_compiling" = yes ||
14290 $as_test_x conftest$ac_exeext
14291 }; then
13549 if ac_fn_f77_try_link "$LINENO"; then :
1429213550
1429313551 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1429413552 }'`
1429513553 # Check for a 64-bit object if we didn't find anything.
1429613554 if 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; }
1429713555 }'`; fi
14298 else
14299 $as_echo "$as_me: failed program was:" >&5
14300 sed 's/^/| /' conftest.$ac_ext >&5
14301
14302
14303 fi
14304
14305 rm -rf conftest.dSYM
14306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14307 conftest$ac_exeext conftest.$ac_ext
13556 fi
13557 rm -f core conftest.err conftest.$ac_objext \
13558 conftest$ac_exeext conftest.$ac_ext
1430813559 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1430913560
1431013561 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
1431613567 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
1431713568 else
1431813569 # Determine the default libpath from the value encoded in an empty executable.
14319 cat >conftest.$ac_ext <<_ACEOF
13570 cat > conftest.$ac_ext <<_ACEOF
1432013571 program main
1432113572
1432213573 end
1432313574 _ACEOF
14324 rm -f conftest.$ac_objext conftest$ac_exeext
14325 if { (ac_try="$ac_link"
14326 case "(($ac_try" in
14327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14328 *) ac_try_echo=$ac_try;;
14329 esac
14330 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14331 $as_echo "$ac_try_echo") >&5
14332 (eval "$ac_link") 2>conftest.er1
14333 ac_status=$?
14334 grep -v '^ *+' conftest.er1 >conftest.err
14335 rm -f conftest.er1
14336 cat conftest.err >&5
14337 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14338 (exit $ac_status); } && {
14339 test -z "$ac_f77_werror_flag" ||
14340 test ! -s conftest.err
14341 } && test -s conftest$ac_exeext && {
14342 test "$cross_compiling" = yes ||
14343 $as_test_x conftest$ac_exeext
14344 }; then
13575 if ac_fn_f77_try_link "$LINENO"; then :
1434513576
1434613577 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1434713578 }'`
1434813579 # Check for a 64-bit object if we didn't find anything.
1434913580 if 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; }
1435013581 }'`; fi
14351 else
14352 $as_echo "$as_me: failed program was:" >&5
14353 sed 's/^/| /' conftest.$ac_ext >&5
14354
14355
14356 fi
14357
14358 rm -rf conftest.dSYM
14359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14360 conftest$ac_exeext conftest.$ac_ext
13582 fi
13583 rm -f core conftest.err conftest.$ac_objext \
13584 conftest$ac_exeext conftest.$ac_ext
1436113585 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1436213586
1436313587 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
1480514029 esac
1480614030 fi
1480714031
14808 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_F77" >&5
1480914033 $as_echo "$ld_shlibs_F77" >&6; }
1481014034 test "$ld_shlibs_F77" = no && can_build_shared=no
1481114035
1482614050 # Test whether the compiler implicitly links with -lc since on some
1482714051 # systems, -lgcc has to come before -lc. If gcc already passes -lc
1482814052 # to ld, don't add -lc before -lgcc.
14829 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
1483014054 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
1483114055 $rm conftest*
1483214056 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1483314057
14834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14058 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1483514059 (eval $ac_compile) 2>&5
1483614060 ac_status=$?
14837 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14838 (exit $ac_status); } 2>conftest.err; then
14061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14062 test $ac_status = 0; } 2>conftest.err; then
1483914063 soname=conftest
1484014064 lib=conftest
1484114065 libobjs=conftest.$ac_objext
1484914073 libname=conftest
1485014074 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
1485114075 allow_undefined_flag_F77=
14852 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14076 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1485314077 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
1485414078 ac_status=$?
14855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14856 (exit $ac_status); }
14079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14080 test $ac_status = 0; }
1485714081 then
1485814082 archive_cmds_need_lc_F77=no
1485914083 else
1486414088 cat conftest.err 1>&5
1486514089 fi
1486614090 $rm conftest*
14867 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_F77" >&5
1486814092 $as_echo "$archive_cmds_need_lc_F77" >&6; }
1486914093 ;;
1487014094 esac
1487214096 ;;
1487314097 esac
1487414098
14875 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
1487614100 $as_echo_n "checking dynamic linker characteristics... " >&6; }
1487714101 library_names_spec=
1487814102 libname_spec='lib$name'
1546014684 dynamic_linker=no
1546114685 ;;
1546214686 esac
15463 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
1546414688 $as_echo "$dynamic_linker" >&6; }
1546514689 test "$dynamic_linker" = no && can_build_shared=no
1546614690
1546914693 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1547014694 fi
1547114695
15472 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
1547314697 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1547414698 hardcode_action_F77=
1547514699 if test -n "$hardcode_libdir_flag_spec_F77" || \
1549414718 # directories.
1549514719 hardcode_action_F77=unsupported
1549614720 fi
15497 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_F77" >&5
1549814722 $as_echo "$hardcode_action_F77" >&6; }
1549914723
1550014724 if test "$hardcode_action_F77" = relink; then
1600315227 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
1600415228
1600515229
16006 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
1600715231 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
16008 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15232 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
1600915233 $as_echo_n "(cached) " >&6
1601015234 else
1601115235 lt_cv_prog_compiler_rtti_exceptions=no
1603815262 $rm conftest*
1603915263
1604015264 fi
16041 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
1604215266 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1604315267
1604415268 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
1605315277 lt_prog_compiler_pic_GCJ=
1605415278 lt_prog_compiler_static_GCJ=
1605515279
16056 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
1605715281 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
1605815282
1605915283 if test "$GCC" = yes; then
1626315487 esac
1626415488 fi
1626515489
16266 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GCJ" >&5
1626715491 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
1626815492
1626915493 #
1627115495 #
1627215496 if test -n "$lt_prog_compiler_pic_GCJ"; then
1627315497
16274 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
1627515499 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
16276 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15500 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then :
1627715501 $as_echo_n "(cached) " >&6
1627815502 else
1627915503 lt_prog_compiler_pic_works_GCJ=no
1630615530 $rm conftest*
1630715531
1630815532 fi
16309 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works_GCJ" >&5
1631015534 $as_echo "$lt_prog_compiler_pic_works_GCJ" >&6; }
1631115535
1631215536 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
1633415558 # Check to make sure the static flag actually works.
1633515559 #
1633615560 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
16337 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
1633815562 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16339 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
15563 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then :
1634015564 $as_echo_n "(cached) " >&6
1634115565 else
1634215566 lt_prog_compiler_static_works_GCJ=no
1636215586 LDFLAGS="$save_LDFLAGS"
1636315587
1636415588 fi
16365 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_static_works_GCJ" >&5
1636615590 $as_echo "$lt_prog_compiler_static_works_GCJ" >&6; }
1636715591
1636815592 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
1637215596 fi
1637315597
1637415598
16375 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
1637615600 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16377 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15601 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then :
1637815602 $as_echo_n "(cached) " >&6
1637915603 else
1638015604 lt_cv_prog_compiler_c_o_GCJ=no
1641915643 $rm conftest*
1642015644
1642115645 fi
16422 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
1642315647 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
1642415648
1642515649
1642615650 hard_links="nottested"
1642715651 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
1642815652 # do not overwrite the value of need_locks provided by the user
16429 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
1643015654 $as_echo_n "checking if we can lock with hard links... " >&6; }
1643115655 hard_links=yes
1643215656 $rm conftest*
1643415658 touch conftest.a
1643515659 ln conftest.a conftest.b 2>&5 || hard_links=no
1643615660 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16437 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
1643815662 $as_echo "$hard_links" >&6; }
1643915663 if test "$hard_links" = no; then
16440 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
1644115665 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1644215666 need_locks=warn
1644315667 fi
1644515669 need_locks=no
1644615670 fi
1644715671
16448 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
1644915673 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1645015674
1645115675 runpath_var=
1684516069 # -berok will link without error, but may produce a broken library.
1684616070 allow_undefined_flag_GCJ='-berok'
1684716071 # Determine the default libpath from the value encoded in an empty executable.
16848 cat >conftest.$ac_ext <<_ACEOF
16849 /* confdefs.h. */
16850 _ACEOF
16851 cat confdefs.h >>conftest.$ac_ext
16852 cat >>conftest.$ac_ext <<_ACEOF
16072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1685316073 /* end confdefs.h. */
1685416074
1685516075 int
1686016080 return 0;
1686116081 }
1686216082 _ACEOF
16863 rm -f conftest.$ac_objext conftest$ac_exeext
16864 if { (ac_try="$ac_link"
16865 case "(($ac_try" in
16866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16867 *) ac_try_echo=$ac_try;;
16868 esac
16869 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16870 $as_echo "$ac_try_echo") >&5
16871 (eval "$ac_link") 2>conftest.er1
16872 ac_status=$?
16873 grep -v '^ *+' conftest.er1 >conftest.err
16874 rm -f conftest.er1
16875 cat conftest.err >&5
16876 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877 (exit $ac_status); } && {
16878 test -z "$ac_c_werror_flag" ||
16879 test ! -s conftest.err
16880 } && test -s conftest$ac_exeext && {
16881 test "$cross_compiling" = yes ||
16882 $as_test_x conftest$ac_exeext
16883 }; then
16083 if ac_fn_c_try_link "$LINENO"; then :
1688416084
1688516085 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1688616086 }'`
1688716087 # Check for a 64-bit object if we didn't find anything.
1688816088 if 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; }
1688916089 }'`; fi
16890 else
16891 $as_echo "$as_me: failed program was:" >&5
16892 sed 's/^/| /' conftest.$ac_ext >&5
16893
16894
16895 fi
16896
16897 rm -rf conftest.dSYM
16898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16899 conftest$ac_exeext conftest.$ac_ext
16090 fi
16091 rm -f core conftest.err conftest.$ac_objext \
16092 conftest$ac_exeext conftest.$ac_ext
1690016093 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1690116094
1690216095 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
1690816101 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
1690916102 else
1691016103 # Determine the default libpath from the value encoded in an empty executable.
16911 cat >conftest.$ac_ext <<_ACEOF
16912 /* confdefs.h. */
16913 _ACEOF
16914 cat confdefs.h >>conftest.$ac_ext
16915 cat >>conftest.$ac_ext <<_ACEOF
16104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1691616105 /* end confdefs.h. */
1691716106
1691816107 int
1692316112 return 0;
1692416113 }
1692516114 _ACEOF
16926 rm -f conftest.$ac_objext conftest$ac_exeext
16927 if { (ac_try="$ac_link"
16928 case "(($ac_try" in
16929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16930 *) ac_try_echo=$ac_try;;
16931 esac
16932 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16933 $as_echo "$ac_try_echo") >&5
16934 (eval "$ac_link") 2>conftest.er1
16935 ac_status=$?
16936 grep -v '^ *+' conftest.er1 >conftest.err
16937 rm -f conftest.er1
16938 cat conftest.err >&5
16939 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16940 (exit $ac_status); } && {
16941 test -z "$ac_c_werror_flag" ||
16942 test ! -s conftest.err
16943 } && test -s conftest$ac_exeext && {
16944 test "$cross_compiling" = yes ||
16945 $as_test_x conftest$ac_exeext
16946 }; then
16115 if ac_fn_c_try_link "$LINENO"; then :
1694716116
1694816117 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1694916118 }'`
1695016119 # Check for a 64-bit object if we didn't find anything.
1695116120 if 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; }
1695216121 }'`; fi
16953 else
16954 $as_echo "$as_me: failed program was:" >&5
16955 sed 's/^/| /' conftest.$ac_ext >&5
16956
16957
16958 fi
16959
16960 rm -rf conftest.dSYM
16961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16962 conftest$ac_exeext conftest.$ac_ext
16122 fi
16123 rm -f core conftest.err conftest.$ac_objext \
16124 conftest$ac_exeext conftest.$ac_ext
1696316125 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1696416126
1696516127 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
1740716569 esac
1740816570 fi
1740916571
17410 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GCJ" >&5
1741116573 $as_echo "$ld_shlibs_GCJ" >&6; }
1741216574 test "$ld_shlibs_GCJ" = no && can_build_shared=no
1741316575
1742816590 # Test whether the compiler implicitly links with -lc since on some
1742916591 # systems, -lgcc has to come before -lc. If gcc already passes -lc
1743016592 # to ld, don't add -lc before -lgcc.
17431 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
1743216594 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
1743316595 $rm conftest*
1743416596 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1743516597
17436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16598 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1743716599 (eval $ac_compile) 2>&5
1743816600 ac_status=$?
17439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 (exit $ac_status); } 2>conftest.err; then
16601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16602 test $ac_status = 0; } 2>conftest.err; then
1744116603 soname=conftest
1744216604 lib=conftest
1744316605 libobjs=conftest.$ac_objext
1745116613 libname=conftest
1745216614 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
1745316615 allow_undefined_flag_GCJ=
17454 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16616 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1745516617 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
1745616618 ac_status=$?
17457 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458 (exit $ac_status); }
16619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16620 test $ac_status = 0; }
1745916621 then
1746016622 archive_cmds_need_lc_GCJ=no
1746116623 else
1746616628 cat conftest.err 1>&5
1746716629 fi
1746816630 $rm conftest*
17469 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_GCJ" >&5
1747016632 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
1747116633 ;;
1747216634 esac
1747416636 ;;
1747516637 esac
1747616638
17477 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
1747816640 $as_echo_n "checking dynamic linker characteristics... " >&6; }
1747916641 library_names_spec=
1748016642 libname_spec='lib$name'
1806217224 dynamic_linker=no
1806317225 ;;
1806417226 esac
18065 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
1806617228 $as_echo "$dynamic_linker" >&6; }
1806717229 test "$dynamic_linker" = no && can_build_shared=no
1806817230
1807117233 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1807217234 fi
1807317235
18074 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
1807517237 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1807617238 hardcode_action_GCJ=
1807717239 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
1809617258 # directories.
1809717259 hardcode_action_GCJ=unsupported
1809817260 fi
18099 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GCJ" >&5
1810017262 $as_echo "$hardcode_action_GCJ" >&6; }
1810117263
1810217264 if test "$hardcode_action_GCJ" = relink; then
1900818170 ;;
1900918171
1901018172 *)
19011 { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19012 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19013 { (exit 1); exit 1; }; }
18173 as_fn_error $? "Unsupported tag name: $tagname" "$LINENO" 5
1901418174 ;;
1901518175 esac
1901618176
1902818188 chmod +x "$ofile"
1902918189 else
1903018190 rm -f "${ofile}T"
19031 { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19032 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19033 { (exit 1); exit 1; }; }
18191 as_fn_error $? "unable to update list of available tagged configurations." "$LINENO" 5
1903418192 fi
1903518193 fi
1903618194
1907618234 if test -n "$ac_tool_prefix"; then
1907718235 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1907818236 set dummy ${ac_tool_prefix}gcc; ac_word=$2
19079 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1908018238 $as_echo_n "checking for $ac_word... " >&6; }
19081 if test "${ac_cv_prog_CC+set}" = set; then
18239 if test "${ac_cv_prog_CC+set}" = set; then :
1908218240 $as_echo_n "(cached) " >&6
1908318241 else
1908418242 if test -n "$CC"; then
1908918247 do
1909018248 IFS=$as_save_IFS
1909118249 test -z "$as_dir" && as_dir=.
19092 for ac_exec_ext in '' $ac_executable_extensions; do
18250 for ac_exec_ext in '' $ac_executable_extensions; do
1909318251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1909418252 ac_cv_prog_CC="${ac_tool_prefix}gcc"
19095 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1909618254 break 2
1909718255 fi
1909818256 done
19099 done
18257 done
1910018258 IFS=$as_save_IFS
1910118259
1910218260 fi
1910318261 fi
1910418262 CC=$ac_cv_prog_CC
1910518263 if test -n "$CC"; then
19106 { $as_echo "$as_me:$LINENO: result: $CC" >&5
18264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1910718265 $as_echo "$CC" >&6; }
1910818266 else
19109 { $as_echo "$as_me:$LINENO: result: no" >&5
18267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1911018268 $as_echo "no" >&6; }
1911118269 fi
1911218270
1911618274 ac_ct_CC=$CC
1911718275 # Extract the first word of "gcc", so it can be a program name with args.
1911818276 set dummy gcc; ac_word=$2
19119 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1912018278 $as_echo_n "checking for $ac_word... " >&6; }
19121 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
18279 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1912218280 $as_echo_n "(cached) " >&6
1912318281 else
1912418282 if test -n "$ac_ct_CC"; then
1912918287 do
1913018288 IFS=$as_save_IFS
1913118289 test -z "$as_dir" && as_dir=.
19132 for ac_exec_ext in '' $ac_executable_extensions; do
18290 for ac_exec_ext in '' $ac_executable_extensions; do
1913318291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1913418292 ac_cv_prog_ac_ct_CC="gcc"
19135 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1913618294 break 2
1913718295 fi
1913818296 done
19139 done
18297 done
1914018298 IFS=$as_save_IFS
1914118299
1914218300 fi
1914318301 fi
1914418302 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1914518303 if test -n "$ac_ct_CC"; then
19146 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1914718305 $as_echo "$ac_ct_CC" >&6; }
1914818306 else
19149 { $as_echo "$as_me:$LINENO: result: no" >&5
18307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1915018308 $as_echo "no" >&6; }
1915118309 fi
1915218310
1915518313 else
1915618314 case $cross_compiling:$ac_tool_warned in
1915718315 yes:)
19158 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
18316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1915918317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1916018318 ac_tool_warned=yes ;;
1916118319 esac
1916918327 if test -n "$ac_tool_prefix"; then
1917018328 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1917118329 set dummy ${ac_tool_prefix}cc; ac_word=$2
19172 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1917318331 $as_echo_n "checking for $ac_word... " >&6; }
19174 if test "${ac_cv_prog_CC+set}" = set; then
18332 if test "${ac_cv_prog_CC+set}" = set; then :
1917518333 $as_echo_n "(cached) " >&6
1917618334 else
1917718335 if test -n "$CC"; then
1918218340 do
1918318341 IFS=$as_save_IFS
1918418342 test -z "$as_dir" && as_dir=.
19185 for ac_exec_ext in '' $ac_executable_extensions; do
18343 for ac_exec_ext in '' $ac_executable_extensions; do
1918618344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1918718345 ac_cv_prog_CC="${ac_tool_prefix}cc"
19188 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1918918347 break 2
1919018348 fi
1919118349 done
19192 done
18350 done
1919318351 IFS=$as_save_IFS
1919418352
1919518353 fi
1919618354 fi
1919718355 CC=$ac_cv_prog_CC
1919818356 if test -n "$CC"; then
19199 { $as_echo "$as_me:$LINENO: result: $CC" >&5
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1920018358 $as_echo "$CC" >&6; }
1920118359 else
19202 { $as_echo "$as_me:$LINENO: result: no" >&5
18360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1920318361 $as_echo "no" >&6; }
1920418362 fi
1920518363
1920918367 if test -z "$CC"; then
1921018368 # Extract the first word of "cc", so it can be a program name with args.
1921118369 set dummy cc; ac_word=$2
19212 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1921318371 $as_echo_n "checking for $ac_word... " >&6; }
19214 if test "${ac_cv_prog_CC+set}" = set; then
18372 if test "${ac_cv_prog_CC+set}" = set; then :
1921518373 $as_echo_n "(cached) " >&6
1921618374 else
1921718375 if test -n "$CC"; then
1922318381 do
1922418382 IFS=$as_save_IFS
1922518383 test -z "$as_dir" && as_dir=.
19226 for ac_exec_ext in '' $ac_executable_extensions; do
18384 for ac_exec_ext in '' $ac_executable_extensions; do
1922718385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1922818386 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1922918387 ac_prog_rejected=yes
1923018388 continue
1923118389 fi
1923218390 ac_cv_prog_CC="cc"
19233 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1923418392 break 2
1923518393 fi
1923618394 done
19237 done
18395 done
1923818396 IFS=$as_save_IFS
1923918397
1924018398 if test $ac_prog_rejected = yes; then
1925318411 fi
1925418412 CC=$ac_cv_prog_CC
1925518413 if test -n "$CC"; then
19256 { $as_echo "$as_me:$LINENO: result: $CC" >&5
18414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1925718415 $as_echo "$CC" >&6; }
1925818416 else
19259 { $as_echo "$as_me:$LINENO: result: no" >&5
18417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1926018418 $as_echo "no" >&6; }
1926118419 fi
1926218420
1926818426 do
1926918427 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1927018428 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19271 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1927218430 $as_echo_n "checking for $ac_word... " >&6; }
19273 if test "${ac_cv_prog_CC+set}" = set; then
18431 if test "${ac_cv_prog_CC+set}" = set; then :
1927418432 $as_echo_n "(cached) " >&6
1927518433 else
1927618434 if test -n "$CC"; then
1928118439 do
1928218440 IFS=$as_save_IFS
1928318441 test -z "$as_dir" && as_dir=.
19284 for ac_exec_ext in '' $ac_executable_extensions; do
18442 for ac_exec_ext in '' $ac_executable_extensions; do
1928518443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1928618444 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
19287 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1928818446 break 2
1928918447 fi
1929018448 done
19291 done
18449 done
1929218450 IFS=$as_save_IFS
1929318451
1929418452 fi
1929518453 fi
1929618454 CC=$ac_cv_prog_CC
1929718455 if test -n "$CC"; then
19298 { $as_echo "$as_me:$LINENO: result: $CC" >&5
18456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1929918457 $as_echo "$CC" >&6; }
1930018458 else
19301 { $as_echo "$as_me:$LINENO: result: no" >&5
18459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1930218460 $as_echo "no" >&6; }
1930318461 fi
1930418462
1931218470 do
1931318471 # Extract the first word of "$ac_prog", so it can be a program name with args.
1931418472 set dummy $ac_prog; ac_word=$2
19315 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1931618474 $as_echo_n "checking for $ac_word... " >&6; }
19317 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
18475 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1931818476 $as_echo_n "(cached) " >&6
1931918477 else
1932018478 if test -n "$ac_ct_CC"; then
1932518483 do
1932618484 IFS=$as_save_IFS
1932718485 test -z "$as_dir" && as_dir=.
19328 for ac_exec_ext in '' $ac_executable_extensions; do
18486 for ac_exec_ext in '' $ac_executable_extensions; do
1932918487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1933018488 ac_cv_prog_ac_ct_CC="$ac_prog"
19331 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1933218490 break 2
1933318491 fi
1933418492 done
19335 done
18493 done
1933618494 IFS=$as_save_IFS
1933718495
1933818496 fi
1933918497 fi
1934018498 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1934118499 if test -n "$ac_ct_CC"; then
19342 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
18500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1934318501 $as_echo "$ac_ct_CC" >&6; }
1934418502 else
19345 { $as_echo "$as_me:$LINENO: result: no" >&5
18503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1934618504 $as_echo "no" >&6; }
1934718505 fi
1934818506
1935518513 else
1935618514 case $cross_compiling:$ac_tool_warned in
1935718515 yes:)
19358 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
18516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1935918517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1936018518 ac_tool_warned=yes ;;
1936118519 esac
1936618524 fi
1936718525
1936818526
19369 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18527 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1937018528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19371 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
19372 See \`config.log' for more details." >&5
19373 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
19374 See \`config.log' for more details." >&2;}
19375 { (exit 1); exit 1; }; }; }
18529 as_fn_error $? "no acceptable C compiler found in \$PATH
18530 See \`config.log' for more details" "$LINENO" 5 ; }
1937618531
1937718532 # Provide some information about the compiler.
19378 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
18533 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
1937918534 set X $ac_compile
1938018535 ac_compiler=$2
19381 { (ac_try="$ac_compiler --version >&5"
18536 for ac_option in --version -v -V -qversion; do
18537 { { ac_try="$ac_compiler $ac_option >&5"
1938218538 case "(($ac_try" in
1938318539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1938418540 *) ac_try_echo=$ac_try;;
1938518541 esac
19386 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19387 $as_echo "$ac_try_echo") >&5
19388 (eval "$ac_compiler --version >&5") 2>&5
18542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18543 $as_echo "$ac_try_echo"; } >&5
18544 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1938918545 ac_status=$?
19390 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19391 (exit $ac_status); }
19392 { (ac_try="$ac_compiler -v >&5"
19393 case "(($ac_try" in
19394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19395 *) ac_try_echo=$ac_try;;
19396 esac
19397 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19398 $as_echo "$ac_try_echo") >&5
19399 (eval "$ac_compiler -v >&5") 2>&5
19400 ac_status=$?
19401 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); }
19403 { (ac_try="$ac_compiler -V >&5"
19404 case "(($ac_try" in
19405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19406 *) ac_try_echo=$ac_try;;
19407 esac
19408 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19409 $as_echo "$ac_try_echo") >&5
19410 (eval "$ac_compiler -V >&5") 2>&5
19411 ac_status=$?
19412 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19413 (exit $ac_status); }
19414
19415 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
18546 if test -s conftest.err; then
18547 sed '10a\
18548 ... rest of stderr output deleted ...
18549 10q' conftest.err >conftest.er1
18550 cat conftest.er1 >&5
18551 fi
18552 rm -f conftest.er1 conftest.err
18553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18554 test $ac_status = 0; }
18555 done
18556
18557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
1941618558 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
19417 if test "${ac_cv_c_compiler_gnu+set}" = set; then
18559 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
1941818560 $as_echo_n "(cached) " >&6
1941918561 else
19420 cat >conftest.$ac_ext <<_ACEOF
19421 /* confdefs.h. */
19422 _ACEOF
19423 cat confdefs.h >>conftest.$ac_ext
19424 cat >>conftest.$ac_ext <<_ACEOF
18562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1942518563 /* end confdefs.h. */
1942618564
1942718565 int
1943518573 return 0;
1943618574 }
1943718575 _ACEOF
19438 rm -f conftest.$ac_objext
19439 if { (ac_try="$ac_compile"
19440 case "(($ac_try" in
19441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19442 *) ac_try_echo=$ac_try;;
19443 esac
19444 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19445 $as_echo "$ac_try_echo") >&5
19446 (eval "$ac_compile") 2>conftest.er1
19447 ac_status=$?
19448 grep -v '^ *+' conftest.er1 >conftest.err
19449 rm -f conftest.er1
19450 cat conftest.err >&5
19451 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19452 (exit $ac_status); } && {
19453 test -z "$ac_c_werror_flag" ||
19454 test ! -s conftest.err
19455 } && test -s conftest.$ac_objext; then
18576 if ac_fn_c_try_compile "$LINENO"; then :
1945618577 ac_compiler_gnu=yes
1945718578 else
19458 $as_echo "$as_me: failed program was:" >&5
19459 sed 's/^/| /' conftest.$ac_ext >&5
19460
19461 ac_compiler_gnu=no
19462 fi
19463
18579 ac_compiler_gnu=no
18580 fi
1946418581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1946518582 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1946618583
1946718584 fi
19468 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
18585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
1946918586 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
1947018587 if test $ac_compiler_gnu = yes; then
1947118588 GCC=yes
1947418591 fi
1947518592 ac_test_CFLAGS=${CFLAGS+set}
1947618593 ac_save_CFLAGS=$CFLAGS
19477 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
1947818595 $as_echo_n "checking whether $CC accepts -g... " >&6; }
19479 if test "${ac_cv_prog_cc_g+set}" = set; then
18596 if test "${ac_cv_prog_cc_g+set}" = set; then :
1948018597 $as_echo_n "(cached) " >&6
1948118598 else
1948218599 ac_save_c_werror_flag=$ac_c_werror_flag
1948318600 ac_c_werror_flag=yes
1948418601 ac_cv_prog_cc_g=no
1948518602 CFLAGS="-g"
19486 cat >conftest.$ac_ext <<_ACEOF
19487 /* confdefs.h. */
19488 _ACEOF
19489 cat confdefs.h >>conftest.$ac_ext
19490 cat >>conftest.$ac_ext <<_ACEOF
18603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1949118604 /* end confdefs.h. */
1949218605
1949318606 int
1949818611 return 0;
1949918612 }
1950018613 _ACEOF
19501 rm -f conftest.$ac_objext
19502 if { (ac_try="$ac_compile"
19503 case "(($ac_try" in
19504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19505 *) ac_try_echo=$ac_try;;
19506 esac
19507 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19508 $as_echo "$ac_try_echo") >&5
19509 (eval "$ac_compile") 2>conftest.er1
19510 ac_status=$?
19511 grep -v '^ *+' conftest.er1 >conftest.err
19512 rm -f conftest.er1
19513 cat conftest.err >&5
19514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515 (exit $ac_status); } && {
19516 test -z "$ac_c_werror_flag" ||
19517 test ! -s conftest.err
19518 } && test -s conftest.$ac_objext; then
18614 if ac_fn_c_try_compile "$LINENO"; then :
1951918615 ac_cv_prog_cc_g=yes
1952018616 else
19521 $as_echo "$as_me: failed program was:" >&5
19522 sed 's/^/| /' conftest.$ac_ext >&5
19523
19524 CFLAGS=""
19525 cat >conftest.$ac_ext <<_ACEOF
19526 /* confdefs.h. */
19527 _ACEOF
19528 cat confdefs.h >>conftest.$ac_ext
19529 cat >>conftest.$ac_ext <<_ACEOF
18617 CFLAGS=""
18618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1953018619 /* end confdefs.h. */
1953118620
1953218621 int
1953718626 return 0;
1953818627 }
1953918628 _ACEOF
19540 rm -f conftest.$ac_objext
19541 if { (ac_try="$ac_compile"
19542 case "(($ac_try" in
19543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19544 *) ac_try_echo=$ac_try;;
19545 esac
19546 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19547 $as_echo "$ac_try_echo") >&5
19548 (eval "$ac_compile") 2>conftest.er1
19549 ac_status=$?
19550 grep -v '^ *+' conftest.er1 >conftest.err
19551 rm -f conftest.er1
19552 cat conftest.err >&5
19553 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19554 (exit $ac_status); } && {
19555 test -z "$ac_c_werror_flag" ||
19556 test ! -s conftest.err
19557 } && test -s conftest.$ac_objext; then
19558 :
19559 else
19560 $as_echo "$as_me: failed program was:" >&5
19561 sed 's/^/| /' conftest.$ac_ext >&5
19562
19563 ac_c_werror_flag=$ac_save_c_werror_flag
18629 if ac_fn_c_try_compile "$LINENO"; then :
18630
18631 else
18632 ac_c_werror_flag=$ac_save_c_werror_flag
1956418633 CFLAGS="-g"
19565 cat >conftest.$ac_ext <<_ACEOF
19566 /* confdefs.h. */
19567 _ACEOF
19568 cat confdefs.h >>conftest.$ac_ext
19569 cat >>conftest.$ac_ext <<_ACEOF
18634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1957018635 /* end confdefs.h. */
1957118636
1957218637 int
1957718642 return 0;
1957818643 }
1957918644 _ACEOF
19580 rm -f conftest.$ac_objext
19581 if { (ac_try="$ac_compile"
19582 case "(($ac_try" in
19583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19584 *) ac_try_echo=$ac_try;;
19585 esac
19586 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19587 $as_echo "$ac_try_echo") >&5
19588 (eval "$ac_compile") 2>conftest.er1
19589 ac_status=$?
19590 grep -v '^ *+' conftest.er1 >conftest.err
19591 rm -f conftest.er1
19592 cat conftest.err >&5
19593 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19594 (exit $ac_status); } && {
19595 test -z "$ac_c_werror_flag" ||
19596 test ! -s conftest.err
19597 } && test -s conftest.$ac_objext; then
18645 if ac_fn_c_try_compile "$LINENO"; then :
1959818646 ac_cv_prog_cc_g=yes
19599 else
19600 $as_echo "$as_me: failed program was:" >&5
19601 sed 's/^/| /' conftest.$ac_ext >&5
19602
19603
19604 fi
19605
18647 fi
1960618648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1960718649 fi
19608
1960918650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1961018651 fi
19611
1961218652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1961318653 ac_c_werror_flag=$ac_save_c_werror_flag
1961418654 fi
19615 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
1961618656 $as_echo "$ac_cv_prog_cc_g" >&6; }
1961718657 if test "$ac_test_CFLAGS" = set; then
1961818658 CFLAGS=$ac_save_CFLAGS
1962918669 CFLAGS=
1963018670 fi
1963118671 fi
19632 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
1963318673 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
19634 if test "${ac_cv_prog_cc_c89+set}" = set; then
18674 if test "${ac_cv_prog_cc_c89+set}" = set; then :
1963518675 $as_echo_n "(cached) " >&6
1963618676 else
1963718677 ac_cv_prog_cc_c89=no
1963818678 ac_save_CC=$CC
19639 cat >conftest.$ac_ext <<_ACEOF
19640 /* confdefs.h. */
19641 _ACEOF
19642 cat confdefs.h >>conftest.$ac_ext
19643 cat >>conftest.$ac_ext <<_ACEOF
18679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1964418680 /* end confdefs.h. */
1964518681 #include <stdarg.h>
1964618682 #include <stdio.h>
1969718733 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1969818734 do
1969918735 CC="$ac_save_CC $ac_arg"
19700 rm -f conftest.$ac_objext
19701 if { (ac_try="$ac_compile"
19702 case "(($ac_try" in
19703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19704 *) ac_try_echo=$ac_try;;
19705 esac
19706 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19707 $as_echo "$ac_try_echo") >&5
19708 (eval "$ac_compile") 2>conftest.er1
19709 ac_status=$?
19710 grep -v '^ *+' conftest.er1 >conftest.err
19711 rm -f conftest.er1
19712 cat conftest.err >&5
19713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714 (exit $ac_status); } && {
19715 test -z "$ac_c_werror_flag" ||
19716 test ! -s conftest.err
19717 } && test -s conftest.$ac_objext; then
18736 if ac_fn_c_try_compile "$LINENO"; then :
1971818737 ac_cv_prog_cc_c89=$ac_arg
19719 else
19720 $as_echo "$as_me: failed program was:" >&5
19721 sed 's/^/| /' conftest.$ac_ext >&5
19722
19723
19724 fi
19725
19726 rm -f core conftest.err conftest.$ac_objext
18738 fi
18739 rm -f core conftest.err conftest.$ac_objext
1972718740 test "x$ac_cv_prog_cc_c89" != "xno" && break
1972818741 done
1972918742 rm -f conftest.$ac_ext
1973318746 # AC_CACHE_VAL
1973418747 case "x$ac_cv_prog_cc_c89" in
1973518748 x)
19736 { $as_echo "$as_me:$LINENO: result: none needed" >&5
18749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
1973718750 $as_echo "none needed" >&6; } ;;
1973818751 xno)
19739 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
18752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
1974018753 $as_echo "unsupported" >&6; } ;;
1974118754 *)
1974218755 CC="$CC $ac_cv_prog_cc_c89"
19743 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
18756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
1974418757 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1974518758 esac
19746
18759 if test "x$ac_cv_prog_cc_c89" != xno; then :
18760
18761 fi
1974718762
1974818763 ac_ext=c
1974918764 ac_cpp='$CPP $CPPFLAGS'
1976518780 # OS/2's system install, which has a completely different semantic
1976618781 # ./install, which can be erroneously created by make from ./install.sh.
1976718782 # Reject install programs that cannot install multiple files.
19768 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
18783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1976918784 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1977018785 if test -z "$INSTALL"; then
19771 if test "${ac_cv_path_install+set}" = set; then
18786 if test "${ac_cv_path_install+set}" = set; then :
1977218787 $as_echo_n "(cached) " >&6
1977318788 else
1977418789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1977618791 do
1977718792 IFS=$as_save_IFS
1977818793 test -z "$as_dir" && as_dir=.
19779 # Account for people who put trailing slashes in PATH elements.
19780 case $as_dir/ in
19781 ./ | .// | /cC/* | \
18794 # Account for people who put trailing slashes in PATH elements.
18795 case $as_dir/ in @%:@((
18796 ./ | .// | /[cC]/* | \
1978218797 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19783 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
18798 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1978418799 /usr/ucb/* ) ;;
1978518800 *)
1978618801 # OSF1 and SCO ODT 3.0 have their own names for install.
1981718832 ;;
1981818833 esac
1981918834
19820 done
18835 done
1982118836 IFS=$as_save_IFS
1982218837
1982318838 rm -rf conftest.one conftest.two conftest.dir
1983318848 INSTALL=$ac_install_sh
1983418849 fi
1983518850 fi
19836 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
18851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1983718852 $as_echo "$INSTALL" >&6; }
1983818853
1983918854 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1984818863 if test "$GCC" = yes ; then
1984918864 OLDCFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wstrict-prototypes"
1985018865 CFLAGS="$OLDCFLAGS -fexceptions"
19851 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -fexceptions" >&5
18866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -fexceptions" >&5
1985218867 $as_echo_n "checking whether $CC accepts -fexceptions... " >&6; }
19853 cat >conftest.$ac_ext <<_ACEOF
19854 /* confdefs.h. */
19855 _ACEOF
19856 cat confdefs.h >>conftest.$ac_ext
19857 cat >>conftest.$ac_ext <<_ACEOF
18868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1985818869 /* end confdefs.h. */
1985918870
1986018871 int
1986518876 return 0;
1986618877 }
1986718878 _ACEOF
19868 rm -f conftest.$ac_objext conftest$ac_exeext
19869 if { (ac_try="$ac_link"
19870 case "(($ac_try" in
19871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19872 *) ac_try_echo=$ac_try;;
19873 esac
19874 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19875 $as_echo "$ac_try_echo") >&5
19876 (eval "$ac_link") 2>conftest.er1
19877 ac_status=$?
19878 grep -v '^ *+' conftest.er1 >conftest.err
19879 rm -f conftest.er1
19880 cat conftest.err >&5
19881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19882 (exit $ac_status); } && {
19883 test -z "$ac_c_werror_flag" ||
19884 test ! -s conftest.err
19885 } && test -s conftest$ac_exeext && {
19886 test "$cross_compiling" = yes ||
19887 $as_test_x conftest$ac_exeext
19888 }; then
19889 { $as_echo "$as_me:$LINENO: result: yes" >&5
18879 if ac_fn_c_try_link "$LINENO"; then :
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1989018881 $as_echo "yes" >&6; }
1989118882 else
19892 $as_echo "$as_me: failed program was:" >&5
19893 sed 's/^/| /' conftest.$ac_ext >&5
19894
19895 { $as_echo "$as_me:$LINENO: result: no" >&5
18883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1989618884 $as_echo "no" >&6; }; CFLAGS="$OLDCFLAGS"
1989718885 fi
19898
19899 rm -rf conftest.dSYM
19900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19901 conftest$ac_exeext conftest.$ac_ext
18886 rm -f core conftest.err conftest.$ac_objext \
18887 conftest$ac_exeext conftest.$ac_ext
1990218888 CXXFLAGS=`echo "$CFLAGS" | sed 's/ -Wmissing-prototypes -Wstrict-prototypes//'`
1990318889 fi
1990418890
19905 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
1990618892 $as_echo_n "checking for ANSI C header files... " >&6; }
19907 if test "${ac_cv_header_stdc+set}" = set; then
18893 if test "${ac_cv_header_stdc+set}" = set; then :
1990818894 $as_echo_n "(cached) " >&6
1990918895 else
19910 cat >conftest.$ac_ext <<_ACEOF
19911 /* confdefs.h. */
19912 _ACEOF
19913 cat confdefs.h >>conftest.$ac_ext
19914 cat >>conftest.$ac_ext <<_ACEOF
18896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1991518897 /* end confdefs.h. */
1991618898 #include <stdlib.h>
1991718899 #include <stdarg.h>
1992618908 return 0;
1992718909 }
1992818910 _ACEOF
19929 rm -f conftest.$ac_objext
19930 if { (ac_try="$ac_compile"
19931 case "(($ac_try" in
19932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19933 *) ac_try_echo=$ac_try;;
19934 esac
19935 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19936 $as_echo "$ac_try_echo") >&5
19937 (eval "$ac_compile") 2>conftest.er1
19938 ac_status=$?
19939 grep -v '^ *+' conftest.er1 >conftest.err
19940 rm -f conftest.er1
19941 cat conftest.err >&5
19942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19943 (exit $ac_status); } && {
19944 test -z "$ac_c_werror_flag" ||
19945 test ! -s conftest.err
19946 } && test -s conftest.$ac_objext; then
18911 if ac_fn_c_try_compile "$LINENO"; then :
1994718912 ac_cv_header_stdc=yes
1994818913 else
19949 $as_echo "$as_me: failed program was:" >&5
19950 sed 's/^/| /' conftest.$ac_ext >&5
19951
19952 ac_cv_header_stdc=no
19953 fi
19954
18914 ac_cv_header_stdc=no
18915 fi
1995518916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1995618917
1995718918 if test $ac_cv_header_stdc = yes; then
1995818919 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19959 cat >conftest.$ac_ext <<_ACEOF
19960 /* confdefs.h. */
19961 _ACEOF
19962 cat confdefs.h >>conftest.$ac_ext
19963 cat >>conftest.$ac_ext <<_ACEOF
18920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1996418921 /* end confdefs.h. */
1996518922 #include <string.h>
1996618923
1996718924 _ACEOF
1996818925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19969 $EGREP "memchr" >/dev/null 2>&1; then
19970 :
18926 $EGREP "memchr" >/dev/null 2>&1; then :
18927
1997118928 else
1997218929 ac_cv_header_stdc=no
1997318930 fi
1997718934
1997818935 if test $ac_cv_header_stdc = yes; then
1997918936 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19980 cat >conftest.$ac_ext <<_ACEOF
19981 /* confdefs.h. */
19982 _ACEOF
19983 cat confdefs.h >>conftest.$ac_ext
19984 cat >>conftest.$ac_ext <<_ACEOF
18937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1998518938 /* end confdefs.h. */
1998618939 #include <stdlib.h>
1998718940
1998818941 _ACEOF
1998918942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19990 $EGREP "free" >/dev/null 2>&1; then
19991 :
18943 $EGREP "free" >/dev/null 2>&1; then :
18944
1999218945 else
1999318946 ac_cv_header_stdc=no
1999418947 fi
1999818951
1999918952 if test $ac_cv_header_stdc = yes; then
2000018953 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20001 if test "$cross_compiling" = yes; then
18954 if test "$cross_compiling" = yes; then :
2000218955 :
2000318956 else
20004 cat >conftest.$ac_ext <<_ACEOF
20005 /* confdefs.h. */
20006 _ACEOF
20007 cat confdefs.h >>conftest.$ac_ext
20008 cat >>conftest.$ac_ext <<_ACEOF
18957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2000918958 /* end confdefs.h. */
2001018959 #include <ctype.h>
2001118960 #include <stdlib.h>
2003218981 return 0;
2003318982 }
2003418983 _ACEOF
20035 rm -f conftest$ac_exeext
20036 if { (ac_try="$ac_link"
20037 case "(($ac_try" in
20038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20039 *) ac_try_echo=$ac_try;;
20040 esac
20041 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20042 $as_echo "$ac_try_echo") >&5
20043 (eval "$ac_link") 2>&5
20044 ac_status=$?
20045 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20046 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20047 { (case "(($ac_try" in
20048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20049 *) ac_try_echo=$ac_try;;
20050 esac
20051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20052 $as_echo "$ac_try_echo") >&5
20053 (eval "$ac_try") 2>&5
20054 ac_status=$?
20055 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056 (exit $ac_status); }; }; then
20057 :
20058 else
20059 $as_echo "$as_me: program exited with status $ac_status" >&5
20060 $as_echo "$as_me: failed program was:" >&5
20061 sed 's/^/| /' conftest.$ac_ext >&5
20062
20063 ( exit $ac_status )
20064 ac_cv_header_stdc=no
20065 fi
20066 rm -rf conftest.dSYM
20067 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20068 fi
20069
20070
20071 fi
20072 fi
20073 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18984 if ac_fn_c_try_run "$LINENO"; then :
18985
18986 else
18987 ac_cv_header_stdc=no
18988 fi
18989 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18990 conftest.$ac_objext conftest.beam conftest.$ac_ext
18991 fi
18992
18993 fi
18994 fi
18995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
2007418996 $as_echo "$ac_cv_header_stdc" >&6; }
2007518997 if test $ac_cv_header_stdc = yes; then
2007618998
20077 cat >>confdefs.h <<\_ACEOF
20078 @%:@define STDC_HEADERS 1
18999 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
19000
19001 fi
19002
19003
19004 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
19005 if test "x$ac_cv_header_sys_mman_h" = x""yes; then :
19006 CFLAGS="$CFLAGS -D HAVE_MMAP"
19007 fi
19008
19009
19010
19011 @%:@ Check whether --with-with_zlib was given.
19012 if test "${with_with_zlib+set}" = set; then :
19013 withval=$with_with_zlib;
19014 fi
19015
19016 if test "x$with_zlib" != xno ; then
19017 for ac_header in zlib.h
19018 do :
19019 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
19020 if test "x$ac_cv_header_zlib_h" = x""yes; then :
19021 cat >>confdefs.h <<_ACEOF
19022 @%:@define HAVE_ZLIB_H 1
2007919023 _ACEOF
20080
20081 fi
20082
20083
20084 if test "${ac_cv_header_sys_mman_h+set}" = set; then
20085 { $as_echo "$as_me:$LINENO: checking for sys/mman.h" >&5
20086 $as_echo_n "checking for sys/mman.h... " >&6; }
20087 if test "${ac_cv_header_sys_mman_h+set}" = set; then
20088 $as_echo_n "(cached) " >&6
20089 fi
20090 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_mman_h" >&5
20091 $as_echo "$ac_cv_header_sys_mman_h" >&6; }
20092 else
20093 # Is the header compilable?
20094 { $as_echo "$as_me:$LINENO: checking sys/mman.h usability" >&5
20095 $as_echo_n "checking sys/mman.h usability... " >&6; }
20096 cat >conftest.$ac_ext <<_ACEOF
20097 /* confdefs.h. */
20098 _ACEOF
20099 cat confdefs.h >>conftest.$ac_ext
20100 cat >>conftest.$ac_ext <<_ACEOF
20101 /* end confdefs.h. */
20102 $ac_includes_default
20103 @%:@include <sys/mman.h>
20104 _ACEOF
20105 rm -f conftest.$ac_objext
20106 if { (ac_try="$ac_compile"
20107 case "(($ac_try" in
20108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20109 *) ac_try_echo=$ac_try;;
20110 esac
20111 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20112 $as_echo "$ac_try_echo") >&5
20113 (eval "$ac_compile") 2>conftest.er1
20114 ac_status=$?
20115 grep -v '^ *+' conftest.er1 >conftest.err
20116 rm -f conftest.er1
20117 cat conftest.err >&5
20118 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20119 (exit $ac_status); } && {
20120 test -z "$ac_c_werror_flag" ||
20121 test ! -s conftest.err
20122 } && test -s conftest.$ac_objext; then
20123 ac_header_compiler=yes
20124 else
20125 $as_echo "$as_me: failed program was:" >&5
20126 sed 's/^/| /' conftest.$ac_ext >&5
20127
20128 ac_header_compiler=no
20129 fi
20130
20131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20132 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20133 $as_echo "$ac_header_compiler" >&6; }
20134
20135 # Is the header present?
20136 { $as_echo "$as_me:$LINENO: checking sys/mman.h presence" >&5
20137 $as_echo_n "checking sys/mman.h presence... " >&6; }
20138 cat >conftest.$ac_ext <<_ACEOF
20139 /* confdefs.h. */
20140 _ACEOF
20141 cat confdefs.h >>conftest.$ac_ext
20142 cat >>conftest.$ac_ext <<_ACEOF
20143 /* end confdefs.h. */
20144 @%:@include <sys/mman.h>
20145 _ACEOF
20146 if { (ac_try="$ac_cpp conftest.$ac_ext"
20147 case "(($ac_try" in
20148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20149 *) ac_try_echo=$ac_try;;
20150 esac
20151 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20152 $as_echo "$ac_try_echo") >&5
20153 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20154 ac_status=$?
20155 grep -v '^ *+' conftest.er1 >conftest.err
20156 rm -f conftest.er1
20157 cat conftest.err >&5
20158 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20159 (exit $ac_status); } >/dev/null && {
20160 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20161 test ! -s conftest.err
20162 }; then
20163 ac_header_preproc=yes
20164 else
20165 $as_echo "$as_me: failed program was:" >&5
20166 sed 's/^/| /' conftest.$ac_ext >&5
20167
20168 ac_header_preproc=no
20169 fi
20170
20171 rm -f conftest.err conftest.$ac_ext
20172 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20173 $as_echo "$ac_header_preproc" >&6; }
20174
20175 # So? What about this header?
20176 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20177 yes:no: )
20178 { $as_echo "$as_me:$LINENO: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor!" >&5
20179 $as_echo "$as_me: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20180 { $as_echo "$as_me:$LINENO: WARNING: sys/mman.h: proceeding with the compiler's result" >&5
20181 $as_echo "$as_me: WARNING: sys/mman.h: proceeding with the compiler's result" >&2;}
20182 ac_header_preproc=yes
20183 ;;
20184 no:yes:* )
20185 { $as_echo "$as_me:$LINENO: WARNING: sys/mman.h: present but cannot be compiled" >&5
20186 $as_echo "$as_me: WARNING: sys/mman.h: present but cannot be compiled" >&2;}
20187 { $as_echo "$as_me:$LINENO: WARNING: sys/mman.h: check for missing prerequisite headers?" >&5
20188 $as_echo "$as_me: WARNING: sys/mman.h: check for missing prerequisite headers?" >&2;}
20189 { $as_echo "$as_me:$LINENO: WARNING: sys/mman.h: see the Autoconf documentation" >&5
20190 $as_echo "$as_me: WARNING: sys/mman.h: see the Autoconf documentation" >&2;}
20191 { $as_echo "$as_me:$LINENO: WARNING: sys/mman.h: section \"Present But Cannot Be Compiled\"" >&5
20192 $as_echo "$as_me: WARNING: sys/mman.h: section \"Present But Cannot Be Compiled\"" >&2;}
20193 { $as_echo "$as_me:$LINENO: WARNING: sys/mman.h: proceeding with the preprocessor's result" >&5
20194 $as_echo "$as_me: WARNING: sys/mman.h: proceeding with the preprocessor's result" >&2;}
20195 { $as_echo "$as_me:$LINENO: WARNING: sys/mman.h: in the future, the compiler will take precedence" >&5
20196 $as_echo "$as_me: WARNING: sys/mman.h: in the future, the compiler will take precedence" >&2;}
20197 ( cat <<\_ASBOX
20198 @%:@@%:@ -------------------------------------------- @%:@@%:@
20199 @%:@@%:@ Report this to http://uncensored.citadel.org @%:@@%:@
20200 @%:@@%:@ -------------------------------------------- @%:@@%:@
20201 _ASBOX
20202 ) | sed "s/^/$as_me: WARNING: /" >&2
20203 ;;
20204 esac
20205 { $as_echo "$as_me:$LINENO: checking for sys/mman.h" >&5
20206 $as_echo_n "checking for sys/mman.h... " >&6; }
20207 if test "${ac_cv_header_sys_mman_h+set}" = set; then
20208 $as_echo_n "(cached) " >&6
20209 else
20210 ac_cv_header_sys_mman_h=$ac_header_preproc
20211 fi
20212 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_mman_h" >&5
20213 $as_echo "$ac_cv_header_sys_mman_h" >&6; }
20214
20215 fi
20216 if test "x$ac_cv_header_sys_mman_h" = x""yes; then
20217 CFLAGS="$CFLAGS -D HAVE_MMAP"
20218 fi
20219
20220
20221
20222 @%:@ Check whether --with-with_zlib was given.
20223 if test "${with_with_zlib+set}" = set; then
20224 withval=$with_with_zlib;
20225 fi
20226
20227 if test "x$with_zlib" != xno ; then
20228
20229 for ac_header in zlib.h
20230 do
20231 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20232 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20233 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20234 $as_echo_n "checking for $ac_header... " >&6; }
20235 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20236 $as_echo_n "(cached) " >&6
20237 fi
20238 ac_res=`eval 'as_val=${'$as_ac_Header'}
20239 $as_echo "$as_val"'`
20240 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20241 $as_echo "$ac_res" >&6; }
20242 else
20243 # Is the header compilable?
20244 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
20245 $as_echo_n "checking $ac_header usability... " >&6; }
20246 cat >conftest.$ac_ext <<_ACEOF
20247 /* confdefs.h. */
20248 _ACEOF
20249 cat confdefs.h >>conftest.$ac_ext
20250 cat >>conftest.$ac_ext <<_ACEOF
20251 /* end confdefs.h. */
20252 $ac_includes_default
20253 @%:@include <$ac_header>
20254 _ACEOF
20255 rm -f conftest.$ac_objext
20256 if { (ac_try="$ac_compile"
20257 case "(($ac_try" in
20258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20259 *) ac_try_echo=$ac_try;;
20260 esac
20261 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20262 $as_echo "$ac_try_echo") >&5
20263 (eval "$ac_compile") 2>conftest.er1
20264 ac_status=$?
20265 grep -v '^ *+' conftest.er1 >conftest.err
20266 rm -f conftest.er1
20267 cat conftest.err >&5
20268 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20269 (exit $ac_status); } && {
20270 test -z "$ac_c_werror_flag" ||
20271 test ! -s conftest.err
20272 } && test -s conftest.$ac_objext; then
20273 ac_header_compiler=yes
20274 else
20275 $as_echo "$as_me: failed program was:" >&5
20276 sed 's/^/| /' conftest.$ac_ext >&5
20277
20278 ac_header_compiler=no
20279 fi
20280
20281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20282 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20283 $as_echo "$ac_header_compiler" >&6; }
20284
20285 # Is the header present?
20286 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
20287 $as_echo_n "checking $ac_header presence... " >&6; }
20288 cat >conftest.$ac_ext <<_ACEOF
20289 /* confdefs.h. */
20290 _ACEOF
20291 cat confdefs.h >>conftest.$ac_ext
20292 cat >>conftest.$ac_ext <<_ACEOF
20293 /* end confdefs.h. */
20294 @%:@include <$ac_header>
20295 _ACEOF
20296 if { (ac_try="$ac_cpp conftest.$ac_ext"
20297 case "(($ac_try" in
20298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20299 *) ac_try_echo=$ac_try;;
20300 esac
20301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20302 $as_echo "$ac_try_echo") >&5
20303 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20304 ac_status=$?
20305 grep -v '^ *+' conftest.er1 >conftest.err
20306 rm -f conftest.er1
20307 cat conftest.err >&5
20308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20309 (exit $ac_status); } >/dev/null && {
20310 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20311 test ! -s conftest.err
20312 }; then
20313 ac_header_preproc=yes
20314 else
20315 $as_echo "$as_me: failed program was:" >&5
20316 sed 's/^/| /' conftest.$ac_ext >&5
20317
20318 ac_header_preproc=no
20319 fi
20320
20321 rm -f conftest.err conftest.$ac_ext
20322 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20323 $as_echo "$ac_header_preproc" >&6; }
20324
20325 # So? What about this header?
20326 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20327 yes:no: )
20328 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20329 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20330 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20331 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20332 ac_header_preproc=yes
20333 ;;
20334 no:yes:* )
20335 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20336 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20337 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20338 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20339 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20340 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20341 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20342 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20343 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20344 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20345 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20346 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20347 ( cat <<\_ASBOX
20348 @%:@@%:@ -------------------------------------------- @%:@@%:@
20349 @%:@@%:@ Report this to http://uncensored.citadel.org @%:@@%:@
20350 @%:@@%:@ -------------------------------------------- @%:@@%:@
20351 _ASBOX
20352 ) | sed "s/^/$as_me: WARNING: /" >&2
20353 ;;
20354 esac
20355 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20356 $as_echo_n "checking for $ac_header... " >&6; }
20357 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20358 $as_echo_n "(cached) " >&6
20359 else
20360 eval "$as_ac_Header=\$ac_header_preproc"
20361 fi
20362 ac_res=`eval 'as_val=${'$as_ac_Header'}
20363 $as_echo "$as_val"'`
20364 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20365 $as_echo "$ac_res" >&6; }
20366
20367 fi
20368 as_val=`eval 'as_val=${'$as_ac_Header'}
20369 $as_echo "$as_val"'`
20370 if test "x$as_val" = x""yes; then
20371 cat >>confdefs.h <<_ACEOF
20372 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20373 _ACEOF
20374 { $as_echo "$as_me:$LINENO: checking for zlibVersion in -lz" >&5
19024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
2037519025 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
20376 if test "${ac_cv_lib_z_zlibVersion+set}" = set; then
19026 if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
2037719027 $as_echo_n "(cached) " >&6
2037819028 else
2037919029 ac_check_lib_save_LIBS=$LIBS
2038019030 LIBS="-lz $LIBS"
20381 cat >conftest.$ac_ext <<_ACEOF
20382 /* confdefs.h. */
20383 _ACEOF
20384 cat confdefs.h >>conftest.$ac_ext
20385 cat >>conftest.$ac_ext <<_ACEOF
19031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2038619032 /* end confdefs.h. */
2038719033
2038819034 /* Override any GCC internal prototype to avoid an error.
2040019046 return 0;
2040119047 }
2040219048 _ACEOF
20403 rm -f conftest.$ac_objext conftest$ac_exeext
20404 if { (ac_try="$ac_link"
20405 case "(($ac_try" in
20406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20407 *) ac_try_echo=$ac_try;;
20408 esac
20409 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20410 $as_echo "$ac_try_echo") >&5
20411 (eval "$ac_link") 2>conftest.er1
20412 ac_status=$?
20413 grep -v '^ *+' conftest.er1 >conftest.err
20414 rm -f conftest.er1
20415 cat conftest.err >&5
20416 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); } && {
20418 test -z "$ac_c_werror_flag" ||
20419 test ! -s conftest.err
20420 } && test -s conftest$ac_exeext && {
20421 test "$cross_compiling" = yes ||
20422 $as_test_x conftest$ac_exeext
20423 }; then
19049 if ac_fn_c_try_link "$LINENO"; then :
2042419050 ac_cv_lib_z_zlibVersion=yes
2042519051 else
20426 $as_echo "$as_me: failed program was:" >&5
20427 sed 's/^/| /' conftest.$ac_ext >&5
20428
20429 ac_cv_lib_z_zlibVersion=no
20430 fi
20431
20432 rm -rf conftest.dSYM
20433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20434 conftest$ac_exeext conftest.$ac_ext
19052 ac_cv_lib_z_zlibVersion=no
19053 fi
19054 rm -f core conftest.err conftest.$ac_objext \
19055 conftest$ac_exeext conftest.$ac_ext
2043519056 LIBS=$ac_check_lib_save_LIBS
2043619057 fi
20437 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_zlibVersion" >&5
19058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
2043819059 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
20439 if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then
19060 if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
2044019061 ok_zlib=yes
2044119062 fi
2044219063
2044919070 if test "x$ok_zlib" = xyes ; then
2045019071 LIBS="-lz $LIBS"
2045119072
20452 cat >>confdefs.h <<\_ACEOF
20453 @%:@define HAVE_ZLIB /**/
20454 _ACEOF
20455
20456 fi
20457
20458 if test "${ac_cv_header_CUnit_CUnit_h+set}" = set; then
20459 { $as_echo "$as_me:$LINENO: checking for CUnit/CUnit.h" >&5
20460 $as_echo_n "checking for CUnit/CUnit.h... " >&6; }
20461 if test "${ac_cv_header_CUnit_CUnit_h+set}" = set; then
20462 $as_echo_n "(cached) " >&6
20463 fi
20464 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_CUnit_CUnit_h" >&5
20465 $as_echo "$ac_cv_header_CUnit_CUnit_h" >&6; }
20466 else
20467 # Is the header compilable?
20468 { $as_echo "$as_me:$LINENO: checking CUnit/CUnit.h usability" >&5
20469 $as_echo_n "checking CUnit/CUnit.h usability... " >&6; }
20470 cat >conftest.$ac_ext <<_ACEOF
20471 /* confdefs.h. */
20472 _ACEOF
20473 cat confdefs.h >>conftest.$ac_ext
20474 cat >>conftest.$ac_ext <<_ACEOF
20475 /* end confdefs.h. */
20476 $ac_includes_default
20477 @%:@include <CUnit/CUnit.h>
20478 _ACEOF
20479 rm -f conftest.$ac_objext
20480 if { (ac_try="$ac_compile"
20481 case "(($ac_try" in
20482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20483 *) ac_try_echo=$ac_try;;
20484 esac
20485 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20486 $as_echo "$ac_try_echo") >&5
20487 (eval "$ac_compile") 2>conftest.er1
20488 ac_status=$?
20489 grep -v '^ *+' conftest.er1 >conftest.err
20490 rm -f conftest.er1
20491 cat conftest.err >&5
20492 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20493 (exit $ac_status); } && {
20494 test -z "$ac_c_werror_flag" ||
20495 test ! -s conftest.err
20496 } && test -s conftest.$ac_objext; then
20497 ac_header_compiler=yes
20498 else
20499 $as_echo "$as_me: failed program was:" >&5
20500 sed 's/^/| /' conftest.$ac_ext >&5
20501
20502 ac_header_compiler=no
20503 fi
20504
20505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20506 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20507 $as_echo "$ac_header_compiler" >&6; }
20508
20509 # Is the header present?
20510 { $as_echo "$as_me:$LINENO: checking CUnit/CUnit.h presence" >&5
20511 $as_echo_n "checking CUnit/CUnit.h presence... " >&6; }
20512 cat >conftest.$ac_ext <<_ACEOF
20513 /* confdefs.h. */
20514 _ACEOF
20515 cat confdefs.h >>conftest.$ac_ext
20516 cat >>conftest.$ac_ext <<_ACEOF
20517 /* end confdefs.h. */
20518 @%:@include <CUnit/CUnit.h>
20519 _ACEOF
20520 if { (ac_try="$ac_cpp conftest.$ac_ext"
20521 case "(($ac_try" in
20522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20523 *) ac_try_echo=$ac_try;;
20524 esac
20525 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20526 $as_echo "$ac_try_echo") >&5
20527 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20528 ac_status=$?
20529 grep -v '^ *+' conftest.er1 >conftest.err
20530 rm -f conftest.er1
20531 cat conftest.err >&5
20532 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); } >/dev/null && {
20534 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20535 test ! -s conftest.err
20536 }; then
20537 ac_header_preproc=yes
20538 else
20539 $as_echo "$as_me: failed program was:" >&5
20540 sed 's/^/| /' conftest.$ac_ext >&5
20541
20542 ac_header_preproc=no
20543 fi
20544
20545 rm -f conftest.err conftest.$ac_ext
20546 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20547 $as_echo "$ac_header_preproc" >&6; }
20548
20549 # So? What about this header?
20550 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20551 yes:no: )
20552 { $as_echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: accepted by the compiler, rejected by the preprocessor!" >&5
20553 $as_echo "$as_me: WARNING: CUnit/CUnit.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20554 { $as_echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: proceeding with the compiler's result" >&5
20555 $as_echo "$as_me: WARNING: CUnit/CUnit.h: proceeding with the compiler's result" >&2;}
20556 ac_header_preproc=yes
20557 ;;
20558 no:yes:* )
20559 { $as_echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: present but cannot be compiled" >&5
20560 $as_echo "$as_me: WARNING: CUnit/CUnit.h: present but cannot be compiled" >&2;}
20561 { $as_echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: check for missing prerequisite headers?" >&5
20562 $as_echo "$as_me: WARNING: CUnit/CUnit.h: check for missing prerequisite headers?" >&2;}
20563 { $as_echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: see the Autoconf documentation" >&5
20564 $as_echo "$as_me: WARNING: CUnit/CUnit.h: see the Autoconf documentation" >&2;}
20565 { $as_echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: section \"Present But Cannot Be Compiled\"" >&5
20566 $as_echo "$as_me: WARNING: CUnit/CUnit.h: section \"Present But Cannot Be Compiled\"" >&2;}
20567 { $as_echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: proceeding with the preprocessor's result" >&5
20568 $as_echo "$as_me: WARNING: CUnit/CUnit.h: proceeding with the preprocessor's result" >&2;}
20569 { $as_echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: in the future, the compiler will take precedence" >&5
20570 $as_echo "$as_me: WARNING: CUnit/CUnit.h: in the future, the compiler will take precedence" >&2;}
20571 ( cat <<\_ASBOX
20572 @%:@@%:@ -------------------------------------------- @%:@@%:@
20573 @%:@@%:@ Report this to http://uncensored.citadel.org @%:@@%:@
20574 @%:@@%:@ -------------------------------------------- @%:@@%:@
20575 _ASBOX
20576 ) | sed "s/^/$as_me: WARNING: /" >&2
20577 ;;
20578 esac
20579 { $as_echo "$as_me:$LINENO: checking for CUnit/CUnit.h" >&5
20580 $as_echo_n "checking for CUnit/CUnit.h... " >&6; }
20581 if test "${ac_cv_header_CUnit_CUnit_h+set}" = set; then
20582 $as_echo_n "(cached) " >&6
20583 else
20584 ac_cv_header_CUnit_CUnit_h=$ac_header_preproc
20585 fi
20586 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_CUnit_CUnit_h" >&5
20587 $as_echo "$ac_cv_header_CUnit_CUnit_h" >&6; }
20588
20589 fi
20590 if test "x$ac_cv_header_CUnit_CUnit_h" = x""yes; then
19073 $as_echo "@%:@define HAVE_ZLIB /**/" >>confdefs.h
19074
19075 fi
19076
19077 ac_fn_c_check_header_mongrel "$LINENO" "CUnit/CUnit.h" "ac_cv_header_CUnit_CUnit_h" "$ac_includes_default"
19078 if test "x$ac_cv_header_CUnit_CUnit_h" = x""yes; then :
2059119079
20592 cat >>confdefs.h <<\_ACEOF
20593 @%:@define ENABLE_TESTS /**/
20594 _ACEOF
20595
20596 fi
20597
20598
19080 $as_echo "@%:@define ENABLE_TESTS /**/" >>confdefs.h
19081
19082 fi
19083
19084
19085
19086 ac_fn_c_check_header_mongrel "$LINENO" "sys/sendfile.h" "ac_cv_header_sys_sendfile_h" "$ac_includes_default"
19087 if test "x$ac_cv_header_sys_sendfile_h" = x""yes; then :
19088
19089 $as_echo "@%:@define LINUX_SENDFILE /**/" >>confdefs.h
19090
19091 fi
2059919092
2060019093
2060119094
2060219095
2060319096 for ac_header in iconv.h
20604 do
20605 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20606 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20607 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20608 $as_echo_n "checking for $ac_header... " >&6; }
20609 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20610 $as_echo_n "(cached) " >&6
20611 fi
20612 ac_res=`eval 'as_val=${'$as_ac_Header'}
20613 $as_echo "$as_val"'`
20614 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20615 $as_echo "$ac_res" >&6; }
20616 else
20617 # Is the header compilable?
20618 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
20619 $as_echo_n "checking $ac_header usability... " >&6; }
20620 cat >conftest.$ac_ext <<_ACEOF
20621 /* confdefs.h. */
20622 _ACEOF
20623 cat confdefs.h >>conftest.$ac_ext
20624 cat >>conftest.$ac_ext <<_ACEOF
20625 /* end confdefs.h. */
20626 $ac_includes_default
20627 @%:@include <$ac_header>
20628 _ACEOF
20629 rm -f conftest.$ac_objext
20630 if { (ac_try="$ac_compile"
20631 case "(($ac_try" in
20632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20633 *) ac_try_echo=$ac_try;;
20634 esac
20635 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20636 $as_echo "$ac_try_echo") >&5
20637 (eval "$ac_compile") 2>conftest.er1
20638 ac_status=$?
20639 grep -v '^ *+' conftest.er1 >conftest.err
20640 rm -f conftest.er1
20641 cat conftest.err >&5
20642 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20643 (exit $ac_status); } && {
20644 test -z "$ac_c_werror_flag" ||
20645 test ! -s conftest.err
20646 } && test -s conftest.$ac_objext; then
20647 ac_header_compiler=yes
20648 else
20649 $as_echo "$as_me: failed program was:" >&5
20650 sed 's/^/| /' conftest.$ac_ext >&5
20651
20652 ac_header_compiler=no
20653 fi
20654
20655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20656 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20657 $as_echo "$ac_header_compiler" >&6; }
20658
20659 # Is the header present?
20660 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
20661 $as_echo_n "checking $ac_header presence... " >&6; }
20662 cat >conftest.$ac_ext <<_ACEOF
20663 /* confdefs.h. */
20664 _ACEOF
20665 cat confdefs.h >>conftest.$ac_ext
20666 cat >>conftest.$ac_ext <<_ACEOF
20667 /* end confdefs.h. */
20668 @%:@include <$ac_header>
20669 _ACEOF
20670 if { (ac_try="$ac_cpp conftest.$ac_ext"
20671 case "(($ac_try" in
20672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20673 *) ac_try_echo=$ac_try;;
20674 esac
20675 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20676 $as_echo "$ac_try_echo") >&5
20677 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20678 ac_status=$?
20679 grep -v '^ *+' conftest.er1 >conftest.err
20680 rm -f conftest.er1
20681 cat conftest.err >&5
20682 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20683 (exit $ac_status); } >/dev/null && {
20684 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20685 test ! -s conftest.err
20686 }; then
20687 ac_header_preproc=yes
20688 else
20689 $as_echo "$as_me: failed program was:" >&5
20690 sed 's/^/| /' conftest.$ac_ext >&5
20691
20692 ac_header_preproc=no
20693 fi
20694
20695 rm -f conftest.err conftest.$ac_ext
20696 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20697 $as_echo "$ac_header_preproc" >&6; }
20698
20699 # So? What about this header?
20700 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20701 yes:no: )
20702 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20703 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20704 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20705 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20706 ac_header_preproc=yes
20707 ;;
20708 no:yes:* )
20709 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20710 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20711 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20712 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20713 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20714 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20715 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20716 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20717 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20718 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20719 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20720 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20721 ( cat <<\_ASBOX
20722 @%:@@%:@ -------------------------------------------- @%:@@%:@
20723 @%:@@%:@ Report this to http://uncensored.citadel.org @%:@@%:@
20724 @%:@@%:@ -------------------------------------------- @%:@@%:@
20725 _ASBOX
20726 ) | sed "s/^/$as_me: WARNING: /" >&2
20727 ;;
20728 esac
20729 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20730 $as_echo_n "checking for $ac_header... " >&6; }
20731 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20732 $as_echo_n "(cached) " >&6
20733 else
20734 eval "$as_ac_Header=\$ac_header_preproc"
20735 fi
20736 ac_res=`eval 'as_val=${'$as_ac_Header'}
20737 $as_echo "$as_val"'`
20738 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20739 $as_echo "$ac_res" >&6; }
20740
20741 fi
20742 as_val=`eval 'as_val=${'$as_ac_Header'}
20743 $as_echo "$as_val"'`
20744 if test "x$as_val" = x""yes; then
19097 do :
19098 ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default"
19099 if test "x$ac_cv_header_iconv_h" = x""yes; then :
2074519100 cat >>confdefs.h <<_ACEOF
20746 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19101 @%:@define HAVE_ICONV_H 1
2074719102 _ACEOF
2074819103
2074919104 fi
2075319108
2075419109
2075519110 @%:@ Check whether --enable-iconv was given.
20756 if test "${enable_iconv+set}" = set; then
19111 if test "${enable_iconv+set}" = set; then :
2075719112 enableval=$enable_iconv; ok_iconv=no
2075819113 else
2075919114 ok_iconv=yes
2076019115 fi
2076119116
2076219117
20763 { $as_echo "$as_me:$LINENO: checking Checking to see if your system supports iconv" >&5
19118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking to see if your system supports iconv" >&5
2076419119 $as_echo_n "checking Checking to see if your system supports iconv... " >&6; }
20765 if test "$cross_compiling" = yes; then
20766 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
19120 if test "$cross_compiling" = yes; then :
19121 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2076719122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20768 { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20769 See \`config.log' for more details." >&5
20770 $as_echo "$as_me: error: cannot run test program while cross compiling
20771 See \`config.log' for more details." >&2;}
20772 { (exit 1); exit 1; }; }; }
20773 else
20774 cat >conftest.$ac_ext <<_ACEOF
20775 /* confdefs.h. */
20776 _ACEOF
20777 cat confdefs.h >>conftest.$ac_ext
20778 cat >>conftest.$ac_ext <<_ACEOF
19123 as_fn_error $? "cannot run test program while cross compiling
19124 See \`config.log' for more details" "$LINENO" 5 ; }
19125 else
19126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2077919127 /* end confdefs.h. */
2078019128
2078119129 #include <iconv.h>
2078719135 }
2078819136
2078919137 _ACEOF
20790 rm -f conftest$ac_exeext
20791 if { (ac_try="$ac_link"
20792 case "(($ac_try" in
20793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20794 *) ac_try_echo=$ac_try;;
20795 esac
20796 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20797 $as_echo "$ac_try_echo") >&5
20798 (eval "$ac_link") 2>&5
20799 ac_status=$?
20800 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20801 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20802 { (case "(($ac_try" in
20803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20804 *) ac_try_echo=$ac_try;;
20805 esac
20806 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20807 $as_echo "$ac_try_echo") >&5
20808 (eval "$ac_try") 2>&5
20809 ac_status=$?
20810 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); }; }; then
19138 if ac_fn_c_try_run "$LINENO"; then :
2081219139
2081319140 ok_iconv=yes
20814 { $as_echo "$as_me:$LINENO: result: yes" >&5
19141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2081519142 $as_echo "yes" >&6; }
2081619143
2081719144 else
20818 $as_echo "$as_me: program exited with status $ac_status" >&5
20819 $as_echo "$as_me: failed program was:" >&5
20820 sed 's/^/| /' conftest.$ac_ext >&5
20821
20822 ( exit $ac_status )
20823
19145
2082419146 ok_iconv=no
20825 { $as_echo "$as_me:$LINENO: result: no" >&5
19147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2082619148 $as_echo "no" >&6; }
2082719149
2082819150
2082919151 fi
20830 rm -rf conftest.dSYM
20831 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20832 fi
20833
19152 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19153 conftest.$ac_objext conftest.beam conftest.$ac_ext
19154 fi
2083419155
2083519156
2083619157 if test "$ok_iconv" = no; then
20837 { $as_echo "$as_me:$LINENO: checking Checking for an external libiconv" >&5
19158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking for an external libiconv" >&5
2083819159 $as_echo_n "checking Checking for an external libiconv... " >&6; }
2083919160 OLD_LDFLAGS="$LDFLAGS"
2084019161 LDFLAGS="$LDFLAGS -liconv"
20841 if test "$cross_compiling" = yes; then
20842 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
19162 if test "$cross_compiling" = yes; then :
19163 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2084319164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20844 { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20845 See \`config.log' for more details." >&5
20846 $as_echo "$as_me: error: cannot run test program while cross compiling
20847 See \`config.log' for more details." >&2;}
20848 { (exit 1); exit 1; }; }; }
20849 else
20850 cat >conftest.$ac_ext <<_ACEOF
20851 /* confdefs.h. */
20852 _ACEOF
20853 cat confdefs.h >>conftest.$ac_ext
20854 cat >>conftest.$ac_ext <<_ACEOF
19165 as_fn_error $? "cannot run test program while cross compiling
19166 See \`config.log' for more details" "$LINENO" 5 ; }
19167 else
19168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2085519169 /* end confdefs.h. */
2085619170
2085719171 #include <iconv.h>
2086219176 }
2086319177
2086419178 _ACEOF
20865 rm -f conftest$ac_exeext
20866 if { (ac_try="$ac_link"
20867 case "(($ac_try" in
20868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20869 *) ac_try_echo=$ac_try;;
20870 esac
20871 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20872 $as_echo "$ac_try_echo") >&5
20873 (eval "$ac_link") 2>&5
20874 ac_status=$?
20875 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20877 { (case "(($ac_try" in
20878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20879 *) ac_try_echo=$ac_try;;
20880 esac
20881 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20882 $as_echo "$ac_try_echo") >&5
20883 (eval "$ac_try") 2>&5
20884 ac_status=$?
20885 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886 (exit $ac_status); }; }; then
19179 if ac_fn_c_try_run "$LINENO"; then :
2088719180
2088819181 ok_iconv=yes
20889 { $as_echo "$as_me:$LINENO: result: yes" >&5
19182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2089019183 $as_echo "yes" >&6; }
2089119184
2089219185 else
20893 $as_echo "$as_me: program exited with status $ac_status" >&5
20894 $as_echo "$as_me: failed program was:" >&5
20895 sed 's/^/| /' conftest.$ac_ext >&5
20896
20897 ( exit $ac_status )
20898
19186
2089919187 ok_iconv=no
2090019188 LDFLAGS="$OLD_LDFLAGS"
20901 { $as_echo "$as_me:$LINENO: result: no" >&5
19189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2090219190 $as_echo "no" >&6; }
2090319191
2090419192
2090519193 fi
20906 rm -rf conftest.dSYM
20907 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20908 fi
20909
19194 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19195 conftest.$ac_objext conftest.beam conftest.$ac_ext
19196 fi
2091019197
2091119198 fi
2091219199 if test "$ok_iconv" != "no"; then
20913 { $as_echo "$as_me:$LINENO: result: libcitadel will be built with character set conversion." >&5
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libcitadel will be built with character set conversion." >&5
2091419201 $as_echo "libcitadel will be built with character set conversion." >&6; }
2091519202
20916 cat >>confdefs.h <<\_ACEOF
20917 @%:@define HAVE_ICONV /**/
20918 _ACEOF
20919
20920 else
20921 { $as_echo "$as_me:$LINENO: result: libcitadel will be built without character set conversion." >&5
19203 $as_echo "@%:@define HAVE_ICONV /**/" >>confdefs.h
19204
19205 else
19206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libcitadel will be built without character set conversion." >&5
2092219207 $as_echo "libcitadel will be built without character set conversion." >&6; }
2092319208 fi
2092419209
2092519210
2092619211 @%:@ Check whether --with-backtrace was given.
20927 if test "${with_backtrace+set}" = set; then
19212 if test "${with_backtrace+set}" = set; then :
2092819213 withval=$with_backtrace; if test "x$withval" != "xno" ; then
2092919214 CFLAGS="$CFLAGS -rdynamic "
2093019215 LDFLAGS="$LDFLAGS -rdynamic "
20931
20932 for ac_func in backtrace
20933 do
20934 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20935 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20936 $as_echo_n "checking for $ac_func... " >&6; }
20937 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20938 $as_echo_n "(cached) " >&6
20939 else
20940 cat >conftest.$ac_ext <<_ACEOF
20941 /* confdefs.h. */
20942 _ACEOF
20943 cat confdefs.h >>conftest.$ac_ext
20944 cat >>conftest.$ac_ext <<_ACEOF
20945 /* end confdefs.h. */
20946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20948 #define $ac_func innocuous_$ac_func
20949
20950 /* System header to define __stub macros and hopefully few prototypes,
20951 which can conflict with char $ac_func (); below.
20952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20953 <limits.h> exists even on freestanding compilers. */
20954
20955 #ifdef __STDC__
20956 # include <limits.h>
20957 #else
20958 # include <assert.h>
20959 #endif
20960
20961 #undef $ac_func
20962
20963 /* Override any GCC internal prototype to avoid an error.
20964 Use char because int might match the return type of a GCC
20965 builtin and then its argument prototype would still apply. */
20966 #ifdef __cplusplus
20967 extern "C"
20968 #endif
20969 char $ac_func ();
20970 /* The GNU C library defines this for functions which it implements
20971 to always fail with ENOSYS. Some functions are actually named
20972 something starting with __ and the normal name is an alias. */
20973 #if defined __stub_$ac_func || defined __stub___$ac_func
20974 choke me
20975 #endif
20976
20977 int
20978 main ()
20979 {
20980 return $ac_func ();
20981 ;
20982 return 0;
20983 }
20984 _ACEOF
20985 rm -f conftest.$ac_objext conftest$ac_exeext
20986 if { (ac_try="$ac_link"
20987 case "(($ac_try" in
20988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20989 *) ac_try_echo=$ac_try;;
20990 esac
20991 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20992 $as_echo "$ac_try_echo") >&5
20993 (eval "$ac_link") 2>conftest.er1
20994 ac_status=$?
20995 grep -v '^ *+' conftest.er1 >conftest.err
20996 rm -f conftest.er1
20997 cat conftest.err >&5
20998 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999 (exit $ac_status); } && {
21000 test -z "$ac_c_werror_flag" ||
21001 test ! -s conftest.err
21002 } && test -s conftest$ac_exeext && {
21003 test "$cross_compiling" = yes ||
21004 $as_test_x conftest$ac_exeext
21005 }; then
21006 eval "$as_ac_var=yes"
21007 else
21008 $as_echo "$as_me: failed program was:" >&5
21009 sed 's/^/| /' conftest.$ac_ext >&5
21010
21011 eval "$as_ac_var=no"
21012 fi
21013
21014 rm -rf conftest.dSYM
21015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21016 conftest$ac_exeext conftest.$ac_ext
21017 fi
21018 ac_res=`eval 'as_val=${'$as_ac_var'}
21019 $as_echo "$as_val"'`
21020 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21021 $as_echo "$ac_res" >&6; }
21022 as_val=`eval 'as_val=${'$as_ac_var'}
21023 $as_echo "$as_val"'`
21024 if test "x$as_val" = x""yes; then
19216 for ac_func in backtrace
19217 do :
19218 ac_fn_c_check_func "$LINENO" "backtrace" "ac_cv_func_backtrace"
19219 if test "x$ac_cv_func_backtrace" = x""yes; then :
2102519220 cat >>confdefs.h <<_ACEOF
21026 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19221 @%:@define HAVE_BACKTRACE 1
2102719222 _ACEOF
2102819223
2102919224 fi
2103819233
2103919234
2104019235 @%:@ Check whether --with-with_zlib was given.
21041 if test "${with_with_zlib+set}" = set; then
19236 if test "${with_with_zlib+set}" = set; then :
2104219237 withval=$with_with_zlib;
2104319238 fi
2104419239
2104519240 if test "x$with_zlib" != xno ; then
21046
21047 for ac_header in zlib.h
21048 do
21049 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21050 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21051 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
21052 $as_echo_n "checking for $ac_header... " >&6; }
21053 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21054 $as_echo_n "(cached) " >&6
21055 fi
21056 ac_res=`eval 'as_val=${'$as_ac_Header'}
21057 $as_echo "$as_val"'`
21058 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21059 $as_echo "$ac_res" >&6; }
21060 else
21061 # Is the header compilable?
21062 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
21063 $as_echo_n "checking $ac_header usability... " >&6; }
21064 cat >conftest.$ac_ext <<_ACEOF
21065 /* confdefs.h. */
19241 for ac_header in zlib.h
19242 do :
19243 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
19244 if test "x$ac_cv_header_zlib_h" = x""yes; then :
19245 cat >>confdefs.h <<_ACEOF
19246 @%:@define HAVE_ZLIB_H 1
2106619247 _ACEOF
21067 cat confdefs.h >>conftest.$ac_ext
21068 cat >>conftest.$ac_ext <<_ACEOF
21069 /* end confdefs.h. */
21070 $ac_includes_default
21071 @%:@include <$ac_header>
21072 _ACEOF
21073 rm -f conftest.$ac_objext
21074 if { (ac_try="$ac_compile"
21075 case "(($ac_try" in
21076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21077 *) ac_try_echo=$ac_try;;
21078 esac
21079 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21080 $as_echo "$ac_try_echo") >&5
21081 (eval "$ac_compile") 2>conftest.er1
21082 ac_status=$?
21083 grep -v '^ *+' conftest.er1 >conftest.err
21084 rm -f conftest.er1
21085 cat conftest.err >&5
21086 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21087 (exit $ac_status); } && {
21088 test -z "$ac_c_werror_flag" ||
21089 test ! -s conftest.err
21090 } && test -s conftest.$ac_objext; then
21091 ac_header_compiler=yes
21092 else
21093 $as_echo "$as_me: failed program was:" >&5
21094 sed 's/^/| /' conftest.$ac_ext >&5
21095
21096 ac_header_compiler=no
21097 fi
21098
21099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21100 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21101 $as_echo "$ac_header_compiler" >&6; }
21102
21103 # Is the header present?
21104 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
21105 $as_echo_n "checking $ac_header presence... " >&6; }
21106 cat >conftest.$ac_ext <<_ACEOF
21107 /* confdefs.h. */
21108 _ACEOF
21109 cat confdefs.h >>conftest.$ac_ext
21110 cat >>conftest.$ac_ext <<_ACEOF
21111 /* end confdefs.h. */
21112 @%:@include <$ac_header>
21113 _ACEOF
21114 if { (ac_try="$ac_cpp conftest.$ac_ext"
21115 case "(($ac_try" in
21116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21117 *) ac_try_echo=$ac_try;;
21118 esac
21119 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21120 $as_echo "$ac_try_echo") >&5
21121 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21122 ac_status=$?
21123 grep -v '^ *+' conftest.er1 >conftest.err
21124 rm -f conftest.er1
21125 cat conftest.err >&5
21126 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21127 (exit $ac_status); } >/dev/null && {
21128 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21129 test ! -s conftest.err
21130 }; then
21131 ac_header_preproc=yes
21132 else
21133 $as_echo "$as_me: failed program was:" >&5
21134 sed 's/^/| /' conftest.$ac_ext >&5
21135
21136 ac_header_preproc=no
21137 fi
21138
21139 rm -f conftest.err conftest.$ac_ext
21140 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21141 $as_echo "$ac_header_preproc" >&6; }
21142
21143 # So? What about this header?
21144 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21145 yes:no: )
21146 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21147 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21148 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21149 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21150 ac_header_preproc=yes
21151 ;;
21152 no:yes:* )
21153 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21154 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21155 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21156 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21157 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21158 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21159 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21160 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21161 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21162 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21163 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21164 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21165 ( cat <<\_ASBOX
21166 @%:@@%:@ -------------------------------------------- @%:@@%:@
21167 @%:@@%:@ Report this to http://uncensored.citadel.org @%:@@%:@
21168 @%:@@%:@ -------------------------------------------- @%:@@%:@
21169 _ASBOX
21170 ) | sed "s/^/$as_me: WARNING: /" >&2
21171 ;;
21172 esac
21173 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
21174 $as_echo_n "checking for $ac_header... " >&6; }
21175 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21176 $as_echo_n "(cached) " >&6
21177 else
21178 eval "$as_ac_Header=\$ac_header_preproc"
21179 fi
21180 ac_res=`eval 'as_val=${'$as_ac_Header'}
21181 $as_echo "$as_val"'`
21182 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21183 $as_echo "$ac_res" >&6; }
21184
21185 fi
21186 as_val=`eval 'as_val=${'$as_ac_Header'}
21187 $as_echo "$as_val"'`
21188 if test "x$as_val" = x""yes; then
21189 cat >>confdefs.h <<_ACEOF
21190 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21191 _ACEOF
21192 { $as_echo "$as_me:$LINENO: checking for zlibVersion in -lz" >&5
19248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
2119319249 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
21194 if test "${ac_cv_lib_z_zlibVersion+set}" = set; then
19250 if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
2119519251 $as_echo_n "(cached) " >&6
2119619252 else
2119719253 ac_check_lib_save_LIBS=$LIBS
2119819254 LIBS="-lz $LIBS"
21199 cat >conftest.$ac_ext <<_ACEOF
21200 /* confdefs.h. */
21201 _ACEOF
21202 cat confdefs.h >>conftest.$ac_ext
21203 cat >>conftest.$ac_ext <<_ACEOF
19255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2120419256 /* end confdefs.h. */
2120519257
2120619258 /* Override any GCC internal prototype to avoid an error.
2121819270 return 0;
2121919271 }
2122019272 _ACEOF
21221 rm -f conftest.$ac_objext conftest$ac_exeext
21222 if { (ac_try="$ac_link"
21223 case "(($ac_try" in
21224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21225 *) ac_try_echo=$ac_try;;
21226 esac
21227 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21228 $as_echo "$ac_try_echo") >&5
21229 (eval "$ac_link") 2>conftest.er1
21230 ac_status=$?
21231 grep -v '^ *+' conftest.er1 >conftest.err
21232 rm -f conftest.er1
21233 cat conftest.err >&5
21234 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); } && {
21236 test -z "$ac_c_werror_flag" ||
21237 test ! -s conftest.err
21238 } && test -s conftest$ac_exeext && {
21239 test "$cross_compiling" = yes ||
21240 $as_test_x conftest$ac_exeext
21241 }; then
19273 if ac_fn_c_try_link "$LINENO"; then :
2124219274 ac_cv_lib_z_zlibVersion=yes
2124319275 else
21244 $as_echo "$as_me: failed program was:" >&5
21245 sed 's/^/| /' conftest.$ac_ext >&5
21246
21247 ac_cv_lib_z_zlibVersion=no
21248 fi
21249
21250 rm -rf conftest.dSYM
21251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21252 conftest$ac_exeext conftest.$ac_ext
19276 ac_cv_lib_z_zlibVersion=no
19277 fi
19278 rm -f core conftest.err conftest.$ac_objext \
19279 conftest$ac_exeext conftest.$ac_ext
2125319280 LIBS=$ac_check_lib_save_LIBS
2125419281 fi
21255 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_zlibVersion" >&5
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
2125619283 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
21257 if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then
19284 if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
2125819285 ok_zlib=yes
2125919286 fi
2126019287
2126719294 if test "x$ok_zlib" = xyes ; then
2126819295 LIBS="-lz $LIBS"
2126919296
21270 cat >>confdefs.h <<\_ACEOF
21271 @%:@define HAVE_ZLIB /**/
21272 _ACEOF
21273
21274 fi
21275
21276
21277
21278
21279 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19297 $as_echo "@%:@define HAVE_ZLIB /**/" >>confdefs.h
19298
19299 fi
19300
19301
19302
19303
19304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
2128019305 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
21281 if test "${ac_cv_c_const+set}" = set; then
19306 if test "${ac_cv_c_const+set}" = set; then :
2128219307 $as_echo_n "(cached) " >&6
2128319308 else
21284 cat >conftest.$ac_ext <<_ACEOF
21285 /* confdefs.h. */
21286 _ACEOF
21287 cat confdefs.h >>conftest.$ac_ext
21288 cat >>conftest.$ac_ext <<_ACEOF
19309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2128919310 /* end confdefs.h. */
2129019311
2129119312 int
2134519366 return 0;
2134619367 }
2134719368 _ACEOF
21348 rm -f conftest.$ac_objext
21349 if { (ac_try="$ac_compile"
21350 case "(($ac_try" in
21351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21352 *) ac_try_echo=$ac_try;;
21353 esac
21354 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21355 $as_echo "$ac_try_echo") >&5
21356 (eval "$ac_compile") 2>conftest.er1
21357 ac_status=$?
21358 grep -v '^ *+' conftest.er1 >conftest.err
21359 rm -f conftest.er1
21360 cat conftest.err >&5
21361 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21362 (exit $ac_status); } && {
21363 test -z "$ac_c_werror_flag" ||
21364 test ! -s conftest.err
21365 } && test -s conftest.$ac_objext; then
19369 if ac_fn_c_try_compile "$LINENO"; then :
2136619370 ac_cv_c_const=yes
2136719371 else
21368 $as_echo "$as_me: failed program was:" >&5
21369 sed 's/^/| /' conftest.$ac_ext >&5
21370
21371 ac_cv_c_const=no
21372 fi
21373
19372 ac_cv_c_const=no
19373 fi
2137419374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2137519375 fi
21376 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
2137719377 $as_echo "$ac_cv_c_const" >&6; }
2137819378 if test $ac_cv_c_const = no; then
2137919379
21380 cat >>confdefs.h <<\_ACEOF
21381 @%:@define const /**/
21382 _ACEOF
21383
21384 fi
21385
21386 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
21387 $as_echo_n "checking for size_t... " >&6; }
21388 if test "${ac_cv_type_size_t+set}" = set; then
21389 $as_echo_n "(cached) " >&6
21390 else
21391 ac_cv_type_size_t=no
21392 cat >conftest.$ac_ext <<_ACEOF
21393 /* confdefs.h. */
21394 _ACEOF
21395 cat confdefs.h >>conftest.$ac_ext
21396 cat >>conftest.$ac_ext <<_ACEOF
21397 /* end confdefs.h. */
21398 $ac_includes_default
21399 int
21400 main ()
21401 {
21402 if (sizeof (size_t))
21403 return 0;
21404 ;
21405 return 0;
21406 }
21407 _ACEOF
21408 rm -f conftest.$ac_objext
21409 if { (ac_try="$ac_compile"
21410 case "(($ac_try" in
21411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21412 *) ac_try_echo=$ac_try;;
21413 esac
21414 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21415 $as_echo "$ac_try_echo") >&5
21416 (eval "$ac_compile") 2>conftest.er1
21417 ac_status=$?
21418 grep -v '^ *+' conftest.er1 >conftest.err
21419 rm -f conftest.er1
21420 cat conftest.err >&5
21421 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); } && {
21423 test -z "$ac_c_werror_flag" ||
21424 test ! -s conftest.err
21425 } && test -s conftest.$ac_objext; then
21426 cat >conftest.$ac_ext <<_ACEOF
21427 /* confdefs.h. */
21428 _ACEOF
21429 cat confdefs.h >>conftest.$ac_ext
21430 cat >>conftest.$ac_ext <<_ACEOF
21431 /* end confdefs.h. */
21432 $ac_includes_default
21433 int
21434 main ()
21435 {
21436 if (sizeof ((size_t)))
21437 return 0;
21438 ;
21439 return 0;
21440 }
21441 _ACEOF
21442 rm -f conftest.$ac_objext
21443 if { (ac_try="$ac_compile"
21444 case "(($ac_try" in
21445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21446 *) ac_try_echo=$ac_try;;
21447 esac
21448 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21449 $as_echo "$ac_try_echo") >&5
21450 (eval "$ac_compile") 2>conftest.er1
21451 ac_status=$?
21452 grep -v '^ *+' conftest.er1 >conftest.err
21453 rm -f conftest.er1
21454 cat conftest.err >&5
21455 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); } && {
21457 test -z "$ac_c_werror_flag" ||
21458 test ! -s conftest.err
21459 } && test -s conftest.$ac_objext; then
21460 :
21461 else
21462 $as_echo "$as_me: failed program was:" >&5
21463 sed 's/^/| /' conftest.$ac_ext >&5
21464
21465 ac_cv_type_size_t=yes
21466 fi
21467
21468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21469 else
21470 $as_echo "$as_me: failed program was:" >&5
21471 sed 's/^/| /' conftest.$ac_ext >&5
21472
21473
21474 fi
21475
21476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21477 fi
21478 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21479 $as_echo "$ac_cv_type_size_t" >&6; }
21480 if test "x$ac_cv_type_size_t" = x""yes; then
21481 :
19380 $as_echo "@%:@define const /**/" >>confdefs.h
19381
19382 fi
19383
19384 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
19385 if test "x$ac_cv_type_size_t" = x""yes; then :
19386
2148219387 else
2148319388
2148419389 cat >>confdefs.h <<_ACEOF
2148719392
2148819393 fi
2148919394
21490
21491
2149219395 for ac_func in memmove bcopy
21493 do
21494 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21495 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
21496 $as_echo_n "checking for $ac_func... " >&6; }
21497 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21498 $as_echo_n "(cached) " >&6
21499 else
21500 cat >conftest.$ac_ext <<_ACEOF
21501 /* confdefs.h. */
21502 _ACEOF
21503 cat confdefs.h >>conftest.$ac_ext
21504 cat >>conftest.$ac_ext <<_ACEOF
21505 /* end confdefs.h. */
21506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21508 #define $ac_func innocuous_$ac_func
21509
21510 /* System header to define __stub macros and hopefully few prototypes,
21511 which can conflict with char $ac_func (); below.
21512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21513 <limits.h> exists even on freestanding compilers. */
21514
21515 #ifdef __STDC__
21516 # include <limits.h>
21517 #else
21518 # include <assert.h>
21519 #endif
21520
21521 #undef $ac_func
21522
21523 /* Override any GCC internal prototype to avoid an error.
21524 Use char because int might match the return type of a GCC
21525 builtin and then its argument prototype would still apply. */
21526 #ifdef __cplusplus
21527 extern "C"
21528 #endif
21529 char $ac_func ();
21530 /* The GNU C library defines this for functions which it implements
21531 to always fail with ENOSYS. Some functions are actually named
21532 something starting with __ and the normal name is an alias. */
21533 #if defined __stub_$ac_func || defined __stub___$ac_func
21534 choke me
21535 #endif
21536
21537 int
21538 main ()
21539 {
21540 return $ac_func ();
21541 ;
21542 return 0;
21543 }
21544 _ACEOF
21545 rm -f conftest.$ac_objext conftest$ac_exeext
21546 if { (ac_try="$ac_link"
21547 case "(($ac_try" in
21548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21549 *) ac_try_echo=$ac_try;;
21550 esac
21551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21552 $as_echo "$ac_try_echo") >&5
21553 (eval "$ac_link") 2>conftest.er1
21554 ac_status=$?
21555 grep -v '^ *+' conftest.er1 >conftest.err
21556 rm -f conftest.er1
21557 cat conftest.err >&5
21558 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21559 (exit $ac_status); } && {
21560 test -z "$ac_c_werror_flag" ||
21561 test ! -s conftest.err
21562 } && test -s conftest$ac_exeext && {
21563 test "$cross_compiling" = yes ||
21564 $as_test_x conftest$ac_exeext
21565 }; then
21566 eval "$as_ac_var=yes"
21567 else
21568 $as_echo "$as_me: failed program was:" >&5
21569 sed 's/^/| /' conftest.$ac_ext >&5
21570
21571 eval "$as_ac_var=no"
21572 fi
21573
21574 rm -rf conftest.dSYM
21575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21576 conftest$ac_exeext conftest.$ac_ext
21577 fi
21578 ac_res=`eval 'as_val=${'$as_ac_var'}
21579 $as_echo "$as_val"'`
21580 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21581 $as_echo "$ac_res" >&6; }
21582 as_val=`eval 'as_val=${'$as_ac_var'}
21583 $as_echo "$as_val"'`
21584 if test "x$as_val" = x""yes; then
19396 do :
19397 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19398 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19399 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
2158519400 cat >>confdefs.h <<_ACEOF
2158619401 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
2158719402 _ACEOF
2162119436 case $ac_val in #(
2162219437 *${as_nl}*)
2162319438 case $ac_var in #(
21624 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
19439 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2162519440 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2162619441 esac
2162719442 case $ac_var in #(
2162819443 _ | IFS | as_nl) ;; #(
2162919444 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21630 *) $as_unset $ac_var ;;
19445 *) { eval $ac_var=; unset $ac_var;} ;;
2163119446 esac ;;
2163219447 esac
2163319448 done
2163519450 (set) 2>&1 |
2163619451 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2163719452 *${as_nl}ac_space=\ *)
21638 # `set' does not quote correctly, so add quotes (double-quote
21639 # substitution turns \\\\ into \\, and sed turns \\ into \).
19453 # `set' does not quote correctly, so add quotes: double-quote
19454 # substitution turns \\\\ into \\, and sed turns \\ into \.
2164019455 sed -n \
2164119456 "s/'/'\\\\''/g;
2164219457 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2165919474 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2166019475 if test -w "$cache_file"; then
2166119476 test "x$cache_file" != "x/dev/null" &&
21662 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
19477 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2166319478 $as_echo "$as_me: updating cache $cache_file" >&6;}
2166419479 cat confcache >$cache_file
2166519480 else
21666 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
19481 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2166719482 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2166819483 fi
2166919484 fi
2167719492
2167819493 ac_libobjs=
2167919494 ac_ltlibobjs=
19495 U=
2168019496 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
2168119497 # 1. Remove the extension, and $U if already installed.
2168219498 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2168319499 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2168419500 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2168519501 # will be set to the directory where LIBOBJS objects are built.
21686 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21687 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
19502 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19503 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2168819504 done
2168919505 LIB@&t@OBJS=$ac_libobjs
2169019506
2169619512 ac_write_fail=0
2169719513 ac_clean_files_save=$ac_clean_files
2169819514 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21699 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19515 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2170019516 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21701 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19517 as_write_fail=0
19518 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2170219519 #! $SHELL
2170319520 # Generated by $as_me.
2170419521 # Run this file to recreate the current configuration.
2170819525 debug=false
2170919526 ac_cs_recheck=false
2171019527 ac_cs_silent=false
19528
2171119529 SHELL=\${CONFIG_SHELL-$SHELL}
21712 _ACEOF
21713
21714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21715 ## --------------------- ##
21716 ## M4sh Initialization. ##
21717 ## --------------------- ##
19530 export SHELL
19531 _ASEOF
19532 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19533 ## -------------------- ##
19534 ## M4sh Initialization. ##
19535 ## -------------------- ##
2171819536
2171919537 # Be more Bourne compatible
2172019538 DUALCASE=1; export DUALCASE # for MKS sh
21721 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19539 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2172219540 emulate sh
2172319541 NULLCMD=:
2172419542 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2172619544 alias -g '${1+"$@"}'='"$@"'
2172719545 setopt NO_GLOB_SUBST
2172819546 else
21729 case `(set -o) 2>/dev/null` in
21730 *posix*) set -o posix ;;
19547 case `(set -o) 2>/dev/null` in @%:@(
19548 *posix*) :
19549 set -o posix ;; @%:@(
19550 *) :
19551 ;;
2173119552 esac
21732
21733 fi
21734
21735
21736
21737
21738 # PATH needs CR
21739 # Avoid depending upon Character Ranges.
21740 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21741 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21742 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21743 as_cr_digits='0123456789'
21744 as_cr_alnum=$as_cr_Letters$as_cr_digits
19553 fi
19554
2174519555
2174619556 as_nl='
2174719557 '
2175019560 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2175119561 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2175219562 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21753 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19563 # Prefer a ksh shell builtin over an external printf program on Solaris,
19564 # but without wasting forks for bash or zsh.
19565 if test -z "$BASH_VERSION$ZSH_VERSION" \
19566 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19567 as_echo='print -r --'
19568 as_echo_n='print -rn --'
19569 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2175419570 as_echo='printf %s\n'
2175519571 as_echo_n='printf %s'
2175619572 else
2176119577 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2176219578 as_echo_n_body='eval
2176319579 arg=$1;
21764 case $arg in
19580 case $arg in @%:@(
2176519581 *"$as_nl"*)
2176619582 expr "X$arg" : "X\\(.*\\)$as_nl";
2176719583 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2178419600 }
2178519601 fi
2178619602
21787 # Support unset when possible.
21788 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21789 as_unset=unset
21790 else
21791 as_unset=false
21792 fi
21793
2179419603
2179519604 # IFS
2179619605 # We need space, tab and new line, in precisely that order. Quoting is
2180019609 IFS=" "" $as_nl"
2180119610
2180219611 # Find who we are. Look in the path if we contain no directory separator.
21803 case $0 in
19612 case $0 in @%:@((
2180419613 *[\\/]* ) as_myself=$0 ;;
2180519614 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2180619615 for as_dir in $PATH
2180719616 do
2180819617 IFS=$as_save_IFS
2180919618 test -z "$as_dir" && as_dir=.
21810 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21811 done
19619 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19620 done
2181219621 IFS=$as_save_IFS
2181319622
2181419623 ;;
2182019629 fi
2182119630 if test ! -f "$as_myself"; then
2182219631 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21823 { (exit 1); exit 1; }
21824 fi
21825
21826 # Work around bugs in pre-3.0 UWIN ksh.
21827 for as_var in ENV MAIL MAILPATH
21828 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
19632 exit 1
19633 fi
19634
19635 # Unset variables that we do not need and which cause bugs (e.g. in
19636 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19637 # suppresses any "Segmentation fault" message there. '((' could
19638 # trigger a bug in pdksh 5.2.14.
19639 for as_var in BASH_ENV ENV MAIL MAILPATH
19640 do eval test x\${$as_var+set} = xset \
19641 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2182919642 done
2183019643 PS1='$ '
2183119644 PS2='> '
2183719650 LANGUAGE=C
2183819651 export LANGUAGE
2183919652
21840 # Required to use basename.
19653 # CDPATH.
19654 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19655
19656
19657 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
19658 @%:@ ----------------------------------------
19659 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19660 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19661 @%:@ script with STATUS, using 1 if that was 0.
19662 as_fn_error ()
19663 {
19664 as_status=$1; test $as_status -eq 0 && as_status=1
19665 if test "$4"; then
19666 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19667 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19668 fi
19669 $as_echo "$as_me: error: $2" >&2
19670 as_fn_exit $as_status
19671 } @%:@ as_fn_error
19672
19673
19674 @%:@ as_fn_set_status STATUS
19675 @%:@ -----------------------
19676 @%:@ Set @S|@? to STATUS, without forking.
19677 as_fn_set_status ()
19678 {
19679 return $1
19680 } @%:@ as_fn_set_status
19681
19682 @%:@ as_fn_exit STATUS
19683 @%:@ -----------------
19684 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19685 as_fn_exit ()
19686 {
19687 set +e
19688 as_fn_set_status $1
19689 exit $1
19690 } @%:@ as_fn_exit
19691
19692 @%:@ as_fn_unset VAR
19693 @%:@ ---------------
19694 @%:@ Portably unset VAR.
19695 as_fn_unset ()
19696 {
19697 { eval $1=; unset $1;}
19698 }
19699 as_unset=as_fn_unset
19700 @%:@ as_fn_append VAR VALUE
19701 @%:@ ----------------------
19702 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
19703 @%:@ advantage of any shell optimizations that allow amortized linear growth over
19704 @%:@ repeated appends, instead of the typical quadratic growth present in naive
19705 @%:@ implementations.
19706 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19707 eval 'as_fn_append ()
19708 {
19709 eval $1+=\$2
19710 }'
19711 else
19712 as_fn_append ()
19713 {
19714 eval $1=\$$1\$2
19715 }
19716 fi # as_fn_append
19717
19718 @%:@ as_fn_arith ARG...
19719 @%:@ ------------------
19720 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
19721 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
19722 @%:@ must be portable across @S|@(()) and expr.
19723 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19724 eval 'as_fn_arith ()
19725 {
19726 as_val=$(( $* ))
19727 }'
19728 else
19729 as_fn_arith ()
19730 {
19731 as_val=`expr "$@" || test $? -eq 1`
19732 }
19733 fi # as_fn_arith
19734
19735
2184119736 if expr a : '\(a\)' >/dev/null 2>&1 &&
2184219737 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2184319738 as_expr=expr
2185119746 as_basename=false
2185219747 fi
2185319748
21854
21855 # Name of the executable.
19749 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19750 as_dirname=dirname
19751 else
19752 as_dirname=false
19753 fi
19754
2185619755 as_me=`$as_basename -- "$0" ||
2185719756 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2185819757 X"$0" : 'X\(//\)$' \| \
2187219771 }
2187319772 s/.*/./; q'`
2187419773
21875 # CDPATH.
21876 $as_unset CDPATH
21877
21878
21879
21880 as_lineno_1=$LINENO
21881 as_lineno_2=$LINENO
21882 test "x$as_lineno_1" != "x$as_lineno_2" &&
21883 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21884
21885 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21886 # uniformly replaced by the line number. The first 'sed' inserts a
21887 # line-number line after each line using $LINENO; the second 'sed'
21888 # does the real work. The second script uses 'N' to pair each
21889 # line-number line with the line containing $LINENO, and appends
21890 # trailing '-' during substitution so that $LINENO is not a special
21891 # case at line end.
21892 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21893 # scripts with optimization help from Paolo Bonzini. Blame Lee
21894 # E. McMahon (1931-1989) for sed's syntax. :-)
21895 sed -n '
21896 p
21897 /[$]LINENO/=
21898 ' <$as_myself |
21899 sed '
21900 s/[$]LINENO.*/&-/
21901 t lineno
21902 b
21903 :lineno
21904 N
21905 :loop
21906 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21907 t loop
21908 s/-\n.*//
21909 ' >$as_me.lineno &&
21910 chmod +x "$as_me.lineno" ||
21911 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21912 { (exit 1); exit 1; }; }
21913
21914 # Don't try to exec as it changes $[0], causing all sort of problems
21915 # (the dirname of $[0] is not the place where we might find the
21916 # original and so on. Autoconf is especially sensitive to this).
21917 . "./$as_me.lineno"
21918 # Exit status is that of the last command.
21919 exit
21920 }
21921
21922
21923 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21924 as_dirname=dirname
21925 else
21926 as_dirname=false
21927 fi
19774 # Avoid depending upon Character Ranges.
19775 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19776 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19777 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19778 as_cr_digits='0123456789'
19779 as_cr_alnum=$as_cr_Letters$as_cr_digits
2192819780
2192919781 ECHO_C= ECHO_N= ECHO_T=
21930 case `echo -n x` in
19782 case `echo -n x` in @%:@(((((
2193119783 -n*)
21932 case `echo 'x\c'` in
19784 case `echo 'xy\c'` in
2193319785 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21934 *) ECHO_C='\c';;
19786 xy) ECHO_C='\c';;
19787 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19788 ECHO_T=' ';;
2193519789 esac;;
2193619790 *)
2193719791 ECHO_N='-n';;
2193819792 esac
21939 if expr a : '\(a\)' >/dev/null 2>&1 &&
21940 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21941 as_expr=expr
21942 else
21943 as_expr=false
21944 fi
2194519793
2194619794 rm -f conf$$ conf$$.exe conf$$.file
2194719795 if test -d conf$$.dir; then
2197019818 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2197119819 rmdir conf$$.dir 2>/dev/null
2197219820
19821
19822 @%:@ as_fn_mkdir_p
19823 @%:@ -------------
19824 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
19825 as_fn_mkdir_p ()
19826 {
19827
19828 case $as_dir in #(
19829 -*) as_dir=./$as_dir;;
19830 esac
19831 test -d "$as_dir" || eval $as_mkdir_p || {
19832 as_dirs=
19833 while :; do
19834 case $as_dir in #(
19835 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19836 *) as_qdir=$as_dir;;
19837 esac
19838 as_dirs="'$as_qdir' $as_dirs"
19839 as_dir=`$as_dirname -- "$as_dir" ||
19840 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19841 X"$as_dir" : 'X\(//\)[^/]' \| \
19842 X"$as_dir" : 'X\(//\)$' \| \
19843 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19844 $as_echo X"$as_dir" |
19845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19846 s//\1/
19847 q
19848 }
19849 /^X\(\/\/\)[^/].*/{
19850 s//\1/
19851 q
19852 }
19853 /^X\(\/\/\)$/{
19854 s//\1/
19855 q
19856 }
19857 /^X\(\/\).*/{
19858 s//\1/
19859 q
19860 }
19861 s/.*/./; q'`
19862 test -d "$as_dir" && break
19863 done
19864 test -z "$as_dirs" || eval "mkdir $as_dirs"
19865 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19866
19867
19868 } @%:@ as_fn_mkdir_p
2197319869 if mkdir -p . 2>/dev/null; then
21974 as_mkdir_p=:
19870 as_mkdir_p='mkdir -p "$as_dir"'
2197519871 else
2197619872 test -d ./-p && rmdir ./-p
2197719873 as_mkdir_p=false
2199019886 if test -d "$1"; then
2199119887 test -d "$1/.";
2199219888 else
21993 case $1 in
19889 case $1 in @%:@(
2199419890 -*)set "./$1";;
2199519891 esac;
21996 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
19892 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
2199719893 ???[sx]*):;;*)false;;esac;fi
2199819894 '\'' sh
2199919895 '
2200819904
2200919905
2201019906 exec 6>&1
22011
22012 # Save the log message, to keep $[0] and so on meaningful, and to
19907 ## ----------------------------------- ##
19908 ## Main body of $CONFIG_STATUS script. ##
19909 ## ----------------------------------- ##
19910 _ASEOF
19911 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19912
19913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19914 # Save the log message, to keep $0 and so on meaningful, and to
2201319915 # report actual input values of CONFIG_FILES etc. instead of their
2201419916 # values after options handling.
2201519917 ac_log="
22016 This file was extended by libcitadel $as_me 8.05, which was
22017 generated by GNU Autoconf 2.63. Invocation command line was
19918 This file was extended by libcitadel $as_me 2.8.11, which was
19919 generated by GNU Autoconf 2.67. Invocation command line was
2201819920
2201919921 CONFIG_FILES = $CONFIG_FILES
2202019922 CONFIG_HEADERS = $CONFIG_HEADERS
2204519947
2204619948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2204719949 ac_cs_usage="\
22048 \`$as_me' instantiates files from templates according to the
22049 current configuration.
22050
22051 Usage: $0 [OPTION]... [FILE]...
19950 \`$as_me' instantiates files and other configuration actions
19951 from templates according to the current configuration. Unless the files
19952 and actions are specified as TAGs, all are instantiated by default.
19953
19954 Usage: $0 [OPTION]... [TAG]...
2205219955
2205319956 -h, --help print this help, then exit
2205419957 -V, --version print version number and configuration settings, then exit
19958 --config print configuration, then exit
2205519959 -q, --quiet, --silent
2205619960 do not print progress messages
2205719961 -d, --debug don't remove temporary files
2206719971 Configuration headers:
2206819972 $config_headers
2206919973
22070 Report bugs to <bug-autoconf@gnu.org>."
19974 Report bugs to <http://uncensored.citadel.org>."
2207119975
2207219976 _ACEOF
2207319977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19978 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2207419979 ac_cs_version="\\
22075 libcitadel config.status 8.05
22076 configured by $0, generated by GNU Autoconf 2.63,
22077 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22078
22079 Copyright (C) 2008 Free Software Foundation, Inc.
19980 libcitadel config.status 2.8.11
19981 configured by $0, generated by GNU Autoconf 2.67,
19982 with options \\"\$ac_cs_config\\"
19983
19984 Copyright (C) 2010 Free Software Foundation, Inc.
2208019985 This config.status script is free software; the Free Software Foundation
2208119986 gives unlimited permission to copy, distribute and modify it."
2208219987
2209219997 while test $# != 0
2209319998 do
2209419999 case $1 in
22095 --*=*)
20000 --*=?*)
2209620001 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2209720002 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20003 ac_shift=:
20004 ;;
20005 --*=)
20006 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20007 ac_optarg=
2209820008 ac_shift=:
2209920009 ;;
2210020010 *)
2211020020 ac_cs_recheck=: ;;
2211120021 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2211220022 $as_echo "$ac_cs_version"; exit ;;
20023 --config | --confi | --conf | --con | --co | --c )
20024 $as_echo "$ac_cs_config"; exit ;;
2211320025 --debug | --debu | --deb | --de | --d | -d )
2211420026 debug=: ;;
2211520027 --file | --fil | --fi | --f )
2211620028 $ac_shift
2211720029 case $ac_optarg in
2211820030 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20031 '') as_fn_error $? "missing file argument" ;;
2211920032 esac
22120 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
20033 as_fn_append CONFIG_FILES " '$ac_optarg'"
2212120034 ac_need_defaults=false;;
2212220035 --header | --heade | --head | --hea )
2212320036 $ac_shift
2212420037 case $ac_optarg in
2212520038 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2212620039 esac
22127 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
20040 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
2212820041 ac_need_defaults=false;;
2212920042 --he | --h)
2213020043 # Conflict between --help and --header
22131 { $as_echo "$as_me: error: ambiguous option: $1
22132 Try \`$0 --help' for more information." >&2
22133 { (exit 1); exit 1; }; };;
20044 as_fn_error $? "ambiguous option: \`$1'
20045 Try \`$0 --help' for more information.";;
2213420046 --help | --hel | -h )
2213520047 $as_echo "$ac_cs_usage"; exit ;;
2213620048 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2213820050 ac_cs_silent=: ;;
2213920051
2214020052 # This is an error.
22141 -*) { $as_echo "$as_me: error: unrecognized option: $1
22142 Try \`$0 --help' for more information." >&2
22143 { (exit 1); exit 1; }; } ;;
22144
22145 *) ac_config_targets="$ac_config_targets $1"
20053 -*) as_fn_error $? "unrecognized option: \`$1'
20054 Try \`$0 --help' for more information." ;;
20055
20056 *) as_fn_append ac_config_targets " $1"
2214620057 ac_need_defaults=false ;;
2214720058
2214820059 esac
2219320104 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
2219420105 "sysdep.h") CONFIG_HEADERS="$CONFIG_HEADERS sysdep.h" ;;
2219520106
22196 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22197 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22198 { (exit 1); exit 1; }; };;
20107 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
2219920108 esac
2220020109 done
2220120110
2222120130 trap 'exit_status=$?
2222220131 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2222320132 ' 0
22224 trap '{ (exit 1); exit 1; }' 1 2 13 15
20133 trap 'as_fn_exit 1' 1 2 13 15
2222520134 }
2222620135 # Create a (secure) tmp directory for tmp files.
2222720136
2223220141 {
2223320142 tmp=./conf$$-$RANDOM
2223420143 (umask 077 && mkdir "$tmp")
22235 } ||
22236 {
22237 $as_echo "$as_me: cannot create a temporary directory in ." >&2
22238 { (exit 1); exit 1; }
22239 }
20144 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
2224020145
2224120146 # Set up the scripts for CONFIG_FILES section.
2224220147 # No need to generate them if there are no CONFIG_FILES.
2224420149 if test -n "$CONFIG_FILES"; then
2224520150
2224620151
22247 ac_cr='
22248 '
20152 ac_cr=`echo X | tr X '\015'`
20153 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20154 # But we know of no other shell where ac_cr would be empty at this
20155 # point, so we can use a bashism as a fallback.
20156 if test "x$ac_cr" = x; then
20157 eval ac_cr=\$\'\\r\'
20158 fi
2224920159 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
2225020160 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2225120161 ac_cs_awk_cr='\\r'
2226220172 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2226320173 echo "_ACEOF"
2226420174 } >conf$$subs.sh ||
22265 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22266 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22267 { (exit 1); exit 1; }; }
22268 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
20175 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20176 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
2226920177 ac_delim='%!_!# '
2227020178 for ac_last_try in false false false false false :; do
2227120179 . ./conf$$subs.sh ||
22272 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22273 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22274 { (exit 1); exit 1; }; }
20180 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2227520181
2227620182 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
2227720183 if test $ac_delim_n = $ac_delim_num; then
2227820184 break
2227920185 elif $ac_last_try; then
22280 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22281 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22282 { (exit 1); exit 1; }; }
20186 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2228320187 else
2228420188 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2228520189 fi
2230120205 t delim
2230220206 :nl
2230320207 h
22304 s/\(.\{148\}\).*/\1/
20208 s/\(.\{148\}\)..*/\1/
2230520209 t more1
2230620210 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2230720211 p
2231520219 t nl
2231620220 :delim
2231720221 h
22318 s/\(.\{148\}\).*/\1/
20222 s/\(.\{148\}\)..*/\1/
2231920223 t more2
2232020224 s/["\\]/\\&/g; s/^/"/; s/$/"/
2232120225 p
2236820272 else
2236920273 cat
2237020274 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
22371 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
22372 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
22373 { (exit 1); exit 1; }; }
20275 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
2237420276 _ACEOF
2237520277
22376 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22377 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20278 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20279 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
2237820280 # trailing colons and then remove the whole line if VPATH becomes empty
2237920281 # (actually we leave an empty line to preserve line numbers).
2238020282 if test "x$srcdir" = x.; then
22381 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22382 s/:*\$(srcdir):*/:/
22383 s/:*\${srcdir}:*/:/
22384 s/:*@srcdir@:*/:/
22385 s/^\([^=]*=[ ]*\):*/\1/
20283 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20284 h
20285 s///
20286 s/^/:/
20287 s/[ ]*$/:/
20288 s/:\$(srcdir):/:/g
20289 s/:\${srcdir}:/:/g
20290 s/:@srcdir@:/:/g
20291 s/^:*//
2238620292 s/:*$//
20293 x
20294 s/\(=[ ]*\).*/\1/
20295 G
20296 s/\n//
2238720297 s/^[^=]*=[ ]*$//
2238820298 }'
2238920299 fi
2241120321 if test -z "$ac_t"; then
2241220322 break
2241320323 elif $ac_last_try; then
22414 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
22415 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
22416 { (exit 1); exit 1; }; }
20324 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
2241720325 else
2241820326 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2241920327 fi
2249820406 _ACAWK
2249920407 _ACEOF
2250020408 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22501 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
22502 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
22503 { (exit 1); exit 1; }; }
20409 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
2250420410 fi # test -n "$CONFIG_HEADERS"
2250520411
2250620412
2251320419 esac
2251420420 case $ac_mode$ac_tag in
2251520421 :[FHL]*:*);;
22516 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
22517 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
22518 { (exit 1); exit 1; }; };;
20422 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
2251920423 :[FH]-) ac_tag=-:-;;
2252020424 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2252120425 esac
2254320447 [\\/$]*) false;;
2254420448 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2254520449 esac ||
22546 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22547 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22548 { (exit 1); exit 1; }; };;
20450 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
2254920451 esac
2255020452 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22551 ac_file_inputs="$ac_file_inputs '$ac_f'"
20453 as_fn_append ac_file_inputs " '$ac_f'"
2255220454 done
2255320455
2255420456 # Let's still pretend it is `configure' which instantiates (i.e., don't
2255920461 `' by configure.'
2256020462 if test x"$ac_file" != x-; then
2256120463 configure_input="$ac_file. $configure_input"
22562 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
20464 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
2256320465 $as_echo "$as_me: creating $ac_file" >&6;}
2256420466 fi
2256520467 # Neutralize special characters interpreted by sed in replacement strings.
2257220474
2257320475 case $ac_tag in
2257420476 *:-:* | *:-) cat >"$tmp/stdin" \
22575 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22576 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22577 { (exit 1); exit 1; }; } ;;
20477 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
2257820478 esac
2257920479 ;;
2258020480 esac
2260220502 q
2260320503 }
2260420504 s/.*/./; q'`
22605 { as_dir="$ac_dir"
22606 case $as_dir in #(
22607 -*) as_dir=./$as_dir;;
22608 esac
22609 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22610 as_dirs=
22611 while :; do
22612 case $as_dir in #(
22613 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22614 *) as_qdir=$as_dir;;
22615 esac
22616 as_dirs="'$as_qdir' $as_dirs"
22617 as_dir=`$as_dirname -- "$as_dir" ||
22618 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22619 X"$as_dir" : 'X\(//\)[^/]' \| \
22620 X"$as_dir" : 'X\(//\)$' \| \
22621 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22622 $as_echo X"$as_dir" |
22623 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22624 s//\1/
22625 q
22626 }
22627 /^X\(\/\/\)[^/].*/{
22628 s//\1/
22629 q
22630 }
22631 /^X\(\/\/\)$/{
22632 s//\1/
22633 q
22634 }
22635 /^X\(\/\).*/{
22636 s//\1/
22637 q
22638 }
22639 s/.*/./; q'`
22640 test -d "$as_dir" && break
22641 done
22642 test -z "$as_dirs" || eval "mkdir $as_dirs"
22643 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22644 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
22645 { (exit 1); exit 1; }; }; }
20505 as_dir="$ac_dir"; as_fn_mkdir_p
2264620506 ac_builddir=.
2264720507
2264820508 case "$ac_dir" in
2269420554 # If the template does not know about datarootdir, expand it.
2269520555 # FIXME: This hack should be removed a few years after 2.60.
2269620556 ac_datarootdir_hack=; ac_datarootdir_seen=
22697
2269820557 ac_sed_dataroot='
2269920558 /datarootdir/ {
2270020559 p
2270420563 /@docdir@/p
2270520564 /@infodir@/p
2270620565 /@localedir@/p
22707 /@mandir@/p
22708 '
20566 /@mandir@/p'
2270920567 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
2271020568 *datarootdir*) ac_datarootdir_seen=yes;;
2271120569 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22712 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2271320571 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2271420572 _ACEOF
2271520573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2271920577 s&@infodir@&$infodir&g
2272020578 s&@localedir@&$localedir&g
2272120579 s&@mandir@&$mandir&g
22722 s&\\\${datarootdir}&$datarootdir&g' ;;
20580 s&\\\${datarootdir}&$datarootdir&g' ;;
2272320581 esac
2272420582 _ACEOF
2272520583
2274720605 $ac_datarootdir_hack
2274820606 "
2274920607 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
22750 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22751 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22752 { (exit 1); exit 1; }; }
20608 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2275320609
2275420610 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2275520611 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
2275620612 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22757 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22758 which seems to be undefined. Please make sure it is defined." >&5
20613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20614 which seems to be undefined. Please make sure it is defined" >&5
2275920615 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22760 which seems to be undefined. Please make sure it is defined." >&2;}
20616 which seems to be undefined. Please make sure it is defined" >&2;}
2276120617
2276220618 rm -f "$tmp/stdin"
2276320619 case $ac_file in
2276420620 -) cat "$tmp/out" && rm -f "$tmp/out";;
2276520621 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
2276620622 esac \
22767 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22768 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22769 { (exit 1); exit 1; }; }
20623 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2277020624 ;;
2277120625 :H)
2277220626 #
2277720631 $as_echo "/* $configure_input */" \
2277820632 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
2277920633 } >"$tmp/config.h" \
22780 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22781 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22782 { (exit 1); exit 1; }; }
20634 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2278320635 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
22784 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20636 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
2278520637 $as_echo "$as_me: $ac_file is unchanged" >&6;}
2278620638 else
2278720639 rm -f "$ac_file"
2278820640 mv "$tmp/config.h" "$ac_file" \
22789 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22790 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22791 { (exit 1); exit 1; }; }
20641 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2279220642 fi
2279320643 else
2279420644 $as_echo "/* $configure_input */" \
2279520645 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
22796 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
22797 $as_echo "$as_me: error: could not create -" >&2;}
22798 { (exit 1); exit 1; }; }
20646 || as_fn_error $? "could not create -" "$LINENO" 5
2279920647 fi
2280020648 ;;
2280120649
2280520653 done # for ac_tag
2280620654
2280720655
22808 { (exit 0); exit 0; }
20656 as_fn_exit 0
2280920657 _ACEOF
22810 chmod +x $CONFIG_STATUS
2281120658 ac_clean_files=$ac_clean_files_save
2281220659
2281320660 test $ac_write_fail = 0 ||
22814 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
22815 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
22816 { (exit 1); exit 1; }; }
20661 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
2281720662
2281820663
2281920664 # configure is writing to config.log, and then calls config.status.
2283420679 exec 5>>config.log
2283520680 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2283620681 # would make configure fail if this is the last instruction.
22837 $ac_cs_success || { (exit 1); exit 1; }
20682 $ac_cs_success || as_fn_exit 1
2283820683 fi
2283920684 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22840 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
2284120686 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
2284220687 fi
2284320688
0 # This file was generated.
0 # This file was generated by Autom4te Tue Aug 3 21:06:07 PDT 2010.
11 # It contains the lists of macros which have been traced.
22 # It can be safely removed.
33
3838 'AM_PROG_CXX_C_O' => 1,
3939 '_AM_COND_ENDIF' => 1,
4040 'AM_ENABLE_MULTILIB' => 1,
41 'AM_SILENT_RULES' => 1,
4142 'AC_CONFIG_FILES' => 1,
4243 'include' => 1,
4344 'LT_INIT' => 1,
4445 'AM_GNU_GETTEXT' => 1,
4546 'AC_LIBSOURCE' => 1,
47 'AC_CANONICAL_BUILD' => 1,
4648 'AM_PROG_FC_C_O' => 1,
47 'AC_CANONICAL_BUILD' => 1,
4849 'AC_FC_FREEFORM' => 1,
4950 'AH_OUTPUT' => 1,
5051 'AC_CONFIG_AUX_DIR' => 1,
0 m4trace:configure.in:8: -1- AC_INIT([libcitadel], [8.05], [http://uncensored.citadel.org])
0 m4trace:configure.in:8: -1- AC_INIT([libcitadel], [2.8.11], [http://uncensored.citadel.org])
11 m4trace:configure.in:8: -1- m4_pattern_forbid([^_?A[CHUM]_])
22 m4trace:configure.in:8: -1- m4_pattern_forbid([_AC_])
33 m4trace:configure.in:8: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
55 m4trace:configure.in:8: -1- m4_pattern_forbid([^_?m4_])
66 m4trace:configure.in:8: -1- m4_pattern_forbid([^dnl$])
77 m4trace:configure.in:8: -1- m4_pattern_forbid([^_?AS_])
8 m4trace:configure.in:8: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])
8 m4trace:configure.in:8: -1- AC_SUBST([SHELL])
99 m4trace:configure.in:8: -1- AC_SUBST_TRACE([SHELL])
1010 m4trace:configure.in:8: -1- m4_pattern_allow([^SHELL$])
1111 m4trace:configure.in:8: -1- AC_SUBST([PATH_SEPARATOR])
2626 m4trace:configure.in:8: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
2727 m4trace:configure.in:8: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
2828 m4trace:configure.in:8: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
29 m4trace:configure.in:8: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
30 m4trace:configure.in:8: -1- AC_SUBST_TRACE([PACKAGE_URL])
31 m4trace:configure.in:8: -1- m4_pattern_allow([^PACKAGE_URL$])
2932 m4trace:configure.in:8: -1- AC_SUBST([exec_prefix], [NONE])
3033 m4trace:configure.in:8: -1- AC_SUBST_TRACE([exec_prefix])
3134 m4trace:configure.in:8: -1- m4_pattern_allow([^exec_prefix$])
97100 m4trace:configure.in:8: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
98101 m4trace:configure.in:8: -1- m4_pattern_allow([^PACKAGE_NAME$])
99102 m4trace:configure.in:8: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
100 #undef PACKAGE_NAME])
103 @%:@undef PACKAGE_NAME])
101104 m4trace:configure.in:8: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
102105 m4trace:configure.in:8: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
103106 m4trace:configure.in:8: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
104 #undef PACKAGE_TARNAME])
107 @%:@undef PACKAGE_TARNAME])
105108 m4trace:configure.in:8: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
106109 m4trace:configure.in:8: -1- m4_pattern_allow([^PACKAGE_VERSION$])
107110 m4trace:configure.in:8: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
108 #undef PACKAGE_VERSION])
111 @%:@undef PACKAGE_VERSION])
109112 m4trace:configure.in:8: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
110113 m4trace:configure.in:8: -1- m4_pattern_allow([^PACKAGE_STRING$])
111114 m4trace:configure.in:8: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
112 #undef PACKAGE_STRING])
115 @%:@undef PACKAGE_STRING])
113116 m4trace:configure.in:8: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
114117 m4trace:configure.in:8: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
115118 m4trace:configure.in:8: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
116 #undef PACKAGE_BUGREPORT])
119 @%:@undef PACKAGE_BUGREPORT])
120 m4trace:configure.in:8: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
121 m4trace:configure.in:8: -1- m4_pattern_allow([^PACKAGE_URL$])
122 m4trace:configure.in:8: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
123 @%:@undef PACKAGE_URL])
117124 m4trace:configure.in:8: -1- AC_SUBST([DEFS])
118125 m4trace:configure.in:8: -1- AC_SUBST_TRACE([DEFS])
119126 m4trace:configure.in:8: -1- m4_pattern_allow([^DEFS$])
144151 m4trace:configure.in:32: -1- AC_PROG_LIBTOOL
145152 m4trace:configure.in:32: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
146153 You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
147 ../../lib/autoconf/general.m4:1424: AC_ARG_ENABLE is expanded from...
154 ../../lib/autoconf/general.m4:1463: AC_ARG_ENABLE is expanded from...
148155 conftools/libtool.m4:1909: AC_ENABLE_SHARED is expanded from...
149156 conftools/libtool.m4:80: AC_LIBTOOL_SETUP is expanded from...
150157 conftools/libtool.m4:60: _AC_PROG_LIBTOOL is expanded from...
152159 configure.in:32: the top level])
153160 m4trace:configure.in:32: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
154161 You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
155 ../../lib/autoconf/general.m4:1424: AC_ARG_ENABLE is expanded from...
162 ../../lib/autoconf/general.m4:1463: AC_ARG_ENABLE is expanded from...
156163 conftools/libtool.m4:1948: AC_ENABLE_STATIC is expanded from...
157164 conftools/libtool.m4:80: AC_LIBTOOL_SETUP is expanded from...
158165 conftools/libtool.m4:60: _AC_PROG_LIBTOOL is expanded from...
160167 configure.in:32: the top level])
161168 m4trace:configure.in:32: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
162169 You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
163 ../../lib/autoconf/general.m4:1424: AC_ARG_ENABLE is expanded from...
170 ../../lib/autoconf/general.m4:1463: AC_ARG_ENABLE is expanded from...
164171 conftools/libtool.m4:1987: AC_ENABLE_FAST_INSTALL is expanded from...
165172 conftools/libtool.m4:80: AC_LIBTOOL_SETUP is expanded from...
166173 conftools/libtool.m4:60: _AC_PROG_LIBTOOL is expanded from...
232239 m4trace:configure.in:32: -1- m4_pattern_allow([^OBJEXT$])
233240 m4trace:configure.in:32: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
234241 You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
235 ../../lib/autoconf/general.m4:1443: AC_ARG_WITH is expanded from...
242 ../../lib/autoconf/general.m4:1482: AC_ARG_WITH is expanded from...
236243 conftools/libtool.m4:2128: AC_PROG_LD is expanded from...
237244 conftools/libtool.m4:80: AC_LIBTOOL_SETUP is expanded from...
238245 conftools/libtool.m4:60: _AC_PROG_LIBTOOL is expanded from...
261268 m4trace:configure.in:32: -1- m4_pattern_allow([^STRIP$])
262269 m4trace:configure.in:32: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
263270 You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
264 ../../lib/autoconf/general.m4:1424: AC_ARG_ENABLE is expanded from...
271 ../../lib/autoconf/general.m4:1463: AC_ARG_ENABLE is expanded from...
265272 conftools/libtool.m4:80: AC_LIBTOOL_SETUP is expanded from...
266273 conftools/libtool.m4:60: _AC_PROG_LIBTOOL is expanded from...
267274 conftools/libtool.m4:25: AC_PROG_LIBTOOL is expanded from...
268275 configure.in:32: the top level])
269276 m4trace:configure.in:32: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
270277 You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
271 ../../lib/autoconf/general.m4:1443: AC_ARG_WITH is expanded from...
272 conftools/libtool.m4:80: AC_LIBTOOL_SETUP is expanded from...
273 conftools/libtool.m4:60: _AC_PROG_LIBTOOL is expanded from...
274 conftools/libtool.m4:25: AC_PROG_LIBTOOL is expanded from...
275 configure.in:32: the top level])
276 m4trace:configure.in:32: -1- _m4_warn([syntax], [AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached], [../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
277 ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
278 ../../lib/autoconf/general.m4:1482: AC_ARG_WITH is expanded from...
279 conftools/libtool.m4:80: AC_LIBTOOL_SETUP is expanded from...
280 conftools/libtool.m4:60: _AC_PROG_LIBTOOL is expanded from...
281 conftools/libtool.m4:25: AC_PROG_LIBTOOL is expanded from...
282 configure.in:32: the top level])
283 m4trace:configure.in:32: -1- _m4_warn([syntax], [AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached], [../../lib/autoconf/general.m4:2019: AC_CACHE_VAL is expanded from...
284 ../../lib/autoconf/general.m4:2040: AC_CACHE_CHECK is expanded from...
278285 conftools/libtool.m4:615: AC_LIBTOOL_COMPILER_OPTION is expanded from...
279286 conftools/libtool.m4:4815: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
280287 conftools/libtool.m4:2651: _LT_AC_LANG_C_CONFIG is expanded from...
283290 conftools/libtool.m4:60: _AC_PROG_LIBTOOL is expanded from...
284291 conftools/libtool.m4:25: AC_PROG_LIBTOOL is expanded from...
285292 configure.in:32: the top level])
286 m4trace:configure.in:32: -1- _m4_warn([syntax], [AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached], [../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
287 ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
293 m4trace:configure.in:32: -1- _m4_warn([syntax], [AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached], [../../lib/autoconf/general.m4:2019: AC_CACHE_VAL is expanded from...
294 ../../lib/autoconf/general.m4:2040: AC_CACHE_CHECK is expanded from...
288295 conftools/libtool.m4:660: AC_LIBTOOL_LINKER_OPTION is expanded from...
289296 conftools/libtool.m4:4815: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
290297 conftools/libtool.m4:2651: _LT_AC_LANG_C_CONFIG is expanded from...
294301 conftools/libtool.m4:25: AC_PROG_LIBTOOL is expanded from...
295302 configure.in:32: the top level])
296303 m4trace:configure.in:32: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
297 You should run autoupdate.], [../../lib/autoconf/general.m4:2527: AC_TRY_LINK is expanded from...
298 ../../lib/m4sugar/m4sh.m4:505: AS_IF is expanded from...
299 ../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
300 ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
304 You should run autoupdate.], [../../lib/autoconf/general.m4:2675: AC_TRY_LINK is expanded from...
305 ../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from...
306 ../../lib/autoconf/general.m4:2019: AC_CACHE_VAL is expanded from...
307 ../../lib/autoconf/general.m4:2040: AC_CACHE_CHECK is expanded from...
301308 conftools/libtool.m4:469: _LT_AC_LOCK is expanded from...
302309 conftools/libtool.m4:1073: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
303310 conftools/libtool.m4:2651: _LT_AC_LANG_C_CONFIG is expanded from...
307314 conftools/libtool.m4:25: AC_PROG_LIBTOOL is expanded from...
308315 configure.in:32: the top level])
309316 m4trace:configure.in:32: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
310 #undef HAVE_DLFCN_H])
317 @%:@undef HAVE_DLFCN_H])
311318 m4trace:configure.in:32: -1- AC_SUBST([CPP])
312319 m4trace:configure.in:32: -1- AC_SUBST_TRACE([CPP])
313320 m4trace:configure.in:32: -1- m4_pattern_allow([^CPP$])
320327 m4trace:configure.in:32: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
321328 m4trace:configure.in:32: -1- m4_pattern_allow([^STDC_HEADERS$])
322329 m4trace:configure.in:32: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
323 #undef STDC_HEADERS])
330 @%:@undef STDC_HEADERS])
324331 m4trace:configure.in:32: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
325 #undef HAVE_SYS_TYPES_H])
332 @%:@undef HAVE_SYS_TYPES_H])
326333 m4trace:configure.in:32: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
327 #undef HAVE_SYS_STAT_H])
334 @%:@undef HAVE_SYS_STAT_H])
328335 m4trace:configure.in:32: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
329 #undef HAVE_STDLIB_H])
336 @%:@undef HAVE_STDLIB_H])
330337 m4trace:configure.in:32: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
331 #undef HAVE_STRING_H])
338 @%:@undef HAVE_STRING_H])
332339 m4trace:configure.in:32: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
333 #undef HAVE_MEMORY_H])
340 @%:@undef HAVE_MEMORY_H])
334341 m4trace:configure.in:32: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
335 #undef HAVE_STRINGS_H])
342 @%:@undef HAVE_STRINGS_H])
336343 m4trace:configure.in:32: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
337 #undef HAVE_INTTYPES_H])
344 @%:@undef HAVE_INTTYPES_H])
338345 m4trace:configure.in:32: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
339 #undef HAVE_STDINT_H])
346 @%:@undef HAVE_STDINT_H])
340347 m4trace:configure.in:32: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
341 #undef HAVE_UNISTD_H])
348 @%:@undef HAVE_UNISTD_H])
349 m4trace:configure.in:32: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DLFCN_H])
350 m4trace:configure.in:32: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
342351 m4trace:configure.in:32: -1- _LT_AC_TAGCONFIG
343352 m4trace:configure.in:32: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
344353 You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
345 ../../lib/autoconf/general.m4:1443: AC_ARG_WITH is expanded from...
346 conftools/libtool.m4:1787: _LT_AC_TAGCONFIG is expanded from...
347 conftools/libtool.m4:80: AC_LIBTOOL_SETUP is expanded from...
348 conftools/libtool.m4:60: _AC_PROG_LIBTOOL is expanded from...
349 conftools/libtool.m4:25: AC_PROG_LIBTOOL is expanded from...
350 configure.in:32: the top level])
351 m4trace:configure.in:32: -1- _m4_warn([obsolete], [back quotes and double quotes must not be escaped in: $as_me:$LINENO: error: tag name \"$tagname\" already exists], [../../lib/m4sugar/m4sh.m4:794: AS_ECHO is expanded from...
352 conftools/libtool.m4:1787: _LT_AC_TAGCONFIG is expanded from...
353 conftools/libtool.m4:80: AC_LIBTOOL_SETUP is expanded from...
354 conftools/libtool.m4:60: _AC_PROG_LIBTOOL is expanded from...
355 conftools/libtool.m4:25: AC_PROG_LIBTOOL is expanded from...
356 configure.in:32: the top level])
357 m4trace:configure.in:32: -1- _m4_warn([obsolete], [back quotes and double quotes must not be escaped in: $as_me: error: tag name \"$tagname\" already exists], [../../lib/m4sugar/m4sh.m4:794: AS_ECHO is expanded from...
358 conftools/libtool.m4:1787: _LT_AC_TAGCONFIG is expanded from...
354 ../../lib/autoconf/general.m4:1482: AC_ARG_WITH is expanded from...
355 conftools/libtool.m4:1787: _LT_AC_TAGCONFIG is expanded from...
356 conftools/libtool.m4:80: AC_LIBTOOL_SETUP is expanded from...
357 conftools/libtool.m4:60: _AC_PROG_LIBTOOL is expanded from...
358 conftools/libtool.m4:25: AC_PROG_LIBTOOL is expanded from...
359 configure.in:32: the top level])
360 m4trace:configure.in:32: -1- _m4_warn([obsolete], [back quotes and double quotes must not be escaped in: tag name \"$tagname\" already exists], [conftools/libtool.m4:1787: _LT_AC_TAGCONFIG is expanded from...
359361 conftools/libtool.m4:80: AC_LIBTOOL_SETUP is expanded from...
360362 conftools/libtool.m4:60: _AC_PROG_LIBTOOL is expanded from...
361363 conftools/libtool.m4:25: AC_PROG_LIBTOOL is expanded from...
390392 m4trace:configure.in:32: -1- AC_SUBST([CXXCPP])
391393 m4trace:configure.in:32: -1- AC_SUBST_TRACE([CXXCPP])
392394 m4trace:configure.in:32: -1- m4_pattern_allow([^CXXCPP$])
393 m4trace:configure.in:32: -1- _m4_warn([syntax], [AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached], [../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
394 ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
395 m4trace:configure.in:32: -1- _m4_warn([syntax], [AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached], [../../lib/autoconf/general.m4:2019: AC_CACHE_VAL is expanded from...
396 ../../lib/autoconf/general.m4:2040: AC_CACHE_CHECK is expanded from...
395397 conftools/libtool.m4:615: AC_LIBTOOL_COMPILER_OPTION is expanded from...
396398 conftools/libtool.m4:4815: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
397399 conftools/libtool.m4:2732: _LT_AC_LANG_CXX_CONFIG is expanded from...
401403 conftools/libtool.m4:60: _AC_PROG_LIBTOOL is expanded from...
402404 conftools/libtool.m4:25: AC_PROG_LIBTOOL is expanded from...
403405 configure.in:32: the top level])
404 m4trace:configure.in:32: -1- _m4_warn([syntax], [AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached], [../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
405 ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
406 m4trace:configure.in:32: -1- _m4_warn([syntax], [AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached], [../../lib/autoconf/general.m4:2019: AC_CACHE_VAL is expanded from...
407 ../../lib/autoconf/general.m4:2040: AC_CACHE_CHECK is expanded from...
406408 conftools/libtool.m4:660: AC_LIBTOOL_LINKER_OPTION is expanded from...
407409 conftools/libtool.m4:4815: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
408410 conftools/libtool.m4:2732: _LT_AC_LANG_CXX_CONFIG is expanded from...
430432 m4trace:configure.in:32: -1- AC_SUBST([ac_ct_F77])
431433 m4trace:configure.in:32: -1- AC_SUBST_TRACE([ac_ct_F77])
432434 m4trace:configure.in:32: -1- m4_pattern_allow([^ac_ct_F77$])
433 m4trace:configure.in:32: -1- _m4_warn([syntax], [AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached], [../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
434 ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
435 m4trace:configure.in:32: -1- _m4_warn([syntax], [AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached], [../../lib/autoconf/general.m4:2019: AC_CACHE_VAL is expanded from...
436 ../../lib/autoconf/general.m4:2040: AC_CACHE_CHECK is expanded from...
435437 conftools/libtool.m4:615: AC_LIBTOOL_COMPILER_OPTION is expanded from...
436438 conftools/libtool.m4:4815: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
437439 conftools/libtool.m4:3899: _LT_AC_LANG_F77_CONFIG is expanded from...
441443 conftools/libtool.m4:60: _AC_PROG_LIBTOOL is expanded from...
442444 conftools/libtool.m4:25: AC_PROG_LIBTOOL is expanded from...
443445 configure.in:32: the top level])
444 m4trace:configure.in:32: -1- _m4_warn([syntax], [AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached], [../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
445 ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
446 m4trace:configure.in:32: -1- _m4_warn([syntax], [AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached], [../../lib/autoconf/general.m4:2019: AC_CACHE_VAL is expanded from...
447 ../../lib/autoconf/general.m4:2040: AC_CACHE_CHECK is expanded from...
446448 conftools/libtool.m4:660: AC_LIBTOOL_LINKER_OPTION is expanded from...
447449 conftools/libtool.m4:4815: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
448450 conftools/libtool.m4:3899: _LT_AC_LANG_F77_CONFIG is expanded from...
453455 conftools/libtool.m4:25: AC_PROG_LIBTOOL is expanded from...
454456 configure.in:32: the top level])
455457 m4trace:configure.in:32: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
456 You should run autoupdate.], [../../lib/autoconf/lang.m4:148: AC_LANG_SAVE is expanded from...
458 You should run autoupdate.], [../../lib/autoconf/lang.m4:126: AC_LANG_SAVE is expanded from...
457459 conftools/libtool.m4:4001: _LT_AC_LANG_GCJ_CONFIG is expanded from...
458460 conftools/libtool.m4:4000: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
459461 conftools/libtool.m4:1787: _LT_AC_TAGCONFIG is expanded from...
461463 conftools/libtool.m4:60: _AC_PROG_LIBTOOL is expanded from...
462464 conftools/libtool.m4:25: AC_PROG_LIBTOOL is expanded from...
463465 configure.in:32: the top level])
464 m4trace:configure.in:32: -1- _m4_warn([syntax], [AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached], [../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
465 ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
466 m4trace:configure.in:32: -1- _m4_warn([syntax], [AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached], [../../lib/autoconf/general.m4:2019: AC_CACHE_VAL is expanded from...
467 ../../lib/autoconf/general.m4:2040: AC_CACHE_CHECK is expanded from...
466468 conftools/libtool.m4:615: AC_LIBTOOL_COMPILER_OPTION is expanded from...
467469 conftools/libtool.m4:4815: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
468470 conftools/libtool.m4:4001: _LT_AC_LANG_GCJ_CONFIG is expanded from...
472474 conftools/libtool.m4:60: _AC_PROG_LIBTOOL is expanded from...
473475 conftools/libtool.m4:25: AC_PROG_LIBTOOL is expanded from...
474476 configure.in:32: the top level])
475 m4trace:configure.in:32: -1- _m4_warn([syntax], [AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached], [../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
476 ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
477 m4trace:configure.in:32: -1- _m4_warn([syntax], [AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached], [../../lib/autoconf/general.m4:2019: AC_CACHE_VAL is expanded from...
478 ../../lib/autoconf/general.m4:2040: AC_CACHE_CHECK is expanded from...
477479 conftools/libtool.m4:660: AC_LIBTOOL_LINKER_OPTION is expanded from...
478480 conftools/libtool.m4:4815: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
479481 conftools/libtool.m4:4001: _LT_AC_LANG_GCJ_CONFIG is expanded from...
484486 conftools/libtool.m4:25: AC_PROG_LIBTOOL is expanded from...
485487 configure.in:32: the top level])
486488 m4trace:configure.in:32: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
487 You should run autoupdate.], [../../lib/autoconf/lang.m4:157: AC_LANG_RESTORE is expanded from...
489 You should run autoupdate.], [../../lib/autoconf/lang.m4:135: AC_LANG_RESTORE is expanded from...
488490 conftools/libtool.m4:4001: _LT_AC_LANG_GCJ_CONFIG is expanded from...
489491 conftools/libtool.m4:4000: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
490492 conftools/libtool.m4:1787: _LT_AC_TAGCONFIG is expanded from...
493495 conftools/libtool.m4:25: AC_PROG_LIBTOOL is expanded from...
494496 configure.in:32: the top level])
495497 m4trace:configure.in:32: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
496 You should run autoupdate.], [../../lib/autoconf/lang.m4:148: AC_LANG_SAVE is expanded from...
498 You should run autoupdate.], [../../lib/autoconf/lang.m4:126: AC_LANG_SAVE is expanded from...
497499 conftools/libtool.m4:4061: _LT_AC_LANG_RC_CONFIG is expanded from...
498500 conftools/libtool.m4:4060: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
499501 conftools/libtool.m4:1787: _LT_AC_TAGCONFIG is expanded from...
502504 conftools/libtool.m4:25: AC_PROG_LIBTOOL is expanded from...
503505 configure.in:32: the top level])
504506 m4trace:configure.in:32: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
505 You should run autoupdate.], [../../lib/autoconf/lang.m4:157: AC_LANG_RESTORE is expanded from...
507 You should run autoupdate.], [../../lib/autoconf/lang.m4:135: AC_LANG_RESTORE is expanded from...
506508 conftools/libtool.m4:4061: _LT_AC_LANG_RC_CONFIG is expanded from...
507509 conftools/libtool.m4:4060: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
508510 conftools/libtool.m4:1787: _LT_AC_TAGCONFIG is expanded from...
563565 m4trace:configure.in:40: -1- AC_SUBST_TRACE([INSTALL_DATA])
564566 m4trace:configure.in:40: -1- m4_pattern_allow([^INSTALL_DATA$])
565567 m4trace:configure.in:51: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
566 You should run autoupdate.], [../../lib/autoconf/general.m4:2527: AC_TRY_LINK is expanded from...
568 You should run autoupdate.], [../../lib/autoconf/general.m4:2675: AC_TRY_LINK is expanded from...
567569 configure.in:51: the top level])
568570 m4trace:configure.in:58: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
569571 m4trace:configure.in:58: -1- m4_pattern_allow([^STDC_HEADERS$])
570572 m4trace:configure.in:58: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
571 #undef STDC_HEADERS])
573 @%:@undef STDC_HEADERS])
572574 m4trace:configure.in:64: -1- AH_OUTPUT([HAVE_ZLIB_H], [/* Define to 1 if you have the <zlib.h> header file. */
573 #undef HAVE_ZLIB_H])
575 @%:@undef HAVE_ZLIB_H])
576 m4trace:configure.in:64: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ZLIB_H])
577 m4trace:configure.in:64: -1- m4_pattern_allow([^HAVE_ZLIB_H$])
574578 m4trace:configure.in:72: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ZLIB])
575579 m4trace:configure.in:72: -1- m4_pattern_allow([^HAVE_ZLIB$])
576580 m4trace:configure.in:72: -1- AH_OUTPUT([HAVE_ZLIB], [/* whether we have zlib */
577 #undef HAVE_ZLIB])
581 @%:@undef HAVE_ZLIB])
578582 m4trace:configure.in:75: -1- AC_DEFINE_TRACE_LITERAL([ENABLE_TESTS])
579583 m4trace:configure.in:75: -1- m4_pattern_allow([^ENABLE_TESTS$])
580584 m4trace:configure.in:75: -1- AH_OUTPUT([ENABLE_TESTS], [/* whether we should compile the test-suite */
581 #undef ENABLE_TESTS])
582 m4trace:configure.in:79: -1- AH_OUTPUT([HAVE_ICONV_H], [/* Define to 1 if you have the <iconv.h> header file. */
583 #undef HAVE_ICONV_H])
584 m4trace:configure.in:88: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
585 You should run autoupdate.], [../../lib/autoconf/general.m4:2592: AC_TRY_RUN is expanded from...
586 configure.in:88: the top level])
587 m4trace:configure.in:88: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [../../lib/autoconf/general.m4:2576: AC_RUN_IFELSE is expanded from...
588 ../../lib/autoconf/general.m4:2592: AC_TRY_RUN is expanded from...
589 configure.in:88: the top level])
590 m4trace:configure.in:112: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
591 You should run autoupdate.], [../../lib/autoconf/general.m4:2592: AC_TRY_RUN is expanded from...
592 configure.in:112: the top level])
593 m4trace:configure.in:112: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [../../lib/autoconf/general.m4:2576: AC_RUN_IFELSE is expanded from...
594 ../../lib/autoconf/general.m4:2592: AC_TRY_RUN is expanded from...
595 configure.in:112: the top level])
596 m4trace:configure.in:133: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ICONV])
597 m4trace:configure.in:133: -1- m4_pattern_allow([^HAVE_ICONV$])
598 m4trace:configure.in:133: -1- AH_OUTPUT([HAVE_ICONV], [/* whether we have iconv for charset conversion */
599 #undef HAVE_ICONV])
600 m4trace:configure.in:139: -1- AH_OUTPUT([HAVE_BACKTRACE], [/* Define to 1 if you have the `backtrace\' function. */
601 #undef HAVE_BACKTRACE])
602 m4trace:configure.in:153: -1- AH_OUTPUT([HAVE_ZLIB_H], [/* Define to 1 if you have the <zlib.h> header file. */
603 #undef HAVE_ZLIB_H])
604 m4trace:configure.in:161: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ZLIB])
605 m4trace:configure.in:161: -1- m4_pattern_allow([^HAVE_ZLIB$])
606 m4trace:configure.in:161: -1- AH_OUTPUT([HAVE_ZLIB], [/* whether we have zlib */
607 #undef HAVE_ZLIB])
608 m4trace:configure.in:167: -1- AC_SUBST([LIBS])
609 m4trace:configure.in:167: -1- AC_SUBST_TRACE([LIBS])
610 m4trace:configure.in:167: -1- m4_pattern_allow([^LIBS$])
611 m4trace:configure.in:168: -1- AC_DEFINE_TRACE_LITERAL([const])
612 m4trace:configure.in:168: -1- m4_pattern_allow([^const$])
613 m4trace:configure.in:168: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */
614 #undef const])
615 m4trace:configure.in:169: -1- AC_DEFINE_TRACE_LITERAL([size_t])
616 m4trace:configure.in:169: -1- m4_pattern_allow([^size_t$])
617 m4trace:configure.in:169: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
618 #undef size_t])
619 m4trace:configure.in:170: -1- AH_OUTPUT([HAVE_MEMMOVE], [/* Define to 1 if you have the `memmove\' function. */
620 #undef HAVE_MEMMOVE])
621 m4trace:configure.in:170: -1- AH_OUTPUT([HAVE_BCOPY], [/* Define to 1 if you have the `bcopy\' function. */
622 #undef HAVE_BCOPY])
623 m4trace:configure.in:172: -1- AC_CONFIG_FILES([Makefile libcitadel.pc tests/Makefile])
624 m4trace:configure.in:173: -1- AC_CONFIG_HEADERS([sysdep.h])
625 m4trace:configure.in:174: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
626 m4trace:configure.in:174: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
627 m4trace:configure.in:174: -1- m4_pattern_allow([^LIB@&t@OBJS$])
628 m4trace:configure.in:174: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
629 m4trace:configure.in:174: -1- AC_SUBST_TRACE([LTLIBOBJS])
630 m4trace:configure.in:174: -1- m4_pattern_allow([^LTLIBOBJS$])
631 m4trace:configure.in:174: -1- AC_SUBST_TRACE([top_builddir])
632 m4trace:configure.in:174: -1- AC_SUBST_TRACE([top_build_prefix])
633 m4trace:configure.in:174: -1- AC_SUBST_TRACE([srcdir])
634 m4trace:configure.in:174: -1- AC_SUBST_TRACE([abs_srcdir])
635 m4trace:configure.in:174: -1- AC_SUBST_TRACE([top_srcdir])
636 m4trace:configure.in:174: -1- AC_SUBST_TRACE([abs_top_srcdir])
637 m4trace:configure.in:174: -1- AC_SUBST_TRACE([builddir])
638 m4trace:configure.in:174: -1- AC_SUBST_TRACE([abs_builddir])
639 m4trace:configure.in:174: -1- AC_SUBST_TRACE([abs_top_builddir])
640 m4trace:configure.in:174: -1- AC_SUBST_TRACE([INSTALL])
585 @%:@undef ENABLE_TESTS])
586 m4trace:configure.in:77: -1- AC_DEFINE_TRACE_LITERAL([LINUX_SENDFILE])
587 m4trace:configure.in:77: -1- m4_pattern_allow([^LINUX_SENDFILE$])
588 m4trace:configure.in:77: -1- AH_OUTPUT([LINUX_SENDFILE], [/* whether we have the linux sendfile api */
589 @%:@undef LINUX_SENDFILE])
590 m4trace:configure.in:81: -1- AH_OUTPUT([HAVE_ICONV_H], [/* Define to 1 if you have the <iconv.h> header file. */
591 @%:@undef HAVE_ICONV_H])
592 m4trace:configure.in:81: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ICONV_H])
593 m4trace:configure.in:81: -1- m4_pattern_allow([^HAVE_ICONV_H$])
594 m4trace:configure.in:90: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
595 You should run autoupdate.], [../../lib/autoconf/general.m4:2752: AC_TRY_RUN is expanded from...
596 configure.in:90: the top level])
597 m4trace:configure.in:90: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [../../lib/autoconf/general.m4:2736: AC_RUN_IFELSE is expanded from...
598 ../../lib/autoconf/general.m4:2752: AC_TRY_RUN is expanded from...
599 configure.in:90: the top level])
600 m4trace:configure.in:114: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
601 You should run autoupdate.], [../../lib/autoconf/general.m4:2752: AC_TRY_RUN is expanded from...
602 configure.in:114: the top level])
603 m4trace:configure.in:114: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [../../lib/autoconf/general.m4:2736: AC_RUN_IFELSE is expanded from...
604 ../../lib/autoconf/general.m4:2752: AC_TRY_RUN is expanded from...
605 configure.in:114: the top level])
606 m4trace:configure.in:135: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ICONV])
607 m4trace:configure.in:135: -1- m4_pattern_allow([^HAVE_ICONV$])
608 m4trace:configure.in:135: -1- AH_OUTPUT([HAVE_ICONV], [/* whether we have iconv for charset conversion */
609 @%:@undef HAVE_ICONV])
610 m4trace:configure.in:141: -1- AH_OUTPUT([HAVE_BACKTRACE], [/* Define to 1 if you have the `backtrace\' function. */
611 @%:@undef HAVE_BACKTRACE])
612 m4trace:configure.in:141: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BACKTRACE])
613 m4trace:configure.in:141: -1- m4_pattern_allow([^HAVE_BACKTRACE$])
614 m4trace:configure.in:155: -1- AH_OUTPUT([HAVE_ZLIB_H], [/* Define to 1 if you have the <zlib.h> header file. */
615 @%:@undef HAVE_ZLIB_H])
616 m4trace:configure.in:155: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ZLIB_H])
617 m4trace:configure.in:155: -1- m4_pattern_allow([^HAVE_ZLIB_H$])
618 m4trace:configure.in:163: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ZLIB])
619 m4trace:configure.in:163: -1- m4_pattern_allow([^HAVE_ZLIB$])
620 m4trace:configure.in:163: -1- AH_OUTPUT([HAVE_ZLIB], [/* whether we have zlib */
621 @%:@undef HAVE_ZLIB])
622 m4trace:configure.in:169: -1- AC_SUBST([LIBS])
623 m4trace:configure.in:169: -1- AC_SUBST_TRACE([LIBS])
624 m4trace:configure.in:169: -1- m4_pattern_allow([^LIBS$])
625 m4trace:configure.in:170: -1- AC_DEFINE_TRACE_LITERAL([const])
626 m4trace:configure.in:170: -1- m4_pattern_allow([^const$])
627 m4trace:configure.in:170: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */
628 @%:@undef const])
629 m4trace:configure.in:171: -1- AC_DEFINE_TRACE_LITERAL([size_t])
630 m4trace:configure.in:171: -1- m4_pattern_allow([^size_t$])
631 m4trace:configure.in:171: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
632 @%:@undef size_t])
633 m4trace:configure.in:172: -1- AH_OUTPUT([HAVE_MEMMOVE], [/* Define to 1 if you have the `memmove\' function. */
634 @%:@undef HAVE_MEMMOVE])
635 m4trace:configure.in:172: -1- AH_OUTPUT([HAVE_BCOPY], [/* Define to 1 if you have the `bcopy\' function. */
636 @%:@undef HAVE_BCOPY])
637 m4trace:configure.in:174: -1- AC_CONFIG_FILES([Makefile libcitadel.pc tests/Makefile])
638 m4trace:configure.in:175: -1- AC_CONFIG_HEADERS([sysdep.h])
639 m4trace:configure.in:176: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
640 m4trace:configure.in:176: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
641 m4trace:configure.in:176: -1- m4_pattern_allow([^LIB@&t@OBJS$])
642 m4trace:configure.in:176: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
643 m4trace:configure.in:176: -1- AC_SUBST_TRACE([LTLIBOBJS])
644 m4trace:configure.in:176: -1- m4_pattern_allow([^LTLIBOBJS$])
645 m4trace:configure.in:176: -1- AC_SUBST_TRACE([top_builddir])
646 m4trace:configure.in:176: -1- AC_SUBST_TRACE([top_build_prefix])
647 m4trace:configure.in:176: -1- AC_SUBST_TRACE([srcdir])
648 m4trace:configure.in:176: -1- AC_SUBST_TRACE([abs_srcdir])
649 m4trace:configure.in:176: -1- AC_SUBST_TRACE([top_srcdir])
650 m4trace:configure.in:176: -1- AC_SUBST_TRACE([abs_top_srcdir])
651 m4trace:configure.in:176: -1- AC_SUBST_TRACE([builddir])
652 m4trace:configure.in:176: -1- AC_SUBST_TRACE([abs_builddir])
653 m4trace:configure.in:176: -1- AC_SUBST_TRACE([abs_top_builddir])
654 m4trace:configure.in:176: -1- AC_SUBST_TRACE([INSTALL])
+2459
-4614
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.63 for libcitadel 8.05.
2 # Generated by GNU Autoconf 2.67 for libcitadel 2.8.11.
33 #
44 # Report bugs to <http://uncensored.citadel.org>.
55 #
6 #
67 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
9 # Foundation, Inc.
10 #
11 #
812 # This configure script is free software; the Free Software Foundation
913 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
1317
1418 # Be more Bourne compatible
1519 DUALCASE=1; export DUALCASE # for MKS sh
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1721 emulate sh
1822 NULLCMD=:
1923 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2125 alias -g '${1+"$@"}'='"$@"'
2226 setopt NO_GLOB_SUBST
2327 else
24 case `(set -o) 2>/dev/null` in
25 *posix*) set -o posix ;;
28 case `(set -o) 2>/dev/null` in #(
29 *posix*) :
30 set -o posix ;; #(
31 *) :
32 ;;
2633 esac
27
28 fi
29
30
31
32
33 # PATH needs CR
34 # Avoid depending upon Character Ranges.
35 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
36 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
37 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
38 as_cr_digits='0123456789'
39 as_cr_alnum=$as_cr_Letters$as_cr_digits
34 fi
35
4036
4137 as_nl='
4238 '
4541 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4642 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4743 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
48 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='print -r --'
49 as_echo_n='print -rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4951 as_echo='printf %s\n'
5052 as_echo_n='printf %s'
5153 else
5658 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5759 as_echo_n_body='eval
5860 arg=$1;
59 case $arg in
61 case $arg in #(
6062 *"$as_nl"*)
6163 expr "X$arg" : "X\\(.*\\)$as_nl";
6264 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7981 }
8082 fi
8183
82 # Support unset when possible.
83 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
84 as_unset=unset
85 else
86 as_unset=false
87 fi
88
8984
9085 # IFS
9186 # We need space, tab and new line, in precisely that order. Quoting is
9590 IFS=" "" $as_nl"
9691
9792 # Find who we are. Look in the path if we contain no directory separator.
98 case $0 in
93 case $0 in #((
9994 *[\\/]* ) as_myself=$0 ;;
10095 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10196 for as_dir in $PATH
10297 do
10398 IFS=$as_save_IFS
10499 test -z "$as_dir" && as_dir=.
105 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 done
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
107102 IFS=$as_save_IFS
108103
109104 ;;
115110 fi
116111 if test ! -f "$as_myself"; then
117112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 { (exit 1); exit 1; }
119 fi
120
121 # Work around bugs in pre-3.0 UWIN ksh.
122 for as_var in ENV MAIL MAILPATH
123 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124123 done
125124 PS1='$ '
126125 PS2='> '
132131 LANGUAGE=C
133132 export LANGUAGE
134133
135 # Required to use basename.
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139 emulate sh
140 NULLCMD=:
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
144 setopt NO_GLOB_SUBST
145 else
146 case \`(set -o) 2>/dev/null\` in #(
147 *posix*) :
148 set -o posix ;; #(
149 *) :
150 ;;
151 esac
152 fi
153 "
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
159
160 exitcode=0
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166
167 else
168 exitcode=1; echo positional parameters were not saved.
169 fi
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev/null; then :
177 as_have_required=yes
178 else
179 as_have_required=no
180 fi
181 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182
183 else
184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 as_found=false
186 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187 do
188 IFS=$as_save_IFS
189 test -z "$as_dir" && as_dir=.
190 as_found=:
191 case $as_dir in #(
192 /*)
193 for as_base in sh bash ksh sh5; do
194 # Try only shells that exist, to save several forks.
195 as_shell=$as_dir/$as_base
196 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198 CONFIG_SHELL=$as_shell as_have_required=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 break 2
201 fi
202 fi
203 done;;
204 esac
205 as_found=false
206 done
207 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209 CONFIG_SHELL=$SHELL as_have_required=yes
210 fi; }
211 IFS=$as_save_IFS
212
213
214 if test "x$CONFIG_SHELL" != x; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 BASH_ENV=/dev/null
219 ENV=/dev/null
220 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 export CONFIG_SHELL
222 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
223 fi
224
225 if test x$as_have_required = xno; then :
226 $as_echo "$0: This script requires a shell more modern than all"
227 $as_echo "$0: the shells that I found on your system."
228 if test x${ZSH_VERSION+set} = xset ; then
229 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
230 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 else
232 $as_echo "$0: Please tell bug-autoconf@gnu.org and
233 $0: http://uncensored.citadel.org about your system,
234 $0: including any error possibly output before this
235 $0: message. Then install a modern shell, or manually run
236 $0: the script under such a shell if you do have one."
237 fi
238 exit 1
239 fi
240 fi
241 fi
242 SHELL=${CONFIG_SHELL-/bin/sh}
243 export SHELL
244 # Unset more variables known to interfere with behavior of common tools.
245 CLICOLOR_FORCE= GREP_OPTIONS=
246 unset CLICOLOR_FORCE GREP_OPTIONS
247
248 ## --------------------- ##
249 ## M4sh Shell Functions. ##
250 ## --------------------- ##
251 # as_fn_unset VAR
252 # ---------------
253 # Portably unset VAR.
254 as_fn_unset ()
255 {
256 { eval $1=; unset $1;}
257 }
258 as_unset=as_fn_unset
259
260 # as_fn_set_status STATUS
261 # -----------------------
262 # Set $? to STATUS, without forking.
263 as_fn_set_status ()
264 {
265 return $1
266 } # as_fn_set_status
267
268 # as_fn_exit STATUS
269 # -----------------
270 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
271 as_fn_exit ()
272 {
273 set +e
274 as_fn_set_status $1
275 exit $1
276 } # as_fn_exit
277
278 # as_fn_mkdir_p
279 # -------------
280 # Create "$as_dir" as a directory, including parents if necessary.
281 as_fn_mkdir_p ()
282 {
283
284 case $as_dir in #(
285 -*) as_dir=./$as_dir;;
286 esac
287 test -d "$as_dir" || eval $as_mkdir_p || {
288 as_dirs=
289 while :; do
290 case $as_dir in #(
291 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 *) as_qdir=$as_dir;;
293 esac
294 as_dirs="'$as_qdir' $as_dirs"
295 as_dir=`$as_dirname -- "$as_dir" ||
296 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
297 X"$as_dir" : 'X\(//\)[^/]' \| \
298 X"$as_dir" : 'X\(//\)$' \| \
299 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
300 $as_echo X"$as_dir" |
301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
302 s//\1/
303 q
304 }
305 /^X\(\/\/\)[^/].*/{
306 s//\1/
307 q
308 }
309 /^X\(\/\/\)$/{
310 s//\1/
311 q
312 }
313 /^X\(\/\).*/{
314 s//\1/
315 q
316 }
317 s/.*/./; q'`
318 test -d "$as_dir" && break
319 done
320 test -z "$as_dirs" || eval "mkdir $as_dirs"
321 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
322
323
324 } # as_fn_mkdir_p
325 # as_fn_append VAR VALUE
326 # ----------------------
327 # Append the text in VALUE to the end of the definition contained in VAR. Take
328 # advantage of any shell optimizations that allow amortized linear growth over
329 # repeated appends, instead of the typical quadratic growth present in naive
330 # implementations.
331 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
332 eval 'as_fn_append ()
333 {
334 eval $1+=\$2
335 }'
336 else
337 as_fn_append ()
338 {
339 eval $1=\$$1\$2
340 }
341 fi # as_fn_append
342
343 # as_fn_arith ARG...
344 # ------------------
345 # Perform arithmetic evaluation on the ARGs, and store the result in the
346 # global $as_val. Take advantage of shells that can avoid forks. The arguments
347 # must be portable across $(()) and expr.
348 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
349 eval 'as_fn_arith ()
350 {
351 as_val=$(( $* ))
352 }'
353 else
354 as_fn_arith ()
355 {
356 as_val=`expr "$@" || test $? -eq 1`
357 }
358 fi # as_fn_arith
359
360
361 # as_fn_error STATUS ERROR [LINENO LOG_FD]
362 # ----------------------------------------
363 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
364 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
365 # script with STATUS, using 1 if that was 0.
366 as_fn_error ()
367 {
368 as_status=$1; test $as_status -eq 0 && as_status=1
369 if test "$4"; then
370 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
371 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
372 fi
373 $as_echo "$as_me: error: $2" >&2
374 as_fn_exit $as_status
375 } # as_fn_error
376
136377 if expr a : '\(a\)' >/dev/null 2>&1 &&
137378 test "X`expr 00001 : '.*\(...\)'`" = X001; then
138379 as_expr=expr
146387 as_basename=false
147388 fi
148389
149
150 # Name of the executable.
390 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
391 as_dirname=dirname
392 else
393 as_dirname=false
394 fi
395
151396 as_me=`$as_basename -- "$0" ||
152397 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
153398 X"$0" : 'X\(//\)$' \| \
167412 }
168413 s/.*/./; q'`
169414
170 # CDPATH.
171 $as_unset CDPATH
172
173
174 if test "x$CONFIG_SHELL" = x; then
175 if (eval ":") 2>/dev/null; then
176 as_have_required=yes
177 else
178 as_have_required=no
179 fi
180
181 if test $as_have_required = yes && (eval ":
182 (as_func_return () {
183 (exit \$1)
184 }
185 as_func_success () {
186 as_func_return 0
187 }
188 as_func_failure () {
189 as_func_return 1
190 }
191 as_func_ret_success () {
192 return 0
193 }
194 as_func_ret_failure () {
195 return 1
196 }
197
198 exitcode=0
199 if as_func_success; then
200 :
201 else
202 exitcode=1
203 echo as_func_success failed.
204 fi
205
206 if as_func_failure; then
207 exitcode=1
208 echo as_func_failure succeeded.
209 fi
210
211 if as_func_ret_success; then
212 :
213 else
214 exitcode=1
215 echo as_func_ret_success failed.
216 fi
217
218 if as_func_ret_failure; then
219 exitcode=1
220 echo as_func_ret_failure succeeded.
221 fi
222
223 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
224 :
225 else
226 exitcode=1
227 echo positional parameters were not saved.
228 fi
229
230 test \$exitcode = 0) || { (exit 1); exit 1; }
231
232 (
233 as_lineno_1=\$LINENO
234 as_lineno_2=\$LINENO
235 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
236 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
237 ") 2> /dev/null; then
238 :
239 else
240 as_candidate_shells=
241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
242 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
243 do
244 IFS=$as_save_IFS
245 test -z "$as_dir" && as_dir=.
246 case $as_dir in
247 /*)
248 for as_base in sh bash ksh sh5; do
249 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
250 done;;
251 esac
252 done
253 IFS=$as_save_IFS
254
255
256 for as_shell in $as_candidate_shells $SHELL; do
257 # Try only shells that exist, to save several forks.
258 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
259 { ("$as_shell") 2> /dev/null <<\_ASEOF
260 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
261 emulate sh
262 NULLCMD=:
263 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
264 # is contrary to our usage. Disable this feature.
265 alias -g '${1+"$@"}'='"$@"'
266 setopt NO_GLOB_SUBST
267 else
268 case `(set -o) 2>/dev/null` in
269 *posix*) set -o posix ;;
270 esac
271
272 fi
273
274
275 :
276 _ASEOF
277 }; then
278 CONFIG_SHELL=$as_shell
279 as_have_required=yes
280 if { "$as_shell" 2> /dev/null <<\_ASEOF
281 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
282 emulate sh
283 NULLCMD=:
284 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
285 # is contrary to our usage. Disable this feature.
286 alias -g '${1+"$@"}'='"$@"'
287 setopt NO_GLOB_SUBST
288 else
289 case `(set -o) 2>/dev/null` in
290 *posix*) set -o posix ;;
291 esac
292
293 fi
294
295
296 :
297 (as_func_return () {
298 (exit $1)
299 }
300 as_func_success () {
301 as_func_return 0
302 }
303 as_func_failure () {
304 as_func_return 1
305 }
306 as_func_ret_success () {
307 return 0
308 }
309 as_func_ret_failure () {
310 return 1
311 }
312
313 exitcode=0
314 if as_func_success; then
315 :
316 else
317 exitcode=1
318 echo as_func_success failed.
319 fi
320
321 if as_func_failure; then
322 exitcode=1
323 echo as_func_failure succeeded.
324 fi
325
326 if as_func_ret_success; then
327 :
328 else
329 exitcode=1
330 echo as_func_ret_success failed.
331 fi
332
333 if as_func_ret_failure; then
334 exitcode=1
335 echo as_func_ret_failure succeeded.
336 fi
337
338 if ( set x; as_func_ret_success y && test x = "$1" ); then
339 :
340 else
341 exitcode=1
342 echo positional parameters were not saved.
343 fi
344
345 test $exitcode = 0) || { (exit 1); exit 1; }
346
347 (
348 as_lineno_1=$LINENO
349 as_lineno_2=$LINENO
350 test "x$as_lineno_1" != "x$as_lineno_2" &&
351 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
352
353 _ASEOF
354 }; then
355 break
356 fi
357
358 fi
359
360 done
361
362 if test "x$CONFIG_SHELL" != x; then
363 for as_var in BASH_ENV ENV
364 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
365 done
366 export CONFIG_SHELL
367 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
368 fi
369
370
371 if test $as_have_required = no; then
372 echo This script requires a shell more modern than all the
373 echo shells that I found on your system. Please install a
374 echo modern shell, or manually run the script under such a
375 echo shell if you do have one.
376 { (exit 1); exit 1; }
377 fi
378
379
380 fi
381
382 fi
383
384
385
386 (eval "as_func_return () {
387 (exit \$1)
388 }
389 as_func_success () {
390 as_func_return 0
391 }
392 as_func_failure () {
393 as_func_return 1
394 }
395 as_func_ret_success () {
396 return 0
397 }
398 as_func_ret_failure () {
399 return 1
400 }
401
402 exitcode=0
403 if as_func_success; then
404 :
405 else
406 exitcode=1
407 echo as_func_success failed.
408 fi
409
410 if as_func_failure; then
411 exitcode=1
412 echo as_func_failure succeeded.
413 fi
414
415 if as_func_ret_success; then
416 :
417 else
418 exitcode=1
419 echo as_func_ret_success failed.
420 fi
421
422 if as_func_ret_failure; then
423 exitcode=1
424 echo as_func_ret_failure succeeded.
425 fi
426
427 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
428 :
429 else
430 exitcode=1
431 echo positional parameters were not saved.
432 fi
433
434 test \$exitcode = 0") || {
435 echo No shell found that supports shell functions.
436 echo Please tell bug-autoconf@gnu.org about your system,
437 echo including any error possibly output before this message.
438 echo This can help us improve future autoconf versions.
439 echo Configuration will now proceed without shell functions.
440 }
441
442
443
444 as_lineno_1=$LINENO
445 as_lineno_2=$LINENO
446 test "x$as_lineno_1" != "x$as_lineno_2" &&
447 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448
449 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
450 # uniformly replaced by the line number. The first 'sed' inserts a
451 # line-number line after each line using $LINENO; the second 'sed'
452 # does the real work. The second script uses 'N' to pair each
453 # line-number line with the line containing $LINENO, and appends
454 # trailing '-' during substitution so that $LINENO is not a special
455 # case at line end.
456 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
457 # scripts with optimization help from Paolo Bonzini. Blame Lee
458 # E. McMahon (1931-1989) for sed's syntax. :-)
415 # Avoid depending upon Character Ranges.
416 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
417 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
418 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
419 as_cr_digits='0123456789'
420 as_cr_alnum=$as_cr_Letters$as_cr_digits
421
422
423 as_lineno_1=$LINENO as_lineno_1a=$LINENO
424 as_lineno_2=$LINENO as_lineno_2a=$LINENO
425 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
426 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
427 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
459428 sed -n '
460429 p
461430 /[$]LINENO/=
472441 s/-\n.*//
473442 ' >$as_me.lineno &&
474443 chmod +x "$as_me.lineno" ||
475 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
476 { (exit 1); exit 1; }; }
444 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
477445
478446 # Don't try to exec as it changes $[0], causing all sort of problems
479447 # (the dirname of $[0] is not the place where we might find the
483451 exit
484452 }
485453
486
487 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
488 as_dirname=dirname
489 else
490 as_dirname=false
491 fi
492
493454 ECHO_C= ECHO_N= ECHO_T=
494 case `echo -n x` in
455 case `echo -n x` in #(((((
495456 -n*)
496 case `echo 'x\c'` in
457 case `echo 'xy\c'` in
497458 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
498 *) ECHO_C='\c';;
459 xy) ECHO_C='\c';;
460 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
461 ECHO_T=' ';;
499462 esac;;
500463 *)
501464 ECHO_N='-n';;
502465 esac
503 if expr a : '\(a\)' >/dev/null 2>&1 &&
504 test "X`expr 00001 : '.*\(...\)'`" = X001; then
505 as_expr=expr
506 else
507 as_expr=false
508 fi
509466
510467 rm -f conf$$ conf$$.exe conf$$.file
511468 if test -d conf$$.dir; then
535492 rmdir conf$$.dir 2>/dev/null
536493
537494 if mkdir -p . 2>/dev/null; then
538 as_mkdir_p=:
495 as_mkdir_p='mkdir -p "$as_dir"'
539496 else
540497 test -d ./-p && rmdir ./-p
541498 as_mkdir_p=false
554511 if test -d "$1"; then
555512 test -d "$1/.";
556513 else
557 case $1 in
514 case $1 in #(
558515 -*)set "./$1";;
559516 esac;
560 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
517 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
561518 ???[sx]*):;;*)false;;esac;fi
562519 '\'' sh
563520 '
569526
570527 # Sed expression to map a string onto a valid variable name.
571528 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
572
573529
574530
575531
726682
727683 tagnames=${tagnames+${tagnames},}F77
728684
729 exec 7<&0 </dev/null 6>&1
685 test -n "$DJDIR" || exec 7<&0 </dev/null
686 exec 6>&1
730687
731688 # Name of the host.
732 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
689 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
733690 # so uname gets run too.
734691 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
735692
744701 subdirs=
745702 MFLAGS=
746703 MAKEFLAGS=
747 SHELL=${CONFIG_SHELL-/bin/sh}
748704
749705 # Identity of this package.
750706 PACKAGE_NAME='libcitadel'
751707 PACKAGE_TARNAME='libcitadel'
752 PACKAGE_VERSION='8.05'
753 PACKAGE_STRING='libcitadel 8.05'
708 PACKAGE_VERSION='2.8.11'
709 PACKAGE_STRING='libcitadel 2.8.11'
754710 PACKAGE_BUGREPORT='http://uncensored.citadel.org'
711 PACKAGE_URL=''
755712
756713 ac_unique_file="Makefile.in"
757714 ac_unique_file="tests/Makefile.in"
860817 program_transform_name
861818 prefix
862819 exec_prefix
820 PACKAGE_URL
863821 PACKAGE_BUGREPORT
864822 PACKAGE_STRING
865823 PACKAGE_VERSION
958916 fi
959917
960918 case $ac_option in
961 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
962 *) ac_optarg=yes ;;
919 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
920 *=) ac_optarg= ;;
921 *) ac_optarg=yes ;;
963922 esac
964923
965924 # Accept the important Cygnus configure options, so we can diagnose typos.
1004963 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1005964 # Reject names that are not valid shell variable names.
1006965 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1007 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1008 { (exit 1); exit 1; }; }
966 as_fn_error $? "invalid feature name: $ac_useropt"
1009967 ac_useropt_orig=$ac_useropt
1010968 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1011969 case $ac_user_opts in
1031989 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1032990 # Reject names that are not valid shell variable names.
1033991 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1034 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1035 { (exit 1); exit 1; }; }
992 as_fn_error $? "invalid feature name: $ac_useropt"
1036993 ac_useropt_orig=$ac_useropt
1037994 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038995 case $ac_user_opts in
12361193 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
12371194 # Reject names that are not valid shell variable names.
12381195 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1239 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1240 { (exit 1); exit 1; }; }
1196 as_fn_error $? "invalid package name: $ac_useropt"
12411197 ac_useropt_orig=$ac_useropt
12421198 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
12431199 case $ac_user_opts in
12531209 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
12541210 # Reject names that are not valid shell variable names.
12551211 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1256 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1257 { (exit 1); exit 1; }; }
1212 as_fn_error $? "invalid package name: $ac_useropt"
12581213 ac_useropt_orig=$ac_useropt
12591214 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
12601215 case $ac_user_opts in
12841239 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
12851240 x_libraries=$ac_optarg ;;
12861241
1287 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1288 Try \`$0 --help' for more information." >&2
1289 { (exit 1); exit 1; }; }
1242 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1243 Try \`$0 --help' for more information"
12901244 ;;
12911245
12921246 *=*)
12931247 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
12941248 # Reject names that are not valid shell variable names.
1295 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1296 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1297 { (exit 1); exit 1; }; }
1249 case $ac_envvar in #(
1250 '' | [0-9]* | *[!_$as_cr_alnum]* )
1251 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1252 esac
12981253 eval $ac_envvar=\$ac_optarg
12991254 export $ac_envvar ;;
13001255
13111266
13121267 if test -n "$ac_prev"; then
13131268 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1314 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1315 { (exit 1); exit 1; }; }
1269 as_fn_error $? "missing argument to $ac_option"
13161270 fi
13171271
13181272 if test -n "$ac_unrecognized_opts"; then
13191273 case $enable_option_checking in
13201274 no) ;;
1321 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1322 { (exit 1); exit 1; }; } ;;
1275 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
13231276 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
13241277 esac
13251278 fi
13421295 [\\/$]* | ?:[\\/]* ) continue;;
13431296 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
13441297 esac
1345 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1346 { (exit 1); exit 1; }; }
1298 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
13471299 done
13481300
13491301 # There might be people who depend on the old broken behavior: `$host'
13571309 if test "x$host_alias" != x; then
13581310 if test "x$build_alias" = x; then
13591311 cross_compiling=maybe
1360 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1361 If a cross compiler is detected then cross compile mode will be used." >&2
1312 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1313 If a cross compiler is detected then cross compile mode will be used" >&2
13621314 elif test "x$build_alias" != "x$host_alias"; then
13631315 cross_compiling=yes
13641316 fi
13731325 ac_pwd=`pwd` && test -n "$ac_pwd" &&
13741326 ac_ls_di=`ls -di .` &&
13751327 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1376 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1377 { (exit 1); exit 1; }; }
1328 as_fn_error $? "working directory cannot be determined"
13781329 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1379 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1380 { (exit 1); exit 1; }; }
1330 as_fn_error $? "pwd does not report name of working directory"
13811331
13821332
13831333 # Find the source files, if location was not specified.
14161366 fi
14171367 if test ! -r "$srcdir/$ac_unique_file"; then
14181368 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1419 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1420 { (exit 1); exit 1; }; }
1369 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
14211370 fi
14221371 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
14231372 ac_abs_confdir=`(
1424 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1425 { (exit 1); exit 1; }; }
1373 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
14261374 pwd)`
14271375 # When building in place, set srcdir=.
14281376 if test "$ac_abs_confdir" = "$ac_pwd"; then
14481396 # Omit some internal or obsolete options to make the list less imposing.
14491397 # This message is too long to be a string in the A/UX 3.1 sh.
14501398 cat <<_ACEOF
1451 \`configure' configures libcitadel 8.05 to adapt to many kinds of systems.
1399 \`configure' configures libcitadel 2.8.11 to adapt to many kinds of systems.
14521400
14531401 Usage: $0 [OPTION]... [VAR=VALUE]...
14541402
14621410 --help=short display options specific to this package
14631411 --help=recursive display the short help of all the included packages
14641412 -V, --version display version information and exit
1465 -q, --quiet, --silent do not print \`checking...' messages
1413 -q, --quiet, --silent do not print \`checking ...' messages
14661414 --cache-file=FILE cache test results in FILE [disabled]
14671415 -C, --config-cache alias for \`--cache-file=config.cache'
14681416 -n, --no-create do not create output files
15131461
15141462 if test -n "$ac_init_help"; then
15151463 case $ac_init_help in
1516 short | recursive ) echo "Configuration of libcitadel 8.05:";;
1464 short | recursive ) echo "Configuration of libcitadel 2.8.11:";;
15171465 esac
15181466 cat <<\_ACEOF
15191467
15441492 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
15451493 nonstandard directory <lib dir>
15461494 LIBS libraries to pass to the linker, e.g. -l<library>
1547 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1495 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
15481496 you have headers in a nonstandard directory <include dir>
15491497 CPP C preprocessor
15501498 CXX C++ compiler command
16191567 test -n "$ac_init_help" && exit $ac_status
16201568 if $ac_init_version; then
16211569 cat <<\_ACEOF
1622 libcitadel configure 8.05
1623 generated by GNU Autoconf 2.63
1624
1625 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1626 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1570 libcitadel configure 2.8.11
1571 generated by GNU Autoconf 2.67
1572
1573 Copyright (C) 2010 Free Software Foundation, Inc.
16271574 This configure script is free software; the Free Software Foundation
16281575 gives unlimited permission to copy, distribute and modify it.
16291576 _ACEOF
16301577 exit
16311578 fi
1579
1580 ## ------------------------ ##
1581 ## Autoconf initialization. ##
1582 ## ------------------------ ##
1583
1584 # ac_fn_c_try_compile LINENO
1585 # --------------------------
1586 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1587 ac_fn_c_try_compile ()
1588 {
1589 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1590 rm -f conftest.$ac_objext
1591 if { { ac_try="$ac_compile"
1592 case "(($ac_try" in
1593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1594 *) ac_try_echo=$ac_try;;
1595 esac
1596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1597 $as_echo "$ac_try_echo"; } >&5
1598 (eval "$ac_compile") 2>conftest.err
1599 ac_status=$?
1600 if test -s conftest.err; then
1601 grep -v '^ *+' conftest.err >conftest.er1
1602 cat conftest.er1 >&5
1603 mv -f conftest.er1 conftest.err
1604 fi
1605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1606 test $ac_status = 0; } && {
1607 test -z "$ac_c_werror_flag" ||
1608 test ! -s conftest.err
1609 } && test -s conftest.$ac_objext; then :
1610 ac_retval=0
1611 else
1612 $as_echo "$as_me: failed program was:" >&5
1613 sed 's/^/| /' conftest.$ac_ext >&5
1614
1615 ac_retval=1
1616 fi
1617 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1618 as_fn_set_status $ac_retval
1619
1620 } # ac_fn_c_try_compile
1621
1622 # ac_fn_c_try_link LINENO
1623 # -----------------------
1624 # Try to link conftest.$ac_ext, and return whether this succeeded.
1625 ac_fn_c_try_link ()
1626 {
1627 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1628 rm -f conftest.$ac_objext conftest$ac_exeext
1629 if { { ac_try="$ac_link"
1630 case "(($ac_try" in
1631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1632 *) ac_try_echo=$ac_try;;
1633 esac
1634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1635 $as_echo "$ac_try_echo"; } >&5
1636 (eval "$ac_link") 2>conftest.err
1637 ac_status=$?
1638 if test -s conftest.err; then
1639 grep -v '^ *+' conftest.err >conftest.er1
1640 cat conftest.er1 >&5
1641 mv -f conftest.er1 conftest.err
1642 fi
1643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1644 test $ac_status = 0; } && {
1645 test -z "$ac_c_werror_flag" ||
1646 test ! -s conftest.err
1647 } && test -s conftest$ac_exeext && {
1648 test "$cross_compiling" = yes ||
1649 $as_test_x conftest$ac_exeext
1650 }; then :
1651 ac_retval=0
1652 else
1653 $as_echo "$as_me: failed program was:" >&5
1654 sed 's/^/| /' conftest.$ac_ext >&5
1655
1656 ac_retval=1
1657 fi
1658 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1659 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1660 # interfere with the next link command; also delete a directory that is
1661 # left behind by Apple's compiler. We do this before executing the actions.
1662 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1663 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1664 as_fn_set_status $ac_retval
1665
1666 } # ac_fn_c_try_link
1667
1668 # ac_fn_c_try_cpp LINENO
1669 # ----------------------
1670 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1671 ac_fn_c_try_cpp ()
1672 {
1673 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1674 if { { ac_try="$ac_cpp conftest.$ac_ext"
1675 case "(($ac_try" in
1676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1677 *) ac_try_echo=$ac_try;;
1678 esac
1679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1680 $as_echo "$ac_try_echo"; } >&5
1681 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1682 ac_status=$?
1683 if test -s conftest.err; then
1684 grep -v '^ *+' conftest.err >conftest.er1
1685 cat conftest.er1 >&5
1686 mv -f conftest.er1 conftest.err
1687 fi
1688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689 test $ac_status = 0; } > conftest.i && {
1690 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1691 test ! -s conftest.err
1692 }; then :
1693 ac_retval=0
1694 else
1695 $as_echo "$as_me: failed program was:" >&5
1696 sed 's/^/| /' conftest.$ac_ext >&5
1697
1698 ac_retval=1
1699 fi
1700 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1701 as_fn_set_status $ac_retval
1702
1703 } # ac_fn_c_try_cpp
1704
1705 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1706 # -------------------------------------------------------
1707 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1708 # the include files in INCLUDES and setting the cache variable VAR
1709 # accordingly.
1710 ac_fn_c_check_header_mongrel ()
1711 {
1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713 if eval "test \"\${$3+set}\"" = set; then :
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1715 $as_echo_n "checking for $2... " >&6; }
1716 if eval "test \"\${$3+set}\"" = set; then :
1717 $as_echo_n "(cached) " >&6
1718 fi
1719 eval ac_res=\$$3
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1721 $as_echo "$ac_res" >&6; }
1722 else
1723 # Is the header compilable?
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1725 $as_echo_n "checking $2 usability... " >&6; }
1726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1727 /* end confdefs.h. */
1728 $4
1729 #include <$2>
1730 _ACEOF
1731 if ac_fn_c_try_compile "$LINENO"; then :
1732 ac_header_compiler=yes
1733 else
1734 ac_header_compiler=no
1735 fi
1736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1738 $as_echo "$ac_header_compiler" >&6; }
1739
1740 # Is the header present?
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1742 $as_echo_n "checking $2 presence... " >&6; }
1743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744 /* end confdefs.h. */
1745 #include <$2>
1746 _ACEOF
1747 if ac_fn_c_try_cpp "$LINENO"; then :
1748 ac_header_preproc=yes
1749 else
1750 ac_header_preproc=no
1751 fi
1752 rm -f conftest.err conftest.i conftest.$ac_ext
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1754 $as_echo "$ac_header_preproc" >&6; }
1755
1756 # So? What about this header?
1757 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1758 yes:no: )
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1760 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1762 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1763 ;;
1764 no:yes:* )
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1766 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1768 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1770 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1772 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1774 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1775 ( $as_echo "## -------------------------------------------- ##
1776 ## Report this to http://uncensored.citadel.org ##
1777 ## -------------------------------------------- ##"
1778 ) | sed "s/^/$as_me: WARNING: /" >&2
1779 ;;
1780 esac
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1782 $as_echo_n "checking for $2... " >&6; }
1783 if eval "test \"\${$3+set}\"" = set; then :
1784 $as_echo_n "(cached) " >&6
1785 else
1786 eval "$3=\$ac_header_compiler"
1787 fi
1788 eval ac_res=\$$3
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1790 $as_echo "$ac_res" >&6; }
1791 fi
1792 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1793
1794 } # ac_fn_c_check_header_mongrel
1795
1796 # ac_fn_c_try_run LINENO
1797 # ----------------------
1798 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1799 # that executables *can* be run.
1800 ac_fn_c_try_run ()
1801 {
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 if { { ac_try="$ac_link"
1804 case "(($ac_try" in
1805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1806 *) ac_try_echo=$ac_try;;
1807 esac
1808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1809 $as_echo "$ac_try_echo"; } >&5
1810 (eval "$ac_link") 2>&5
1811 ac_status=$?
1812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1813 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1814 { { case "(($ac_try" in
1815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1816 *) ac_try_echo=$ac_try;;
1817 esac
1818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1819 $as_echo "$ac_try_echo"; } >&5
1820 (eval "$ac_try") 2>&5
1821 ac_status=$?
1822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1823 test $ac_status = 0; }; }; then :
1824 ac_retval=0
1825 else
1826 $as_echo "$as_me: program exited with status $ac_status" >&5
1827 $as_echo "$as_me: failed program was:" >&5
1828 sed 's/^/| /' conftest.$ac_ext >&5
1829
1830 ac_retval=$ac_status
1831 fi
1832 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1833 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1834 as_fn_set_status $ac_retval
1835
1836 } # ac_fn_c_try_run
1837
1838 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1839 # -------------------------------------------------------
1840 # Tests whether HEADER exists and can be compiled using the include files in
1841 # INCLUDES, setting the cache variable VAR accordingly.
1842 ac_fn_c_check_header_compile ()
1843 {
1844 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1846 $as_echo_n "checking for $2... " >&6; }
1847 if eval "test \"\${$3+set}\"" = set; then :
1848 $as_echo_n "(cached) " >&6
1849 else
1850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1851 /* end confdefs.h. */
1852 $4
1853 #include <$2>
1854 _ACEOF
1855 if ac_fn_c_try_compile "$LINENO"; then :
1856 eval "$3=yes"
1857 else
1858 eval "$3=no"
1859 fi
1860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1861 fi
1862 eval ac_res=\$$3
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1864 $as_echo "$ac_res" >&6; }
1865 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1866
1867 } # ac_fn_c_check_header_compile
1868
1869 # ac_fn_c_check_func LINENO FUNC VAR
1870 # ----------------------------------
1871 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1872 ac_fn_c_check_func ()
1873 {
1874 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1876 $as_echo_n "checking for $2... " >&6; }
1877 if eval "test \"\${$3+set}\"" = set; then :
1878 $as_echo_n "(cached) " >&6
1879 else
1880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1881 /* end confdefs.h. */
1882 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1884 #define $2 innocuous_$2
1885
1886 /* System header to define __stub macros and hopefully few prototypes,
1887 which can conflict with char $2 (); below.
1888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1889 <limits.h> exists even on freestanding compilers. */
1890
1891 #ifdef __STDC__
1892 # include <limits.h>
1893 #else
1894 # include <assert.h>
1895 #endif
1896
1897 #undef $2
1898
1899 /* Override any GCC internal prototype to avoid an error.
1900 Use char because int might match the return type of a GCC
1901 builtin and then its argument prototype would still apply. */
1902 #ifdef __cplusplus
1903 extern "C"
1904 #endif
1905 char $2 ();
1906 /* The GNU C library defines this for functions which it implements
1907 to always fail with ENOSYS. Some functions are actually named
1908 something starting with __ and the normal name is an alias. */
1909 #if defined __stub_$2 || defined __stub___$2
1910 choke me
1911 #endif
1912
1913 int
1914 main ()
1915 {
1916 return $2 ();
1917 ;
1918 return 0;
1919 }
1920 _ACEOF
1921 if ac_fn_c_try_link "$LINENO"; then :
1922 eval "$3=yes"
1923 else
1924 eval "$3=no"
1925 fi
1926 rm -f core conftest.err conftest.$ac_objext \
1927 conftest$ac_exeext conftest.$ac_ext
1928 fi
1929 eval ac_res=\$$3
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1931 $as_echo "$ac_res" >&6; }
1932 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1933
1934 } # ac_fn_c_check_func
1935
1936 # ac_fn_cxx_try_compile LINENO
1937 # ----------------------------
1938 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1939 ac_fn_cxx_try_compile ()
1940 {
1941 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1942 rm -f conftest.$ac_objext
1943 if { { ac_try="$ac_compile"
1944 case "(($ac_try" in
1945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1946 *) ac_try_echo=$ac_try;;
1947 esac
1948 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1949 $as_echo "$ac_try_echo"; } >&5
1950 (eval "$ac_compile") 2>conftest.err
1951 ac_status=$?
1952 if test -s conftest.err; then
1953 grep -v '^ *+' conftest.err >conftest.er1
1954 cat conftest.er1 >&5
1955 mv -f conftest.er1 conftest.err
1956 fi
1957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1958 test $ac_status = 0; } && {
1959 test -z "$ac_cxx_werror_flag" ||
1960 test ! -s conftest.err
1961 } && test -s conftest.$ac_objext; then :
1962 ac_retval=0
1963 else
1964 $as_echo "$as_me: failed program was:" >&5
1965 sed 's/^/| /' conftest.$ac_ext >&5
1966
1967 ac_retval=1
1968 fi
1969 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1970 as_fn_set_status $ac_retval
1971
1972 } # ac_fn_cxx_try_compile
1973
1974 # ac_fn_cxx_try_cpp LINENO
1975 # ------------------------
1976 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1977 ac_fn_cxx_try_cpp ()
1978 {
1979 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1980 if { { ac_try="$ac_cpp conftest.$ac_ext"
1981 case "(($ac_try" in
1982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1983 *) ac_try_echo=$ac_try;;
1984 esac
1985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1986 $as_echo "$ac_try_echo"; } >&5
1987 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1988 ac_status=$?
1989 if test -s conftest.err; then
1990 grep -v '^ *+' conftest.err >conftest.er1
1991 cat conftest.er1 >&5
1992 mv -f conftest.er1 conftest.err
1993 fi
1994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1995 test $ac_status = 0; } > conftest.i && {
1996 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1997 test ! -s conftest.err
1998 }; then :
1999 ac_retval=0
2000 else
2001 $as_echo "$as_me: failed program was:" >&5
2002 sed 's/^/| /' conftest.$ac_ext >&5
2003
2004 ac_retval=1
2005 fi
2006 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2007 as_fn_set_status $ac_retval
2008
2009 } # ac_fn_cxx_try_cpp
2010
2011 # ac_fn_cxx_try_link LINENO
2012 # -------------------------
2013 # Try to link conftest.$ac_ext, and return whether this succeeded.
2014 ac_fn_cxx_try_link ()
2015 {
2016 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2017 rm -f conftest.$ac_objext conftest$ac_exeext
2018 if { { ac_try="$ac_link"
2019 case "(($ac_try" in
2020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2021 *) ac_try_echo=$ac_try;;
2022 esac
2023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2024 $as_echo "$ac_try_echo"; } >&5
2025 (eval "$ac_link") 2>conftest.err
2026 ac_status=$?
2027 if test -s conftest.err; then
2028 grep -v '^ *+' conftest.err >conftest.er1
2029 cat conftest.er1 >&5
2030 mv -f conftest.er1 conftest.err
2031 fi
2032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2033 test $ac_status = 0; } && {
2034 test -z "$ac_cxx_werror_flag" ||
2035 test ! -s conftest.err
2036 } && test -s conftest$ac_exeext && {
2037 test "$cross_compiling" = yes ||
2038 $as_test_x conftest$ac_exeext
2039 }; then :
2040 ac_retval=0
2041 else
2042 $as_echo "$as_me: failed program was:" >&5
2043 sed 's/^/| /' conftest.$ac_ext >&5
2044
2045 ac_retval=1
2046 fi
2047 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2048 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2049 # interfere with the next link command; also delete a directory that is
2050 # left behind by Apple's compiler. We do this before executing the actions.
2051 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2052 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2053 as_fn_set_status $ac_retval
2054
2055 } # ac_fn_cxx_try_link
2056
2057 # ac_fn_f77_try_compile LINENO
2058 # ----------------------------
2059 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2060 ac_fn_f77_try_compile ()
2061 {
2062 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2063 rm -f conftest.$ac_objext
2064 if { { ac_try="$ac_compile"
2065 case "(($ac_try" in
2066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2067 *) ac_try_echo=$ac_try;;
2068 esac
2069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2070 $as_echo "$ac_try_echo"; } >&5
2071 (eval "$ac_compile") 2>conftest.err
2072 ac_status=$?
2073 if test -s conftest.err; then
2074 grep -v '^ *+' conftest.err >conftest.er1
2075 cat conftest.er1 >&5
2076 mv -f conftest.er1 conftest.err
2077 fi
2078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2079 test $ac_status = 0; } && {
2080 test -z "$ac_f77_werror_flag" ||
2081 test ! -s conftest.err
2082 } && test -s conftest.$ac_objext; then :
2083 ac_retval=0
2084 else
2085 $as_echo "$as_me: failed program was:" >&5
2086 sed 's/^/| /' conftest.$ac_ext >&5
2087
2088 ac_retval=1
2089 fi
2090 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2091 as_fn_set_status $ac_retval
2092
2093 } # ac_fn_f77_try_compile
2094
2095 # ac_fn_f77_try_link LINENO
2096 # -------------------------
2097 # Try to link conftest.$ac_ext, and return whether this succeeded.
2098 ac_fn_f77_try_link ()
2099 {
2100 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2101 rm -f conftest.$ac_objext conftest$ac_exeext
2102 if { { ac_try="$ac_link"
2103 case "(($ac_try" in
2104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2105 *) ac_try_echo=$ac_try;;
2106 esac
2107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2108 $as_echo "$ac_try_echo"; } >&5
2109 (eval "$ac_link") 2>conftest.err
2110 ac_status=$?
2111 if test -s conftest.err; then
2112 grep -v '^ *+' conftest.err >conftest.er1
2113 cat conftest.er1 >&5
2114 mv -f conftest.er1 conftest.err
2115 fi
2116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2117 test $ac_status = 0; } && {
2118 test -z "$ac_f77_werror_flag" ||
2119 test ! -s conftest.err
2120 } && test -s conftest$ac_exeext && {
2121 test "$cross_compiling" = yes ||
2122 $as_test_x conftest$ac_exeext
2123 }; then :
2124 ac_retval=0
2125 else
2126 $as_echo "$as_me: failed program was:" >&5
2127 sed 's/^/| /' conftest.$ac_ext >&5
2128
2129 ac_retval=1
2130 fi
2131 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2132 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2133 # interfere with the next link command; also delete a directory that is
2134 # left behind by Apple's compiler. We do this before executing the actions.
2135 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2136 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2137 as_fn_set_status $ac_retval
2138
2139 } # ac_fn_f77_try_link
2140
2141 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2142 # -------------------------------------------
2143 # Tests whether TYPE exists after having included INCLUDES, setting cache
2144 # variable VAR accordingly.
2145 ac_fn_c_check_type ()
2146 {
2147 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2149 $as_echo_n "checking for $2... " >&6; }
2150 if eval "test \"\${$3+set}\"" = set; then :
2151 $as_echo_n "(cached) " >&6
2152 else
2153 eval "$3=no"
2154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2155 /* end confdefs.h. */
2156 $4
2157 int
2158 main ()
2159 {
2160 if (sizeof ($2))
2161 return 0;
2162 ;
2163 return 0;
2164 }
2165 _ACEOF
2166 if ac_fn_c_try_compile "$LINENO"; then :
2167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2168 /* end confdefs.h. */
2169 $4
2170 int
2171 main ()
2172 {
2173 if (sizeof (($2)))
2174 return 0;
2175 ;
2176 return 0;
2177 }
2178 _ACEOF
2179 if ac_fn_c_try_compile "$LINENO"; then :
2180
2181 else
2182 eval "$3=yes"
2183 fi
2184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2185 fi
2186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2187 fi
2188 eval ac_res=\$$3
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2190 $as_echo "$ac_res" >&6; }
2191 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2192
2193 } # ac_fn_c_check_type
16322194 cat >config.log <<_ACEOF
16332195 This file contains any messages produced by compilers while
16342196 running configure, to aid debugging if configure makes a mistake.
16352197
1636 It was created by libcitadel $as_me 8.05, which was
1637 generated by GNU Autoconf 2.63. Invocation command line was
2198 It was created by libcitadel $as_me 2.8.11, which was
2199 generated by GNU Autoconf 2.67. Invocation command line was
16382200
16392201 $ $0 $@
16402202
16702232 do
16712233 IFS=$as_save_IFS
16722234 test -z "$as_dir" && as_dir=.
1673 $as_echo "PATH: $as_dir"
1674 done
2235 $as_echo "PATH: $as_dir"
2236 done
16752237 IFS=$as_save_IFS
16762238
16772239 } >&5
17082270 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
17092271 esac
17102272 case $ac_pass in
1711 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2273 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
17122274 2)
1713 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2275 as_fn_append ac_configure_args1 " '$ac_arg'"
17142276 if test $ac_must_keep_next = true; then
17152277 ac_must_keep_next=false # Got value, back to normal.
17162278 else
17262288 -* ) ac_must_keep_next=true ;;
17272289 esac
17282290 fi
1729 ac_configure_args="$ac_configure_args '$ac_arg'"
2291 as_fn_append ac_configure_args " '$ac_arg'"
17302292 ;;
17312293 esac
17322294 done
17332295 done
1734 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1735 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2296 { ac_configure_args0=; unset ac_configure_args0;}
2297 { ac_configure_args1=; unset ac_configure_args1;}
17362298
17372299 # When interrupted or exit'd, cleanup temporary files, and complete
17382300 # config.log. We remove comments because anyway the quotes in there
17442306 {
17452307 echo
17462308
1747 cat <<\_ASBOX
1748 ## ---------------- ##
2309 $as_echo "## ---------------- ##
17492310 ## Cache variables. ##
1750 ## ---------------- ##
1751 _ASBOX
2311 ## ---------------- ##"
17522312 echo
17532313 # The following way of writing the cache mishandles newlines in values,
17542314 (
17572317 case $ac_val in #(
17582318 *${as_nl}*)
17592319 case $ac_var in #(
1760 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
2320 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17612321 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17622322 esac
17632323 case $ac_var in #(
17642324 _ | IFS | as_nl) ;; #(
17652325 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1766 *) $as_unset $ac_var ;;
2326 *) { eval $ac_var=; unset $ac_var;} ;;
17672327 esac ;;
17682328 esac
17692329 done
17822342 )
17832343 echo
17842344
1785 cat <<\_ASBOX
1786 ## ----------------- ##
2345 $as_echo "## ----------------- ##
17872346 ## Output variables. ##
1788 ## ----------------- ##
1789 _ASBOX
2347 ## ----------------- ##"
17902348 echo
17912349 for ac_var in $ac_subst_vars
17922350 do
17992357 echo
18002358
18012359 if test -n "$ac_subst_files"; then
1802 cat <<\_ASBOX
1803 ## ------------------- ##
2360 $as_echo "## ------------------- ##
18042361 ## File substitutions. ##
1805 ## ------------------- ##
1806 _ASBOX
2362 ## ------------------- ##"
18072363 echo
18082364 for ac_var in $ac_subst_files
18092365 do
18172373 fi
18182374
18192375 if test -s confdefs.h; then
1820 cat <<\_ASBOX
1821 ## ----------- ##
2376 $as_echo "## ----------- ##
18222377 ## confdefs.h. ##
1823 ## ----------- ##
1824 _ASBOX
2378 ## ----------- ##"
18252379 echo
18262380 cat confdefs.h
18272381 echo
18352389 exit $exit_status
18362390 ' 0
18372391 for ac_signal in 1 2 13 15; do
1838 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2392 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
18392393 done
18402394 ac_signal=0
18412395
18422396 # confdefs.h avoids OS command line length limits that DEFS can exceed.
18432397 rm -f -r conftest* confdefs.h
2398
2399 $as_echo "/* confdefs.h */" > confdefs.h
18442400
18452401 # Predefined preprocessor variables.
18462402
18482404 #define PACKAGE_NAME "$PACKAGE_NAME"
18492405 _ACEOF
18502406
1851
18522407 cat >>confdefs.h <<_ACEOF
18532408 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
18542409 _ACEOF
18552410
1856
18572411 cat >>confdefs.h <<_ACEOF
18582412 #define PACKAGE_VERSION "$PACKAGE_VERSION"
18592413 _ACEOF
18602414
1861
18622415 cat >>confdefs.h <<_ACEOF
18632416 #define PACKAGE_STRING "$PACKAGE_STRING"
18642417 _ACEOF
18652418
1866
18672419 cat >>confdefs.h <<_ACEOF
18682420 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2421 _ACEOF
2422
2423 cat >>confdefs.h <<_ACEOF
2424 #define PACKAGE_URL "$PACKAGE_URL"
18692425 _ACEOF
18702426
18712427
18742430 ac_site_file1=NONE
18752431 ac_site_file2=NONE
18762432 if test -n "$CONFIG_SITE"; then
1877 ac_site_file1=$CONFIG_SITE
2433 # We do not want a PATH search for config.site.
2434 case $CONFIG_SITE in #((
2435 -*) ac_site_file1=./$CONFIG_SITE;;
2436 */*) ac_site_file1=$CONFIG_SITE;;
2437 *) ac_site_file1=./$CONFIG_SITE;;
2438 esac
18782439 elif test "x$prefix" != xNONE; then
18792440 ac_site_file1=$prefix/share/config.site
18802441 ac_site_file2=$prefix/etc/config.site
18852446 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
18862447 do
18872448 test "x$ac_site_file" = xNONE && continue
1888 if test -r "$ac_site_file"; then
1889 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2449 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
18902451 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
18912452 sed 's/^/| /' "$ac_site_file" >&5
1892 . "$ac_site_file"
2453 . "$ac_site_file" \
2454 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2456 as_fn_error $? "failed to load site script $ac_site_file
2457 See \`config.log' for more details" "$LINENO" 5 ; }
18932458 fi
18942459 done
18952460
18962461 if test -r "$cache_file"; then
1897 # Some versions of bash will fail to source /dev/null (special
1898 # files actually), so we avoid doing that.
1899 if test -f "$cache_file"; then
1900 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2462 # Some versions of bash will fail to source /dev/null (special files
2463 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2464 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
19012466 $as_echo "$as_me: loading cache $cache_file" >&6;}
19022467 case $cache_file in
19032468 [\\/]* | ?:[\\/]* ) . "$cache_file";;
19052470 esac
19062471 fi
19072472 else
1908 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
19092474 $as_echo "$as_me: creating cache $cache_file" >&6;}
19102475 >$cache_file
19112476 fi
19202485 eval ac_new_val=\$ac_env_${ac_var}_value
19212486 case $ac_old_set,$ac_new_set in
19222487 set,)
1923 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
19242489 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
19252490 ac_cache_corrupted=: ;;
19262491 ,set)
1927 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
19282493 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
19292494 ac_cache_corrupted=: ;;
19302495 ,);;
19342499 ac_old_val_w=`echo x $ac_old_val`
19352500 ac_new_val_w=`echo x $ac_new_val`
19362501 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1937 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
19382503 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
19392504 ac_cache_corrupted=:
19402505 else
1941 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
19422507 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
19432508 eval $ac_var=\$ac_old_val
19442509 fi
1945 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
19462511 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1947 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
19482513 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
19492514 fi;;
19502515 esac
19562521 esac
19572522 case " $ac_configure_args " in
19582523 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1959 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2524 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
19602525 esac
19612526 fi
19622527 done
19632528 if $ac_cache_corrupted; then
1964 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19652530 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1966 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
19672532 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1968 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1969 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1970 { (exit 1); exit 1; }; }
1971 fi
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
2533 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2534 fi
2535 ## -------------------- ##
2536 ## Main body of script. ##
2537 ## -------------------- ##
19962538
19972539 ac_ext=c
19982540 ac_cpp='$CPP $CPPFLAGS'
20202562 fi
20212563 done
20222564 if test -z "$ac_aux_dir"; then
2023 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in conftools \"$srcdir\"/conftools" >&5
2024 $as_echo "$as_me: error: cannot find install-sh or install.sh in conftools \"$srcdir\"/conftools" >&2;}
2025 { (exit 1); exit 1; }; }
2565 as_fn_error $? "cannot find install-sh, install.sh, or shtool in conftools \"$srcdir\"/conftools" "$LINENO" 5
20262566 fi
20272567
20282568 # These three variables are undocumented and unsupported,
20382578
20392579
20402580 LIBCURRENT=2
2041 LIBREVISION=1
2581 LIBREVISION=811
20422582 LIBAGE=0
20432583
20442584 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
25103050
25113051
25123052 # Check whether --enable-shared was given.
2513 if test "${enable_shared+set}" = set; then
3053 if test "${enable_shared+set}" = set; then :
25143054 enableval=$enable_shared; p=${PACKAGE-default}
25153055 case $enableval in
25163056 yes) enable_shared=yes ;;
25343074
25353075
25363076 # Check whether --enable-static was given.
2537 if test "${enable_static+set}" = set; then
3077 if test "${enable_static+set}" = set; then :
25383078 enableval=$enable_static; p=${PACKAGE-default}
25393079 case $enableval in
25403080 yes) enable_static=yes ;;
25583098
25593099
25603100 # Check whether --enable-fast-install was given.
2561 if test "${enable_fast_install+set}" = set; then
3101 if test "${enable_fast_install+set}" = set; then :
25623102 enableval=$enable_fast_install; p=${PACKAGE-default}
25633103 case $enableval in
25643104 yes) enable_fast_install=yes ;;
25833123
25843124 # Make sure we can run config.sub.
25853125 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2586 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2587 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2588 { (exit 1); exit 1; }; }
2589
2590 { $as_echo "$as_me:$LINENO: checking build system type" >&5
3126 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3127
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
25913129 $as_echo_n "checking build system type... " >&6; }
2592 if test "${ac_cv_build+set}" = set; then
3130 if test "${ac_cv_build+set}" = set; then :
25933131 $as_echo_n "(cached) " >&6
25943132 else
25953133 ac_build_alias=$build_alias
25963134 test "x$ac_build_alias" = x &&
25973135 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
25983136 test "x$ac_build_alias" = x &&
2599 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2600 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2601 { (exit 1); exit 1; }; }
3137 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
26023138 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2603 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2604 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2605 { (exit 1); exit 1; }; }
2606
2607 fi
2608 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3139 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3140
3141 fi
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
26093143 $as_echo "$ac_cv_build" >&6; }
26103144 case $ac_cv_build in
26113145 *-*-*) ;;
2612 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2613 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2614 { (exit 1); exit 1; }; };;
3146 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
26153147 esac
26163148 build=$ac_cv_build
26173149 ac_save_IFS=$IFS; IFS='-'
26273159 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
26283160
26293161
2630 { $as_echo "$as_me:$LINENO: checking host system type" >&5
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
26313163 $as_echo_n "checking host system type... " >&6; }
2632 if test "${ac_cv_host+set}" = set; then
3164 if test "${ac_cv_host+set}" = set; then :
26333165 $as_echo_n "(cached) " >&6
26343166 else
26353167 if test "x$host_alias" = x; then
26363168 ac_cv_host=$ac_cv_build
26373169 else
26383170 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2639 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2640 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2641 { (exit 1); exit 1; }; }
2642 fi
2643
2644 fi
2645 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3171 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3172 fi
3173
3174 fi
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
26463176 $as_echo "$ac_cv_host" >&6; }
26473177 case $ac_cv_host in
26483178 *-*-*) ;;
2649 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2650 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2651 { (exit 1); exit 1; }; };;
3179 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
26523180 esac
26533181 host=$ac_cv_host
26543182 ac_save_IFS=$IFS; IFS='-'
26723200 if test -n "$ac_tool_prefix"; then
26733201 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
26743202 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2675 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26763204 $as_echo_n "checking for $ac_word... " >&6; }
2677 if test "${ac_cv_prog_CC+set}" = set; then
3205 if test "${ac_cv_prog_CC+set}" = set; then :
26783206 $as_echo_n "(cached) " >&6
26793207 else
26803208 if test -n "$CC"; then
26853213 do
26863214 IFS=$as_save_IFS
26873215 test -z "$as_dir" && as_dir=.
2688 for ac_exec_ext in '' $ac_executable_extensions; do
3216 for ac_exec_ext in '' $ac_executable_extensions; do
26893217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26903218 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2691 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26923220 break 2
26933221 fi
26943222 done
2695 done
3223 done
26963224 IFS=$as_save_IFS
26973225
26983226 fi
26993227 fi
27003228 CC=$ac_cv_prog_CC
27013229 if test -n "$CC"; then
2702 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
27033231 $as_echo "$CC" >&6; }
27043232 else
2705 { $as_echo "$as_me:$LINENO: result: no" >&5
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27063234 $as_echo "no" >&6; }
27073235 fi
27083236
27123240 ac_ct_CC=$CC
27133241 # Extract the first word of "gcc", so it can be a program name with args.
27143242 set dummy gcc; ac_word=$2
2715 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27163244 $as_echo_n "checking for $ac_word... " >&6; }
2717 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3245 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
27183246 $as_echo_n "(cached) " >&6
27193247 else
27203248 if test -n "$ac_ct_CC"; then
27253253 do
27263254 IFS=$as_save_IFS
27273255 test -z "$as_dir" && as_dir=.
2728 for ac_exec_ext in '' $ac_executable_extensions; do
3256 for ac_exec_ext in '' $ac_executable_extensions; do
27293257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27303258 ac_cv_prog_ac_ct_CC="gcc"
2731 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27323260 break 2
27333261 fi
27343262 done
2735 done
3263 done
27363264 IFS=$as_save_IFS
27373265
27383266 fi
27393267 fi
27403268 ac_ct_CC=$ac_cv_prog_ac_ct_CC
27413269 if test -n "$ac_ct_CC"; then
2742 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
27433271 $as_echo "$ac_ct_CC" >&6; }
27443272 else
2745 { $as_echo "$as_me:$LINENO: result: no" >&5
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27463274 $as_echo "no" >&6; }
27473275 fi
27483276
27513279 else
27523280 case $cross_compiling:$ac_tool_warned in
27533281 yes:)
2754 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27553283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27563284 ac_tool_warned=yes ;;
27573285 esac
27653293 if test -n "$ac_tool_prefix"; then
27663294 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
27673295 set dummy ${ac_tool_prefix}cc; ac_word=$2
2768 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27693297 $as_echo_n "checking for $ac_word... " >&6; }
2770 if test "${ac_cv_prog_CC+set}" = set; then
3298 if test "${ac_cv_prog_CC+set}" = set; then :
27713299 $as_echo_n "(cached) " >&6
27723300 else
27733301 if test -n "$CC"; then
27783306 do
27793307 IFS=$as_save_IFS
27803308 test -z "$as_dir" && as_dir=.
2781 for ac_exec_ext in '' $ac_executable_extensions; do
3309 for ac_exec_ext in '' $ac_executable_extensions; do
27823310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27833311 ac_cv_prog_CC="${ac_tool_prefix}cc"
2784 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27853313 break 2
27863314 fi
27873315 done
2788 done
3316 done
27893317 IFS=$as_save_IFS
27903318
27913319 fi
27923320 fi
27933321 CC=$ac_cv_prog_CC
27943322 if test -n "$CC"; then
2795 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
27963324 $as_echo "$CC" >&6; }
27973325 else
2798 { $as_echo "$as_me:$LINENO: result: no" >&5
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27993327 $as_echo "no" >&6; }
28003328 fi
28013329
28053333 if test -z "$CC"; then
28063334 # Extract the first word of "cc", so it can be a program name with args.
28073335 set dummy cc; ac_word=$2
2808 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28093337 $as_echo_n "checking for $ac_word... " >&6; }
2810 if test "${ac_cv_prog_CC+set}" = set; then
3338 if test "${ac_cv_prog_CC+set}" = set; then :
28113339 $as_echo_n "(cached) " >&6
28123340 else
28133341 if test -n "$CC"; then
28193347 do
28203348 IFS=$as_save_IFS
28213349 test -z "$as_dir" && as_dir=.
2822 for ac_exec_ext in '' $ac_executable_extensions; do
3350 for ac_exec_ext in '' $ac_executable_extensions; do
28233351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28243352 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
28253353 ac_prog_rejected=yes
28263354 continue
28273355 fi
28283356 ac_cv_prog_CC="cc"
2829 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28303358 break 2
28313359 fi
28323360 done
2833 done
3361 done
28343362 IFS=$as_save_IFS
28353363
28363364 if test $ac_prog_rejected = yes; then
28493377 fi
28503378 CC=$ac_cv_prog_CC
28513379 if test -n "$CC"; then
2852 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
28533381 $as_echo "$CC" >&6; }
28543382 else
2855 { $as_echo "$as_me:$LINENO: result: no" >&5
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28563384 $as_echo "no" >&6; }
28573385 fi
28583386
28643392 do
28653393 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
28663394 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2867 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28683396 $as_echo_n "checking for $ac_word... " >&6; }
2869 if test "${ac_cv_prog_CC+set}" = set; then
3397 if test "${ac_cv_prog_CC+set}" = set; then :
28703398 $as_echo_n "(cached) " >&6
28713399 else
28723400 if test -n "$CC"; then
28773405 do
28783406 IFS=$as_save_IFS
28793407 test -z "$as_dir" && as_dir=.
2880 for ac_exec_ext in '' $ac_executable_extensions; do
3408 for ac_exec_ext in '' $ac_executable_extensions; do
28813409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28823410 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2883 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28843412 break 2
28853413 fi
28863414 done
2887 done
3415 done
28883416 IFS=$as_save_IFS
28893417
28903418 fi
28913419 fi
28923420 CC=$ac_cv_prog_CC
28933421 if test -n "$CC"; then
2894 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
28953423 $as_echo "$CC" >&6; }
28963424 else
2897 { $as_echo "$as_me:$LINENO: result: no" >&5
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28983426 $as_echo "no" >&6; }
28993427 fi
29003428
29083436 do
29093437 # Extract the first word of "$ac_prog", so it can be a program name with args.
29103438 set dummy $ac_prog; ac_word=$2
2911 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29123440 $as_echo_n "checking for $ac_word... " >&6; }
2913 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3441 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
29143442 $as_echo_n "(cached) " >&6
29153443 else
29163444 if test -n "$ac_ct_CC"; then
29213449 do
29223450 IFS=$as_save_IFS
29233451 test -z "$as_dir" && as_dir=.
2924 for ac_exec_ext in '' $ac_executable_extensions; do
3452 for ac_exec_ext in '' $ac_executable_extensions; do
29253453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29263454 ac_cv_prog_ac_ct_CC="$ac_prog"
2927 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
29283456 break 2
29293457 fi
29303458 done
2931 done
3459 done
29323460 IFS=$as_save_IFS
29333461
29343462 fi
29353463 fi
29363464 ac_ct_CC=$ac_cv_prog_ac_ct_CC
29373465 if test -n "$ac_ct_CC"; then
2938 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
29393467 $as_echo "$ac_ct_CC" >&6; }
29403468 else
2941 { $as_echo "$as_me:$LINENO: result: no" >&5
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29423470 $as_echo "no" >&6; }
29433471 fi
29443472
29513479 else
29523480 case $cross_compiling:$ac_tool_warned in
29533481 yes:)
2954 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
29553483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
29563484 ac_tool_warned=yes ;;
29573485 esac
29623490 fi
29633491
29643492
2965 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3493 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29663494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2967 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2968 See \`config.log' for more details." >&5
2969 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2970 See \`config.log' for more details." >&2;}
2971 { (exit 1); exit 1; }; }; }
3495 as_fn_error $? "no acceptable C compiler found in \$PATH
3496 See \`config.log' for more details" "$LINENO" 5 ; }
29723497
29733498 # Provide some information about the compiler.
2974 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3499 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
29753500 set X $ac_compile
29763501 ac_compiler=$2
2977 { (ac_try="$ac_compiler --version >&5"
3502 for ac_option in --version -v -V -qversion; do
3503 { { ac_try="$ac_compiler $ac_option >&5"
29783504 case "(($ac_try" in
29793505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29803506 *) ac_try_echo=$ac_try;;
29813507 esac
2982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2983 $as_echo "$ac_try_echo") >&5
2984 (eval "$ac_compiler --version >&5") 2>&5
3508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3509 $as_echo "$ac_try_echo"; } >&5
3510 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
29853511 ac_status=$?
2986 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987 (exit $ac_status); }
2988 { (ac_try="$ac_compiler -v >&5"
2989 case "(($ac_try" in
2990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2991 *) ac_try_echo=$ac_try;;
2992 esac
2993 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2994 $as_echo "$ac_try_echo") >&5
2995 (eval "$ac_compiler -v >&5") 2>&5
2996 ac_status=$?
2997 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998 (exit $ac_status); }
2999 { (ac_try="$ac_compiler -V >&5"
3000 case "(($ac_try" in
3001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3002 *) ac_try_echo=$ac_try;;
3003 esac
3004 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3005 $as_echo "$ac_try_echo") >&5
3006 (eval "$ac_compiler -V >&5") 2>&5
3007 ac_status=$?
3008 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009 (exit $ac_status); }
3010
3011 cat >conftest.$ac_ext <<_ACEOF
3012 /* confdefs.h. */
3013 _ACEOF
3014 cat confdefs.h >>conftest.$ac_ext
3015 cat >>conftest.$ac_ext <<_ACEOF
3512 if test -s conftest.err; then
3513 sed '10a\
3514 ... rest of stderr output deleted ...
3515 10q' conftest.err >conftest.er1
3516 cat conftest.er1 >&5
3517 fi
3518 rm -f conftest.er1 conftest.err
3519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3520 test $ac_status = 0; }
3521 done
3522
3523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30163524 /* end confdefs.h. */
30173525
30183526 int
30283536 # Try to create an executable without -o first, disregard a.out.
30293537 # It will help us diagnose broken compilers, and finding out an intuition
30303538 # of exeext.
3031 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3032 $as_echo_n "checking for C compiler default output file name... " >&6; }
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3540 $as_echo_n "checking whether the C compiler works... " >&6; }
30333541 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
30343542
30353543 # The possible output files:
30453553 done
30463554 rm -f $ac_rmfiles
30473555
3048 if { (ac_try="$ac_link_default"
3556 if { { ac_try="$ac_link_default"
30493557 case "(($ac_try" in
30503558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30513559 *) ac_try_echo=$ac_try;;
30523560 esac
3053 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3054 $as_echo "$ac_try_echo") >&5
3561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3562 $as_echo "$ac_try_echo"; } >&5
30553563 (eval "$ac_link_default") 2>&5
30563564 ac_status=$?
3057 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3058 (exit $ac_status); }; then
3565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3566 test $ac_status = 0; }; then :
30593567 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
30603568 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
30613569 # in a Makefile. We should not override ac_cv_exeext if it was cached,
30723580 # certainly right.
30733581 break;;
30743582 *.* )
3075 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3583 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
30763584 then :; else
30773585 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
30783586 fi
30913599 else
30923600 ac_file=''
30933601 fi
3094
3095 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3602 if test -z "$ac_file"; then :
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3604 $as_echo "no" >&6; }
3605 $as_echo "$as_me: failed program was:" >&5
3606 sed 's/^/| /' conftest.$ac_ext >&5
3607
3608 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3610 as_fn_error 77 "C compiler cannot create executables
3611 See \`config.log' for more details" "$LINENO" 5 ; }
3612 else
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3614 $as_echo "yes" >&6; }
3615 fi
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3617 $as_echo_n "checking for C compiler default output file name... " >&6; }
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
30963619 $as_echo "$ac_file" >&6; }
3097 if test -z "$ac_file"; then
3098 $as_echo "$as_me: failed program was:" >&5
3099 sed 's/^/| /' conftest.$ac_ext >&5
3100
3101 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3102 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3103 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3104 See \`config.log' for more details." >&5
3105 $as_echo "$as_me: error: C compiler cannot create executables
3106 See \`config.log' for more details." >&2;}
3107 { (exit 77); exit 77; }; }; }
3108 fi
3109
31103620 ac_exeext=$ac_cv_exeext
3111
3112 # Check that the compiler produces executables we can run. If not, either
3113 # the compiler is broken, or we cross compile.
3114 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3115 $as_echo_n "checking whether the C compiler works... " >&6; }
3116 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3117 # If not cross compiling, check that we can run a simple program.
3118 if test "$cross_compiling" != yes; then
3119 if { ac_try='./$ac_file'
3120 { (case "(($ac_try" in
3121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3122 *) ac_try_echo=$ac_try;;
3123 esac
3124 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3125 $as_echo "$ac_try_echo") >&5
3126 (eval "$ac_try") 2>&5
3127 ac_status=$?
3128 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129 (exit $ac_status); }; }; then
3130 cross_compiling=no
3131 else
3132 if test "$cross_compiling" = maybe; then
3133 cross_compiling=yes
3134 else
3135 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3137 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3138 If you meant to cross compile, use \`--host'.
3139 See \`config.log' for more details." >&5
3140 $as_echo "$as_me: error: cannot run C compiled programs.
3141 If you meant to cross compile, use \`--host'.
3142 See \`config.log' for more details." >&2;}
3143 { (exit 1); exit 1; }; }; }
3144 fi
3145 fi
3146 fi
3147 { $as_echo "$as_me:$LINENO: result: yes" >&5
3148 $as_echo "yes" >&6; }
31493621
31503622 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
31513623 ac_clean_files=$ac_clean_files_save
3152 # Check that the compiler produces executables we can run. If not, either
3153 # the compiler is broken, or we cross compile.
3154 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3155 $as_echo_n "checking whether we are cross compiling... " >&6; }
3156 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3157 $as_echo "$cross_compiling" >&6; }
3158
3159 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
31603625 $as_echo_n "checking for suffix of executables... " >&6; }
3161 if { (ac_try="$ac_link"
3626 if { { ac_try="$ac_link"
31623627 case "(($ac_try" in
31633628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31643629 *) ac_try_echo=$ac_try;;
31653630 esac
3166 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3167 $as_echo "$ac_try_echo") >&5
3631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3632 $as_echo "$ac_try_echo"; } >&5
31683633 (eval "$ac_link") 2>&5
31693634 ac_status=$?
3170 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171 (exit $ac_status); }; then
3635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3636 test $ac_status = 0; }; then :
31723637 # If both `conftest.exe' and `conftest' are `present' (well, observable)
31733638 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
31743639 # work properly (i.e., refer to `conftest.exe'), while it won't with
31833648 esac
31843649 done
31853650 else
3186 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3651 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
31873652 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3188 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3189 See \`config.log' for more details." >&5
3190 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3191 See \`config.log' for more details." >&2;}
3192 { (exit 1); exit 1; }; }; }
3193 fi
3194
3195 rm -f conftest$ac_cv_exeext
3196 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3653 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3654 See \`config.log' for more details" "$LINENO" 5 ; }
3655 fi
3656 rm -f conftest conftest$ac_cv_exeext
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
31973658 $as_echo "$ac_cv_exeext" >&6; }
31983659
31993660 rm -f conftest.$ac_ext
32003661 EXEEXT=$ac_cv_exeext
32013662 ac_exeext=$EXEEXT
3202 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3664 /* end confdefs.h. */
3665 #include <stdio.h>
3666 int
3667 main ()
3668 {
3669 FILE *f = fopen ("conftest.out", "w");
3670 return ferror (f) || fclose (f) != 0;
3671
3672 ;
3673 return 0;
3674 }
3675 _ACEOF
3676 ac_clean_files="$ac_clean_files conftest.out"
3677 # Check that the compiler produces executables we can run. If not, either
3678 # the compiler is broken, or we cross compile.
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3680 $as_echo_n "checking whether we are cross compiling... " >&6; }
3681 if test "$cross_compiling" != yes; then
3682 { { ac_try="$ac_link"
3683 case "(($ac_try" in
3684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3685 *) ac_try_echo=$ac_try;;
3686 esac
3687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3688 $as_echo "$ac_try_echo"; } >&5
3689 (eval "$ac_link") 2>&5
3690 ac_status=$?
3691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3692 test $ac_status = 0; }
3693 if { ac_try='./conftest$ac_cv_exeext'
3694 { { case "(($ac_try" in
3695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3696 *) ac_try_echo=$ac_try;;
3697 esac
3698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3699 $as_echo "$ac_try_echo"; } >&5
3700 (eval "$ac_try") 2>&5
3701 ac_status=$?
3702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3703 test $ac_status = 0; }; }; then
3704 cross_compiling=no
3705 else
3706 if test "$cross_compiling" = maybe; then
3707 cross_compiling=yes
3708 else
3709 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3710 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3711 as_fn_error $? "cannot run C compiled programs.
3712 If you meant to cross compile, use \`--host'.
3713 See \`config.log' for more details" "$LINENO" 5 ; }
3714 fi
3715 fi
3716 fi
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3718 $as_echo "$cross_compiling" >&6; }
3719
3720 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3721 ac_clean_files=$ac_clean_files_save
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
32033723 $as_echo_n "checking for suffix of object files... " >&6; }
3204 if test "${ac_cv_objext+set}" = set; then
3724 if test "${ac_cv_objext+set}" = set; then :
32053725 $as_echo_n "(cached) " >&6
32063726 else
3207 cat >conftest.$ac_ext <<_ACEOF
3208 /* confdefs.h. */
3209 _ACEOF
3210 cat confdefs.h >>conftest.$ac_ext
3211 cat >>conftest.$ac_ext <<_ACEOF
3727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32123728 /* end confdefs.h. */
32133729
32143730 int
32203736 }
32213737 _ACEOF
32223738 rm -f conftest.o conftest.obj
3223 if { (ac_try="$ac_compile"
3739 if { { ac_try="$ac_compile"
32243740 case "(($ac_try" in
32253741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32263742 *) ac_try_echo=$ac_try;;
32273743 esac
3228 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3229 $as_echo "$ac_try_echo") >&5
3744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3745 $as_echo "$ac_try_echo"; } >&5
32303746 (eval "$ac_compile") 2>&5
32313747 ac_status=$?
3232 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3233 (exit $ac_status); }; then
3748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3749 test $ac_status = 0; }; then :
32343750 for ac_file in conftest.o conftest.obj conftest.*; do
32353751 test -f "$ac_file" || continue;
32363752 case $ac_file in
32433759 $as_echo "$as_me: failed program was:" >&5
32443760 sed 's/^/| /' conftest.$ac_ext >&5
32453761
3246 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32473763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3248 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3249 See \`config.log' for more details." >&5
3250 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3251 See \`config.log' for more details." >&2;}
3252 { (exit 1); exit 1; }; }; }
3253 fi
3254
3764 as_fn_error $? "cannot compute suffix of object files: cannot compile
3765 See \`config.log' for more details" "$LINENO" 5 ; }
3766 fi
32553767 rm -f conftest.$ac_cv_objext conftest.$ac_ext
32563768 fi
3257 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
32583770 $as_echo "$ac_cv_objext" >&6; }
32593771 OBJEXT=$ac_cv_objext
32603772 ac_objext=$OBJEXT
3261 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
32623774 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3263 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3775 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
32643776 $as_echo_n "(cached) " >&6
32653777 else
3266 cat >conftest.$ac_ext <<_ACEOF
3267 /* confdefs.h. */
3268 _ACEOF
3269 cat confdefs.h >>conftest.$ac_ext
3270 cat >>conftest.$ac_ext <<_ACEOF
3778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32713779 /* end confdefs.h. */
32723780
32733781 int
32813789 return 0;
32823790 }
32833791 _ACEOF
3284 rm -f conftest.$ac_objext
3285 if { (ac_try="$ac_compile"
3286 case "(($ac_try" in
3287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3288 *) ac_try_echo=$ac_try;;
3289 esac
3290 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3291 $as_echo "$ac_try_echo") >&5
3292 (eval "$ac_compile") 2>conftest.er1
3293 ac_status=$?
3294 grep -v '^ *+' conftest.er1 >conftest.err
3295 rm -f conftest.er1
3296 cat conftest.err >&5
3297 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 (exit $ac_status); } && {
3299 test -z "$ac_c_werror_flag" ||
3300 test ! -s conftest.err
3301 } && test -s conftest.$ac_objext; then
3792 if ac_fn_c_try_compile "$LINENO"; then :
33023793 ac_compiler_gnu=yes
33033794 else
3304 $as_echo "$as_me: failed program was:" >&5
3305 sed 's/^/| /' conftest.$ac_ext >&5
3306
3307 ac_compiler_gnu=no
3308 fi
3309
3795 ac_compiler_gnu=no
3796 fi
33103797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33113798 ac_cv_c_compiler_gnu=$ac_compiler_gnu
33123799
33133800 fi
3314 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
33153802 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
33163803 if test $ac_compiler_gnu = yes; then
33173804 GCC=yes
33203807 fi
33213808 ac_test_CFLAGS=${CFLAGS+set}
33223809 ac_save_CFLAGS=$CFLAGS
3323 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
33243811 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3325 if test "${ac_cv_prog_cc_g+set}" = set; then
3812 if test "${ac_cv_prog_cc_g+set}" = set; then :
33263813 $as_echo_n "(cached) " >&6
33273814 else
33283815 ac_save_c_werror_flag=$ac_c_werror_flag
33293816 ac_c_werror_flag=yes
33303817 ac_cv_prog_cc_g=no
33313818 CFLAGS="-g"
3332 cat >conftest.$ac_ext <<_ACEOF
3333 /* confdefs.h. */
3334 _ACEOF
3335 cat confdefs.h >>conftest.$ac_ext
3336 cat >>conftest.$ac_ext <<_ACEOF
3819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33373820 /* end confdefs.h. */
33383821
33393822 int
33443827 return 0;
33453828 }
33463829 _ACEOF
3347 rm -f conftest.$ac_objext
3348 if { (ac_try="$ac_compile"
3349 case "(($ac_try" in
3350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3351 *) ac_try_echo=$ac_try;;
3352 esac
3353 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3354 $as_echo "$ac_try_echo") >&5
3355 (eval "$ac_compile") 2>conftest.er1
3356 ac_status=$?
3357 grep -v '^ *+' conftest.er1 >conftest.err
3358 rm -f conftest.er1
3359 cat conftest.err >&5
3360 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3361 (exit $ac_status); } && {
3362 test -z "$ac_c_werror_flag" ||
3363 test ! -s conftest.err
3364 } && test -s conftest.$ac_objext; then
3830 if ac_fn_c_try_compile "$LINENO"; then :
33653831 ac_cv_prog_cc_g=yes
33663832 else
3367 $as_echo "$as_me: failed program was:" >&5
3368 sed 's/^/| /' conftest.$ac_ext >&5
3369
3370 CFLAGS=""
3371 cat >conftest.$ac_ext <<_ACEOF
3372 /* confdefs.h. */
3373 _ACEOF
3374 cat confdefs.h >>conftest.$ac_ext
3375 cat >>conftest.$ac_ext <<_ACEOF
3833 CFLAGS=""
3834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33763835 /* end confdefs.h. */
33773836
33783837 int
33833842 return 0;
33843843 }
33853844 _ACEOF
3386 rm -f conftest.$ac_objext
3387 if { (ac_try="$ac_compile"
3388 case "(($ac_try" in
3389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3390 *) ac_try_echo=$ac_try;;
3391 esac
3392 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3393 $as_echo "$ac_try_echo") >&5
3394 (eval "$ac_compile") 2>conftest.er1
3395 ac_status=$?
3396 grep -v '^ *+' conftest.er1 >conftest.err
3397 rm -f conftest.er1
3398 cat conftest.err >&5
3399 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3400 (exit $ac_status); } && {
3401 test -z "$ac_c_werror_flag" ||
3402 test ! -s conftest.err
3403 } && test -s conftest.$ac_objext; then
3404 :
3405 else
3406 $as_echo "$as_me: failed program was:" >&5
3407 sed 's/^/| /' conftest.$ac_ext >&5
3408
3409 ac_c_werror_flag=$ac_save_c_werror_flag
3845 if ac_fn_c_try_compile "$LINENO"; then :
3846
3847 else
3848 ac_c_werror_flag=$ac_save_c_werror_flag
34103849 CFLAGS="-g"
3411 cat >conftest.$ac_ext <<_ACEOF
3412 /* confdefs.h. */
3413 _ACEOF
3414 cat confdefs.h >>conftest.$ac_ext
3415 cat >>conftest.$ac_ext <<_ACEOF
3850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34163851 /* end confdefs.h. */
34173852
34183853 int
34233858 return 0;
34243859 }
34253860 _ACEOF
3426 rm -f conftest.$ac_objext
3427 if { (ac_try="$ac_compile"
3428 case "(($ac_try" in
3429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3430 *) ac_try_echo=$ac_try;;
3431 esac
3432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3433 $as_echo "$ac_try_echo") >&5
3434 (eval "$ac_compile") 2>conftest.er1
3435 ac_status=$?
3436 grep -v '^ *+' conftest.er1 >conftest.err
3437 rm -f conftest.er1
3438 cat conftest.err >&5
3439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3440 (exit $ac_status); } && {
3441 test -z "$ac_c_werror_flag" ||
3442 test ! -s conftest.err
3443 } && test -s conftest.$ac_objext; then
3861 if ac_fn_c_try_compile "$LINENO"; then :
34443862 ac_cv_prog_cc_g=yes
3445 else
3446 $as_echo "$as_me: failed program was:" >&5
3447 sed 's/^/| /' conftest.$ac_ext >&5
3448
3449
3450 fi
3451
3863 fi
34523864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34533865 fi
3454
34553866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34563867 fi
3457
34583868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34593869 ac_c_werror_flag=$ac_save_c_werror_flag
34603870 fi
3461 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
34623872 $as_echo "$ac_cv_prog_cc_g" >&6; }
34633873 if test "$ac_test_CFLAGS" = set; then
34643874 CFLAGS=$ac_save_CFLAGS
34753885 CFLAGS=
34763886 fi
34773887 fi
3478 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
34793889 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3480 if test "${ac_cv_prog_cc_c89+set}" = set; then
3890 if test "${ac_cv_prog_cc_c89+set}" = set; then :
34813891 $as_echo_n "(cached) " >&6
34823892 else
34833893 ac_cv_prog_cc_c89=no
34843894 ac_save_CC=$CC
3485 cat >conftest.$ac_ext <<_ACEOF
3486 /* confdefs.h. */
3487 _ACEOF
3488 cat confdefs.h >>conftest.$ac_ext
3489 cat >>conftest.$ac_ext <<_ACEOF
3895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34903896 /* end confdefs.h. */
34913897 #include <stdarg.h>
34923898 #include <stdio.h>
35433949 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
35443950 do
35453951 CC="$ac_save_CC $ac_arg"
3546 rm -f conftest.$ac_objext
3547 if { (ac_try="$ac_compile"
3548 case "(($ac_try" in
3549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550 *) ac_try_echo=$ac_try;;
3551 esac
3552 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3553 $as_echo "$ac_try_echo") >&5
3554 (eval "$ac_compile") 2>conftest.er1
3555 ac_status=$?
3556 grep -v '^ *+' conftest.er1 >conftest.err
3557 rm -f conftest.er1
3558 cat conftest.err >&5
3559 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560 (exit $ac_status); } && {
3561 test -z "$ac_c_werror_flag" ||
3562 test ! -s conftest.err
3563 } && test -s conftest.$ac_objext; then
3952 if ac_fn_c_try_compile "$LINENO"; then :
35643953 ac_cv_prog_cc_c89=$ac_arg
3565 else
3566 $as_echo "$as_me: failed program was:" >&5
3567 sed 's/^/| /' conftest.$ac_ext >&5
3568
3569
3570 fi
3571
3954 fi
35723955 rm -f core conftest.err conftest.$ac_objext
35733956 test "x$ac_cv_prog_cc_c89" != "xno" && break
35743957 done
35793962 # AC_CACHE_VAL
35803963 case "x$ac_cv_prog_cc_c89" in
35813964 x)
3582 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
35833966 $as_echo "none needed" >&6; } ;;
35843967 xno)
3585 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
35863969 $as_echo "unsupported" >&6; } ;;
35873970 *)
35883971 CC="$CC $ac_cv_prog_cc_c89"
3589 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
35903973 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
35913974 esac
3592
3975 if test "x$ac_cv_prog_cc_c89" != xno; then :
3976
3977 fi
35933978
35943979 ac_ext=c
35953980 ac_cpp='$CPP $CPPFLAGS'
35973982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35983983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35993984
3600 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
36013986 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3602 if test "${lt_cv_path_SED+set}" = set; then
3987 if test "${lt_cv_path_SED+set}" = set; then :
36033988 $as_echo_n "(cached) " >&6
36043989 else
36053990 # Loop through the user's path and test for sed and gsed.
36514036 fi
36524037
36534038 SED=$lt_cv_path_SED
3654 { $as_echo "$as_me:$LINENO: result: $SED" >&5
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
36554040 $as_echo "$SED" >&6; }
36564041
3657 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
36584043 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3659 if test "${ac_cv_path_GREP+set}" = set; then
4044 if test "${ac_cv_path_GREP+set}" = set; then :
36604045 $as_echo_n "(cached) " >&6
36614046 else
36624047 if test -z "$GREP"; then
36674052 do
36684053 IFS=$as_save_IFS
36694054 test -z "$as_dir" && as_dir=.
3670 for ac_prog in grep ggrep; do
4055 for ac_prog in grep ggrep; do
36714056 for ac_exec_ext in '' $ac_executable_extensions; do
36724057 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
36734058 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
36874072 $as_echo 'GREP' >> "conftest.nl"
36884073 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
36894074 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3690 ac_count=`expr $ac_count + 1`
4075 as_fn_arith $ac_count + 1 && ac_count=$as_val
36914076 if test $ac_count -gt ${ac_path_GREP_max-0}; then
36924077 # Best one so far, save it but keep looking for a better one
36934078 ac_cv_path_GREP="$ac_path_GREP"
37024087 $ac_path_GREP_found && break 3
37034088 done
37044089 done
3705 done
4090 done
37064091 IFS=$as_save_IFS
37074092 if test -z "$ac_cv_path_GREP"; then
3708 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3709 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3710 { (exit 1); exit 1; }; }
4093 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
37114094 fi
37124095 else
37134096 ac_cv_path_GREP=$GREP
37144097 fi
37154098
37164099 fi
3717 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
37184101 $as_echo "$ac_cv_path_GREP" >&6; }
37194102 GREP="$ac_cv_path_GREP"
37204103
37214104
3722 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
37234106 $as_echo_n "checking for egrep... " >&6; }
3724 if test "${ac_cv_path_EGREP+set}" = set; then
4107 if test "${ac_cv_path_EGREP+set}" = set; then :
37254108 $as_echo_n "(cached) " >&6
37264109 else
37274110 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
37354118 do
37364119 IFS=$as_save_IFS
37374120 test -z "$as_dir" && as_dir=.
3738 for ac_prog in egrep; do
4121 for ac_prog in egrep; do
37394122 for ac_exec_ext in '' $ac_executable_extensions; do
37404123 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
37414124 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
37554138 $as_echo 'EGREP' >> "conftest.nl"
37564139 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
37574140 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3758 ac_count=`expr $ac_count + 1`
4141 as_fn_arith $ac_count + 1 && ac_count=$as_val
37594142 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
37604143 # Best one so far, save it but keep looking for a better one
37614144 ac_cv_path_EGREP="$ac_path_EGREP"
37704153 $ac_path_EGREP_found && break 3
37714154 done
37724155 done
3773 done
4156 done
37744157 IFS=$as_save_IFS
37754158 if test -z "$ac_cv_path_EGREP"; then
3776 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3777 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3778 { (exit 1); exit 1; }; }
4159 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
37794160 fi
37804161 else
37814162 ac_cv_path_EGREP=$EGREP
37834164
37844165 fi
37854166 fi
3786 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
37874168 $as_echo "$ac_cv_path_EGREP" >&6; }
37884169 EGREP="$ac_cv_path_EGREP"
37894170
37904171
37914172
37924173 # Check whether --with-gnu-ld was given.
3793 if test "${with_gnu_ld+set}" = set; then
4174 if test "${with_gnu_ld+set}" = set; then :
37944175 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
37954176 else
37964177 with_gnu_ld=no
37994180 ac_prog=ld
38004181 if test "$GCC" = yes; then
38014182 # Check if gcc -print-prog-name=ld gives a path.
3802 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
38034184 $as_echo_n "checking for ld used by $CC... " >&6; }
38044185 case $host in
38054186 *-*-mingw*)
38294210 ;;
38304211 esac
38314212 elif test "$with_gnu_ld" = yes; then
3832 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
38334214 $as_echo_n "checking for GNU ld... " >&6; }
38344215 else
3835 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
38364217 $as_echo_n "checking for non-GNU ld... " >&6; }
38374218 fi
3838 if test "${lt_cv_path_LD+set}" = set; then
4219 if test "${lt_cv_path_LD+set}" = set; then :
38394220 $as_echo_n "(cached) " >&6
38404221 else
38414222 if test -z "$LD"; then
38664247
38674248 LD="$lt_cv_path_LD"
38684249 if test -n "$LD"; then
3869 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
38704251 $as_echo "$LD" >&6; }
38714252 else
3872 { $as_echo "$as_me:$LINENO: result: no" >&5
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38734254 $as_echo "no" >&6; }
38744255 fi
3875 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3876 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3877 { (exit 1); exit 1; }; }
3878 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4256 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
38794258 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3880 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4259 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
38814260 $as_echo_n "(cached) " >&6
38824261 else
38834262 # I'd rather use --version here, but apparently some GNU lds only accept -v.
38904269 ;;
38914270 esac
38924271 fi
3893 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
38944273 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
38954274 with_gnu_ld=$lt_cv_prog_gnu_ld
38964275
38974276
3898 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
38994278 $as_echo_n "checking for $LD option to reload object files... " >&6; }
3900 if test "${lt_cv_ld_reload_flag+set}" = set; then
4279 if test "${lt_cv_ld_reload_flag+set}" = set; then :
39014280 $as_echo_n "(cached) " >&6
39024281 else
39034282 lt_cv_ld_reload_flag='-r'
39044283 fi
3905 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
39064285 $as_echo "$lt_cv_ld_reload_flag" >&6; }
39074286 reload_flag=$lt_cv_ld_reload_flag
39084287 case $reload_flag in
39204299 ;;
39214300 esac
39224301
3923 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD-compatible nm" >&5
39244303 $as_echo_n "checking for BSD-compatible nm... " >&6; }
3925 if test "${lt_cv_path_NM+set}" = set; then
4304 if test "${lt_cv_path_NM+set}" = set; then :
39264305 $as_echo_n "(cached) " >&6
39274306 else
39284307 if test -n "$NM"; then
39694348 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
39704349 fi
39714350 fi
3972 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
39734352 $as_echo "$lt_cv_path_NM" >&6; }
39744353 NM="$lt_cv_path_NM"
39754354
3976 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
39774356 $as_echo_n "checking whether ln -s works... " >&6; }
39784357 LN_S=$as_ln_s
39794358 if test "$LN_S" = "ln -s"; then
3980 { $as_echo "$as_me:$LINENO: result: yes" >&5
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39814360 $as_echo "yes" >&6; }
39824361 else
3983 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
39844363 $as_echo "no, using $LN_S" >&6; }
39854364 fi
39864365
3987 { $as_echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognise dependent libraries" >&5
39884367 $as_echo_n "checking how to recognise dependent libraries... " >&6; }
3989 if test "${lt_cv_deplibs_check_method+set}" = set; then
4368 if test "${lt_cv_deplibs_check_method+set}" = set; then :
39904369 $as_echo_n "(cached) " >&6
39914370 else
39924371 lt_cv_file_magic_cmd='$MAGIC_CMD'
41604539 esac
41614540
41624541 fi
4163 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
41644543 $as_echo "$lt_cv_deplibs_check_method" >&6; }
41654544 file_magic_cmd=$lt_cv_file_magic_cmd
41664545 deplibs_check_method=$lt_cv_deplibs_check_method
41804559
41814560
41824561 # Check whether --enable-libtool-lock was given.
4183 if test "${enable_libtool_lock+set}" = set; then
4562 if test "${enable_libtool_lock+set}" = set; then :
41844563 enableval=$enable_libtool_lock;
41854564 fi
41864565
41924571 ia64-*-hpux*)
41934572 # Find out which ABI we are using.
41944573 echo 'int i;' > conftest.$ac_ext
4195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4574 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
41964575 (eval $ac_compile) 2>&5
41974576 ac_status=$?
4198 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4199 (exit $ac_status); }; then
4577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4578 test $ac_status = 0; }; then
42004579 case `/usr/bin/file conftest.$ac_objext` in
42014580 *ELF-32*)
42024581 HPUX_IA64_MODE="32"
42104589 ;;
42114590 *-*-irix6*)
42124591 # Find out which ABI we are using.
4213 echo '#line 4214 "configure"' > conftest.$ac_ext
4214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4592 echo '#line 4593 "configure"' > conftest.$ac_ext
4593 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
42154594 (eval $ac_compile) 2>&5
42164595 ac_status=$?
4217 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4218 (exit $ac_status); }; then
4596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4597 test $ac_status = 0; }; then
42194598 if test "$lt_cv_prog_gnu_ld" = yes; then
42204599 case `/usr/bin/file conftest.$ac_objext` in
42214600 *32-bit*)
42484627 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
42494628 # Find out which ABI we are using.
42504629 echo 'int i;' > conftest.$ac_ext
4251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4630 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
42524631 (eval $ac_compile) 2>&5
42534632 ac_status=$?
4254 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255 (exit $ac_status); }; then
4633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4634 test $ac_status = 0; }; then
42564635 case `/usr/bin/file conftest.o` in
42574636 *32-bit*)
42584637 case $host in
42954674 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
42964675 SAVE_CFLAGS="$CFLAGS"
42974676 CFLAGS="$CFLAGS -belf"
4298 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
42994678 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
4300 if test "${lt_cv_cc_needs_belf+set}" = set; then
4679 if test "${lt_cv_cc_needs_belf+set}" = set; then :
43014680 $as_echo_n "(cached) " >&6
43024681 else
43034682 ac_ext=c
43064685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43074686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43084687
4309 cat >conftest.$ac_ext <<_ACEOF
4310 /* confdefs.h. */
4311 _ACEOF
4312 cat confdefs.h >>conftest.$ac_ext
4313 cat >>conftest.$ac_ext <<_ACEOF
4688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43144689 /* end confdefs.h. */
43154690
43164691 int
43214696 return 0;
43224697 }
43234698 _ACEOF
4324 rm -f conftest.$ac_objext conftest$ac_exeext
4325 if { (ac_try="$ac_link"
4326 case "(($ac_try" in
4327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4328 *) ac_try_echo=$ac_try;;
4329 esac
4330 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4331 $as_echo "$ac_try_echo") >&5
4332 (eval "$ac_link") 2>conftest.er1
4333 ac_status=$?
4334 grep -v '^ *+' conftest.er1 >conftest.err
4335 rm -f conftest.er1
4336 cat conftest.err >&5
4337 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338 (exit $ac_status); } && {
4339 test -z "$ac_c_werror_flag" ||
4340 test ! -s conftest.err
4341 } && test -s conftest$ac_exeext && {
4342 test "$cross_compiling" = yes ||
4343 $as_test_x conftest$ac_exeext
4344 }; then
4699 if ac_fn_c_try_link "$LINENO"; then :
43454700 lt_cv_cc_needs_belf=yes
43464701 else
4347 $as_echo "$as_me: failed program was:" >&5
4348 sed 's/^/| /' conftest.$ac_ext >&5
4349
4350 lt_cv_cc_needs_belf=no
4351 fi
4352
4353 rm -rf conftest.dSYM
4354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4355 conftest$ac_exeext conftest.$ac_ext
4702 lt_cv_cc_needs_belf=no
4703 fi
4704 rm -f core conftest.err conftest.$ac_objext \
4705 conftest$ac_exeext conftest.$ac_ext
43564706 ac_ext=c
43574707 ac_cpp='$CPP $CPPFLAGS'
43584708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43604710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43614711
43624712 fi
4363 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
43644714 $as_echo "$lt_cv_cc_needs_belf" >&6; }
43654715 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
43664716 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
43704720 sparc*-*solaris*)
43714721 # Find out which ABI we are using.
43724722 echo 'int i;' > conftest.$ac_ext
4373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4723 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
43744724 (eval $ac_compile) 2>&5
43754725 ac_status=$?
4376 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4377 (exit $ac_status); }; then
4726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4727 test $ac_status = 0; }; then
43784728 case `/usr/bin/file conftest.o` in
43794729 *64-bit*)
43804730 case $lt_cv_prog_gnu_ld in
43984748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43994749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44004750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4401 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
44024752 $as_echo_n "checking how to run the C preprocessor... " >&6; }
44034753 # On Suns, sometimes $CPP names a directory.
44044754 if test -n "$CPP" && test -d "$CPP"; then
44054755 CPP=
44064756 fi
44074757 if test -z "$CPP"; then
4408 if test "${ac_cv_prog_CPP+set}" = set; then
4758 if test "${ac_cv_prog_CPP+set}" = set; then :
44094759 $as_echo_n "(cached) " >&6
44104760 else
44114761 # Double quotes because CPP needs to be expanded
44204770 # <limits.h> exists even on freestanding compilers.
44214771 # On the NeXT, cc -E runs the code through the compiler's parser,
44224772 # not just through cpp. "Syntax error" is here to catch this case.
4423 cat >conftest.$ac_ext <<_ACEOF
4424 /* confdefs.h. */
4425 _ACEOF
4426 cat confdefs.h >>conftest.$ac_ext
4427 cat >>conftest.$ac_ext <<_ACEOF
4773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44284774 /* end confdefs.h. */
44294775 #ifdef __STDC__
44304776 # include <limits.h>
44334779 #endif
44344780 Syntax error
44354781 _ACEOF
4436 if { (ac_try="$ac_cpp conftest.$ac_ext"
4437 case "(($ac_try" in
4438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4439 *) ac_try_echo=$ac_try;;
4440 esac
4441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4442 $as_echo "$ac_try_echo") >&5
4443 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4444 ac_status=$?
4445 grep -v '^ *+' conftest.er1 >conftest.err
4446 rm -f conftest.er1
4447 cat conftest.err >&5
4448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4449 (exit $ac_status); } >/dev/null && {
4450 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4451 test ! -s conftest.err
4452 }; then
4453 :
4454 else
4455 $as_echo "$as_me: failed program was:" >&5
4456 sed 's/^/| /' conftest.$ac_ext >&5
4457
4782 if ac_fn_c_try_cpp "$LINENO"; then :
4783
4784 else
44584785 # Broken: fails on valid input.
44594786 continue
44604787 fi
4461
4462 rm -f conftest.err conftest.$ac_ext
4788 rm -f conftest.err conftest.i conftest.$ac_ext
44634789
44644790 # OK, works on sane cases. Now check whether nonexistent headers
44654791 # can be detected and how.
4466 cat >conftest.$ac_ext <<_ACEOF
4467 /* confdefs.h. */
4468 _ACEOF
4469 cat confdefs.h >>conftest.$ac_ext
4470 cat >>conftest.$ac_ext <<_ACEOF
4792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44714793 /* end confdefs.h. */
44724794 #include <ac_nonexistent.h>
44734795 _ACEOF
4474 if { (ac_try="$ac_cpp conftest.$ac_ext"
4475 case "(($ac_try" in
4476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4477 *) ac_try_echo=$ac_try;;
4478 esac
4479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4480 $as_echo "$ac_try_echo") >&5
4481 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4482 ac_status=$?
4483 grep -v '^ *+' conftest.er1 >conftest.err
4484 rm -f conftest.er1
4485 cat conftest.err >&5
4486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4487 (exit $ac_status); } >/dev/null && {
4488 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4489 test ! -s conftest.err
4490 }; then
4796 if ac_fn_c_try_cpp "$LINENO"; then :
44914797 # Broken: success on invalid input.
44924798 continue
44934799 else
4494 $as_echo "$as_me: failed program was:" >&5
4495 sed 's/^/| /' conftest.$ac_ext >&5
4496
44974800 # Passes both tests.
44984801 ac_preproc_ok=:
44994802 break
45004803 fi
4501
4502 rm -f conftest.err conftest.$ac_ext
4804 rm -f conftest.err conftest.i conftest.$ac_ext
45034805
45044806 done
45054807 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4506 rm -f conftest.err conftest.$ac_ext
4507 if $ac_preproc_ok; then
4808 rm -f conftest.i conftest.err conftest.$ac_ext
4809 if $ac_preproc_ok; then :
45084810 break
45094811 fi
45104812
45164818 else
45174819 ac_cv_prog_CPP=$CPP
45184820 fi
4519 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
45204822 $as_echo "$CPP" >&6; }
45214823 ac_preproc_ok=false
45224824 for ac_c_preproc_warn_flag in '' yes
45274829 # <limits.h> exists even on freestanding compilers.
45284830 # On the NeXT, cc -E runs the code through the compiler's parser,
45294831 # not just through cpp. "Syntax error" is here to catch this case.
4530 cat >conftest.$ac_ext <<_ACEOF
4531 /* confdefs.h. */
4532 _ACEOF
4533 cat confdefs.h >>conftest.$ac_ext
4534 cat >>conftest.$ac_ext <<_ACEOF
4832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45354833 /* end confdefs.h. */
45364834 #ifdef __STDC__
45374835 # include <limits.h>
45404838 #endif
45414839 Syntax error
45424840 _ACEOF
4543 if { (ac_try="$ac_cpp conftest.$ac_ext"
4544 case "(($ac_try" in
4545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4546 *) ac_try_echo=$ac_try;;
4547 esac
4548 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4549 $as_echo "$ac_try_echo") >&5
4550 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4551 ac_status=$?
4552 grep -v '^ *+' conftest.er1 >conftest.err
4553 rm -f conftest.er1
4554 cat conftest.err >&5
4555 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556 (exit $ac_status); } >/dev/null && {
4557 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4558 test ! -s conftest.err
4559 }; then
4560 :
4561 else
4562 $as_echo "$as_me: failed program was:" >&5
4563 sed 's/^/| /' conftest.$ac_ext >&5
4564
4841 if ac_fn_c_try_cpp "$LINENO"; then :
4842
4843 else
45654844 # Broken: fails on valid input.
45664845 continue
45674846 fi
4568
4569 rm -f conftest.err conftest.$ac_ext
4847 rm -f conftest.err conftest.i conftest.$ac_ext
45704848
45714849 # OK, works on sane cases. Now check whether nonexistent headers
45724850 # can be detected and how.
4573 cat >conftest.$ac_ext <<_ACEOF
4574 /* confdefs.h. */
4575 _ACEOF
4576 cat confdefs.h >>conftest.$ac_ext
4577 cat >>conftest.$ac_ext <<_ACEOF
4851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45784852 /* end confdefs.h. */
45794853 #include <ac_nonexistent.h>
45804854 _ACEOF
4581 if { (ac_try="$ac_cpp conftest.$ac_ext"
4582 case "(($ac_try" in
4583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4584 *) ac_try_echo=$ac_try;;
4585 esac
4586 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4587 $as_echo "$ac_try_echo") >&5
4588 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4589 ac_status=$?
4590 grep -v '^ *+' conftest.er1 >conftest.err
4591 rm -f conftest.er1
4592 cat conftest.err >&5
4593 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594 (exit $ac_status); } >/dev/null && {
4595 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4596 test ! -s conftest.err
4597 }; then
4855 if ac_fn_c_try_cpp "$LINENO"; then :
45984856 # Broken: success on invalid input.
45994857 continue
46004858 else
4601 $as_echo "$as_me: failed program was:" >&5
4602 sed 's/^/| /' conftest.$ac_ext >&5
4603
46044859 # Passes both tests.
46054860 ac_preproc_ok=:
46064861 break
46074862 fi
4608
4609 rm -f conftest.err conftest.$ac_ext
4863 rm -f conftest.err conftest.i conftest.$ac_ext
46104864
46114865 done
46124866 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4613 rm -f conftest.err conftest.$ac_ext
4614 if $ac_preproc_ok; then
4615 :
4616 else
4617 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4867 rm -f conftest.i conftest.err conftest.$ac_ext
4868 if $ac_preproc_ok; then :
4869
4870 else
4871 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46184872 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4619 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4620 See \`config.log' for more details." >&5
4621 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4622 See \`config.log' for more details." >&2;}
4623 { (exit 1); exit 1; }; }; }
4873 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4874 See \`config.log' for more details" "$LINENO" 5 ; }
46244875 fi
46254876
46264877 ac_ext=c
46304881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46314882
46324883
4633 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
46344885 $as_echo_n "checking for ANSI C header files... " >&6; }
4635 if test "${ac_cv_header_stdc+set}" = set; then
4886 if test "${ac_cv_header_stdc+set}" = set; then :
46364887 $as_echo_n "(cached) " >&6
46374888 else
4638 cat >conftest.$ac_ext <<_ACEOF
4639 /* confdefs.h. */
4640 _ACEOF
4641 cat confdefs.h >>conftest.$ac_ext
4642 cat >>conftest.$ac_ext <<_ACEOF
4889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46434890 /* end confdefs.h. */
46444891 #include <stdlib.h>
46454892 #include <stdarg.h>
46544901 return 0;
46554902 }
46564903 _ACEOF
4657 rm -f conftest.$ac_objext
4658 if { (ac_try="$ac_compile"
4659 case "(($ac_try" in
4660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4661 *) ac_try_echo=$ac_try;;
4662 esac
4663 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4664 $as_echo "$ac_try_echo") >&5
4665 (eval "$ac_compile") 2>conftest.er1
4666 ac_status=$?
4667 grep -v '^ *+' conftest.er1 >conftest.err
4668 rm -f conftest.er1
4669 cat conftest.err >&5
4670 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4671 (exit $ac_status); } && {
4672 test -z "$ac_c_werror_flag" ||
4673 test ! -s conftest.err
4674 } && test -s conftest.$ac_objext; then
4904 if ac_fn_c_try_compile "$LINENO"; then :
46754905 ac_cv_header_stdc=yes
46764906 else
4677 $as_echo "$as_me: failed program was:" >&5
4678 sed 's/^/| /' conftest.$ac_ext >&5
4679
4680 ac_cv_header_stdc=no
4681 fi
4682
4907 ac_cv_header_stdc=no
4908 fi
46834909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46844910
46854911 if test $ac_cv_header_stdc = yes; then
46864912 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4687 cat >conftest.$ac_ext <<_ACEOF
4688 /* confdefs.h. */
4689 _ACEOF
4690 cat confdefs.h >>conftest.$ac_ext
4691 cat >>conftest.$ac_ext <<_ACEOF
4913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46924914 /* end confdefs.h. */
46934915 #include <string.h>
46944916
46954917 _ACEOF
46964918 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4697 $EGREP "memchr" >/dev/null 2>&1; then
4698 :
4919 $EGREP "memchr" >/dev/null 2>&1; then :
4920
46994921 else
47004922 ac_cv_header_stdc=no
47014923 fi
47054927
47064928 if test $ac_cv_header_stdc = yes; then
47074929 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4708 cat >conftest.$ac_ext <<_ACEOF
4709 /* confdefs.h. */
4710 _ACEOF
4711 cat confdefs.h >>conftest.$ac_ext
4712 cat >>conftest.$ac_ext <<_ACEOF
4930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47134931 /* end confdefs.h. */
47144932 #include <stdlib.h>
47154933
47164934 _ACEOF
47174935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4718 $EGREP "free" >/dev/null 2>&1; then
4719 :
4936 $EGREP "free" >/dev/null 2>&1; then :
4937
47204938 else
47214939 ac_cv_header_stdc=no
47224940 fi
47264944
47274945 if test $ac_cv_header_stdc = yes; then
47284946 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4729 if test "$cross_compiling" = yes; then
4947 if test "$cross_compiling" = yes; then :
47304948 :
47314949 else
4732 cat >conftest.$ac_ext <<_ACEOF
4733 /* confdefs.h. */
4734 _ACEOF
4735 cat confdefs.h >>conftest.$ac_ext
4736 cat >>conftest.$ac_ext <<_ACEOF
4950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47374951 /* end confdefs.h. */
47384952 #include <ctype.h>
47394953 #include <stdlib.h>
47604974 return 0;
47614975 }
47624976 _ACEOF
4763 rm -f conftest$ac_exeext
4764 if { (ac_try="$ac_link"
4765 case "(($ac_try" in
4766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4767 *) ac_try_echo=$ac_try;;
4768 esac
4769 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4770 $as_echo "$ac_try_echo") >&5
4771 (eval "$ac_link") 2>&5
4772 ac_status=$?
4773 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4774 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4775 { (case "(($ac_try" in
4776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4777 *) ac_try_echo=$ac_try;;
4778 esac
4779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4780 $as_echo "$ac_try_echo") >&5
4781 (eval "$ac_try") 2>&5
4782 ac_status=$?
4783 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784 (exit $ac_status); }; }; then
4785 :
4786 else
4787 $as_echo "$as_me: program exited with status $ac_status" >&5
4788 $as_echo "$as_me: failed program was:" >&5
4789 sed 's/^/| /' conftest.$ac_ext >&5
4790
4791 ( exit $ac_status )
4792 ac_cv_header_stdc=no
4793 fi
4794 rm -rf conftest.dSYM
4795 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4796 fi
4797
4798
4799 fi
4800 fi
4801 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4977 if ac_fn_c_try_run "$LINENO"; then :
4978
4979 else
4980 ac_cv_header_stdc=no
4981 fi
4982 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4983 conftest.$ac_objext conftest.beam conftest.$ac_ext
4984 fi
4985
4986 fi
4987 fi
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
48024989 $as_echo "$ac_cv_header_stdc" >&6; }
48034990 if test $ac_cv_header_stdc = yes; then
48044991
4805 cat >>confdefs.h <<\_ACEOF
4806 #define STDC_HEADERS 1
4807 _ACEOF
4992 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
48084993
48094994 fi
48104995
48114996 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4812
4813
4814
4815
4816
4817
4818
4819
4820
48214997 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
48224998 inttypes.h stdint.h unistd.h
4823 do
4824 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4825 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4826 $as_echo_n "checking for $ac_header... " >&6; }
4827 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4828 $as_echo_n "(cached) " >&6
4829 else
4830 cat >conftest.$ac_ext <<_ACEOF
4831 /* confdefs.h. */
4832 _ACEOF
4833 cat confdefs.h >>conftest.$ac_ext
4834 cat >>conftest.$ac_ext <<_ACEOF
4835 /* end confdefs.h. */
4836 $ac_includes_default
4837
4838 #include <$ac_header>
4839 _ACEOF
4840 rm -f conftest.$ac_objext
4841 if { (ac_try="$ac_compile"
4842 case "(($ac_try" in
4843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4844 *) ac_try_echo=$ac_try;;
4845 esac
4846 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4847 $as_echo "$ac_try_echo") >&5
4848 (eval "$ac_compile") 2>conftest.er1
4849 ac_status=$?
4850 grep -v '^ *+' conftest.er1 >conftest.err
4851 rm -f conftest.er1
4852 cat conftest.err >&5
4853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); } && {
4855 test -z "$ac_c_werror_flag" ||
4856 test ! -s conftest.err
4857 } && test -s conftest.$ac_objext; then
4858 eval "$as_ac_Header=yes"
4859 else
4860 $as_echo "$as_me: failed program was:" >&5
4861 sed 's/^/| /' conftest.$ac_ext >&5
4862
4863 eval "$as_ac_Header=no"
4864 fi
4865
4866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4867 fi
4868 ac_res=`eval 'as_val=${'$as_ac_Header'}
4869 $as_echo "$as_val"'`
4870 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4871 $as_echo "$ac_res" >&6; }
4872 as_val=`eval 'as_val=${'$as_ac_Header'}
4873 $as_echo "$as_val"'`
4874 if test "x$as_val" = x""yes; then
4999 do :
5000 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5001 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5002 "
5003 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
48755004 cat >>confdefs.h <<_ACEOF
48765005 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
48775006 _ACEOF
48815010 done
48825011
48835012
4884
48855013 for ac_header in dlfcn.h
4886 do
4887 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4888 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4889 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4890 $as_echo_n "checking for $ac_header... " >&6; }
4891 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4892 $as_echo_n "(cached) " >&6
4893 fi
4894 ac_res=`eval 'as_val=${'$as_ac_Header'}
4895 $as_echo "$as_val"'`
4896 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4897 $as_echo "$ac_res" >&6; }
4898 else
4899 # Is the header compilable?
4900 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4901 $as_echo_n "checking $ac_header usability... " >&6; }
4902 cat >conftest.$ac_ext <<_ACEOF
4903 /* confdefs.h. */
4904 _ACEOF
4905 cat confdefs.h >>conftest.$ac_ext
4906 cat >>conftest.$ac_ext <<_ACEOF
4907 /* end confdefs.h. */
4908 $ac_includes_default
4909 #include <$ac_header>
4910 _ACEOF
4911 rm -f conftest.$ac_objext
4912 if { (ac_try="$ac_compile"
4913 case "(($ac_try" in
4914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4915 *) ac_try_echo=$ac_try;;
4916 esac
4917 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4918 $as_echo "$ac_try_echo") >&5
4919 (eval "$ac_compile") 2>conftest.er1
4920 ac_status=$?
4921 grep -v '^ *+' conftest.er1 >conftest.err
4922 rm -f conftest.er1
4923 cat conftest.err >&5
4924 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925 (exit $ac_status); } && {
4926 test -z "$ac_c_werror_flag" ||
4927 test ! -s conftest.err
4928 } && test -s conftest.$ac_objext; then
4929 ac_header_compiler=yes
4930 else
4931 $as_echo "$as_me: failed program was:" >&5
4932 sed 's/^/| /' conftest.$ac_ext >&5
4933
4934 ac_header_compiler=no
4935 fi
4936
4937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4938 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4939 $as_echo "$ac_header_compiler" >&6; }
4940
4941 # Is the header present?
4942 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4943 $as_echo_n "checking $ac_header presence... " >&6; }
4944 cat >conftest.$ac_ext <<_ACEOF
4945 /* confdefs.h. */
4946 _ACEOF
4947 cat confdefs.h >>conftest.$ac_ext
4948 cat >>conftest.$ac_ext <<_ACEOF
4949 /* end confdefs.h. */
4950 #include <$ac_header>
4951 _ACEOF
4952 if { (ac_try="$ac_cpp conftest.$ac_ext"
4953 case "(($ac_try" in
4954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4955 *) ac_try_echo=$ac_try;;
4956 esac
4957 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4958 $as_echo "$ac_try_echo") >&5
4959 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4960 ac_status=$?
4961 grep -v '^ *+' conftest.er1 >conftest.err
4962 rm -f conftest.er1
4963 cat conftest.err >&5
4964 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4965 (exit $ac_status); } >/dev/null && {
4966 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4967 test ! -s conftest.err
4968 }; then
4969 ac_header_preproc=yes
4970 else
4971 $as_echo "$as_me: failed program was:" >&5
4972 sed 's/^/| /' conftest.$ac_ext >&5
4973
4974 ac_header_preproc=no
4975 fi
4976
4977 rm -f conftest.err conftest.$ac_ext
4978 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4979 $as_echo "$ac_header_preproc" >&6; }
4980
4981 # So? What about this header?
4982 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4983 yes:no: )
4984 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4985 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4986 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4987 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4988 ac_header_preproc=yes
4989 ;;
4990 no:yes:* )
4991 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4992 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4993 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4994 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4995 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4996 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4997 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4998 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4999 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5000 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5001 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5002 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5003 ( cat <<\_ASBOX
5004 ## -------------------------------------------- ##
5005 ## Report this to http://uncensored.citadel.org ##
5006 ## -------------------------------------------- ##
5007 _ASBOX
5008 ) | sed "s/^/$as_me: WARNING: /" >&2
5009 ;;
5010 esac
5011 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5012 $as_echo_n "checking for $ac_header... " >&6; }
5013 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5014 $as_echo_n "(cached) " >&6
5015 else
5016 eval "$as_ac_Header=\$ac_header_preproc"
5017 fi
5018 ac_res=`eval 'as_val=${'$as_ac_Header'}
5019 $as_echo "$as_val"'`
5020 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5021 $as_echo "$ac_res" >&6; }
5022
5023 fi
5024 as_val=`eval 'as_val=${'$as_ac_Header'}
5025 $as_echo "$as_val"'`
5026 if test "x$as_val" = x""yes; then
5014 do :
5015 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
5016 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
50275017 cat >>confdefs.h <<_ACEOF
5028 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5018 #define HAVE_DLFCN_H 1
50295019 _ACEOF
50305020
50315021 fi
50465036 do
50475037 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
50485038 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5049 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
50505040 $as_echo_n "checking for $ac_word... " >&6; }
5051 if test "${ac_cv_prog_CXX+set}" = set; then
5041 if test "${ac_cv_prog_CXX+set}" = set; then :
50525042 $as_echo_n "(cached) " >&6
50535043 else
50545044 if test -n "$CXX"; then
50595049 do
50605050 IFS=$as_save_IFS
50615051 test -z "$as_dir" && as_dir=.
5062 for ac_exec_ext in '' $ac_executable_extensions; do
5052 for ac_exec_ext in '' $ac_executable_extensions; do
50635053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50645054 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5065 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
50665056 break 2
50675057 fi
50685058 done
5069 done
5059 done
50705060 IFS=$as_save_IFS
50715061
50725062 fi
50735063 fi
50745064 CXX=$ac_cv_prog_CXX
50755065 if test -n "$CXX"; then
5076 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
50775067 $as_echo "$CXX" >&6; }
50785068 else
5079 { $as_echo "$as_me:$LINENO: result: no" >&5
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
50805070 $as_echo "no" >&6; }
50815071 fi
50825072
50905080 do
50915081 # Extract the first word of "$ac_prog", so it can be a program name with args.
50925082 set dummy $ac_prog; ac_word=$2
5093 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
50945084 $as_echo_n "checking for $ac_word... " >&6; }
5095 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5085 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
50965086 $as_echo_n "(cached) " >&6
50975087 else
50985088 if test -n "$ac_ct_CXX"; then
51035093 do
51045094 IFS=$as_save_IFS
51055095 test -z "$as_dir" && as_dir=.
5106 for ac_exec_ext in '' $ac_executable_extensions; do
5096 for ac_exec_ext in '' $ac_executable_extensions; do
51075097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51085098 ac_cv_prog_ac_ct_CXX="$ac_prog"
5109 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
51105100 break 2
51115101 fi
51125102 done
5113 done
5103 done
51145104 IFS=$as_save_IFS
51155105
51165106 fi
51175107 fi
51185108 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
51195109 if test -n "$ac_ct_CXX"; then
5120 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
51215111 $as_echo "$ac_ct_CXX" >&6; }
51225112 else
5123 { $as_echo "$as_me:$LINENO: result: no" >&5
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
51245114 $as_echo "no" >&6; }
51255115 fi
51265116
51335123 else
51345124 case $cross_compiling:$ac_tool_warned in
51355125 yes:)
5136 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
51375127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
51385128 ac_tool_warned=yes ;;
51395129 esac
51445134 fi
51455135 fi
51465136 # Provide some information about the compiler.
5147 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5137 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
51485138 set X $ac_compile
51495139 ac_compiler=$2
5150 { (ac_try="$ac_compiler --version >&5"
5140 for ac_option in --version -v -V -qversion; do
5141 { { ac_try="$ac_compiler $ac_option >&5"
51515142 case "(($ac_try" in
51525143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51535144 *) ac_try_echo=$ac_try;;
51545145 esac
5155 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5156 $as_echo "$ac_try_echo") >&5
5157 (eval "$ac_compiler --version >&5") 2>&5
5146 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5147 $as_echo "$ac_try_echo"; } >&5
5148 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
51585149 ac_status=$?
5159 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160 (exit $ac_status); }
5161 { (ac_try="$ac_compiler -v >&5"
5162 case "(($ac_try" in
5163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5164 *) ac_try_echo=$ac_try;;
5165 esac
5166 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5167 $as_echo "$ac_try_echo") >&5
5168 (eval "$ac_compiler -v >&5") 2>&5
5169 ac_status=$?
5170 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5171 (exit $ac_status); }
5172 { (ac_try="$ac_compiler -V >&5"
5173 case "(($ac_try" in
5174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5175 *) ac_try_echo=$ac_try;;
5176 esac
5177 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5178 $as_echo "$ac_try_echo") >&5
5179 (eval "$ac_compiler -V >&5") 2>&5
5180 ac_status=$?
5181 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5182 (exit $ac_status); }
5183
5184 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5150 if test -s conftest.err; then
5151 sed '10a\
5152 ... rest of stderr output deleted ...
5153 10q' conftest.err >conftest.er1
5154 cat conftest.er1 >&5
5155 fi
5156 rm -f conftest.er1 conftest.err
5157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5158 test $ac_status = 0; }
5159 done
5160
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
51855162 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5186 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5163 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
51875164 $as_echo_n "(cached) " >&6
51885165 else
5189 cat >conftest.$ac_ext <<_ACEOF
5190 /* confdefs.h. */
5191 _ACEOF
5192 cat confdefs.h >>conftest.$ac_ext
5193 cat >>conftest.$ac_ext <<_ACEOF
5166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51945167 /* end confdefs.h. */
51955168
51965169 int
52045177 return 0;
52055178 }
52065179 _ACEOF
5207 rm -f conftest.$ac_objext
5208 if { (ac_try="$ac_compile"
5209 case "(($ac_try" in
5210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5211 *) ac_try_echo=$ac_try;;
5212 esac
5213 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5214 $as_echo "$ac_try_echo") >&5
5215 (eval "$ac_compile") 2>conftest.er1
5216 ac_status=$?
5217 grep -v '^ *+' conftest.er1 >conftest.err
5218 rm -f conftest.er1
5219 cat conftest.err >&5
5220 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5221 (exit $ac_status); } && {
5222 test -z "$ac_cxx_werror_flag" ||
5223 test ! -s conftest.err
5224 } && test -s conftest.$ac_objext; then
5180 if ac_fn_cxx_try_compile "$LINENO"; then :
52255181 ac_compiler_gnu=yes
52265182 else
5227 $as_echo "$as_me: failed program was:" >&5
5228 sed 's/^/| /' conftest.$ac_ext >&5
5229
5230 ac_compiler_gnu=no
5231 fi
5232
5183 ac_compiler_gnu=no
5184 fi
52335185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52345186 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
52355187
52365188 fi
5237 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
52385190 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
52395191 if test $ac_compiler_gnu = yes; then
52405192 GXX=yes
52435195 fi
52445196 ac_test_CXXFLAGS=${CXXFLAGS+set}
52455197 ac_save_CXXFLAGS=$CXXFLAGS
5246 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
52475199 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5248 if test "${ac_cv_prog_cxx_g+set}" = set; then
5200 if test "${ac_cv_prog_cxx_g+set}" = set; then :
52495201 $as_echo_n "(cached) " >&6
52505202 else
52515203 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
52525204 ac_cxx_werror_flag=yes
52535205 ac_cv_prog_cxx_g=no
52545206 CXXFLAGS="-g"
5255 cat >conftest.$ac_ext <<_ACEOF
5256 /* confdefs.h. */
5257 _ACEOF
5258 cat confdefs.h >>conftest.$ac_ext
5259 cat >>conftest.$ac_ext <<_ACEOF
5207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52605208 /* end confdefs.h. */
52615209
52625210 int
52675215 return 0;
52685216 }
52695217 _ACEOF
5270 rm -f conftest.$ac_objext
5271 if { (ac_try="$ac_compile"
5272 case "(($ac_try" in
5273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5274 *) ac_try_echo=$ac_try;;
5275 esac
5276 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5277 $as_echo "$ac_try_echo") >&5
5278 (eval "$ac_compile") 2>conftest.er1
5279 ac_status=$?
5280 grep -v '^ *+' conftest.er1 >conftest.err
5281 rm -f conftest.er1
5282 cat conftest.err >&5
5283 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5284 (exit $ac_status); } && {
5285 test -z "$ac_cxx_werror_flag" ||
5286 test ! -s conftest.err
5287 } && test -s conftest.$ac_objext; then
5218 if ac_fn_cxx_try_compile "$LINENO"; then :
52885219 ac_cv_prog_cxx_g=yes
52895220 else
5290 $as_echo "$as_me: failed program was:" >&5
5291 sed 's/^/| /' conftest.$ac_ext >&5
5292
5293 CXXFLAGS=""
5294 cat >conftest.$ac_ext <<_ACEOF
5295 /* confdefs.h. */
5296 _ACEOF
5297 cat confdefs.h >>conftest.$ac_ext
5298 cat >>conftest.$ac_ext <<_ACEOF
5221 CXXFLAGS=""
5222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52995223 /* end confdefs.h. */
53005224
53015225 int
53065230 return 0;
53075231 }
53085232 _ACEOF
5309 rm -f conftest.$ac_objext
5310 if { (ac_try="$ac_compile"
5311 case "(($ac_try" in
5312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5313 *) ac_try_echo=$ac_try;;
5314 esac
5315 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5316 $as_echo "$ac_try_echo") >&5
5317 (eval "$ac_compile") 2>conftest.er1
5318 ac_status=$?
5319 grep -v '^ *+' conftest.er1 >conftest.err
5320 rm -f conftest.er1
5321 cat conftest.err >&5
5322 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5323 (exit $ac_status); } && {
5324 test -z "$ac_cxx_werror_flag" ||
5325 test ! -s conftest.err
5326 } && test -s conftest.$ac_objext; then
5327 :
5328 else
5329 $as_echo "$as_me: failed program was:" >&5
5330 sed 's/^/| /' conftest.$ac_ext >&5
5331
5332 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5233 if ac_fn_cxx_try_compile "$LINENO"; then :
5234
5235 else
5236 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
53335237 CXXFLAGS="-g"
5334 cat >conftest.$ac_ext <<_ACEOF
5335 /* confdefs.h. */
5336 _ACEOF
5337 cat confdefs.h >>conftest.$ac_ext
5338 cat >>conftest.$ac_ext <<_ACEOF
5238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53395239 /* end confdefs.h. */
53405240
53415241 int
53465246 return 0;
53475247 }
53485248 _ACEOF
5349 rm -f conftest.$ac_objext
5350 if { (ac_try="$ac_compile"
5351 case "(($ac_try" in
5352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5353 *) ac_try_echo=$ac_try;;
5354 esac
5355 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5356 $as_echo "$ac_try_echo") >&5
5357 (eval "$ac_compile") 2>conftest.er1
5358 ac_status=$?
5359 grep -v '^ *+' conftest.er1 >conftest.err
5360 rm -f conftest.er1
5361 cat conftest.err >&5
5362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363 (exit $ac_status); } && {
5364 test -z "$ac_cxx_werror_flag" ||
5365 test ! -s conftest.err
5366 } && test -s conftest.$ac_objext; then
5249 if ac_fn_cxx_try_compile "$LINENO"; then :
53675250 ac_cv_prog_cxx_g=yes
5368 else
5369 $as_echo "$as_me: failed program was:" >&5
5370 sed 's/^/| /' conftest.$ac_ext >&5
5371
5372
5373 fi
5374
5251 fi
53755252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53765253 fi
5377
53785254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53795255 fi
5380
53815256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53825257 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
53835258 fi
5384 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
53855260 $as_echo "$ac_cv_prog_cxx_g" >&6; }
53865261 if test "$ac_test_CXXFLAGS" = set; then
53875262 CXXFLAGS=$ac_save_CXXFLAGS
54145289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54155290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54165291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5417 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
54185293 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
54195294 if test -z "$CXXCPP"; then
5420 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5295 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
54215296 $as_echo_n "(cached) " >&6
54225297 else
54235298 # Double quotes because CXXCPP needs to be expanded
54325307 # <limits.h> exists even on freestanding compilers.
54335308 # On the NeXT, cc -E runs the code through the compiler's parser,
54345309 # not just through cpp. "Syntax error" is here to catch this case.
5435 cat >conftest.$ac_ext <<_ACEOF
5436 /* confdefs.h. */
5437 _ACEOF
5438 cat confdefs.h >>conftest.$ac_ext
5439 cat >>conftest.$ac_ext <<_ACEOF
5310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54405311 /* end confdefs.h. */
54415312 #ifdef __STDC__
54425313 # include <limits.h>
54455316 #endif
54465317 Syntax error
54475318 _ACEOF
5448 if { (ac_try="$ac_cpp conftest.$ac_ext"
5449 case "(($ac_try" in
5450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5451 *) ac_try_echo=$ac_try;;
5452 esac
5453 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5454 $as_echo "$ac_try_echo") >&5
5455 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5456 ac_status=$?
5457 grep -v '^ *+' conftest.er1 >conftest.err
5458 rm -f conftest.er1
5459 cat conftest.err >&5
5460 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5461 (exit $ac_status); } >/dev/null && {
5462 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5463 test ! -s conftest.err
5464 }; then
5465 :
5466 else
5467 $as_echo "$as_me: failed program was:" >&5
5468 sed 's/^/| /' conftest.$ac_ext >&5
5469
5319 if ac_fn_cxx_try_cpp "$LINENO"; then :
5320
5321 else
54705322 # Broken: fails on valid input.
54715323 continue
54725324 fi
5473
5474 rm -f conftest.err conftest.$ac_ext
5325 rm -f conftest.err conftest.i conftest.$ac_ext
54755326
54765327 # OK, works on sane cases. Now check whether nonexistent headers
54775328 # can be detected and how.
5478 cat >conftest.$ac_ext <<_ACEOF
5479 /* confdefs.h. */
5480 _ACEOF
5481 cat confdefs.h >>conftest.$ac_ext
5482 cat >>conftest.$ac_ext <<_ACEOF
5329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54835330 /* end confdefs.h. */
54845331 #include <ac_nonexistent.h>
54855332 _ACEOF
5486 if { (ac_try="$ac_cpp conftest.$ac_ext"
5487 case "(($ac_try" in
5488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5489 *) ac_try_echo=$ac_try;;
5490 esac
5491 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5492 $as_echo "$ac_try_echo") >&5
5493 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5494 ac_status=$?
5495 grep -v '^ *+' conftest.er1 >conftest.err
5496 rm -f conftest.er1
5497 cat conftest.err >&5
5498 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5499 (exit $ac_status); } >/dev/null && {
5500 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5501 test ! -s conftest.err
5502 }; then
5333 if ac_fn_cxx_try_cpp "$LINENO"; then :
55035334 # Broken: success on invalid input.
55045335 continue
55055336 else
5506 $as_echo "$as_me: failed program was:" >&5
5507 sed 's/^/| /' conftest.$ac_ext >&5
5508
55095337 # Passes both tests.
55105338 ac_preproc_ok=:
55115339 break
55125340 fi
5513
5514 rm -f conftest.err conftest.$ac_ext
5341 rm -f conftest.err conftest.i conftest.$ac_ext
55155342
55165343 done
55175344 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5518 rm -f conftest.err conftest.$ac_ext
5519 if $ac_preproc_ok; then
5345 rm -f conftest.i conftest.err conftest.$ac_ext
5346 if $ac_preproc_ok; then :
55205347 break
55215348 fi
55225349
55285355 else
55295356 ac_cv_prog_CXXCPP=$CXXCPP
55305357 fi
5531 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
55325359 $as_echo "$CXXCPP" >&6; }
55335360 ac_preproc_ok=false
55345361 for ac_cxx_preproc_warn_flag in '' yes
55395366 # <limits.h> exists even on freestanding compilers.
55405367 # On the NeXT, cc -E runs the code through the compiler's parser,
55415368 # not just through cpp. "Syntax error" is here to catch this case.
5542 cat >conftest.$ac_ext <<_ACEOF
5543 /* confdefs.h. */
5544 _ACEOF
5545 cat confdefs.h >>conftest.$ac_ext
5546 cat >>conftest.$ac_ext <<_ACEOF
5369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55475370 /* end confdefs.h. */
55485371 #ifdef __STDC__
55495372 # include <limits.h>
55525375 #endif
55535376 Syntax error
55545377 _ACEOF
5555 if { (ac_try="$ac_cpp conftest.$ac_ext"
5556 case "(($ac_try" in
5557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5558 *) ac_try_echo=$ac_try;;
5559 esac
5560 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5561 $as_echo "$ac_try_echo") >&5
5562 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5563 ac_status=$?
5564 grep -v '^ *+' conftest.er1 >conftest.err
5565 rm -f conftest.er1
5566 cat conftest.err >&5
5567 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5568 (exit $ac_status); } >/dev/null && {
5569 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5570 test ! -s conftest.err
5571 }; then
5572 :
5573 else
5574 $as_echo "$as_me: failed program was:" >&5
5575 sed 's/^/| /' conftest.$ac_ext >&5
5576
5378 if ac_fn_cxx_try_cpp "$LINENO"; then :
5379
5380 else
55775381 # Broken: fails on valid input.
55785382 continue
55795383 fi
5580
5581 rm -f conftest.err conftest.$ac_ext
5384 rm -f conftest.err conftest.i conftest.$ac_ext
55825385
55835386 # OK, works on sane cases. Now check whether nonexistent headers
55845387 # can be detected and how.
5585 cat >conftest.$ac_ext <<_ACEOF
5586 /* confdefs.h. */
5587 _ACEOF
5588 cat confdefs.h >>conftest.$ac_ext
5589 cat >>conftest.$ac_ext <<_ACEOF
5388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55905389 /* end confdefs.h. */
55915390 #include <ac_nonexistent.h>
55925391 _ACEOF
5593 if { (ac_try="$ac_cpp conftest.$ac_ext"
5594 case "(($ac_try" in
5595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5596 *) ac_try_echo=$ac_try;;
5597 esac
5598 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5599 $as_echo "$ac_try_echo") >&5
5600 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5601 ac_status=$?
5602 grep -v '^ *+' conftest.er1 >conftest.err
5603 rm -f conftest.er1
5604 cat conftest.err >&5
5605 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5606 (exit $ac_status); } >/dev/null && {
5607 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5608 test ! -s conftest.err
5609 }; then
5392 if ac_fn_cxx_try_cpp "$LINENO"; then :
56105393 # Broken: success on invalid input.
56115394 continue
56125395 else
5613 $as_echo "$as_me: failed program was:" >&5
5614 sed 's/^/| /' conftest.$ac_ext >&5
5615
56165396 # Passes both tests.
56175397 ac_preproc_ok=:
56185398 break
56195399 fi
5620
5621 rm -f conftest.err conftest.$ac_ext
5400 rm -f conftest.err conftest.i conftest.$ac_ext
56225401
56235402 done
56245403 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5625 rm -f conftest.err conftest.$ac_ext
5626 if $ac_preproc_ok; then
5627 :
5628 else
5629 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5404 rm -f conftest.i conftest.err conftest.$ac_ext
5405 if $ac_preproc_ok; then :
5406
5407 else
5408 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
56305409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5631 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5632 See \`config.log' for more details." >&5
5633 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5634 See \`config.log' for more details." >&2;}
5635 { (exit 1); exit 1; }; }; }
5410 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
5411 See \`config.log' for more details" "$LINENO" 5 ; }
56365412 fi
56375413
56385414 ac_ext=cpp
56495425 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56505426 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
56515427 if test -n "$ac_tool_prefix"; then
5652 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
5428 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 pgfortran pgf95 lf95 ftn
56535429 do
56545430 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
56555431 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5656 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
56575433 $as_echo_n "checking for $ac_word... " >&6; }
5658 if test "${ac_cv_prog_F77+set}" = set; then
5434 if test "${ac_cv_prog_F77+set}" = set; then :
56595435 $as_echo_n "(cached) " >&6
56605436 else
56615437 if test -n "$F77"; then
56665442 do
56675443 IFS=$as_save_IFS
56685444 test -z "$as_dir" && as_dir=.
5669 for ac_exec_ext in '' $ac_executable_extensions; do
5445 for ac_exec_ext in '' $ac_executable_extensions; do
56705446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
56715447 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5672 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
56735449 break 2
56745450 fi
56755451 done
5676 done
5452 done
56775453 IFS=$as_save_IFS
56785454
56795455 fi
56805456 fi
56815457 F77=$ac_cv_prog_F77
56825458 if test -n "$F77"; then
5683 { $as_echo "$as_me:$LINENO: result: $F77" >&5
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
56845460 $as_echo "$F77" >&6; }
56855461 else
5686 { $as_echo "$as_me:$LINENO: result: no" >&5
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
56875463 $as_echo "no" >&6; }
56885464 fi
56895465
56935469 fi
56945470 if test -z "$F77"; then
56955471 ac_ct_F77=$F77
5696 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
5472 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 pgfortran pgf95 lf95 ftn
56975473 do
56985474 # Extract the first word of "$ac_prog", so it can be a program name with args.
56995475 set dummy $ac_prog; ac_word=$2
5700 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
57015477 $as_echo_n "checking for $ac_word... " >&6; }
5702 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5478 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then :
57035479 $as_echo_n "(cached) " >&6
57045480 else
57055481 if test -n "$ac_ct_F77"; then
57105486 do
57115487 IFS=$as_save_IFS
57125488 test -z "$as_dir" && as_dir=.
5713 for ac_exec_ext in '' $ac_executable_extensions; do
5489 for ac_exec_ext in '' $ac_executable_extensions; do
57145490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
57155491 ac_cv_prog_ac_ct_F77="$ac_prog"
5716 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
57175493 break 2
57185494 fi
57195495 done
5720 done
5496 done
57215497 IFS=$as_save_IFS
57225498
57235499 fi
57245500 fi
57255501 ac_ct_F77=$ac_cv_prog_ac_ct_F77
57265502 if test -n "$ac_ct_F77"; then
5727 { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
57285504 $as_echo "$ac_ct_F77" >&6; }
57295505 else
5730 { $as_echo "$as_me:$LINENO: result: no" >&5
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
57315507 $as_echo "no" >&6; }
57325508 fi
57335509
57405516 else
57415517 case $cross_compiling:$ac_tool_warned in
57425518 yes:)
5743 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
57445520 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
57455521 ac_tool_warned=yes ;;
57465522 esac
57505526
57515527
57525528 # Provide some information about the compiler.
5753 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5529 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
57545530 set X $ac_compile
57555531 ac_compiler=$2
5756 { (ac_try="$ac_compiler --version >&5"
5532 for ac_option in --version -v -V -qversion; do
5533 { { ac_try="$ac_compiler $ac_option >&5"
57575534 case "(($ac_try" in
57585535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
57595536 *) ac_try_echo=$ac_try;;
57605537 esac
5761 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5762 $as_echo "$ac_try_echo") >&5
5763 (eval "$ac_compiler --version >&5") 2>&5
5538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5539 $as_echo "$ac_try_echo"; } >&5
5540 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
57645541 ac_status=$?
5765 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5766 (exit $ac_status); }
5767 { (ac_try="$ac_compiler -v >&5"
5768 case "(($ac_try" in
5769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5770 *) ac_try_echo=$ac_try;;
5771 esac
5772 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5773 $as_echo "$ac_try_echo") >&5
5774 (eval "$ac_compiler -v >&5") 2>&5
5775 ac_status=$?
5776 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5777 (exit $ac_status); }
5778 { (ac_try="$ac_compiler -V >&5"
5779 case "(($ac_try" in
5780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5781 *) ac_try_echo=$ac_try;;
5782 esac
5783 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5784 $as_echo "$ac_try_echo") >&5
5785 (eval "$ac_compiler -V >&5") 2>&5
5786 ac_status=$?
5787 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5788 (exit $ac_status); }
5542 if test -s conftest.err; then
5543 sed '10a\
5544 ... rest of stderr output deleted ...
5545 10q' conftest.err >conftest.er1
5546 cat conftest.er1 >&5
5547 fi
5548 rm -f conftest.er1 conftest.err
5549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5550 test $ac_status = 0; }
5551 done
57895552 rm -f a.out
57905553
57915554 # If we don't use `.F' as extension, the preprocessor is not run on the
57925555 # input file. (Note that this only needs to work for GNU compilers.)
57935556 ac_save_ext=$ac_ext
57945557 ac_ext=F
5795 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
57965559 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
5797 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5560 if test "${ac_cv_f77_compiler_gnu+set}" = set; then :
57985561 $as_echo_n "(cached) " >&6
57995562 else
5800 cat >conftest.$ac_ext <<_ACEOF
5563 cat > conftest.$ac_ext <<_ACEOF
58015564 program main
58025565 #ifndef __GNUC__
58035566 choke me
58055568
58065569 end
58075570 _ACEOF
5808 rm -f conftest.$ac_objext
5809 if { (ac_try="$ac_compile"
5810 case "(($ac_try" in
5811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5812 *) ac_try_echo=$ac_try;;
5813 esac
5814 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5815 $as_echo "$ac_try_echo") >&5
5816 (eval "$ac_compile") 2>conftest.er1
5817 ac_status=$?
5818 grep -v '^ *+' conftest.er1 >conftest.err
5819 rm -f conftest.er1
5820 cat conftest.err >&5
5821 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5822 (exit $ac_status); } && {
5823 test -z "$ac_f77_werror_flag" ||
5824 test ! -s conftest.err
5825 } && test -s conftest.$ac_objext; then
5571 if ac_fn_f77_try_compile "$LINENO"; then :
58265572 ac_compiler_gnu=yes
58275573 else
5828 $as_echo "$as_me: failed program was:" >&5
5829 sed 's/^/| /' conftest.$ac_ext >&5
5830
5831 ac_compiler_gnu=no
5832 fi
5833
5574 ac_compiler_gnu=no
5575 fi
58345576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58355577 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
58365578
58375579 fi
5838 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
58395581 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
58405582 ac_ext=$ac_save_ext
58415583 ac_test_FFLAGS=${FFLAGS+set}
58425584 ac_save_FFLAGS=$FFLAGS
58435585 FFLAGS=
5844 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
58455587 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
5846 if test "${ac_cv_prog_f77_g+set}" = set; then
5588 if test "${ac_cv_prog_f77_g+set}" = set; then :
58475589 $as_echo_n "(cached) " >&6
58485590 else
58495591 FFLAGS=-g
5850 cat >conftest.$ac_ext <<_ACEOF
5592 cat > conftest.$ac_ext <<_ACEOF
58515593 program main
58525594
58535595 end
58545596 _ACEOF
5855 rm -f conftest.$ac_objext
5856 if { (ac_try="$ac_compile"
5857 case "(($ac_try" in
5858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5859 *) ac_try_echo=$ac_try;;
5860 esac
5861 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5862 $as_echo "$ac_try_echo") >&5
5863 (eval "$ac_compile") 2>conftest.er1
5864 ac_status=$?
5865 grep -v '^ *+' conftest.er1 >conftest.err
5866 rm -f conftest.er1
5867 cat conftest.err >&5
5868 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5869 (exit $ac_status); } && {
5870 test -z "$ac_f77_werror_flag" ||
5871 test ! -s conftest.err
5872 } && test -s conftest.$ac_objext; then
5597 if ac_fn_f77_try_compile "$LINENO"; then :
58735598 ac_cv_prog_f77_g=yes
58745599 else
5875 $as_echo "$as_me: failed program was:" >&5
5876 sed 's/^/| /' conftest.$ac_ext >&5
5877
5878 ac_cv_prog_f77_g=no
5879 fi
5880
5600 ac_cv_prog_f77_g=no
5601 fi
58815602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58825603
58835604 fi
5884 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
58855606 $as_echo "$ac_cv_prog_f77_g" >&6; }
58865607 if test "$ac_test_FFLAGS" = set; then
58875608 FFLAGS=$ac_save_FFLAGS
59155636 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
59165637
59175638 # find the maximum length of command line arguments
5918 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
59195640 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5920 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5641 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
59215642 $as_echo_n "(cached) " >&6
59225643 else
59235644 i=0
60245745 fi
60255746
60265747 if test -n $lt_cv_sys_max_cmd_len ; then
6027 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
60285749 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
60295750 else
6030 { $as_echo "$as_me:$LINENO: result: none" >&5
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
60315752 $as_echo "none" >&6; }
60325753 fi
60335754
60355756
60365757
60375758 # Check for command to grab the raw symbol name followed by C symbol from nm.
6038 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
60395760 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6040 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5761 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
60415762 $as_echo_n "(cached) " >&6
60425763 else
60435764
61405861 int main(){nm_test_var='a';nm_test_func();return(0);}
61415862 EOF
61425863
6143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5864 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
61445865 (eval $ac_compile) 2>&5
61455866 ac_status=$?
6146 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6147 (exit $ac_status); }; then
5867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5868 test $ac_status = 0; }; then
61485869 # Now try to grab the symbols.
61495870 nlist=conftest.nm
6150 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5871 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
61515872 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
61525873 ac_status=$?
6153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154 (exit $ac_status); } && test -s "$nlist"; then
5874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5875 test $ac_status = 0; } && test -s "$nlist"; then
61555876 # Try sorting and uniquifying the output.
61565877 if sort "$nlist" | uniq > "$nlist"T; then
61575878 mv -f "$nlist"T "$nlist"
62025923 lt_save_CFLAGS="$CFLAGS"
62035924 LIBS="conftstm.$ac_objext"
62045925 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5926 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
62065927 (eval $ac_link) 2>&5
62075928 ac_status=$?
6208 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6209 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5930 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
62105931 pipe_works=yes
62115932 fi
62125933 LIBS="$lt_save_LIBS"
62405961 lt_cv_sys_global_symbol_to_cdecl=
62415962 fi
62425963 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6243 { $as_echo "$as_me:$LINENO: result: failed" >&5
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
62445965 $as_echo "failed" >&6; }
62455966 else
6246 { $as_echo "$as_me:$LINENO: result: ok" >&5
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
62475968 $as_echo "ok" >&6; }
62485969 fi
62495970
6250 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
62515972 $as_echo_n "checking for objdir... " >&6; }
6252 if test "${lt_cv_objdir+set}" = set; then
5973 if test "${lt_cv_objdir+set}" = set; then :
62535974 $as_echo_n "(cached) " >&6
62545975 else
62555976 rm -f .libs 2>/dev/null
62625983 fi
62635984 rmdir .libs 2>/dev/null
62645985 fi
6265 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
62665987 $as_echo "$lt_cv_objdir" >&6; }
62675988 objdir=$lt_cv_objdir
62685989
63146035 if test -n "$ac_tool_prefix"; then
63156036 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
63166037 set dummy ${ac_tool_prefix}ar; ac_word=$2
6317 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
63186039 $as_echo_n "checking for $ac_word... " >&6; }
6319 if test "${ac_cv_prog_AR+set}" = set; then
6040 if test "${ac_cv_prog_AR+set}" = set; then :
63206041 $as_echo_n "(cached) " >&6
63216042 else
63226043 if test -n "$AR"; then
63276048 do
63286049 IFS=$as_save_IFS
63296050 test -z "$as_dir" && as_dir=.
6330 for ac_exec_ext in '' $ac_executable_extensions; do
6051 for ac_exec_ext in '' $ac_executable_extensions; do
63316052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
63326053 ac_cv_prog_AR="${ac_tool_prefix}ar"
6333 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
63346055 break 2
63356056 fi
63366057 done
6337 done
6058 done
63386059 IFS=$as_save_IFS
63396060
63406061 fi
63416062 fi
63426063 AR=$ac_cv_prog_AR
63436064 if test -n "$AR"; then
6344 { $as_echo "$as_me:$LINENO: result: $AR" >&5
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
63456066 $as_echo "$AR" >&6; }
63466067 else
6347 { $as_echo "$as_me:$LINENO: result: no" >&5
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
63486069 $as_echo "no" >&6; }
63496070 fi
63506071
63546075 ac_ct_AR=$AR
63556076 # Extract the first word of "ar", so it can be a program name with args.
63566077 set dummy ar; ac_word=$2
6357 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
63586079 $as_echo_n "checking for $ac_word... " >&6; }
6359 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6080 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
63606081 $as_echo_n "(cached) " >&6
63616082 else
63626083 if test -n "$ac_ct_AR"; then
63676088 do
63686089 IFS=$as_save_IFS
63696090 test -z "$as_dir" && as_dir=.
6370 for ac_exec_ext in '' $ac_executable_extensions; do
6091 for ac_exec_ext in '' $ac_executable_extensions; do
63716092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
63726093 ac_cv_prog_ac_ct_AR="ar"
6373 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
63746095 break 2
63756096 fi
63766097 done
6377 done
6098 done
63786099 IFS=$as_save_IFS
63796100
63806101 fi
63816102 fi
63826103 ac_ct_AR=$ac_cv_prog_ac_ct_AR
63836104 if test -n "$ac_ct_AR"; then
6384 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
63856106 $as_echo "$ac_ct_AR" >&6; }
63866107 else
6387 { $as_echo "$as_me:$LINENO: result: no" >&5
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
63886109 $as_echo "no" >&6; }
63896110 fi
63906111
63936114 else
63946115 case $cross_compiling:$ac_tool_warned in
63956116 yes:)
6396 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
63976118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
63986119 ac_tool_warned=yes ;;
63996120 esac
64066127 if test -n "$ac_tool_prefix"; then
64076128 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
64086129 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6409 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64106131 $as_echo_n "checking for $ac_word... " >&6; }
6411 if test "${ac_cv_prog_RANLIB+set}" = set; then
6132 if test "${ac_cv_prog_RANLIB+set}" = set; then :
64126133 $as_echo_n "(cached) " >&6
64136134 else
64146135 if test -n "$RANLIB"; then
64196140 do
64206141 IFS=$as_save_IFS
64216142 test -z "$as_dir" && as_dir=.
6422 for ac_exec_ext in '' $ac_executable_extensions; do
6143 for ac_exec_ext in '' $ac_executable_extensions; do
64236144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64246145 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6425 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64266147 break 2
64276148 fi
64286149 done
6429 done
6150 done
64306151 IFS=$as_save_IFS
64316152
64326153 fi
64336154 fi
64346155 RANLIB=$ac_cv_prog_RANLIB
64356156 if test -n "$RANLIB"; then
6436 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
64376158 $as_echo "$RANLIB" >&6; }
64386159 else
6439 { $as_echo "$as_me:$LINENO: result: no" >&5
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64406161 $as_echo "no" >&6; }
64416162 fi
64426163
64466167 ac_ct_RANLIB=$RANLIB
64476168 # Extract the first word of "ranlib", so it can be a program name with args.
64486169 set dummy ranlib; ac_word=$2
6449 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64506171 $as_echo_n "checking for $ac_word... " >&6; }
6451 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6172 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
64526173 $as_echo_n "(cached) " >&6
64536174 else
64546175 if test -n "$ac_ct_RANLIB"; then
64596180 do
64606181 IFS=$as_save_IFS
64616182 test -z "$as_dir" && as_dir=.
6462 for ac_exec_ext in '' $ac_executable_extensions; do
6183 for ac_exec_ext in '' $ac_executable_extensions; do
64636184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64646185 ac_cv_prog_ac_ct_RANLIB="ranlib"
6465 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64666187 break 2
64676188 fi
64686189 done
6469 done
6190 done
64706191 IFS=$as_save_IFS
64716192
64726193 fi
64736194 fi
64746195 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
64756196 if test -n "$ac_ct_RANLIB"; then
6476 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
64776198 $as_echo "$ac_ct_RANLIB" >&6; }
64786199 else
6479 { $as_echo "$as_me:$LINENO: result: no" >&5
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64806201 $as_echo "no" >&6; }
64816202 fi
64826203
64856206 else
64866207 case $cross_compiling:$ac_tool_warned in
64876208 yes:)
6488 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
64896210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
64906211 ac_tool_warned=yes ;;
64916212 esac
64986219 if test -n "$ac_tool_prefix"; then
64996220 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
65006221 set dummy ${ac_tool_prefix}strip; ac_word=$2
6501 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65026223 $as_echo_n "checking for $ac_word... " >&6; }
6503 if test "${ac_cv_prog_STRIP+set}" = set; then
6224 if test "${ac_cv_prog_STRIP+set}" = set; then :
65046225 $as_echo_n "(cached) " >&6
65056226 else
65066227 if test -n "$STRIP"; then
65116232 do
65126233 IFS=$as_save_IFS
65136234 test -z "$as_dir" && as_dir=.
6514 for ac_exec_ext in '' $ac_executable_extensions; do
6235 for ac_exec_ext in '' $ac_executable_extensions; do
65156236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65166237 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6517 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65186239 break 2
65196240 fi
65206241 done
6521 done
6242 done
65226243 IFS=$as_save_IFS
65236244
65246245 fi
65256246 fi
65266247 STRIP=$ac_cv_prog_STRIP
65276248 if test -n "$STRIP"; then
6528 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
65296250 $as_echo "$STRIP" >&6; }
65306251 else
6531 { $as_echo "$as_me:$LINENO: result: no" >&5
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65326253 $as_echo "no" >&6; }
65336254 fi
65346255
65386259 ac_ct_STRIP=$STRIP
65396260 # Extract the first word of "strip", so it can be a program name with args.
65406261 set dummy strip; ac_word=$2
6541 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65426263 $as_echo_n "checking for $ac_word... " >&6; }
6543 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6264 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
65446265 $as_echo_n "(cached) " >&6
65456266 else
65466267 if test -n "$ac_ct_STRIP"; then
65516272 do
65526273 IFS=$as_save_IFS
65536274 test -z "$as_dir" && as_dir=.
6554 for ac_exec_ext in '' $ac_executable_extensions; do
6275 for ac_exec_ext in '' $ac_executable_extensions; do
65556276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65566277 ac_cv_prog_ac_ct_STRIP="strip"
6557 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65586279 break 2
65596280 fi
65606281 done
6561 done
6282 done
65626283 IFS=$as_save_IFS
65636284
65646285 fi
65656286 fi
65666287 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
65676288 if test -n "$ac_ct_STRIP"; then
6568 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
65696290 $as_echo "$ac_ct_STRIP" >&6; }
65706291 else
6571 { $as_echo "$as_me:$LINENO: result: no" >&5
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65726293 $as_echo "no" >&6; }
65736294 fi
65746295
65776298 else
65786299 case $cross_compiling:$ac_tool_warned in
65796300 yes:)
6580 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
65816302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
65826303 ac_tool_warned=yes ;;
65836304 esac
66416362 case $deplibs_check_method in
66426363 file_magic*)
66436364 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6644 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
66456366 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6646 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6367 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
66476368 $as_echo_n "(cached) " >&6
66486369 else
66496370 case $MAGIC_CMD in
66946415
66956416 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
66966417 if test -n "$MAGIC_CMD"; then
6697 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
66986419 $as_echo "$MAGIC_CMD" >&6; }
66996420 else
6700 { $as_echo "$as_me:$LINENO: result: no" >&5
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
67016422 $as_echo "no" >&6; }
67026423 fi
67036424
67046425 if test -z "$lt_cv_path_MAGIC_CMD"; then
67056426 if test -n "$ac_tool_prefix"; then
6706 { $as_echo "$as_me:$LINENO: checking for file" >&5
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
67076428 $as_echo_n "checking for file... " >&6; }
6708 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6429 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
67096430 $as_echo_n "(cached) " >&6
67106431 else
67116432 case $MAGIC_CMD in
67566477
67576478 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
67586479 if test -n "$MAGIC_CMD"; then
6759 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
67606481 $as_echo "$MAGIC_CMD" >&6; }
67616482 else
6762 { $as_echo "$as_me:$LINENO: result: no" >&5
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
67636484 $as_echo "no" >&6; }
67646485 fi
67656486
67766497 enable_win32_dll=no
67776498
67786499 # Check whether --enable-libtool-lock was given.
6779 if test "${enable_libtool_lock+set}" = set; then
6500 if test "${enable_libtool_lock+set}" = set; then :
67806501 enableval=$enable_libtool_lock;
67816502 fi
67826503
67846505
67856506
67866507 # Check whether --with-pic was given.
6787 if test "${with_pic+set}" = set; then
6508 if test "${with_pic+set}" = set; then :
67886509 withval=$with_pic; pic_mode="$withval"
67896510 else
67906511 pic_mode=default
68516572 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
68526573
68536574
6854 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
68556576 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6856 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6577 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
68576578 $as_echo_n "(cached) " >&6
68586579 else
68596580 lt_cv_prog_compiler_rtti_exceptions=no
68696590 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
68706591 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
68716592 -e 's:$: $lt_compiler_flag:'`
6872 (eval echo "\"\$as_me:6873: $lt_compile\"" >&5)
6593 (eval echo "\"\$as_me:6594: $lt_compile\"" >&5)
68736594 (eval "$lt_compile" 2>conftest.err)
68746595 ac_status=$?
68756596 cat conftest.err >&5
6876 echo "$as_me:6877: \$? = $ac_status" >&5
6597 echo "$as_me:6598: \$? = $ac_status" >&5
68776598 if (exit $ac_status) && test -s "$ac_outfile"; then
68786599 # The compiler can only warn and ignore the option if not recognized
68796600 # So say no if there are warnings other than the usual output.
68866607 $rm conftest*
68876608
68886609 fi
6889 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
68906611 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
68916612
68926613 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
69016622 lt_prog_compiler_pic=
69026623 lt_prog_compiler_static=
69036624
6904 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
69056626 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
69066627
69076628 if test "$GCC" = yes; then
71116832 esac
71126833 fi
71136834
7114 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
71156836 $as_echo "$lt_prog_compiler_pic" >&6; }
71166837
71176838 #
71196840 #
71206841 if test -n "$lt_prog_compiler_pic"; then
71216842
7122 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
71236844 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7124 if test "${lt_prog_compiler_pic_works+set}" = set; then
6845 if test "${lt_prog_compiler_pic_works+set}" = set; then :
71256846 $as_echo_n "(cached) " >&6
71266847 else
71276848 lt_prog_compiler_pic_works=no
71376858 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
71386859 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
71396860 -e 's:$: $lt_compiler_flag:'`
7140 (eval echo "\"\$as_me:7141: $lt_compile\"" >&5)
6861 (eval echo "\"\$as_me:6862: $lt_compile\"" >&5)
71416862 (eval "$lt_compile" 2>conftest.err)
71426863 ac_status=$?
71436864 cat conftest.err >&5
7144 echo "$as_me:7145: \$? = $ac_status" >&5
6865 echo "$as_me:6866: \$? = $ac_status" >&5
71456866 if (exit $ac_status) && test -s "$ac_outfile"; then
71466867 # The compiler can only warn and ignore the option if not recognized
71476868 # So say no if there are warnings other than the usual output.
71546875 $rm conftest*
71556876
71566877 fi
7157 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works" >&5
71586879 $as_echo "$lt_prog_compiler_pic_works" >&6; }
71596880
71606881 if test x"$lt_prog_compiler_pic_works" = xyes; then
71826903 # Check to make sure the static flag actually works.
71836904 #
71846905 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7185 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
71866907 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7187 if test "${lt_prog_compiler_static_works+set}" = set; then
6908 if test "${lt_prog_compiler_static_works+set}" = set; then :
71886909 $as_echo_n "(cached) " >&6
71896910 else
71906911 lt_prog_compiler_static_works=no
72106931 LDFLAGS="$save_LDFLAGS"
72116932
72126933 fi
7213 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_static_works" >&5
72146935 $as_echo "$lt_prog_compiler_static_works" >&6; }
72156936
72166937 if test x"$lt_prog_compiler_static_works" = xyes; then
72206941 fi
72216942
72226943
7223 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
72246945 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7225 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6946 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
72266947 $as_echo_n "(cached) " >&6
72276948 else
72286949 lt_cv_prog_compiler_c_o=no
72416962 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
72426963 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
72436964 -e 's:$: $lt_compiler_flag:'`
7244 (eval echo "\"\$as_me:7245: $lt_compile\"" >&5)
6965 (eval echo "\"\$as_me:6966: $lt_compile\"" >&5)
72456966 (eval "$lt_compile" 2>out/conftest.err)
72466967 ac_status=$?
72476968 cat out/conftest.err >&5
7248 echo "$as_me:7249: \$? = $ac_status" >&5
6969 echo "$as_me:6970: \$? = $ac_status" >&5
72496970 if (exit $ac_status) && test -s out/conftest2.$ac_objext
72506971 then
72516972 # The compiler can only warn and ignore the option if not recognized
72676988 $rm conftest*
72686989
72696990 fi
7270 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
72716992 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
72726993
72736994
72746995 hard_links="nottested"
72756996 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
72766997 # do not overwrite the value of need_locks provided by the user
7277 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
72786999 $as_echo_n "checking if we can lock with hard links... " >&6; }
72797000 hard_links=yes
72807001 $rm conftest*
72827003 touch conftest.a
72837004 ln conftest.a conftest.b 2>&5 || hard_links=no
72847005 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7285 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
72867007 $as_echo "$hard_links" >&6; }
72877008 if test "$hard_links" = no; then
7288 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
72897010 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
72907011 need_locks=warn
72917012 fi
72937014 need_locks=no
72947015 fi
72957016
7296 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
72977018 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
72987019
72997020 runpath_var=
76937414 # -berok will link without error, but may produce a broken library.
76947415 allow_undefined_flag='-berok'
76957416 # Determine the default libpath from the value encoded in an empty executable.
7696 cat >conftest.$ac_ext <<_ACEOF
7697 /* confdefs.h. */
7698 _ACEOF
7699 cat confdefs.h >>conftest.$ac_ext
7700 cat >>conftest.$ac_ext <<_ACEOF
7417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77017418 /* end confdefs.h. */
77027419
77037420 int
77087425 return 0;
77097426 }
77107427 _ACEOF
7711 rm -f conftest.$ac_objext conftest$ac_exeext
7712 if { (ac_try="$ac_link"
7713 case "(($ac_try" in
7714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7715 *) ac_try_echo=$ac_try;;
7716 esac
7717 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7718 $as_echo "$ac_try_echo") >&5
7719 (eval "$ac_link") 2>conftest.er1
7720 ac_status=$?
7721 grep -v '^ *+' conftest.er1 >conftest.err
7722 rm -f conftest.er1
7723 cat conftest.err >&5
7724 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725 (exit $ac_status); } && {
7726 test -z "$ac_c_werror_flag" ||
7727 test ! -s conftest.err
7728 } && test -s conftest$ac_exeext && {
7729 test "$cross_compiling" = yes ||
7730 $as_test_x conftest$ac_exeext
7731 }; then
7428 if ac_fn_c_try_link "$LINENO"; then :
77327429
77337430 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
77347431 }'`
77357432 # Check for a 64-bit object if we didn't find anything.
77367433 if 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; }
77377434 }'`; fi
7738 else
7739 $as_echo "$as_me: failed program was:" >&5
7740 sed 's/^/| /' conftest.$ac_ext >&5
7741
7742
7743 fi
7744
7745 rm -rf conftest.dSYM
7746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7747 conftest$ac_exeext conftest.$ac_ext
7435 fi
7436 rm -f core conftest.err conftest.$ac_objext \
7437 conftest$ac_exeext conftest.$ac_ext
77487438 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
77497439
77507440 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
77567446 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
77577447 else
77587448 # Determine the default libpath from the value encoded in an empty executable.
7759 cat >conftest.$ac_ext <<_ACEOF
7760 /* confdefs.h. */
7761 _ACEOF
7762 cat confdefs.h >>conftest.$ac_ext
7763 cat >>conftest.$ac_ext <<_ACEOF
7449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77647450 /* end confdefs.h. */
77657451
77667452 int
77717457 return 0;
77727458 }
77737459 _ACEOF
7774 rm -f conftest.$ac_objext conftest$ac_exeext
7775 if { (ac_try="$ac_link"
7776 case "(($ac_try" in
7777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7778 *) ac_try_echo=$ac_try;;
7779 esac
7780 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7781 $as_echo "$ac_try_echo") >&5
7782 (eval "$ac_link") 2>conftest.er1
7783 ac_status=$?
7784 grep -v '^ *+' conftest.er1 >conftest.err
7785 rm -f conftest.er1
7786 cat conftest.err >&5
7787 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7788 (exit $ac_status); } && {
7789 test -z "$ac_c_werror_flag" ||
7790 test ! -s conftest.err
7791 } && test -s conftest$ac_exeext && {
7792 test "$cross_compiling" = yes ||
7793 $as_test_x conftest$ac_exeext
7794 }; then
7460 if ac_fn_c_try_link "$LINENO"; then :
77957461
77967462 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
77977463 }'`
77987464 # Check for a 64-bit object if we didn't find anything.
77997465 if 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; }
78007466 }'`; fi
7801 else
7802 $as_echo "$as_me: failed program was:" >&5
7803 sed 's/^/| /' conftest.$ac_ext >&5
7804
7805
7806 fi
7807
7808 rm -rf conftest.dSYM
7809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7810 conftest$ac_exeext conftest.$ac_ext
7467 fi
7468 rm -f core conftest.err conftest.$ac_objext \
7469 conftest$ac_exeext conftest.$ac_ext
78117470 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
78127471
78137472 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
82557914 esac
82567915 fi
82577916
8258 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
82597918 $as_echo "$ld_shlibs" >&6; }
82607919 test "$ld_shlibs" = no && can_build_shared=no
82617920
82767935 # Test whether the compiler implicitly links with -lc since on some
82777936 # systems, -lgcc has to come before -lc. If gcc already passes -lc
82787937 # to ld, don't add -lc before -lgcc.
8279 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
82807939 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
82817940 $rm conftest*
82827941 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
82837942
8284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7943 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
82857944 (eval $ac_compile) 2>&5
82867945 ac_status=$?
8287 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8288 (exit $ac_status); } 2>conftest.err; then
7946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7947 test $ac_status = 0; } 2>conftest.err; then
82897948 soname=conftest
82907949 lib=conftest
82917950 libobjs=conftest.$ac_objext
82997958 libname=conftest
83007959 lt_save_allow_undefined_flag=$allow_undefined_flag
83017960 allow_undefined_flag=
8302 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7961 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
83037962 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
83047963 ac_status=$?
8305 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8306 (exit $ac_status); }
7964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7965 test $ac_status = 0; }
83077966 then
83087967 archive_cmds_need_lc=no
83097968 else
83147973 cat conftest.err 1>&5
83157974 fi
83167975 $rm conftest*
8317 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
83187977 $as_echo "$archive_cmds_need_lc" >&6; }
83197978 ;;
83207979 esac
83227981 ;;
83237982 esac
83247983
8325 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
83267985 $as_echo_n "checking dynamic linker characteristics... " >&6; }
83277986 library_names_spec=
83287987 libname_spec='lib$name'
89108569 dynamic_linker=no
89118570 ;;
89128571 esac
8913 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
89148573 $as_echo "$dynamic_linker" >&6; }
89158574 test "$dynamic_linker" = no && can_build_shared=no
89168575
89198578 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
89208579 fi
89218580
8922 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
89238582 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
89248583 hardcode_action=
89258584 if test -n "$hardcode_libdir_flag_spec" || \
89448603 # directories.
89458604 hardcode_action=unsupported
89468605 fi
8947 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
89488607 $as_echo "$hardcode_action" >&6; }
89498608
89508609 if test "$hardcode_action" = relink; then
89588617
89598618 striplib=
89608619 old_striplib=
8961 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
89628621 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
89638622 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
89648623 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
89658624 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8966 { $as_echo "$as_me:$LINENO: result: yes" >&5
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
89678626 $as_echo "yes" >&6; }
89688627 else
89698628 # FIXME - insert some real tests, host_os isn't really good enough
89718630 darwin*)
89728631 if test -n "$STRIP" ; then
89738632 striplib="$STRIP -x"
8974 { $as_echo "$as_me:$LINENO: result: yes" >&5
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
89758634 $as_echo "yes" >&6; }
89768635 else
8977 { $as_echo "$as_me:$LINENO: result: no" >&5
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
89788637 $as_echo "no" >&6; }
89798638 fi
89808639 ;;
89818640 *)
8982 { $as_echo "$as_me:$LINENO: result: no" >&5
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
89838642 $as_echo "no" >&6; }
89848643 ;;
89858644 esac
90128671
90138672 darwin*)
90148673 # if libdl is installed we need to link against it
9015 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
90168675 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9017 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8676 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
90188677 $as_echo_n "(cached) " >&6
90198678 else
90208679 ac_check_lib_save_LIBS=$LIBS
90218680 LIBS="-ldl $LIBS"
9022 cat >conftest.$ac_ext <<_ACEOF
9023 /* confdefs.h. */
9024 _ACEOF
9025 cat confdefs.h >>conftest.$ac_ext
9026 cat >>conftest.$ac_ext <<_ACEOF
8681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
90278682 /* end confdefs.h. */
90288683
90298684 /* Override any GCC internal prototype to avoid an error.
90418696 return 0;
90428697 }
90438698 _ACEOF
9044 rm -f conftest.$ac_objext conftest$ac_exeext
9045 if { (ac_try="$ac_link"
9046 case "(($ac_try" in
9047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9048 *) ac_try_echo=$ac_try;;
9049 esac
9050 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9051 $as_echo "$ac_try_echo") >&5
9052 (eval "$ac_link") 2>conftest.er1
9053 ac_status=$?
9054 grep -v '^ *+' conftest.er1 >conftest.err
9055 rm -f conftest.er1
9056 cat conftest.err >&5
9057 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9058 (exit $ac_status); } && {
9059 test -z "$ac_c_werror_flag" ||
9060 test ! -s conftest.err
9061 } && test -s conftest$ac_exeext && {
9062 test "$cross_compiling" = yes ||
9063 $as_test_x conftest$ac_exeext
9064 }; then
8699 if ac_fn_c_try_link "$LINENO"; then :
90658700 ac_cv_lib_dl_dlopen=yes
90668701 else
9067 $as_echo "$as_me: failed program was:" >&5
9068 sed 's/^/| /' conftest.$ac_ext >&5
9069
9070 ac_cv_lib_dl_dlopen=no
9071 fi
9072
9073 rm -rf conftest.dSYM
9074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9075 conftest$ac_exeext conftest.$ac_ext
8702 ac_cv_lib_dl_dlopen=no
8703 fi
8704 rm -f core conftest.err conftest.$ac_objext \
8705 conftest$ac_exeext conftest.$ac_ext
90768706 LIBS=$ac_check_lib_save_LIBS
90778707 fi
9078 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
90798709 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9080 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
8710 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
90818711 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
90828712 else
90838713
90908720 ;;
90918721
90928722 *)
9093 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
9094 $as_echo_n "checking for shl_load... " >&6; }
9095 if test "${ac_cv_func_shl_load+set}" = set; then
9096 $as_echo_n "(cached) " >&6
9097 else
9098 cat >conftest.$ac_ext <<_ACEOF
9099 /* confdefs.h. */
9100 _ACEOF
9101 cat confdefs.h >>conftest.$ac_ext
9102 cat >>conftest.$ac_ext <<_ACEOF
9103 /* end confdefs.h. */
9104 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9106 #define shl_load innocuous_shl_load
9107
9108 /* System header to define __stub macros and hopefully few prototypes,
9109 which can conflict with char shl_load (); below.
9110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9111 <limits.h> exists even on freestanding compilers. */
9112
9113 #ifdef __STDC__
9114 # include <limits.h>
9115 #else
9116 # include <assert.h>
9117 #endif
9118
9119 #undef shl_load
9120
9121 /* Override any GCC internal prototype to avoid an error.
9122 Use char because int might match the return type of a GCC
9123 builtin and then its argument prototype would still apply. */
9124 #ifdef __cplusplus
9125 extern "C"
9126 #endif
9127 char shl_load ();
9128 /* The GNU C library defines this for functions which it implements
9129 to always fail with ENOSYS. Some functions are actually named
9130 something starting with __ and the normal name is an alias. */
9131 #if defined __stub_shl_load || defined __stub___shl_load
9132 choke me
9133 #endif
9134
9135 int
9136 main ()
9137 {
9138 return shl_load ();
9139 ;
9140 return 0;
9141 }
9142 _ACEOF
9143 rm -f conftest.$ac_objext conftest$ac_exeext
9144 if { (ac_try="$ac_link"
9145 case "(($ac_try" in
9146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9147 *) ac_try_echo=$ac_try;;
9148 esac
9149 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9150 $as_echo "$ac_try_echo") >&5
9151 (eval "$ac_link") 2>conftest.er1
9152 ac_status=$?
9153 grep -v '^ *+' conftest.er1 >conftest.err
9154 rm -f conftest.er1
9155 cat conftest.err >&5
9156 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9157 (exit $ac_status); } && {
9158 test -z "$ac_c_werror_flag" ||
9159 test ! -s conftest.err
9160 } && test -s conftest$ac_exeext && {
9161 test "$cross_compiling" = yes ||
9162 $as_test_x conftest$ac_exeext
9163 }; then
9164 ac_cv_func_shl_load=yes
9165 else
9166 $as_echo "$as_me: failed program was:" >&5
9167 sed 's/^/| /' conftest.$ac_ext >&5
9168
9169 ac_cv_func_shl_load=no
9170 fi
9171
9172 rm -rf conftest.dSYM
9173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9174 conftest$ac_exeext conftest.$ac_ext
9175 fi
9176 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9177 $as_echo "$ac_cv_func_shl_load" >&6; }
9178 if test "x$ac_cv_func_shl_load" = x""yes; then
8723 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
8724 if test "x$ac_cv_func_shl_load" = x""yes; then :
91798725 lt_cv_dlopen="shl_load"
91808726 else
9181 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
91828728 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9183 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8729 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
91848730 $as_echo_n "(cached) " >&6
91858731 else
91868732 ac_check_lib_save_LIBS=$LIBS
91878733 LIBS="-ldld $LIBS"
9188 cat >conftest.$ac_ext <<_ACEOF
9189 /* confdefs.h. */
9190 _ACEOF
9191 cat confdefs.h >>conftest.$ac_ext
9192 cat >>conftest.$ac_ext <<_ACEOF
8734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
91938735 /* end confdefs.h. */
91948736
91958737 /* Override any GCC internal prototype to avoid an error.
92078749 return 0;
92088750 }
92098751 _ACEOF
9210 rm -f conftest.$ac_objext conftest$ac_exeext
9211 if { (ac_try="$ac_link"
9212 case "(($ac_try" in
9213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9214 *) ac_try_echo=$ac_try;;
9215 esac
9216 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9217 $as_echo "$ac_try_echo") >&5
9218 (eval "$ac_link") 2>conftest.er1
9219 ac_status=$?
9220 grep -v '^ *+' conftest.er1 >conftest.err
9221 rm -f conftest.er1
9222 cat conftest.err >&5
9223 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9224 (exit $ac_status); } && {
9225 test -z "$ac_c_werror_flag" ||
9226 test ! -s conftest.err
9227 } && test -s conftest$ac_exeext && {
9228 test "$cross_compiling" = yes ||
9229 $as_test_x conftest$ac_exeext
9230 }; then
8752 if ac_fn_c_try_link "$LINENO"; then :
92318753 ac_cv_lib_dld_shl_load=yes
92328754 else
9233 $as_echo "$as_me: failed program was:" >&5
9234 sed 's/^/| /' conftest.$ac_ext >&5
9235
9236 ac_cv_lib_dld_shl_load=no
9237 fi
9238
9239 rm -rf conftest.dSYM
9240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9241 conftest$ac_exeext conftest.$ac_ext
8755 ac_cv_lib_dld_shl_load=no
8756 fi
8757 rm -f core conftest.err conftest.$ac_objext \
8758 conftest$ac_exeext conftest.$ac_ext
92428759 LIBS=$ac_check_lib_save_LIBS
92438760 fi
9244 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
92458762 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9246 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
8763 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
92478764 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
92488765 else
9249 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
9250 $as_echo_n "checking for dlopen... " >&6; }
9251 if test "${ac_cv_func_dlopen+set}" = set; then
9252 $as_echo_n "(cached) " >&6
9253 else
9254 cat >conftest.$ac_ext <<_ACEOF
9255 /* confdefs.h. */
9256 _ACEOF
9257 cat confdefs.h >>conftest.$ac_ext
9258 cat >>conftest.$ac_ext <<_ACEOF
9259 /* end confdefs.h. */
9260 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9262 #define dlopen innocuous_dlopen
9263
9264 /* System header to define __stub macros and hopefully few prototypes,
9265 which can conflict with char dlopen (); below.
9266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9267 <limits.h> exists even on freestanding compilers. */
9268
9269 #ifdef __STDC__
9270 # include <limits.h>
9271 #else
9272 # include <assert.h>
9273 #endif
9274
9275 #undef dlopen
9276
9277 /* Override any GCC internal prototype to avoid an error.
9278 Use char because int might match the return type of a GCC
9279 builtin and then its argument prototype would still apply. */
9280 #ifdef __cplusplus
9281 extern "C"
9282 #endif
9283 char dlopen ();
9284 /* The GNU C library defines this for functions which it implements
9285 to always fail with ENOSYS. Some functions are actually named
9286 something starting with __ and the normal name is an alias. */
9287 #if defined __stub_dlopen || defined __stub___dlopen
9288 choke me
9289 #endif
9290
9291 int
9292 main ()
9293 {
9294 return dlopen ();
9295 ;
9296 return 0;
9297 }
9298 _ACEOF
9299 rm -f conftest.$ac_objext conftest$ac_exeext
9300 if { (ac_try="$ac_link"
9301 case "(($ac_try" in
9302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9303 *) ac_try_echo=$ac_try;;
9304 esac
9305 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9306 $as_echo "$ac_try_echo") >&5
9307 (eval "$ac_link") 2>conftest.er1
9308 ac_status=$?
9309 grep -v '^ *+' conftest.er1 >conftest.err
9310 rm -f conftest.er1
9311 cat conftest.err >&5
9312 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9313 (exit $ac_status); } && {
9314 test -z "$ac_c_werror_flag" ||
9315 test ! -s conftest.err
9316 } && test -s conftest$ac_exeext && {
9317 test "$cross_compiling" = yes ||
9318 $as_test_x conftest$ac_exeext
9319 }; then
9320 ac_cv_func_dlopen=yes
9321 else
9322 $as_echo "$as_me: failed program was:" >&5
9323 sed 's/^/| /' conftest.$ac_ext >&5
9324
9325 ac_cv_func_dlopen=no
9326 fi
9327
9328 rm -rf conftest.dSYM
9329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9330 conftest$ac_exeext conftest.$ac_ext
9331 fi
9332 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9333 $as_echo "$ac_cv_func_dlopen" >&6; }
9334 if test "x$ac_cv_func_dlopen" = x""yes; then
8766 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
8767 if test "x$ac_cv_func_dlopen" = x""yes; then :
93358768 lt_cv_dlopen="dlopen"
93368769 else
9337 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
93388771 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9339 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8772 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
93408773 $as_echo_n "(cached) " >&6
93418774 else
93428775 ac_check_lib_save_LIBS=$LIBS
93438776 LIBS="-ldl $LIBS"
9344 cat >conftest.$ac_ext <<_ACEOF
9345 /* confdefs.h. */
9346 _ACEOF
9347 cat confdefs.h >>conftest.$ac_ext
9348 cat >>conftest.$ac_ext <<_ACEOF
8777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
93498778 /* end confdefs.h. */
93508779
93518780 /* Override any GCC internal prototype to avoid an error.
93638792 return 0;
93648793 }
93658794 _ACEOF
9366 rm -f conftest.$ac_objext conftest$ac_exeext
9367 if { (ac_try="$ac_link"
9368 case "(($ac_try" in
9369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9370 *) ac_try_echo=$ac_try;;
9371 esac
9372 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9373 $as_echo "$ac_try_echo") >&5
9374 (eval "$ac_link") 2>conftest.er1
9375 ac_status=$?
9376 grep -v '^ *+' conftest.er1 >conftest.err
9377 rm -f conftest.er1
9378 cat conftest.err >&5
9379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9380 (exit $ac_status); } && {
9381 test -z "$ac_c_werror_flag" ||
9382 test ! -s conftest.err
9383 } && test -s conftest$ac_exeext && {
9384 test "$cross_compiling" = yes ||
9385 $as_test_x conftest$ac_exeext
9386 }; then
8795 if ac_fn_c_try_link "$LINENO"; then :
93878796 ac_cv_lib_dl_dlopen=yes
93888797 else
9389 $as_echo "$as_me: failed program was:" >&5
9390 sed 's/^/| /' conftest.$ac_ext >&5
9391
9392 ac_cv_lib_dl_dlopen=no
9393 fi
9394
9395 rm -rf conftest.dSYM
9396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9397 conftest$ac_exeext conftest.$ac_ext
8798 ac_cv_lib_dl_dlopen=no
8799 fi
8800 rm -f core conftest.err conftest.$ac_objext \
8801 conftest$ac_exeext conftest.$ac_ext
93988802 LIBS=$ac_check_lib_save_LIBS
93998803 fi
9400 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
94018805 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9402 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
8806 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
94038807 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
94048808 else
9405 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
94068810 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9407 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8811 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
94088812 $as_echo_n "(cached) " >&6
94098813 else
94108814 ac_check_lib_save_LIBS=$LIBS
94118815 LIBS="-lsvld $LIBS"
9412 cat >conftest.$ac_ext <<_ACEOF
9413 /* confdefs.h. */
9414 _ACEOF
9415 cat confdefs.h >>conftest.$ac_ext
9416 cat >>conftest.$ac_ext <<_ACEOF
8816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
94178817 /* end confdefs.h. */
94188818
94198819 /* Override any GCC internal prototype to avoid an error.
94318831 return 0;
94328832 }
94338833 _ACEOF
9434 rm -f conftest.$ac_objext conftest$ac_exeext
9435 if { (ac_try="$ac_link"
9436 case "(($ac_try" in
9437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9438 *) ac_try_echo=$ac_try;;
9439 esac
9440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9441 $as_echo "$ac_try_echo") >&5
9442 (eval "$ac_link") 2>conftest.er1
9443 ac_status=$?
9444 grep -v '^ *+' conftest.er1 >conftest.err
9445 rm -f conftest.er1
9446 cat conftest.err >&5
9447 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9448 (exit $ac_status); } && {
9449 test -z "$ac_c_werror_flag" ||
9450 test ! -s conftest.err
9451 } && test -s conftest$ac_exeext && {
9452 test "$cross_compiling" = yes ||
9453 $as_test_x conftest$ac_exeext
9454 }; then
8834 if ac_fn_c_try_link "$LINENO"; then :
94558835 ac_cv_lib_svld_dlopen=yes
94568836 else
9457 $as_echo "$as_me: failed program was:" >&5
9458 sed 's/^/| /' conftest.$ac_ext >&5
9459
9460 ac_cv_lib_svld_dlopen=no
9461 fi
9462
9463 rm -rf conftest.dSYM
9464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9465 conftest$ac_exeext conftest.$ac_ext
8837 ac_cv_lib_svld_dlopen=no
8838 fi
8839 rm -f core conftest.err conftest.$ac_objext \
8840 conftest$ac_exeext conftest.$ac_ext
94668841 LIBS=$ac_check_lib_save_LIBS
94678842 fi
9468 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
94698844 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9470 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
8845 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
94718846 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
94728847 else
9473 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
94748849 $as_echo_n "checking for dld_link in -ldld... " >&6; }
9475 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8850 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
94768851 $as_echo_n "(cached) " >&6
94778852 else
94788853 ac_check_lib_save_LIBS=$LIBS
94798854 LIBS="-ldld $LIBS"
9480 cat >conftest.$ac_ext <<_ACEOF
9481 /* confdefs.h. */
9482 _ACEOF
9483 cat confdefs.h >>conftest.$ac_ext
9484 cat >>conftest.$ac_ext <<_ACEOF
8855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
94858856 /* end confdefs.h. */
94868857
94878858 /* Override any GCC internal prototype to avoid an error.
94998870 return 0;
95008871 }
95018872 _ACEOF
9502 rm -f conftest.$ac_objext conftest$ac_exeext
9503 if { (ac_try="$ac_link"
9504 case "(($ac_try" in
9505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9506 *) ac_try_echo=$ac_try;;
9507 esac
9508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9509 $as_echo "$ac_try_echo") >&5
9510 (eval "$ac_link") 2>conftest.er1
9511 ac_status=$?
9512 grep -v '^ *+' conftest.er1 >conftest.err
9513 rm -f conftest.er1
9514 cat conftest.err >&5
9515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9516 (exit $ac_status); } && {
9517 test -z "$ac_c_werror_flag" ||
9518 test ! -s conftest.err
9519 } && test -s conftest$ac_exeext && {
9520 test "$cross_compiling" = yes ||
9521 $as_test_x conftest$ac_exeext
9522 }; then
8873 if ac_fn_c_try_link "$LINENO"; then :
95238874 ac_cv_lib_dld_dld_link=yes
95248875 else
9525 $as_echo "$as_me: failed program was:" >&5
9526 sed 's/^/| /' conftest.$ac_ext >&5
9527
9528 ac_cv_lib_dld_dld_link=no
9529 fi
9530
9531 rm -rf conftest.dSYM
9532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9533 conftest$ac_exeext conftest.$ac_ext
8876 ac_cv_lib_dld_dld_link=no
8877 fi
8878 rm -f core conftest.err conftest.$ac_objext \
8879 conftest$ac_exeext conftest.$ac_ext
95348880 LIBS=$ac_check_lib_save_LIBS
95358881 fi
9536 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
95378883 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9538 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
8884 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
95398885 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
95408886 fi
95418887
95748920 save_LIBS="$LIBS"
95758921 LIBS="$lt_cv_dlopen_libs $LIBS"
95768922
9577 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
95788924 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
9579 if test "${lt_cv_dlopen_self+set}" = set; then
8925 if test "${lt_cv_dlopen_self+set}" = set; then :
95808926 $as_echo_n "(cached) " >&6
95818927 else
95828928 if test "$cross_compiling" = yes; then :
95858931 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
95868932 lt_status=$lt_dlunknown
95878933 cat > conftest.$ac_ext <<EOF
9588 #line 9589 "configure"
8934 #line 8935 "configure"
95898935 #include "confdefs.h"
95908936
95918937 #if HAVE_DLFCN_H
96488994 exit (status);
96498995 }
96508996 EOF
9651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8997 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
96528998 (eval $ac_link) 2>&5
96538999 ac_status=$?
9654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9655 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9001 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
96569002 (./conftest; exit; ) >&5 2>/dev/null
96579003 lt_status=$?
96589004 case x$lt_status in
96699015
96709016
96719017 fi
9672 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
96739019 $as_echo "$lt_cv_dlopen_self" >&6; }
96749020
96759021 if test "x$lt_cv_dlopen_self" = xyes; then
96769022 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9677 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
96789024 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9679 if test "${lt_cv_dlopen_self_static+set}" = set; then
9025 if test "${lt_cv_dlopen_self_static+set}" = set; then :
96809026 $as_echo_n "(cached) " >&6
96819027 else
96829028 if test "$cross_compiling" = yes; then :
96859031 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
96869032 lt_status=$lt_dlunknown
96879033 cat > conftest.$ac_ext <<EOF
9688 #line 9689 "configure"
9034 #line 9035 "configure"
96899035 #include "confdefs.h"
96909036
96919037 #if HAVE_DLFCN_H
97489094 exit (status);
97499095 }
97509096 EOF
9751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9097 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
97529098 (eval $ac_link) 2>&5
97539099 ac_status=$?
9754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9755 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9101 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
97569102 (./conftest; exit; ) >&5 2>/dev/null
97579103 lt_status=$?
97589104 case x$lt_status in
97699115
97709116
97719117 fi
9772 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
97739119 $as_echo "$lt_cv_dlopen_self_static" >&6; }
97749120 fi
97759121
97929138
97939139
97949140 # Report which library types will actually be built
9795 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
97969142 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
9797 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
97989144 $as_echo "$can_build_shared" >&6; }
97999145
9800 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
98019147 $as_echo_n "checking whether to build shared libraries... " >&6; }
98029148 test "$can_build_shared" = "no" && enable_shared=no
98039149
98189164 fi
98199165 ;;
98209166 esac
9821 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
98229168 $as_echo "$enable_shared" >&6; }
98239169
9824 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
98259171 $as_echo_n "checking whether to build static libraries... " >&6; }
98269172 # Make sure either enable_shared or enable_static is yes.
98279173 test "$enable_shared" = yes || enable_static=yes
9828 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
98299175 $as_echo "$enable_static" >&6; }
98309176
98319177 # The else clause should only fire when bootstrapping the
99179263 cfgfile="${ofile}T"
99189264 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
99199265 $rm -f "$cfgfile"
9920 { $as_echo "$as_me:$LINENO: creating $ofile" >&5
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
99219267 $as_echo "$as_me: creating $ofile" >&6;}
99229268
99239269 cat <<__EOF__ >> "$cfgfile"
103199665
103209666
103219667 # Check whether --with-tags was given.
10322 if test "${with_tags+set}" = set; then
9668 if test "${with_tags+set}" = set; then :
103239669 withval=$with_tags; tagnames="$withval"
103249670 fi
103259671
103269672
103279673 if test -f "$ltmain" && test -n "$tagnames"; then
103289674 if test ! -f "${ofile}"; then
10329 { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not exist" >&5
103309676 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
103319677 fi
103329678
103339679 if test -z "$LTCC"; then
103349680 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
103359681 if test -z "$LTCC"; then
10336 { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not look like a libtool script" >&5
103379683 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
103389684 else
10339 { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
103409686 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
103419687 fi
103429688 fi
103549700 # Check whether tagname contains only valid characters
103559701 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
103569702 "") ;;
10357 *) { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10358 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
10359 { (exit 1); exit 1; }; }
9703 *) as_fn_error $? "invalid tag name: $tagname" "$LINENO" 5
103609704 ;;
103619705 esac
103629706
103639707 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
103649708 then
10365 { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10366 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10367 { (exit 1); exit 1; }; }
9709 as_fn_error $? "tag name \"$tagname\" already exists" "$LINENO" 5
103689710 fi
103699711
103709712 # Update the list of available tags.
104969838
104979839
104989840 # Check whether --with-gnu-ld was given.
10499 if test "${with_gnu_ld+set}" = set; then
9841 if test "${with_gnu_ld+set}" = set; then :
105009842 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
105019843 else
105029844 with_gnu_ld=no
105059847 ac_prog=ld
105069848 if test "$GCC" = yes; then
105079849 # Check if gcc -print-prog-name=ld gives a path.
10508 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
105099851 $as_echo_n "checking for ld used by $CC... " >&6; }
105109852 case $host in
105119853 *-*-mingw*)
105359877 ;;
105369878 esac
105379879 elif test "$with_gnu_ld" = yes; then
10538 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
105399881 $as_echo_n "checking for GNU ld... " >&6; }
105409882 else
10541 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
105429884 $as_echo_n "checking for non-GNU ld... " >&6; }
105439885 fi
10544 if test "${lt_cv_path_LD+set}" = set; then
9886 if test "${lt_cv_path_LD+set}" = set; then :
105459887 $as_echo_n "(cached) " >&6
105469888 else
105479889 if test -z "$LD"; then
105729914
105739915 LD="$lt_cv_path_LD"
105749916 if test -n "$LD"; then
10575 { $as_echo "$as_me:$LINENO: result: $LD" >&5
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
105769918 $as_echo "$LD" >&6; }
105779919 else
10578 { $as_echo "$as_me:$LINENO: result: no" >&5
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
105799921 $as_echo "no" >&6; }
105809922 fi
10581 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10582 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10583 { (exit 1); exit 1; }; }
10584 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9923 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
105859925 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
10586 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9926 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
105879927 $as_echo_n "(cached) " >&6
105889928 else
105899929 # I'd rather use --version here, but apparently some GNU lds only accept -v.
105969936 ;;
105979937 esac
105989938 fi
10599 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
106009940 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
106019941 with_gnu_ld=$lt_cv_prog_gnu_ld
106029942
106479987 fi
106489988
106499989 # PORTME: fill in a description of your system's C++ link characteristics
10650 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
106519991 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
106529992 ld_shlibs_CXX=yes
106539993 case $host_os in
1074410084 # -berok will link without error, but may produce a broken library.
1074510085 allow_undefined_flag_CXX='-berok'
1074610086 # Determine the default libpath from the value encoded in an empty executable.
10747 cat >conftest.$ac_ext <<_ACEOF
10748 /* confdefs.h. */
10749 _ACEOF
10750 cat confdefs.h >>conftest.$ac_ext
10751 cat >>conftest.$ac_ext <<_ACEOF
10087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1075210088 /* end confdefs.h. */
1075310089
1075410090 int
1075910095 return 0;
1076010096 }
1076110097 _ACEOF
10762 rm -f conftest.$ac_objext conftest$ac_exeext
10763 if { (ac_try="$ac_link"
10764 case "(($ac_try" in
10765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10766 *) ac_try_echo=$ac_try;;
10767 esac
10768 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10769 $as_echo "$ac_try_echo") >&5
10770 (eval "$ac_link") 2>conftest.er1
10771 ac_status=$?
10772 grep -v '^ *+' conftest.er1 >conftest.err
10773 rm -f conftest.er1
10774 cat conftest.err >&5
10775 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10776 (exit $ac_status); } && {
10777 test -z "$ac_cxx_werror_flag" ||
10778 test ! -s conftest.err
10779 } && test -s conftest$ac_exeext && {
10780 test "$cross_compiling" = yes ||
10781 $as_test_x conftest$ac_exeext
10782 }; then
10098 if ac_fn_cxx_try_link "$LINENO"; then :
1078310099
1078410100 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1078510101 }'`
1078610102 # Check for a 64-bit object if we didn't find anything.
1078710103 if 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; }
1078810104 }'`; fi
10789 else
10790 $as_echo "$as_me: failed program was:" >&5
10791 sed 's/^/| /' conftest.$ac_ext >&5
10792
10793
10794 fi
10795
10796 rm -rf conftest.dSYM
10797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10798 conftest$ac_exeext conftest.$ac_ext
10105 fi
10106 rm -f core conftest.err conftest.$ac_objext \
10107 conftest$ac_exeext conftest.$ac_ext
1079910108 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1080010109
1080110110 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
1080810117 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
1080910118 else
1081010119 # Determine the default libpath from the value encoded in an empty executable.
10811 cat >conftest.$ac_ext <<_ACEOF
10812 /* confdefs.h. */
10813 _ACEOF
10814 cat confdefs.h >>conftest.$ac_ext
10815 cat >>conftest.$ac_ext <<_ACEOF
10120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1081610121 /* end confdefs.h. */
1081710122
1081810123 int
1082310128 return 0;
1082410129 }
1082510130 _ACEOF
10826 rm -f conftest.$ac_objext conftest$ac_exeext
10827 if { (ac_try="$ac_link"
10828 case "(($ac_try" in
10829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10830 *) ac_try_echo=$ac_try;;
10831 esac
10832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10833 $as_echo "$ac_try_echo") >&5
10834 (eval "$ac_link") 2>conftest.er1
10835 ac_status=$?
10836 grep -v '^ *+' conftest.er1 >conftest.err
10837 rm -f conftest.er1
10838 cat conftest.err >&5
10839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10840 (exit $ac_status); } && {
10841 test -z "$ac_cxx_werror_flag" ||
10842 test ! -s conftest.err
10843 } && test -s conftest$ac_exeext && {
10844 test "$cross_compiling" = yes ||
10845 $as_test_x conftest$ac_exeext
10846 }; then
10131 if ac_fn_cxx_try_link "$LINENO"; then :
1084710132
1084810133 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1084910134 }'`
1085010135 # Check for a 64-bit object if we didn't find anything.
1085110136 if 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; }
1085210137 }'`; fi
10853 else
10854 $as_echo "$as_me: failed program was:" >&5
10855 sed 's/^/| /' conftest.$ac_ext >&5
10856
10857
10858 fi
10859
10860 rm -rf conftest.dSYM
10861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10862 conftest$ac_exeext conftest.$ac_ext
10138 fi
10139 rm -f core conftest.err conftest.$ac_objext \
10140 conftest$ac_exeext conftest.$ac_ext
1086310141 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1086410142
1086510143 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
1158910867 ld_shlibs_CXX=no
1159010868 ;;
1159110869 esac
11592 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
1159310871 $as_echo "$ld_shlibs_CXX" >&6; }
1159410872 test "$ld_shlibs_CXX" = no && can_build_shared=no
1159510873
1161110889 };
1161210890 EOF
1161310891
11614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10892 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1161510893 (eval $ac_compile) 2>&5
1161610894 ac_status=$?
11617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11618 (exit $ac_status); }; then
10895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10896 test $ac_status = 0; }; then
1161910897 # Parse the compiler output and extract the necessary
1162010898 # objects, libraries and library flags.
1162110899
1173311011 lt_prog_compiler_pic_CXX=
1173411012 lt_prog_compiler_static_CXX=
1173511013
11736 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
1173711015 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
1173811016
1173911017 # C++ specific cases for pic, static, wl, etc.
1200711285 esac
1200811286 fi
1200911287
12010 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
1201111289 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
1201211290
1201311291 #
1201511293 #
1201611294 if test -n "$lt_prog_compiler_pic_CXX"; then
1201711295
12018 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
1201911297 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
12020 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11298 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then :
1202111299 $as_echo_n "(cached) " >&6
1202211300 else
1202311301 lt_prog_compiler_pic_works_CXX=no
1203311311 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1203411312 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1203511313 -e 's:$: $lt_compiler_flag:'`
12036 (eval echo "\"\$as_me:12037: $lt_compile\"" >&5)
11314 (eval echo "\"\$as_me:11315: $lt_compile\"" >&5)
1203711315 (eval "$lt_compile" 2>conftest.err)
1203811316 ac_status=$?
1203911317 cat conftest.err >&5
12040 echo "$as_me:12041: \$? = $ac_status" >&5
11318 echo "$as_me:11319: \$? = $ac_status" >&5
1204111319 if (exit $ac_status) && test -s "$ac_outfile"; then
1204211320 # The compiler can only warn and ignore the option if not recognized
1204311321 # So say no if there are warnings other than the usual output.
1205011328 $rm conftest*
1205111329
1205211330 fi
12053 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works_CXX" >&5
1205411332 $as_echo "$lt_prog_compiler_pic_works_CXX" >&6; }
1205511333
1205611334 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
1207811356 # Check to make sure the static flag actually works.
1207911357 #
1208011358 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12081 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
1208211360 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12083 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11361 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then :
1208411362 $as_echo_n "(cached) " >&6
1208511363 else
1208611364 lt_prog_compiler_static_works_CXX=no
1210611384 LDFLAGS="$save_LDFLAGS"
1210711385
1210811386 fi
12109 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_static_works_CXX" >&5
1211011388 $as_echo "$lt_prog_compiler_static_works_CXX" >&6; }
1211111389
1211211390 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
1211611394 fi
1211711395
1211811396
12119 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
1212011398 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12121 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11399 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
1212211400 $as_echo_n "(cached) " >&6
1212311401 else
1212411402 lt_cv_prog_compiler_c_o_CXX=no
1213711415 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1213811416 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1213911417 -e 's:$: $lt_compiler_flag:'`
12140 (eval echo "\"\$as_me:12141: $lt_compile\"" >&5)
11418 (eval echo "\"\$as_me:11419: $lt_compile\"" >&5)
1214111419 (eval "$lt_compile" 2>out/conftest.err)
1214211420 ac_status=$?
1214311421 cat out/conftest.err >&5
12144 echo "$as_me:12145: \$? = $ac_status" >&5
11422 echo "$as_me:11423: \$? = $ac_status" >&5
1214511423 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1214611424 then
1214711425 # The compiler can only warn and ignore the option if not recognized
1216311441 $rm conftest*
1216411442
1216511443 fi
12166 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
1216711445 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1216811446
1216911447
1217011448 hard_links="nottested"
1217111449 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
1217211450 # do not overwrite the value of need_locks provided by the user
12173 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
1217411452 $as_echo_n "checking if we can lock with hard links... " >&6; }
1217511453 hard_links=yes
1217611454 $rm conftest*
1217811456 touch conftest.a
1217911457 ln conftest.a conftest.b 2>&5 || hard_links=no
1218011458 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12181 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
1218211460 $as_echo "$hard_links" >&6; }
1218311461 if test "$hard_links" = no; then
12184 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
1218511463 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1218611464 need_locks=warn
1218711465 fi
1218911467 need_locks=no
1219011468 fi
1219111469
12192 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
1219311471 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1219411472
1219511473 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
1221411492 ;;
1221511493 esac
1221611494
12217 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
1221811496 $as_echo "$ld_shlibs_CXX" >&6; }
1221911497 test "$ld_shlibs_CXX" = no && can_build_shared=no
1222011498
1223511513 # Test whether the compiler implicitly links with -lc since on some
1223611514 # systems, -lgcc has to come before -lc. If gcc already passes -lc
1223711515 # to ld, don't add -lc before -lgcc.
12238 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
1223911517 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
1224011518 $rm conftest*
1224111519 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1224211520
12243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11521 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1224411522 (eval $ac_compile) 2>&5
1224511523 ac_status=$?
12246 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247 (exit $ac_status); } 2>conftest.err; then
11524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11525 test $ac_status = 0; } 2>conftest.err; then
1224811526 soname=conftest
1224911527 lib=conftest
1225011528 libobjs=conftest.$ac_objext
1225811536 libname=conftest
1225911537 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
1226011538 allow_undefined_flag_CXX=
12261 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11539 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1226211540 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
1226311541 ac_status=$?
12264 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265 (exit $ac_status); }
11542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11543 test $ac_status = 0; }
1226611544 then
1226711545 archive_cmds_need_lc_CXX=no
1226811546 else
1227311551 cat conftest.err 1>&5
1227411552 fi
1227511553 $rm conftest*
12276 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
1227711555 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
1227811556 ;;
1227911557 esac
1228111559 ;;
1228211560 esac
1228311561
12284 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
1228511563 $as_echo_n "checking dynamic linker characteristics... " >&6; }
1228611564 library_names_spec=
1228711565 libname_spec='lib$name'
1286912147 dynamic_linker=no
1287012148 ;;
1287112149 esac
12872 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
1287312151 $as_echo "$dynamic_linker" >&6; }
1287412152 test "$dynamic_linker" = no && can_build_shared=no
1287512153
1287812156 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1287912157 fi
1288012158
12881 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
1288212160 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1288312161 hardcode_action_CXX=
1288412162 if test -n "$hardcode_libdir_flag_spec_CXX" || \
1290312181 # directories.
1290412182 hardcode_action_CXX=unsupported
1290512183 fi
12906 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
1290712185 $as_echo "$hardcode_action_CXX" >&6; }
1290812186
1290912187 if test "$hardcode_action_CXX" = relink; then
1342912707 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
1343012708
1343112709
13432 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
1343312711 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13434 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
1343512713 $as_echo "$can_build_shared" >&6; }
1343612714
13437 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
1343812716 $as_echo_n "checking whether to build shared libraries... " >&6; }
1343912717 test "$can_build_shared" = "no" && enable_shared=no
1344012718
1345412732 fi
1345512733 ;;
1345612734 esac
13457 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
1345812736 $as_echo "$enable_shared" >&6; }
1345912737
13460 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
1346112739 $as_echo_n "checking whether to build static libraries... " >&6; }
1346212740 # Make sure either enable_shared or enable_static is yes.
1346312741 test "$enable_shared" = yes || enable_static=yes
13464 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
1346512743 $as_echo "$enable_static" >&6; }
1346612744
1346712745 GCC_F77="$G77"
1347112749 lt_prog_compiler_pic_F77=
1347212750 lt_prog_compiler_static_F77=
1347312751
13474 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
1347512753 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
1347612754
1347712755 if test "$GCC" = yes; then
1368112959 esac
1368212960 fi
1368312961
13684 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_F77" >&5
1368512963 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
1368612964
1368712965 #
1368912967 #
1369012968 if test -n "$lt_prog_compiler_pic_F77"; then
1369112969
13692 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
1369312971 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
13694 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
12972 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then :
1369512973 $as_echo_n "(cached) " >&6
1369612974 else
1369712975 lt_prog_compiler_pic_works_F77=no
1370712985 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1370812986 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1370912987 -e 's:$: $lt_compiler_flag:'`
13710 (eval echo "\"\$as_me:13711: $lt_compile\"" >&5)
12988 (eval echo "\"\$as_me:12989: $lt_compile\"" >&5)
1371112989 (eval "$lt_compile" 2>conftest.err)
1371212990 ac_status=$?
1371312991 cat conftest.err >&5
13714 echo "$as_me:13715: \$? = $ac_status" >&5
12992 echo "$as_me:12993: \$? = $ac_status" >&5
1371512993 if (exit $ac_status) && test -s "$ac_outfile"; then
1371612994 # The compiler can only warn and ignore the option if not recognized
1371712995 # So say no if there are warnings other than the usual output.
1372413002 $rm conftest*
1372513003
1372613004 fi
13727 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works_F77" >&5
1372813006 $as_echo "$lt_prog_compiler_pic_works_F77" >&6; }
1372913007
1373013008 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
1375213030 # Check to make sure the static flag actually works.
1375313031 #
1375413032 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
13755 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
1375613034 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13757 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13035 if test "${lt_prog_compiler_static_works_F77+set}" = set; then :
1375813036 $as_echo_n "(cached) " >&6
1375913037 else
1376013038 lt_prog_compiler_static_works_F77=no
1378013058 LDFLAGS="$save_LDFLAGS"
1378113059
1378213060 fi
13783 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_static_works_F77" >&5
1378413062 $as_echo "$lt_prog_compiler_static_works_F77" >&6; }
1378513063
1378613064 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
1379013068 fi
1379113069
1379213070
13793 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
1379413072 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13795 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13073 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then :
1379613074 $as_echo_n "(cached) " >&6
1379713075 else
1379813076 lt_cv_prog_compiler_c_o_F77=no
1381113089 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1381213090 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1381313091 -e 's:$: $lt_compiler_flag:'`
13814 (eval echo "\"\$as_me:13815: $lt_compile\"" >&5)
13092 (eval echo "\"\$as_me:13093: $lt_compile\"" >&5)
1381513093 (eval "$lt_compile" 2>out/conftest.err)
1381613094 ac_status=$?
1381713095 cat out/conftest.err >&5
13818 echo "$as_me:13819: \$? = $ac_status" >&5
13096 echo "$as_me:13097: \$? = $ac_status" >&5
1381913097 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1382013098 then
1382113099 # The compiler can only warn and ignore the option if not recognized
1383713115 $rm conftest*
1383813116
1383913117 fi
13840 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5
1384113119 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
1384213120
1384313121
1384413122 hard_links="nottested"
1384513123 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
1384613124 # do not overwrite the value of need_locks provided by the user
13847 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
1384813126 $as_echo_n "checking if we can lock with hard links... " >&6; }
1384913127 hard_links=yes
1385013128 $rm conftest*
1385213130 touch conftest.a
1385313131 ln conftest.a conftest.b 2>&5 || hard_links=no
1385413132 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13855 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
1385613134 $as_echo "$hard_links" >&6; }
1385713135 if test "$hard_links" = no; then
13858 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
1385913137 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1386013138 need_locks=warn
1386113139 fi
1386313141 need_locks=no
1386413142 fi
1386513143
13866 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
1386713145 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1386813146
1386913147 runpath_var=
1426313541 # -berok will link without error, but may produce a broken library.
1426413542 allow_undefined_flag_F77='-berok'
1426513543 # Determine the default libpath from the value encoded in an empty executable.
14266 cat >conftest.$ac_ext <<_ACEOF
13544 cat > conftest.$ac_ext <<_ACEOF
1426713545 program main
1426813546
1426913547 end
1427013548 _ACEOF
14271 rm -f conftest.$ac_objext conftest$ac_exeext
14272 if { (ac_try="$ac_link"
14273 case "(($ac_try" in
14274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14275 *) ac_try_echo=$ac_try;;
14276 esac
14277 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14278 $as_echo "$ac_try_echo") >&5
14279 (eval "$ac_link") 2>conftest.er1
14280 ac_status=$?
14281 grep -v '^ *+' conftest.er1 >conftest.err
14282 rm -f conftest.er1
14283 cat conftest.err >&5
14284 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); } && {
14286 test -z "$ac_f77_werror_flag" ||
14287 test ! -s conftest.err
14288 } && test -s conftest$ac_exeext && {
14289 test "$cross_compiling" = yes ||
14290 $as_test_x conftest$ac_exeext
14291 }; then
13549 if ac_fn_f77_try_link "$LINENO"; then :
1429213550
1429313551 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1429413552 }'`
1429513553 # Check for a 64-bit object if we didn't find anything.
1429613554 if 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; }
1429713555 }'`; fi
14298 else
14299 $as_echo "$as_me: failed program was:" >&5
14300 sed 's/^/| /' conftest.$ac_ext >&5
14301
14302
14303 fi
14304
14305 rm -rf conftest.dSYM
14306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14307 conftest$ac_exeext conftest.$ac_ext
13556 fi
13557 rm -f core conftest.err conftest.$ac_objext \
13558 conftest$ac_exeext conftest.$ac_ext
1430813559 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1430913560
1431013561 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
1431613567 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
1431713568 else
1431813569 # Determine the default libpath from the value encoded in an empty executable.
14319 cat >conftest.$ac_ext <<_ACEOF
13570 cat > conftest.$ac_ext <<_ACEOF
1432013571 program main
1432113572
1432213573 end
1432313574 _ACEOF
14324 rm -f conftest.$ac_objext conftest$ac_exeext
14325 if { (ac_try="$ac_link"
14326 case "(($ac_try" in
14327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14328 *) ac_try_echo=$ac_try;;
14329 esac
14330 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14331 $as_echo "$ac_try_echo") >&5
14332 (eval "$ac_link") 2>conftest.er1
14333 ac_status=$?
14334 grep -v '^ *+' conftest.er1 >conftest.err
14335 rm -f conftest.er1
14336 cat conftest.err >&5
14337 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14338 (exit $ac_status); } && {
14339 test -z "$ac_f77_werror_flag" ||
14340 test ! -s conftest.err
14341 } && test -s conftest$ac_exeext && {
14342 test "$cross_compiling" = yes ||
14343 $as_test_x conftest$ac_exeext
14344 }; then
13575 if ac_fn_f77_try_link "$LINENO"; then :
1434513576
1434613577 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1434713578 }'`
1434813579 # Check for a 64-bit object if we didn't find anything.
1434913580 if 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; }
1435013581 }'`; fi
14351 else
14352 $as_echo "$as_me: failed program was:" >&5
14353 sed 's/^/| /' conftest.$ac_ext >&5
14354
14355
14356 fi
14357
14358 rm -rf conftest.dSYM
14359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14360 conftest$ac_exeext conftest.$ac_ext
13582 fi
13583 rm -f core conftest.err conftest.$ac_objext \
13584 conftest$ac_exeext conftest.$ac_ext
1436113585 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1436213586
1436313587 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
1480514029 esac
1480614030 fi
1480714031
14808 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_F77" >&5
1480914033 $as_echo "$ld_shlibs_F77" >&6; }
1481014034 test "$ld_shlibs_F77" = no && can_build_shared=no
1481114035
1482614050 # Test whether the compiler implicitly links with -lc since on some
1482714051 # systems, -lgcc has to come before -lc. If gcc already passes -lc
1482814052 # to ld, don't add -lc before -lgcc.
14829 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
1483014054 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
1483114055 $rm conftest*
1483214056 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1483314057
14834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14058 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1483514059 (eval $ac_compile) 2>&5
1483614060 ac_status=$?
14837 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14838 (exit $ac_status); } 2>conftest.err; then
14061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14062 test $ac_status = 0; } 2>conftest.err; then
1483914063 soname=conftest
1484014064 lib=conftest
1484114065 libobjs=conftest.$ac_objext
1484914073 libname=conftest
1485014074 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
1485114075 allow_undefined_flag_F77=
14852 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14076 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1485314077 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
1485414078 ac_status=$?
14855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14856 (exit $ac_status); }
14079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14080 test $ac_status = 0; }
1485714081 then
1485814082 archive_cmds_need_lc_F77=no
1485914083 else
1486414088 cat conftest.err 1>&5
1486514089 fi
1486614090 $rm conftest*
14867 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_F77" >&5
1486814092 $as_echo "$archive_cmds_need_lc_F77" >&6; }
1486914093 ;;
1487014094 esac
1487214096 ;;
1487314097 esac
1487414098
14875 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
1487614100 $as_echo_n "checking dynamic linker characteristics... " >&6; }
1487714101 library_names_spec=
1487814102 libname_spec='lib$name'
1546014684 dynamic_linker=no
1546114685 ;;
1546214686 esac
15463 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
1546414688 $as_echo "$dynamic_linker" >&6; }
1546514689 test "$dynamic_linker" = no && can_build_shared=no
1546614690
1546914693 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1547014694 fi
1547114695
15472 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
1547314697 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1547414698 hardcode_action_F77=
1547514699 if test -n "$hardcode_libdir_flag_spec_F77" || \
1549414718 # directories.
1549514719 hardcode_action_F77=unsupported
1549614720 fi
15497 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_F77" >&5
1549814722 $as_echo "$hardcode_action_F77" >&6; }
1549914723
1550014724 if test "$hardcode_action_F77" = relink; then
1600315227 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
1600415228
1600515229
16006 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
1600715231 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
16008 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15232 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
1600915233 $as_echo_n "(cached) " >&6
1601015234 else
1601115235 lt_cv_prog_compiler_rtti_exceptions=no
1602115245 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1602215246 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1602315247 -e 's:$: $lt_compiler_flag:'`
16024 (eval echo "\"\$as_me:16025: $lt_compile\"" >&5)
15248 (eval echo "\"\$as_me:15249: $lt_compile\"" >&5)
1602515249 (eval "$lt_compile" 2>conftest.err)
1602615250 ac_status=$?
1602715251 cat conftest.err >&5
16028 echo "$as_me:16029: \$? = $ac_status" >&5
15252 echo "$as_me:15253: \$? = $ac_status" >&5
1602915253 if (exit $ac_status) && test -s "$ac_outfile"; then
1603015254 # The compiler can only warn and ignore the option if not recognized
1603115255 # So say no if there are warnings other than the usual output.
1603815262 $rm conftest*
1603915263
1604015264 fi
16041 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
1604215266 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1604315267
1604415268 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
1605315277 lt_prog_compiler_pic_GCJ=
1605415278 lt_prog_compiler_static_GCJ=
1605515279
16056 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
1605715281 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
1605815282
1605915283 if test "$GCC" = yes; then
1626315487 esac
1626415488 fi
1626515489
16266 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GCJ" >&5
1626715491 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
1626815492
1626915493 #
1627115495 #
1627215496 if test -n "$lt_prog_compiler_pic_GCJ"; then
1627315497
16274 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
1627515499 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
16276 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15500 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then :
1627715501 $as_echo_n "(cached) " >&6
1627815502 else
1627915503 lt_prog_compiler_pic_works_GCJ=no
1628915513 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1629015514 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1629115515 -e 's:$: $lt_compiler_flag:'`
16292 (eval echo "\"\$as_me:16293: $lt_compile\"" >&5)
15516 (eval echo "\"\$as_me:15517: $lt_compile\"" >&5)
1629315517 (eval "$lt_compile" 2>conftest.err)
1629415518 ac_status=$?
1629515519 cat conftest.err >&5
16296 echo "$as_me:16297: \$? = $ac_status" >&5
15520 echo "$as_me:15521: \$? = $ac_status" >&5
1629715521 if (exit $ac_status) && test -s "$ac_outfile"; then
1629815522 # The compiler can only warn and ignore the option if not recognized
1629915523 # So say no if there are warnings other than the usual output.
1630615530 $rm conftest*
1630715531
1630815532 fi
16309 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works_GCJ" >&5
1631015534 $as_echo "$lt_prog_compiler_pic_works_GCJ" >&6; }
1631115535
1631215536 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
1633415558 # Check to make sure the static flag actually works.
1633515559 #
1633615560 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
16337 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
1633815562 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16339 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
15563 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then :
1634015564 $as_echo_n "(cached) " >&6
1634115565 else
1634215566 lt_prog_compiler_static_works_GCJ=no
1636215586 LDFLAGS="$save_LDFLAGS"
1636315587
1636415588 fi
16365 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_static_works_GCJ" >&5
1636615590 $as_echo "$lt_prog_compiler_static_works_GCJ" >&6; }
1636715591
1636815592 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
1637215596 fi
1637315597
1637415598
16375 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
1637615600 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16377 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15601 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then :
1637815602 $as_echo_n "(cached) " >&6
1637915603 else
1638015604 lt_cv_prog_compiler_c_o_GCJ=no
1639315617 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1639415618 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1639515619 -e 's:$: $lt_compiler_flag:'`
16396 (eval echo "\"\$as_me:16397: $lt_compile\"" >&5)
15620 (eval echo "\"\$as_me:15621: $lt_compile\"" >&5)
1639715621 (eval "$lt_compile" 2>out/conftest.err)
1639815622 ac_status=$?
1639915623 cat out/conftest.err >&5
16400 echo "$as_me:16401: \$? = $ac_status" >&5
15624 echo "$as_me:15625: \$? = $ac_status" >&5
1640115625 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1640215626 then
1640315627 # The compiler can only warn and ignore the option if not recognized
1641915643 $rm conftest*
1642015644
1642115645 fi
16422 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
1642315647 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
1642415648
1642515649
1642615650 hard_links="nottested"
1642715651 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
1642815652 # do not overwrite the value of need_locks provided by the user
16429 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
1643015654 $as_echo_n "checking if we can lock with hard links... " >&6; }
1643115655 hard_links=yes
1643215656 $rm conftest*
1643415658 touch conftest.a
1643515659 ln conftest.a conftest.b 2>&5 || hard_links=no
1643615660 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16437 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
1643815662 $as_echo "$hard_links" >&6; }
1643915663 if test "$hard_links" = no; then
16440 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
1644115665 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1644215666 need_locks=warn
1644315667 fi
1644515669 need_locks=no
1644615670 fi
1644715671
16448 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
1644915673 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1645015674
1645115675 runpath_var=
1684516069 # -berok will link without error, but may produce a broken library.
1684616070 allow_undefined_flag_GCJ='-berok'
1684716071 # Determine the default libpath from the value encoded in an empty executable.
16848 cat >conftest.$ac_ext <<_ACEOF
16849 /* confdefs.h. */
16850 _ACEOF
16851 cat confdefs.h >>conftest.$ac_ext
16852 cat >>conftest.$ac_ext <<_ACEOF
16072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1685316073 /* end confdefs.h. */
1685416074
1685516075 int
1686016080 return 0;
1686116081 }
1686216082 _ACEOF
16863 rm -f conftest.$ac_objext conftest$ac_exeext
16864 if { (ac_try="$ac_link"
16865 case "(($ac_try" in
16866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16867 *) ac_try_echo=$ac_try;;
16868 esac
16869 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16870 $as_echo "$ac_try_echo") >&5
16871 (eval "$ac_link") 2>conftest.er1
16872 ac_status=$?
16873 grep -v '^ *+' conftest.er1 >conftest.err
16874 rm -f conftest.er1
16875 cat conftest.err >&5
16876 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877 (exit $ac_status); } && {
16878 test -z "$ac_c_werror_flag" ||
16879 test ! -s conftest.err
16880 } && test -s conftest$ac_exeext && {
16881 test "$cross_compiling" = yes ||
16882 $as_test_x conftest$ac_exeext
16883 }; then
16083 if ac_fn_c_try_link "$LINENO"; then :
1688416084
1688516085 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1688616086 }'`
1688716087 # Check for a 64-bit object if we didn't find anything.
1688816088 if 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; }
1688916089 }'`; fi
16890 else
16891 $as_echo "$as_me: failed program was:" >&5
16892 sed 's/^/| /' conftest.$ac_ext >&5
16893
16894
16895 fi
16896
16897 rm -rf conftest.dSYM
16898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16899 conftest$ac_exeext conftest.$ac_ext
16090 fi
16091 rm -f core conftest.err conftest.$ac_objext \
16092 conftest$ac_exeext conftest.$ac_ext
1690016093 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1690116094
1690216095 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
1690816101 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
1690916102 else
1691016103 # Determine the default libpath from the value encoded in an empty executable.
16911 cat >conftest.$ac_ext <<_ACEOF
16912 /* confdefs.h. */
16913 _ACEOF
16914 cat confdefs.h >>conftest.$ac_ext
16915 cat >>conftest.$ac_ext <<_ACEOF
16104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1691616105 /* end confdefs.h. */
1691716106
1691816107 int
1692316112 return 0;
1692416113 }
1692516114 _ACEOF
16926 rm -f conftest.$ac_objext conftest$ac_exeext
16927 if { (ac_try="$ac_link"
16928 case "(($ac_try" in
16929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16930 *) ac_try_echo=$ac_try;;
16931 esac
16932 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16933 $as_echo "$ac_try_echo") >&5
16934 (eval "$ac_link") 2>conftest.er1
16935 ac_status=$?
16936 grep -v '^ *+' conftest.er1 >conftest.err
16937 rm -f conftest.er1
16938 cat conftest.err >&5
16939 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16940 (exit $ac_status); } && {
16941 test -z "$ac_c_werror_flag" ||
16942 test ! -s conftest.err
16943 } && test -s conftest$ac_exeext && {
16944 test "$cross_compiling" = yes ||
16945 $as_test_x conftest$ac_exeext
16946 }; then
16115 if ac_fn_c_try_link "$LINENO"; then :
1694716116
1694816117 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1694916118 }'`
1695016119 # Check for a 64-bit object if we didn't find anything.
1695116120 if 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; }
1695216121 }'`; fi
16953 else
16954 $as_echo "$as_me: failed program was:" >&5
16955 sed 's/^/| /' conftest.$ac_ext >&5
16956
16957
16958 fi
16959
16960 rm -rf conftest.dSYM
16961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16962 conftest$ac_exeext conftest.$ac_ext
16122 fi
16123 rm -f core conftest.err conftest.$ac_objext \
16124 conftest$ac_exeext conftest.$ac_ext
1696316125 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1696416126
1696516127 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
1740716569 esac
1740816570 fi
1740916571
17410 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GCJ" >&5
1741116573 $as_echo "$ld_shlibs_GCJ" >&6; }
1741216574 test "$ld_shlibs_GCJ" = no && can_build_shared=no
1741316575
1742816590 # Test whether the compiler implicitly links with -lc since on some
1742916591 # systems, -lgcc has to come before -lc. If gcc already passes -lc
1743016592 # to ld, don't add -lc before -lgcc.
17431 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
1743216594 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
1743316595 $rm conftest*
1743416596 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1743516597
17436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16598 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1743716599 (eval $ac_compile) 2>&5
1743816600 ac_status=$?
17439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 (exit $ac_status); } 2>conftest.err; then
16601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16602 test $ac_status = 0; } 2>conftest.err; then
1744116603 soname=conftest
1744216604 lib=conftest
1744316605 libobjs=conftest.$ac_objext
1745116613 libname=conftest
1745216614 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
1745316615 allow_undefined_flag_GCJ=
17454 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16616 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1745516617 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
1745616618 ac_status=$?
17457 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458 (exit $ac_status); }
16619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16620 test $ac_status = 0; }
1745916621 then
1746016622 archive_cmds_need_lc_GCJ=no
1746116623 else
1746616628 cat conftest.err 1>&5
1746716629 fi
1746816630 $rm conftest*
17469 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_GCJ" >&5
1747016632 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
1747116633 ;;
1747216634 esac
1747416636 ;;
1747516637 esac
1747616638
17477 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
1747816640 $as_echo_n "checking dynamic linker characteristics... " >&6; }
1747916641 library_names_spec=
1748016642 libname_spec='lib$name'
1806217224 dynamic_linker=no
1806317225 ;;
1806417226 esac
18065 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
1806617228 $as_echo "$dynamic_linker" >&6; }
1806717229 test "$dynamic_linker" = no && can_build_shared=no
1806817230
1807117233 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1807217234 fi
1807317235
18074 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
1807517237 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1807617238 hardcode_action_GCJ=
1807717239 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
1809617258 # directories.
1809717259 hardcode_action_GCJ=unsupported
1809817260 fi
18099 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GCJ" >&5
1810017262 $as_echo "$hardcode_action_GCJ" >&6; }
1810117263
1810217264 if test "$hardcode_action_GCJ" = relink; then
1900818170 ;;
1900918171
1901018172 *)
19011 { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19012 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19013 { (exit 1); exit 1; }; }
18173 as_fn_error $? "Unsupported tag name: $tagname" "$LINENO" 5
1901418174 ;;
1901518175 esac
1901618176
1902818188 chmod +x "$ofile"
1902918189 else
1903018190 rm -f "${ofile}T"
19031 { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19032 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19033 { (exit 1); exit 1; }; }
18191 as_fn_error $? "unable to update list of available tagged configurations." "$LINENO" 5
1903418192 fi
1903518193 fi
1903618194
1907618234 if test -n "$ac_tool_prefix"; then
1907718235 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1907818236 set dummy ${ac_tool_prefix}gcc; ac_word=$2
19079 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1908018238 $as_echo_n "checking for $ac_word... " >&6; }
19081 if test "${ac_cv_prog_CC+set}" = set; then
18239 if test "${ac_cv_prog_CC+set}" = set; then :
1908218240 $as_echo_n "(cached) " >&6
1908318241 else
1908418242 if test -n "$CC"; then
1908918247 do
1909018248 IFS=$as_save_IFS
1909118249 test -z "$as_dir" && as_dir=.
19092 for ac_exec_ext in '' $ac_executable_extensions; do
18250 for ac_exec_ext in '' $ac_executable_extensions; do
1909318251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1909418252 ac_cv_prog_CC="${ac_tool_prefix}gcc"
19095 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1909618254 break 2
1909718255 fi
1909818256 done
19099 done
18257 done
1910018258 IFS=$as_save_IFS
1910118259
1910218260 fi
1910318261 fi
1910418262 CC=$ac_cv_prog_CC
1910518263 if test -n "$CC"; then
19106 { $as_echo "$as_me:$LINENO: result: $CC" >&5
18264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1910718265 $as_echo "$CC" >&6; }
1910818266 else
19109 { $as_echo "$as_me:$LINENO: result: no" >&5
18267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1911018268 $as_echo "no" >&6; }
1911118269 fi
1911218270
1911618274 ac_ct_CC=$CC
1911718275 # Extract the first word of "gcc", so it can be a program name with args.
1911818276 set dummy gcc; ac_word=$2
19119 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1912018278 $as_echo_n "checking for $ac_word... " >&6; }
19121 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
18279 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1912218280 $as_echo_n "(cached) " >&6
1912318281 else
1912418282 if test -n "$ac_ct_CC"; then
1912918287 do
1913018288 IFS=$as_save_IFS
1913118289 test -z "$as_dir" && as_dir=.
19132 for ac_exec_ext in '' $ac_executable_extensions; do
18290 for ac_exec_ext in '' $ac_executable_extensions; do
1913318291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1913418292 ac_cv_prog_ac_ct_CC="gcc"
19135 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1913618294 break 2
1913718295 fi
1913818296 done
19139 done
18297 done
1914018298 IFS=$as_save_IFS
1914118299
1914218300 fi
1914318301 fi
1914418302 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1914518303 if test -n "$ac_ct_CC"; then
19146 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1914718305 $as_echo "$ac_ct_CC" >&6; }
1914818306 else
19149 { $as_echo "$as_me:$LINENO: result: no" >&5
18307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1915018308 $as_echo "no" >&6; }
1915118309 fi
1915218310
1915518313 else
1915618314 case $cross_compiling:$ac_tool_warned in
1915718315 yes:)
19158 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
18316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1915918317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1916018318 ac_tool_warned=yes ;;
1916118319 esac
1916918327 if test -n "$ac_tool_prefix"; then
1917018328 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1917118329 set dummy ${ac_tool_prefix}cc; ac_word=$2
19172 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1917318331 $as_echo_n "checking for $ac_word... " >&6; }
19174 if test "${ac_cv_prog_CC+set}" = set; then
18332 if test "${ac_cv_prog_CC+set}" = set; then :
1917518333 $as_echo_n "(cached) " >&6
1917618334 else
1917718335 if test -n "$CC"; then
1918218340 do
1918318341 IFS=$as_save_IFS
1918418342 test -z "$as_dir" && as_dir=.
19185 for ac_exec_ext in '' $ac_executable_extensions; do
18343 for ac_exec_ext in '' $ac_executable_extensions; do
1918618344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1918718345 ac_cv_prog_CC="${ac_tool_prefix}cc"
19188 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1918918347 break 2
1919018348 fi
1919118349 done
19192 done
18350 done
1919318351 IFS=$as_save_IFS
1919418352
1919518353 fi
1919618354 fi
1919718355 CC=$ac_cv_prog_CC
1919818356 if test -n "$CC"; then
19199 { $as_echo "$as_me:$LINENO: result: $CC" >&5
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1920018358 $as_echo "$CC" >&6; }
1920118359 else
19202 { $as_echo "$as_me:$LINENO: result: no" >&5
18360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1920318361 $as_echo "no" >&6; }
1920418362 fi
1920518363
1920918367 if test -z "$CC"; then
1921018368 # Extract the first word of "cc", so it can be a program name with args.
1921118369 set dummy cc; ac_word=$2
19212 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1921318371 $as_echo_n "checking for $ac_word... " >&6; }
19214 if test "${ac_cv_prog_CC+set}" = set; then
18372 if test "${ac_cv_prog_CC+set}" = set; then :
1921518373 $as_echo_n "(cached) " >&6
1921618374 else
1921718375 if test -n "$CC"; then
1922318381 do
1922418382 IFS=$as_save_IFS
1922518383 test -z "$as_dir" && as_dir=.
19226 for ac_exec_ext in '' $ac_executable_extensions; do
18384 for ac_exec_ext in '' $ac_executable_extensions; do
1922718385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1922818386 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1922918387 ac_prog_rejected=yes
1923018388 continue
1923118389 fi
1923218390 ac_cv_prog_CC="cc"
19233 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1923418392 break 2
1923518393 fi
1923618394 done
19237 done
18395 done
1923818396 IFS=$as_save_IFS
1923918397
1924018398 if test $ac_prog_rejected = yes; then
1925318411 fi
1925418412 CC=$ac_cv_prog_CC
1925518413 if test -n "$CC"; then
19256 { $as_echo "$as_me:$LINENO: result: $CC" >&5
18414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1925718415 $as_echo "$CC" >&6; }
1925818416 else
19259 { $as_echo "$as_me:$LINENO: result: no" >&5
18417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1926018418 $as_echo "no" >&6; }
1926118419 fi
1926218420
1926818426 do
1926918427 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1927018428 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19271 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1927218430 $as_echo_n "checking for $ac_word... " >&6; }
19273 if test "${ac_cv_prog_CC+set}" = set; then
18431 if test "${ac_cv_prog_CC+set}" = set; then :
1927418432 $as_echo_n "(cached) " >&6
1927518433 else
1927618434 if test -n "$CC"; then
1928118439 do
1928218440 IFS=$as_save_IFS
1928318441 test -z "$as_dir" && as_dir=.
19284 for ac_exec_ext in '' $ac_executable_extensions; do
18442 for ac_exec_ext in '' $ac_executable_extensions; do
1928518443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1928618444 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
19287 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1928818446 break 2
1928918447 fi
1929018448 done
19291 done
18449 done
1929218450 IFS=$as_save_IFS
1929318451
1929418452 fi
1929518453 fi
1929618454 CC=$ac_cv_prog_CC
1929718455 if test -n "$CC"; then
19298 { $as_echo "$as_me:$LINENO: result: $CC" >&5
18456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1929918457 $as_echo "$CC" >&6; }
1930018458 else
19301 { $as_echo "$as_me:$LINENO: result: no" >&5
18459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1930218460 $as_echo "no" >&6; }
1930318461 fi
1930418462
1931218470 do
1931318471 # Extract the first word of "$ac_prog", so it can be a program name with args.
1931418472 set dummy $ac_prog; ac_word=$2
19315 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1931618474 $as_echo_n "checking for $ac_word... " >&6; }
19317 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
18475 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1931818476 $as_echo_n "(cached) " >&6
1931918477 else
1932018478 if test -n "$ac_ct_CC"; then
1932518483 do
1932618484 IFS=$as_save_IFS
1932718485 test -z "$as_dir" && as_dir=.
19328 for ac_exec_ext in '' $ac_executable_extensions; do
18486 for ac_exec_ext in '' $ac_executable_extensions; do
1932918487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1933018488 ac_cv_prog_ac_ct_CC="$ac_prog"
19331 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1933218490 break 2
1933318491 fi
1933418492 done
19335 done
18493 done
1933618494 IFS=$as_save_IFS
1933718495
1933818496 fi
1933918497 fi
1934018498 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1934118499 if test -n "$ac_ct_CC"; then
19342 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
18500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1934318501 $as_echo "$ac_ct_CC" >&6; }
1934418502 else
19345 { $as_echo "$as_me:$LINENO: result: no" >&5
18503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1934618504 $as_echo "no" >&6; }
1934718505 fi
1934818506
1935518513 else
1935618514 case $cross_compiling:$ac_tool_warned in
1935718515 yes:)
19358 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
18516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1935918517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1936018518 ac_tool_warned=yes ;;
1936118519 esac
1936618524 fi
1936718525
1936818526
19369 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18527 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1937018528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19371 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
19372 See \`config.log' for more details." >&5
19373 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
19374 See \`config.log' for more details." >&2;}
19375 { (exit 1); exit 1; }; }; }
18529 as_fn_error $? "no acceptable C compiler found in \$PATH
18530 See \`config.log' for more details" "$LINENO" 5 ; }
1937618531
1937718532 # Provide some information about the compiler.
19378 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
18533 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
1937918534 set X $ac_compile
1938018535 ac_compiler=$2
19381 { (ac_try="$ac_compiler --version >&5"
18536 for ac_option in --version -v -V -qversion; do
18537 { { ac_try="$ac_compiler $ac_option >&5"
1938218538 case "(($ac_try" in
1938318539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1938418540 *) ac_try_echo=$ac_try;;
1938518541 esac
19386 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19387 $as_echo "$ac_try_echo") >&5
19388 (eval "$ac_compiler --version >&5") 2>&5
18542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18543 $as_echo "$ac_try_echo"; } >&5
18544 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1938918545 ac_status=$?
19390 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19391 (exit $ac_status); }
19392 { (ac_try="$ac_compiler -v >&5"
19393 case "(($ac_try" in
19394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19395 *) ac_try_echo=$ac_try;;
19396 esac
19397 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19398 $as_echo "$ac_try_echo") >&5
19399 (eval "$ac_compiler -v >&5") 2>&5
19400 ac_status=$?
19401 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); }
19403 { (ac_try="$ac_compiler -V >&5"
19404 case "(($ac_try" in
19405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19406 *) ac_try_echo=$ac_try;;
19407 esac
19408 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19409 $as_echo "$ac_try_echo") >&5
19410 (eval "$ac_compiler -V >&5") 2>&5
19411 ac_status=$?
19412 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19413 (exit $ac_status); }
19414
19415 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
18546 if test -s conftest.err; then
18547 sed '10a\
18548 ... rest of stderr output deleted ...
18549 10q' conftest.err >conftest.er1
18550 cat conftest.er1 >&5
18551 fi
18552 rm -f conftest.er1 conftest.err
18553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18554 test $ac_status = 0; }
18555 done
18556
18557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
1941618558 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
19417 if test "${ac_cv_c_compiler_gnu+set}" = set; then
18559 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
1941818560 $as_echo_n "(cached) " >&6
1941918561 else
19420 cat >conftest.$ac_ext <<_ACEOF
19421 /* confdefs.h. */
19422 _ACEOF
19423 cat confdefs.h >>conftest.$ac_ext
19424 cat >>conftest.$ac_ext <<_ACEOF
18562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1942518563 /* end confdefs.h. */
1942618564
1942718565 int
1943518573 return 0;
1943618574 }
1943718575 _ACEOF
19438 rm -f conftest.$ac_objext
19439 if { (ac_try="$ac_compile"
19440 case "(($ac_try" in
19441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19442 *) ac_try_echo=$ac_try;;
19443 esac
19444 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19445 $as_echo "$ac_try_echo") >&5
19446 (eval "$ac_compile") 2>conftest.er1
19447 ac_status=$?
19448 grep -v '^ *+' conftest.er1 >conftest.err
19449 rm -f conftest.er1
19450 cat conftest.err >&5
19451 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19452 (exit $ac_status); } && {
19453 test -z "$ac_c_werror_flag" ||
19454 test ! -s conftest.err
19455 } && test -s conftest.$ac_objext; then
18576 if ac_fn_c_try_compile "$LINENO"; then :
1945618577 ac_compiler_gnu=yes
1945718578 else
19458 $as_echo "$as_me: failed program was:" >&5
19459 sed 's/^/| /' conftest.$ac_ext >&5
19460
19461 ac_compiler_gnu=no
19462 fi
19463
18579 ac_compiler_gnu=no
18580 fi
1946418581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1946518582 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1946618583
1946718584 fi
19468 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
18585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
1946918586 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
1947018587 if test $ac_compiler_gnu = yes; then
1947118588 GCC=yes
1947418591 fi
1947518592 ac_test_CFLAGS=${CFLAGS+set}
1947618593 ac_save_CFLAGS=$CFLAGS
19477 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
1947818595 $as_echo_n "checking whether $CC accepts -g... " >&6; }
19479 if test "${ac_cv_prog_cc_g+set}" = set; then
18596 if test "${ac_cv_prog_cc_g+set}" = set; then :
1948018597 $as_echo_n "(cached) " >&6
1948118598 else
1948218599 ac_save_c_werror_flag=$ac_c_werror_flag
1948318600 ac_c_werror_flag=yes
1948418601 ac_cv_prog_cc_g=no
1948518602 CFLAGS="-g"
19486 cat >conftest.$ac_ext <<_ACEOF
19487 /* confdefs.h. */
19488 _ACEOF
19489 cat confdefs.h >>conftest.$ac_ext
19490 cat >>conftest.$ac_ext <<_ACEOF
18603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1949118604 /* end confdefs.h. */
1949218605
1949318606 int
1949818611 return 0;
1949918612 }
1950018613 _ACEOF
19501 rm -f conftest.$ac_objext
19502 if { (ac_try="$ac_compile"
19503 case "(($ac_try" in
19504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19505 *) ac_try_echo=$ac_try;;
19506 esac
19507 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19508 $as_echo "$ac_try_echo") >&5
19509 (eval "$ac_compile") 2>conftest.er1
19510 ac_status=$?
19511 grep -v '^ *+' conftest.er1 >conftest.err
19512 rm -f conftest.er1
19513 cat conftest.err >&5
19514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515 (exit $ac_status); } && {
19516 test -z "$ac_c_werror_flag" ||
19517 test ! -s conftest.err
19518 } && test -s conftest.$ac_objext; then
18614 if ac_fn_c_try_compile "$LINENO"; then :
1951918615 ac_cv_prog_cc_g=yes
1952018616 else
19521 $as_echo "$as_me: failed program was:" >&5
19522 sed 's/^/| /' conftest.$ac_ext >&5
19523
19524 CFLAGS=""
19525 cat >conftest.$ac_ext <<_ACEOF
19526 /* confdefs.h. */
19527 _ACEOF
19528 cat confdefs.h >>conftest.$ac_ext
19529 cat >>conftest.$ac_ext <<_ACEOF
18617 CFLAGS=""
18618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1953018619 /* end confdefs.h. */
1953118620
1953218621 int
1953718626 return 0;
1953818627 }
1953918628 _ACEOF
19540 rm -f conftest.$ac_objext
19541 if { (ac_try="$ac_compile"
19542 case "(($ac_try" in
19543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19544 *) ac_try_echo=$ac_try;;
19545 esac
19546 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19547 $as_echo "$ac_try_echo") >&5
19548 (eval "$ac_compile") 2>conftest.er1
19549 ac_status=$?
19550 grep -v '^ *+' conftest.er1 >conftest.err
19551 rm -f conftest.er1
19552 cat conftest.err >&5
19553 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19554 (exit $ac_status); } && {
19555 test -z "$ac_c_werror_flag" ||
19556 test ! -s conftest.err
19557 } && test -s conftest.$ac_objext; then
19558 :
19559 else
19560 $as_echo "$as_me: failed program was:" >&5
19561 sed 's/^/| /' conftest.$ac_ext >&5
19562
19563 ac_c_werror_flag=$ac_save_c_werror_flag
18629 if ac_fn_c_try_compile "$LINENO"; then :
18630
18631 else
18632 ac_c_werror_flag=$ac_save_c_werror_flag
1956418633 CFLAGS="-g"
19565 cat >conftest.$ac_ext <<_ACEOF
19566 /* confdefs.h. */
19567 _ACEOF
19568 cat confdefs.h >>conftest.$ac_ext
19569 cat >>conftest.$ac_ext <<_ACEOF
18634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1957018635 /* end confdefs.h. */
1957118636
1957218637 int
1957718642 return 0;
1957818643 }
1957918644 _ACEOF
19580 rm -f conftest.$ac_objext
19581 if { (ac_try="$ac_compile"
19582 case "(($ac_try" in
19583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19584 *) ac_try_echo=$ac_try;;
19585 esac
19586 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19587 $as_echo "$ac_try_echo") >&5
19588 (eval "$ac_compile") 2>conftest.er1
19589 ac_status=$?
19590 grep -v '^ *+' conftest.er1 >conftest.err
19591 rm -f conftest.er1
19592 cat conftest.err >&5
19593 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19594 (exit $ac_status); } && {
19595 test -z "$ac_c_werror_flag" ||
19596 test ! -s conftest.err
19597 } && test -s conftest.$ac_objext; then
18645 if ac_fn_c_try_compile "$LINENO"; then :
1959818646 ac_cv_prog_cc_g=yes
19599 else
19600 $as_echo "$as_me: failed program was:" >&5
19601 sed 's/^/| /' conftest.$ac_ext >&5
19602
19603
19604 fi
19605
18647 fi
1960618648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1960718649 fi
19608
1960918650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1961018651 fi
19611
1961218652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1961318653 ac_c_werror_flag=$ac_save_c_werror_flag
1961418654 fi
19615 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
1961618656 $as_echo "$ac_cv_prog_cc_g" >&6; }
1961718657 if test "$ac_test_CFLAGS" = set; then
1961818658 CFLAGS=$ac_save_CFLAGS
1962918669 CFLAGS=
1963018670 fi
1963118671 fi
19632 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
1963318673 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
19634 if test "${ac_cv_prog_cc_c89+set}" = set; then
18674 if test "${ac_cv_prog_cc_c89+set}" = set; then :
1963518675 $as_echo_n "(cached) " >&6
1963618676 else
1963718677 ac_cv_prog_cc_c89=no
1963818678 ac_save_CC=$CC
19639 cat >conftest.$ac_ext <<_ACEOF
19640 /* confdefs.h. */
19641 _ACEOF
19642 cat confdefs.h >>conftest.$ac_ext
19643 cat >>conftest.$ac_ext <<_ACEOF
18679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1964418680 /* end confdefs.h. */
1964518681 #include <stdarg.h>
1964618682 #include <stdio.h>
1969718733 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1969818734 do
1969918735 CC="$ac_save_CC $ac_arg"
19700 rm -f conftest.$ac_objext
19701 if { (ac_try="$ac_compile"
19702 case "(($ac_try" in
19703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19704 *) ac_try_echo=$ac_try;;
19705 esac
19706 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19707 $as_echo "$ac_try_echo") >&5
19708 (eval "$ac_compile") 2>conftest.er1
19709 ac_status=$?
19710 grep -v '^ *+' conftest.er1 >conftest.err
19711 rm -f conftest.er1
19712 cat conftest.err >&5
19713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714 (exit $ac_status); } && {
19715 test -z "$ac_c_werror_flag" ||
19716 test ! -s conftest.err
19717 } && test -s conftest.$ac_objext; then
18736 if ac_fn_c_try_compile "$LINENO"; then :
1971818737 ac_cv_prog_cc_c89=$ac_arg
19719 else
19720 $as_echo "$as_me: failed program was:" >&5
19721 sed 's/^/| /' conftest.$ac_ext >&5
19722
19723
19724 fi
19725
18738 fi
1972618739 rm -f core conftest.err conftest.$ac_objext
1972718740 test "x$ac_cv_prog_cc_c89" != "xno" && break
1972818741 done
1973318746 # AC_CACHE_VAL
1973418747 case "x$ac_cv_prog_cc_c89" in
1973518748 x)
19736 { $as_echo "$as_me:$LINENO: result: none needed" >&5
18749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
1973718750 $as_echo "none needed" >&6; } ;;
1973818751 xno)
19739 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
18752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
1974018753 $as_echo "unsupported" >&6; } ;;
1974118754 *)
1974218755 CC="$CC $ac_cv_prog_cc_c89"
19743 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
18756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
1974418757 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1974518758 esac
19746
18759 if test "x$ac_cv_prog_cc_c89" != xno; then :
18760
18761 fi
1974718762
1974818763 ac_ext=c
1974918764 ac_cpp='$CPP $CPPFLAGS'
1976518780 # OS/2's system install, which has a completely different semantic
1976618781 # ./install, which can be erroneously created by make from ./install.sh.
1976718782 # Reject install programs that cannot install multiple files.
19768 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
18783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1976918784 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1977018785 if test -z "$INSTALL"; then
19771 if test "${ac_cv_path_install+set}" = set; then
18786 if test "${ac_cv_path_install+set}" = set; then :
1977218787 $as_echo_n "(cached) " >&6
1977318788 else
1977418789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1977618791 do
1977718792 IFS=$as_save_IFS
1977818793 test -z "$as_dir" && as_dir=.
19779 # Account for people who put trailing slashes in PATH elements.
19780 case $as_dir/ in
19781 ./ | .// | /cC/* | \
18794 # Account for people who put trailing slashes in PATH elements.
18795 case $as_dir/ in #((
18796 ./ | .// | /[cC]/* | \
1978218797 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19783 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
18798 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1978418799 /usr/ucb/* ) ;;
1978518800 *)
1978618801 # OSF1 and SCO ODT 3.0 have their own names for install.
1981718832 ;;
1981818833 esac
1981918834
19820 done
18835 done
1982118836 IFS=$as_save_IFS
1982218837
1982318838 rm -rf conftest.one conftest.two conftest.dir
1983318848 INSTALL=$ac_install_sh
1983418849 fi
1983518850 fi
19836 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
18851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1983718852 $as_echo "$INSTALL" >&6; }
1983818853
1983918854 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1984818863 if test "$GCC" = yes ; then
1984918864 OLDCFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wstrict-prototypes"
1985018865 CFLAGS="$OLDCFLAGS -fexceptions"
19851 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -fexceptions" >&5
18866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -fexceptions" >&5
1985218867 $as_echo_n "checking whether $CC accepts -fexceptions... " >&6; }
19853 cat >conftest.$ac_ext <<_ACEOF
19854 /* confdefs.h. */
19855 _ACEOF
19856 cat confdefs.h >>conftest.$ac_ext
19857 cat >>conftest.$ac_ext <<_ACEOF
18868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1985818869 /* end confdefs.h. */
1985918870
1986018871 int
1986518876 return 0;
1986618877 }
1986718878 _ACEOF
19868 rm -f conftest.$ac_objext conftest$ac_exeext
19869 if { (ac_try="$ac_link"
19870 case "(($ac_try" in
19871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19872 *) ac_try_echo=$ac_try;;
19873 esac
19874 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19875 $as_echo "$ac_try_echo") >&5
19876 (eval "$ac_link") 2>conftest.er1
19877 ac_status=$?
19878 grep -v '^ *+' conftest.er1 >conftest.err
19879 rm -f conftest.er1
19880 cat conftest.err >&5
19881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19882 (exit $ac_status); } && {
19883 test -z "$ac_c_werror_flag" ||
19884 test ! -s conftest.err
19885 } && test -s conftest$ac_exeext && {
19886 test "$cross_compiling" = yes ||
19887 $as_test_x conftest$ac_exeext
19888 }; then
19889 { $as_echo "$as_me:$LINENO: result: yes" >&5
18879 if ac_fn_c_try_link "$LINENO"; then :
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1989018881 $as_echo "yes" >&6; }
1989118882 else
19892 $as_echo "$as_me: failed program was:" >&5
19893 sed 's/^/| /' conftest.$ac_ext >&5
19894
19895 { $as_echo "$as_me:$LINENO: result: no" >&5
18883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1989618884 $as_echo "no" >&6; }; CFLAGS="$OLDCFLAGS"
1989718885 fi
19898
19899 rm -rf conftest.dSYM
19900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19901 conftest$ac_exeext conftest.$ac_ext
18886 rm -f core conftest.err conftest.$ac_objext \
18887 conftest$ac_exeext conftest.$ac_ext
1990218888 CXXFLAGS=`echo "$CFLAGS" | sed 's/ -Wmissing-prototypes -Wstrict-prototypes//'`
1990318889 fi
1990418890
19905 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
1990618892 $as_echo_n "checking for ANSI C header files... " >&6; }
19907 if test "${ac_cv_header_stdc+set}" = set; then
18893 if test "${ac_cv_header_stdc+set}" = set; then :
1990818894 $as_echo_n "(cached) " >&6
1990918895 else
19910 cat >conftest.$ac_ext <<_ACEOF
19911 /* confdefs.h. */
19912 _ACEOF
19913 cat confdefs.h >>conftest.$ac_ext
19914 cat >>conftest.$ac_ext <<_ACEOF
18896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1991518897 /* end confdefs.h. */
1991618898 #include <stdlib.h>
1991718899 #include <stdarg.h>
1992618908 return 0;
1992718909 }
1992818910 _ACEOF
19929 rm -f conftest.$ac_objext
19930 if { (ac_try="$ac_compile"
19931 case "(($ac_try" in
19932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19933 *) ac_try_echo=$ac_try;;
19934 esac
19935 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19936 $as_echo "$ac_try_echo") >&5
19937 (eval "$ac_compile") 2>conftest.er1
19938 ac_status=$?
19939 grep -v '^ *+' conftest.er1 >conftest.err
19940 rm -f conftest.er1
19941 cat conftest.err >&5
19942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19943 (exit $ac_status); } && {
19944 test -z "$ac_c_werror_flag" ||
19945 test ! -s conftest.err
19946 } && test -s conftest.$ac_objext; then
18911 if ac_fn_c_try_compile "$LINENO"; then :
1994718912 ac_cv_header_stdc=yes
1994818913 else
19949 $as_echo "$as_me: failed program was:" >&5
19950 sed 's/^/| /' conftest.$ac_ext >&5
19951
19952 ac_cv_header_stdc=no
19953 fi
19954
18914 ac_cv_header_stdc=no
18915 fi
1995518916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1995618917
1995718918 if test $ac_cv_header_stdc = yes; then
1995818919 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19959 cat >conftest.$ac_ext <<_ACEOF
19960 /* confdefs.h. */
19961 _ACEOF
19962 cat confdefs.h >>conftest.$ac_ext
19963 cat >>conftest.$ac_ext <<_ACEOF
18920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1996418921 /* end confdefs.h. */
1996518922 #include <string.h>
1996618923
1996718924 _ACEOF
1996818925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19969 $EGREP "memchr" >/dev/null 2>&1; then
19970 :
18926 $EGREP "memchr" >/dev/null 2>&1; then :
18927
1997118928 else
1997218929 ac_cv_header_stdc=no
1997318930 fi
1997718934
1997818935 if test $ac_cv_header_stdc = yes; then
1997918936 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19980 cat >conftest.$ac_ext <<_ACEOF
19981 /* confdefs.h. */
19982 _ACEOF
19983 cat confdefs.h >>conftest.$ac_ext
19984 cat >>conftest.$ac_ext <<_ACEOF
18937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1998518938 /* end confdefs.h. */
1998618939 #include <stdlib.h>
1998718940
1998818941 _ACEOF
1998918942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19990 $EGREP "free" >/dev/null 2>&1; then
19991 :
18943 $EGREP "free" >/dev/null 2>&1; then :
18944
1999218945 else
1999318946 ac_cv_header_stdc=no
1999418947 fi
1999818951
1999918952 if test $ac_cv_header_stdc = yes; then
2000018953 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20001 if test "$cross_compiling" = yes; then
18954 if test "$cross_compiling" = yes; then :
2000218955 :
2000318956 else
20004 cat >conftest.$ac_ext <<_ACEOF
20005 /* confdefs.h. */
20006 _ACEOF
20007 cat confdefs.h >>conftest.$ac_ext
20008 cat >>conftest.$ac_ext <<_ACEOF
18957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2000918958 /* end confdefs.h. */
2001018959 #include <ctype.h>
2001118960 #include <stdlib.h>
2003218981 return 0;
2003318982 }
2003418983 _ACEOF
20035 rm -f conftest$ac_exeext
20036 if { (ac_try="$ac_link"
20037 case "(($ac_try" in
20038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20039 *) ac_try_echo=$ac_try;;
20040 esac
20041 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20042 $as_echo "$ac_try_echo") >&5
20043 (eval "$ac_link") 2>&5
20044 ac_status=$?
20045 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20046 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20047 { (case "(($ac_try" in
20048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20049 *) ac_try_echo=$ac_try;;
20050 esac
20051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20052 $as_echo "$ac_try_echo") >&5
20053 (eval "$ac_try") 2>&5
20054 ac_status=$?
20055 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056 (exit $ac_status); }; }; then
20057 :
20058 else
20059 $as_echo "$as_me: program exited with status $ac_status" >&5
20060 $as_echo "$as_me: failed program was:" >&5
20061 sed 's/^/| /' conftest.$ac_ext >&5
20062
20063 ( exit $ac_status )
20064 ac_cv_header_stdc=no
20065 fi
20066 rm -rf conftest.dSYM
20067 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20068 fi
20069
20070
20071 fi
20072 fi
20073 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18984 if ac_fn_c_try_run "$LINENO"; then :
18985
18986 else
18987 ac_cv_header_stdc=no
18988 fi
18989 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18990 conftest.$ac_objext conftest.beam conftest.$ac_ext
18991 fi
18992
18993 fi
18994 fi
18995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
2007418996 $as_echo "$ac_cv_header_stdc" >&6; }
2007518997 if test $ac_cv_header_stdc = yes; then
2007618998
20077 cat >>confdefs.h <<\_ACEOF
20078 #define STDC_HEADERS 1
18999 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19000
19001 fi
19002
19003
19004 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
19005 if test "x$ac_cv_header_sys_mman_h" = x""yes; then :
19006 CFLAGS="$CFLAGS -D HAVE_MMAP"
19007 fi
19008
19009
19010
19011 # Check whether --with-with_zlib was given.
19012 if test "${with_with_zlib+set}" = set; then :
19013 withval=$with_with_zlib;
19014 fi
19015
19016 if test "x$with_zlib" != xno ; then
19017 for ac_header in zlib.h
19018 do :
19019 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
19020 if test "x$ac_cv_header_zlib_h" = x""yes; then :
19021 cat >>confdefs.h <<_ACEOF
19022 #define HAVE_ZLIB_H 1
2007919023 _ACEOF
20080
20081 fi
20082
20083
20084 if test "${ac_cv_header_sys_mman_h+set}" = set; then
20085 { $as_echo "$as_me:$LINENO: checking for sys/mman.h" >&5
20086 $as_echo_n "checking for sys/mman.h... " >&6; }
20087 if test "${ac_cv_header_sys_mman_h+set}" = set; then
20088 $as_echo_n "(cached) " >&6
20089 fi
20090 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_mman_h" >&5
20091 $as_echo "$ac_cv_header_sys_mman_h" >&6; }
20092 else
20093 # Is the header compilable?
20094 { $as_echo "$as_me:$LINENO: checking sys/mman.h usability" >&5
20095 $as_echo_n "checking sys/mman.h usability... " >&6; }
20096 cat >conftest.$ac_ext <<_ACEOF
20097 /* confdefs.h. */
20098 _ACEOF
20099 cat confdefs.h >>conftest.$ac_ext
20100 cat >>conftest.$ac_ext <<_ACEOF
20101 /* end confdefs.h. */
20102 $ac_includes_default
20103 #include <sys/mman.h>
20104 _ACEOF
20105 rm -f conftest.$ac_objext
20106 if { (ac_try="$ac_compile"
20107 case "(($ac_try" in
20108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20109 *) ac_try_echo=$ac_try;;
20110 esac
20111 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20112 $as_echo "$ac_try_echo") >&5
20113 (eval "$ac_compile") 2>conftest.er1
20114 ac_status=$?
20115 grep -v '^ *+' conftest.er1 >conftest.err
20116 rm -f conftest.er1
20117 cat conftest.err >&5
20118 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20119 (exit $ac_status); } && {
20120 test -z "$ac_c_werror_flag" ||
20121 test ! -s conftest.err
20122 } && test -s conftest.$ac_objext; then
20123 ac_header_compiler=yes
20124 else
20125 $as_echo "$as_me: failed program was:" >&5
20126 sed 's/^/| /' conftest.$ac_ext >&5
20127
20128 ac_header_compiler=no
20129 fi
20130
20131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20132 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20133 $as_echo "$ac_header_compiler" >&6; }
20134
20135 # Is the header present?
20136 { $as_echo "$as_me:$LINENO: checking sys/mman.h presence" >&5
20137 $as_echo_n "checking sys/mman.h presence... " >&6; }
20138 cat >conftest.$ac_ext <<_ACEOF
20139 /* confdefs.h. */
20140 _ACEOF
20141 cat confdefs.h >>conftest.$ac_ext
20142 cat >>conftest.$ac_ext <<_ACEOF
20143 /* end confdefs.h. */
20144 #include <sys/mman.h>
20145 _ACEOF
20146 if { (ac_try="$ac_cpp conftest.$ac_ext"
20147 case "(($ac_try" in
20148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20149 *) ac_try_echo=$ac_try;;
20150 esac
20151 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20152 $as_echo "$ac_try_echo") >&5
20153 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20154 ac_status=$?
20155 grep -v '^ *+' conftest.er1 >conftest.err
20156 rm -f conftest.er1
20157 cat conftest.err >&5
20158 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20159 (exit $ac_status); } >/dev/null && {
20160 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20161 test ! -s conftest.err
20162 }; then
20163 ac_header_preproc=yes
20164 else
20165 $as_echo "$as_me: failed program was:" >&5
20166 sed 's/^/| /' conftest.$ac_ext >&5
20167
20168 ac_header_preproc=no
20169 fi
20170
20171 rm -f conftest.err conftest.$ac_ext
20172 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20173 $as_echo "$ac_header_preproc" >&6; }
20174
20175 # So? What about this header?
20176 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20177 yes:no: )
20178 { $as_echo "$as_me:$LINENO: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor!" >&5
20179 $as_echo "$as_me: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20180 { $as_echo "$as_me:$LINENO: WARNING: sys/mman.h: proceeding with the compiler's result" >&5
20181 $as_echo "$as_me: WARNING: sys/mman.h: proceeding with the compiler's result" >&2;}
20182 ac_header_preproc=yes
20183 ;;
20184 no:yes:* )
20185 { $as_echo "$as_me:$LINENO: WARNING: sys/mman.h: present but cannot be compiled" >&5
20186 $as_echo "$as_me: WARNING: sys/mman.h: present but cannot be compiled" >&2;}
20187 { $as_echo "$as_me:$LINENO: WARNING: sys/mman.h: check for missing prerequisite headers?" >&5
20188 $as_echo "$as_me: WARNING: sys/mman.h: check for missing prerequisite headers?" >&2;}
20189 { $as_echo "$as_me:$LINENO: WARNING: sys/mman.h: see the Autoconf documentation" >&5
20190 $as_echo "$as_me: WARNING: sys/mman.h: see the Autoconf documentation" >&2;}
20191 { $as_echo "$as_me:$LINENO: WARNING: sys/mman.h: section \"Present But Cannot Be Compiled\"" >&5
20192 $as_echo "$as_me: WARNING: sys/mman.h: section \"Present But Cannot Be Compiled\"" >&2;}
20193 { $as_echo "$as_me:$LINENO: WARNING: sys/mman.h: proceeding with the preprocessor's result" >&5
20194 $as_echo "$as_me: WARNING: sys/mman.h: proceeding with the preprocessor's result" >&2;}
20195 { $as_echo "$as_me:$LINENO: WARNING: sys/mman.h: in the future, the compiler will take precedence" >&5
20196 $as_echo "$as_me: WARNING: sys/mman.h: in the future, the compiler will take precedence" >&2;}
20197 ( cat <<\_ASBOX
20198 ## -------------------------------------------- ##
20199 ## Report this to http://uncensored.citadel.org ##
20200 ## -------------------------------------------- ##
20201 _ASBOX
20202 ) | sed "s/^/$as_me: WARNING: /" >&2
20203 ;;
20204 esac
20205 { $as_echo "$as_me:$LINENO: checking for sys/mman.h" >&5
20206 $as_echo_n "checking for sys/mman.h... " >&6; }
20207 if test "${ac_cv_header_sys_mman_h+set}" = set; then
20208 $as_echo_n "(cached) " >&6
20209 else
20210 ac_cv_header_sys_mman_h=$ac_header_preproc
20211 fi
20212 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_mman_h" >&5
20213 $as_echo "$ac_cv_header_sys_mman_h" >&6; }
20214
20215 fi
20216 if test "x$ac_cv_header_sys_mman_h" = x""yes; then
20217 CFLAGS="$CFLAGS -D HAVE_MMAP"
20218 fi
20219
20220
20221
20222 # Check whether --with-with_zlib was given.
20223 if test "${with_with_zlib+set}" = set; then
20224 withval=$with_with_zlib;
20225 fi
20226
20227 if test "x$with_zlib" != xno ; then
20228
20229 for ac_header in zlib.h
20230 do
20231 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20232 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20233 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20234 $as_echo_n "checking for $ac_header... " >&6; }
20235 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20236 $as_echo_n "(cached) " >&6
20237 fi
20238 ac_res=`eval 'as_val=${'$as_ac_Header'}
20239 $as_echo "$as_val"'`
20240 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20241 $as_echo "$ac_res" >&6; }
20242 else
20243 # Is the header compilable?
20244 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
20245 $as_echo_n "checking $ac_header usability... " >&6; }
20246 cat >conftest.$ac_ext <<_ACEOF
20247 /* confdefs.h. */
20248 _ACEOF
20249 cat confdefs.h >>conftest.$ac_ext
20250 cat >>conftest.$ac_ext <<_ACEOF
20251 /* end confdefs.h. */
20252 $ac_includes_default
20253 #include <$ac_header>
20254 _ACEOF
20255 rm -f conftest.$ac_objext
20256 if { (ac_try="$ac_compile"
20257 case "(($ac_try" in
20258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20259 *) ac_try_echo=$ac_try;;
20260 esac
20261 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20262 $as_echo "$ac_try_echo") >&5
20263 (eval "$ac_compile") 2>conftest.er1
20264 ac_status=$?
20265 grep -v '^ *+' conftest.er1 >conftest.err
20266 rm -f conftest.er1
20267 cat conftest.err >&5
20268 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20269 (exit $ac_status); } && {
20270 test -z "$ac_c_werror_flag" ||
20271 test ! -s conftest.err
20272 } && test -s conftest.$ac_objext; then
20273 ac_header_compiler=yes
20274 else
20275 $as_echo "$as_me: failed program was:" >&5
20276 sed 's/^/| /' conftest.$ac_ext >&5
20277
20278 ac_header_compiler=no
20279 fi
20280
20281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20282 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20283 $as_echo "$ac_header_compiler" >&6; }
20284
20285 # Is the header present?
20286 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
20287 $as_echo_n "checking $ac_header presence... " >&6; }
20288 cat >conftest.$ac_ext <<_ACEOF
20289 /* confdefs.h. */
20290 _ACEOF
20291 cat confdefs.h >>conftest.$ac_ext
20292 cat >>conftest.$ac_ext <<_ACEOF
20293 /* end confdefs.h. */
20294 #include <$ac_header>
20295 _ACEOF
20296 if { (ac_try="$ac_cpp conftest.$ac_ext"
20297 case "(($ac_try" in
20298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20299 *) ac_try_echo=$ac_try;;
20300 esac
20301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20302 $as_echo "$ac_try_echo") >&5
20303 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20304 ac_status=$?
20305 grep -v '^ *+' conftest.er1 >conftest.err
20306 rm -f conftest.er1
20307 cat conftest.err >&5
20308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20309 (exit $ac_status); } >/dev/null && {
20310 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20311 test ! -s conftest.err
20312 }; then
20313 ac_header_preproc=yes
20314 else
20315 $as_echo "$as_me: failed program was:" >&5
20316 sed 's/^/| /' conftest.$ac_ext >&5
20317
20318 ac_header_preproc=no
20319 fi
20320
20321 rm -f conftest.err conftest.$ac_ext
20322 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20323 $as_echo "$ac_header_preproc" >&6; }
20324
20325 # So? What about this header?
20326 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20327 yes:no: )
20328 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20329 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20330 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20331 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20332 ac_header_preproc=yes
20333 ;;
20334 no:yes:* )
20335 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20336 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20337 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20338 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20339 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20340 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20341 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20342 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20343 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20344 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20345 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20346 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20347 ( cat <<\_ASBOX
20348 ## -------------------------------------------- ##
20349 ## Report this to http://uncensored.citadel.org ##
20350 ## -------------------------------------------- ##
20351 _ASBOX
20352 ) | sed "s/^/$as_me: WARNING: /" >&2
20353 ;;
20354 esac
20355 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20356 $as_echo_n "checking for $ac_header... " >&6; }
20357 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20358 $as_echo_n "(cached) " >&6
20359 else
20360 eval "$as_ac_Header=\$ac_header_preproc"
20361 fi
20362 ac_res=`eval 'as_val=${'$as_ac_Header'}
20363 $as_echo "$as_val"'`
20364 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20365 $as_echo "$ac_res" >&6; }
20366
20367 fi
20368 as_val=`eval 'as_val=${'$as_ac_Header'}
20369 $as_echo "$as_val"'`
20370 if test "x$as_val" = x""yes; then
20371 cat >>confdefs.h <<_ACEOF
20372 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20373 _ACEOF
20374 { $as_echo "$as_me:$LINENO: checking for zlibVersion in -lz" >&5
19024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
2037519025 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
20376 if test "${ac_cv_lib_z_zlibVersion+set}" = set; then
19026 if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
2037719027 $as_echo_n "(cached) " >&6
2037819028 else
2037919029 ac_check_lib_save_LIBS=$LIBS
2038019030 LIBS="-lz $LIBS"
20381 cat >conftest.$ac_ext <<_ACEOF
20382 /* confdefs.h. */
20383 _ACEOF
20384 cat confdefs.h >>conftest.$ac_ext
20385 cat >>conftest.$ac_ext <<_ACEOF
19031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2038619032 /* end confdefs.h. */
2038719033
2038819034 /* Override any GCC internal prototype to avoid an error.
2040019046 return 0;
2040119047 }
2040219048 _ACEOF
20403 rm -f conftest.$ac_objext conftest$ac_exeext
20404 if { (ac_try="$ac_link"
20405 case "(($ac_try" in
20406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20407 *) ac_try_echo=$ac_try;;
20408 esac
20409 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20410 $as_echo "$ac_try_echo") >&5
20411 (eval "$ac_link") 2>conftest.er1
20412 ac_status=$?
20413 grep -v '^ *+' conftest.er1 >conftest.err
20414 rm -f conftest.er1
20415 cat conftest.err >&5
20416 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); } && {
20418 test -z "$ac_c_werror_flag" ||
20419 test ! -s conftest.err
20420 } && test -s conftest$ac_exeext && {
20421 test "$cross_compiling" = yes ||
20422 $as_test_x conftest$ac_exeext
20423 }; then
19049 if ac_fn_c_try_link "$LINENO"; then :
2042419050 ac_cv_lib_z_zlibVersion=yes
2042519051 else
20426 $as_echo "$as_me: failed program was:" >&5
20427 sed 's/^/| /' conftest.$ac_ext >&5
20428
20429 ac_cv_lib_z_zlibVersion=no
20430 fi
20431
20432 rm -rf conftest.dSYM
20433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20434 conftest$ac_exeext conftest.$ac_ext
19052 ac_cv_lib_z_zlibVersion=no
19053 fi
19054 rm -f core conftest.err conftest.$ac_objext \
19055 conftest$ac_exeext conftest.$ac_ext
2043519056 LIBS=$ac_check_lib_save_LIBS
2043619057 fi
20437 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_zlibVersion" >&5
19058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
2043819059 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
20439 if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then
19060 if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
2044019061 ok_zlib=yes
2044119062 fi
2044219063
2044919070 if test "x$ok_zlib" = xyes ; then
2045019071 LIBS="-lz $LIBS"
2045119072
20452 cat >>confdefs.h <<\_ACEOF
20453 #define HAVE_ZLIB /**/
19073 $as_echo "#define HAVE_ZLIB /**/" >>confdefs.h
19074
19075 fi
19076
19077 ac_fn_c_check_header_mongrel "$LINENO" "CUnit/CUnit.h" "ac_cv_header_CUnit_CUnit_h" "$ac_includes_default"
19078 if test "x$ac_cv_header_CUnit_CUnit_h" = x""yes; then :
19079
19080 $as_echo "#define ENABLE_TESTS /**/" >>confdefs.h
19081
19082 fi
19083
19084
19085
19086 ac_fn_c_check_header_mongrel "$LINENO" "sys/sendfile.h" "ac_cv_header_sys_sendfile_h" "$ac_includes_default"
19087 if test "x$ac_cv_header_sys_sendfile_h" = x""yes; then :
19088
19089 $as_echo "#define LINUX_SENDFILE /**/" >>confdefs.h
19090
19091 fi
19092
19093
19094
19095
19096 for ac_header in iconv.h
19097 do :
19098 ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default"
19099 if test "x$ac_cv_header_iconv_h" = x""yes; then :
19100 cat >>confdefs.h <<_ACEOF
19101 #define HAVE_ICONV_H 1
2045419102 _ACEOF
2045519103
2045619104 fi
2045719105
20458 if test "${ac_cv_header_CUnit_CUnit_h+set}" = set; then
20459 { $as_echo "$as_me:$LINENO: checking for CUnit/CUnit.h" >&5
20460 $as_echo_n "checking for CUnit/CUnit.h... " >&6; }
20461 if test "${ac_cv_header_CUnit_CUnit_h+set}" = set; then
20462 $as_echo_n "(cached) " >&6
20463 fi
20464 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_CUnit_CUnit_h" >&5
20465 $as_echo "$ac_cv_header_CUnit_CUnit_h" >&6; }
20466 else
20467 # Is the header compilable?
20468 { $as_echo "$as_me:$LINENO: checking CUnit/CUnit.h usability" >&5
20469 $as_echo_n "checking CUnit/CUnit.h usability... " >&6; }
20470 cat >conftest.$ac_ext <<_ACEOF
20471 /* confdefs.h. */
20472 _ACEOF
20473 cat confdefs.h >>conftest.$ac_ext
20474 cat >>conftest.$ac_ext <<_ACEOF
20475 /* end confdefs.h. */
20476 $ac_includes_default
20477 #include <CUnit/CUnit.h>
20478 _ACEOF
20479 rm -f conftest.$ac_objext
20480 if { (ac_try="$ac_compile"
20481 case "(($ac_try" in
20482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20483 *) ac_try_echo=$ac_try;;
20484 esac
20485 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20486 $as_echo "$ac_try_echo") >&5
20487 (eval "$ac_compile") 2>conftest.er1
20488 ac_status=$?
20489 grep -v '^ *+' conftest.er1 >conftest.err
20490 rm -f conftest.er1
20491 cat conftest.err >&5
20492 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20493 (exit $ac_status); } && {
20494 test -z "$ac_c_werror_flag" ||
20495 test ! -s conftest.err
20496 } && test -s conftest.$ac_objext; then
20497 ac_header_compiler=yes
20498 else
20499 $as_echo "$as_me: failed program was:" >&5
20500 sed 's/^/| /' conftest.$ac_ext >&5
20501
20502 ac_header_compiler=no
20503 fi
20504
20505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20506 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20507 $as_echo "$ac_header_compiler" >&6; }
20508
20509 # Is the header present?
20510 { $as_echo "$as_me:$LINENO: checking CUnit/CUnit.h presence" >&5
20511 $as_echo_n "checking CUnit/CUnit.h presence... " >&6; }
20512 cat >conftest.$ac_ext <<_ACEOF
20513 /* confdefs.h. */
20514 _ACEOF
20515 cat confdefs.h >>conftest.$ac_ext
20516 cat >>conftest.$ac_ext <<_ACEOF
20517 /* end confdefs.h. */
20518 #include <CUnit/CUnit.h>
20519 _ACEOF
20520 if { (ac_try="$ac_cpp conftest.$ac_ext"
20521 case "(($ac_try" in
20522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20523 *) ac_try_echo=$ac_try;;
20524 esac
20525 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20526 $as_echo "$ac_try_echo") >&5
20527 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20528 ac_status=$?
20529 grep -v '^ *+' conftest.er1 >conftest.err
20530 rm -f conftest.er1
20531 cat conftest.err >&5
20532 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); } >/dev/null && {
20534 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20535 test ! -s conftest.err
20536 }; then
20537 ac_header_preproc=yes
20538 else
20539 $as_echo "$as_me: failed program was:" >&5
20540 sed 's/^/| /' conftest.$ac_ext >&5
20541
20542 ac_header_preproc=no
20543 fi
20544
20545 rm -f conftest.err conftest.$ac_ext
20546 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20547 $as_echo "$ac_header_preproc" >&6; }
20548
20549 # So? What about this header?
20550 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20551 yes:no: )
20552 { $as_echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: accepted by the compiler, rejected by the preprocessor!" >&5
20553 $as_echo "$as_me: WARNING: CUnit/CUnit.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20554 { $as_echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: proceeding with the compiler's result" >&5
20555 $as_echo "$as_me: WARNING: CUnit/CUnit.h: proceeding with the compiler's result" >&2;}
20556 ac_header_preproc=yes
20557 ;;
20558 no:yes:* )
20559 { $as_echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: present but cannot be compiled" >&5
20560 $as_echo "$as_me: WARNING: CUnit/CUnit.h: present but cannot be compiled" >&2;}
20561 { $as_echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: check for missing prerequisite headers?" >&5
20562 $as_echo "$as_me: WARNING: CUnit/CUnit.h: check for missing prerequisite headers?" >&2;}
20563 { $as_echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: see the Autoconf documentation" >&5
20564 $as_echo "$as_me: WARNING: CUnit/CUnit.h: see the Autoconf documentation" >&2;}
20565 { $as_echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: section \"Present But Cannot Be Compiled\"" >&5
20566 $as_echo "$as_me: WARNING: CUnit/CUnit.h: section \"Present But Cannot Be Compiled\"" >&2;}
20567 { $as_echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: proceeding with the preprocessor's result" >&5
20568 $as_echo "$as_me: WARNING: CUnit/CUnit.h: proceeding with the preprocessor's result" >&2;}
20569 { $as_echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: in the future, the compiler will take precedence" >&5
20570 $as_echo "$as_me: WARNING: CUnit/CUnit.h: in the future, the compiler will take precedence" >&2;}
20571 ( cat <<\_ASBOX
20572 ## -------------------------------------------- ##
20573 ## Report this to http://uncensored.citadel.org ##
20574 ## -------------------------------------------- ##
20575 _ASBOX
20576 ) | sed "s/^/$as_me: WARNING: /" >&2
20577 ;;
20578 esac
20579 { $as_echo "$as_me:$LINENO: checking for CUnit/CUnit.h" >&5
20580 $as_echo_n "checking for CUnit/CUnit.h... " >&6; }
20581 if test "${ac_cv_header_CUnit_CUnit_h+set}" = set; then
20582 $as_echo_n "(cached) " >&6
20583 else
20584 ac_cv_header_CUnit_CUnit_h=$ac_header_preproc
20585 fi
20586 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_CUnit_CUnit_h" >&5
20587 $as_echo "$ac_cv_header_CUnit_CUnit_h" >&6; }
20588
20589 fi
20590 if test "x$ac_cv_header_CUnit_CUnit_h" = x""yes; then
20591
20592 cat >>confdefs.h <<\_ACEOF
20593 #define ENABLE_TESTS /**/
20594 _ACEOF
20595
20596 fi
20597
20598
20599
20600
20601
20602
20603 for ac_header in iconv.h
20604 do
20605 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20606 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20607 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20608 $as_echo_n "checking for $ac_header... " >&6; }
20609 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20610 $as_echo_n "(cached) " >&6
20611 fi
20612 ac_res=`eval 'as_val=${'$as_ac_Header'}
20613 $as_echo "$as_val"'`
20614 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20615 $as_echo "$ac_res" >&6; }
20616 else
20617 # Is the header compilable?
20618 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
20619 $as_echo_n "checking $ac_header usability... " >&6; }
20620 cat >conftest.$ac_ext <<_ACEOF
20621 /* confdefs.h. */
20622 _ACEOF
20623 cat confdefs.h >>conftest.$ac_ext
20624 cat >>conftest.$ac_ext <<_ACEOF
20625 /* end confdefs.h. */
20626 $ac_includes_default
20627 #include <$ac_header>
20628 _ACEOF
20629 rm -f conftest.$ac_objext
20630 if { (ac_try="$ac_compile"
20631 case "(($ac_try" in
20632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20633 *) ac_try_echo=$ac_try;;
20634 esac
20635 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20636 $as_echo "$ac_try_echo") >&5
20637 (eval "$ac_compile") 2>conftest.er1
20638 ac_status=$?
20639 grep -v '^ *+' conftest.er1 >conftest.err
20640 rm -f conftest.er1
20641 cat conftest.err >&5
20642 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20643 (exit $ac_status); } && {
20644 test -z "$ac_c_werror_flag" ||
20645 test ! -s conftest.err
20646 } && test -s conftest.$ac_objext; then
20647 ac_header_compiler=yes
20648 else
20649 $as_echo "$as_me: failed program was:" >&5
20650 sed 's/^/| /' conftest.$ac_ext >&5
20651
20652 ac_header_compiler=no
20653 fi
20654
20655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20656 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20657 $as_echo "$ac_header_compiler" >&6; }
20658
20659 # Is the header present?
20660 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
20661 $as_echo_n "checking $ac_header presence... " >&6; }
20662 cat >conftest.$ac_ext <<_ACEOF
20663 /* confdefs.h. */
20664 _ACEOF
20665 cat confdefs.h >>conftest.$ac_ext
20666 cat >>conftest.$ac_ext <<_ACEOF
20667 /* end confdefs.h. */
20668 #include <$ac_header>
20669 _ACEOF
20670 if { (ac_try="$ac_cpp conftest.$ac_ext"
20671 case "(($ac_try" in
20672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20673 *) ac_try_echo=$ac_try;;
20674 esac
20675 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20676 $as_echo "$ac_try_echo") >&5
20677 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20678 ac_status=$?
20679 grep -v '^ *+' conftest.er1 >conftest.err
20680 rm -f conftest.er1
20681 cat conftest.err >&5
20682 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20683 (exit $ac_status); } >/dev/null && {
20684 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20685 test ! -s conftest.err
20686 }; then
20687 ac_header_preproc=yes
20688 else
20689 $as_echo "$as_me: failed program was:" >&5
20690 sed 's/^/| /' conftest.$ac_ext >&5
20691
20692 ac_header_preproc=no
20693 fi
20694
20695 rm -f conftest.err conftest.$ac_ext
20696 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20697 $as_echo "$ac_header_preproc" >&6; }
20698
20699 # So? What about this header?
20700 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20701 yes:no: )
20702 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20703 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20704 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20705 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20706 ac_header_preproc=yes
20707 ;;
20708 no:yes:* )
20709 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20710 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20711 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20712 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20713 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20714 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20715 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20716 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20717 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20718 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20719 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20720 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20721 ( cat <<\_ASBOX
20722 ## -------------------------------------------- ##
20723 ## Report this to http://uncensored.citadel.org ##
20724 ## -------------------------------------------- ##
20725 _ASBOX
20726 ) | sed "s/^/$as_me: WARNING: /" >&2
20727 ;;
20728 esac
20729 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20730 $as_echo_n "checking for $ac_header... " >&6; }
20731 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20732 $as_echo_n "(cached) " >&6
20733 else
20734 eval "$as_ac_Header=\$ac_header_preproc"
20735 fi
20736 ac_res=`eval 'as_val=${'$as_ac_Header'}
20737 $as_echo "$as_val"'`
20738 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20739 $as_echo "$ac_res" >&6; }
20740
20741 fi
20742 as_val=`eval 'as_val=${'$as_ac_Header'}
20743 $as_echo "$as_val"'`
20744 if test "x$as_val" = x""yes; then
20745 cat >>confdefs.h <<_ACEOF
20746 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20747 _ACEOF
20748
20749 fi
20750
2075119106 done
2075219107
2075319108
2075419109
2075519110 # Check whether --enable-iconv was given.
20756 if test "${enable_iconv+set}" = set; then
19111 if test "${enable_iconv+set}" = set; then :
2075719112 enableval=$enable_iconv; ok_iconv=no
2075819113 else
2075919114 ok_iconv=yes
2076019115 fi
2076119116
2076219117
20763 { $as_echo "$as_me:$LINENO: checking Checking to see if your system supports iconv" >&5
19118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking to see if your system supports iconv" >&5
2076419119 $as_echo_n "checking Checking to see if your system supports iconv... " >&6; }
20765 if test "$cross_compiling" = yes; then
20766 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
19120 if test "$cross_compiling" = yes; then :
19121 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2076719122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20768 { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20769 See \`config.log' for more details." >&5
20770 $as_echo "$as_me: error: cannot run test program while cross compiling
20771 See \`config.log' for more details." >&2;}
20772 { (exit 1); exit 1; }; }; }
20773 else
20774 cat >conftest.$ac_ext <<_ACEOF
20775 /* confdefs.h. */
20776 _ACEOF
20777 cat confdefs.h >>conftest.$ac_ext
20778 cat >>conftest.$ac_ext <<_ACEOF
19123 as_fn_error $? "cannot run test program while cross compiling
19124 See \`config.log' for more details" "$LINENO" 5 ; }
19125 else
19126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2077919127 /* end confdefs.h. */
2078019128
2078119129 #include <iconv.h>
2078719135 }
2078819136
2078919137 _ACEOF
20790 rm -f conftest$ac_exeext
20791 if { (ac_try="$ac_link"
20792 case "(($ac_try" in
20793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20794 *) ac_try_echo=$ac_try;;
20795 esac
20796 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20797 $as_echo "$ac_try_echo") >&5
20798 (eval "$ac_link") 2>&5
20799 ac_status=$?
20800 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20801 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20802 { (case "(($ac_try" in
20803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20804 *) ac_try_echo=$ac_try;;
20805 esac
20806 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20807 $as_echo "$ac_try_echo") >&5
20808 (eval "$ac_try") 2>&5
20809 ac_status=$?
20810 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); }; }; then
19138 if ac_fn_c_try_run "$LINENO"; then :
2081219139
2081319140 ok_iconv=yes
20814 { $as_echo "$as_me:$LINENO: result: yes" >&5
19141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2081519142 $as_echo "yes" >&6; }
2081619143
2081719144 else
20818 $as_echo "$as_me: program exited with status $ac_status" >&5
20819 $as_echo "$as_me: failed program was:" >&5
20820 sed 's/^/| /' conftest.$ac_ext >&5
20821
20822 ( exit $ac_status )
2082319145
2082419146 ok_iconv=no
20825 { $as_echo "$as_me:$LINENO: result: no" >&5
19147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2082619148 $as_echo "no" >&6; }
2082719149
2082819150
2082919151 fi
20830 rm -rf conftest.dSYM
20831 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20832 fi
20833
19152 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19153 conftest.$ac_objext conftest.beam conftest.$ac_ext
19154 fi
2083419155
2083519156
2083619157 if test "$ok_iconv" = no; then
20837 { $as_echo "$as_me:$LINENO: checking Checking for an external libiconv" >&5
19158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking for an external libiconv" >&5
2083819159 $as_echo_n "checking Checking for an external libiconv... " >&6; }
2083919160 OLD_LDFLAGS="$LDFLAGS"
2084019161 LDFLAGS="$LDFLAGS -liconv"
20841 if test "$cross_compiling" = yes; then
20842 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
19162 if test "$cross_compiling" = yes; then :
19163 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2084319164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20844 { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20845 See \`config.log' for more details." >&5
20846 $as_echo "$as_me: error: cannot run test program while cross compiling
20847 See \`config.log' for more details." >&2;}
20848 { (exit 1); exit 1; }; }; }
20849 else
20850 cat >conftest.$ac_ext <<_ACEOF
20851 /* confdefs.h. */
20852 _ACEOF
20853 cat confdefs.h >>conftest.$ac_ext
20854 cat >>conftest.$ac_ext <<_ACEOF
19165 as_fn_error $? "cannot run test program while cross compiling
19166 See \`config.log' for more details" "$LINENO" 5 ; }
19167 else
19168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2085519169 /* end confdefs.h. */
2085619170
2085719171 #include <iconv.h>
2086219176 }
2086319177
2086419178 _ACEOF
20865 rm -f conftest$ac_exeext
20866 if { (ac_try="$ac_link"
20867 case "(($ac_try" in
20868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20869 *) ac_try_echo=$ac_try;;
20870 esac
20871 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20872 $as_echo "$ac_try_echo") >&5
20873 (eval "$ac_link") 2>&5
20874 ac_status=$?
20875 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20877 { (case "(($ac_try" in
20878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20879 *) ac_try_echo=$ac_try;;
20880 esac
20881 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20882 $as_echo "$ac_try_echo") >&5
20883 (eval "$ac_try") 2>&5
20884 ac_status=$?
20885 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886 (exit $ac_status); }; }; then
19179 if ac_fn_c_try_run "$LINENO"; then :
2088719180
2088819181 ok_iconv=yes
20889 { $as_echo "$as_me:$LINENO: result: yes" >&5
19182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2089019183 $as_echo "yes" >&6; }
2089119184
2089219185 else
20893 $as_echo "$as_me: program exited with status $ac_status" >&5
20894 $as_echo "$as_me: failed program was:" >&5
20895 sed 's/^/| /' conftest.$ac_ext >&5
20896
20897 ( exit $ac_status )
2089819186
2089919187 ok_iconv=no
2090019188 LDFLAGS="$OLD_LDFLAGS"
20901 { $as_echo "$as_me:$LINENO: result: no" >&5
19189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2090219190 $as_echo "no" >&6; }
2090319191
2090419192
2090519193 fi
20906 rm -rf conftest.dSYM
20907 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20908 fi
20909
19194 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19195 conftest.$ac_objext conftest.beam conftest.$ac_ext
19196 fi
2091019197
2091119198 fi
2091219199 if test "$ok_iconv" != "no"; then
20913 { $as_echo "$as_me:$LINENO: result: libcitadel will be built with character set conversion." >&5
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libcitadel will be built with character set conversion." >&5
2091419201 $as_echo "libcitadel will be built with character set conversion." >&6; }
2091519202
20916 cat >>confdefs.h <<\_ACEOF
20917 #define HAVE_ICONV /**/
20918 _ACEOF
20919
20920 else
20921 { $as_echo "$as_me:$LINENO: result: libcitadel will be built without character set conversion." >&5
19203 $as_echo "#define HAVE_ICONV /**/" >>confdefs.h
19204
19205 else
19206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libcitadel will be built without character set conversion." >&5
2092219207 $as_echo "libcitadel will be built without character set conversion." >&6; }
2092319208 fi
2092419209
2092519210
2092619211 # Check whether --with-backtrace was given.
20927 if test "${with_backtrace+set}" = set; then
19212 if test "${with_backtrace+set}" = set; then :
2092819213 withval=$with_backtrace; if test "x$withval" != "xno" ; then
2092919214 CFLAGS="$CFLAGS -rdynamic "
2093019215 LDFLAGS="$LDFLAGS -rdynamic "
20931
20932 for ac_func in backtrace
20933 do
20934 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20935 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20936 $as_echo_n "checking for $ac_func... " >&6; }
20937 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20938 $as_echo_n "(cached) " >&6
20939 else
20940 cat >conftest.$ac_ext <<_ACEOF
20941 /* confdefs.h. */
19216 for ac_func in backtrace
19217 do :
19218 ac_fn_c_check_func "$LINENO" "backtrace" "ac_cv_func_backtrace"
19219 if test "x$ac_cv_func_backtrace" = x""yes; then :
19220 cat >>confdefs.h <<_ACEOF
19221 #define HAVE_BACKTRACE 1
2094219222 _ACEOF
20943 cat confdefs.h >>conftest.$ac_ext
20944 cat >>conftest.$ac_ext <<_ACEOF
20945 /* end confdefs.h. */
20946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20948 #define $ac_func innocuous_$ac_func
20949
20950 /* System header to define __stub macros and hopefully few prototypes,
20951 which can conflict with char $ac_func (); below.
20952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20953 <limits.h> exists even on freestanding compilers. */
20954
20955 #ifdef __STDC__
20956 # include <limits.h>
20957 #else
20958 # include <assert.h>
20959 #endif
20960
20961 #undef $ac_func
20962
20963 /* Override any GCC internal prototype to avoid an error.
20964 Use char because int might match the return type of a GCC
20965 builtin and then its argument prototype would still apply. */
20966 #ifdef __cplusplus
20967 extern "C"
20968 #endif
20969 char $ac_func ();
20970 /* The GNU C library defines this for functions which it implements
20971 to always fail with ENOSYS. Some functions are actually named
20972 something starting with __ and the normal name is an alias. */
20973 #if defined __stub_$ac_func || defined __stub___$ac_func
20974 choke me
20975 #endif
20976
20977 int
20978 main ()
20979 {
20980 return $ac_func ();
20981 ;
20982 return 0;
20983 }
19223
19224 fi
19225 done
19226
19227 fi
19228
19229
19230 fi
19231
19232
19233
19234
19235 # Check whether --with-with_zlib was given.
19236 if test "${with_with_zlib+set}" = set; then :
19237 withval=$with_with_zlib;
19238 fi
19239
19240 if test "x$with_zlib" != xno ; then
19241 for ac_header in zlib.h
19242 do :
19243 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
19244 if test "x$ac_cv_header_zlib_h" = x""yes; then :
19245 cat >>confdefs.h <<_ACEOF
19246 #define HAVE_ZLIB_H 1
2098419247 _ACEOF
20985 rm -f conftest.$ac_objext conftest$ac_exeext
20986 if { (ac_try="$ac_link"
20987 case "(($ac_try" in
20988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20989 *) ac_try_echo=$ac_try;;
20990 esac
20991 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20992 $as_echo "$ac_try_echo") >&5
20993 (eval "$ac_link") 2>conftest.er1
20994 ac_status=$?
20995 grep -v '^ *+' conftest.er1 >conftest.err
20996 rm -f conftest.er1
20997 cat conftest.err >&5
20998 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999 (exit $ac_status); } && {
21000 test -z "$ac_c_werror_flag" ||
21001 test ! -s conftest.err
21002 } && test -s conftest$ac_exeext && {
21003 test "$cross_compiling" = yes ||
21004 $as_test_x conftest$ac_exeext
21005 }; then
21006 eval "$as_ac_var=yes"
21007 else
21008 $as_echo "$as_me: failed program was:" >&5
21009 sed 's/^/| /' conftest.$ac_ext >&5
21010
21011 eval "$as_ac_var=no"
21012 fi
21013
21014 rm -rf conftest.dSYM
21015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21016 conftest$ac_exeext conftest.$ac_ext
21017 fi
21018 ac_res=`eval 'as_val=${'$as_ac_var'}
21019 $as_echo "$as_val"'`
21020 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21021 $as_echo "$ac_res" >&6; }
21022 as_val=`eval 'as_val=${'$as_ac_var'}
21023 $as_echo "$as_val"'`
21024 if test "x$as_val" = x""yes; then
21025 cat >>confdefs.h <<_ACEOF
21026 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21027 _ACEOF
21028
21029 fi
21030 done
21031
21032 fi
21033
21034
21035 fi
21036
21037
21038
21039
21040 # Check whether --with-with_zlib was given.
21041 if test "${with_with_zlib+set}" = set; then
21042 withval=$with_with_zlib;
21043 fi
21044
21045 if test "x$with_zlib" != xno ; then
21046
21047 for ac_header in zlib.h
21048 do
21049 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21050 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21051 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
21052 $as_echo_n "checking for $ac_header... " >&6; }
21053 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21054 $as_echo_n "(cached) " >&6
21055 fi
21056 ac_res=`eval 'as_val=${'$as_ac_Header'}
21057 $as_echo "$as_val"'`
21058 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21059 $as_echo "$ac_res" >&6; }
21060 else
21061 # Is the header compilable?
21062 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
21063 $as_echo_n "checking $ac_header usability... " >&6; }
21064 cat >conftest.$ac_ext <<_ACEOF
21065 /* confdefs.h. */
21066 _ACEOF
21067 cat confdefs.h >>conftest.$ac_ext
21068 cat >>conftest.$ac_ext <<_ACEOF
21069 /* end confdefs.h. */
21070 $ac_includes_default
21071 #include <$ac_header>
21072 _ACEOF
21073 rm -f conftest.$ac_objext
21074 if { (ac_try="$ac_compile"
21075 case "(($ac_try" in
21076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21077 *) ac_try_echo=$ac_try;;
21078 esac
21079 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21080 $as_echo "$ac_try_echo") >&5
21081 (eval "$ac_compile") 2>conftest.er1
21082 ac_status=$?
21083 grep -v '^ *+' conftest.er1 >conftest.err
21084 rm -f conftest.er1
21085 cat conftest.err >&5
21086 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21087 (exit $ac_status); } && {
21088 test -z "$ac_c_werror_flag" ||
21089 test ! -s conftest.err
21090 } && test -s conftest.$ac_objext; then
21091 ac_header_compiler=yes
21092 else
21093 $as_echo "$as_me: failed program was:" >&5
21094 sed 's/^/| /' conftest.$ac_ext >&5
21095
21096 ac_header_compiler=no
21097 fi
21098
21099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21100 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21101 $as_echo "$ac_header_compiler" >&6; }
21102
21103 # Is the header present?
21104 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
21105 $as_echo_n "checking $ac_header presence... " >&6; }
21106 cat >conftest.$ac_ext <<_ACEOF
21107 /* confdefs.h. */
21108 _ACEOF
21109 cat confdefs.h >>conftest.$ac_ext
21110 cat >>conftest.$ac_ext <<_ACEOF
21111 /* end confdefs.h. */
21112 #include <$ac_header>
21113 _ACEOF
21114 if { (ac_try="$ac_cpp conftest.$ac_ext"
21115 case "(($ac_try" in
21116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21117 *) ac_try_echo=$ac_try;;
21118 esac
21119 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21120 $as_echo "$ac_try_echo") >&5
21121 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21122 ac_status=$?
21123 grep -v '^ *+' conftest.er1 >conftest.err
21124 rm -f conftest.er1
21125 cat conftest.err >&5
21126 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21127 (exit $ac_status); } >/dev/null && {
21128 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21129 test ! -s conftest.err
21130 }; then
21131 ac_header_preproc=yes
21132 else
21133 $as_echo "$as_me: failed program was:" >&5
21134 sed 's/^/| /' conftest.$ac_ext >&5
21135
21136 ac_header_preproc=no
21137 fi
21138
21139 rm -f conftest.err conftest.$ac_ext
21140 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21141 $as_echo "$ac_header_preproc" >&6; }
21142
21143 # So? What about this header?
21144 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21145 yes:no: )
21146 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21147 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21148 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21149 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21150 ac_header_preproc=yes
21151 ;;
21152 no:yes:* )
21153 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21154 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21155 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21156 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21157 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21158 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21159 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21160 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21161 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21162 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21163 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21164 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21165 ( cat <<\_ASBOX
21166 ## -------------------------------------------- ##
21167 ## Report this to http://uncensored.citadel.org ##
21168 ## -------------------------------------------- ##
21169 _ASBOX
21170 ) | sed "s/^/$as_me: WARNING: /" >&2
21171 ;;
21172 esac
21173 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
21174 $as_echo_n "checking for $ac_header... " >&6; }
21175 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21176 $as_echo_n "(cached) " >&6
21177 else
21178 eval "$as_ac_Header=\$ac_header_preproc"
21179 fi
21180 ac_res=`eval 'as_val=${'$as_ac_Header'}
21181 $as_echo "$as_val"'`
21182 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21183 $as_echo "$ac_res" >&6; }
21184
21185 fi
21186 as_val=`eval 'as_val=${'$as_ac_Header'}
21187 $as_echo "$as_val"'`
21188 if test "x$as_val" = x""yes; then
21189 cat >>confdefs.h <<_ACEOF
21190 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21191 _ACEOF
21192 { $as_echo "$as_me:$LINENO: checking for zlibVersion in -lz" >&5
19248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
2119319249 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
21194 if test "${ac_cv_lib_z_zlibVersion+set}" = set; then
19250 if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
2119519251 $as_echo_n "(cached) " >&6
2119619252 else
2119719253 ac_check_lib_save_LIBS=$LIBS
2119819254 LIBS="-lz $LIBS"
21199 cat >conftest.$ac_ext <<_ACEOF
21200 /* confdefs.h. */
21201 _ACEOF
21202 cat confdefs.h >>conftest.$ac_ext
21203 cat >>conftest.$ac_ext <<_ACEOF
19255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2120419256 /* end confdefs.h. */
2120519257
2120619258 /* Override any GCC internal prototype to avoid an error.
2121819270 return 0;
2121919271 }
2122019272 _ACEOF
21221 rm -f conftest.$ac_objext conftest$ac_exeext
21222 if { (ac_try="$ac_link"
21223 case "(($ac_try" in
21224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21225 *) ac_try_echo=$ac_try;;
21226 esac
21227 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21228 $as_echo "$ac_try_echo") >&5
21229 (eval "$ac_link") 2>conftest.er1
21230 ac_status=$?
21231 grep -v '^ *+' conftest.er1 >conftest.err
21232 rm -f conftest.er1
21233 cat conftest.err >&5
21234 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); } && {
21236 test -z "$ac_c_werror_flag" ||
21237 test ! -s conftest.err
21238 } && test -s conftest$ac_exeext && {
21239 test "$cross_compiling" = yes ||
21240 $as_test_x conftest$ac_exeext
21241 }; then
19273 if ac_fn_c_try_link "$LINENO"; then :
2124219274 ac_cv_lib_z_zlibVersion=yes
2124319275 else
21244 $as_echo "$as_me: failed program was:" >&5
21245 sed 's/^/| /' conftest.$ac_ext >&5
21246
21247 ac_cv_lib_z_zlibVersion=no
21248 fi
21249
21250 rm -rf conftest.dSYM
21251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21252 conftest$ac_exeext conftest.$ac_ext
19276 ac_cv_lib_z_zlibVersion=no
19277 fi
19278 rm -f core conftest.err conftest.$ac_objext \
19279 conftest$ac_exeext conftest.$ac_ext
2125319280 LIBS=$ac_check_lib_save_LIBS
2125419281 fi
21255 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_zlibVersion" >&5
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
2125619283 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
21257 if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then
19284 if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
2125819285 ok_zlib=yes
2125919286 fi
2126019287
2126719294 if test "x$ok_zlib" = xyes ; then
2126819295 LIBS="-lz $LIBS"
2126919296
21270 cat >>confdefs.h <<\_ACEOF
21271 #define HAVE_ZLIB /**/
21272 _ACEOF
21273
21274 fi
21275
21276
21277
21278
21279 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19297 $as_echo "#define HAVE_ZLIB /**/" >>confdefs.h
19298
19299 fi
19300
19301
19302
19303
19304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
2128019305 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
21281 if test "${ac_cv_c_const+set}" = set; then
19306 if test "${ac_cv_c_const+set}" = set; then :
2128219307 $as_echo_n "(cached) " >&6
2128319308 else
21284 cat >conftest.$ac_ext <<_ACEOF
21285 /* confdefs.h. */
21286 _ACEOF
21287 cat confdefs.h >>conftest.$ac_ext
21288 cat >>conftest.$ac_ext <<_ACEOF
19309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2128919310 /* end confdefs.h. */
2129019311
2129119312 int
2134519366 return 0;
2134619367 }
2134719368 _ACEOF
21348 rm -f conftest.$ac_objext
21349 if { (ac_try="$ac_compile"
21350 case "(($ac_try" in
21351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21352 *) ac_try_echo=$ac_try;;
21353 esac
21354 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21355 $as_echo "$ac_try_echo") >&5
21356 (eval "$ac_compile") 2>conftest.er1
21357 ac_status=$?
21358 grep -v '^ *+' conftest.er1 >conftest.err
21359 rm -f conftest.er1
21360 cat conftest.err >&5
21361 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21362 (exit $ac_status); } && {
21363 test -z "$ac_c_werror_flag" ||
21364 test ! -s conftest.err
21365 } && test -s conftest.$ac_objext; then
19369 if ac_fn_c_try_compile "$LINENO"; then :
2136619370 ac_cv_c_const=yes
2136719371 else
21368 $as_echo "$as_me: failed program was:" >&5
21369 sed 's/^/| /' conftest.$ac_ext >&5
21370
21371 ac_cv_c_const=no
21372 fi
21373
19372 ac_cv_c_const=no
19373 fi
2137419374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2137519375 fi
21376 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
2137719377 $as_echo "$ac_cv_c_const" >&6; }
2137819378 if test $ac_cv_c_const = no; then
2137919379
21380 cat >>confdefs.h <<\_ACEOF
21381 #define const /**/
21382 _ACEOF
21383
21384 fi
21385
21386 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
21387 $as_echo_n "checking for size_t... " >&6; }
21388 if test "${ac_cv_type_size_t+set}" = set; then
21389 $as_echo_n "(cached) " >&6
21390 else
21391 ac_cv_type_size_t=no
21392 cat >conftest.$ac_ext <<_ACEOF
21393 /* confdefs.h. */
21394 _ACEOF
21395 cat confdefs.h >>conftest.$ac_ext
21396 cat >>conftest.$ac_ext <<_ACEOF
21397 /* end confdefs.h. */
21398 $ac_includes_default
21399 int
21400 main ()
21401 {
21402 if (sizeof (size_t))
21403 return 0;
21404 ;
21405 return 0;
21406 }
21407 _ACEOF
21408 rm -f conftest.$ac_objext
21409 if { (ac_try="$ac_compile"
21410 case "(($ac_try" in
21411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21412 *) ac_try_echo=$ac_try;;
21413 esac
21414 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21415 $as_echo "$ac_try_echo") >&5
21416 (eval "$ac_compile") 2>conftest.er1
21417 ac_status=$?
21418 grep -v '^ *+' conftest.er1 >conftest.err
21419 rm -f conftest.er1
21420 cat conftest.err >&5
21421 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); } && {
21423 test -z "$ac_c_werror_flag" ||
21424 test ! -s conftest.err
21425 } && test -s conftest.$ac_objext; then
21426 cat >conftest.$ac_ext <<_ACEOF
21427 /* confdefs.h. */
21428 _ACEOF
21429 cat confdefs.h >>conftest.$ac_ext
21430 cat >>conftest.$ac_ext <<_ACEOF
21431 /* end confdefs.h. */
21432 $ac_includes_default
21433 int
21434 main ()
21435 {
21436 if (sizeof ((size_t)))
21437 return 0;
21438 ;
21439 return 0;
21440 }
21441 _ACEOF
21442 rm -f conftest.$ac_objext
21443 if { (ac_try="$ac_compile"
21444 case "(($ac_try" in
21445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21446 *) ac_try_echo=$ac_try;;
21447 esac
21448 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21449 $as_echo "$ac_try_echo") >&5
21450 (eval "$ac_compile") 2>conftest.er1
21451 ac_status=$?
21452 grep -v '^ *+' conftest.er1 >conftest.err
21453 rm -f conftest.er1
21454 cat conftest.err >&5
21455 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); } && {
21457 test -z "$ac_c_werror_flag" ||
21458 test ! -s conftest.err
21459 } && test -s conftest.$ac_objext; then
21460 :
21461 else
21462 $as_echo "$as_me: failed program was:" >&5
21463 sed 's/^/| /' conftest.$ac_ext >&5
21464
21465 ac_cv_type_size_t=yes
21466 fi
21467
21468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21469 else
21470 $as_echo "$as_me: failed program was:" >&5
21471 sed 's/^/| /' conftest.$ac_ext >&5
21472
21473
21474 fi
21475
21476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21477 fi
21478 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21479 $as_echo "$ac_cv_type_size_t" >&6; }
21480 if test "x$ac_cv_type_size_t" = x""yes; then
21481 :
19380 $as_echo "#define const /**/" >>confdefs.h
19381
19382 fi
19383
19384 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
19385 if test "x$ac_cv_type_size_t" = x""yes; then :
19386
2148219387 else
2148319388
2148419389 cat >>confdefs.h <<_ACEOF
2148719392
2148819393 fi
2148919394
21490
21491
2149219395 for ac_func in memmove bcopy
21493 do
21494 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21495 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
21496 $as_echo_n "checking for $ac_func... " >&6; }
21497 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21498 $as_echo_n "(cached) " >&6
21499 else
21500 cat >conftest.$ac_ext <<_ACEOF
21501 /* confdefs.h. */
21502 _ACEOF
21503 cat confdefs.h >>conftest.$ac_ext
21504 cat >>conftest.$ac_ext <<_ACEOF
21505 /* end confdefs.h. */
21506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21508 #define $ac_func innocuous_$ac_func
21509
21510 /* System header to define __stub macros and hopefully few prototypes,
21511 which can conflict with char $ac_func (); below.
21512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21513 <limits.h> exists even on freestanding compilers. */
21514
21515 #ifdef __STDC__
21516 # include <limits.h>
21517 #else
21518 # include <assert.h>
21519 #endif
21520
21521 #undef $ac_func
21522
21523 /* Override any GCC internal prototype to avoid an error.
21524 Use char because int might match the return type of a GCC
21525 builtin and then its argument prototype would still apply. */
21526 #ifdef __cplusplus
21527 extern "C"
21528 #endif
21529 char $ac_func ();
21530 /* The GNU C library defines this for functions which it implements
21531 to always fail with ENOSYS. Some functions are actually named
21532 something starting with __ and the normal name is an alias. */
21533 #if defined __stub_$ac_func || defined __stub___$ac_func
21534 choke me
21535 #endif
21536
21537 int
21538 main ()
21539 {
21540 return $ac_func ();
21541 ;
21542 return 0;
21543 }
21544 _ACEOF
21545 rm -f conftest.$ac_objext conftest$ac_exeext
21546 if { (ac_try="$ac_link"
21547 case "(($ac_try" in
21548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21549 *) ac_try_echo=$ac_try;;
21550 esac
21551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21552 $as_echo "$ac_try_echo") >&5
21553 (eval "$ac_link") 2>conftest.er1
21554 ac_status=$?
21555 grep -v '^ *+' conftest.er1 >conftest.err
21556 rm -f conftest.er1
21557 cat conftest.err >&5
21558 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21559 (exit $ac_status); } && {
21560 test -z "$ac_c_werror_flag" ||
21561 test ! -s conftest.err
21562 } && test -s conftest$ac_exeext && {
21563 test "$cross_compiling" = yes ||
21564 $as_test_x conftest$ac_exeext
21565 }; then
21566 eval "$as_ac_var=yes"
21567 else
21568 $as_echo "$as_me: failed program was:" >&5
21569 sed 's/^/| /' conftest.$ac_ext >&5
21570
21571 eval "$as_ac_var=no"
21572 fi
21573
21574 rm -rf conftest.dSYM
21575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21576 conftest$ac_exeext conftest.$ac_ext
21577 fi
21578 ac_res=`eval 'as_val=${'$as_ac_var'}
21579 $as_echo "$as_val"'`
21580 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21581 $as_echo "$ac_res" >&6; }
21582 as_val=`eval 'as_val=${'$as_ac_var'}
21583 $as_echo "$as_val"'`
21584 if test "x$as_val" = x""yes; then
19396 do :
19397 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19398 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19399 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
2158519400 cat >>confdefs.h <<_ACEOF
2158619401 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
2158719402 _ACEOF
2162119436 case $ac_val in #(
2162219437 *${as_nl}*)
2162319438 case $ac_var in #(
21624 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
19439 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2162519440 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2162619441 esac
2162719442 case $ac_var in #(
2162819443 _ | IFS | as_nl) ;; #(
2162919444 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21630 *) $as_unset $ac_var ;;
19445 *) { eval $ac_var=; unset $ac_var;} ;;
2163119446 esac ;;
2163219447 esac
2163319448 done
2163519450 (set) 2>&1 |
2163619451 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2163719452 *${as_nl}ac_space=\ *)
21638 # `set' does not quote correctly, so add quotes (double-quote
21639 # substitution turns \\\\ into \\, and sed turns \\ into \).
19453 # `set' does not quote correctly, so add quotes: double-quote
19454 # substitution turns \\\\ into \\, and sed turns \\ into \.
2164019455 sed -n \
2164119456 "s/'/'\\\\''/g;
2164219457 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2165919474 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2166019475 if test -w "$cache_file"; then
2166119476 test "x$cache_file" != "x/dev/null" &&
21662 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
19477 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2166319478 $as_echo "$as_me: updating cache $cache_file" >&6;}
2166419479 cat confcache >$cache_file
2166519480 else
21666 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
19481 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2166719482 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2166819483 fi
2166919484 fi
2167719492
2167819493 ac_libobjs=
2167919494 ac_ltlibobjs=
19495 U=
2168019496 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2168119497 # 1. Remove the extension, and $U if already installed.
2168219498 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2168319499 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2168419500 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2168519501 # will be set to the directory where LIBOBJS objects are built.
21686 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21687 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
19502 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19503 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2168819504 done
2168919505 LIBOBJS=$ac_libobjs
2169019506
2169619512 ac_write_fail=0
2169719513 ac_clean_files_save=$ac_clean_files
2169819514 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21699 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19515 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2170019516 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21701 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19517 as_write_fail=0
19518 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2170219519 #! $SHELL
2170319520 # Generated by $as_me.
2170419521 # Run this file to recreate the current configuration.
2170819525 debug=false
2170919526 ac_cs_recheck=false
2171019527 ac_cs_silent=false
19528
2171119529 SHELL=\${CONFIG_SHELL-$SHELL}
21712 _ACEOF
21713
21714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21715 ## --------------------- ##
21716 ## M4sh Initialization. ##
21717 ## --------------------- ##
19530 export SHELL
19531 _ASEOF
19532 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19533 ## -------------------- ##
19534 ## M4sh Initialization. ##
19535 ## -------------------- ##
2171819536
2171919537 # Be more Bourne compatible
2172019538 DUALCASE=1; export DUALCASE # for MKS sh
21721 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19539 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2172219540 emulate sh
2172319541 NULLCMD=:
2172419542 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2172619544 alias -g '${1+"$@"}'='"$@"'
2172719545 setopt NO_GLOB_SUBST
2172819546 else
21729 case `(set -o) 2>/dev/null` in
21730 *posix*) set -o posix ;;
19547 case `(set -o) 2>/dev/null` in #(
19548 *posix*) :
19549 set -o posix ;; #(
19550 *) :
19551 ;;
2173119552 esac
21732
21733 fi
21734
21735
21736
21737
21738 # PATH needs CR
21739 # Avoid depending upon Character Ranges.
21740 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21741 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21742 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21743 as_cr_digits='0123456789'
21744 as_cr_alnum=$as_cr_Letters$as_cr_digits
19553 fi
19554
2174519555
2174619556 as_nl='
2174719557 '
2175019560 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2175119561 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2175219562 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21753 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19563 # Prefer a ksh shell builtin over an external printf program on Solaris,
19564 # but without wasting forks for bash or zsh.
19565 if test -z "$BASH_VERSION$ZSH_VERSION" \
19566 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19567 as_echo='print -r --'
19568 as_echo_n='print -rn --'
19569 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2175419570 as_echo='printf %s\n'
2175519571 as_echo_n='printf %s'
2175619572 else
2176119577 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2176219578 as_echo_n_body='eval
2176319579 arg=$1;
21764 case $arg in
19580 case $arg in #(
2176519581 *"$as_nl"*)
2176619582 expr "X$arg" : "X\\(.*\\)$as_nl";
2176719583 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2178419600 }
2178519601 fi
2178619602
21787 # Support unset when possible.
21788 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21789 as_unset=unset
21790 else
21791 as_unset=false
21792 fi
21793
2179419603
2179519604 # IFS
2179619605 # We need space, tab and new line, in precisely that order. Quoting is
2180019609 IFS=" "" $as_nl"
2180119610
2180219611 # Find who we are. Look in the path if we contain no directory separator.
21803 case $0 in
19612 case $0 in #((
2180419613 *[\\/]* ) as_myself=$0 ;;
2180519614 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2180619615 for as_dir in $PATH
2180719616 do
2180819617 IFS=$as_save_IFS
2180919618 test -z "$as_dir" && as_dir=.
21810 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21811 done
19619 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19620 done
2181219621 IFS=$as_save_IFS
2181319622
2181419623 ;;
2182019629 fi
2182119630 if test ! -f "$as_myself"; then
2182219631 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21823 { (exit 1); exit 1; }
21824 fi
21825
21826 # Work around bugs in pre-3.0 UWIN ksh.
21827 for as_var in ENV MAIL MAILPATH
21828 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
19632 exit 1
19633 fi
19634
19635 # Unset variables that we do not need and which cause bugs (e.g. in
19636 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19637 # suppresses any "Segmentation fault" message there. '((' could
19638 # trigger a bug in pdksh 5.2.14.
19639 for as_var in BASH_ENV ENV MAIL MAILPATH
19640 do eval test x\${$as_var+set} = xset \
19641 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2182919642 done
2183019643 PS1='$ '
2183119644 PS2='> '
2183719650 LANGUAGE=C
2183819651 export LANGUAGE
2183919652
21840 # Required to use basename.
19653 # CDPATH.
19654 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19655
19656
19657 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19658 # ----------------------------------------
19659 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19660 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19661 # script with STATUS, using 1 if that was 0.
19662 as_fn_error ()
19663 {
19664 as_status=$1; test $as_status -eq 0 && as_status=1
19665 if test "$4"; then
19666 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19667 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19668 fi
19669 $as_echo "$as_me: error: $2" >&2
19670 as_fn_exit $as_status
19671 } # as_fn_error
19672
19673
19674 # as_fn_set_status STATUS
19675 # -----------------------
19676 # Set $? to STATUS, without forking.
19677 as_fn_set_status ()
19678 {
19679 return $1
19680 } # as_fn_set_status
19681
19682 # as_fn_exit STATUS
19683 # -----------------
19684 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19685 as_fn_exit ()
19686 {
19687 set +e
19688 as_fn_set_status $1
19689 exit $1
19690 } # as_fn_exit
19691
19692 # as_fn_unset VAR
19693 # ---------------
19694 # Portably unset VAR.
19695 as_fn_unset ()
19696 {
19697 { eval $1=; unset $1;}
19698 }
19699 as_unset=as_fn_unset
19700 # as_fn_append VAR VALUE
19701 # ----------------------
19702 # Append the text in VALUE to the end of the definition contained in VAR. Take
19703 # advantage of any shell optimizations that allow amortized linear growth over
19704 # repeated appends, instead of the typical quadratic growth present in naive
19705 # implementations.
19706 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19707 eval 'as_fn_append ()
19708 {
19709 eval $1+=\$2
19710 }'
19711 else
19712 as_fn_append ()
19713 {
19714 eval $1=\$$1\$2
19715 }
19716 fi # as_fn_append
19717
19718 # as_fn_arith ARG...
19719 # ------------------
19720 # Perform arithmetic evaluation on the ARGs, and store the result in the
19721 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19722 # must be portable across $(()) and expr.
19723 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19724 eval 'as_fn_arith ()
19725 {
19726 as_val=$(( $* ))
19727 }'
19728 else
19729 as_fn_arith ()
19730 {
19731 as_val=`expr "$@" || test $? -eq 1`
19732 }
19733 fi # as_fn_arith
19734
19735
2184119736 if expr a : '\(a\)' >/dev/null 2>&1 &&
2184219737 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2184319738 as_expr=expr
2185119746 as_basename=false
2185219747 fi
2185319748
21854
21855 # Name of the executable.
19749 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19750 as_dirname=dirname
19751 else
19752 as_dirname=false
19753 fi
19754
2185619755 as_me=`$as_basename -- "$0" ||
2185719756 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2185819757 X"$0" : 'X\(//\)$' \| \
2187219771 }
2187319772 s/.*/./; q'`
2187419773
21875 # CDPATH.
21876 $as_unset CDPATH
21877
21878
21879
21880 as_lineno_1=$LINENO
21881 as_lineno_2=$LINENO
21882 test "x$as_lineno_1" != "x$as_lineno_2" &&
21883 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21884
21885 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21886 # uniformly replaced by the line number. The first 'sed' inserts a
21887 # line-number line after each line using $LINENO; the second 'sed'
21888 # does the real work. The second script uses 'N' to pair each
21889 # line-number line with the line containing $LINENO, and appends
21890 # trailing '-' during substitution so that $LINENO is not a special
21891 # case at line end.
21892 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21893 # scripts with optimization help from Paolo Bonzini. Blame Lee
21894 # E. McMahon (1931-1989) for sed's syntax. :-)
21895 sed -n '
21896 p
21897 /[$]LINENO/=
21898 ' <$as_myself |
21899 sed '
21900 s/[$]LINENO.*/&-/
21901 t lineno
21902 b
21903 :lineno
21904 N
21905 :loop
21906 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21907 t loop
21908 s/-\n.*//
21909 ' >$as_me.lineno &&
21910 chmod +x "$as_me.lineno" ||
21911 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21912 { (exit 1); exit 1; }; }
21913
21914 # Don't try to exec as it changes $[0], causing all sort of problems
21915 # (the dirname of $[0] is not the place where we might find the
21916 # original and so on. Autoconf is especially sensitive to this).
21917 . "./$as_me.lineno"
21918 # Exit status is that of the last command.
21919 exit
21920 }
21921
21922
21923 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21924 as_dirname=dirname
21925 else
21926 as_dirname=false
21927 fi
19774 # Avoid depending upon Character Ranges.
19775 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19776 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19777 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19778 as_cr_digits='0123456789'
19779 as_cr_alnum=$as_cr_Letters$as_cr_digits
2192819780
2192919781 ECHO_C= ECHO_N= ECHO_T=
21930 case `echo -n x` in
19782 case `echo -n x` in #(((((
2193119783 -n*)
21932 case `echo 'x\c'` in
19784 case `echo 'xy\c'` in
2193319785 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21934 *) ECHO_C='\c';;
19786 xy) ECHO_C='\c';;
19787 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19788 ECHO_T=' ';;
2193519789 esac;;
2193619790 *)
2193719791 ECHO_N='-n';;
2193819792 esac
21939 if expr a : '\(a\)' >/dev/null 2>&1 &&
21940 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21941 as_expr=expr
21942 else
21943 as_expr=false
21944 fi
2194519793
2194619794 rm -f conf$$ conf$$.exe conf$$.file
2194719795 if test -d conf$$.dir; then
2197019818 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2197119819 rmdir conf$$.dir 2>/dev/null
2197219820
19821
19822 # as_fn_mkdir_p
19823 # -------------
19824 # Create "$as_dir" as a directory, including parents if necessary.
19825 as_fn_mkdir_p ()
19826 {
19827
19828 case $as_dir in #(
19829 -*) as_dir=./$as_dir;;
19830 esac
19831 test -d "$as_dir" || eval $as_mkdir_p || {
19832 as_dirs=
19833 while :; do
19834 case $as_dir in #(
19835 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19836 *) as_qdir=$as_dir;;
19837 esac
19838 as_dirs="'$as_qdir' $as_dirs"
19839 as_dir=`$as_dirname -- "$as_dir" ||
19840 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19841 X"$as_dir" : 'X\(//\)[^/]' \| \
19842 X"$as_dir" : 'X\(//\)$' \| \
19843 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19844 $as_echo X"$as_dir" |
19845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19846 s//\1/
19847 q
19848 }
19849 /^X\(\/\/\)[^/].*/{
19850 s//\1/
19851 q
19852 }
19853 /^X\(\/\/\)$/{
19854 s//\1/
19855 q
19856 }
19857 /^X\(\/\).*/{
19858 s//\1/
19859 q
19860 }
19861 s/.*/./; q'`
19862 test -d "$as_dir" && break
19863 done
19864 test -z "$as_dirs" || eval "mkdir $as_dirs"
19865 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19866
19867
19868 } # as_fn_mkdir_p
2197319869 if mkdir -p . 2>/dev/null; then
21974 as_mkdir_p=:
19870 as_mkdir_p='mkdir -p "$as_dir"'
2197519871 else
2197619872 test -d ./-p && rmdir ./-p
2197719873 as_mkdir_p=false
2199019886 if test -d "$1"; then
2199119887 test -d "$1/.";
2199219888 else
21993 case $1 in
19889 case $1 in #(
2199419890 -*)set "./$1";;
2199519891 esac;
21996 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
19892 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
2199719893 ???[sx]*):;;*)false;;esac;fi
2199819894 '\'' sh
2199919895 '
2200819904
2200919905
2201019906 exec 6>&1
22011
22012 # Save the log message, to keep $[0] and so on meaningful, and to
19907 ## ----------------------------------- ##
19908 ## Main body of $CONFIG_STATUS script. ##
19909 ## ----------------------------------- ##
19910 _ASEOF
19911 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19912
19913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19914 # Save the log message, to keep $0 and so on meaningful, and to
2201319915 # report actual input values of CONFIG_FILES etc. instead of their
2201419916 # values after options handling.
2201519917 ac_log="
22016 This file was extended by libcitadel $as_me 8.05, which was
22017 generated by GNU Autoconf 2.63. Invocation command line was
19918 This file was extended by libcitadel $as_me 2.8.11, which was
19919 generated by GNU Autoconf 2.67. Invocation command line was
2201819920
2201919921 CONFIG_FILES = $CONFIG_FILES
2202019922 CONFIG_HEADERS = $CONFIG_HEADERS
2204519947
2204619948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2204719949 ac_cs_usage="\
22048 \`$as_me' instantiates files from templates according to the
22049 current configuration.
22050
22051 Usage: $0 [OPTION]... [FILE]...
19950 \`$as_me' instantiates files and other configuration actions
19951 from templates according to the current configuration. Unless the files
19952 and actions are specified as TAGs, all are instantiated by default.
19953
19954 Usage: $0 [OPTION]... [TAG]...
2205219955
2205319956 -h, --help print this help, then exit
2205419957 -V, --version print version number and configuration settings, then exit
19958 --config print configuration, then exit
2205519959 -q, --quiet, --silent
2205619960 do not print progress messages
2205719961 -d, --debug don't remove temporary files
2206719971 Configuration headers:
2206819972 $config_headers
2206919973
22070 Report bugs to <bug-autoconf@gnu.org>."
19974 Report bugs to <http://uncensored.citadel.org>."
2207119975
2207219976 _ACEOF
2207319977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19978 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2207419979 ac_cs_version="\\
22075 libcitadel config.status 8.05
22076 configured by $0, generated by GNU Autoconf 2.63,
22077 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22078
22079 Copyright (C) 2008 Free Software Foundation, Inc.
19980 libcitadel config.status 2.8.11
19981 configured by $0, generated by GNU Autoconf 2.67,
19982 with options \\"\$ac_cs_config\\"
19983
19984 Copyright (C) 2010 Free Software Foundation, Inc.
2208019985 This config.status script is free software; the Free Software Foundation
2208119986 gives unlimited permission to copy, distribute and modify it."
2208219987
2209219997 while test $# != 0
2209319998 do
2209419999 case $1 in
22095 --*=*)
20000 --*=?*)
2209620001 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2209720002 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20003 ac_shift=:
20004 ;;
20005 --*=)
20006 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20007 ac_optarg=
2209820008 ac_shift=:
2209920009 ;;
2210020010 *)
2211020020 ac_cs_recheck=: ;;
2211120021 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2211220022 $as_echo "$ac_cs_version"; exit ;;
20023 --config | --confi | --conf | --con | --co | --c )
20024 $as_echo "$ac_cs_config"; exit ;;
2211320025 --debug | --debu | --deb | --de | --d | -d )
2211420026 debug=: ;;
2211520027 --file | --fil | --fi | --f )
2211620028 $ac_shift
2211720029 case $ac_optarg in
2211820030 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20031 '') as_fn_error $? "missing file argument" ;;
2211920032 esac
22120 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
20033 as_fn_append CONFIG_FILES " '$ac_optarg'"
2212120034 ac_need_defaults=false;;
2212220035 --header | --heade | --head | --hea )
2212320036 $ac_shift
2212420037 case $ac_optarg in
2212520038 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2212620039 esac
22127 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
20040 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
2212820041 ac_need_defaults=false;;
2212920042 --he | --h)
2213020043 # Conflict between --help and --header
22131 { $as_echo "$as_me: error: ambiguous option: $1
22132 Try \`$0 --help' for more information." >&2
22133 { (exit 1); exit 1; }; };;
20044 as_fn_error $? "ambiguous option: \`$1'
20045 Try \`$0 --help' for more information.";;
2213420046 --help | --hel | -h )
2213520047 $as_echo "$ac_cs_usage"; exit ;;
2213620048 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2213820050 ac_cs_silent=: ;;
2213920051
2214020052 # This is an error.
22141 -*) { $as_echo "$as_me: error: unrecognized option: $1
22142 Try \`$0 --help' for more information." >&2
22143 { (exit 1); exit 1; }; } ;;
22144
22145 *) ac_config_targets="$ac_config_targets $1"
20053 -*) as_fn_error $? "unrecognized option: \`$1'
20054 Try \`$0 --help' for more information." ;;
20055
20056 *) as_fn_append ac_config_targets " $1"
2214620057 ac_need_defaults=false ;;
2214720058
2214820059 esac
2219320104 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
2219420105 "sysdep.h") CONFIG_HEADERS="$CONFIG_HEADERS sysdep.h" ;;
2219520106
22196 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22197 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22198 { (exit 1); exit 1; }; };;
20107 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
2219920108 esac
2220020109 done
2220120110
2222120130 trap 'exit_status=$?
2222220131 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2222320132 ' 0
22224 trap '{ (exit 1); exit 1; }' 1 2 13 15
20133 trap 'as_fn_exit 1' 1 2 13 15
2222520134 }
2222620135 # Create a (secure) tmp directory for tmp files.
2222720136
2223220141 {
2223320142 tmp=./conf$$-$RANDOM
2223420143 (umask 077 && mkdir "$tmp")
22235 } ||
22236 {
22237 $as_echo "$as_me: cannot create a temporary directory in ." >&2
22238 { (exit 1); exit 1; }
22239 }
20144 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
2224020145
2224120146 # Set up the scripts for CONFIG_FILES section.
2224220147 # No need to generate them if there are no CONFIG_FILES.
2224420149 if test -n "$CONFIG_FILES"; then
2224520150
2224620151
22247 ac_cr='
22248 '
20152 ac_cr=`echo X | tr X '\015'`
20153 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20154 # But we know of no other shell where ac_cr would be empty at this
20155 # point, so we can use a bashism as a fallback.
20156 if test "x$ac_cr" = x; then
20157 eval ac_cr=\$\'\\r\'
20158 fi
2224920159 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
2225020160 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2225120161 ac_cs_awk_cr='\\r'
2226220172 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2226320173 echo "_ACEOF"
2226420174 } >conf$$subs.sh ||
22265 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22266 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22267 { (exit 1); exit 1; }; }
22268 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
20175 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20176 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
2226920177 ac_delim='%!_!# '
2227020178 for ac_last_try in false false false false false :; do
2227120179 . ./conf$$subs.sh ||
22272 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22273 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22274 { (exit 1); exit 1; }; }
20180 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2227520181
2227620182 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
2227720183 if test $ac_delim_n = $ac_delim_num; then
2227820184 break
2227920185 elif $ac_last_try; then
22280 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22281 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22282 { (exit 1); exit 1; }; }
20186 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2228320187 else
2228420188 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2228520189 fi
2230120205 t delim
2230220206 :nl
2230320207 h
22304 s/\(.\{148\}\).*/\1/
20208 s/\(.\{148\}\)..*/\1/
2230520209 t more1
2230620210 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2230720211 p
2231520219 t nl
2231620220 :delim
2231720221 h
22318 s/\(.\{148\}\).*/\1/
20222 s/\(.\{148\}\)..*/\1/
2231920223 t more2
2232020224 s/["\\]/\\&/g; s/^/"/; s/$/"/
2232120225 p
2236820272 else
2236920273 cat
2237020274 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
22371 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
22372 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
22373 { (exit 1); exit 1; }; }
20275 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
2237420276 _ACEOF
2237520277
22376 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22377 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20278 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20279 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
2237820280 # trailing colons and then remove the whole line if VPATH becomes empty
2237920281 # (actually we leave an empty line to preserve line numbers).
2238020282 if test "x$srcdir" = x.; then
22381 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22382 s/:*\$(srcdir):*/:/
22383 s/:*\${srcdir}:*/:/
22384 s/:*@srcdir@:*/:/
22385 s/^\([^=]*=[ ]*\):*/\1/
20283 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20284 h
20285 s///
20286 s/^/:/
20287 s/[ ]*$/:/
20288 s/:\$(srcdir):/:/g
20289 s/:\${srcdir}:/:/g
20290 s/:@srcdir@:/:/g
20291 s/^:*//
2238620292 s/:*$//
20293 x
20294 s/\(=[ ]*\).*/\1/
20295 G
20296 s/\n//
2238720297 s/^[^=]*=[ ]*$//
2238820298 }'
2238920299 fi
2241120321 if test -z "$ac_t"; then
2241220322 break
2241320323 elif $ac_last_try; then
22414 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
22415 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
22416 { (exit 1); exit 1; }; }
20324 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
2241720325 else
2241820326 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2241920327 fi
2249820406 _ACAWK
2249920407 _ACEOF
2250020408 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22501 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
22502 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
22503 { (exit 1); exit 1; }; }
20409 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
2250420410 fi # test -n "$CONFIG_HEADERS"
2250520411
2250620412
2251320419 esac
2251420420 case $ac_mode$ac_tag in
2251520421 :[FHL]*:*);;
22516 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
22517 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
22518 { (exit 1); exit 1; }; };;
20422 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
2251920423 :[FH]-) ac_tag=-:-;;
2252020424 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2252120425 esac
2254320447 [\\/$]*) false;;
2254420448 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2254520449 esac ||
22546 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22547 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22548 { (exit 1); exit 1; }; };;
20450 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
2254920451 esac
2255020452 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22551 ac_file_inputs="$ac_file_inputs '$ac_f'"
20453 as_fn_append ac_file_inputs " '$ac_f'"
2255220454 done
2255320455
2255420456 # Let's still pretend it is `configure' which instantiates (i.e., don't
2255920461 `' by configure.'
2256020462 if test x"$ac_file" != x-; then
2256120463 configure_input="$ac_file. $configure_input"
22562 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
20464 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
2256320465 $as_echo "$as_me: creating $ac_file" >&6;}
2256420466 fi
2256520467 # Neutralize special characters interpreted by sed in replacement strings.
2257220474
2257320475 case $ac_tag in
2257420476 *:-:* | *:-) cat >"$tmp/stdin" \
22575 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22576 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22577 { (exit 1); exit 1; }; } ;;
20477 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
2257820478 esac
2257920479 ;;
2258020480 esac
2260220502 q
2260320503 }
2260420504 s/.*/./; q'`
22605 { as_dir="$ac_dir"
22606 case $as_dir in #(
22607 -*) as_dir=./$as_dir;;
22608 esac
22609 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22610 as_dirs=
22611 while :; do
22612 case $as_dir in #(
22613 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22614 *) as_qdir=$as_dir;;
22615 esac
22616 as_dirs="'$as_qdir' $as_dirs"
22617 as_dir=`$as_dirname -- "$as_dir" ||
22618 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22619 X"$as_dir" : 'X\(//\)[^/]' \| \
22620 X"$as_dir" : 'X\(//\)$' \| \
22621 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22622 $as_echo X"$as_dir" |
22623 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22624 s//\1/
22625 q
22626 }
22627 /^X\(\/\/\)[^/].*/{
22628 s//\1/
22629 q
22630 }
22631 /^X\(\/\/\)$/{
22632 s//\1/
22633 q
22634 }
22635 /^X\(\/\).*/{
22636 s//\1/
22637 q
22638 }
22639 s/.*/./; q'`
22640 test -d "$as_dir" && break
22641 done
22642 test -z "$as_dirs" || eval "mkdir $as_dirs"
22643 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22644 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
22645 { (exit 1); exit 1; }; }; }
20505 as_dir="$ac_dir"; as_fn_mkdir_p
2264620506 ac_builddir=.
2264720507
2264820508 case "$ac_dir" in
2269420554 # If the template does not know about datarootdir, expand it.
2269520555 # FIXME: This hack should be removed a few years after 2.60.
2269620556 ac_datarootdir_hack=; ac_datarootdir_seen=
22697
2269820557 ac_sed_dataroot='
2269920558 /datarootdir/ {
2270020559 p
2270420563 /@docdir@/p
2270520564 /@infodir@/p
2270620565 /@localedir@/p
22707 /@mandir@/p
22708 '
20566 /@mandir@/p'
2270920567 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
2271020568 *datarootdir*) ac_datarootdir_seen=yes;;
2271120569 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22712 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2271320571 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2271420572 _ACEOF
2271520573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2271920577 s&@infodir@&$infodir&g
2272020578 s&@localedir@&$localedir&g
2272120579 s&@mandir@&$mandir&g
22722 s&\\\${datarootdir}&$datarootdir&g' ;;
20580 s&\\\${datarootdir}&$datarootdir&g' ;;
2272320581 esac
2272420582 _ACEOF
2272520583
2274720605 $ac_datarootdir_hack
2274820606 "
2274920607 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
22750 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22751 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22752 { (exit 1); exit 1; }; }
20608 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2275320609
2275420610 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2275520611 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
2275620612 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22757 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22758 which seems to be undefined. Please make sure it is defined." >&5
20613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20614 which seems to be undefined. Please make sure it is defined" >&5
2275920615 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22760 which seems to be undefined. Please make sure it is defined." >&2;}
20616 which seems to be undefined. Please make sure it is defined" >&2;}
2276120617
2276220618 rm -f "$tmp/stdin"
2276320619 case $ac_file in
2276420620 -) cat "$tmp/out" && rm -f "$tmp/out";;
2276520621 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
2276620622 esac \
22767 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22768 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22769 { (exit 1); exit 1; }; }
20623 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2277020624 ;;
2277120625 :H)
2277220626 #
2277720631 $as_echo "/* $configure_input */" \
2277820632 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
2277920633 } >"$tmp/config.h" \
22780 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22781 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22782 { (exit 1); exit 1; }; }
20634 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2278320635 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
22784 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20636 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
2278520637 $as_echo "$as_me: $ac_file is unchanged" >&6;}
2278620638 else
2278720639 rm -f "$ac_file"
2278820640 mv "$tmp/config.h" "$ac_file" \
22789 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22790 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22791 { (exit 1); exit 1; }; }
20641 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2279220642 fi
2279320643 else
2279420644 $as_echo "/* $configure_input */" \
2279520645 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
22796 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
22797 $as_echo "$as_me: error: could not create -" >&2;}
22798 { (exit 1); exit 1; }; }
20646 || as_fn_error $? "could not create -" "$LINENO" 5
2279920647 fi
2280020648 ;;
2280120649
2280520653 done # for ac_tag
2280620654
2280720655
22808 { (exit 0); exit 0; }
20656 as_fn_exit 0
2280920657 _ACEOF
22810 chmod +x $CONFIG_STATUS
2281120658 ac_clean_files=$ac_clean_files_save
2281220659
2281320660 test $ac_write_fail = 0 ||
22814 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
22815 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
22816 { (exit 1); exit 1; }; }
20661 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
2281720662
2281820663
2281920664 # configure is writing to config.log, and then calls config.status.
2283420679 exec 5>>config.log
2283520680 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2283620681 # would make configure fail if this is the last instruction.
22837 $ac_cs_success || { (exit 1); exit 1; }
20682 $ac_cs_success || as_fn_exit 1
2283820683 fi
2283920684 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22840 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
2284120686 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
2284220687 fi
2284320688
44 dnl Ensure that libcitadel is configured with autoconf 2.52 or newer
55 AC_PREREQ(2.52)
66
7 AC_INIT(libcitadel, 8.05, http://uncensored.citadel.org)
7 AC_INIT(libcitadel, 2.8.11, http://uncensored.citadel.org)
88
99 AC_CONFIG_SRCDIR(Makefile.in)
1010 AC_CONFIG_AUX_DIR(conftools)
2222 dnl
2323
2424 LIBCURRENT=2
25 LIBREVISION=1
25 LIBREVISION=811
2626 LIBAGE=0
2727
2828 sinclude(conftools/libtool.m4)
7373
7474 AC_CHECK_HEADER(CUnit/CUnit.h, [AC_DEFINE(ENABLE_TESTS, [], [whether we should compile the test-suite])])
7575
76 AC_CHECK_HEADER(sys/sendfile.h, [AC_DEFINE(LINUX_SENDFILE, [], [whether we have the linux sendfile api])])
77 dnl TODO: we might need to check for the actual syntax....
7678
7779
7880 AC_CHECK_HEADERS(iconv.h)
6666 int bytes_processed = 0;
6767 char nl[128];
6868
69 tag[0] = '\0';
6970 strcpy(nl, "\n");
7071 inptr = inputmsg;
7172 strcpy(inbuf, "");
00 /*
11 * Header file for libcitadel
2 *
3 * Copyright (c) 1987-2012 by the citadel.org team
4 *
5 * This program is open source software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
212 */
313
414
1727 #include <sys/types.h>
1828 #include <netinet/in.h>
1929
20 #define LIBCITADEL_VERSION_NUMBER 805
30 #define LIBCITADEL_VERSION_NUMBER 811
2131
2232 /*
2333 * Here's a bunch of stupid magic to make the MIME parser portable.
8797 VIEW_JOURNAL = 8, /* Journal view */
8898 VIEW_DRAFTS = 9, /* Drafts view */
8999 VIEW_BLOG = 10, /* Blog view */
90 VIEW_MAX
100 VIEW_QUEUE = 11, /* SMTP/... QUEUE rooms */
101 VIEW_MAX,
102 VIEW_JSON_LIST,
91103 } ROOM_VIEWS;
92104
93105 #define BLOG_EUIDBUF_SIZE 40
237249 int nBlobBytesWanted;
238250 } IOBuffer;
239251
252
253 typedef struct __fd_iobuffer {
254 IOBuffer *IOB;
255 int OtherFD;
256 int SplicePipe[2];
257 long TotalSendSize;
258 long TotalSentAlready;
259 long ChunkSize;
260 long ChunkSendRemain;
261 StrBuf *ChunkBuffer; /* just used if we don't have sendfile */
262 } FDIOBuffer;
263
264
265 void FDIOBufferInit(FDIOBuffer *FDB, IOBuffer *IO, int FD, long TotalSendSize);
266 void FDIOBufferDelete(FDIOBuffer *FDB);
267 int FileSendChunked(FDIOBuffer *FDB, const char **Err);
268 int FileRecvChunked(FDIOBuffer *FDB, const char **Err);
269 eReadState WriteIOBAlreadyRead(FDIOBuffer *FDB, const char **Error);
270
240271 long StrBuf_read_one_chunk_callback (int fd, short event, IOBuffer *FB);
241272 int StrBuf_write_one_chunk_callback(int fd, short event, IOBuffer *FB);
242273
243274 eReadState StrBufChunkSipLine(StrBuf *LineBuf, IOBuffer *FB);
244275 eReadState StrBufCheckBuffer(IOBuffer *FB);
276 long IOBufferStrLength(IOBuffer *FB);
245277
246278 int StrBufSipLine(StrBuf *LineBuf, const StrBuf *Buf, const char **Ptr);
247279 int StrBufReplaceToken(StrBuf *Buf, long where, long HowLong, const char *Repl, long ReplLen);
310342 #define RB (2)
311343 #define QU (3)
312344 void StrBufUrlescAppend(StrBuf *OutBuf, const StrBuf *In, const char *PlainIn);
345 void StrBufUrlescUPAppend(StrBuf *OutBuf, const StrBuf *In, const char *PlainIn);
313346 void StrBufHexescAppend(StrBuf *OutBuf, const StrBuf *In, const char *PlainIn);
314347 void StrBufHexEscAppend(StrBuf *OutBuf, const StrBuf *In, const unsigned char *PlainIn, long PlainInLen);
315348 long StrEscAppend(StrBuf *Target, const StrBuf *Source, const char *PlainIn, int nbsp, int nolinebreaks);
337370 /* URL parsing & connection data */
338371 typedef struct ParsedURL ParsedURL;
339372 struct ParsedURL {
373 int Priority;
340374 StrBuf *URL;
341375 StrBuf *UrlWithoutCred;
342376 StrBuf *CurlCreds;
1515 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1616 */
1717
18 #define _GNU_SOURCE
1819 #include "sysdep.h"
1920 #include <ctype.h>
2021 #include <errno.h>
2728 #include <sys/types.h>
2829 #define SHOW_ME_VAPPEND_PRINTF
2930 #include <stdarg.h>
31
3032 #include "libcitadel.h"
3133
3234 #ifdef HAVE_ICONV
3537
3638 #ifdef HAVE_BACKTRACE
3739 #include <execinfo.h>
40 #endif
41
42 #ifdef LINUX_SENDFILE
43 #include <sys/sendfile.h>
3844 #endif
3945
4046 #ifdef HAVE_ZLIB
17951801
17961802 if((*pch >= 'a' && *pch <= 'z') ||
17971803 (*pch >= '@' && *pch <= 'Z') || /* @ A-Z */
1804 (*pch >= '0' && *pch <= ':') || /* 0-9 : */
1805 (*pch == '!') || (*pch == '_') ||
1806 (*pch == ',') || (*pch == '.'))
1807 {
1808 *(pt++) = *(pch++);
1809 OutBuf->BufUsed++;
1810 }
1811 else {
1812 *pt = '%';
1813 *(pt + 1) = HexList[(unsigned char)*pch][0];
1814 *(pt + 2) = HexList[(unsigned char)*pch][1];
1815 pt += 3;
1816 OutBuf->BufUsed += 3;
1817 pch ++;
1818 }
1819 }
1820 *pt = '\0';
1821 }
1822
1823 /**
1824 * @ingroup StrBuf_DeEnCoder
1825 * @brief Escape a string for feeding out as a the username/password part of an URL while appending it to a Buffer
1826 * @param OutBuf the output buffer
1827 * @param In Buffer to encode
1828 * @param PlainIn way in from plain old c strings
1829 */
1830 void StrBufUrlescUPAppend(StrBuf *OutBuf, const StrBuf *In, const char *PlainIn)
1831 {
1832 const char *pch, *pche;
1833 char *pt, *pte;
1834 int len;
1835
1836 if (((In == NULL) && (PlainIn == NULL)) || (OutBuf == NULL) )
1837 return;
1838 if (PlainIn != NULL) {
1839 len = strlen(PlainIn);
1840 pch = PlainIn;
1841 pche = pch + len;
1842 }
1843 else {
1844 pch = In->buf;
1845 pche = pch + In->BufUsed;
1846 len = In->BufUsed;
1847 }
1848
1849 if (len == 0)
1850 return;
1851
1852 pt = OutBuf->buf + OutBuf->BufUsed;
1853 pte = OutBuf->buf + OutBuf->BufSize - 4; /**< we max append 3 chars at once plus the \0 */
1854
1855 while (pch < pche) {
1856 if (pt >= pte) {
1857 IncreaseBuf(OutBuf, 1, -1);
1858 pte = OutBuf->buf + OutBuf->BufSize - 4; /**< we max append 3 chars at once plus the \0 */
1859 pt = OutBuf->buf + OutBuf->BufUsed;
1860 }
1861
1862 if((*pch >= 'a' && *pch <= 'z') ||
1863 (*pch >= 'A' && *pch <= 'Z') || /* A-Z */
17981864 (*pch >= '0' && *pch <= ':') || /* 0-9 : */
17991865 (*pch == '!') || (*pch == '_') ||
18001866 (*pch == ',') || (*pch == '.'))
37733839 return eReadSuccess;
37743840 }
37753841
3842 long IOBufferStrLength(IOBuffer *FB)
3843 {
3844 if (FB->ReadWritePointer == NULL)
3845 return StrLength(FB->Buf);
3846
3847 return StrLength(FB->Buf) - (FB->ReadWritePointer - FB->Buf->buf);
3848 }
3849
3850 void FDIOBufferInit(FDIOBuffer *FDB, IOBuffer *IO, int FD, long TotalSendSize)
3851 {
3852 memset(FDB, 0, sizeof(FDIOBuffer));
3853 FDB->ChunkSize =
3854 FDB->TotalSendSize = TotalSendSize;
3855 FDB->IOB = IO;
3856 #ifndef LINUX_SENDFILE
3857 FDB->ChunkBuffer = NewStrBufPlain(NULL, TotalSendSize + 1);
3858 #else
3859 pipe(FDB->SplicePipe);
3860 #endif
3861 FDB->OtherFD = FD;
3862 }
3863
3864 void FDIOBufferDelete(FDIOBuffer *FDB)
3865 {
3866 #ifndef LINUX_SENDFILE
3867 FreeStrBuf(&FDB->ChunkBuffer);
3868 #else
3869 close(FDB->SplicePipe[0]);
3870 close(FDB->SplicePipe[1]);
3871
3872 #endif
3873 close(FDB->OtherFD);
3874 memset(FDB, 0, sizeof(FDIOBuffer));
3875 }
3876
3877 int FileSendChunked(FDIOBuffer *FDB, const char **Err)
3878 {
3879 char *pRead;
3880 long nRead = 0;
3881
3882 #ifdef LINUX_SENDFILE
3883 ssize_t sent;
3884 sent = sendfile(FDB->IOB->fd, FDB->OtherFD, &FDB->TotalSentAlready, FDB->ChunkSendRemain);
3885 if (sent == -1)
3886 {
3887 *Err = strerror(errno);
3888 return sent;
3889 }
3890 FDB->ChunkSendRemain -= sent;
3891 FDB->TotalSentAlready += sent;
3892 return FDB->ChunkSendRemain;
3893 #else
3894 pRead = FDB->ChunkBuffer->buf;
3895 while ((FDB->ChunkBuffer->BufUsed < FDB->TotalSendSize) && (nRead >= 0))
3896 {
3897 nRead = read(FDB->OtherFD, pRead, FDB->TotalSendSize - FDB->ChunkBuffer->BufUsed);
3898 if (nRead > 0) {
3899 FDB->ChunkBuffer->BufUsed += nRead;
3900 FDB->ChunkBuffer->buf[FDB->ChunkBuffer->BufUsed] = '\0';
3901 }
3902 else if (nRead == 0) {}
3903 else return nRead;
3904
3905 }
3906
3907 nRead = write(FDB->IOB->fd, FDB->ChunkBuffer->buf + FDB->TotalSentAlready, FDB->ChunkSendRemain);
3908
3909 if (nRead >= 0) {
3910 FDB->TotalSentAlready += nRead;
3911 FDB->ChunkSendRemain -= nRead;
3912 return FDB->ChunkSendRemain;
3913 }
3914 else {
3915 return nRead;
3916 }
3917 #endif
3918 }
3919
3920 int FileRecvChunked(FDIOBuffer *FDB, const char **Err)
3921 {
3922 ssize_t sent, pipesize;
3923
3924 #ifdef LINUX_SENDFILE
3925
3926 pipesize = splice(FDB->IOB->fd, NULL,
3927 FDB->SplicePipe[1], NULL,
3928 FDB->ChunkSendRemain,
3929 SPLICE_F_MORE | SPLICE_F_MOVE|SPLICE_F_NONBLOCK);
3930 if (pipesize == -1)
3931 {
3932 *Err = strerror(errno);
3933 return pipesize;
3934 }
3935
3936 sent = splice(FDB->SplicePipe[0], NULL,
3937 FDB->OtherFD, &FDB->TotalSentAlready,
3938 pipesize, SPLICE_F_MORE | SPLICE_F_MOVE);
3939 if (sent == -1)
3940 {
3941 *Err = strerror(errno);
3942 return sent;
3943 }
3944 FDB->ChunkSendRemain -= sent;
3945 return sent;
3946 #else
3947
3948 sent = read(FDB->IOB->fd, FDB->ChunkBuffer->buf, FDB->ChunkSendRemain);
3949 if (sent > 0) {
3950 int nWritten = 0;
3951 int rc;
3952
3953 FDB->ChunkBuffer->BufUsed = sent;
3954
3955 while (nWritten < FDB->ChunkBuffer->BufUsed) {
3956 rc = write(FDB->OtherFD, FDB->ChunkBuffer->buf + nWritten, FDB->ChunkBuffer->BufUsed - nWritten);
3957 if (rc < 0) {
3958 *Err = strerror(errno);
3959 return rc;
3960 }
3961 nWritten += rc;
3962
3963 }
3964 FDB->ChunkBuffer->BufUsed = 0;
3965 FDB->TotalSentAlready += sent;
3966 FDB->ChunkSendRemain -= sent;
3967 return FDB->ChunkSendRemain;
3968 }
3969 else if (sent < 0) {
3970 *Err = strerror(errno);
3971 return sent;
3972 }
3973
3974 #endif
3975 return 0;
3976 }
3977
3978 eReadState WriteIOBAlreadyRead(FDIOBuffer *FDB, const char **Error)
3979 {
3980 int IsNonBlock;
3981 int fdflags;
3982 long rlen;
3983 long should_write;
3984 int nSuccessLess = 0;
3985 struct timeval tv;
3986 fd_set rfds;
3987
3988 fdflags = fcntl(FDB->OtherFD, F_GETFL);
3989 IsNonBlock = (fdflags & O_NONBLOCK) == O_NONBLOCK;
3990
3991 while ((FDB->IOB->ReadWritePointer - FDB->IOB->Buf->buf < FDB->IOB->Buf->BufUsed) &&
3992 (FDB->ChunkSendRemain > 0))
3993 {
3994 if (IsNonBlock){
3995 tv.tv_sec = 1; /* selectresolution; */
3996 tv.tv_usec = 0;
3997
3998 FD_ZERO(&rfds);
3999 FD_SET(FDB->OtherFD, &rfds);
4000 if (select(FDB->OtherFD + 1, NULL, &rfds, NULL, &tv) == -1) {
4001 *Error = strerror(errno);
4002 return eReadFail;
4003 }
4004 }
4005 if (IsNonBlock && ! FD_ISSET(FDB->OtherFD, &rfds)) {
4006 nSuccessLess ++;
4007 continue;
4008 }
4009
4010 should_write = FDB->IOB->Buf->BufUsed -
4011 (FDB->IOB->ReadWritePointer - FDB->IOB->Buf->buf);
4012 if (should_write > FDB->ChunkSendRemain)
4013 should_write = FDB->ChunkSendRemain;
4014
4015 rlen = write(FDB->OtherFD,
4016 FDB->IOB->ReadWritePointer,
4017 should_write);
4018 if (rlen < 1) {
4019 *Error = strerror(errno);
4020
4021 return eReadFail;
4022 }
4023 FDB->TotalSentAlready += rlen;
4024 FDB->IOB->ReadWritePointer += rlen;
4025 FDB->ChunkSendRemain -= rlen;
4026 }
4027 if (FDB->IOB->ReadWritePointer >= FDB->IOB->Buf->buf + FDB->IOB->Buf->BufUsed)
4028 {
4029 FlushStrBuf(FDB->IOB->Buf);
4030 FDB->IOB->ReadWritePointer = NULL;
4031 }
4032
4033 if (FDB->ChunkSendRemain == 0)
4034 return eReadSuccess;
4035 else
4036 return eMustReadMore;
4037 }
4038
37764039 /*******************************************************************************
37774040 * File I/O; Prefer buffered read since its faster! *
37784041 *******************************************************************************/
44494712 b++; a++;
44504713 }
44514714 }
4452 if ((RemoveTrailingSlash) && (*(b - 1) != '/')){
4453 *b = '/';
4454 b++;
4715 if ((RemoveTrailingSlash) &&
4716 (b > Dir->buf) &&
4717 (*(b - 1) == '/')){
4718 b--;
44554719 }
44564720 *b = '\0';
44574721 Dir->BufUsed = b - Dir->buf;
874874 */
875875 void generate_uuid(char *buf) {
876876 static int seq = (-1);
877 static int no_kernel_uuid = 0;
878
879 /* If we are running on Linux then we have a kernelspace uuid generator available */
880
881 if (no_kernel_uuid == 0) {
882 FILE *fp;
883 fp = fopen("/proc/sys/kernel/random/uuid", "rb");
884 if (fp) {
885 int rv;
886 rv = fread(buf, 36, 1, fp);
887 fclose(fp);
888 if (rv == 1) return;
889 }
890 }
891
892 /* If the kernel didn't provide us with a uuid, we generate a pseudo-random one */
893
894 no_kernel_uuid = 1;
877895
878896 if (seq == (-1)) {
879897 seq = (int)rand();
88 #include <fcntl.h>
99 #include <sys/types.h>
1010 #include "libcitadel.h"
11 #include <sys/socket.h>
1112
1213 /**
1314 * @defgroup URLHandling ParsedURL object to handle connection data
5353 /* Define to 1 if you have the <zlib.h> header file. */
5454 #undef HAVE_ZLIB_H
5555
56 /* whether we have the linux sendfile api */
57 #undef LINUX_SENDFILE
58
5659 /* Define to the address where bug reports for this package should be sent. */
5760 #undef PACKAGE_BUGREPORT
5861
6568 /* Define to the one symbol short name of this package. */
6669 #undef PACKAGE_TARNAME
6770
71 /* Define to the home page for this package. */
72 #undef PACKAGE_URL
73
6874 /* Define to the version of this package. */
6975 #undef PACKAGE_VERSION
7076
0 Makefile
1 hashlist_test
2 stringbuf_IO_test
3 stringbuf_conversion_test
4 stringbuf_test
5 mimeparser_test
6 mime_xdg_lookup_test
7 stripallbut_test
8 wildfire_test
0
10 /*
21 * CUnit - A Unit testing framework library for C.
32 * Copyright (C) 2001 Anil Kumar
43 *
5 * This library is free software; you can redistribute it and/or
4 * This library is open source software; you can redistribute it and/or
65 * modify it under the terms of the GNU Library General Public
76 * License as published by the Free Software Foundation; either
87 * version 2 of the License, or (at your option) any later version.
1110 * but WITHOUT ANY WARRANTY; without even the implied warranty of
1211 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1312 * Library General Public License for more details.
14 *
15 * You should have received a copy of the GNU Library General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1813 */
1914
2015 #include <stdio.h>
0
10 /*
21 * CUnit - A Unit testing framework library for C.
32 * Copyright (C) 2001 Anil Kumar
43 *
5 * This library is free software; you can redistribute it and/or
4 * This library is open source software; you can redistribute it and/or
65 * modify it under the terms of the GNU Library General Public
76 * License as published by the Free Software Foundation; either
87 * version 2 of the License, or (at your option) any later version.
1110 * but WITHOUT ANY WARRANTY; without even the implied warranty of
1211 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1312 * Library General Public License for more details.
14 *
15 * You should have received a copy of the GNU Library General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1813 */
1914
2015 #include <stdio.h>
0
10 /*
21 * CUnit - A Unit testing framework library for C.
32 * Copyright (C) 2001 Anil Kumar
43 *
5 * This library is free software; you can redistribute it and/or
4 * This library is open source software; you can redistribute it and/or
65 * modify it under the terms of the GNU Library General Public
76 * License as published by the Free Software Foundation; either
87 * version 2 of the License, or (at your option) any later version.
1110 * but WITHOUT ANY WARRANTY; without even the implied warranty of
1211 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1312 * Library General Public License for more details.
14 *
15 * You should have received a copy of the GNU Library General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1813 */
1914
2015 #include <stdio.h>
0
10 /*
21 * CUnit - A Unit testing framework library for C.
32 * Copyright (C) 2001 Anil Kumar
43 *
5 * This library is free software; you can redistribute it and/or
4 * This library is open source software; you can redistribute it and/or
65 * modify it under the terms of the GNU Library General Public
76 * License as published by the Free Software Foundation; either
87 * version 2 of the License, or (at your option) any later version.
1110 * but WITHOUT ANY WARRANTY; without even the implied warranty of
1211 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1312 * Library General Public License for more details.
14 *
15 * You should have received a copy of the GNU Library General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1813 */
1914
2015 #include <stdio.h>
0
10 /*
21 * CUnit - A Unit testing framework library for C.
32 * Copyright (C) 2001 Anil Kumar
43 *
5 * This library is free software; you can redistribute it and/or
4 * This library is open source software; you can redistribute it and/or
65 * modify it under the terms of the GNU Library General Public
76 * License as published by the Free Software Foundation; either
87 * version 2 of the License, or (at your option) any later version.
1110 * but WITHOUT ANY WARRANTY; without even the implied warranty of
1211 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1312 * Library General Public License for more details.
14 *
15 * You should have received a copy of the GNU Library General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1813 */
1914
2015 #include <stdio.h>
0
10 /*
21 * CUnit - A Unit testing framework library for C.
32 * Copyright (C) 2001 Anil Kumar
43 *
5 * This library is free software; you can redistribute it and/or
4 * This library is open source software; you can redistribute it and/or
65 * modify it under the terms of the GNU Library General Public
76 * License as published by the Free Software Foundation; either
87 * version 2 of the License, or (at your option) any later version.
1110 * but WITHOUT ANY WARRANTY; without even the implied warranty of
1211 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1312 * Library General Public License for more details.
14 *
15 * You should have received a copy of the GNU Library General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1813 */
1914
2015 #include <stdio.h>