comparison configure @ 0:ad85b8813e8a

Fetched a URL
author Adam Chlipala <adam@chlipala.net>
date Tue, 11 Jan 2011 10:31:48 -0500
parents
children a40cf9c8d615
comparison
equal deleted inserted replaced
-1:000000000000 0:ad85b8813e8a
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for urweb_feed 1.0.
4 #
5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8 # Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 case $0 in #((
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
96 do
97 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 done
101 IFS=$as_save_IFS
102
103 ;;
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108 as_myself=$0
109 fi
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 exit 1
113 fi
114
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 emulate sh
139 NULLCMD=:
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 setopt NO_GLOB_SUBST
144 else
145 case \`(set -o) 2>/dev/null\` in #(
146 *posix*) :
147 set -o posix ;; #(
148 *) :
149 ;;
150 esac
151 fi
152 "
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
158
159 exitcode=0
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
166 else
167 exitcode=1; echo positional parameters were not saved.
168 fi
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
176 as_have_required=yes
177 else
178 as_have_required=no
179 fi
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
182 else
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 as_found=false
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186 do
187 IFS=$as_save_IFS
188 test -z "$as_dir" && as_dir=.
189 as_found=:
190 case $as_dir in #(
191 /*)
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 break 2
200 fi
201 fi
202 done;;
203 esac
204 as_found=false
205 done
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
209 fi; }
210 IFS=$as_save_IFS
211
212
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
217 BASH_ENV=/dev/null
218 ENV=/dev/null
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 export CONFIG_SHELL
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 fi
223
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230 else
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
235 fi
236 exit 1
237 fi
238 fi
239 fi
240 SHELL=${CONFIG_SHELL-/bin/sh}
241 export SHELL
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
245
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
249 # as_fn_unset VAR
250 # ---------------
251 # Portably unset VAR.
252 as_fn_unset ()
253 {
254 { eval $1=; unset $1;}
255 }
256 as_unset=as_fn_unset
257
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
261 as_fn_set_status ()
262 {
263 return $1
264 } # as_fn_set_status
265
266 # as_fn_exit STATUS
267 # -----------------
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269 as_fn_exit ()
270 {
271 set +e
272 as_fn_set_status $1
273 exit $1
274 } # as_fn_exit
275
276 # as_fn_mkdir_p
277 # -------------
278 # Create "$as_dir" as a directory, including parents if necessary.
279 as_fn_mkdir_p ()
280 {
281
282 case $as_dir in #(
283 -*) as_dir=./$as_dir;;
284 esac
285 test -d "$as_dir" || eval $as_mkdir_p || {
286 as_dirs=
287 while :; do
288 case $as_dir in #(
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 *) as_qdir=$as_dir;;
291 esac
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300 s//\1/
301 q
302 }
303 /^X\(\/\/\)[^/].*/{
304 s//\1/
305 q
306 }
307 /^X\(\/\/\)$/{
308 s//\1/
309 q
310 }
311 /^X\(\/\).*/{
312 s//\1/
313 q
314 }
315 s/.*/./; q'`
316 test -d "$as_dir" && break
317 done
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320
321
322 } # as_fn_mkdir_p
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
328 # implementations.
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
331 {
332 eval $1+=\$2
333 }'
334 else
335 as_fn_append ()
336 {
337 eval $1=\$$1\$2
338 }
339 fi # as_fn_append
340
341 # as_fn_arith ARG...
342 # ------------------
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347 eval 'as_fn_arith ()
348 {
349 as_val=$(( $* ))
350 }'
351 else
352 as_fn_arith ()
353 {
354 as_val=`expr "$@" || test $? -eq 1`
355 }
356 fi # as_fn_arith
357
358
359 # as_fn_error STATUS ERROR [LINENO LOG_FD]
360 # ----------------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with STATUS, using 1 if that was 0.
364 as_fn_error ()
365 {
366 as_status=$1; test $as_status -eq 0 && as_status=1
367 if test "$4"; then
368 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
370 fi
371 $as_echo "$as_me: error: $2" >&2
372 as_fn_exit $as_status
373 } # as_fn_error
374
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
377 as_expr=expr
378 else
379 as_expr=false
380 fi
381
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383 as_basename=basename
384 else
385 as_basename=false
386 fi
387
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389 as_dirname=dirname
390 else
391 as_dirname=false
392 fi
393
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398 $as_echo X/"$0" |
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
400 s//\1/
401 q
402 }
403 /^X\/\(\/\/\)$/{
404 s//\1/
405 q
406 }
407 /^X\/\(\/\).*/{
408 s//\1/
409 q
410 }
411 s/.*/./; q'`
412
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
419
420
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
426 sed -n '
427 p
428 /[$]LINENO/=
429 ' <$as_myself |
430 sed '
431 s/[$]LINENO.*/&-/
432 t lineno
433 b
434 :lineno
435 N
436 :loop
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438 t loop
439 s/-\n.*//
440 ' >$as_me.lineno &&
441 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
447 . "./$as_me.lineno"
448 # Exit status is that of the last command.
449 exit
450 }
451
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
454 -n*)
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
457 xy) ECHO_C='\c';;
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
459 ECHO_T=' ';;
460 esac;;
461 *)
462 ECHO_N='-n';;
463 esac
464
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
468 else
469 rm -f conf$$.dir
470 mkdir conf$$.dir 2>/dev/null
471 fi
472 if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
474 as_ln_s='ln -s'
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480 as_ln_s='cp -p'
481 elif ln conf$$.file conf$$ 2>/dev/null; then
482 as_ln_s=ln
483 else
484 as_ln_s='cp -p'
485 fi
486 else
487 as_ln_s='cp -p'
488 fi
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
491
492 if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
494 else
495 test -d ./-p && rmdir ./-p
496 as_mkdir_p=false
497 fi
498
499 if test -x / >/dev/null 2>&1; then
500 as_test_x='test -x'
501 else
502 if ls -dL / >/dev/null 2>&1; then
503 as_ls_L_option=L
504 else
505 as_ls_L_option=
506 fi
507 as_test_x='
508 eval sh -c '\''
509 if test -d "$1"; then
510 test -d "$1/.";
511 else
512 case $1 in #(
513 -*)set "./$1";;
514 esac;
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
517 '\'' sh
518 '
519 fi
520 as_executable_p=$as_test_x
521
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
528
529
530 # Check that we are running under the correct shell.
531 SHELL=${CONFIG_SHELL-/bin/sh}
532
533 case X$lt_ECHO in
534 X*--fallback-echo)
535 # Remove one level of quotation (which was required for Make).
536 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
537 ;;
538 esac
539
540 ECHO=${lt_ECHO-echo}
541 if test "X$1" = X--no-reexec; then
542 # Discard the --no-reexec flag, and continue.
543 shift
544 elif test "X$1" = X--fallback-echo; then
545 # Avoid inline document here, it may be left over
546 :
547 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548 # Yippee, $ECHO works!
549 :
550 else
551 # Restart under the correct shell.
552 exec $SHELL "$0" --no-reexec ${1+"$@"}
553 fi
554
555 if test "X$1" = X--fallback-echo; then
556 # used as fallback echo
557 shift
558 cat <<_LT_EOF
559 $*
560 _LT_EOF
561 exit 0
562 fi
563
564 # The HP-UX ksh and POSIX shell print the target directory to stdout
565 # if CDPATH is set.
566 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
567
568 if test -z "$lt_ECHO"; then
569 if test "X${echo_test_string+set}" != Xset; then
570 # find a string as large as possible, as long as the shell can cope with it
571 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
575 then
576 break
577 fi
578 done
579 fi
580
581 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583 test "X$echo_testing_string" = "X$echo_test_string"; then
584 :
585 else
586 # The Solaris, AIX, and Digital Unix default echo programs unquote
587 # backslashes. This makes it impossible to quote backslashes using
588 # echo "$something" | sed 's/\\/\\\\/g'
589 #
590 # So, first we look for a working echo in the user's PATH.
591
592 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593 for dir in $PATH /usr/ucb; do
594 IFS="$lt_save_ifs"
595 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598 test "X$echo_testing_string" = "X$echo_test_string"; then
599 ECHO="$dir/echo"
600 break
601 fi
602 done
603 IFS="$lt_save_ifs"
604
605 if test "X$ECHO" = Xecho; then
606 # We didn't find a better echo, so look for alternatives.
607 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
610 # This shell has a builtin print -r that does the trick.
611 ECHO='print -r'
612 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613 test "X$CONFIG_SHELL" != X/bin/ksh; then
614 # If we have ksh, try running configure again with it.
615 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616 export ORIGINAL_CONFIG_SHELL
617 CONFIG_SHELL=/bin/ksh
618 export CONFIG_SHELL
619 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
620 else
621 # Try using printf.
622 ECHO='printf %s\n'
623 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625 test "X$echo_testing_string" = "X$echo_test_string"; then
626 # Cool, printf works
627 :
628 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629 test "X$echo_testing_string" = 'X\t' &&
630 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631 test "X$echo_testing_string" = "X$echo_test_string"; then
632 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
633 export CONFIG_SHELL
634 SHELL="$CONFIG_SHELL"
635 export SHELL
636 ECHO="$CONFIG_SHELL $0 --fallback-echo"
637 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638 test "X$echo_testing_string" = 'X\t' &&
639 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640 test "X$echo_testing_string" = "X$echo_test_string"; then
641 ECHO="$CONFIG_SHELL $0 --fallback-echo"
642 else
643 # maybe with a smaller string...
644 prev=:
645
646 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
648 then
649 break
650 fi
651 prev="$cmd"
652 done
653
654 if test "$prev" != 'sed 50q "$0"'; then
655 echo_test_string=`eval $prev`
656 export echo_test_string
657 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
658 else
659 # Oops. We lost completely, so just stick with echo.
660 ECHO=echo
661 fi
662 fi
663 fi
664 fi
665 fi
666 fi
667
668 # Copy echo and quote the copy suitably for passing to libtool from
669 # the Makefile, instead of quoting the original, which is used later.
670 lt_ECHO=$ECHO
671 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
673 fi
674
675
676
677
678 test -n "$DJDIR" || exec 7<&0 </dev/null
679 exec 6>&1
680
681 # Name of the host.
682 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
683 # so uname gets run too.
684 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
685
686 #
687 # Initializations.
688 #
689 ac_default_prefix=/usr/local
690 ac_clean_files=
691 ac_config_libobj_dir=.
692 LIBOBJS=
693 cross_compiling=no
694 subdirs=
695 MFLAGS=
696 MAKEFLAGS=
697
698 # Identity of this package.
699 PACKAGE_NAME='urweb_feed'
700 PACKAGE_TARNAME='urweb_feed'
701 PACKAGE_VERSION='1.0'
702 PACKAGE_STRING='urweb_feed 1.0'
703 PACKAGE_BUGREPORT=''
704 PACKAGE_URL=''
705
706 # Factoring default headers for most tests.
707 ac_includes_default="\
708 #include <stdio.h>
709 #ifdef HAVE_SYS_TYPES_H
710 # include <sys/types.h>
711 #endif
712 #ifdef HAVE_SYS_STAT_H
713 # include <sys/stat.h>
714 #endif
715 #ifdef STDC_HEADERS
716 # include <stdlib.h>
717 # include <stddef.h>
718 #else
719 # ifdef HAVE_STDLIB_H
720 # include <stdlib.h>
721 # endif
722 #endif
723 #ifdef HAVE_STRING_H
724 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
725 # include <memory.h>
726 # endif
727 # include <string.h>
728 #endif
729 #ifdef HAVE_STRINGS_H
730 # include <strings.h>
731 #endif
732 #ifdef HAVE_INTTYPES_H
733 # include <inttypes.h>
734 #endif
735 #ifdef HAVE_STDINT_H
736 # include <stdint.h>
737 #endif
738 #ifdef HAVE_UNISTD_H
739 # include <unistd.h>
740 #endif"
741
742 ac_subst_vars='am__EXEEXT_FALSE
743 am__EXEEXT_TRUE
744 LTLIBOBJS
745 LIBOBJS
746 INCLUDE
747 LIB
748 LIBCURL
749 LIBCURL_CPPFLAGS
750 _libcurl_config
751 OTOOL64
752 OTOOL
753 LIPO
754 NMEDIT
755 DSYMUTIL
756 lt_ECHO
757 RANLIB
758 AR
759 OBJDUMP
760 LN_S
761 NM
762 ac_ct_DUMPBIN
763 DUMPBIN
764 LD
765 FGREP
766 SED
767 host_os
768 host_vendor
769 host_cpu
770 host
771 build_os
772 build_vendor
773 build_cpu
774 build
775 LIBTOOL
776 am__fastdepCC_FALSE
777 am__fastdepCC_TRUE
778 CCDEPMODE
779 AMDEPBACKSLASH
780 AMDEP_FALSE
781 AMDEP_TRUE
782 am__quote
783 am__include
784 DEPDIR
785 am__untar
786 am__tar
787 AMTAR
788 am__leading_dot
789 SET_MAKE
790 AWK
791 mkdir_p
792 MKDIR_P
793 INSTALL_STRIP_PROGRAM
794 STRIP
795 install_sh
796 MAKEINFO
797 AUTOHEADER
798 AUTOMAKE
799 AUTOCONF
800 ACLOCAL
801 VERSION
802 PACKAGE
803 CYGPATH_W
804 am__isrc
805 INSTALL_DATA
806 INSTALL_SCRIPT
807 INSTALL_PROGRAM
808 EGREP
809 GREP
810 CPP
811 OBJEXT
812 EXEEXT
813 ac_ct_CC
814 CPPFLAGS
815 LDFLAGS
816 CFLAGS
817 CC
818 target_alias
819 host_alias
820 build_alias
821 LIBS
822 ECHO_T
823 ECHO_N
824 ECHO_C
825 DEFS
826 mandir
827 localedir
828 libdir
829 psdir
830 pdfdir
831 dvidir
832 htmldir
833 infodir
834 docdir
835 oldincludedir
836 includedir
837 localstatedir
838 sharedstatedir
839 sysconfdir
840 datadir
841 datarootdir
842 libexecdir
843 sbindir
844 bindir
845 program_transform_name
846 prefix
847 exec_prefix
848 PACKAGE_URL
849 PACKAGE_BUGREPORT
850 PACKAGE_STRING
851 PACKAGE_VERSION
852 PACKAGE_TARNAME
853 PACKAGE_NAME
854 PATH_SEPARATOR
855 SHELL'
856 ac_subst_files=''
857 ac_user_opts='
858 enable_option_checking
859 enable_dependency_tracking
860 enable_shared
861 enable_static
862 with_pic
863 enable_fast_install
864 with_gnu_ld
865 enable_libtool_lock
866 with_libcurl
867 '
868 ac_precious_vars='build_alias
869 host_alias
870 target_alias
871 CC
872 CFLAGS
873 LDFLAGS
874 LIBS
875 CPPFLAGS
876 CPP'
877
878
879 # Initialize some variables set by options.
880 ac_init_help=
881 ac_init_version=false
882 ac_unrecognized_opts=
883 ac_unrecognized_sep=
884 # The variables have the same names as the options, with
885 # dashes changed to underlines.
886 cache_file=/dev/null
887 exec_prefix=NONE
888 no_create=
889 no_recursion=
890 prefix=NONE
891 program_prefix=NONE
892 program_suffix=NONE
893 program_transform_name=s,x,x,
894 silent=
895 site=
896 srcdir=
897 verbose=
898 x_includes=NONE
899 x_libraries=NONE
900
901 # Installation directory options.
902 # These are left unexpanded so users can "make install exec_prefix=/foo"
903 # and all the variables that are supposed to be based on exec_prefix
904 # by default will actually change.
905 # Use braces instead of parens because sh, perl, etc. also accept them.
906 # (The list follows the same order as the GNU Coding Standards.)
907 bindir='${exec_prefix}/bin'
908 sbindir='${exec_prefix}/sbin'
909 libexecdir='${exec_prefix}/libexec'
910 datarootdir='${prefix}/share'
911 datadir='${datarootdir}'
912 sysconfdir='${prefix}/etc'
913 sharedstatedir='${prefix}/com'
914 localstatedir='${prefix}/var'
915 includedir='${prefix}/include'
916 oldincludedir='/usr/include'
917 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
918 infodir='${datarootdir}/info'
919 htmldir='${docdir}'
920 dvidir='${docdir}'
921 pdfdir='${docdir}'
922 psdir='${docdir}'
923 libdir='${exec_prefix}/lib'
924 localedir='${datarootdir}/locale'
925 mandir='${datarootdir}/man'
926
927 ac_prev=
928 ac_dashdash=
929 for ac_option
930 do
931 # If the previous option needs an argument, assign it.
932 if test -n "$ac_prev"; then
933 eval $ac_prev=\$ac_option
934 ac_prev=
935 continue
936 fi
937
938 case $ac_option in
939 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
940 *=) ac_optarg= ;;
941 *) ac_optarg=yes ;;
942 esac
943
944 # Accept the important Cygnus configure options, so we can diagnose typos.
945
946 case $ac_dashdash$ac_option in
947 --)
948 ac_dashdash=yes ;;
949
950 -bindir | --bindir | --bindi | --bind | --bin | --bi)
951 ac_prev=bindir ;;
952 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
953 bindir=$ac_optarg ;;
954
955 -build | --build | --buil | --bui | --bu)
956 ac_prev=build_alias ;;
957 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
958 build_alias=$ac_optarg ;;
959
960 -cache-file | --cache-file | --cache-fil | --cache-fi \
961 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
962 ac_prev=cache_file ;;
963 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
964 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
965 cache_file=$ac_optarg ;;
966
967 --config-cache | -C)
968 cache_file=config.cache ;;
969
970 -datadir | --datadir | --datadi | --datad)
971 ac_prev=datadir ;;
972 -datadir=* | --datadir=* | --datadi=* | --datad=*)
973 datadir=$ac_optarg ;;
974
975 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
976 | --dataroo | --dataro | --datar)
977 ac_prev=datarootdir ;;
978 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
979 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
980 datarootdir=$ac_optarg ;;
981
982 -disable-* | --disable-*)
983 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
984 # Reject names that are not valid shell variable names.
985 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
986 as_fn_error $? "invalid feature name: $ac_useropt"
987 ac_useropt_orig=$ac_useropt
988 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
989 case $ac_user_opts in
990 *"
991 "enable_$ac_useropt"
992 "*) ;;
993 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
994 ac_unrecognized_sep=', ';;
995 esac
996 eval enable_$ac_useropt=no ;;
997
998 -docdir | --docdir | --docdi | --doc | --do)
999 ac_prev=docdir ;;
1000 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1001 docdir=$ac_optarg ;;
1002
1003 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1004 ac_prev=dvidir ;;
1005 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1006 dvidir=$ac_optarg ;;
1007
1008 -enable-* | --enable-*)
1009 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1010 # Reject names that are not valid shell variable names.
1011 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1012 as_fn_error $? "invalid feature name: $ac_useropt"
1013 ac_useropt_orig=$ac_useropt
1014 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1015 case $ac_user_opts in
1016 *"
1017 "enable_$ac_useropt"
1018 "*) ;;
1019 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1020 ac_unrecognized_sep=', ';;
1021 esac
1022 eval enable_$ac_useropt=\$ac_optarg ;;
1023
1024 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1025 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1026 | --exec | --exe | --ex)
1027 ac_prev=exec_prefix ;;
1028 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1029 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1030 | --exec=* | --exe=* | --ex=*)
1031 exec_prefix=$ac_optarg ;;
1032
1033 -gas | --gas | --ga | --g)
1034 # Obsolete; use --with-gas.
1035 with_gas=yes ;;
1036
1037 -help | --help | --hel | --he | -h)
1038 ac_init_help=long ;;
1039 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1040 ac_init_help=recursive ;;
1041 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1042 ac_init_help=short ;;
1043
1044 -host | --host | --hos | --ho)
1045 ac_prev=host_alias ;;
1046 -host=* | --host=* | --hos=* | --ho=*)
1047 host_alias=$ac_optarg ;;
1048
1049 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1050 ac_prev=htmldir ;;
1051 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1052 | --ht=*)
1053 htmldir=$ac_optarg ;;
1054
1055 -includedir | --includedir | --includedi | --included | --include \
1056 | --includ | --inclu | --incl | --inc)
1057 ac_prev=includedir ;;
1058 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1059 | --includ=* | --inclu=* | --incl=* | --inc=*)
1060 includedir=$ac_optarg ;;
1061
1062 -infodir | --infodir | --infodi | --infod | --info | --inf)
1063 ac_prev=infodir ;;
1064 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1065 infodir=$ac_optarg ;;
1066
1067 -libdir | --libdir | --libdi | --libd)
1068 ac_prev=libdir ;;
1069 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1070 libdir=$ac_optarg ;;
1071
1072 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1073 | --libexe | --libex | --libe)
1074 ac_prev=libexecdir ;;
1075 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1076 | --libexe=* | --libex=* | --libe=*)
1077 libexecdir=$ac_optarg ;;
1078
1079 -localedir | --localedir | --localedi | --localed | --locale)
1080 ac_prev=localedir ;;
1081 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1082 localedir=$ac_optarg ;;
1083
1084 -localstatedir | --localstatedir | --localstatedi | --localstated \
1085 | --localstate | --localstat | --localsta | --localst | --locals)
1086 ac_prev=localstatedir ;;
1087 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1088 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1089 localstatedir=$ac_optarg ;;
1090
1091 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1092 ac_prev=mandir ;;
1093 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1094 mandir=$ac_optarg ;;
1095
1096 -nfp | --nfp | --nf)
1097 # Obsolete; use --without-fp.
1098 with_fp=no ;;
1099
1100 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1101 | --no-cr | --no-c | -n)
1102 no_create=yes ;;
1103
1104 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1105 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1106 no_recursion=yes ;;
1107
1108 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1109 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1110 | --oldin | --oldi | --old | --ol | --o)
1111 ac_prev=oldincludedir ;;
1112 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1113 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1114 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1115 oldincludedir=$ac_optarg ;;
1116
1117 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1118 ac_prev=prefix ;;
1119 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1120 prefix=$ac_optarg ;;
1121
1122 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1123 | --program-pre | --program-pr | --program-p)
1124 ac_prev=program_prefix ;;
1125 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1126 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1127 program_prefix=$ac_optarg ;;
1128
1129 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1130 | --program-suf | --program-su | --program-s)
1131 ac_prev=program_suffix ;;
1132 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1133 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1134 program_suffix=$ac_optarg ;;
1135
1136 -program-transform-name | --program-transform-name \
1137 | --program-transform-nam | --program-transform-na \
1138 | --program-transform-n | --program-transform- \
1139 | --program-transform | --program-transfor \
1140 | --program-transfo | --program-transf \
1141 | --program-trans | --program-tran \
1142 | --progr-tra | --program-tr | --program-t)
1143 ac_prev=program_transform_name ;;
1144 -program-transform-name=* | --program-transform-name=* \
1145 | --program-transform-nam=* | --program-transform-na=* \
1146 | --program-transform-n=* | --program-transform-=* \
1147 | --program-transform=* | --program-transfor=* \
1148 | --program-transfo=* | --program-transf=* \
1149 | --program-trans=* | --program-tran=* \
1150 | --progr-tra=* | --program-tr=* | --program-t=*)
1151 program_transform_name=$ac_optarg ;;
1152
1153 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1154 ac_prev=pdfdir ;;
1155 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1156 pdfdir=$ac_optarg ;;
1157
1158 -psdir | --psdir | --psdi | --psd | --ps)
1159 ac_prev=psdir ;;
1160 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1161 psdir=$ac_optarg ;;
1162
1163 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1164 | -silent | --silent | --silen | --sile | --sil)
1165 silent=yes ;;
1166
1167 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1168 ac_prev=sbindir ;;
1169 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1170 | --sbi=* | --sb=*)
1171 sbindir=$ac_optarg ;;
1172
1173 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1174 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1175 | --sharedst | --shareds | --shared | --share | --shar \
1176 | --sha | --sh)
1177 ac_prev=sharedstatedir ;;
1178 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1179 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1180 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1181 | --sha=* | --sh=*)
1182 sharedstatedir=$ac_optarg ;;
1183
1184 -site | --site | --sit)
1185 ac_prev=site ;;
1186 -site=* | --site=* | --sit=*)
1187 site=$ac_optarg ;;
1188
1189 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1190 ac_prev=srcdir ;;
1191 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1192 srcdir=$ac_optarg ;;
1193
1194 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1195 | --syscon | --sysco | --sysc | --sys | --sy)
1196 ac_prev=sysconfdir ;;
1197 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1198 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1199 sysconfdir=$ac_optarg ;;
1200
1201 -target | --target | --targe | --targ | --tar | --ta | --t)
1202 ac_prev=target_alias ;;
1203 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1204 target_alias=$ac_optarg ;;
1205
1206 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1207 verbose=yes ;;
1208
1209 -version | --version | --versio | --versi | --vers | -V)
1210 ac_init_version=: ;;
1211
1212 -with-* | --with-*)
1213 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1214 # Reject names that are not valid shell variable names.
1215 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1216 as_fn_error $? "invalid package name: $ac_useropt"
1217 ac_useropt_orig=$ac_useropt
1218 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1219 case $ac_user_opts in
1220 *"
1221 "with_$ac_useropt"
1222 "*) ;;
1223 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1224 ac_unrecognized_sep=', ';;
1225 esac
1226 eval with_$ac_useropt=\$ac_optarg ;;
1227
1228 -without-* | --without-*)
1229 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1230 # Reject names that are not valid shell variable names.
1231 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1232 as_fn_error $? "invalid package name: $ac_useropt"
1233 ac_useropt_orig=$ac_useropt
1234 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1235 case $ac_user_opts in
1236 *"
1237 "with_$ac_useropt"
1238 "*) ;;
1239 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1240 ac_unrecognized_sep=', ';;
1241 esac
1242 eval with_$ac_useropt=no ;;
1243
1244 --x)
1245 # Obsolete; use --with-x.
1246 with_x=yes ;;
1247
1248 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1249 | --x-incl | --x-inc | --x-in | --x-i)
1250 ac_prev=x_includes ;;
1251 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1252 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1253 x_includes=$ac_optarg ;;
1254
1255 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1256 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1257 ac_prev=x_libraries ;;
1258 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1259 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1260 x_libraries=$ac_optarg ;;
1261
1262 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1263 Try \`$0 --help' for more information"
1264 ;;
1265
1266 *=*)
1267 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1268 # Reject names that are not valid shell variable names.
1269 case $ac_envvar in #(
1270 '' | [0-9]* | *[!_$as_cr_alnum]* )
1271 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1272 esac
1273 eval $ac_envvar=\$ac_optarg
1274 export $ac_envvar ;;
1275
1276 *)
1277 # FIXME: should be removed in autoconf 3.0.
1278 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1279 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1280 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1281 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1282 ;;
1283
1284 esac
1285 done
1286
1287 if test -n "$ac_prev"; then
1288 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1289 as_fn_error $? "missing argument to $ac_option"
1290 fi
1291
1292 if test -n "$ac_unrecognized_opts"; then
1293 case $enable_option_checking in
1294 no) ;;
1295 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1296 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1297 esac
1298 fi
1299
1300 # Check all directory arguments for consistency.
1301 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1302 datadir sysconfdir sharedstatedir localstatedir includedir \
1303 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1304 libdir localedir mandir
1305 do
1306 eval ac_val=\$$ac_var
1307 # Remove trailing slashes.
1308 case $ac_val in
1309 */ )
1310 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1311 eval $ac_var=\$ac_val;;
1312 esac
1313 # Be sure to have absolute directory names.
1314 case $ac_val in
1315 [\\/$]* | ?:[\\/]* ) continue;;
1316 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1317 esac
1318 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1319 done
1320
1321 # There might be people who depend on the old broken behavior: `$host'
1322 # used to hold the argument of --host etc.
1323 # FIXME: To remove some day.
1324 build=$build_alias
1325 host=$host_alias
1326 target=$target_alias
1327
1328 # FIXME: To remove some day.
1329 if test "x$host_alias" != x; then
1330 if test "x$build_alias" = x; then
1331 cross_compiling=maybe
1332 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1333 If a cross compiler is detected then cross compile mode will be used" >&2
1334 elif test "x$build_alias" != "x$host_alias"; then
1335 cross_compiling=yes
1336 fi
1337 fi
1338
1339 ac_tool_prefix=
1340 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1341
1342 test "$silent" = yes && exec 6>/dev/null
1343
1344
1345 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1346 ac_ls_di=`ls -di .` &&
1347 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1348 as_fn_error $? "working directory cannot be determined"
1349 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1350 as_fn_error $? "pwd does not report name of working directory"
1351
1352
1353 # Find the source files, if location was not specified.
1354 if test -z "$srcdir"; then
1355 ac_srcdir_defaulted=yes
1356 # Try the directory containing this script, then the parent directory.
1357 ac_confdir=`$as_dirname -- "$as_myself" ||
1358 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1359 X"$as_myself" : 'X\(//\)[^/]' \| \
1360 X"$as_myself" : 'X\(//\)$' \| \
1361 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1362 $as_echo X"$as_myself" |
1363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1364 s//\1/
1365 q
1366 }
1367 /^X\(\/\/\)[^/].*/{
1368 s//\1/
1369 q
1370 }
1371 /^X\(\/\/\)$/{
1372 s//\1/
1373 q
1374 }
1375 /^X\(\/\).*/{
1376 s//\1/
1377 q
1378 }
1379 s/.*/./; q'`
1380 srcdir=$ac_confdir
1381 if test ! -r "$srcdir/$ac_unique_file"; then
1382 srcdir=..
1383 fi
1384 else
1385 ac_srcdir_defaulted=no
1386 fi
1387 if test ! -r "$srcdir/$ac_unique_file"; then
1388 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1389 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1390 fi
1391 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1392 ac_abs_confdir=`(
1393 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1394 pwd)`
1395 # When building in place, set srcdir=.
1396 if test "$ac_abs_confdir" = "$ac_pwd"; then
1397 srcdir=.
1398 fi
1399 # Remove unnecessary trailing slashes from srcdir.
1400 # Double slashes in file names in object file debugging info
1401 # mess up M-x gdb in Emacs.
1402 case $srcdir in
1403 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1404 esac
1405 for ac_var in $ac_precious_vars; do
1406 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1407 eval ac_env_${ac_var}_value=\$${ac_var}
1408 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1409 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1410 done
1411
1412 #
1413 # Report the --help message.
1414 #
1415 if test "$ac_init_help" = "long"; then
1416 # Omit some internal or obsolete options to make the list less imposing.
1417 # This message is too long to be a string in the A/UX 3.1 sh.
1418 cat <<_ACEOF
1419 \`configure' configures urweb_feed 1.0 to adapt to many kinds of systems.
1420
1421 Usage: $0 [OPTION]... [VAR=VALUE]...
1422
1423 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1424 VAR=VALUE. See below for descriptions of some of the useful variables.
1425
1426 Defaults for the options are specified in brackets.
1427
1428 Configuration:
1429 -h, --help display this help and exit
1430 --help=short display options specific to this package
1431 --help=recursive display the short help of all the included packages
1432 -V, --version display version information and exit
1433 -q, --quiet, --silent do not print \`checking ...' messages
1434 --cache-file=FILE cache test results in FILE [disabled]
1435 -C, --config-cache alias for \`--cache-file=config.cache'
1436 -n, --no-create do not create output files
1437 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1438
1439 Installation directories:
1440 --prefix=PREFIX install architecture-independent files in PREFIX
1441 [$ac_default_prefix]
1442 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1443 [PREFIX]
1444
1445 By default, \`make install' will install all the files in
1446 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1447 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1448 for instance \`--prefix=\$HOME'.
1449
1450 For better control, use the options below.
1451
1452 Fine tuning of the installation directories:
1453 --bindir=DIR user executables [EPREFIX/bin]
1454 --sbindir=DIR system admin executables [EPREFIX/sbin]
1455 --libexecdir=DIR program executables [EPREFIX/libexec]
1456 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1457 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1458 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1459 --libdir=DIR object code libraries [EPREFIX/lib]
1460 --includedir=DIR C header files [PREFIX/include]
1461 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1462 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1463 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1464 --infodir=DIR info documentation [DATAROOTDIR/info]
1465 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1466 --mandir=DIR man documentation [DATAROOTDIR/man]
1467 --docdir=DIR documentation root [DATAROOTDIR/doc/urweb_feed]
1468 --htmldir=DIR html documentation [DOCDIR]
1469 --dvidir=DIR dvi documentation [DOCDIR]
1470 --pdfdir=DIR pdf documentation [DOCDIR]
1471 --psdir=DIR ps documentation [DOCDIR]
1472 _ACEOF
1473
1474 cat <<\_ACEOF
1475
1476 Program names:
1477 --program-prefix=PREFIX prepend PREFIX to installed program names
1478 --program-suffix=SUFFIX append SUFFIX to installed program names
1479 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1480
1481 System types:
1482 --build=BUILD configure for building on BUILD [guessed]
1483 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1484 _ACEOF
1485 fi
1486
1487 if test -n "$ac_init_help"; then
1488 case $ac_init_help in
1489 short | recursive ) echo "Configuration of urweb_feed 1.0:";;
1490 esac
1491 cat <<\_ACEOF
1492
1493 Optional Features:
1494 --disable-option-checking ignore unrecognized --enable/--with options
1495 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1496 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1497 --disable-dependency-tracking speeds up one-time build
1498 --enable-dependency-tracking do not reject slow dependency extractors
1499 --enable-shared[=PKGS] build shared libraries [default=yes]
1500 --enable-static[=PKGS] build static libraries [default=yes]
1501 --enable-fast-install[=PKGS]
1502 optimize for fast installation [default=yes]
1503 --disable-libtool-lock avoid locking (might break parallel builds)
1504
1505 Optional Packages:
1506 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1507 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1508 --with-pic try to use only PIC/non-PIC objects [default=use
1509 both]
1510 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1511 --with-libcurl=DIR look for the curl library in DIR
1512
1513 Some influential environment variables:
1514 CC C compiler command
1515 CFLAGS C compiler flags
1516 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1517 nonstandard directory <lib dir>
1518 LIBS libraries to pass to the linker, e.g. -l<library>
1519 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1520 you have headers in a nonstandard directory <include dir>
1521 CPP C preprocessor
1522
1523 Use these variables to override the choices made by `configure' or to help
1524 it to find libraries and programs with nonstandard names/locations.
1525
1526 Report bugs to the package provider.
1527 _ACEOF
1528 ac_status=$?
1529 fi
1530
1531 if test "$ac_init_help" = "recursive"; then
1532 # If there are subdirs, report their specific --help.
1533 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1534 test -d "$ac_dir" ||
1535 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1536 continue
1537 ac_builddir=.
1538
1539 case "$ac_dir" in
1540 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1541 *)
1542 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1543 # A ".." for each directory in $ac_dir_suffix.
1544 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1545 case $ac_top_builddir_sub in
1546 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1547 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1548 esac ;;
1549 esac
1550 ac_abs_top_builddir=$ac_pwd
1551 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1552 # for backward compatibility:
1553 ac_top_builddir=$ac_top_build_prefix
1554
1555 case $srcdir in
1556 .) # We are building in place.
1557 ac_srcdir=.
1558 ac_top_srcdir=$ac_top_builddir_sub
1559 ac_abs_top_srcdir=$ac_pwd ;;
1560 [\\/]* | ?:[\\/]* ) # Absolute name.
1561 ac_srcdir=$srcdir$ac_dir_suffix;
1562 ac_top_srcdir=$srcdir
1563 ac_abs_top_srcdir=$srcdir ;;
1564 *) # Relative name.
1565 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1566 ac_top_srcdir=$ac_top_build_prefix$srcdir
1567 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1568 esac
1569 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1570
1571 cd "$ac_dir" || { ac_status=$?; continue; }
1572 # Check for guested configure.
1573 if test -f "$ac_srcdir/configure.gnu"; then
1574 echo &&
1575 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1576 elif test -f "$ac_srcdir/configure"; then
1577 echo &&
1578 $SHELL "$ac_srcdir/configure" --help=recursive
1579 else
1580 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1581 fi || ac_status=$?
1582 cd "$ac_pwd" || { ac_status=$?; break; }
1583 done
1584 fi
1585
1586 test -n "$ac_init_help" && exit $ac_status
1587 if $ac_init_version; then
1588 cat <<\_ACEOF
1589 urweb_feed configure 1.0
1590 generated by GNU Autoconf 2.67
1591
1592 Copyright (C) 2010 Free Software Foundation, Inc.
1593 This configure script is free software; the Free Software Foundation
1594 gives unlimited permission to copy, distribute and modify it.
1595 _ACEOF
1596 exit
1597 fi
1598
1599 ## ------------------------ ##
1600 ## Autoconf initialization. ##
1601 ## ------------------------ ##
1602
1603 # ac_fn_c_try_compile LINENO
1604 # --------------------------
1605 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1606 ac_fn_c_try_compile ()
1607 {
1608 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1609 rm -f conftest.$ac_objext
1610 if { { ac_try="$ac_compile"
1611 case "(($ac_try" in
1612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1613 *) ac_try_echo=$ac_try;;
1614 esac
1615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1616 $as_echo "$ac_try_echo"; } >&5
1617 (eval "$ac_compile") 2>conftest.err
1618 ac_status=$?
1619 if test -s conftest.err; then
1620 grep -v '^ *+' conftest.err >conftest.er1
1621 cat conftest.er1 >&5
1622 mv -f conftest.er1 conftest.err
1623 fi
1624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1625 test $ac_status = 0; } && {
1626 test -z "$ac_c_werror_flag" ||
1627 test ! -s conftest.err
1628 } && test -s conftest.$ac_objext; then :
1629 ac_retval=0
1630 else
1631 $as_echo "$as_me: failed program was:" >&5
1632 sed 's/^/| /' conftest.$ac_ext >&5
1633
1634 ac_retval=1
1635 fi
1636 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1637 as_fn_set_status $ac_retval
1638
1639 } # ac_fn_c_try_compile
1640
1641 # ac_fn_c_try_cpp LINENO
1642 # ----------------------
1643 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1644 ac_fn_c_try_cpp ()
1645 {
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 if { { ac_try="$ac_cpp conftest.$ac_ext"
1648 case "(($ac_try" in
1649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1650 *) ac_try_echo=$ac_try;;
1651 esac
1652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1653 $as_echo "$ac_try_echo"; } >&5
1654 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1655 ac_status=$?
1656 if test -s conftest.err; then
1657 grep -v '^ *+' conftest.err >conftest.er1
1658 cat conftest.er1 >&5
1659 mv -f conftest.er1 conftest.err
1660 fi
1661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1662 test $ac_status = 0; } > conftest.i && {
1663 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1664 test ! -s conftest.err
1665 }; then :
1666 ac_retval=0
1667 else
1668 $as_echo "$as_me: failed program was:" >&5
1669 sed 's/^/| /' conftest.$ac_ext >&5
1670
1671 ac_retval=1
1672 fi
1673 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1674 as_fn_set_status $ac_retval
1675
1676 } # ac_fn_c_try_cpp
1677
1678 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1679 # -------------------------------------------------------
1680 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1681 # the include files in INCLUDES and setting the cache variable VAR
1682 # accordingly.
1683 ac_fn_c_check_header_mongrel ()
1684 {
1685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1686 if eval "test \"\${$3+set}\"" = set; then :
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1688 $as_echo_n "checking for $2... " >&6; }
1689 if eval "test \"\${$3+set}\"" = set; then :
1690 $as_echo_n "(cached) " >&6
1691 fi
1692 eval ac_res=\$$3
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1694 $as_echo "$ac_res" >&6; }
1695 else
1696 # Is the header compilable?
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1698 $as_echo_n "checking $2 usability... " >&6; }
1699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1700 /* end confdefs.h. */
1701 $4
1702 #include <$2>
1703 _ACEOF
1704 if ac_fn_c_try_compile "$LINENO"; then :
1705 ac_header_compiler=yes
1706 else
1707 ac_header_compiler=no
1708 fi
1709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1711 $as_echo "$ac_header_compiler" >&6; }
1712
1713 # Is the header present?
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1715 $as_echo_n "checking $2 presence... " >&6; }
1716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1717 /* end confdefs.h. */
1718 #include <$2>
1719 _ACEOF
1720 if ac_fn_c_try_cpp "$LINENO"; then :
1721 ac_header_preproc=yes
1722 else
1723 ac_header_preproc=no
1724 fi
1725 rm -f conftest.err conftest.i conftest.$ac_ext
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1727 $as_echo "$ac_header_preproc" >&6; }
1728
1729 # So? What about this header?
1730 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1731 yes:no: )
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1733 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1735 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1736 ;;
1737 no:yes:* )
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1739 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1741 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1743 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1745 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1747 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1748 ;;
1749 esac
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1751 $as_echo_n "checking for $2... " >&6; }
1752 if eval "test \"\${$3+set}\"" = set; then :
1753 $as_echo_n "(cached) " >&6
1754 else
1755 eval "$3=\$ac_header_compiler"
1756 fi
1757 eval ac_res=\$$3
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1759 $as_echo "$ac_res" >&6; }
1760 fi
1761 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1762
1763 } # ac_fn_c_check_header_mongrel
1764
1765 # ac_fn_c_try_run LINENO
1766 # ----------------------
1767 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1768 # that executables *can* be run.
1769 ac_fn_c_try_run ()
1770 {
1771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1772 if { { ac_try="$ac_link"
1773 case "(($ac_try" in
1774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1775 *) ac_try_echo=$ac_try;;
1776 esac
1777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779 (eval "$ac_link") 2>&5
1780 ac_status=$?
1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1783 { { case "(($ac_try" in
1784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1785 *) ac_try_echo=$ac_try;;
1786 esac
1787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 $as_echo "$ac_try_echo"; } >&5
1789 (eval "$ac_try") 2>&5
1790 ac_status=$?
1791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1792 test $ac_status = 0; }; }; then :
1793 ac_retval=0
1794 else
1795 $as_echo "$as_me: program exited with status $ac_status" >&5
1796 $as_echo "$as_me: failed program was:" >&5
1797 sed 's/^/| /' conftest.$ac_ext >&5
1798
1799 ac_retval=$ac_status
1800 fi
1801 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1802 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1803 as_fn_set_status $ac_retval
1804
1805 } # ac_fn_c_try_run
1806
1807 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1808 # -------------------------------------------------------
1809 # Tests whether HEADER exists and can be compiled using the include files in
1810 # INCLUDES, setting the cache variable VAR accordingly.
1811 ac_fn_c_check_header_compile ()
1812 {
1813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1815 $as_echo_n "checking for $2... " >&6; }
1816 if eval "test \"\${$3+set}\"" = set; then :
1817 $as_echo_n "(cached) " >&6
1818 else
1819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1820 /* end confdefs.h. */
1821 $4
1822 #include <$2>
1823 _ACEOF
1824 if ac_fn_c_try_compile "$LINENO"; then :
1825 eval "$3=yes"
1826 else
1827 eval "$3=no"
1828 fi
1829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1830 fi
1831 eval ac_res=\$$3
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1833 $as_echo "$ac_res" >&6; }
1834 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1835
1836 } # ac_fn_c_check_header_compile
1837
1838 # ac_fn_c_try_link LINENO
1839 # -----------------------
1840 # Try to link conftest.$ac_ext, and return whether this succeeded.
1841 ac_fn_c_try_link ()
1842 {
1843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1844 rm -f conftest.$ac_objext conftest$ac_exeext
1845 if { { ac_try="$ac_link"
1846 case "(($ac_try" in
1847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1848 *) ac_try_echo=$ac_try;;
1849 esac
1850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1851 $as_echo "$ac_try_echo"; } >&5
1852 (eval "$ac_link") 2>conftest.err
1853 ac_status=$?
1854 if test -s conftest.err; then
1855 grep -v '^ *+' conftest.err >conftest.er1
1856 cat conftest.er1 >&5
1857 mv -f conftest.er1 conftest.err
1858 fi
1859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860 test $ac_status = 0; } && {
1861 test -z "$ac_c_werror_flag" ||
1862 test ! -s conftest.err
1863 } && test -s conftest$ac_exeext && {
1864 test "$cross_compiling" = yes ||
1865 $as_test_x conftest$ac_exeext
1866 }; then :
1867 ac_retval=0
1868 else
1869 $as_echo "$as_me: failed program was:" >&5
1870 sed 's/^/| /' conftest.$ac_ext >&5
1871
1872 ac_retval=1
1873 fi
1874 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1875 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1876 # interfere with the next link command; also delete a directory that is
1877 # left behind by Apple's compiler. We do this before executing the actions.
1878 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1879 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1880 as_fn_set_status $ac_retval
1881
1882 } # ac_fn_c_try_link
1883
1884 # ac_fn_c_check_func LINENO FUNC VAR
1885 # ----------------------------------
1886 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1887 ac_fn_c_check_func ()
1888 {
1889 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1891 $as_echo_n "checking for $2... " >&6; }
1892 if eval "test \"\${$3+set}\"" = set; then :
1893 $as_echo_n "(cached) " >&6
1894 else
1895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1896 /* end confdefs.h. */
1897 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1899 #define $2 innocuous_$2
1900
1901 /* System header to define __stub macros and hopefully few prototypes,
1902 which can conflict with char $2 (); below.
1903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1904 <limits.h> exists even on freestanding compilers. */
1905
1906 #ifdef __STDC__
1907 # include <limits.h>
1908 #else
1909 # include <assert.h>
1910 #endif
1911
1912 #undef $2
1913
1914 /* Override any GCC internal prototype to avoid an error.
1915 Use char because int might match the return type of a GCC
1916 builtin and then its argument prototype would still apply. */
1917 #ifdef __cplusplus
1918 extern "C"
1919 #endif
1920 char $2 ();
1921 /* The GNU C library defines this for functions which it implements
1922 to always fail with ENOSYS. Some functions are actually named
1923 something starting with __ and the normal name is an alias. */
1924 #if defined __stub_$2 || defined __stub___$2
1925 choke me
1926 #endif
1927
1928 int
1929 main ()
1930 {
1931 return $2 ();
1932 ;
1933 return 0;
1934 }
1935 _ACEOF
1936 if ac_fn_c_try_link "$LINENO"; then :
1937 eval "$3=yes"
1938 else
1939 eval "$3=no"
1940 fi
1941 rm -f core conftest.err conftest.$ac_objext \
1942 conftest$ac_exeext conftest.$ac_ext
1943 fi
1944 eval ac_res=\$$3
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1946 $as_echo "$ac_res" >&6; }
1947 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1948
1949 } # ac_fn_c_check_func
1950 cat >config.log <<_ACEOF
1951 This file contains any messages produced by compilers while
1952 running configure, to aid debugging if configure makes a mistake.
1953
1954 It was created by urweb_feed $as_me 1.0, which was
1955 generated by GNU Autoconf 2.67. Invocation command line was
1956
1957 $ $0 $@
1958
1959 _ACEOF
1960 exec 5>>config.log
1961 {
1962 cat <<_ASUNAME
1963 ## --------- ##
1964 ## Platform. ##
1965 ## --------- ##
1966
1967 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1968 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1969 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1970 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1971 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1972
1973 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1974 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1975
1976 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1977 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1978 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1979 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1980 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1981 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1982 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1983
1984 _ASUNAME
1985
1986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1987 for as_dir in $PATH
1988 do
1989 IFS=$as_save_IFS
1990 test -z "$as_dir" && as_dir=.
1991 $as_echo "PATH: $as_dir"
1992 done
1993 IFS=$as_save_IFS
1994
1995 } >&5
1996
1997 cat >&5 <<_ACEOF
1998
1999
2000 ## ----------- ##
2001 ## Core tests. ##
2002 ## ----------- ##
2003
2004 _ACEOF
2005
2006
2007 # Keep a trace of the command line.
2008 # Strip out --no-create and --no-recursion so they do not pile up.
2009 # Strip out --silent because we don't want to record it for future runs.
2010 # Also quote any args containing shell meta-characters.
2011 # Make two passes to allow for proper duplicate-argument suppression.
2012 ac_configure_args=
2013 ac_configure_args0=
2014 ac_configure_args1=
2015 ac_must_keep_next=false
2016 for ac_pass in 1 2
2017 do
2018 for ac_arg
2019 do
2020 case $ac_arg in
2021 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2022 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2023 | -silent | --silent | --silen | --sile | --sil)
2024 continue ;;
2025 *\'*)
2026 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2027 esac
2028 case $ac_pass in
2029 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2030 2)
2031 as_fn_append ac_configure_args1 " '$ac_arg'"
2032 if test $ac_must_keep_next = true; then
2033 ac_must_keep_next=false # Got value, back to normal.
2034 else
2035 case $ac_arg in
2036 *=* | --config-cache | -C | -disable-* | --disable-* \
2037 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2038 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2039 | -with-* | --with-* | -without-* | --without-* | --x)
2040 case "$ac_configure_args0 " in
2041 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2042 esac
2043 ;;
2044 -* ) ac_must_keep_next=true ;;
2045 esac
2046 fi
2047 as_fn_append ac_configure_args " '$ac_arg'"
2048 ;;
2049 esac
2050 done
2051 done
2052 { ac_configure_args0=; unset ac_configure_args0;}
2053 { ac_configure_args1=; unset ac_configure_args1;}
2054
2055 # When interrupted or exit'd, cleanup temporary files, and complete
2056 # config.log. We remove comments because anyway the quotes in there
2057 # would cause problems or look ugly.
2058 # WARNING: Use '\'' to represent an apostrophe within the trap.
2059 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2060 trap 'exit_status=$?
2061 # Save into config.log some information that might help in debugging.
2062 {
2063 echo
2064
2065 $as_echo "## ---------------- ##
2066 ## Cache variables. ##
2067 ## ---------------- ##"
2068 echo
2069 # The following way of writing the cache mishandles newlines in values,
2070 (
2071 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2072 eval ac_val=\$$ac_var
2073 case $ac_val in #(
2074 *${as_nl}*)
2075 case $ac_var in #(
2076 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2077 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2078 esac
2079 case $ac_var in #(
2080 _ | IFS | as_nl) ;; #(
2081 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2082 *) { eval $ac_var=; unset $ac_var;} ;;
2083 esac ;;
2084 esac
2085 done
2086 (set) 2>&1 |
2087 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2088 *${as_nl}ac_space=\ *)
2089 sed -n \
2090 "s/'\''/'\''\\\\'\'''\''/g;
2091 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2092 ;; #(
2093 *)
2094 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2095 ;;
2096 esac |
2097 sort
2098 )
2099 echo
2100
2101 $as_echo "## ----------------- ##
2102 ## Output variables. ##
2103 ## ----------------- ##"
2104 echo
2105 for ac_var in $ac_subst_vars
2106 do
2107 eval ac_val=\$$ac_var
2108 case $ac_val in
2109 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2110 esac
2111 $as_echo "$ac_var='\''$ac_val'\''"
2112 done | sort
2113 echo
2114
2115 if test -n "$ac_subst_files"; then
2116 $as_echo "## ------------------- ##
2117 ## File substitutions. ##
2118 ## ------------------- ##"
2119 echo
2120 for ac_var in $ac_subst_files
2121 do
2122 eval ac_val=\$$ac_var
2123 case $ac_val in
2124 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2125 esac
2126 $as_echo "$ac_var='\''$ac_val'\''"
2127 done | sort
2128 echo
2129 fi
2130
2131 if test -s confdefs.h; then
2132 $as_echo "## ----------- ##
2133 ## confdefs.h. ##
2134 ## ----------- ##"
2135 echo
2136 cat confdefs.h
2137 echo
2138 fi
2139 test "$ac_signal" != 0 &&
2140 $as_echo "$as_me: caught signal $ac_signal"
2141 $as_echo "$as_me: exit $exit_status"
2142 } >&5
2143 rm -f core *.core core.conftest.* &&
2144 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2145 exit $exit_status
2146 ' 0
2147 for ac_signal in 1 2 13 15; do
2148 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2149 done
2150 ac_signal=0
2151
2152 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2153 rm -f -r conftest* confdefs.h
2154
2155 $as_echo "/* confdefs.h */" > confdefs.h
2156
2157 # Predefined preprocessor variables.
2158
2159 cat >>confdefs.h <<_ACEOF
2160 #define PACKAGE_NAME "$PACKAGE_NAME"
2161 _ACEOF
2162
2163 cat >>confdefs.h <<_ACEOF
2164 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2165 _ACEOF
2166
2167 cat >>confdefs.h <<_ACEOF
2168 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2169 _ACEOF
2170
2171 cat >>confdefs.h <<_ACEOF
2172 #define PACKAGE_STRING "$PACKAGE_STRING"
2173 _ACEOF
2174
2175 cat >>confdefs.h <<_ACEOF
2176 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2177 _ACEOF
2178
2179 cat >>confdefs.h <<_ACEOF
2180 #define PACKAGE_URL "$PACKAGE_URL"
2181 _ACEOF
2182
2183
2184 # Let the site file select an alternate cache file if it wants to.
2185 # Prefer an explicitly selected file to automatically selected ones.
2186 ac_site_file1=NONE
2187 ac_site_file2=NONE
2188 if test -n "$CONFIG_SITE"; then
2189 # We do not want a PATH search for config.site.
2190 case $CONFIG_SITE in #((
2191 -*) ac_site_file1=./$CONFIG_SITE;;
2192 */*) ac_site_file1=$CONFIG_SITE;;
2193 *) ac_site_file1=./$CONFIG_SITE;;
2194 esac
2195 elif test "x$prefix" != xNONE; then
2196 ac_site_file1=$prefix/share/config.site
2197 ac_site_file2=$prefix/etc/config.site
2198 else
2199 ac_site_file1=$ac_default_prefix/share/config.site
2200 ac_site_file2=$ac_default_prefix/etc/config.site
2201 fi
2202 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2203 do
2204 test "x$ac_site_file" = xNONE && continue
2205 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2207 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2208 sed 's/^/| /' "$ac_site_file" >&5
2209 . "$ac_site_file" \
2210 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2212 as_fn_error $? "failed to load site script $ac_site_file
2213 See \`config.log' for more details" "$LINENO" 5 ; }
2214 fi
2215 done
2216
2217 if test -r "$cache_file"; then
2218 # Some versions of bash will fail to source /dev/null (special files
2219 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2220 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2222 $as_echo "$as_me: loading cache $cache_file" >&6;}
2223 case $cache_file in
2224 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2225 *) . "./$cache_file";;
2226 esac
2227 fi
2228 else
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2230 $as_echo "$as_me: creating cache $cache_file" >&6;}
2231 >$cache_file
2232 fi
2233
2234 # Check that the precious variables saved in the cache have kept the same
2235 # value.
2236 ac_cache_corrupted=false
2237 for ac_var in $ac_precious_vars; do
2238 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2239 eval ac_new_set=\$ac_env_${ac_var}_set
2240 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2241 eval ac_new_val=\$ac_env_${ac_var}_value
2242 case $ac_old_set,$ac_new_set in
2243 set,)
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2245 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2246 ac_cache_corrupted=: ;;
2247 ,set)
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2249 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2250 ac_cache_corrupted=: ;;
2251 ,);;
2252 *)
2253 if test "x$ac_old_val" != "x$ac_new_val"; then
2254 # differences in whitespace do not lead to failure.
2255 ac_old_val_w=`echo x $ac_old_val`
2256 ac_new_val_w=`echo x $ac_new_val`
2257 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2259 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2260 ac_cache_corrupted=:
2261 else
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2263 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2264 eval $ac_var=\$ac_old_val
2265 fi
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2267 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2269 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2270 fi;;
2271 esac
2272 # Pass precious variables to config.status.
2273 if test "$ac_new_set" = set; then
2274 case $ac_new_val in
2275 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2276 *) ac_arg=$ac_var=$ac_new_val ;;
2277 esac
2278 case " $ac_configure_args " in
2279 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2280 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2281 esac
2282 fi
2283 done
2284 if $ac_cache_corrupted; then
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2286 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2288 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2289 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2290 fi
2291 ## -------------------- ##
2292 ## Main body of script. ##
2293 ## -------------------- ##
2294
2295 ac_ext=c
2296 ac_cpp='$CPP $CPPFLAGS'
2297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2300
2301
2302 ac_ext=c
2303 ac_cpp='$CPP $CPPFLAGS'
2304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2307 if test -n "$ac_tool_prefix"; then
2308 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2309 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2311 $as_echo_n "checking for $ac_word... " >&6; }
2312 if test "${ac_cv_prog_CC+set}" = set; then :
2313 $as_echo_n "(cached) " >&6
2314 else
2315 if test -n "$CC"; then
2316 ac_cv_prog_CC="$CC" # Let the user override the test.
2317 else
2318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2319 for as_dir in $PATH
2320 do
2321 IFS=$as_save_IFS
2322 test -z "$as_dir" && as_dir=.
2323 for ac_exec_ext in '' $ac_executable_extensions; do
2324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2325 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2327 break 2
2328 fi
2329 done
2330 done
2331 IFS=$as_save_IFS
2332
2333 fi
2334 fi
2335 CC=$ac_cv_prog_CC
2336 if test -n "$CC"; then
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2338 $as_echo "$CC" >&6; }
2339 else
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2341 $as_echo "no" >&6; }
2342 fi
2343
2344
2345 fi
2346 if test -z "$ac_cv_prog_CC"; then
2347 ac_ct_CC=$CC
2348 # Extract the first word of "gcc", so it can be a program name with args.
2349 set dummy gcc; ac_word=$2
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2351 $as_echo_n "checking for $ac_word... " >&6; }
2352 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2353 $as_echo_n "(cached) " >&6
2354 else
2355 if test -n "$ac_ct_CC"; then
2356 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2357 else
2358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2359 for as_dir in $PATH
2360 do
2361 IFS=$as_save_IFS
2362 test -z "$as_dir" && as_dir=.
2363 for ac_exec_ext in '' $ac_executable_extensions; do
2364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2365 ac_cv_prog_ac_ct_CC="gcc"
2366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2367 break 2
2368 fi
2369 done
2370 done
2371 IFS=$as_save_IFS
2372
2373 fi
2374 fi
2375 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2376 if test -n "$ac_ct_CC"; then
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2378 $as_echo "$ac_ct_CC" >&6; }
2379 else
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2381 $as_echo "no" >&6; }
2382 fi
2383
2384 if test "x$ac_ct_CC" = x; then
2385 CC=""
2386 else
2387 case $cross_compiling:$ac_tool_warned in
2388 yes:)
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2390 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2391 ac_tool_warned=yes ;;
2392 esac
2393 CC=$ac_ct_CC
2394 fi
2395 else
2396 CC="$ac_cv_prog_CC"
2397 fi
2398
2399 if test -z "$CC"; then
2400 if test -n "$ac_tool_prefix"; then
2401 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2402 set dummy ${ac_tool_prefix}cc; ac_word=$2
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2404 $as_echo_n "checking for $ac_word... " >&6; }
2405 if test "${ac_cv_prog_CC+set}" = set; then :
2406 $as_echo_n "(cached) " >&6
2407 else
2408 if test -n "$CC"; then
2409 ac_cv_prog_CC="$CC" # Let the user override the test.
2410 else
2411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2412 for as_dir in $PATH
2413 do
2414 IFS=$as_save_IFS
2415 test -z "$as_dir" && as_dir=.
2416 for ac_exec_ext in '' $ac_executable_extensions; do
2417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2418 ac_cv_prog_CC="${ac_tool_prefix}cc"
2419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2420 break 2
2421 fi
2422 done
2423 done
2424 IFS=$as_save_IFS
2425
2426 fi
2427 fi
2428 CC=$ac_cv_prog_CC
2429 if test -n "$CC"; then
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2431 $as_echo "$CC" >&6; }
2432 else
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2434 $as_echo "no" >&6; }
2435 fi
2436
2437
2438 fi
2439 fi
2440 if test -z "$CC"; then
2441 # Extract the first word of "cc", so it can be a program name with args.
2442 set dummy cc; ac_word=$2
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2444 $as_echo_n "checking for $ac_word... " >&6; }
2445 if test "${ac_cv_prog_CC+set}" = set; then :
2446 $as_echo_n "(cached) " >&6
2447 else
2448 if test -n "$CC"; then
2449 ac_cv_prog_CC="$CC" # Let the user override the test.
2450 else
2451 ac_prog_rejected=no
2452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2453 for as_dir in $PATH
2454 do
2455 IFS=$as_save_IFS
2456 test -z "$as_dir" && as_dir=.
2457 for ac_exec_ext in '' $ac_executable_extensions; do
2458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2459 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2460 ac_prog_rejected=yes
2461 continue
2462 fi
2463 ac_cv_prog_CC="cc"
2464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2465 break 2
2466 fi
2467 done
2468 done
2469 IFS=$as_save_IFS
2470
2471 if test $ac_prog_rejected = yes; then
2472 # We found a bogon in the path, so make sure we never use it.
2473 set dummy $ac_cv_prog_CC
2474 shift
2475 if test $# != 0; then
2476 # We chose a different compiler from the bogus one.
2477 # However, it has the same basename, so the bogon will be chosen
2478 # first if we set CC to just the basename; use the full file name.
2479 shift
2480 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2481 fi
2482 fi
2483 fi
2484 fi
2485 CC=$ac_cv_prog_CC
2486 if test -n "$CC"; then
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2488 $as_echo "$CC" >&6; }
2489 else
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2491 $as_echo "no" >&6; }
2492 fi
2493
2494
2495 fi
2496 if test -z "$CC"; then
2497 if test -n "$ac_tool_prefix"; then
2498 for ac_prog in cl.exe
2499 do
2500 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2501 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2503 $as_echo_n "checking for $ac_word... " >&6; }
2504 if test "${ac_cv_prog_CC+set}" = set; then :
2505 $as_echo_n "(cached) " >&6
2506 else
2507 if test -n "$CC"; then
2508 ac_cv_prog_CC="$CC" # Let the user override the test.
2509 else
2510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2511 for as_dir in $PATH
2512 do
2513 IFS=$as_save_IFS
2514 test -z "$as_dir" && as_dir=.
2515 for ac_exec_ext in '' $ac_executable_extensions; do
2516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2517 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2519 break 2
2520 fi
2521 done
2522 done
2523 IFS=$as_save_IFS
2524
2525 fi
2526 fi
2527 CC=$ac_cv_prog_CC
2528 if test -n "$CC"; then
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2530 $as_echo "$CC" >&6; }
2531 else
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2533 $as_echo "no" >&6; }
2534 fi
2535
2536
2537 test -n "$CC" && break
2538 done
2539 fi
2540 if test -z "$CC"; then
2541 ac_ct_CC=$CC
2542 for ac_prog in cl.exe
2543 do
2544 # Extract the first word of "$ac_prog", so it can be a program name with args.
2545 set dummy $ac_prog; ac_word=$2
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2547 $as_echo_n "checking for $ac_word... " >&6; }
2548 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2549 $as_echo_n "(cached) " >&6
2550 else
2551 if test -n "$ac_ct_CC"; then
2552 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2553 else
2554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2555 for as_dir in $PATH
2556 do
2557 IFS=$as_save_IFS
2558 test -z "$as_dir" && as_dir=.
2559 for ac_exec_ext in '' $ac_executable_extensions; do
2560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2561 ac_cv_prog_ac_ct_CC="$ac_prog"
2562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2563 break 2
2564 fi
2565 done
2566 done
2567 IFS=$as_save_IFS
2568
2569 fi
2570 fi
2571 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2572 if test -n "$ac_ct_CC"; then
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2574 $as_echo "$ac_ct_CC" >&6; }
2575 else
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2577 $as_echo "no" >&6; }
2578 fi
2579
2580
2581 test -n "$ac_ct_CC" && break
2582 done
2583
2584 if test "x$ac_ct_CC" = x; then
2585 CC=""
2586 else
2587 case $cross_compiling:$ac_tool_warned in
2588 yes:)
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2590 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2591 ac_tool_warned=yes ;;
2592 esac
2593 CC=$ac_ct_CC
2594 fi
2595 fi
2596
2597 fi
2598
2599
2600 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2602 as_fn_error $? "no acceptable C compiler found in \$PATH
2603 See \`config.log' for more details" "$LINENO" 5 ; }
2604
2605 # Provide some information about the compiler.
2606 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2607 set X $ac_compile
2608 ac_compiler=$2
2609 for ac_option in --version -v -V -qversion; do
2610 { { ac_try="$ac_compiler $ac_option >&5"
2611 case "(($ac_try" in
2612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2613 *) ac_try_echo=$ac_try;;
2614 esac
2615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2616 $as_echo "$ac_try_echo"; } >&5
2617 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2618 ac_status=$?
2619 if test -s conftest.err; then
2620 sed '10a\
2621 ... rest of stderr output deleted ...
2622 10q' conftest.err >conftest.er1
2623 cat conftest.er1 >&5
2624 fi
2625 rm -f conftest.er1 conftest.err
2626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2627 test $ac_status = 0; }
2628 done
2629
2630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2631 /* end confdefs.h. */
2632
2633 int
2634 main ()
2635 {
2636
2637 ;
2638 return 0;
2639 }
2640 _ACEOF
2641 ac_clean_files_save=$ac_clean_files
2642 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2643 # Try to create an executable without -o first, disregard a.out.
2644 # It will help us diagnose broken compilers, and finding out an intuition
2645 # of exeext.
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2647 $as_echo_n "checking whether the C compiler works... " >&6; }
2648 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2649
2650 # The possible output files:
2651 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2652
2653 ac_rmfiles=
2654 for ac_file in $ac_files
2655 do
2656 case $ac_file in
2657 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2658 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2659 esac
2660 done
2661 rm -f $ac_rmfiles
2662
2663 if { { ac_try="$ac_link_default"
2664 case "(($ac_try" in
2665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2666 *) ac_try_echo=$ac_try;;
2667 esac
2668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2669 $as_echo "$ac_try_echo"; } >&5
2670 (eval "$ac_link_default") 2>&5
2671 ac_status=$?
2672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2673 test $ac_status = 0; }; then :
2674 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2675 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2676 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2677 # so that the user can short-circuit this test for compilers unknown to
2678 # Autoconf.
2679 for ac_file in $ac_files ''
2680 do
2681 test -f "$ac_file" || continue
2682 case $ac_file in
2683 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2684 ;;
2685 [ab].out )
2686 # We found the default executable, but exeext='' is most
2687 # certainly right.
2688 break;;
2689 *.* )
2690 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2691 then :; else
2692 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2693 fi
2694 # We set ac_cv_exeext here because the later test for it is not
2695 # safe: cross compilers may not add the suffix if given an `-o'
2696 # argument, so we may need to know it at that point already.
2697 # Even if this section looks crufty: it has the advantage of
2698 # actually working.
2699 break;;
2700 * )
2701 break;;
2702 esac
2703 done
2704 test "$ac_cv_exeext" = no && ac_cv_exeext=
2705
2706 else
2707 ac_file=''
2708 fi
2709 if test -z "$ac_file"; then :
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2711 $as_echo "no" >&6; }
2712 $as_echo "$as_me: failed program was:" >&5
2713 sed 's/^/| /' conftest.$ac_ext >&5
2714
2715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2717 as_fn_error 77 "C compiler cannot create executables
2718 See \`config.log' for more details" "$LINENO" 5 ; }
2719 else
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2721 $as_echo "yes" >&6; }
2722 fi
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2724 $as_echo_n "checking for C compiler default output file name... " >&6; }
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2726 $as_echo "$ac_file" >&6; }
2727 ac_exeext=$ac_cv_exeext
2728
2729 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2730 ac_clean_files=$ac_clean_files_save
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2732 $as_echo_n "checking for suffix of executables... " >&6; }
2733 if { { ac_try="$ac_link"
2734 case "(($ac_try" in
2735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2736 *) ac_try_echo=$ac_try;;
2737 esac
2738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2739 $as_echo "$ac_try_echo"; } >&5
2740 (eval "$ac_link") 2>&5
2741 ac_status=$?
2742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2743 test $ac_status = 0; }; then :
2744 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2745 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2746 # work properly (i.e., refer to `conftest.exe'), while it won't with
2747 # `rm'.
2748 for ac_file in conftest.exe conftest conftest.*; do
2749 test -f "$ac_file" || continue
2750 case $ac_file in
2751 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2752 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2753 break;;
2754 * ) break;;
2755 esac
2756 done
2757 else
2758 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2760 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2761 See \`config.log' for more details" "$LINENO" 5 ; }
2762 fi
2763 rm -f conftest conftest$ac_cv_exeext
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2765 $as_echo "$ac_cv_exeext" >&6; }
2766
2767 rm -f conftest.$ac_ext
2768 EXEEXT=$ac_cv_exeext
2769 ac_exeext=$EXEEXT
2770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2771 /* end confdefs.h. */
2772 #include <stdio.h>
2773 int
2774 main ()
2775 {
2776 FILE *f = fopen ("conftest.out", "w");
2777 return ferror (f) || fclose (f) != 0;
2778
2779 ;
2780 return 0;
2781 }
2782 _ACEOF
2783 ac_clean_files="$ac_clean_files conftest.out"
2784 # Check that the compiler produces executables we can run. If not, either
2785 # the compiler is broken, or we cross compile.
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2787 $as_echo_n "checking whether we are cross compiling... " >&6; }
2788 if test "$cross_compiling" != yes; then
2789 { { ac_try="$ac_link"
2790 case "(($ac_try" in
2791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2792 *) ac_try_echo=$ac_try;;
2793 esac
2794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2795 $as_echo "$ac_try_echo"; } >&5
2796 (eval "$ac_link") 2>&5
2797 ac_status=$?
2798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2799 test $ac_status = 0; }
2800 if { ac_try='./conftest$ac_cv_exeext'
2801 { { case "(($ac_try" in
2802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2803 *) ac_try_echo=$ac_try;;
2804 esac
2805 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2806 $as_echo "$ac_try_echo"; } >&5
2807 (eval "$ac_try") 2>&5
2808 ac_status=$?
2809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2810 test $ac_status = 0; }; }; then
2811 cross_compiling=no
2812 else
2813 if test "$cross_compiling" = maybe; then
2814 cross_compiling=yes
2815 else
2816 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2817 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2818 as_fn_error $? "cannot run C compiled programs.
2819 If you meant to cross compile, use \`--host'.
2820 See \`config.log' for more details" "$LINENO" 5 ; }
2821 fi
2822 fi
2823 fi
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2825 $as_echo "$cross_compiling" >&6; }
2826
2827 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2828 ac_clean_files=$ac_clean_files_save
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2830 $as_echo_n "checking for suffix of object files... " >&6; }
2831 if test "${ac_cv_objext+set}" = set; then :
2832 $as_echo_n "(cached) " >&6
2833 else
2834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2835 /* end confdefs.h. */
2836
2837 int
2838 main ()
2839 {
2840
2841 ;
2842 return 0;
2843 }
2844 _ACEOF
2845 rm -f conftest.o conftest.obj
2846 if { { ac_try="$ac_compile"
2847 case "(($ac_try" in
2848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2849 *) ac_try_echo=$ac_try;;
2850 esac
2851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2852 $as_echo "$ac_try_echo"; } >&5
2853 (eval "$ac_compile") 2>&5
2854 ac_status=$?
2855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2856 test $ac_status = 0; }; then :
2857 for ac_file in conftest.o conftest.obj conftest.*; do
2858 test -f "$ac_file" || continue;
2859 case $ac_file in
2860 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2861 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2862 break;;
2863 esac
2864 done
2865 else
2866 $as_echo "$as_me: failed program was:" >&5
2867 sed 's/^/| /' conftest.$ac_ext >&5
2868
2869 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2871 as_fn_error $? "cannot compute suffix of object files: cannot compile
2872 See \`config.log' for more details" "$LINENO" 5 ; }
2873 fi
2874 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2875 fi
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2877 $as_echo "$ac_cv_objext" >&6; }
2878 OBJEXT=$ac_cv_objext
2879 ac_objext=$OBJEXT
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2881 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2882 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2883 $as_echo_n "(cached) " >&6
2884 else
2885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2886 /* end confdefs.h. */
2887
2888 int
2889 main ()
2890 {
2891 #ifndef __GNUC__
2892 choke me
2893 #endif
2894
2895 ;
2896 return 0;
2897 }
2898 _ACEOF
2899 if ac_fn_c_try_compile "$LINENO"; then :
2900 ac_compiler_gnu=yes
2901 else
2902 ac_compiler_gnu=no
2903 fi
2904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2905 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2906
2907 fi
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2909 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2910 if test $ac_compiler_gnu = yes; then
2911 GCC=yes
2912 else
2913 GCC=
2914 fi
2915 ac_test_CFLAGS=${CFLAGS+set}
2916 ac_save_CFLAGS=$CFLAGS
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2918 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2919 if test "${ac_cv_prog_cc_g+set}" = set; then :
2920 $as_echo_n "(cached) " >&6
2921 else
2922 ac_save_c_werror_flag=$ac_c_werror_flag
2923 ac_c_werror_flag=yes
2924 ac_cv_prog_cc_g=no
2925 CFLAGS="-g"
2926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2927 /* end confdefs.h. */
2928
2929 int
2930 main ()
2931 {
2932
2933 ;
2934 return 0;
2935 }
2936 _ACEOF
2937 if ac_fn_c_try_compile "$LINENO"; then :
2938 ac_cv_prog_cc_g=yes
2939 else
2940 CFLAGS=""
2941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2942 /* end confdefs.h. */
2943
2944 int
2945 main ()
2946 {
2947
2948 ;
2949 return 0;
2950 }
2951 _ACEOF
2952 if ac_fn_c_try_compile "$LINENO"; then :
2953
2954 else
2955 ac_c_werror_flag=$ac_save_c_werror_flag
2956 CFLAGS="-g"
2957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2958 /* end confdefs.h. */
2959
2960 int
2961 main ()
2962 {
2963
2964 ;
2965 return 0;
2966 }
2967 _ACEOF
2968 if ac_fn_c_try_compile "$LINENO"; then :
2969 ac_cv_prog_cc_g=yes
2970 fi
2971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2972 fi
2973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2974 fi
2975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2976 ac_c_werror_flag=$ac_save_c_werror_flag
2977 fi
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2979 $as_echo "$ac_cv_prog_cc_g" >&6; }
2980 if test "$ac_test_CFLAGS" = set; then
2981 CFLAGS=$ac_save_CFLAGS
2982 elif test $ac_cv_prog_cc_g = yes; then
2983 if test "$GCC" = yes; then
2984 CFLAGS="-g -O2"
2985 else
2986 CFLAGS="-g"
2987 fi
2988 else
2989 if test "$GCC" = yes; then
2990 CFLAGS="-O2"
2991 else
2992 CFLAGS=
2993 fi
2994 fi
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2996 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2997 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2998 $as_echo_n "(cached) " >&6
2999 else
3000 ac_cv_prog_cc_c89=no
3001 ac_save_CC=$CC
3002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3003 /* end confdefs.h. */
3004 #include <stdarg.h>
3005 #include <stdio.h>
3006 #include <sys/types.h>
3007 #include <sys/stat.h>
3008 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3009 struct buf { int x; };
3010 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3011 static char *e (p, i)
3012 char **p;
3013 int i;
3014 {
3015 return p[i];
3016 }
3017 static char *f (char * (*g) (char **, int), char **p, ...)
3018 {
3019 char *s;
3020 va_list v;
3021 va_start (v,p);
3022 s = g (p, va_arg (v,int));
3023 va_end (v);
3024 return s;
3025 }
3026
3027 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3028 function prototypes and stuff, but not '\xHH' hex character constants.
3029 These don't provoke an error unfortunately, instead are silently treated
3030 as 'x'. The following induces an error, until -std is added to get
3031 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3032 array size at least. It's necessary to write '\x00'==0 to get something
3033 that's true only with -std. */
3034 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3035
3036 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3037 inside strings and character constants. */
3038 #define FOO(x) 'x'
3039 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3040
3041 int test (int i, double x);
3042 struct s1 {int (*f) (int a);};
3043 struct s2 {int (*f) (double a);};
3044 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3045 int argc;
3046 char **argv;
3047 int
3048 main ()
3049 {
3050 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3051 ;
3052 return 0;
3053 }
3054 _ACEOF
3055 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3056 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3057 do
3058 CC="$ac_save_CC $ac_arg"
3059 if ac_fn_c_try_compile "$LINENO"; then :
3060 ac_cv_prog_cc_c89=$ac_arg
3061 fi
3062 rm -f core conftest.err conftest.$ac_objext
3063 test "x$ac_cv_prog_cc_c89" != "xno" && break
3064 done
3065 rm -f conftest.$ac_ext
3066 CC=$ac_save_CC
3067
3068 fi
3069 # AC_CACHE_VAL
3070 case "x$ac_cv_prog_cc_c89" in
3071 x)
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3073 $as_echo "none needed" >&6; } ;;
3074 xno)
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3076 $as_echo "unsupported" >&6; } ;;
3077 *)
3078 CC="$CC $ac_cv_prog_cc_c89"
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3080 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3081 esac
3082 if test "x$ac_cv_prog_cc_c89" != xno; then :
3083
3084 fi
3085
3086 ac_ext=c
3087 ac_cpp='$CPP $CPPFLAGS'
3088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3091
3092
3093 ac_ext=c
3094 ac_cpp='$CPP $CPPFLAGS'
3095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3099 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3100 # On Suns, sometimes $CPP names a directory.
3101 if test -n "$CPP" && test -d "$CPP"; then
3102 CPP=
3103 fi
3104 if test -z "$CPP"; then
3105 if test "${ac_cv_prog_CPP+set}" = set; then :
3106 $as_echo_n "(cached) " >&6
3107 else
3108 # Double quotes because CPP needs to be expanded
3109 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3110 do
3111 ac_preproc_ok=false
3112 for ac_c_preproc_warn_flag in '' yes
3113 do
3114 # Use a header file that comes with gcc, so configuring glibc
3115 # with a fresh cross-compiler works.
3116 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3117 # <limits.h> exists even on freestanding compilers.
3118 # On the NeXT, cc -E runs the code through the compiler's parser,
3119 # not just through cpp. "Syntax error" is here to catch this case.
3120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3121 /* end confdefs.h. */
3122 #ifdef __STDC__
3123 # include <limits.h>
3124 #else
3125 # include <assert.h>
3126 #endif
3127 Syntax error
3128 _ACEOF
3129 if ac_fn_c_try_cpp "$LINENO"; then :
3130
3131 else
3132 # Broken: fails on valid input.
3133 continue
3134 fi
3135 rm -f conftest.err conftest.i conftest.$ac_ext
3136
3137 # OK, works on sane cases. Now check whether nonexistent headers
3138 # can be detected and how.
3139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3140 /* end confdefs.h. */
3141 #include <ac_nonexistent.h>
3142 _ACEOF
3143 if ac_fn_c_try_cpp "$LINENO"; then :
3144 # Broken: success on invalid input.
3145 continue
3146 else
3147 # Passes both tests.
3148 ac_preproc_ok=:
3149 break
3150 fi
3151 rm -f conftest.err conftest.i conftest.$ac_ext
3152
3153 done
3154 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3155 rm -f conftest.i conftest.err conftest.$ac_ext
3156 if $ac_preproc_ok; then :
3157 break
3158 fi
3159
3160 done
3161 ac_cv_prog_CPP=$CPP
3162
3163 fi
3164 CPP=$ac_cv_prog_CPP
3165 else
3166 ac_cv_prog_CPP=$CPP
3167 fi
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3169 $as_echo "$CPP" >&6; }
3170 ac_preproc_ok=false
3171 for ac_c_preproc_warn_flag in '' yes
3172 do
3173 # Use a header file that comes with gcc, so configuring glibc
3174 # with a fresh cross-compiler works.
3175 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3176 # <limits.h> exists even on freestanding compilers.
3177 # On the NeXT, cc -E runs the code through the compiler's parser,
3178 # not just through cpp. "Syntax error" is here to catch this case.
3179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3180 /* end confdefs.h. */
3181 #ifdef __STDC__
3182 # include <limits.h>
3183 #else
3184 # include <assert.h>
3185 #endif
3186 Syntax error
3187 _ACEOF
3188 if ac_fn_c_try_cpp "$LINENO"; then :
3189
3190 else
3191 # Broken: fails on valid input.
3192 continue
3193 fi
3194 rm -f conftest.err conftest.i conftest.$ac_ext
3195
3196 # OK, works on sane cases. Now check whether nonexistent headers
3197 # can be detected and how.
3198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3199 /* end confdefs.h. */
3200 #include <ac_nonexistent.h>
3201 _ACEOF
3202 if ac_fn_c_try_cpp "$LINENO"; then :
3203 # Broken: success on invalid input.
3204 continue
3205 else
3206 # Passes both tests.
3207 ac_preproc_ok=:
3208 break
3209 fi
3210 rm -f conftest.err conftest.i conftest.$ac_ext
3211
3212 done
3213 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3214 rm -f conftest.i conftest.err conftest.$ac_ext
3215 if $ac_preproc_ok; then :
3216
3217 else
3218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3220 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3221 See \`config.log' for more details" "$LINENO" 5 ; }
3222 fi
3223
3224 ac_ext=c
3225 ac_cpp='$CPP $CPPFLAGS'
3226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3229
3230
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3232 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3233 if test "${ac_cv_path_GREP+set}" = set; then :
3234 $as_echo_n "(cached) " >&6
3235 else
3236 if test -z "$GREP"; then
3237 ac_path_GREP_found=false
3238 # Loop through the user's path and test for each of PROGNAME-LIST
3239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3240 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3241 do
3242 IFS=$as_save_IFS
3243 test -z "$as_dir" && as_dir=.
3244 for ac_prog in grep ggrep; do
3245 for ac_exec_ext in '' $ac_executable_extensions; do
3246 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3247 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3248 # Check for GNU ac_path_GREP and select it if it is found.
3249 # Check for GNU $ac_path_GREP
3250 case `"$ac_path_GREP" --version 2>&1` in
3251 *GNU*)
3252 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3253 *)
3254 ac_count=0
3255 $as_echo_n 0123456789 >"conftest.in"
3256 while :
3257 do
3258 cat "conftest.in" "conftest.in" >"conftest.tmp"
3259 mv "conftest.tmp" "conftest.in"
3260 cp "conftest.in" "conftest.nl"
3261 $as_echo 'GREP' >> "conftest.nl"
3262 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3263 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3264 as_fn_arith $ac_count + 1 && ac_count=$as_val
3265 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3266 # Best one so far, save it but keep looking for a better one
3267 ac_cv_path_GREP="$ac_path_GREP"
3268 ac_path_GREP_max=$ac_count
3269 fi
3270 # 10*(2^10) chars as input seems more than enough
3271 test $ac_count -gt 10 && break
3272 done
3273 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3274 esac
3275
3276 $ac_path_GREP_found && break 3
3277 done
3278 done
3279 done
3280 IFS=$as_save_IFS
3281 if test -z "$ac_cv_path_GREP"; then
3282 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3283 fi
3284 else
3285 ac_cv_path_GREP=$GREP
3286 fi
3287
3288 fi
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3290 $as_echo "$ac_cv_path_GREP" >&6; }
3291 GREP="$ac_cv_path_GREP"
3292
3293
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3295 $as_echo_n "checking for egrep... " >&6; }
3296 if test "${ac_cv_path_EGREP+set}" = set; then :
3297 $as_echo_n "(cached) " >&6
3298 else
3299 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3300 then ac_cv_path_EGREP="$GREP -E"
3301 else
3302 if test -z "$EGREP"; then
3303 ac_path_EGREP_found=false
3304 # Loop through the user's path and test for each of PROGNAME-LIST
3305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3306 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3307 do
3308 IFS=$as_save_IFS
3309 test -z "$as_dir" && as_dir=.
3310 for ac_prog in egrep; do
3311 for ac_exec_ext in '' $ac_executable_extensions; do
3312 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3313 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3314 # Check for GNU ac_path_EGREP and select it if it is found.
3315 # Check for GNU $ac_path_EGREP
3316 case `"$ac_path_EGREP" --version 2>&1` in
3317 *GNU*)
3318 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3319 *)
3320 ac_count=0
3321 $as_echo_n 0123456789 >"conftest.in"
3322 while :
3323 do
3324 cat "conftest.in" "conftest.in" >"conftest.tmp"
3325 mv "conftest.tmp" "conftest.in"
3326 cp "conftest.in" "conftest.nl"
3327 $as_echo 'EGREP' >> "conftest.nl"
3328 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3329 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3330 as_fn_arith $ac_count + 1 && ac_count=$as_val
3331 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3332 # Best one so far, save it but keep looking for a better one
3333 ac_cv_path_EGREP="$ac_path_EGREP"
3334 ac_path_EGREP_max=$ac_count
3335 fi
3336 # 10*(2^10) chars as input seems more than enough
3337 test $ac_count -gt 10 && break
3338 done
3339 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3340 esac
3341
3342 $ac_path_EGREP_found && break 3
3343 done
3344 done
3345 done
3346 IFS=$as_save_IFS
3347 if test -z "$ac_cv_path_EGREP"; then
3348 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3349 fi
3350 else
3351 ac_cv_path_EGREP=$EGREP
3352 fi
3353
3354 fi
3355 fi
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3357 $as_echo "$ac_cv_path_EGREP" >&6; }
3358 EGREP="$ac_cv_path_EGREP"
3359
3360
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3362 $as_echo_n "checking for ANSI C header files... " >&6; }
3363 if test "${ac_cv_header_stdc+set}" = set; then :
3364 $as_echo_n "(cached) " >&6
3365 else
3366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3367 /* end confdefs.h. */
3368 #include <stdlib.h>
3369 #include <stdarg.h>
3370 #include <string.h>
3371 #include <float.h>
3372
3373 int
3374 main ()
3375 {
3376
3377 ;
3378 return 0;
3379 }
3380 _ACEOF
3381 if ac_fn_c_try_compile "$LINENO"; then :
3382 ac_cv_header_stdc=yes
3383 else
3384 ac_cv_header_stdc=no
3385 fi
3386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3387
3388 if test $ac_cv_header_stdc = yes; then
3389 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3391 /* end confdefs.h. */
3392 #include <string.h>
3393
3394 _ACEOF
3395 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3396 $EGREP "memchr" >/dev/null 2>&1; then :
3397
3398 else
3399 ac_cv_header_stdc=no
3400 fi
3401 rm -f conftest*
3402
3403 fi
3404
3405 if test $ac_cv_header_stdc = yes; then
3406 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3408 /* end confdefs.h. */
3409 #include <stdlib.h>
3410
3411 _ACEOF
3412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3413 $EGREP "free" >/dev/null 2>&1; then :
3414
3415 else
3416 ac_cv_header_stdc=no
3417 fi
3418 rm -f conftest*
3419
3420 fi
3421
3422 if test $ac_cv_header_stdc = yes; then
3423 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3424 if test "$cross_compiling" = yes; then :
3425 :
3426 else
3427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3428 /* end confdefs.h. */
3429 #include <ctype.h>
3430 #include <stdlib.h>
3431 #if ((' ' & 0x0FF) == 0x020)
3432 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3433 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3434 #else
3435 # define ISLOWER(c) \
3436 (('a' <= (c) && (c) <= 'i') \
3437 || ('j' <= (c) && (c) <= 'r') \
3438 || ('s' <= (c) && (c) <= 'z'))
3439 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3440 #endif
3441
3442 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3443 int
3444 main ()
3445 {
3446 int i;
3447 for (i = 0; i < 256; i++)
3448 if (XOR (islower (i), ISLOWER (i))
3449 || toupper (i) != TOUPPER (i))
3450 return 2;
3451 return 0;
3452 }
3453 _ACEOF
3454 if ac_fn_c_try_run "$LINENO"; then :
3455
3456 else
3457 ac_cv_header_stdc=no
3458 fi
3459 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3460 conftest.$ac_objext conftest.beam conftest.$ac_ext
3461 fi
3462
3463 fi
3464 fi
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3466 $as_echo "$ac_cv_header_stdc" >&6; }
3467 if test $ac_cv_header_stdc = yes; then
3468
3469 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3470
3471 fi
3472
3473 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3474 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3475 inttypes.h stdint.h unistd.h
3476 do :
3477 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3478 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3479 "
3480 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3481 cat >>confdefs.h <<_ACEOF
3482 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3483 _ACEOF
3484
3485 fi
3486
3487 done
3488
3489
3490
3491 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3492 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
3493 MINIX=yes
3494 else
3495 MINIX=
3496 fi
3497
3498
3499 if test "$MINIX" = yes; then
3500
3501 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3502
3503
3504 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3505
3506
3507 $as_echo "#define _MINIX 1" >>confdefs.h
3508
3509 fi
3510
3511
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3513 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3514 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3515 $as_echo_n "(cached) " >&6
3516 else
3517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3518 /* end confdefs.h. */
3519
3520 # define __EXTENSIONS__ 1
3521 $ac_includes_default
3522 int
3523 main ()
3524 {
3525
3526 ;
3527 return 0;
3528 }
3529 _ACEOF
3530 if ac_fn_c_try_compile "$LINENO"; then :
3531 ac_cv_safe_to_define___extensions__=yes
3532 else
3533 ac_cv_safe_to_define___extensions__=no
3534 fi
3535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3536 fi
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3538 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3539 test $ac_cv_safe_to_define___extensions__ = yes &&
3540 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3541
3542 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3543
3544 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3545
3546 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3547
3548 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3549
3550
3551 am__api_version='1.11'
3552
3553 ac_aux_dir=
3554 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3555 if test -f "$ac_dir/install-sh"; then
3556 ac_aux_dir=$ac_dir
3557 ac_install_sh="$ac_aux_dir/install-sh -c"
3558 break
3559 elif test -f "$ac_dir/install.sh"; then
3560 ac_aux_dir=$ac_dir
3561 ac_install_sh="$ac_aux_dir/install.sh -c"
3562 break
3563 elif test -f "$ac_dir/shtool"; then
3564 ac_aux_dir=$ac_dir
3565 ac_install_sh="$ac_aux_dir/shtool install -c"
3566 break
3567 fi
3568 done
3569 if test -z "$ac_aux_dir"; then
3570 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3571 fi
3572
3573 # These three variables are undocumented and unsupported,
3574 # and are intended to be withdrawn in a future Autoconf release.
3575 # They can cause serious problems if a builder's source tree is in a directory
3576 # whose full name contains unusual characters.
3577 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3578 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3579 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3580
3581
3582 # Find a good install program. We prefer a C program (faster),
3583 # so one script is as good as another. But avoid the broken or
3584 # incompatible versions:
3585 # SysV /etc/install, /usr/sbin/install
3586 # SunOS /usr/etc/install
3587 # IRIX /sbin/install
3588 # AIX /bin/install
3589 # AmigaOS /C/install, which installs bootblocks on floppy discs
3590 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3591 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3592 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3593 # OS/2's system install, which has a completely different semantic
3594 # ./install, which can be erroneously created by make from ./install.sh.
3595 # Reject install programs that cannot install multiple files.
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3597 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3598 if test -z "$INSTALL"; then
3599 if test "${ac_cv_path_install+set}" = set; then :
3600 $as_echo_n "(cached) " >&6
3601 else
3602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3603 for as_dir in $PATH
3604 do
3605 IFS=$as_save_IFS
3606 test -z "$as_dir" && as_dir=.
3607 # Account for people who put trailing slashes in PATH elements.
3608 case $as_dir/ in #((
3609 ./ | .// | /[cC]/* | \
3610 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3611 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3612 /usr/ucb/* ) ;;
3613 *)
3614 # OSF1 and SCO ODT 3.0 have their own names for install.
3615 # Don't use installbsd from OSF since it installs stuff as root
3616 # by default.
3617 for ac_prog in ginstall scoinst install; do
3618 for ac_exec_ext in '' $ac_executable_extensions; do
3619 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3620 if test $ac_prog = install &&
3621 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3622 # AIX install. It has an incompatible calling convention.
3623 :
3624 elif test $ac_prog = install &&
3625 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3626 # program-specific install script used by HP pwplus--don't use.
3627 :
3628 else
3629 rm -rf conftest.one conftest.two conftest.dir
3630 echo one > conftest.one
3631 echo two > conftest.two
3632 mkdir conftest.dir
3633 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3634 test -s conftest.one && test -s conftest.two &&
3635 test -s conftest.dir/conftest.one &&
3636 test -s conftest.dir/conftest.two
3637 then
3638 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3639 break 3
3640 fi
3641 fi
3642 fi
3643 done
3644 done
3645 ;;
3646 esac
3647
3648 done
3649 IFS=$as_save_IFS
3650
3651 rm -rf conftest.one conftest.two conftest.dir
3652
3653 fi
3654 if test "${ac_cv_path_install+set}" = set; then
3655 INSTALL=$ac_cv_path_install
3656 else
3657 # As a last resort, use the slow shell script. Don't cache a
3658 # value for INSTALL within a source directory, because that will
3659 # break other packages using the cache if that directory is
3660 # removed, or if the value is a relative name.
3661 INSTALL=$ac_install_sh
3662 fi
3663 fi
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3665 $as_echo "$INSTALL" >&6; }
3666
3667 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3668 # It thinks the first close brace ends the variable substitution.
3669 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3670
3671 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3672
3673 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3674
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3676 $as_echo_n "checking whether build environment is sane... " >&6; }
3677 # Just in case
3678 sleep 1
3679 echo timestamp > conftest.file
3680 # Reject unsafe characters in $srcdir or the absolute working directory
3681 # name. Accept space and tab only in the latter.
3682 am_lf='
3683 '
3684 case `pwd` in
3685 *[\\\"\#\$\&\'\`$am_lf]*)
3686 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
3687 esac
3688 case $srcdir in
3689 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3690 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
3691 esac
3692
3693 # Do `set' in a subshell so we don't clobber the current shell's
3694 # arguments. Must try -L first in case configure is actually a
3695 # symlink; some systems play weird games with the mod time of symlinks
3696 # (eg FreeBSD returns the mod time of the symlink's containing
3697 # directory).
3698 if (
3699 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3700 if test "$*" = "X"; then
3701 # -L didn't work.
3702 set X `ls -t "$srcdir/configure" conftest.file`
3703 fi
3704 rm -f conftest.file
3705 if test "$*" != "X $srcdir/configure conftest.file" \
3706 && test "$*" != "X conftest.file $srcdir/configure"; then
3707
3708 # If neither matched, then we have a broken ls. This can happen
3709 # if, for instance, CONFIG_SHELL is bash and it inherits a
3710 # broken ls alias from the environment. This has actually
3711 # happened. Such a system could not be considered "sane".
3712 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3713 alias in your environment" "$LINENO" 5
3714 fi
3715
3716 test "$2" = conftest.file
3717 )
3718 then
3719 # Ok.
3720 :
3721 else
3722 as_fn_error $? "newly created file is older than distributed files!
3723 Check your system clock" "$LINENO" 5
3724 fi
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3726 $as_echo "yes" >&6; }
3727 test "$program_prefix" != NONE &&
3728 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3729 # Use a double $ so make ignores it.
3730 test "$program_suffix" != NONE &&
3731 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3732 # Double any \ or $.
3733 # By default was `s,x,x', remove it if useless.
3734 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3735 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3736
3737 # expand $ac_aux_dir to an absolute path
3738 am_aux_dir=`cd $ac_aux_dir && pwd`
3739
3740 if test x"${MISSING+set}" != xset; then
3741 case $am_aux_dir in
3742 *\ * | *\ *)
3743 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3744 *)
3745 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3746 esac
3747 fi
3748 # Use eval to expand $SHELL
3749 if eval "$MISSING --run true"; then
3750 am_missing_run="$MISSING --run "
3751 else
3752 am_missing_run=
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3754 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3755 fi
3756
3757 if test x"${install_sh}" != xset; then
3758 case $am_aux_dir in
3759 *\ * | *\ *)
3760 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3761 *)
3762 install_sh="\${SHELL} $am_aux_dir/install-sh"
3763 esac
3764 fi
3765
3766 # Installed binaries are usually stripped using `strip' when the user
3767 # run `make install-strip'. However `strip' might not be the right
3768 # tool to use in cross-compilation environments, therefore Automake
3769 # will honor the `STRIP' environment variable to overrule this program.
3770 if test "$cross_compiling" != no; then
3771 if test -n "$ac_tool_prefix"; then
3772 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3773 set dummy ${ac_tool_prefix}strip; ac_word=$2
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3775 $as_echo_n "checking for $ac_word... " >&6; }
3776 if test "${ac_cv_prog_STRIP+set}" = set; then :
3777 $as_echo_n "(cached) " >&6
3778 else
3779 if test -n "$STRIP"; then
3780 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3781 else
3782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3783 for as_dir in $PATH
3784 do
3785 IFS=$as_save_IFS
3786 test -z "$as_dir" && as_dir=.
3787 for ac_exec_ext in '' $ac_executable_extensions; do
3788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3789 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3791 break 2
3792 fi
3793 done
3794 done
3795 IFS=$as_save_IFS
3796
3797 fi
3798 fi
3799 STRIP=$ac_cv_prog_STRIP
3800 if test -n "$STRIP"; then
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3802 $as_echo "$STRIP" >&6; }
3803 else
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3805 $as_echo "no" >&6; }
3806 fi
3807
3808
3809 fi
3810 if test -z "$ac_cv_prog_STRIP"; then
3811 ac_ct_STRIP=$STRIP
3812 # Extract the first word of "strip", so it can be a program name with args.
3813 set dummy strip; ac_word=$2
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3815 $as_echo_n "checking for $ac_word... " >&6; }
3816 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3817 $as_echo_n "(cached) " >&6
3818 else
3819 if test -n "$ac_ct_STRIP"; then
3820 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3821 else
3822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3823 for as_dir in $PATH
3824 do
3825 IFS=$as_save_IFS
3826 test -z "$as_dir" && as_dir=.
3827 for ac_exec_ext in '' $ac_executable_extensions; do
3828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3829 ac_cv_prog_ac_ct_STRIP="strip"
3830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3831 break 2
3832 fi
3833 done
3834 done
3835 IFS=$as_save_IFS
3836
3837 fi
3838 fi
3839 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3840 if test -n "$ac_ct_STRIP"; then
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3842 $as_echo "$ac_ct_STRIP" >&6; }
3843 else
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3845 $as_echo "no" >&6; }
3846 fi
3847
3848 if test "x$ac_ct_STRIP" = x; then
3849 STRIP=":"
3850 else
3851 case $cross_compiling:$ac_tool_warned in
3852 yes:)
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3854 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3855 ac_tool_warned=yes ;;
3856 esac
3857 STRIP=$ac_ct_STRIP
3858 fi
3859 else
3860 STRIP="$ac_cv_prog_STRIP"
3861 fi
3862
3863 fi
3864 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3865
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3867 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3868 if test -z "$MKDIR_P"; then
3869 if test "${ac_cv_path_mkdir+set}" = set; then :
3870 $as_echo_n "(cached) " >&6
3871 else
3872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3873 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3874 do
3875 IFS=$as_save_IFS
3876 test -z "$as_dir" && as_dir=.
3877 for ac_prog in mkdir gmkdir; do
3878 for ac_exec_ext in '' $ac_executable_extensions; do
3879 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3880 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3881 'mkdir (GNU coreutils) '* | \
3882 'mkdir (coreutils) '* | \
3883 'mkdir (fileutils) '4.1*)
3884 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3885 break 3;;
3886 esac
3887 done
3888 done
3889 done
3890 IFS=$as_save_IFS
3891
3892 fi
3893
3894 test -d ./--version && rmdir ./--version
3895 if test "${ac_cv_path_mkdir+set}" = set; then
3896 MKDIR_P="$ac_cv_path_mkdir -p"
3897 else
3898 # As a last resort, use the slow shell script. Don't cache a
3899 # value for MKDIR_P within a source directory, because that will
3900 # break other packages using the cache if that directory is
3901 # removed, or if the value is a relative name.
3902 MKDIR_P="$ac_install_sh -d"
3903 fi
3904 fi
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3906 $as_echo "$MKDIR_P" >&6; }
3907
3908 mkdir_p="$MKDIR_P"
3909 case $mkdir_p in
3910 [\\/$]* | ?:[\\/]*) ;;
3911 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3912 esac
3913
3914 for ac_prog in gawk mawk nawk awk
3915 do
3916 # Extract the first word of "$ac_prog", so it can be a program name with args.
3917 set dummy $ac_prog; ac_word=$2
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3919 $as_echo_n "checking for $ac_word... " >&6; }
3920 if test "${ac_cv_prog_AWK+set}" = set; then :
3921 $as_echo_n "(cached) " >&6
3922 else
3923 if test -n "$AWK"; then
3924 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3925 else
3926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3927 for as_dir in $PATH
3928 do
3929 IFS=$as_save_IFS
3930 test -z "$as_dir" && as_dir=.
3931 for ac_exec_ext in '' $ac_executable_extensions; do
3932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3933 ac_cv_prog_AWK="$ac_prog"
3934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3935 break 2
3936 fi
3937 done
3938 done
3939 IFS=$as_save_IFS
3940
3941 fi
3942 fi
3943 AWK=$ac_cv_prog_AWK
3944 if test -n "$AWK"; then
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3946 $as_echo "$AWK" >&6; }
3947 else
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3949 $as_echo "no" >&6; }
3950 fi
3951
3952
3953 test -n "$AWK" && break
3954 done
3955
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3957 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3958 set x ${MAKE-make}
3959 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3960 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3961 $as_echo_n "(cached) " >&6
3962 else
3963 cat >conftest.make <<\_ACEOF
3964 SHELL = /bin/sh
3965 all:
3966 @echo '@@@%%%=$(MAKE)=@@@%%%'
3967 _ACEOF
3968 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3969 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3970 *@@@%%%=?*=@@@%%%*)
3971 eval ac_cv_prog_make_${ac_make}_set=yes;;
3972 *)
3973 eval ac_cv_prog_make_${ac_make}_set=no;;
3974 esac
3975 rm -f conftest.make
3976 fi
3977 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3979 $as_echo "yes" >&6; }
3980 SET_MAKE=
3981 else
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3983 $as_echo "no" >&6; }
3984 SET_MAKE="MAKE=${MAKE-make}"
3985 fi
3986
3987 rm -rf .tst 2>/dev/null
3988 mkdir .tst 2>/dev/null
3989 if test -d .tst; then
3990 am__leading_dot=.
3991 else
3992 am__leading_dot=_
3993 fi
3994 rmdir .tst 2>/dev/null
3995
3996 DEPDIR="${am__leading_dot}deps"
3997
3998 ac_config_commands="$ac_config_commands depfiles"
3999
4000
4001 am_make=${MAKE-make}
4002 cat > confinc << 'END'
4003 am__doit:
4004 @echo this is the am__doit target
4005 .PHONY: am__doit
4006 END
4007 # If we don't find an include directive, just comment out the code.
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4009 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4010 am__include="#"
4011 am__quote=
4012 _am_result=none
4013 # First try GNU make style include.
4014 echo "include confinc" > confmf
4015 # Ignore all kinds of additional output from `make'.
4016 case `$am_make -s -f confmf 2> /dev/null` in #(
4017 *the\ am__doit\ target*)
4018 am__include=include
4019 am__quote=
4020 _am_result=GNU
4021 ;;
4022 esac
4023 # Now try BSD make style include.
4024 if test "$am__include" = "#"; then
4025 echo '.include "confinc"' > confmf
4026 case `$am_make -s -f confmf 2> /dev/null` in #(
4027 *the\ am__doit\ target*)
4028 am__include=.include
4029 am__quote="\""
4030 _am_result=BSD
4031 ;;
4032 esac
4033 fi
4034
4035
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4037 $as_echo "$_am_result" >&6; }
4038 rm -f confinc confmf
4039
4040 # Check whether --enable-dependency-tracking was given.
4041 if test "${enable_dependency_tracking+set}" = set; then :
4042 enableval=$enable_dependency_tracking;
4043 fi
4044
4045 if test "x$enable_dependency_tracking" != xno; then
4046 am_depcomp="$ac_aux_dir/depcomp"
4047 AMDEPBACKSLASH='\'
4048 fi
4049 if test "x$enable_dependency_tracking" != xno; then
4050 AMDEP_TRUE=
4051 AMDEP_FALSE='#'
4052 else
4053 AMDEP_TRUE='#'
4054 AMDEP_FALSE=
4055 fi
4056
4057
4058 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4059 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4060 # is not polluted with repeated "-I."
4061 am__isrc=' -I$(srcdir)'
4062 # test to see if srcdir already configured
4063 if test -f $srcdir/config.status; then
4064 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4065 fi
4066 fi
4067
4068 # test whether we have cygpath
4069 if test -z "$CYGPATH_W"; then
4070 if (cygpath --version) >/dev/null 2>/dev/null; then
4071 CYGPATH_W='cygpath -w'
4072 else
4073 CYGPATH_W=echo
4074 fi
4075 fi
4076
4077
4078 # Define the identity of the package.
4079 PACKAGE='urweb_feed'
4080 VERSION='1.0'
4081
4082
4083 # Some tools Automake needs.
4084
4085 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4086
4087
4088 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4089
4090
4091 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4092
4093
4094 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4095
4096
4097 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4098
4099 # We need awk for the "check" target. The system "awk" is bad on
4100 # some platforms.
4101 # Always define AMTAR for backward compatibility.
4102
4103 AMTAR=${AMTAR-"${am_missing_run}tar"}
4104
4105 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
4106
4107
4108
4109
4110 depcc="$CC" am_compiler_list=
4111
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4113 $as_echo_n "checking dependency style of $depcc... " >&6; }
4114 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4115 $as_echo_n "(cached) " >&6
4116 else
4117 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4118 # We make a subdir and do the tests there. Otherwise we can end up
4119 # making bogus files that we don't know about and never remove. For
4120 # instance it was reported that on HP-UX the gcc test will end up
4121 # making a dummy file named `D' -- because `-MD' means `put the output
4122 # in D'.
4123 mkdir conftest.dir
4124 # Copy depcomp to subdir because otherwise we won't find it if we're
4125 # using a relative directory.
4126 cp "$am_depcomp" conftest.dir
4127 cd conftest.dir
4128 # We will build objects and dependencies in a subdirectory because
4129 # it helps to detect inapplicable dependency modes. For instance
4130 # both Tru64's cc and ICC support -MD to output dependencies as a
4131 # side effect of compilation, but ICC will put the dependencies in
4132 # the current directory while Tru64 will put them in the object
4133 # directory.
4134 mkdir sub
4135
4136 am_cv_CC_dependencies_compiler_type=none
4137 if test "$am_compiler_list" = ""; then
4138 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4139 fi
4140 am__universal=false
4141 case " $depcc " in #(
4142 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4143 esac
4144
4145 for depmode in $am_compiler_list; do
4146 # Setup a source with many dependencies, because some compilers
4147 # like to wrap large dependency lists on column 80 (with \), and
4148 # we should not choose a depcomp mode which is confused by this.
4149 #
4150 # We need to recreate these files for each test, as the compiler may
4151 # overwrite some of them when testing with obscure command lines.
4152 # This happens at least with the AIX C compiler.
4153 : > sub/conftest.c
4154 for i in 1 2 3 4 5 6; do
4155 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4156 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4157 # Solaris 8's {/usr,}/bin/sh.
4158 touch sub/conftst$i.h
4159 done
4160 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4161
4162 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4163 # mode. It turns out that the SunPro C++ compiler does not properly
4164 # handle `-M -o', and we need to detect this. Also, some Intel
4165 # versions had trouble with output in subdirs
4166 am__obj=sub/conftest.${OBJEXT-o}
4167 am__minus_obj="-o $am__obj"
4168 case $depmode in
4169 gcc)
4170 # This depmode causes a compiler race in universal mode.
4171 test "$am__universal" = false || continue
4172 ;;
4173 nosideeffect)
4174 # after this tag, mechanisms are not by side-effect, so they'll
4175 # only be used when explicitly requested
4176 if test "x$enable_dependency_tracking" = xyes; then
4177 continue
4178 else
4179 break
4180 fi
4181 ;;
4182 msvisualcpp | msvcmsys)
4183 # This compiler won't grok `-c -o', but also, the minuso test has
4184 # not run yet. These depmodes are late enough in the game, and
4185 # so weak that their functioning should not be impacted.
4186 am__obj=conftest.${OBJEXT-o}
4187 am__minus_obj=
4188 ;;
4189 none) break ;;
4190 esac
4191 if depmode=$depmode \
4192 source=sub/conftest.c object=$am__obj \
4193 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4194 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4195 >/dev/null 2>conftest.err &&
4196 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4197 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4198 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4199 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4200 # icc doesn't choke on unknown options, it will just issue warnings
4201 # or remarks (even with -Werror). So we grep stderr for any message
4202 # that says an option was ignored or not supported.
4203 # When given -MP, icc 7.0 and 7.1 complain thusly:
4204 # icc: Command line warning: ignoring option '-M'; no argument required
4205 # The diagnosis changed in icc 8.0:
4206 # icc: Command line remark: option '-MP' not supported
4207 if (grep 'ignoring option' conftest.err ||
4208 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4209 am_cv_CC_dependencies_compiler_type=$depmode
4210 break
4211 fi
4212 fi
4213 done
4214
4215 cd ..
4216 rm -rf conftest.dir
4217 else
4218 am_cv_CC_dependencies_compiler_type=none
4219 fi
4220
4221 fi
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4223 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4224 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4225
4226 if
4227 test "x$enable_dependency_tracking" != xno \
4228 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4229 am__fastdepCC_TRUE=
4230 am__fastdepCC_FALSE='#'
4231 else
4232 am__fastdepCC_TRUE='#'
4233 am__fastdepCC_FALSE=
4234 fi
4235
4236
4237
4238 ac_ext=c
4239 ac_cpp='$CPP $CPPFLAGS'
4240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4243 if test -n "$ac_tool_prefix"; then
4244 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4245 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4247 $as_echo_n "checking for $ac_word... " >&6; }
4248 if test "${ac_cv_prog_CC+set}" = set; then :
4249 $as_echo_n "(cached) " >&6
4250 else
4251 if test -n "$CC"; then
4252 ac_cv_prog_CC="$CC" # Let the user override the test.
4253 else
4254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4255 for as_dir in $PATH
4256 do
4257 IFS=$as_save_IFS
4258 test -z "$as_dir" && as_dir=.
4259 for ac_exec_ext in '' $ac_executable_extensions; do
4260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4261 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4263 break 2
4264 fi
4265 done
4266 done
4267 IFS=$as_save_IFS
4268
4269 fi
4270 fi
4271 CC=$ac_cv_prog_CC
4272 if test -n "$CC"; then
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4274 $as_echo "$CC" >&6; }
4275 else
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4277 $as_echo "no" >&6; }
4278 fi
4279
4280
4281 fi
4282 if test -z "$ac_cv_prog_CC"; then
4283 ac_ct_CC=$CC
4284 # Extract the first word of "gcc", so it can be a program name with args.
4285 set dummy gcc; ac_word=$2
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4287 $as_echo_n "checking for $ac_word... " >&6; }
4288 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4289 $as_echo_n "(cached) " >&6
4290 else
4291 if test -n "$ac_ct_CC"; then
4292 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4293 else
4294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4295 for as_dir in $PATH
4296 do
4297 IFS=$as_save_IFS
4298 test -z "$as_dir" && as_dir=.
4299 for ac_exec_ext in '' $ac_executable_extensions; do
4300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4301 ac_cv_prog_ac_ct_CC="gcc"
4302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4303 break 2
4304 fi
4305 done
4306 done
4307 IFS=$as_save_IFS
4308
4309 fi
4310 fi
4311 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4312 if test -n "$ac_ct_CC"; then
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4314 $as_echo "$ac_ct_CC" >&6; }
4315 else
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4317 $as_echo "no" >&6; }
4318 fi
4319
4320 if test "x$ac_ct_CC" = x; then
4321 CC=""
4322 else
4323 case $cross_compiling:$ac_tool_warned in
4324 yes:)
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4327 ac_tool_warned=yes ;;
4328 esac
4329 CC=$ac_ct_CC
4330 fi
4331 else
4332 CC="$ac_cv_prog_CC"
4333 fi
4334
4335 if test -z "$CC"; then
4336 if test -n "$ac_tool_prefix"; then
4337 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4338 set dummy ${ac_tool_prefix}cc; ac_word=$2
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4340 $as_echo_n "checking for $ac_word... " >&6; }
4341 if test "${ac_cv_prog_CC+set}" = set; then :
4342 $as_echo_n "(cached) " >&6
4343 else
4344 if test -n "$CC"; then
4345 ac_cv_prog_CC="$CC" # Let the user override the test.
4346 else
4347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4348 for as_dir in $PATH
4349 do
4350 IFS=$as_save_IFS
4351 test -z "$as_dir" && as_dir=.
4352 for ac_exec_ext in '' $ac_executable_extensions; do
4353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4354 ac_cv_prog_CC="${ac_tool_prefix}cc"
4355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4356 break 2
4357 fi
4358 done
4359 done
4360 IFS=$as_save_IFS
4361
4362 fi
4363 fi
4364 CC=$ac_cv_prog_CC
4365 if test -n "$CC"; then
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4367 $as_echo "$CC" >&6; }
4368 else
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4370 $as_echo "no" >&6; }
4371 fi
4372
4373
4374 fi
4375 fi
4376 if test -z "$CC"; then
4377 # Extract the first word of "cc", so it can be a program name with args.
4378 set dummy cc; ac_word=$2
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4380 $as_echo_n "checking for $ac_word... " >&6; }
4381 if test "${ac_cv_prog_CC+set}" = set; then :
4382 $as_echo_n "(cached) " >&6
4383 else
4384 if test -n "$CC"; then
4385 ac_cv_prog_CC="$CC" # Let the user override the test.
4386 else
4387 ac_prog_rejected=no
4388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4389 for as_dir in $PATH
4390 do
4391 IFS=$as_save_IFS
4392 test -z "$as_dir" && as_dir=.
4393 for ac_exec_ext in '' $ac_executable_extensions; do
4394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4395 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4396 ac_prog_rejected=yes
4397 continue
4398 fi
4399 ac_cv_prog_CC="cc"
4400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4401 break 2
4402 fi
4403 done
4404 done
4405 IFS=$as_save_IFS
4406
4407 if test $ac_prog_rejected = yes; then
4408 # We found a bogon in the path, so make sure we never use it.
4409 set dummy $ac_cv_prog_CC
4410 shift
4411 if test $# != 0; then
4412 # We chose a different compiler from the bogus one.
4413 # However, it has the same basename, so the bogon will be chosen
4414 # first if we set CC to just the basename; use the full file name.
4415 shift
4416 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4417 fi
4418 fi
4419 fi
4420 fi
4421 CC=$ac_cv_prog_CC
4422 if test -n "$CC"; then
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4424 $as_echo "$CC" >&6; }
4425 else
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4427 $as_echo "no" >&6; }
4428 fi
4429
4430
4431 fi
4432 if test -z "$CC"; then
4433 if test -n "$ac_tool_prefix"; then
4434 for ac_prog in cl.exe
4435 do
4436 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4437 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4439 $as_echo_n "checking for $ac_word... " >&6; }
4440 if test "${ac_cv_prog_CC+set}" = set; then :
4441 $as_echo_n "(cached) " >&6
4442 else
4443 if test -n "$CC"; then
4444 ac_cv_prog_CC="$CC" # Let the user override the test.
4445 else
4446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4447 for as_dir in $PATH
4448 do
4449 IFS=$as_save_IFS
4450 test -z "$as_dir" && as_dir=.
4451 for ac_exec_ext in '' $ac_executable_extensions; do
4452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4453 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4455 break 2
4456 fi
4457 done
4458 done
4459 IFS=$as_save_IFS
4460
4461 fi
4462 fi
4463 CC=$ac_cv_prog_CC
4464 if test -n "$CC"; then
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4466 $as_echo "$CC" >&6; }
4467 else
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4469 $as_echo "no" >&6; }
4470 fi
4471
4472
4473 test -n "$CC" && break
4474 done
4475 fi
4476 if test -z "$CC"; then
4477 ac_ct_CC=$CC
4478 for ac_prog in cl.exe
4479 do
4480 # Extract the first word of "$ac_prog", so it can be a program name with args.
4481 set dummy $ac_prog; ac_word=$2
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4483 $as_echo_n "checking for $ac_word... " >&6; }
4484 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4485 $as_echo_n "(cached) " >&6
4486 else
4487 if test -n "$ac_ct_CC"; then
4488 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4489 else
4490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4491 for as_dir in $PATH
4492 do
4493 IFS=$as_save_IFS
4494 test -z "$as_dir" && as_dir=.
4495 for ac_exec_ext in '' $ac_executable_extensions; do
4496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4497 ac_cv_prog_ac_ct_CC="$ac_prog"
4498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4499 break 2
4500 fi
4501 done
4502 done
4503 IFS=$as_save_IFS
4504
4505 fi
4506 fi
4507 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4508 if test -n "$ac_ct_CC"; then
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4510 $as_echo "$ac_ct_CC" >&6; }
4511 else
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4513 $as_echo "no" >&6; }
4514 fi
4515
4516
4517 test -n "$ac_ct_CC" && break
4518 done
4519
4520 if test "x$ac_ct_CC" = x; then
4521 CC=""
4522 else
4523 case $cross_compiling:$ac_tool_warned in
4524 yes:)
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4526 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4527 ac_tool_warned=yes ;;
4528 esac
4529 CC=$ac_ct_CC
4530 fi
4531 fi
4532
4533 fi
4534
4535
4536 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4538 as_fn_error $? "no acceptable C compiler found in \$PATH
4539 See \`config.log' for more details" "$LINENO" 5 ; }
4540
4541 # Provide some information about the compiler.
4542 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4543 set X $ac_compile
4544 ac_compiler=$2
4545 for ac_option in --version -v -V -qversion; do
4546 { { ac_try="$ac_compiler $ac_option >&5"
4547 case "(($ac_try" in
4548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4549 *) ac_try_echo=$ac_try;;
4550 esac
4551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4552 $as_echo "$ac_try_echo"; } >&5
4553 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4554 ac_status=$?
4555 if test -s conftest.err; then
4556 sed '10a\
4557 ... rest of stderr output deleted ...
4558 10q' conftest.err >conftest.er1
4559 cat conftest.er1 >&5
4560 fi
4561 rm -f conftest.er1 conftest.err
4562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4563 test $ac_status = 0; }
4564 done
4565
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4567 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4568 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4569 $as_echo_n "(cached) " >&6
4570 else
4571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4572 /* end confdefs.h. */
4573
4574 int
4575 main ()
4576 {
4577 #ifndef __GNUC__
4578 choke me
4579 #endif
4580
4581 ;
4582 return 0;
4583 }
4584 _ACEOF
4585 if ac_fn_c_try_compile "$LINENO"; then :
4586 ac_compiler_gnu=yes
4587 else
4588 ac_compiler_gnu=no
4589 fi
4590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4591 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4592
4593 fi
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4595 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4596 if test $ac_compiler_gnu = yes; then
4597 GCC=yes
4598 else
4599 GCC=
4600 fi
4601 ac_test_CFLAGS=${CFLAGS+set}
4602 ac_save_CFLAGS=$CFLAGS
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4604 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4605 if test "${ac_cv_prog_cc_g+set}" = set; then :
4606 $as_echo_n "(cached) " >&6
4607 else
4608 ac_save_c_werror_flag=$ac_c_werror_flag
4609 ac_c_werror_flag=yes
4610 ac_cv_prog_cc_g=no
4611 CFLAGS="-g"
4612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4613 /* end confdefs.h. */
4614
4615 int
4616 main ()
4617 {
4618
4619 ;
4620 return 0;
4621 }
4622 _ACEOF
4623 if ac_fn_c_try_compile "$LINENO"; then :
4624 ac_cv_prog_cc_g=yes
4625 else
4626 CFLAGS=""
4627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4628 /* end confdefs.h. */
4629
4630 int
4631 main ()
4632 {
4633
4634 ;
4635 return 0;
4636 }
4637 _ACEOF
4638 if ac_fn_c_try_compile "$LINENO"; then :
4639
4640 else
4641 ac_c_werror_flag=$ac_save_c_werror_flag
4642 CFLAGS="-g"
4643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4644 /* end confdefs.h. */
4645
4646 int
4647 main ()
4648 {
4649
4650 ;
4651 return 0;
4652 }
4653 _ACEOF
4654 if ac_fn_c_try_compile "$LINENO"; then :
4655 ac_cv_prog_cc_g=yes
4656 fi
4657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4658 fi
4659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4660 fi
4661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4662 ac_c_werror_flag=$ac_save_c_werror_flag
4663 fi
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4665 $as_echo "$ac_cv_prog_cc_g" >&6; }
4666 if test "$ac_test_CFLAGS" = set; then
4667 CFLAGS=$ac_save_CFLAGS
4668 elif test $ac_cv_prog_cc_g = yes; then
4669 if test "$GCC" = yes; then
4670 CFLAGS="-g -O2"
4671 else
4672 CFLAGS="-g"
4673 fi
4674 else
4675 if test "$GCC" = yes; then
4676 CFLAGS="-O2"
4677 else
4678 CFLAGS=
4679 fi
4680 fi
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4682 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4683 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4684 $as_echo_n "(cached) " >&6
4685 else
4686 ac_cv_prog_cc_c89=no
4687 ac_save_CC=$CC
4688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4689 /* end confdefs.h. */
4690 #include <stdarg.h>
4691 #include <stdio.h>
4692 #include <sys/types.h>
4693 #include <sys/stat.h>
4694 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4695 struct buf { int x; };
4696 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4697 static char *e (p, i)
4698 char **p;
4699 int i;
4700 {
4701 return p[i];
4702 }
4703 static char *f (char * (*g) (char **, int), char **p, ...)
4704 {
4705 char *s;
4706 va_list v;
4707 va_start (v,p);
4708 s = g (p, va_arg (v,int));
4709 va_end (v);
4710 return s;
4711 }
4712
4713 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4714 function prototypes and stuff, but not '\xHH' hex character constants.
4715 These don't provoke an error unfortunately, instead are silently treated
4716 as 'x'. The following induces an error, until -std is added to get
4717 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4718 array size at least. It's necessary to write '\x00'==0 to get something
4719 that's true only with -std. */
4720 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4721
4722 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4723 inside strings and character constants. */
4724 #define FOO(x) 'x'
4725 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4726
4727 int test (int i, double x);
4728 struct s1 {int (*f) (int a);};
4729 struct s2 {int (*f) (double a);};
4730 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4731 int argc;
4732 char **argv;
4733 int
4734 main ()
4735 {
4736 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4737 ;
4738 return 0;
4739 }
4740 _ACEOF
4741 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4742 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4743 do
4744 CC="$ac_save_CC $ac_arg"
4745 if ac_fn_c_try_compile "$LINENO"; then :
4746 ac_cv_prog_cc_c89=$ac_arg
4747 fi
4748 rm -f core conftest.err conftest.$ac_objext
4749 test "x$ac_cv_prog_cc_c89" != "xno" && break
4750 done
4751 rm -f conftest.$ac_ext
4752 CC=$ac_save_CC
4753
4754 fi
4755 # AC_CACHE_VAL
4756 case "x$ac_cv_prog_cc_c89" in
4757 x)
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4759 $as_echo "none needed" >&6; } ;;
4760 xno)
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4762 $as_echo "unsupported" >&6; } ;;
4763 *)
4764 CC="$CC $ac_cv_prog_cc_c89"
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4766 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4767 esac
4768 if test "x$ac_cv_prog_cc_c89" != xno; then :
4769
4770 fi
4771
4772 ac_ext=c
4773 ac_cpp='$CPP $CPPFLAGS'
4774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4777
4778 case `pwd` in
4779 *\ * | *\ *)
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4781 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4782 esac
4783
4784
4785
4786 macro_version='2.2.6b'
4787 macro_revision='1.3017'
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801 ltmain="$ac_aux_dir/ltmain.sh"
4802
4803 # Make sure we can run config.sub.
4804 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4805 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4806
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4808 $as_echo_n "checking build system type... " >&6; }
4809 if test "${ac_cv_build+set}" = set; then :
4810 $as_echo_n "(cached) " >&6
4811 else
4812 ac_build_alias=$build_alias
4813 test "x$ac_build_alias" = x &&
4814 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4815 test "x$ac_build_alias" = x &&
4816 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4817 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4818 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4819
4820 fi
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4822 $as_echo "$ac_cv_build" >&6; }
4823 case $ac_cv_build in
4824 *-*-*) ;;
4825 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
4826 esac
4827 build=$ac_cv_build
4828 ac_save_IFS=$IFS; IFS='-'
4829 set x $ac_cv_build
4830 shift
4831 build_cpu=$1
4832 build_vendor=$2
4833 shift; shift
4834 # Remember, the first character of IFS is used to create $*,
4835 # except with old shells:
4836 build_os=$*
4837 IFS=$ac_save_IFS
4838 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4839
4840
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4842 $as_echo_n "checking host system type... " >&6; }
4843 if test "${ac_cv_host+set}" = set; then :
4844 $as_echo_n "(cached) " >&6
4845 else
4846 if test "x$host_alias" = x; then
4847 ac_cv_host=$ac_cv_build
4848 else
4849 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4850 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4851 fi
4852
4853 fi
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4855 $as_echo "$ac_cv_host" >&6; }
4856 case $ac_cv_host in
4857 *-*-*) ;;
4858 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
4859 esac
4860 host=$ac_cv_host
4861 ac_save_IFS=$IFS; IFS='-'
4862 set x $ac_cv_host
4863 shift
4864 host_cpu=$1
4865 host_vendor=$2
4866 shift; shift
4867 # Remember, the first character of IFS is used to create $*,
4868 # except with old shells:
4869 host_os=$*
4870 IFS=$ac_save_IFS
4871 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4872
4873
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4875 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4876 if test "${ac_cv_path_SED+set}" = set; then :
4877 $as_echo_n "(cached) " >&6
4878 else
4879 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4880 for ac_i in 1 2 3 4 5 6 7; do
4881 ac_script="$ac_script$as_nl$ac_script"
4882 done
4883 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4884 { ac_script=; unset ac_script;}
4885 if test -z "$SED"; then
4886 ac_path_SED_found=false
4887 # Loop through the user's path and test for each of PROGNAME-LIST
4888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4889 for as_dir in $PATH
4890 do
4891 IFS=$as_save_IFS
4892 test -z "$as_dir" && as_dir=.
4893 for ac_prog in sed gsed; do
4894 for ac_exec_ext in '' $ac_executable_extensions; do
4895 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4896 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4897 # Check for GNU ac_path_SED and select it if it is found.
4898 # Check for GNU $ac_path_SED
4899 case `"$ac_path_SED" --version 2>&1` in
4900 *GNU*)
4901 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4902 *)
4903 ac_count=0
4904 $as_echo_n 0123456789 >"conftest.in"
4905 while :
4906 do
4907 cat "conftest.in" "conftest.in" >"conftest.tmp"
4908 mv "conftest.tmp" "conftest.in"
4909 cp "conftest.in" "conftest.nl"
4910 $as_echo '' >> "conftest.nl"
4911 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4912 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4913 as_fn_arith $ac_count + 1 && ac_count=$as_val
4914 if test $ac_count -gt ${ac_path_SED_max-0}; then
4915 # Best one so far, save it but keep looking for a better one
4916 ac_cv_path_SED="$ac_path_SED"
4917 ac_path_SED_max=$ac_count
4918 fi
4919 # 10*(2^10) chars as input seems more than enough
4920 test $ac_count -gt 10 && break
4921 done
4922 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4923 esac
4924
4925 $ac_path_SED_found && break 3
4926 done
4927 done
4928 done
4929 IFS=$as_save_IFS
4930 if test -z "$ac_cv_path_SED"; then
4931 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4932 fi
4933 else
4934 ac_cv_path_SED=$SED
4935 fi
4936
4937 fi
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4939 $as_echo "$ac_cv_path_SED" >&6; }
4940 SED="$ac_cv_path_SED"
4941 rm -f conftest.sed
4942
4943 test -z "$SED" && SED=sed
4944 Xsed="$SED -e 1s/^X//"
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4957 $as_echo_n "checking for fgrep... " >&6; }
4958 if test "${ac_cv_path_FGREP+set}" = set; then :
4959 $as_echo_n "(cached) " >&6
4960 else
4961 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4962 then ac_cv_path_FGREP="$GREP -F"
4963 else
4964 if test -z "$FGREP"; then
4965 ac_path_FGREP_found=false
4966 # Loop through the user's path and test for each of PROGNAME-LIST
4967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4968 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4969 do
4970 IFS=$as_save_IFS
4971 test -z "$as_dir" && as_dir=.
4972 for ac_prog in fgrep; do
4973 for ac_exec_ext in '' $ac_executable_extensions; do
4974 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4975 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4976 # Check for GNU ac_path_FGREP and select it if it is found.
4977 # Check for GNU $ac_path_FGREP
4978 case `"$ac_path_FGREP" --version 2>&1` in
4979 *GNU*)
4980 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4981 *)
4982 ac_count=0
4983 $as_echo_n 0123456789 >"conftest.in"
4984 while :
4985 do
4986 cat "conftest.in" "conftest.in" >"conftest.tmp"
4987 mv "conftest.tmp" "conftest.in"
4988 cp "conftest.in" "conftest.nl"
4989 $as_echo 'FGREP' >> "conftest.nl"
4990 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4991 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4992 as_fn_arith $ac_count + 1 && ac_count=$as_val
4993 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4994 # Best one so far, save it but keep looking for a better one
4995 ac_cv_path_FGREP="$ac_path_FGREP"
4996 ac_path_FGREP_max=$ac_count
4997 fi
4998 # 10*(2^10) chars as input seems more than enough
4999 test $ac_count -gt 10 && break
5000 done
5001 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5002 esac
5003
5004 $ac_path_FGREP_found && break 3
5005 done
5006 done
5007 done
5008 IFS=$as_save_IFS
5009 if test -z "$ac_cv_path_FGREP"; then
5010 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5011 fi
5012 else
5013 ac_cv_path_FGREP=$FGREP
5014 fi
5015
5016 fi
5017 fi
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5019 $as_echo "$ac_cv_path_FGREP" >&6; }
5020 FGREP="$ac_cv_path_FGREP"
5021
5022
5023 test -z "$GREP" && GREP=grep
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043 # Check whether --with-gnu-ld was given.
5044 if test "${with_gnu_ld+set}" = set; then :
5045 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5046 else
5047 with_gnu_ld=no
5048 fi
5049
5050 ac_prog=ld
5051 if test "$GCC" = yes; then
5052 # Check if gcc -print-prog-name=ld gives a path.
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5054 $as_echo_n "checking for ld used by $CC... " >&6; }
5055 case $host in
5056 *-*-mingw*)
5057 # gcc leaves a trailing carriage return which upsets mingw
5058 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5059 *)
5060 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5061 esac
5062 case $ac_prog in
5063 # Accept absolute paths.
5064 [\\/]* | ?:[\\/]*)
5065 re_direlt='/[^/][^/]*/\.\./'
5066 # Canonicalize the pathname of ld
5067 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5068 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5069 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5070 done
5071 test -z "$LD" && LD="$ac_prog"
5072 ;;
5073 "")
5074 # If it fails, then pretend we aren't using GCC.
5075 ac_prog=ld
5076 ;;
5077 *)
5078 # If it is relative, then search for the first ld in PATH.
5079 with_gnu_ld=unknown
5080 ;;
5081 esac
5082 elif test "$with_gnu_ld" = yes; then
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5084 $as_echo_n "checking for GNU ld... " >&6; }
5085 else
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5087 $as_echo_n "checking for non-GNU ld... " >&6; }
5088 fi
5089 if test "${lt_cv_path_LD+set}" = set; then :
5090 $as_echo_n "(cached) " >&6
5091 else
5092 if test -z "$LD"; then
5093 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5094 for ac_dir in $PATH; do
5095 IFS="$lt_save_ifs"
5096 test -z "$ac_dir" && ac_dir=.
5097 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5098 lt_cv_path_LD="$ac_dir/$ac_prog"
5099 # Check to see if the program is GNU ld. I'd rather use --version,
5100 # but apparently some variants of GNU ld only accept -v.
5101 # Break only if it was the GNU/non-GNU ld that we prefer.
5102 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5103 *GNU* | *'with BFD'*)
5104 test "$with_gnu_ld" != no && break
5105 ;;
5106 *)
5107 test "$with_gnu_ld" != yes && break
5108 ;;
5109 esac
5110 fi
5111 done
5112 IFS="$lt_save_ifs"
5113 else
5114 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5115 fi
5116 fi
5117
5118 LD="$lt_cv_path_LD"
5119 if test -n "$LD"; then
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5121 $as_echo "$LD" >&6; }
5122 else
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5124 $as_echo "no" >&6; }
5125 fi
5126 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5128 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5129 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5130 $as_echo_n "(cached) " >&6
5131 else
5132 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5133 case `$LD -v 2>&1 </dev/null` in
5134 *GNU* | *'with BFD'*)
5135 lt_cv_prog_gnu_ld=yes
5136 ;;
5137 *)
5138 lt_cv_prog_gnu_ld=no
5139 ;;
5140 esac
5141 fi
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5143 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5144 with_gnu_ld=$lt_cv_prog_gnu_ld
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5155 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5156 if test "${lt_cv_path_NM+set}" = set; then :
5157 $as_echo_n "(cached) " >&6
5158 else
5159 if test -n "$NM"; then
5160 # Let the user override the test.
5161 lt_cv_path_NM="$NM"
5162 else
5163 lt_nm_to_check="${ac_tool_prefix}nm"
5164 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5165 lt_nm_to_check="$lt_nm_to_check nm"
5166 fi
5167 for lt_tmp_nm in $lt_nm_to_check; do
5168 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5169 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5170 IFS="$lt_save_ifs"
5171 test -z "$ac_dir" && ac_dir=.
5172 tmp_nm="$ac_dir/$lt_tmp_nm"
5173 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5174 # Check to see if the nm accepts a BSD-compat flag.
5175 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5176 # nm: unknown option "B" ignored
5177 # Tru64's nm complains that /dev/null is an invalid object file
5178 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5179 */dev/null* | *'Invalid file or object type'*)
5180 lt_cv_path_NM="$tmp_nm -B"
5181 break
5182 ;;
5183 *)
5184 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5185 */dev/null*)
5186 lt_cv_path_NM="$tmp_nm -p"
5187 break
5188 ;;
5189 *)
5190 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5191 continue # so that we can try to find one that supports BSD flags
5192 ;;
5193 esac
5194 ;;
5195 esac
5196 fi
5197 done
5198 IFS="$lt_save_ifs"
5199 done
5200 : ${lt_cv_path_NM=no}
5201 fi
5202 fi
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5204 $as_echo "$lt_cv_path_NM" >&6; }
5205 if test "$lt_cv_path_NM" != "no"; then
5206 NM="$lt_cv_path_NM"
5207 else
5208 # Didn't find any BSD compatible name lister, look for dumpbin.
5209 if test -n "$ac_tool_prefix"; then
5210 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5211 do
5212 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5213 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5215 $as_echo_n "checking for $ac_word... " >&6; }
5216 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5217 $as_echo_n "(cached) " >&6
5218 else
5219 if test -n "$DUMPBIN"; then
5220 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5221 else
5222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5223 for as_dir in $PATH
5224 do
5225 IFS=$as_save_IFS
5226 test -z "$as_dir" && as_dir=.
5227 for ac_exec_ext in '' $ac_executable_extensions; do
5228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5229 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5231 break 2
5232 fi
5233 done
5234 done
5235 IFS=$as_save_IFS
5236
5237 fi
5238 fi
5239 DUMPBIN=$ac_cv_prog_DUMPBIN
5240 if test -n "$DUMPBIN"; then
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5242 $as_echo "$DUMPBIN" >&6; }
5243 else
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5245 $as_echo "no" >&6; }
5246 fi
5247
5248
5249 test -n "$DUMPBIN" && break
5250 done
5251 fi
5252 if test -z "$DUMPBIN"; then
5253 ac_ct_DUMPBIN=$DUMPBIN
5254 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5255 do
5256 # Extract the first word of "$ac_prog", so it can be a program name with args.
5257 set dummy $ac_prog; ac_word=$2
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5259 $as_echo_n "checking for $ac_word... " >&6; }
5260 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5261 $as_echo_n "(cached) " >&6
5262 else
5263 if test -n "$ac_ct_DUMPBIN"; then
5264 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5265 else
5266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5267 for as_dir in $PATH
5268 do
5269 IFS=$as_save_IFS
5270 test -z "$as_dir" && as_dir=.
5271 for ac_exec_ext in '' $ac_executable_extensions; do
5272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5273 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5275 break 2
5276 fi
5277 done
5278 done
5279 IFS=$as_save_IFS
5280
5281 fi
5282 fi
5283 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5284 if test -n "$ac_ct_DUMPBIN"; then
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5286 $as_echo "$ac_ct_DUMPBIN" >&6; }
5287 else
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5289 $as_echo "no" >&6; }
5290 fi
5291
5292
5293 test -n "$ac_ct_DUMPBIN" && break
5294 done
5295
5296 if test "x$ac_ct_DUMPBIN" = x; then
5297 DUMPBIN=":"
5298 else
5299 case $cross_compiling:$ac_tool_warned in
5300 yes:)
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5303 ac_tool_warned=yes ;;
5304 esac
5305 DUMPBIN=$ac_ct_DUMPBIN
5306 fi
5307 fi
5308
5309
5310 if test "$DUMPBIN" != ":"; then
5311 NM="$DUMPBIN"
5312 fi
5313 fi
5314 test -z "$NM" && NM=nm
5315
5316
5317
5318
5319
5320
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5322 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5323 if test "${lt_cv_nm_interface+set}" = set; then :
5324 $as_echo_n "(cached) " >&6
5325 else
5326 lt_cv_nm_interface="BSD nm"
5327 echo "int some_variable = 0;" > conftest.$ac_ext
5328 (eval echo "\"\$as_me:5328: $ac_compile\"" >&5)
5329 (eval "$ac_compile" 2>conftest.err)
5330 cat conftest.err >&5
5331 (eval echo "\"\$as_me:5331: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5332 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5333 cat conftest.err >&5
5334 (eval echo "\"\$as_me:5334: output\"" >&5)
5335 cat conftest.out >&5
5336 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5337 lt_cv_nm_interface="MS dumpbin"
5338 fi
5339 rm -f conftest*
5340 fi
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5342 $as_echo "$lt_cv_nm_interface" >&6; }
5343
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5345 $as_echo_n "checking whether ln -s works... " >&6; }
5346 LN_S=$as_ln_s
5347 if test "$LN_S" = "ln -s"; then
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5349 $as_echo "yes" >&6; }
5350 else
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5352 $as_echo "no, using $LN_S" >&6; }
5353 fi
5354
5355 # find the maximum length of command line arguments
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5357 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5358 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5359 $as_echo_n "(cached) " >&6
5360 else
5361 i=0
5362 teststring="ABCD"
5363
5364 case $build_os in
5365 msdosdjgpp*)
5366 # On DJGPP, this test can blow up pretty badly due to problems in libc
5367 # (any single argument exceeding 2000 bytes causes a buffer overrun
5368 # during glob expansion). Even if it were fixed, the result of this
5369 # check would be larger than it should be.
5370 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5371 ;;
5372
5373 gnu*)
5374 # Under GNU Hurd, this test is not required because there is
5375 # no limit to the length of command line arguments.
5376 # Libtool will interpret -1 as no limit whatsoever
5377 lt_cv_sys_max_cmd_len=-1;
5378 ;;
5379
5380 cygwin* | mingw* | cegcc*)
5381 # On Win9x/ME, this test blows up -- it succeeds, but takes
5382 # about 5 minutes as the teststring grows exponentially.
5383 # Worse, since 9x/ME are not pre-emptively multitasking,
5384 # you end up with a "frozen" computer, even though with patience
5385 # the test eventually succeeds (with a max line length of 256k).
5386 # Instead, let's just punt: use the minimum linelength reported by
5387 # all of the supported platforms: 8192 (on NT/2K/XP).
5388 lt_cv_sys_max_cmd_len=8192;
5389 ;;
5390
5391 amigaos*)
5392 # On AmigaOS with pdksh, this test takes hours, literally.
5393 # So we just punt and use a minimum line length of 8192.
5394 lt_cv_sys_max_cmd_len=8192;
5395 ;;
5396
5397 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5398 # This has been around since 386BSD, at least. Likely further.
5399 if test -x /sbin/sysctl; then
5400 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5401 elif test -x /usr/sbin/sysctl; then
5402 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5403 else
5404 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5405 fi
5406 # And add a safety zone
5407 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5408 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5409 ;;
5410
5411 interix*)
5412 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5413 lt_cv_sys_max_cmd_len=196608
5414 ;;
5415
5416 osf*)
5417 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5418 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5419 # nice to cause kernel panics so lets avoid the loop below.
5420 # First set a reasonable default.
5421 lt_cv_sys_max_cmd_len=16384
5422 #
5423 if test -x /sbin/sysconfig; then
5424 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5425 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5426 esac
5427 fi
5428 ;;
5429 sco3.2v5*)
5430 lt_cv_sys_max_cmd_len=102400
5431 ;;
5432 sysv5* | sco5v6* | sysv4.2uw2*)
5433 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5434 if test -n "$kargmax"; then
5435 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5436 else
5437 lt_cv_sys_max_cmd_len=32768
5438 fi
5439 ;;
5440 *)
5441 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5442 if test -n "$lt_cv_sys_max_cmd_len"; then
5443 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5444 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5445 else
5446 # Make teststring a little bigger before we do anything with it.
5447 # a 1K string should be a reasonable start.
5448 for i in 1 2 3 4 5 6 7 8 ; do
5449 teststring=$teststring$teststring
5450 done
5451 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5452 # If test is not a shell built-in, we'll probably end up computing a
5453 # maximum length that is only half of the actual maximum length, but
5454 # we can't tell.
5455 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5456 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5457 test $i != 17 # 1/2 MB should be enough
5458 do
5459 i=`expr $i + 1`
5460 teststring=$teststring$teststring
5461 done
5462 # Only check the string length outside the loop.
5463 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5464 teststring=
5465 # Add a significant safety factor because C++ compilers can tack on
5466 # massive amounts of additional arguments before passing them to the
5467 # linker. It appears as though 1/2 is a usable value.
5468 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5469 fi
5470 ;;
5471 esac
5472
5473 fi
5474
5475 if test -n $lt_cv_sys_max_cmd_len ; then
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5477 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5478 else
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5480 $as_echo "none" >&6; }
5481 fi
5482 max_cmd_len=$lt_cv_sys_max_cmd_len
5483
5484
5485
5486
5487
5488
5489 : ${CP="cp -f"}
5490 : ${MV="mv -f"}
5491 : ${RM="rm -f"}
5492
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5494 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5495 # Try some XSI features
5496 xsi_shell=no
5497 ( _lt_dummy="a/b/c"
5498 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5499 = c,a/b,, \
5500 && eval 'test $(( 1 + 1 )) -eq 2 \
5501 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5502 && xsi_shell=yes
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5504 $as_echo "$xsi_shell" >&6; }
5505
5506
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5508 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5509 lt_shell_append=no
5510 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5511 >/dev/null 2>&1 \
5512 && lt_shell_append=yes
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5514 $as_echo "$lt_shell_append" >&6; }
5515
5516
5517 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5518 lt_unset=unset
5519 else
5520 lt_unset=false
5521 fi
5522
5523
5524
5525
5526
5527 # test EBCDIC or ASCII
5528 case `echo X|tr X '\101'` in
5529 A) # ASCII based system
5530 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5531 lt_SP2NL='tr \040 \012'
5532 lt_NL2SP='tr \015\012 \040\040'
5533 ;;
5534 *) # EBCDIC based system
5535 lt_SP2NL='tr \100 \n'
5536 lt_NL2SP='tr \r\n \100\100'
5537 ;;
5538 esac
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5549 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5550 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5551 $as_echo_n "(cached) " >&6
5552 else
5553 lt_cv_ld_reload_flag='-r'
5554 fi
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5556 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5557 reload_flag=$lt_cv_ld_reload_flag
5558 case $reload_flag in
5559 "" | " "*) ;;
5560 *) reload_flag=" $reload_flag" ;;
5561 esac
5562 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5563 case $host_os in
5564 darwin*)
5565 if test "$GCC" = yes; then
5566 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5567 else
5568 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5569 fi
5570 ;;
5571 esac
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581 if test -n "$ac_tool_prefix"; then
5582 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5583 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585 $as_echo_n "checking for $ac_word... " >&6; }
5586 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5587 $as_echo_n "(cached) " >&6
5588 else
5589 if test -n "$OBJDUMP"; then
5590 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5591 else
5592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5593 for as_dir in $PATH
5594 do
5595 IFS=$as_save_IFS
5596 test -z "$as_dir" && as_dir=.
5597 for ac_exec_ext in '' $ac_executable_extensions; do
5598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5599 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5601 break 2
5602 fi
5603 done
5604 done
5605 IFS=$as_save_IFS
5606
5607 fi
5608 fi
5609 OBJDUMP=$ac_cv_prog_OBJDUMP
5610 if test -n "$OBJDUMP"; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5612 $as_echo "$OBJDUMP" >&6; }
5613 else
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5615 $as_echo "no" >&6; }
5616 fi
5617
5618
5619 fi
5620 if test -z "$ac_cv_prog_OBJDUMP"; then
5621 ac_ct_OBJDUMP=$OBJDUMP
5622 # Extract the first word of "objdump", so it can be a program name with args.
5623 set dummy objdump; ac_word=$2
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625 $as_echo_n "checking for $ac_word... " >&6; }
5626 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5627 $as_echo_n "(cached) " >&6
5628 else
5629 if test -n "$ac_ct_OBJDUMP"; then
5630 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5631 else
5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5633 for as_dir in $PATH
5634 do
5635 IFS=$as_save_IFS
5636 test -z "$as_dir" && as_dir=.
5637 for ac_exec_ext in '' $ac_executable_extensions; do
5638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5639 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641 break 2
5642 fi
5643 done
5644 done
5645 IFS=$as_save_IFS
5646
5647 fi
5648 fi
5649 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5650 if test -n "$ac_ct_OBJDUMP"; then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5652 $as_echo "$ac_ct_OBJDUMP" >&6; }
5653 else
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655 $as_echo "no" >&6; }
5656 fi
5657
5658 if test "x$ac_ct_OBJDUMP" = x; then
5659 OBJDUMP="false"
5660 else
5661 case $cross_compiling:$ac_tool_warned in
5662 yes:)
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5665 ac_tool_warned=yes ;;
5666 esac
5667 OBJDUMP=$ac_ct_OBJDUMP
5668 fi
5669 else
5670 OBJDUMP="$ac_cv_prog_OBJDUMP"
5671 fi
5672
5673 test -z "$OBJDUMP" && OBJDUMP=objdump
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5684 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5685 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5686 $as_echo_n "(cached) " >&6
5687 else
5688 lt_cv_file_magic_cmd='$MAGIC_CMD'
5689 lt_cv_file_magic_test_file=
5690 lt_cv_deplibs_check_method='unknown'
5691 # Need to set the preceding variable on all platforms that support
5692 # interlibrary dependencies.
5693 # 'none' -- dependencies not supported.
5694 # `unknown' -- same as none, but documents that we really don't know.
5695 # 'pass_all' -- all dependencies passed with no checks.
5696 # 'test_compile' -- check by making test program.
5697 # 'file_magic [[regex]]' -- check by looking for files in library path
5698 # which responds to the $file_magic_cmd with a given extended regex.
5699 # If you have `file' or equivalent on your system and you're not sure
5700 # whether `pass_all' will *always* work, you probably want this one.
5701
5702 case $host_os in
5703 aix[4-9]*)
5704 lt_cv_deplibs_check_method=pass_all
5705 ;;
5706
5707 beos*)
5708 lt_cv_deplibs_check_method=pass_all
5709 ;;
5710
5711 bsdi[45]*)
5712 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5713 lt_cv_file_magic_cmd='/usr/bin/file -L'
5714 lt_cv_file_magic_test_file=/shlib/libc.so
5715 ;;
5716
5717 cygwin*)
5718 # func_win32_libid is a shell function defined in ltmain.sh
5719 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5720 lt_cv_file_magic_cmd='func_win32_libid'
5721 ;;
5722
5723 mingw* | pw32*)
5724 # Base MSYS/MinGW do not provide the 'file' command needed by
5725 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5726 # unless we find 'file', for example because we are cross-compiling.
5727 if ( file / ) >/dev/null 2>&1; then
5728 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5729 lt_cv_file_magic_cmd='func_win32_libid'
5730 else
5731 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5732 lt_cv_file_magic_cmd='$OBJDUMP -f'
5733 fi
5734 ;;
5735
5736 cegcc)
5737 # use the weaker test based on 'objdump'. See mingw*.
5738 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5739 lt_cv_file_magic_cmd='$OBJDUMP -f'
5740 ;;
5741
5742 darwin* | rhapsody*)
5743 lt_cv_deplibs_check_method=pass_all
5744 ;;
5745
5746 freebsd* | dragonfly*)
5747 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5748 case $host_cpu in
5749 i*86 )
5750 # Not sure whether the presence of OpenBSD here was a mistake.
5751 # Let's accept both of them until this is cleared up.
5752 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5753 lt_cv_file_magic_cmd=/usr/bin/file
5754 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5755 ;;
5756 esac
5757 else
5758 lt_cv_deplibs_check_method=pass_all
5759 fi
5760 ;;
5761
5762 gnu*)
5763 lt_cv_deplibs_check_method=pass_all
5764 ;;
5765
5766 hpux10.20* | hpux11*)
5767 lt_cv_file_magic_cmd=/usr/bin/file
5768 case $host_cpu in
5769 ia64*)
5770 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5771 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5772 ;;
5773 hppa*64*)
5774 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5775 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5776 ;;
5777 *)
5778 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5779 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5780 ;;
5781 esac
5782 ;;
5783
5784 interix[3-9]*)
5785 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5786 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5787 ;;
5788
5789 irix5* | irix6* | nonstopux*)
5790 case $LD in
5791 *-32|*"-32 ") libmagic=32-bit;;
5792 *-n32|*"-n32 ") libmagic=N32;;
5793 *-64|*"-64 ") libmagic=64-bit;;
5794 *) libmagic=never-match;;
5795 esac
5796 lt_cv_deplibs_check_method=pass_all
5797 ;;
5798
5799 # This must be Linux ELF.
5800 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5801 lt_cv_deplibs_check_method=pass_all
5802 ;;
5803
5804 netbsd* | netbsdelf*-gnu)
5805 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5806 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5807 else
5808 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5809 fi
5810 ;;
5811
5812 newos6*)
5813 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5814 lt_cv_file_magic_cmd=/usr/bin/file
5815 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5816 ;;
5817
5818 *nto* | *qnx*)
5819 lt_cv_deplibs_check_method=pass_all
5820 ;;
5821
5822 openbsd*)
5823 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5824 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5825 else
5826 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5827 fi
5828 ;;
5829
5830 osf3* | osf4* | osf5*)
5831 lt_cv_deplibs_check_method=pass_all
5832 ;;
5833
5834 rdos*)
5835 lt_cv_deplibs_check_method=pass_all
5836 ;;
5837
5838 solaris*)
5839 lt_cv_deplibs_check_method=pass_all
5840 ;;
5841
5842 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5843 lt_cv_deplibs_check_method=pass_all
5844 ;;
5845
5846 sysv4 | sysv4.3*)
5847 case $host_vendor in
5848 motorola)
5849 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5850 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5851 ;;
5852 ncr)
5853 lt_cv_deplibs_check_method=pass_all
5854 ;;
5855 sequent)
5856 lt_cv_file_magic_cmd='/bin/file'
5857 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5858 ;;
5859 sni)
5860 lt_cv_file_magic_cmd='/bin/file'
5861 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5862 lt_cv_file_magic_test_file=/lib/libc.so
5863 ;;
5864 siemens)
5865 lt_cv_deplibs_check_method=pass_all
5866 ;;
5867 pc)
5868 lt_cv_deplibs_check_method=pass_all
5869 ;;
5870 esac
5871 ;;
5872
5873 tpf*)
5874 lt_cv_deplibs_check_method=pass_all
5875 ;;
5876 esac
5877
5878 fi
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5880 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5881 file_magic_cmd=$lt_cv_file_magic_cmd
5882 deplibs_check_method=$lt_cv_deplibs_check_method
5883 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896 if test -n "$ac_tool_prefix"; then
5897 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5898 set dummy ${ac_tool_prefix}ar; ac_word=$2
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5900 $as_echo_n "checking for $ac_word... " >&6; }
5901 if test "${ac_cv_prog_AR+set}" = set; then :
5902 $as_echo_n "(cached) " >&6
5903 else
5904 if test -n "$AR"; then
5905 ac_cv_prog_AR="$AR" # Let the user override the test.
5906 else
5907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5908 for as_dir in $PATH
5909 do
5910 IFS=$as_save_IFS
5911 test -z "$as_dir" && as_dir=.
5912 for ac_exec_ext in '' $ac_executable_extensions; do
5913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5914 ac_cv_prog_AR="${ac_tool_prefix}ar"
5915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5916 break 2
5917 fi
5918 done
5919 done
5920 IFS=$as_save_IFS
5921
5922 fi
5923 fi
5924 AR=$ac_cv_prog_AR
5925 if test -n "$AR"; then
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5927 $as_echo "$AR" >&6; }
5928 else
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5930 $as_echo "no" >&6; }
5931 fi
5932
5933
5934 fi
5935 if test -z "$ac_cv_prog_AR"; then
5936 ac_ct_AR=$AR
5937 # Extract the first word of "ar", so it can be a program name with args.
5938 set dummy ar; ac_word=$2
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5940 $as_echo_n "checking for $ac_word... " >&6; }
5941 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5942 $as_echo_n "(cached) " >&6
5943 else
5944 if test -n "$ac_ct_AR"; then
5945 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5946 else
5947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5948 for as_dir in $PATH
5949 do
5950 IFS=$as_save_IFS
5951 test -z "$as_dir" && as_dir=.
5952 for ac_exec_ext in '' $ac_executable_extensions; do
5953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5954 ac_cv_prog_ac_ct_AR="ar"
5955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5956 break 2
5957 fi
5958 done
5959 done
5960 IFS=$as_save_IFS
5961
5962 fi
5963 fi
5964 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5965 if test -n "$ac_ct_AR"; then
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5967 $as_echo "$ac_ct_AR" >&6; }
5968 else
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5970 $as_echo "no" >&6; }
5971 fi
5972
5973 if test "x$ac_ct_AR" = x; then
5974 AR="false"
5975 else
5976 case $cross_compiling:$ac_tool_warned in
5977 yes:)
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5979 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5980 ac_tool_warned=yes ;;
5981 esac
5982 AR=$ac_ct_AR
5983 fi
5984 else
5985 AR="$ac_cv_prog_AR"
5986 fi
5987
5988 test -z "$AR" && AR=ar
5989 test -z "$AR_FLAGS" && AR_FLAGS=cru
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001 if test -n "$ac_tool_prefix"; then
6002 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6003 set dummy ${ac_tool_prefix}strip; ac_word=$2
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6005 $as_echo_n "checking for $ac_word... " >&6; }
6006 if test "${ac_cv_prog_STRIP+set}" = set; then :
6007 $as_echo_n "(cached) " >&6
6008 else
6009 if test -n "$STRIP"; then
6010 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6011 else
6012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6013 for as_dir in $PATH
6014 do
6015 IFS=$as_save_IFS
6016 test -z "$as_dir" && as_dir=.
6017 for ac_exec_ext in '' $ac_executable_extensions; do
6018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6019 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6021 break 2
6022 fi
6023 done
6024 done
6025 IFS=$as_save_IFS
6026
6027 fi
6028 fi
6029 STRIP=$ac_cv_prog_STRIP
6030 if test -n "$STRIP"; then
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6032 $as_echo "$STRIP" >&6; }
6033 else
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6035 $as_echo "no" >&6; }
6036 fi
6037
6038
6039 fi
6040 if test -z "$ac_cv_prog_STRIP"; then
6041 ac_ct_STRIP=$STRIP
6042 # Extract the first word of "strip", so it can be a program name with args.
6043 set dummy strip; ac_word=$2
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6045 $as_echo_n "checking for $ac_word... " >&6; }
6046 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6047 $as_echo_n "(cached) " >&6
6048 else
6049 if test -n "$ac_ct_STRIP"; then
6050 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6051 else
6052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6053 for as_dir in $PATH
6054 do
6055 IFS=$as_save_IFS
6056 test -z "$as_dir" && as_dir=.
6057 for ac_exec_ext in '' $ac_executable_extensions; do
6058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6059 ac_cv_prog_ac_ct_STRIP="strip"
6060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6061 break 2
6062 fi
6063 done
6064 done
6065 IFS=$as_save_IFS
6066
6067 fi
6068 fi
6069 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6070 if test -n "$ac_ct_STRIP"; then
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6072 $as_echo "$ac_ct_STRIP" >&6; }
6073 else
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6075 $as_echo "no" >&6; }
6076 fi
6077
6078 if test "x$ac_ct_STRIP" = x; then
6079 STRIP=":"
6080 else
6081 case $cross_compiling:$ac_tool_warned in
6082 yes:)
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6085 ac_tool_warned=yes ;;
6086 esac
6087 STRIP=$ac_ct_STRIP
6088 fi
6089 else
6090 STRIP="$ac_cv_prog_STRIP"
6091 fi
6092
6093 test -z "$STRIP" && STRIP=:
6094
6095
6096
6097
6098
6099
6100 if test -n "$ac_tool_prefix"; then
6101 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6102 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6104 $as_echo_n "checking for $ac_word... " >&6; }
6105 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6106 $as_echo_n "(cached) " >&6
6107 else
6108 if test -n "$RANLIB"; then
6109 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6110 else
6111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6112 for as_dir in $PATH
6113 do
6114 IFS=$as_save_IFS
6115 test -z "$as_dir" && as_dir=.
6116 for ac_exec_ext in '' $ac_executable_extensions; do
6117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6118 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6120 break 2
6121 fi
6122 done
6123 done
6124 IFS=$as_save_IFS
6125
6126 fi
6127 fi
6128 RANLIB=$ac_cv_prog_RANLIB
6129 if test -n "$RANLIB"; then
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6131 $as_echo "$RANLIB" >&6; }
6132 else
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6134 $as_echo "no" >&6; }
6135 fi
6136
6137
6138 fi
6139 if test -z "$ac_cv_prog_RANLIB"; then
6140 ac_ct_RANLIB=$RANLIB
6141 # Extract the first word of "ranlib", so it can be a program name with args.
6142 set dummy ranlib; ac_word=$2
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6144 $as_echo_n "checking for $ac_word... " >&6; }
6145 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6146 $as_echo_n "(cached) " >&6
6147 else
6148 if test -n "$ac_ct_RANLIB"; then
6149 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6150 else
6151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6152 for as_dir in $PATH
6153 do
6154 IFS=$as_save_IFS
6155 test -z "$as_dir" && as_dir=.
6156 for ac_exec_ext in '' $ac_executable_extensions; do
6157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6158 ac_cv_prog_ac_ct_RANLIB="ranlib"
6159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6160 break 2
6161 fi
6162 done
6163 done
6164 IFS=$as_save_IFS
6165
6166 fi
6167 fi
6168 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6169 if test -n "$ac_ct_RANLIB"; then
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6171 $as_echo "$ac_ct_RANLIB" >&6; }
6172 else
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6174 $as_echo "no" >&6; }
6175 fi
6176
6177 if test "x$ac_ct_RANLIB" = x; then
6178 RANLIB=":"
6179 else
6180 case $cross_compiling:$ac_tool_warned in
6181 yes:)
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6184 ac_tool_warned=yes ;;
6185 esac
6186 RANLIB=$ac_ct_RANLIB
6187 fi
6188 else
6189 RANLIB="$ac_cv_prog_RANLIB"
6190 fi
6191
6192 test -z "$RANLIB" && RANLIB=:
6193
6194
6195
6196
6197
6198
6199 # Determine commands to create old-style static archives.
6200 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6201 old_postinstall_cmds='chmod 644 $oldlib'
6202 old_postuninstall_cmds=
6203
6204 if test -n "$RANLIB"; then
6205 case $host_os in
6206 openbsd*)
6207 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6208 ;;
6209 *)
6210 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6211 ;;
6212 esac
6213 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6214 fi
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249 # If no C compiler was specified, use CC.
6250 LTCC=${LTCC-"$CC"}
6251
6252 # If no C compiler flags were specified, use CFLAGS.
6253 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6254
6255 # Allow CC to be a program name with arguments.
6256 compiler=$CC
6257
6258
6259 # Check for command to grab the raw symbol name followed by C symbol from nm.
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6261 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6262 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6263 $as_echo_n "(cached) " >&6
6264 else
6265
6266 # These are sane defaults that work on at least a few old systems.
6267 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6268
6269 # Character class describing NM global symbol codes.
6270 symcode='[BCDEGRST]'
6271
6272 # Regexp to match symbols that can be accessed directly from C.
6273 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6274
6275 # Define system-specific variables.
6276 case $host_os in
6277 aix*)
6278 symcode='[BCDT]'
6279 ;;
6280 cygwin* | mingw* | pw32* | cegcc*)
6281 symcode='[ABCDGISTW]'
6282 ;;
6283 hpux*)
6284 if test "$host_cpu" = ia64; then
6285 symcode='[ABCDEGRST]'
6286 fi
6287 ;;
6288 irix* | nonstopux*)
6289 symcode='[BCDEGRST]'
6290 ;;
6291 osf*)
6292 symcode='[BCDEGQRST]'
6293 ;;
6294 solaris*)
6295 symcode='[BDRT]'
6296 ;;
6297 sco3.2v5*)
6298 symcode='[DT]'
6299 ;;
6300 sysv4.2uw2*)
6301 symcode='[DT]'
6302 ;;
6303 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6304 symcode='[ABDT]'
6305 ;;
6306 sysv4)
6307 symcode='[DFNSTU]'
6308 ;;
6309 esac
6310
6311 # If we're using GNU nm, then use its standard symbol codes.
6312 case `$NM -V 2>&1` in
6313 *GNU* | *'with BFD'*)
6314 symcode='[ABCDGIRSTW]' ;;
6315 esac
6316
6317 # Transform an extracted symbol line into a proper C declaration.
6318 # Some systems (esp. on ia64) link data and code symbols differently,
6319 # so use this general approach.
6320 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6321
6322 # Transform an extracted symbol line into symbol name and symbol address
6323 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6324 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6325
6326 # Handle CRLF in mingw tool chain
6327 opt_cr=
6328 case $build_os in
6329 mingw*)
6330 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6331 ;;
6332 esac
6333
6334 # Try without a prefix underscore, then with it.
6335 for ac_symprfx in "" "_"; do
6336
6337 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6338 symxfrm="\\1 $ac_symprfx\\2 \\2"
6339
6340 # Write the raw and C identifiers.
6341 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6342 # Fake it for dumpbin and say T for any non-static function
6343 # and D for any global variable.
6344 # Also find C++ and __fastcall symbols from MSVC++,
6345 # which start with @ or ?.
6346 lt_cv_sys_global_symbol_pipe="$AWK '"\
6347 " {last_section=section; section=\$ 3};"\
6348 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6349 " \$ 0!~/External *\|/{next};"\
6350 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6351 " {if(hide[section]) next};"\
6352 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6353 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6354 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6355 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6356 " ' prfx=^$ac_symprfx"
6357 else
6358 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6359 fi
6360
6361 # Check to see that the pipe works correctly.
6362 pipe_works=no
6363
6364 rm -f conftest*
6365 cat > conftest.$ac_ext <<_LT_EOF
6366 #ifdef __cplusplus
6367 extern "C" {
6368 #endif
6369 char nm_test_var;
6370 void nm_test_func(void);
6371 void nm_test_func(void){}
6372 #ifdef __cplusplus
6373 }
6374 #endif
6375 int main(){nm_test_var='a';nm_test_func();return(0);}
6376 _LT_EOF
6377
6378 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6379 (eval $ac_compile) 2>&5
6380 ac_status=$?
6381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6382 test $ac_status = 0; }; then
6383 # Now try to grab the symbols.
6384 nlist=conftest.nm
6385 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6386 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6387 ac_status=$?
6388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6389 test $ac_status = 0; } && test -s "$nlist"; then
6390 # Try sorting and uniquifying the output.
6391 if sort "$nlist" | uniq > "$nlist"T; then
6392 mv -f "$nlist"T "$nlist"
6393 else
6394 rm -f "$nlist"T
6395 fi
6396
6397 # Make sure that we snagged all the symbols we need.
6398 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6399 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6400 cat <<_LT_EOF > conftest.$ac_ext
6401 #ifdef __cplusplus
6402 extern "C" {
6403 #endif
6404
6405 _LT_EOF
6406 # Now generate the symbol file.
6407 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6408
6409 cat <<_LT_EOF >> conftest.$ac_ext
6410
6411 /* The mapping between symbol names and symbols. */
6412 const struct {
6413 const char *name;
6414 void *address;
6415 }
6416 lt__PROGRAM__LTX_preloaded_symbols[] =
6417 {
6418 { "@PROGRAM@", (void *) 0 },
6419 _LT_EOF
6420 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6421 cat <<\_LT_EOF >> conftest.$ac_ext
6422 {0, (void *) 0}
6423 };
6424
6425 /* This works around a problem in FreeBSD linker */
6426 #ifdef FREEBSD_WORKAROUND
6427 static const void *lt_preloaded_setup() {
6428 return lt__PROGRAM__LTX_preloaded_symbols;
6429 }
6430 #endif
6431
6432 #ifdef __cplusplus
6433 }
6434 #endif
6435 _LT_EOF
6436 # Now try linking the two files.
6437 mv conftest.$ac_objext conftstm.$ac_objext
6438 lt_save_LIBS="$LIBS"
6439 lt_save_CFLAGS="$CFLAGS"
6440 LIBS="conftstm.$ac_objext"
6441 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6442 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6443 (eval $ac_link) 2>&5
6444 ac_status=$?
6445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6446 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6447 pipe_works=yes
6448 fi
6449 LIBS="$lt_save_LIBS"
6450 CFLAGS="$lt_save_CFLAGS"
6451 else
6452 echo "cannot find nm_test_func in $nlist" >&5
6453 fi
6454 else
6455 echo "cannot find nm_test_var in $nlist" >&5
6456 fi
6457 else
6458 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6459 fi
6460 else
6461 echo "$progname: failed program was:" >&5
6462 cat conftest.$ac_ext >&5
6463 fi
6464 rm -rf conftest* conftst*
6465
6466 # Do not use the global_symbol_pipe unless it works.
6467 if test "$pipe_works" = yes; then
6468 break
6469 else
6470 lt_cv_sys_global_symbol_pipe=
6471 fi
6472 done
6473
6474 fi
6475
6476 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6477 lt_cv_sys_global_symbol_to_cdecl=
6478 fi
6479 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6481 $as_echo "failed" >&6; }
6482 else
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6484 $as_echo "ok" >&6; }
6485 fi
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508 # Check whether --enable-libtool-lock was given.
6509 if test "${enable_libtool_lock+set}" = set; then :
6510 enableval=$enable_libtool_lock;
6511 fi
6512
6513 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6514
6515 # Some flags need to be propagated to the compiler or linker for good
6516 # libtool support.
6517 case $host in
6518 ia64-*-hpux*)
6519 # Find out which ABI we are using.
6520 echo 'int i;' > conftest.$ac_ext
6521 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6522 (eval $ac_compile) 2>&5
6523 ac_status=$?
6524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6525 test $ac_status = 0; }; then
6526 case `/usr/bin/file conftest.$ac_objext` in
6527 *ELF-32*)
6528 HPUX_IA64_MODE="32"
6529 ;;
6530 *ELF-64*)
6531 HPUX_IA64_MODE="64"
6532 ;;
6533 esac
6534 fi
6535 rm -rf conftest*
6536 ;;
6537 *-*-irix6*)
6538 # Find out which ABI we are using.
6539 echo '#line 6539 "configure"' > conftest.$ac_ext
6540 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6541 (eval $ac_compile) 2>&5
6542 ac_status=$?
6543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6544 test $ac_status = 0; }; then
6545 if test "$lt_cv_prog_gnu_ld" = yes; then
6546 case `/usr/bin/file conftest.$ac_objext` in
6547 *32-bit*)
6548 LD="${LD-ld} -melf32bsmip"
6549 ;;
6550 *N32*)
6551 LD="${LD-ld} -melf32bmipn32"
6552 ;;
6553 *64-bit*)
6554 LD="${LD-ld} -melf64bmip"
6555 ;;
6556 esac
6557 else
6558 case `/usr/bin/file conftest.$ac_objext` in
6559 *32-bit*)
6560 LD="${LD-ld} -32"
6561 ;;
6562 *N32*)
6563 LD="${LD-ld} -n32"
6564 ;;
6565 *64-bit*)
6566 LD="${LD-ld} -64"
6567 ;;
6568 esac
6569 fi
6570 fi
6571 rm -rf conftest*
6572 ;;
6573
6574 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6575 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6576 # Find out which ABI we are using.
6577 echo 'int i;' > conftest.$ac_ext
6578 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6579 (eval $ac_compile) 2>&5
6580 ac_status=$?
6581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6582 test $ac_status = 0; }; then
6583 case `/usr/bin/file conftest.o` in
6584 *32-bit*)
6585 case $host in
6586 x86_64-*kfreebsd*-gnu)
6587 LD="${LD-ld} -m elf_i386_fbsd"
6588 ;;
6589 x86_64-*linux*)
6590 LD="${LD-ld} -m elf_i386"
6591 ;;
6592 ppc64-*linux*|powerpc64-*linux*)
6593 LD="${LD-ld} -m elf32ppclinux"
6594 ;;
6595 s390x-*linux*)
6596 LD="${LD-ld} -m elf_s390"
6597 ;;
6598 sparc64-*linux*)
6599 LD="${LD-ld} -m elf32_sparc"
6600 ;;
6601 esac
6602 ;;
6603 *64-bit*)
6604 case $host in
6605 x86_64-*kfreebsd*-gnu)
6606 LD="${LD-ld} -m elf_x86_64_fbsd"
6607 ;;
6608 x86_64-*linux*)
6609 LD="${LD-ld} -m elf_x86_64"
6610 ;;
6611 ppc*-*linux*|powerpc*-*linux*)
6612 LD="${LD-ld} -m elf64ppc"
6613 ;;
6614 s390*-*linux*|s390*-*tpf*)
6615 LD="${LD-ld} -m elf64_s390"
6616 ;;
6617 sparc*-*linux*)
6618 LD="${LD-ld} -m elf64_sparc"
6619 ;;
6620 esac
6621 ;;
6622 esac
6623 fi
6624 rm -rf conftest*
6625 ;;
6626
6627 *-*-sco3.2v5*)
6628 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6629 SAVE_CFLAGS="$CFLAGS"
6630 CFLAGS="$CFLAGS -belf"
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6632 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6633 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6634 $as_echo_n "(cached) " >&6
6635 else
6636 ac_ext=c
6637 ac_cpp='$CPP $CPPFLAGS'
6638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6641
6642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6643 /* end confdefs.h. */
6644
6645 int
6646 main ()
6647 {
6648
6649 ;
6650 return 0;
6651 }
6652 _ACEOF
6653 if ac_fn_c_try_link "$LINENO"; then :
6654 lt_cv_cc_needs_belf=yes
6655 else
6656 lt_cv_cc_needs_belf=no
6657 fi
6658 rm -f core conftest.err conftest.$ac_objext \
6659 conftest$ac_exeext conftest.$ac_ext
6660 ac_ext=c
6661 ac_cpp='$CPP $CPPFLAGS'
6662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6665
6666 fi
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6668 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6669 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6670 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6671 CFLAGS="$SAVE_CFLAGS"
6672 fi
6673 ;;
6674 sparc*-*solaris*)
6675 # Find out which ABI we are using.
6676 echo 'int i;' > conftest.$ac_ext
6677 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6678 (eval $ac_compile) 2>&5
6679 ac_status=$?
6680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6681 test $ac_status = 0; }; then
6682 case `/usr/bin/file conftest.o` in
6683 *64-bit*)
6684 case $lt_cv_prog_gnu_ld in
6685 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6686 *)
6687 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6688 LD="${LD-ld} -64"
6689 fi
6690 ;;
6691 esac
6692 ;;
6693 esac
6694 fi
6695 rm -rf conftest*
6696 ;;
6697 esac
6698
6699 need_locks="$enable_libtool_lock"
6700
6701
6702 case $host_os in
6703 rhapsody* | darwin*)
6704 if test -n "$ac_tool_prefix"; then
6705 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6706 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6708 $as_echo_n "checking for $ac_word... " >&6; }
6709 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6710 $as_echo_n "(cached) " >&6
6711 else
6712 if test -n "$DSYMUTIL"; then
6713 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6714 else
6715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6716 for as_dir in $PATH
6717 do
6718 IFS=$as_save_IFS
6719 test -z "$as_dir" && as_dir=.
6720 for ac_exec_ext in '' $ac_executable_extensions; do
6721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6722 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6724 break 2
6725 fi
6726 done
6727 done
6728 IFS=$as_save_IFS
6729
6730 fi
6731 fi
6732 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6733 if test -n "$DSYMUTIL"; then
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6735 $as_echo "$DSYMUTIL" >&6; }
6736 else
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6738 $as_echo "no" >&6; }
6739 fi
6740
6741
6742 fi
6743 if test -z "$ac_cv_prog_DSYMUTIL"; then
6744 ac_ct_DSYMUTIL=$DSYMUTIL
6745 # Extract the first word of "dsymutil", so it can be a program name with args.
6746 set dummy dsymutil; ac_word=$2
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6748 $as_echo_n "checking for $ac_word... " >&6; }
6749 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6750 $as_echo_n "(cached) " >&6
6751 else
6752 if test -n "$ac_ct_DSYMUTIL"; then
6753 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6754 else
6755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6756 for as_dir in $PATH
6757 do
6758 IFS=$as_save_IFS
6759 test -z "$as_dir" && as_dir=.
6760 for ac_exec_ext in '' $ac_executable_extensions; do
6761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6762 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6764 break 2
6765 fi
6766 done
6767 done
6768 IFS=$as_save_IFS
6769
6770 fi
6771 fi
6772 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6773 if test -n "$ac_ct_DSYMUTIL"; then
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6775 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6776 else
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6778 $as_echo "no" >&6; }
6779 fi
6780
6781 if test "x$ac_ct_DSYMUTIL" = x; then
6782 DSYMUTIL=":"
6783 else
6784 case $cross_compiling:$ac_tool_warned in
6785 yes:)
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6787 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6788 ac_tool_warned=yes ;;
6789 esac
6790 DSYMUTIL=$ac_ct_DSYMUTIL
6791 fi
6792 else
6793 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6794 fi
6795
6796 if test -n "$ac_tool_prefix"; then
6797 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6798 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6800 $as_echo_n "checking for $ac_word... " >&6; }
6801 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6802 $as_echo_n "(cached) " >&6
6803 else
6804 if test -n "$NMEDIT"; then
6805 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6806 else
6807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6808 for as_dir in $PATH
6809 do
6810 IFS=$as_save_IFS
6811 test -z "$as_dir" && as_dir=.
6812 for ac_exec_ext in '' $ac_executable_extensions; do
6813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6814 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6816 break 2
6817 fi
6818 done
6819 done
6820 IFS=$as_save_IFS
6821
6822 fi
6823 fi
6824 NMEDIT=$ac_cv_prog_NMEDIT
6825 if test -n "$NMEDIT"; then
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6827 $as_echo "$NMEDIT" >&6; }
6828 else
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6830 $as_echo "no" >&6; }
6831 fi
6832
6833
6834 fi
6835 if test -z "$ac_cv_prog_NMEDIT"; then
6836 ac_ct_NMEDIT=$NMEDIT
6837 # Extract the first word of "nmedit", so it can be a program name with args.
6838 set dummy nmedit; ac_word=$2
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6840 $as_echo_n "checking for $ac_word... " >&6; }
6841 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6842 $as_echo_n "(cached) " >&6
6843 else
6844 if test -n "$ac_ct_NMEDIT"; then
6845 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6846 else
6847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6848 for as_dir in $PATH
6849 do
6850 IFS=$as_save_IFS
6851 test -z "$as_dir" && as_dir=.
6852 for ac_exec_ext in '' $ac_executable_extensions; do
6853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6854 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6856 break 2
6857 fi
6858 done
6859 done
6860 IFS=$as_save_IFS
6861
6862 fi
6863 fi
6864 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6865 if test -n "$ac_ct_NMEDIT"; then
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6867 $as_echo "$ac_ct_NMEDIT" >&6; }
6868 else
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6870 $as_echo "no" >&6; }
6871 fi
6872
6873 if test "x$ac_ct_NMEDIT" = x; then
6874 NMEDIT=":"
6875 else
6876 case $cross_compiling:$ac_tool_warned in
6877 yes:)
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6879 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6880 ac_tool_warned=yes ;;
6881 esac
6882 NMEDIT=$ac_ct_NMEDIT
6883 fi
6884 else
6885 NMEDIT="$ac_cv_prog_NMEDIT"
6886 fi
6887
6888 if test -n "$ac_tool_prefix"; then
6889 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6890 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6892 $as_echo_n "checking for $ac_word... " >&6; }
6893 if test "${ac_cv_prog_LIPO+set}" = set; then :
6894 $as_echo_n "(cached) " >&6
6895 else
6896 if test -n "$LIPO"; then
6897 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6898 else
6899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6900 for as_dir in $PATH
6901 do
6902 IFS=$as_save_IFS
6903 test -z "$as_dir" && as_dir=.
6904 for ac_exec_ext in '' $ac_executable_extensions; do
6905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6906 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6908 break 2
6909 fi
6910 done
6911 done
6912 IFS=$as_save_IFS
6913
6914 fi
6915 fi
6916 LIPO=$ac_cv_prog_LIPO
6917 if test -n "$LIPO"; then
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6919 $as_echo "$LIPO" >&6; }
6920 else
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6922 $as_echo "no" >&6; }
6923 fi
6924
6925
6926 fi
6927 if test -z "$ac_cv_prog_LIPO"; then
6928 ac_ct_LIPO=$LIPO
6929 # Extract the first word of "lipo", so it can be a program name with args.
6930 set dummy lipo; ac_word=$2
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6932 $as_echo_n "checking for $ac_word... " >&6; }
6933 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6934 $as_echo_n "(cached) " >&6
6935 else
6936 if test -n "$ac_ct_LIPO"; then
6937 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6938 else
6939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6940 for as_dir in $PATH
6941 do
6942 IFS=$as_save_IFS
6943 test -z "$as_dir" && as_dir=.
6944 for ac_exec_ext in '' $ac_executable_extensions; do
6945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6946 ac_cv_prog_ac_ct_LIPO="lipo"
6947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6948 break 2
6949 fi
6950 done
6951 done
6952 IFS=$as_save_IFS
6953
6954 fi
6955 fi
6956 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6957 if test -n "$ac_ct_LIPO"; then
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6959 $as_echo "$ac_ct_LIPO" >&6; }
6960 else
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6962 $as_echo "no" >&6; }
6963 fi
6964
6965 if test "x$ac_ct_LIPO" = x; then
6966 LIPO=":"
6967 else
6968 case $cross_compiling:$ac_tool_warned in
6969 yes:)
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6972 ac_tool_warned=yes ;;
6973 esac
6974 LIPO=$ac_ct_LIPO
6975 fi
6976 else
6977 LIPO="$ac_cv_prog_LIPO"
6978 fi
6979
6980 if test -n "$ac_tool_prefix"; then
6981 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6982 set dummy ${ac_tool_prefix}otool; ac_word=$2
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6984 $as_echo_n "checking for $ac_word... " >&6; }
6985 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6986 $as_echo_n "(cached) " >&6
6987 else
6988 if test -n "$OTOOL"; then
6989 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6990 else
6991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6992 for as_dir in $PATH
6993 do
6994 IFS=$as_save_IFS
6995 test -z "$as_dir" && as_dir=.
6996 for ac_exec_ext in '' $ac_executable_extensions; do
6997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6998 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7000 break 2
7001 fi
7002 done
7003 done
7004 IFS=$as_save_IFS
7005
7006 fi
7007 fi
7008 OTOOL=$ac_cv_prog_OTOOL
7009 if test -n "$OTOOL"; then
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7011 $as_echo "$OTOOL" >&6; }
7012 else
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7014 $as_echo "no" >&6; }
7015 fi
7016
7017
7018 fi
7019 if test -z "$ac_cv_prog_OTOOL"; then
7020 ac_ct_OTOOL=$OTOOL
7021 # Extract the first word of "otool", so it can be a program name with args.
7022 set dummy otool; ac_word=$2
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7024 $as_echo_n "checking for $ac_word... " >&6; }
7025 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7026 $as_echo_n "(cached) " >&6
7027 else
7028 if test -n "$ac_ct_OTOOL"; then
7029 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7030 else
7031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7032 for as_dir in $PATH
7033 do
7034 IFS=$as_save_IFS
7035 test -z "$as_dir" && as_dir=.
7036 for ac_exec_ext in '' $ac_executable_extensions; do
7037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7038 ac_cv_prog_ac_ct_OTOOL="otool"
7039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7040 break 2
7041 fi
7042 done
7043 done
7044 IFS=$as_save_IFS
7045
7046 fi
7047 fi
7048 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7049 if test -n "$ac_ct_OTOOL"; then
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7051 $as_echo "$ac_ct_OTOOL" >&6; }
7052 else
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7054 $as_echo "no" >&6; }
7055 fi
7056
7057 if test "x$ac_ct_OTOOL" = x; then
7058 OTOOL=":"
7059 else
7060 case $cross_compiling:$ac_tool_warned in
7061 yes:)
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7064 ac_tool_warned=yes ;;
7065 esac
7066 OTOOL=$ac_ct_OTOOL
7067 fi
7068 else
7069 OTOOL="$ac_cv_prog_OTOOL"
7070 fi
7071
7072 if test -n "$ac_tool_prefix"; then
7073 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7074 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7076 $as_echo_n "checking for $ac_word... " >&6; }
7077 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7078 $as_echo_n "(cached) " >&6
7079 else
7080 if test -n "$OTOOL64"; then
7081 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7082 else
7083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7084 for as_dir in $PATH
7085 do
7086 IFS=$as_save_IFS
7087 test -z "$as_dir" && as_dir=.
7088 for ac_exec_ext in '' $ac_executable_extensions; do
7089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7090 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7092 break 2
7093 fi
7094 done
7095 done
7096 IFS=$as_save_IFS
7097
7098 fi
7099 fi
7100 OTOOL64=$ac_cv_prog_OTOOL64
7101 if test -n "$OTOOL64"; then
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7103 $as_echo "$OTOOL64" >&6; }
7104 else
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7106 $as_echo "no" >&6; }
7107 fi
7108
7109
7110 fi
7111 if test -z "$ac_cv_prog_OTOOL64"; then
7112 ac_ct_OTOOL64=$OTOOL64
7113 # Extract the first word of "otool64", so it can be a program name with args.
7114 set dummy otool64; ac_word=$2
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7116 $as_echo_n "checking for $ac_word... " >&6; }
7117 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7118 $as_echo_n "(cached) " >&6
7119 else
7120 if test -n "$ac_ct_OTOOL64"; then
7121 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7122 else
7123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7124 for as_dir in $PATH
7125 do
7126 IFS=$as_save_IFS
7127 test -z "$as_dir" && as_dir=.
7128 for ac_exec_ext in '' $ac_executable_extensions; do
7129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7130 ac_cv_prog_ac_ct_OTOOL64="otool64"
7131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7132 break 2
7133 fi
7134 done
7135 done
7136 IFS=$as_save_IFS
7137
7138 fi
7139 fi
7140 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7141 if test -n "$ac_ct_OTOOL64"; then
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7143 $as_echo "$ac_ct_OTOOL64" >&6; }
7144 else
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7146 $as_echo "no" >&6; }
7147 fi
7148
7149 if test "x$ac_ct_OTOOL64" = x; then
7150 OTOOL64=":"
7151 else
7152 case $cross_compiling:$ac_tool_warned in
7153 yes:)
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7155 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7156 ac_tool_warned=yes ;;
7157 esac
7158 OTOOL64=$ac_ct_OTOOL64
7159 fi
7160 else
7161 OTOOL64="$ac_cv_prog_OTOOL64"
7162 fi
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7191 $as_echo_n "checking for -single_module linker flag... " >&6; }
7192 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7193 $as_echo_n "(cached) " >&6
7194 else
7195 lt_cv_apple_cc_single_mod=no
7196 if test -z "${LT_MULTI_MODULE}"; then
7197 # By default we will add the -single_module flag. You can override
7198 # by either setting the environment variable LT_MULTI_MODULE
7199 # non-empty at configure time, or by adding -multi_module to the
7200 # link flags.
7201 rm -rf libconftest.dylib*
7202 echo "int foo(void){return 1;}" > conftest.c
7203 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7204 -dynamiclib -Wl,-single_module conftest.c" >&5
7205 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7206 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7207 _lt_result=$?
7208 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7209 lt_cv_apple_cc_single_mod=yes
7210 else
7211 cat conftest.err >&5
7212 fi
7213 rm -rf libconftest.dylib*
7214 rm -f conftest.*
7215 fi
7216 fi
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7218 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7220 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7221 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7222 $as_echo_n "(cached) " >&6
7223 else
7224 lt_cv_ld_exported_symbols_list=no
7225 save_LDFLAGS=$LDFLAGS
7226 echo "_main" > conftest.sym
7227 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7229 /* end confdefs.h. */
7230
7231 int
7232 main ()
7233 {
7234
7235 ;
7236 return 0;
7237 }
7238 _ACEOF
7239 if ac_fn_c_try_link "$LINENO"; then :
7240 lt_cv_ld_exported_symbols_list=yes
7241 else
7242 lt_cv_ld_exported_symbols_list=no
7243 fi
7244 rm -f core conftest.err conftest.$ac_objext \
7245 conftest$ac_exeext conftest.$ac_ext
7246 LDFLAGS="$save_LDFLAGS"
7247
7248 fi
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7250 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7251 case $host_os in
7252 rhapsody* | darwin1.[012])
7253 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7254 darwin1.*)
7255 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7256 darwin*) # darwin 5.x on
7257 # if running on 10.5 or later, the deployment target defaults
7258 # to the OS version, if on x86, and 10.4, the deployment
7259 # target defaults to 10.4. Don't you love it?
7260 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7261 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7262 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7263 10.[012]*)
7264 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7265 10.*)
7266 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7267 esac
7268 ;;
7269 esac
7270 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7271 _lt_dar_single_mod='$single_module'
7272 fi
7273 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7274 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7275 else
7276 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7277 fi
7278 if test "$DSYMUTIL" != ":"; then
7279 _lt_dsymutil='~$DSYMUTIL $lib || :'
7280 else
7281 _lt_dsymutil=
7282 fi
7283 ;;
7284 esac
7285
7286 for ac_header in dlfcn.h
7287 do :
7288 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7289 "
7290 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7291 cat >>confdefs.h <<_ACEOF
7292 #define HAVE_DLFCN_H 1
7293 _ACEOF
7294
7295 fi
7296
7297 done
7298
7299
7300
7301 # Set options
7302
7303
7304
7305 enable_dlopen=no
7306
7307
7308 enable_win32_dll=no
7309
7310
7311 # Check whether --enable-shared was given.
7312 if test "${enable_shared+set}" = set; then :
7313 enableval=$enable_shared; p=${PACKAGE-default}
7314 case $enableval in
7315 yes) enable_shared=yes ;;
7316 no) enable_shared=no ;;
7317 *)
7318 enable_shared=no
7319 # Look at the argument we got. We use all the common list separators.
7320 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7321 for pkg in $enableval; do
7322 IFS="$lt_save_ifs"
7323 if test "X$pkg" = "X$p"; then
7324 enable_shared=yes
7325 fi
7326 done
7327 IFS="$lt_save_ifs"
7328 ;;
7329 esac
7330 else
7331 enable_shared=yes
7332 fi
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342 # Check whether --enable-static was given.
7343 if test "${enable_static+set}" = set; then :
7344 enableval=$enable_static; p=${PACKAGE-default}
7345 case $enableval in
7346 yes) enable_static=yes ;;
7347 no) enable_static=no ;;
7348 *)
7349 enable_static=no
7350 # Look at the argument we got. We use all the common list separators.
7351 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7352 for pkg in $enableval; do
7353 IFS="$lt_save_ifs"
7354 if test "X$pkg" = "X$p"; then
7355 enable_static=yes
7356 fi
7357 done
7358 IFS="$lt_save_ifs"
7359 ;;
7360 esac
7361 else
7362 enable_static=yes
7363 fi
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374 # Check whether --with-pic was given.
7375 if test "${with_pic+set}" = set; then :
7376 withval=$with_pic; pic_mode="$withval"
7377 else
7378 pic_mode=default
7379 fi
7380
7381
7382 test -z "$pic_mode" && pic_mode=default
7383
7384
7385
7386
7387
7388
7389
7390 # Check whether --enable-fast-install was given.
7391 if test "${enable_fast_install+set}" = set; then :
7392 enableval=$enable_fast_install; p=${PACKAGE-default}
7393 case $enableval in
7394 yes) enable_fast_install=yes ;;
7395 no) enable_fast_install=no ;;
7396 *)
7397 enable_fast_install=no
7398 # Look at the argument we got. We use all the common list separators.
7399 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7400 for pkg in $enableval; do
7401 IFS="$lt_save_ifs"
7402 if test "X$pkg" = "X$p"; then
7403 enable_fast_install=yes
7404 fi
7405 done
7406 IFS="$lt_save_ifs"
7407 ;;
7408 esac
7409 else
7410 enable_fast_install=yes
7411 fi
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423 # This can be used to rebuild libtool when needed
7424 LIBTOOL_DEPS="$ltmain"
7425
7426 # Always use our own libtool.
7427 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453 test -z "$LN_S" && LN_S="ln -s"
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468 if test -n "${ZSH_VERSION+set}" ; then
7469 setopt NO_GLOB_SUBST
7470 fi
7471
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7473 $as_echo_n "checking for objdir... " >&6; }
7474 if test "${lt_cv_objdir+set}" = set; then :
7475 $as_echo_n "(cached) " >&6
7476 else
7477 rm -f .libs 2>/dev/null
7478 mkdir .libs 2>/dev/null
7479 if test -d .libs; then
7480 lt_cv_objdir=.libs
7481 else
7482 # MS-DOS does not allow filenames that begin with a dot.
7483 lt_cv_objdir=_libs
7484 fi
7485 rmdir .libs 2>/dev/null
7486 fi
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7488 $as_echo "$lt_cv_objdir" >&6; }
7489 objdir=$lt_cv_objdir
7490
7491
7492
7493
7494
7495 cat >>confdefs.h <<_ACEOF
7496 #define LT_OBJDIR "$lt_cv_objdir/"
7497 _ACEOF
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515 case $host_os in
7516 aix3*)
7517 # AIX sometimes has problems with the GCC collect2 program. For some
7518 # reason, if we set the COLLECT_NAMES environment variable, the problems
7519 # vanish in a puff of smoke.
7520 if test "X${COLLECT_NAMES+set}" != Xset; then
7521 COLLECT_NAMES=
7522 export COLLECT_NAMES
7523 fi
7524 ;;
7525 esac
7526
7527 # Sed substitution that helps us do robust quoting. It backslashifies
7528 # metacharacters that are still active within double-quoted strings.
7529 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7530
7531 # Same as above, but do not quote variable references.
7532 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7533
7534 # Sed substitution to delay expansion of an escaped shell variable in a
7535 # double_quote_subst'ed string.
7536 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7537
7538 # Sed substitution to delay expansion of an escaped single quote.
7539 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7540
7541 # Sed substitution to avoid accidental globbing in evaled expressions
7542 no_glob_subst='s/\*/\\\*/g'
7543
7544 # Global variables:
7545 ofile=libtool
7546 can_build_shared=yes
7547
7548 # All known linkers require a `.a' archive for static linking (except MSVC,
7549 # which needs '.lib').
7550 libext=a
7551
7552 with_gnu_ld="$lt_cv_prog_gnu_ld"
7553
7554 old_CC="$CC"
7555 old_CFLAGS="$CFLAGS"
7556
7557 # Set sane defaults for various variables
7558 test -z "$CC" && CC=cc
7559 test -z "$LTCC" && LTCC=$CC
7560 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7561 test -z "$LD" && LD=ld
7562 test -z "$ac_objext" && ac_objext=o
7563
7564 for cc_temp in $compiler""; do
7565 case $cc_temp in
7566 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7567 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7568 \-*) ;;
7569 *) break;;
7570 esac
7571 done
7572 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7573
7574
7575 # Only perform the check for file, if the check method requires it
7576 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7577 case $deplibs_check_method in
7578 file_magic*)
7579 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7581 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7582 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7583 $as_echo_n "(cached) " >&6
7584 else
7585 case $MAGIC_CMD in
7586 [\\/*] | ?:[\\/]*)
7587 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7588 ;;
7589 *)
7590 lt_save_MAGIC_CMD="$MAGIC_CMD"
7591 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7592 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7593 for ac_dir in $ac_dummy; do
7594 IFS="$lt_save_ifs"
7595 test -z "$ac_dir" && ac_dir=.
7596 if test -f $ac_dir/${ac_tool_prefix}file; then
7597 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7598 if test -n "$file_magic_test_file"; then
7599 case $deplibs_check_method in
7600 "file_magic "*)
7601 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7602 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7603 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7604 $EGREP "$file_magic_regex" > /dev/null; then
7605 :
7606 else
7607 cat <<_LT_EOF 1>&2
7608
7609 *** Warning: the command libtool uses to detect shared libraries,
7610 *** $file_magic_cmd, produces output that libtool cannot recognize.
7611 *** The result is that libtool may fail to recognize shared libraries
7612 *** as such. This will affect the creation of libtool libraries that
7613 *** depend on shared libraries, but programs linked with such libtool
7614 *** libraries will work regardless of this problem. Nevertheless, you
7615 *** may want to report the problem to your system manager and/or to
7616 *** bug-libtool@gnu.org
7617
7618 _LT_EOF
7619 fi ;;
7620 esac
7621 fi
7622 break
7623 fi
7624 done
7625 IFS="$lt_save_ifs"
7626 MAGIC_CMD="$lt_save_MAGIC_CMD"
7627 ;;
7628 esac
7629 fi
7630
7631 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7632 if test -n "$MAGIC_CMD"; then
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7634 $as_echo "$MAGIC_CMD" >&6; }
7635 else
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7637 $as_echo "no" >&6; }
7638 fi
7639
7640
7641
7642
7643
7644 if test -z "$lt_cv_path_MAGIC_CMD"; then
7645 if test -n "$ac_tool_prefix"; then
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7647 $as_echo_n "checking for file... " >&6; }
7648 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7649 $as_echo_n "(cached) " >&6
7650 else
7651 case $MAGIC_CMD in
7652 [\\/*] | ?:[\\/]*)
7653 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7654 ;;
7655 *)
7656 lt_save_MAGIC_CMD="$MAGIC_CMD"
7657 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7658 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7659 for ac_dir in $ac_dummy; do
7660 IFS="$lt_save_ifs"
7661 test -z "$ac_dir" && ac_dir=.
7662 if test -f $ac_dir/file; then
7663 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7664 if test -n "$file_magic_test_file"; then
7665 case $deplibs_check_method in
7666 "file_magic "*)
7667 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7668 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7669 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7670 $EGREP "$file_magic_regex" > /dev/null; then
7671 :
7672 else
7673 cat <<_LT_EOF 1>&2
7674
7675 *** Warning: the command libtool uses to detect shared libraries,
7676 *** $file_magic_cmd, produces output that libtool cannot recognize.
7677 *** The result is that libtool may fail to recognize shared libraries
7678 *** as such. This will affect the creation of libtool libraries that
7679 *** depend on shared libraries, but programs linked with such libtool
7680 *** libraries will work regardless of this problem. Nevertheless, you
7681 *** may want to report the problem to your system manager and/or to
7682 *** bug-libtool@gnu.org
7683
7684 _LT_EOF
7685 fi ;;
7686 esac
7687 fi
7688 break
7689 fi
7690 done
7691 IFS="$lt_save_ifs"
7692 MAGIC_CMD="$lt_save_MAGIC_CMD"
7693 ;;
7694 esac
7695 fi
7696
7697 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7698 if test -n "$MAGIC_CMD"; then
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7700 $as_echo "$MAGIC_CMD" >&6; }
7701 else
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7703 $as_echo "no" >&6; }
7704 fi
7705
7706
7707 else
7708 MAGIC_CMD=:
7709 fi
7710 fi
7711
7712 fi
7713 ;;
7714 esac
7715
7716 # Use C for the default configuration in the libtool script
7717
7718 lt_save_CC="$CC"
7719 ac_ext=c
7720 ac_cpp='$CPP $CPPFLAGS'
7721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7724
7725
7726 # Source file extension for C test sources.
7727 ac_ext=c
7728
7729 # Object file extension for compiled C test sources.
7730 objext=o
7731 objext=$objext
7732
7733 # Code to be used in simple compile tests
7734 lt_simple_compile_test_code="int some_variable = 0;"
7735
7736 # Code to be used in simple link tests
7737 lt_simple_link_test_code='int main(){return(0);}'
7738
7739
7740
7741
7742
7743
7744
7745 # If no C compiler was specified, use CC.
7746 LTCC=${LTCC-"$CC"}
7747
7748 # If no C compiler flags were specified, use CFLAGS.
7749 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7750
7751 # Allow CC to be a program name with arguments.
7752 compiler=$CC
7753
7754 # Save the default compiler, since it gets overwritten when the other
7755 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7756 compiler_DEFAULT=$CC
7757
7758 # save warnings/boilerplate of simple test code
7759 ac_outfile=conftest.$ac_objext
7760 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7761 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7762 _lt_compiler_boilerplate=`cat conftest.err`
7763 $RM conftest*
7764
7765 ac_outfile=conftest.$ac_objext
7766 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7767 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7768 _lt_linker_boilerplate=`cat conftest.err`
7769 $RM -r conftest*
7770
7771
7772 ## CAVEAT EMPTOR:
7773 ## There is no encapsulation within the following macros, do not change
7774 ## the running order or otherwise move them around unless you know exactly
7775 ## what you are doing...
7776 if test -n "$compiler"; then
7777
7778 lt_prog_compiler_no_builtin_flag=
7779
7780 if test "$GCC" = yes; then
7781 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7782
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7784 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7785 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7786 $as_echo_n "(cached) " >&6
7787 else
7788 lt_cv_prog_compiler_rtti_exceptions=no
7789 ac_outfile=conftest.$ac_objext
7790 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7791 lt_compiler_flag="-fno-rtti -fno-exceptions"
7792 # Insert the option either (1) after the last *FLAGS variable, or
7793 # (2) before a word containing "conftest.", or (3) at the end.
7794 # Note that $ac_compile itself does not contain backslashes and begins
7795 # with a dollar sign (not a hyphen), so the echo should work correctly.
7796 # The option is referenced via a variable to avoid confusing sed.
7797 lt_compile=`echo "$ac_compile" | $SED \
7798 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7799 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7800 -e 's:$: $lt_compiler_flag:'`
7801 (eval echo "\"\$as_me:7801: $lt_compile\"" >&5)
7802 (eval "$lt_compile" 2>conftest.err)
7803 ac_status=$?
7804 cat conftest.err >&5
7805 echo "$as_me:7805: \$? = $ac_status" >&5
7806 if (exit $ac_status) && test -s "$ac_outfile"; then
7807 # The compiler can only warn and ignore the option if not recognized
7808 # So say no if there are warnings other than the usual output.
7809 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7810 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7811 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7812 lt_cv_prog_compiler_rtti_exceptions=yes
7813 fi
7814 fi
7815 $RM conftest*
7816
7817 fi
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7819 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7820
7821 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7822 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7823 else
7824 :
7825 fi
7826
7827 fi
7828
7829
7830
7831
7832
7833
7834 lt_prog_compiler_wl=
7835 lt_prog_compiler_pic=
7836 lt_prog_compiler_static=
7837
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7839 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7840
7841 if test "$GCC" = yes; then
7842 lt_prog_compiler_wl='-Wl,'
7843 lt_prog_compiler_static='-static'
7844
7845 case $host_os in
7846 aix*)
7847 # All AIX code is PIC.
7848 if test "$host_cpu" = ia64; then
7849 # AIX 5 now supports IA64 processor
7850 lt_prog_compiler_static='-Bstatic'
7851 fi
7852 ;;
7853
7854 amigaos*)
7855 case $host_cpu in
7856 powerpc)
7857 # see comment about AmigaOS4 .so support
7858 lt_prog_compiler_pic='-fPIC'
7859 ;;
7860 m68k)
7861 # FIXME: we need at least 68020 code to build shared libraries, but
7862 # adding the `-m68020' flag to GCC prevents building anything better,
7863 # like `-m68040'.
7864 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7865 ;;
7866 esac
7867 ;;
7868
7869 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7870 # PIC is the default for these OSes.
7871 ;;
7872
7873 mingw* | cygwin* | pw32* | os2* | cegcc*)
7874 # This hack is so that the source file can tell whether it is being
7875 # built for inclusion in a dll (and should export symbols for example).
7876 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7877 # (--disable-auto-import) libraries
7878 lt_prog_compiler_pic='-DDLL_EXPORT'
7879 ;;
7880
7881 darwin* | rhapsody*)
7882 # PIC is the default on this platform
7883 # Common symbols not allowed in MH_DYLIB files
7884 lt_prog_compiler_pic='-fno-common'
7885 ;;
7886
7887 hpux*)
7888 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7889 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7890 # sets the default TLS model and affects inlining.
7891 case $host_cpu in
7892 hppa*64*)
7893 # +Z the default
7894 ;;
7895 *)
7896 lt_prog_compiler_pic='-fPIC'
7897 ;;
7898 esac
7899 ;;
7900
7901 interix[3-9]*)
7902 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7903 # Instead, we relocate shared libraries at runtime.
7904 ;;
7905
7906 msdosdjgpp*)
7907 # Just because we use GCC doesn't mean we suddenly get shared libraries
7908 # on systems that don't support them.
7909 lt_prog_compiler_can_build_shared=no
7910 enable_shared=no
7911 ;;
7912
7913 *nto* | *qnx*)
7914 # QNX uses GNU C++, but need to define -shared option too, otherwise
7915 # it will coredump.
7916 lt_prog_compiler_pic='-fPIC -shared'
7917 ;;
7918
7919 sysv4*MP*)
7920 if test -d /usr/nec; then
7921 lt_prog_compiler_pic=-Kconform_pic
7922 fi
7923 ;;
7924
7925 *)
7926 lt_prog_compiler_pic='-fPIC'
7927 ;;
7928 esac
7929 else
7930 # PORTME Check for flag to pass linker flags through the system compiler.
7931 case $host_os in
7932 aix*)
7933 lt_prog_compiler_wl='-Wl,'
7934 if test "$host_cpu" = ia64; then
7935 # AIX 5 now supports IA64 processor
7936 lt_prog_compiler_static='-Bstatic'
7937 else
7938 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7939 fi
7940 ;;
7941
7942 mingw* | cygwin* | pw32* | os2* | cegcc*)
7943 # This hack is so that the source file can tell whether it is being
7944 # built for inclusion in a dll (and should export symbols for example).
7945 lt_prog_compiler_pic='-DDLL_EXPORT'
7946 ;;
7947
7948 hpux9* | hpux10* | hpux11*)
7949 lt_prog_compiler_wl='-Wl,'
7950 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7951 # not for PA HP-UX.
7952 case $host_cpu in
7953 hppa*64*|ia64*)
7954 # +Z the default
7955 ;;
7956 *)
7957 lt_prog_compiler_pic='+Z'
7958 ;;
7959 esac
7960 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7961 lt_prog_compiler_static='${wl}-a ${wl}archive'
7962 ;;
7963
7964 irix5* | irix6* | nonstopux*)
7965 lt_prog_compiler_wl='-Wl,'
7966 # PIC (with -KPIC) is the default.
7967 lt_prog_compiler_static='-non_shared'
7968 ;;
7969
7970 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7971 case $cc_basename in
7972 # old Intel for x86_64 which still supported -KPIC.
7973 ecc*)
7974 lt_prog_compiler_wl='-Wl,'
7975 lt_prog_compiler_pic='-KPIC'
7976 lt_prog_compiler_static='-static'
7977 ;;
7978 # icc used to be incompatible with GCC.
7979 # ICC 10 doesn't accept -KPIC any more.
7980 icc* | ifort*)
7981 lt_prog_compiler_wl='-Wl,'
7982 lt_prog_compiler_pic='-fPIC'
7983 lt_prog_compiler_static='-static'
7984 ;;
7985 # Lahey Fortran 8.1.
7986 lf95*)
7987 lt_prog_compiler_wl='-Wl,'
7988 lt_prog_compiler_pic='--shared'
7989 lt_prog_compiler_static='--static'
7990 ;;
7991 pgcc* | pgf77* | pgf90* | pgf95*)
7992 # Portland Group compilers (*not* the Pentium gcc compiler,
7993 # which looks to be a dead project)
7994 lt_prog_compiler_wl='-Wl,'
7995 lt_prog_compiler_pic='-fpic'
7996 lt_prog_compiler_static='-Bstatic'
7997 ;;
7998 ccc*)
7999 lt_prog_compiler_wl='-Wl,'
8000 # All Alpha code is PIC.
8001 lt_prog_compiler_static='-non_shared'
8002 ;;
8003 xl*)
8004 # IBM XL C 8.0/Fortran 10.1 on PPC
8005 lt_prog_compiler_wl='-Wl,'
8006 lt_prog_compiler_pic='-qpic'
8007 lt_prog_compiler_static='-qstaticlink'
8008 ;;
8009 *)
8010 case `$CC -V 2>&1 | sed 5q` in
8011 *Sun\ C*)
8012 # Sun C 5.9
8013 lt_prog_compiler_pic='-KPIC'
8014 lt_prog_compiler_static='-Bstatic'
8015 lt_prog_compiler_wl='-Wl,'
8016 ;;
8017 *Sun\ F*)
8018 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8019 lt_prog_compiler_pic='-KPIC'
8020 lt_prog_compiler_static='-Bstatic'
8021 lt_prog_compiler_wl=''
8022 ;;
8023 esac
8024 ;;
8025 esac
8026 ;;
8027
8028 newsos6)
8029 lt_prog_compiler_pic='-KPIC'
8030 lt_prog_compiler_static='-Bstatic'
8031 ;;
8032
8033 *nto* | *qnx*)
8034 # QNX uses GNU C++, but need to define -shared option too, otherwise
8035 # it will coredump.
8036 lt_prog_compiler_pic='-fPIC -shared'
8037 ;;
8038
8039 osf3* | osf4* | osf5*)
8040 lt_prog_compiler_wl='-Wl,'
8041 # All OSF/1 code is PIC.
8042 lt_prog_compiler_static='-non_shared'
8043 ;;
8044
8045 rdos*)
8046 lt_prog_compiler_static='-non_shared'
8047 ;;
8048
8049 solaris*)
8050 lt_prog_compiler_pic='-KPIC'
8051 lt_prog_compiler_static='-Bstatic'
8052 case $cc_basename in
8053 f77* | f90* | f95*)
8054 lt_prog_compiler_wl='-Qoption ld ';;
8055 *)
8056 lt_prog_compiler_wl='-Wl,';;
8057 esac
8058 ;;
8059
8060 sunos4*)
8061 lt_prog_compiler_wl='-Qoption ld '
8062 lt_prog_compiler_pic='-PIC'
8063 lt_prog_compiler_static='-Bstatic'
8064 ;;
8065
8066 sysv4 | sysv4.2uw2* | sysv4.3*)
8067 lt_prog_compiler_wl='-Wl,'
8068 lt_prog_compiler_pic='-KPIC'
8069 lt_prog_compiler_static='-Bstatic'
8070 ;;
8071
8072 sysv4*MP*)
8073 if test -d /usr/nec ;then
8074 lt_prog_compiler_pic='-Kconform_pic'
8075 lt_prog_compiler_static='-Bstatic'
8076 fi
8077 ;;
8078
8079 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8080 lt_prog_compiler_wl='-Wl,'
8081 lt_prog_compiler_pic='-KPIC'
8082 lt_prog_compiler_static='-Bstatic'
8083 ;;
8084
8085 unicos*)
8086 lt_prog_compiler_wl='-Wl,'
8087 lt_prog_compiler_can_build_shared=no
8088 ;;
8089
8090 uts4*)
8091 lt_prog_compiler_pic='-pic'
8092 lt_prog_compiler_static='-Bstatic'
8093 ;;
8094
8095 *)
8096 lt_prog_compiler_can_build_shared=no
8097 ;;
8098 esac
8099 fi
8100
8101 case $host_os in
8102 # For platforms which do not support PIC, -DPIC is meaningless:
8103 *djgpp*)
8104 lt_prog_compiler_pic=
8105 ;;
8106 *)
8107 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8108 ;;
8109 esac
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8111 $as_echo "$lt_prog_compiler_pic" >&6; }
8112
8113
8114
8115
8116
8117
8118 #
8119 # Check to make sure the PIC flag actually works.
8120 #
8121 if test -n "$lt_prog_compiler_pic"; then
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8123 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8124 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8125 $as_echo_n "(cached) " >&6
8126 else
8127 lt_cv_prog_compiler_pic_works=no
8128 ac_outfile=conftest.$ac_objext
8129 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8130 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8131 # Insert the option either (1) after the last *FLAGS variable, or
8132 # (2) before a word containing "conftest.", or (3) at the end.
8133 # Note that $ac_compile itself does not contain backslashes and begins
8134 # with a dollar sign (not a hyphen), so the echo should work correctly.
8135 # The option is referenced via a variable to avoid confusing sed.
8136 lt_compile=`echo "$ac_compile" | $SED \
8137 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8138 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8139 -e 's:$: $lt_compiler_flag:'`
8140 (eval echo "\"\$as_me:8140: $lt_compile\"" >&5)
8141 (eval "$lt_compile" 2>conftest.err)
8142 ac_status=$?
8143 cat conftest.err >&5
8144 echo "$as_me:8144: \$? = $ac_status" >&5
8145 if (exit $ac_status) && test -s "$ac_outfile"; then
8146 # The compiler can only warn and ignore the option if not recognized
8147 # So say no if there are warnings other than the usual output.
8148 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8149 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8150 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8151 lt_cv_prog_compiler_pic_works=yes
8152 fi
8153 fi
8154 $RM conftest*
8155
8156 fi
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8158 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8159
8160 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8161 case $lt_prog_compiler_pic in
8162 "" | " "*) ;;
8163 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8164 esac
8165 else
8166 lt_prog_compiler_pic=
8167 lt_prog_compiler_can_build_shared=no
8168 fi
8169
8170 fi
8171
8172
8173
8174
8175
8176
8177 #
8178 # Check to make sure the static flag actually works.
8179 #
8180 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8182 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8183 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8184 $as_echo_n "(cached) " >&6
8185 else
8186 lt_cv_prog_compiler_static_works=no
8187 save_LDFLAGS="$LDFLAGS"
8188 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8189 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8190 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8191 # The linker can only warn and ignore the option if not recognized
8192 # So say no if there are warnings
8193 if test -s conftest.err; then
8194 # Append any errors to the config.log.
8195 cat conftest.err 1>&5
8196 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8197 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8198 if diff conftest.exp conftest.er2 >/dev/null; then
8199 lt_cv_prog_compiler_static_works=yes
8200 fi
8201 else
8202 lt_cv_prog_compiler_static_works=yes
8203 fi
8204 fi
8205 $RM -r conftest*
8206 LDFLAGS="$save_LDFLAGS"
8207
8208 fi
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8210 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8211
8212 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8213 :
8214 else
8215 lt_prog_compiler_static=
8216 fi
8217
8218
8219
8220
8221
8222
8223
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8225 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8226 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8227 $as_echo_n "(cached) " >&6
8228 else
8229 lt_cv_prog_compiler_c_o=no
8230 $RM -r conftest 2>/dev/null
8231 mkdir conftest
8232 cd conftest
8233 mkdir out
8234 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8235
8236 lt_compiler_flag="-o out/conftest2.$ac_objext"
8237 # Insert the option either (1) after the last *FLAGS variable, or
8238 # (2) before a word containing "conftest.", or (3) at the end.
8239 # Note that $ac_compile itself does not contain backslashes and begins
8240 # with a dollar sign (not a hyphen), so the echo should work correctly.
8241 lt_compile=`echo "$ac_compile" | $SED \
8242 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8243 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8244 -e 's:$: $lt_compiler_flag:'`
8245 (eval echo "\"\$as_me:8245: $lt_compile\"" >&5)
8246 (eval "$lt_compile" 2>out/conftest.err)
8247 ac_status=$?
8248 cat out/conftest.err >&5
8249 echo "$as_me:8249: \$? = $ac_status" >&5
8250 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8251 then
8252 # The compiler can only warn and ignore the option if not recognized
8253 # So say no if there are warnings
8254 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8255 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8256 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8257 lt_cv_prog_compiler_c_o=yes
8258 fi
8259 fi
8260 chmod u+w . 2>&5
8261 $RM conftest*
8262 # SGI C++ compiler will create directory out/ii_files/ for
8263 # template instantiation
8264 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8265 $RM out/* && rmdir out
8266 cd ..
8267 $RM -r conftest
8268 $RM conftest*
8269
8270 fi
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8272 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8273
8274
8275
8276
8277
8278
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8280 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8281 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8282 $as_echo_n "(cached) " >&6
8283 else
8284 lt_cv_prog_compiler_c_o=no
8285 $RM -r conftest 2>/dev/null
8286 mkdir conftest
8287 cd conftest
8288 mkdir out
8289 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8290
8291 lt_compiler_flag="-o out/conftest2.$ac_objext"
8292 # Insert the option either (1) after the last *FLAGS variable, or
8293 # (2) before a word containing "conftest.", or (3) at the end.
8294 # Note that $ac_compile itself does not contain backslashes and begins
8295 # with a dollar sign (not a hyphen), so the echo should work correctly.
8296 lt_compile=`echo "$ac_compile" | $SED \
8297 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8298 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8299 -e 's:$: $lt_compiler_flag:'`
8300 (eval echo "\"\$as_me:8300: $lt_compile\"" >&5)
8301 (eval "$lt_compile" 2>out/conftest.err)
8302 ac_status=$?
8303 cat out/conftest.err >&5
8304 echo "$as_me:8304: \$? = $ac_status" >&5
8305 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8306 then
8307 # The compiler can only warn and ignore the option if not recognized
8308 # So say no if there are warnings
8309 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8310 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8311 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8312 lt_cv_prog_compiler_c_o=yes
8313 fi
8314 fi
8315 chmod u+w . 2>&5
8316 $RM conftest*
8317 # SGI C++ compiler will create directory out/ii_files/ for
8318 # template instantiation
8319 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8320 $RM out/* && rmdir out
8321 cd ..
8322 $RM -r conftest
8323 $RM conftest*
8324
8325 fi
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8327 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8328
8329
8330
8331
8332 hard_links="nottested"
8333 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8334 # do not overwrite the value of need_locks provided by the user
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8336 $as_echo_n "checking if we can lock with hard links... " >&6; }
8337 hard_links=yes
8338 $RM conftest*
8339 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8340 touch conftest.a
8341 ln conftest.a conftest.b 2>&5 || hard_links=no
8342 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8344 $as_echo "$hard_links" >&6; }
8345 if test "$hard_links" = no; then
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8347 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8348 need_locks=warn
8349 fi
8350 else
8351 need_locks=no
8352 fi
8353
8354
8355
8356
8357
8358
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8360 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8361
8362 runpath_var=
8363 allow_undefined_flag=
8364 always_export_symbols=no
8365 archive_cmds=
8366 archive_expsym_cmds=
8367 compiler_needs_object=no
8368 enable_shared_with_static_runtimes=no
8369 export_dynamic_flag_spec=
8370 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8371 hardcode_automatic=no
8372 hardcode_direct=no
8373 hardcode_direct_absolute=no
8374 hardcode_libdir_flag_spec=
8375 hardcode_libdir_flag_spec_ld=
8376 hardcode_libdir_separator=
8377 hardcode_minus_L=no
8378 hardcode_shlibpath_var=unsupported
8379 inherit_rpath=no
8380 link_all_deplibs=unknown
8381 module_cmds=
8382 module_expsym_cmds=
8383 old_archive_from_new_cmds=
8384 old_archive_from_expsyms_cmds=
8385 thread_safe_flag_spec=
8386 whole_archive_flag_spec=
8387 # include_expsyms should be a list of space-separated symbols to be *always*
8388 # included in the symbol list
8389 include_expsyms=
8390 # exclude_expsyms can be an extended regexp of symbols to exclude
8391 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8392 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8393 # as well as any symbol that contains `d'.
8394 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8395 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8396 # platforms (ab)use it in PIC code, but their linkers get confused if
8397 # the symbol is explicitly referenced. Since portable code cannot
8398 # rely on this symbol name, it's probably fine to never include it in
8399 # preloaded symbol tables.
8400 # Exclude shared library initialization/finalization symbols.
8401 extract_expsyms_cmds=
8402
8403 case $host_os in
8404 cygwin* | mingw* | pw32* | cegcc*)
8405 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8406 # When not using gcc, we currently assume that we are using
8407 # Microsoft Visual C++.
8408 if test "$GCC" != yes; then
8409 with_gnu_ld=no
8410 fi
8411 ;;
8412 interix*)
8413 # we just hope/assume this is gcc and not c89 (= MSVC++)
8414 with_gnu_ld=yes
8415 ;;
8416 openbsd*)
8417 with_gnu_ld=no
8418 ;;
8419 linux* | k*bsd*-gnu)
8420 link_all_deplibs=no
8421 ;;
8422 esac
8423
8424 ld_shlibs=yes
8425 if test "$with_gnu_ld" = yes; then
8426 # If archive_cmds runs LD, not CC, wlarc should be empty
8427 wlarc='${wl}'
8428
8429 # Set some defaults for GNU ld with shared library support. These
8430 # are reset later if shared libraries are not supported. Putting them
8431 # here allows them to be overridden if necessary.
8432 runpath_var=LD_RUN_PATH
8433 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8434 export_dynamic_flag_spec='${wl}--export-dynamic'
8435 # ancient GNU ld didn't support --whole-archive et. al.
8436 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8437 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8438 else
8439 whole_archive_flag_spec=
8440 fi
8441 supports_anon_versioning=no
8442 case `$LD -v 2>&1` in
8443 *GNU\ gold*) supports_anon_versioning=yes ;;
8444 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8445 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8446 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8447 *\ 2.11.*) ;; # other 2.11 versions
8448 *) supports_anon_versioning=yes ;;
8449 esac
8450
8451 # See if GNU ld supports shared libraries.
8452 case $host_os in
8453 aix[3-9]*)
8454 # On AIX/PPC, the GNU linker is very broken
8455 if test "$host_cpu" != ia64; then
8456 ld_shlibs=no
8457 cat <<_LT_EOF 1>&2
8458
8459 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8460 *** to be unable to reliably create shared libraries on AIX.
8461 *** Therefore, libtool is disabling shared libraries support. If you
8462 *** really care for shared libraries, you may want to modify your PATH
8463 *** so that a non-GNU linker is found, and then restart.
8464
8465 _LT_EOF
8466 fi
8467 ;;
8468
8469 amigaos*)
8470 case $host_cpu in
8471 powerpc)
8472 # see comment about AmigaOS4 .so support
8473 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8474 archive_expsym_cmds=''
8475 ;;
8476 m68k)
8477 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8478 hardcode_libdir_flag_spec='-L$libdir'
8479 hardcode_minus_L=yes
8480 ;;
8481 esac
8482 ;;
8483
8484 beos*)
8485 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8486 allow_undefined_flag=unsupported
8487 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8488 # support --undefined. This deserves some investigation. FIXME
8489 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8490 else
8491 ld_shlibs=no
8492 fi
8493 ;;
8494
8495 cygwin* | mingw* | pw32* | cegcc*)
8496 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8497 # as there is no search path for DLLs.
8498 hardcode_libdir_flag_spec='-L$libdir'
8499 allow_undefined_flag=unsupported
8500 always_export_symbols=no
8501 enable_shared_with_static_runtimes=yes
8502 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8503
8504 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8505 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8506 # If the export-symbols file already is a .def file (1st line
8507 # is EXPORTS), use it as is; otherwise, prepend...
8508 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8509 cp $export_symbols $output_objdir/$soname.def;
8510 else
8511 echo EXPORTS > $output_objdir/$soname.def;
8512 cat $export_symbols >> $output_objdir/$soname.def;
8513 fi~
8514 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8515 else
8516 ld_shlibs=no
8517 fi
8518 ;;
8519
8520 interix[3-9]*)
8521 hardcode_direct=no
8522 hardcode_shlibpath_var=no
8523 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8524 export_dynamic_flag_spec='${wl}-E'
8525 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8526 # Instead, shared libraries are loaded at an image base (0x10000000 by
8527 # default) and relocated if they conflict, which is a slow very memory
8528 # consuming and fragmenting process. To avoid this, we pick a random,
8529 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8530 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8531 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8532 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8533 ;;
8534
8535 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8536 tmp_diet=no
8537 if test "$host_os" = linux-dietlibc; then
8538 case $cc_basename in
8539 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8540 esac
8541 fi
8542 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8543 && test "$tmp_diet" = no
8544 then
8545 tmp_addflag=
8546 tmp_sharedflag='-shared'
8547 case $cc_basename,$host_cpu in
8548 pgcc*) # Portland Group C compiler
8549 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8550 tmp_addflag=' $pic_flag'
8551 ;;
8552 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8553 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8554 tmp_addflag=' $pic_flag -Mnomain' ;;
8555 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8556 tmp_addflag=' -i_dynamic' ;;
8557 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8558 tmp_addflag=' -i_dynamic -nofor_main' ;;
8559 ifc* | ifort*) # Intel Fortran compiler
8560 tmp_addflag=' -nofor_main' ;;
8561 lf95*) # Lahey Fortran 8.1
8562 whole_archive_flag_spec=
8563 tmp_sharedflag='--shared' ;;
8564 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8565 tmp_sharedflag='-qmkshrobj'
8566 tmp_addflag= ;;
8567 esac
8568 case `$CC -V 2>&1 | sed 5q` in
8569 *Sun\ C*) # Sun C 5.9
8570 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8571 compiler_needs_object=yes
8572 tmp_sharedflag='-G' ;;
8573 *Sun\ F*) # Sun Fortran 8.3
8574 tmp_sharedflag='-G' ;;
8575 esac
8576 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8577
8578 if test "x$supports_anon_versioning" = xyes; then
8579 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8580 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8581 echo "local: *; };" >> $output_objdir/$libname.ver~
8582 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8583 fi
8584
8585 case $cc_basename in
8586 xlf*)
8587 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8588 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8589 hardcode_libdir_flag_spec=
8590 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8591 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8592 if test "x$supports_anon_versioning" = xyes; then
8593 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8594 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8595 echo "local: *; };" >> $output_objdir/$libname.ver~
8596 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8597 fi
8598 ;;
8599 esac
8600 else
8601 ld_shlibs=no
8602 fi
8603 ;;
8604
8605 netbsd* | netbsdelf*-gnu)
8606 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8607 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8608 wlarc=
8609 else
8610 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8611 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8612 fi
8613 ;;
8614
8615 solaris*)
8616 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8617 ld_shlibs=no
8618 cat <<_LT_EOF 1>&2
8619
8620 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8621 *** create shared libraries on Solaris systems. Therefore, libtool
8622 *** is disabling shared libraries support. We urge you to upgrade GNU
8623 *** binutils to release 2.9.1 or newer. Another option is to modify
8624 *** your PATH or compiler configuration so that the native linker is
8625 *** used, and then restart.
8626
8627 _LT_EOF
8628 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8629 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8630 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8631 else
8632 ld_shlibs=no
8633 fi
8634 ;;
8635
8636 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8637 case `$LD -v 2>&1` in
8638 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8639 ld_shlibs=no
8640 cat <<_LT_EOF 1>&2
8641
8642 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8643 *** reliably create shared libraries on SCO systems. Therefore, libtool
8644 *** is disabling shared libraries support. We urge you to upgrade GNU
8645 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8646 *** your PATH or compiler configuration so that the native linker is
8647 *** used, and then restart.
8648
8649 _LT_EOF
8650 ;;
8651 *)
8652 # For security reasons, it is highly recommended that you always
8653 # use absolute paths for naming shared libraries, and exclude the
8654 # DT_RUNPATH tag from executables and libraries. But doing so
8655 # requires that you compile everything twice, which is a pain.
8656 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8657 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8658 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8659 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8660 else
8661 ld_shlibs=no
8662 fi
8663 ;;
8664 esac
8665 ;;
8666
8667 sunos4*)
8668 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8669 wlarc=
8670 hardcode_direct=yes
8671 hardcode_shlibpath_var=no
8672 ;;
8673
8674 *)
8675 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8676 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8677 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8678 else
8679 ld_shlibs=no
8680 fi
8681 ;;
8682 esac
8683
8684 if test "$ld_shlibs" = no; then
8685 runpath_var=
8686 hardcode_libdir_flag_spec=
8687 export_dynamic_flag_spec=
8688 whole_archive_flag_spec=
8689 fi
8690 else
8691 # PORTME fill in a description of your system's linker (not GNU ld)
8692 case $host_os in
8693 aix3*)
8694 allow_undefined_flag=unsupported
8695 always_export_symbols=yes
8696 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
8697 # Note: this linker hardcodes the directories in LIBPATH if there
8698 # are no directories specified by -L.
8699 hardcode_minus_L=yes
8700 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8701 # Neither direct hardcoding nor static linking is supported with a
8702 # broken collect2.
8703 hardcode_direct=unsupported
8704 fi
8705 ;;
8706
8707 aix[4-9]*)
8708 if test "$host_cpu" = ia64; then
8709 # On IA64, the linker does run time linking by default, so we don't
8710 # have to do anything special.
8711 aix_use_runtimelinking=no
8712 exp_sym_flag='-Bexport'
8713 no_entry_flag=""
8714 else
8715 # If we're using GNU nm, then we don't want the "-C" option.
8716 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8717 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8718 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8719 else
8720 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8721 fi
8722 aix_use_runtimelinking=no
8723
8724 # Test if we are trying to use run time linking or normal
8725 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8726 # need to do runtime linking.
8727 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8728 for ld_flag in $LDFLAGS; do
8729 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8730 aix_use_runtimelinking=yes
8731 break
8732 fi
8733 done
8734 ;;
8735 esac
8736
8737 exp_sym_flag='-bexport'
8738 no_entry_flag='-bnoentry'
8739 fi
8740
8741 # When large executables or shared objects are built, AIX ld can
8742 # have problems creating the table of contents. If linking a library
8743 # or program results in "error TOC overflow" add -mminimal-toc to
8744 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8745 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8746
8747 archive_cmds=''
8748 hardcode_direct=yes
8749 hardcode_direct_absolute=yes
8750 hardcode_libdir_separator=':'
8751 link_all_deplibs=yes
8752 file_list_spec='${wl}-f,'
8753
8754 if test "$GCC" = yes; then
8755 case $host_os in aix4.[012]|aix4.[012].*)
8756 # We only want to do this on AIX 4.2 and lower, the check
8757 # below for broken collect2 doesn't work under 4.3+
8758 collect2name=`${CC} -print-prog-name=collect2`
8759 if test -f "$collect2name" &&
8760 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8761 then
8762 # We have reworked collect2
8763 :
8764 else
8765 # We have old collect2
8766 hardcode_direct=unsupported
8767 # It fails to find uninstalled libraries when the uninstalled
8768 # path is not listed in the libpath. Setting hardcode_minus_L
8769 # to unsupported forces relinking
8770 hardcode_minus_L=yes
8771 hardcode_libdir_flag_spec='-L$libdir'
8772 hardcode_libdir_separator=
8773 fi
8774 ;;
8775 esac
8776 shared_flag='-shared'
8777 if test "$aix_use_runtimelinking" = yes; then
8778 shared_flag="$shared_flag "'${wl}-G'
8779 fi
8780 link_all_deplibs=no
8781 else
8782 # not using gcc
8783 if test "$host_cpu" = ia64; then
8784 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8785 # chokes on -Wl,-G. The following line is correct:
8786 shared_flag='-G'
8787 else
8788 if test "$aix_use_runtimelinking" = yes; then
8789 shared_flag='${wl}-G'
8790 else
8791 shared_flag='${wl}-bM:SRE'
8792 fi
8793 fi
8794 fi
8795
8796 export_dynamic_flag_spec='${wl}-bexpall'
8797 # It seems that -bexpall does not export symbols beginning with
8798 # underscore (_), so it is better to generate a list of symbols to export.
8799 always_export_symbols=yes
8800 if test "$aix_use_runtimelinking" = yes; then
8801 # Warning - without using the other runtime loading flags (-brtl),
8802 # -berok will link without error, but may produce a broken library.
8803 allow_undefined_flag='-berok'
8804 # Determine the default libpath from the value encoded in an
8805 # empty executable.
8806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8807 /* end confdefs.h. */
8808
8809 int
8810 main ()
8811 {
8812
8813 ;
8814 return 0;
8815 }
8816 _ACEOF
8817 if ac_fn_c_try_link "$LINENO"; then :
8818
8819 lt_aix_libpath_sed='
8820 /Import File Strings/,/^$/ {
8821 /^0/ {
8822 s/^0 *\(.*\)$/\1/
8823 p
8824 }
8825 }'
8826 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8827 # Check for a 64-bit object if we didn't find anything.
8828 if test -z "$aix_libpath"; then
8829 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8830 fi
8831 fi
8832 rm -f core conftest.err conftest.$ac_objext \
8833 conftest$ac_exeext conftest.$ac_ext
8834 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8835
8836 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8837 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8838 else
8839 if test "$host_cpu" = ia64; then
8840 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8841 allow_undefined_flag="-z nodefs"
8842 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"
8843 else
8844 # Determine the default libpath from the value encoded in an
8845 # empty executable.
8846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8847 /* end confdefs.h. */
8848
8849 int
8850 main ()
8851 {
8852
8853 ;
8854 return 0;
8855 }
8856 _ACEOF
8857 if ac_fn_c_try_link "$LINENO"; then :
8858
8859 lt_aix_libpath_sed='
8860 /Import File Strings/,/^$/ {
8861 /^0/ {
8862 s/^0 *\(.*\)$/\1/
8863 p
8864 }
8865 }'
8866 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8867 # Check for a 64-bit object if we didn't find anything.
8868 if test -z "$aix_libpath"; then
8869 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8870 fi
8871 fi
8872 rm -f core conftest.err conftest.$ac_objext \
8873 conftest$ac_exeext conftest.$ac_ext
8874 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8875
8876 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8877 # Warning - without using the other run time loading flags,
8878 # -berok will link without error, but may produce a broken library.
8879 no_undefined_flag=' ${wl}-bernotok'
8880 allow_undefined_flag=' ${wl}-berok'
8881 # Exported symbols can be pulled into shared objects from archives
8882 whole_archive_flag_spec='$convenience'
8883 archive_cmds_need_lc=yes
8884 # This is similar to how AIX traditionally builds its shared libraries.
8885 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8886 fi
8887 fi
8888 ;;
8889
8890 amigaos*)
8891 case $host_cpu in
8892 powerpc)
8893 # see comment about AmigaOS4 .so support
8894 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8895 archive_expsym_cmds=''
8896 ;;
8897 m68k)
8898 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8899 hardcode_libdir_flag_spec='-L$libdir'
8900 hardcode_minus_L=yes
8901 ;;
8902 esac
8903 ;;
8904
8905 bsdi[45]*)
8906 export_dynamic_flag_spec=-rdynamic
8907 ;;
8908
8909 cygwin* | mingw* | pw32* | cegcc*)
8910 # When not using gcc, we currently assume that we are using
8911 # Microsoft Visual C++.
8912 # hardcode_libdir_flag_spec is actually meaningless, as there is
8913 # no search path for DLLs.
8914 hardcode_libdir_flag_spec=' '
8915 allow_undefined_flag=unsupported
8916 # Tell ltmain to make .lib files, not .a files.
8917 libext=lib
8918 # Tell ltmain to make .dll files, not .so files.
8919 shrext_cmds=".dll"
8920 # FIXME: Setting linknames here is a bad hack.
8921 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8922 # The linker will automatically build a .lib file if we build a DLL.
8923 old_archive_from_new_cmds='true'
8924 # FIXME: Should let the user specify the lib program.
8925 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8926 fix_srcfile_path='`cygpath -w "$srcfile"`'
8927 enable_shared_with_static_runtimes=yes
8928 ;;
8929
8930 darwin* | rhapsody*)
8931
8932
8933 archive_cmds_need_lc=no
8934 hardcode_direct=no
8935 hardcode_automatic=yes
8936 hardcode_shlibpath_var=unsupported
8937 whole_archive_flag_spec=''
8938 link_all_deplibs=yes
8939 allow_undefined_flag="$_lt_dar_allow_undefined"
8940 case $cc_basename in
8941 ifort*) _lt_dar_can_shared=yes ;;
8942 *) _lt_dar_can_shared=$GCC ;;
8943 esac
8944 if test "$_lt_dar_can_shared" = "yes"; then
8945 output_verbose_link_cmd=echo
8946 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8947 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8948 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8949 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8950
8951 else
8952 ld_shlibs=no
8953 fi
8954
8955 ;;
8956
8957 dgux*)
8958 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8959 hardcode_libdir_flag_spec='-L$libdir'
8960 hardcode_shlibpath_var=no
8961 ;;
8962
8963 freebsd1*)
8964 ld_shlibs=no
8965 ;;
8966
8967 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8968 # support. Future versions do this automatically, but an explicit c++rt0.o
8969 # does not break anything, and helps significantly (at the cost of a little
8970 # extra space).
8971 freebsd2.2*)
8972 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8973 hardcode_libdir_flag_spec='-R$libdir'
8974 hardcode_direct=yes
8975 hardcode_shlibpath_var=no
8976 ;;
8977
8978 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8979 freebsd2*)
8980 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8981 hardcode_direct=yes
8982 hardcode_minus_L=yes
8983 hardcode_shlibpath_var=no
8984 ;;
8985
8986 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8987 freebsd* | dragonfly*)
8988 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8989 hardcode_libdir_flag_spec='-R$libdir'
8990 hardcode_direct=yes
8991 hardcode_shlibpath_var=no
8992 ;;
8993
8994 hpux9*)
8995 if test "$GCC" = yes; then
8996 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8997 else
8998 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8999 fi
9000 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9001 hardcode_libdir_separator=:
9002 hardcode_direct=yes
9003
9004 # hardcode_minus_L: Not really in the search PATH,
9005 # but as the default location of the library.
9006 hardcode_minus_L=yes
9007 export_dynamic_flag_spec='${wl}-E'
9008 ;;
9009
9010 hpux10*)
9011 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9012 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9013 else
9014 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9015 fi
9016 if test "$with_gnu_ld" = no; then
9017 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9018 hardcode_libdir_flag_spec_ld='+b $libdir'
9019 hardcode_libdir_separator=:
9020 hardcode_direct=yes
9021 hardcode_direct_absolute=yes
9022 export_dynamic_flag_spec='${wl}-E'
9023 # hardcode_minus_L: Not really in the search PATH,
9024 # but as the default location of the library.
9025 hardcode_minus_L=yes
9026 fi
9027 ;;
9028
9029 hpux11*)
9030 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9031 case $host_cpu in
9032 hppa*64*)
9033 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9034 ;;
9035 ia64*)
9036 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9037 ;;
9038 *)
9039 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9040 ;;
9041 esac
9042 else
9043 case $host_cpu in
9044 hppa*64*)
9045 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9046 ;;
9047 ia64*)
9048 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9049 ;;
9050 *)
9051 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9052 ;;
9053 esac
9054 fi
9055 if test "$with_gnu_ld" = no; then
9056 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9057 hardcode_libdir_separator=:
9058
9059 case $host_cpu in
9060 hppa*64*|ia64*)
9061 hardcode_direct=no
9062 hardcode_shlibpath_var=no
9063 ;;
9064 *)
9065 hardcode_direct=yes
9066 hardcode_direct_absolute=yes
9067 export_dynamic_flag_spec='${wl}-E'
9068
9069 # hardcode_minus_L: Not really in the search PATH,
9070 # but as the default location of the library.
9071 hardcode_minus_L=yes
9072 ;;
9073 esac
9074 fi
9075 ;;
9076
9077 irix5* | irix6* | nonstopux*)
9078 if test "$GCC" = yes; then
9079 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9080 # Try to use the -exported_symbol ld option, if it does not
9081 # work, assume that -exports_file does not work either and
9082 # implicitly export all symbols.
9083 save_LDFLAGS="$LDFLAGS"
9084 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9086 /* end confdefs.h. */
9087 int foo(void) {}
9088 _ACEOF
9089 if ac_fn_c_try_link "$LINENO"; then :
9090 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9091
9092 fi
9093 rm -f core conftest.err conftest.$ac_objext \
9094 conftest$ac_exeext conftest.$ac_ext
9095 LDFLAGS="$save_LDFLAGS"
9096 else
9097 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9098 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9099 fi
9100 archive_cmds_need_lc='no'
9101 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9102 hardcode_libdir_separator=:
9103 inherit_rpath=yes
9104 link_all_deplibs=yes
9105 ;;
9106
9107 netbsd* | netbsdelf*-gnu)
9108 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9109 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9110 else
9111 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9112 fi
9113 hardcode_libdir_flag_spec='-R$libdir'
9114 hardcode_direct=yes
9115 hardcode_shlibpath_var=no
9116 ;;
9117
9118 newsos6)
9119 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9120 hardcode_direct=yes
9121 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9122 hardcode_libdir_separator=:
9123 hardcode_shlibpath_var=no
9124 ;;
9125
9126 *nto* | *qnx*)
9127 ;;
9128
9129 openbsd*)
9130 if test -f /usr/libexec/ld.so; then
9131 hardcode_direct=yes
9132 hardcode_shlibpath_var=no
9133 hardcode_direct_absolute=yes
9134 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9135 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9136 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9137 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9138 export_dynamic_flag_spec='${wl}-E'
9139 else
9140 case $host_os in
9141 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9142 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9143 hardcode_libdir_flag_spec='-R$libdir'
9144 ;;
9145 *)
9146 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9147 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9148 ;;
9149 esac
9150 fi
9151 else
9152 ld_shlibs=no
9153 fi
9154 ;;
9155
9156 os2*)
9157 hardcode_libdir_flag_spec='-L$libdir'
9158 hardcode_minus_L=yes
9159 allow_undefined_flag=unsupported
9160 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9161 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9162 ;;
9163
9164 osf3*)
9165 if test "$GCC" = yes; then
9166 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9167 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9168 else
9169 allow_undefined_flag=' -expect_unresolved \*'
9170 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9171 fi
9172 archive_cmds_need_lc='no'
9173 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9174 hardcode_libdir_separator=:
9175 ;;
9176
9177 osf4* | osf5*) # as osf3* with the addition of -msym flag
9178 if test "$GCC" = yes; then
9179 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9180 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9181 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9182 else
9183 allow_undefined_flag=' -expect_unresolved \*'
9184 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9185 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9186 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9187
9188 # Both c and cxx compiler support -rpath directly
9189 hardcode_libdir_flag_spec='-rpath $libdir'
9190 fi
9191 archive_cmds_need_lc='no'
9192 hardcode_libdir_separator=:
9193 ;;
9194
9195 solaris*)
9196 no_undefined_flag=' -z defs'
9197 if test "$GCC" = yes; then
9198 wlarc='${wl}'
9199 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9200 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9201 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9202 else
9203 case `$CC -V 2>&1` in
9204 *"Compilers 5.0"*)
9205 wlarc=''
9206 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9207 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9208 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9209 ;;
9210 *)
9211 wlarc='${wl}'
9212 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9213 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9214 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9215 ;;
9216 esac
9217 fi
9218 hardcode_libdir_flag_spec='-R$libdir'
9219 hardcode_shlibpath_var=no
9220 case $host_os in
9221 solaris2.[0-5] | solaris2.[0-5].*) ;;
9222 *)
9223 # The compiler driver will combine and reorder linker options,
9224 # but understands `-z linker_flag'. GCC discards it without `$wl',
9225 # but is careful enough not to reorder.
9226 # Supported since Solaris 2.6 (maybe 2.5.1?)
9227 if test "$GCC" = yes; then
9228 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9229 else
9230 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9231 fi
9232 ;;
9233 esac
9234 link_all_deplibs=yes
9235 ;;
9236
9237 sunos4*)
9238 if test "x$host_vendor" = xsequent; then
9239 # Use $CC to link under sequent, because it throws in some extra .o
9240 # files that make .init and .fini sections work.
9241 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9242 else
9243 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9244 fi
9245 hardcode_libdir_flag_spec='-L$libdir'
9246 hardcode_direct=yes
9247 hardcode_minus_L=yes
9248 hardcode_shlibpath_var=no
9249 ;;
9250
9251 sysv4)
9252 case $host_vendor in
9253 sni)
9254 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9255 hardcode_direct=yes # is this really true???
9256 ;;
9257 siemens)
9258 ## LD is ld it makes a PLAMLIB
9259 ## CC just makes a GrossModule.
9260 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9261 reload_cmds='$CC -r -o $output$reload_objs'
9262 hardcode_direct=no
9263 ;;
9264 motorola)
9265 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9266 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9267 ;;
9268 esac
9269 runpath_var='LD_RUN_PATH'
9270 hardcode_shlibpath_var=no
9271 ;;
9272
9273 sysv4.3*)
9274 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9275 hardcode_shlibpath_var=no
9276 export_dynamic_flag_spec='-Bexport'
9277 ;;
9278
9279 sysv4*MP*)
9280 if test -d /usr/nec; then
9281 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9282 hardcode_shlibpath_var=no
9283 runpath_var=LD_RUN_PATH
9284 hardcode_runpath_var=yes
9285 ld_shlibs=yes
9286 fi
9287 ;;
9288
9289 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9290 no_undefined_flag='${wl}-z,text'
9291 archive_cmds_need_lc=no
9292 hardcode_shlibpath_var=no
9293 runpath_var='LD_RUN_PATH'
9294
9295 if test "$GCC" = yes; then
9296 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9297 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9298 else
9299 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9300 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9301 fi
9302 ;;
9303
9304 sysv5* | sco3.2v5* | sco5v6*)
9305 # Note: We can NOT use -z defs as we might desire, because we do not
9306 # link with -lc, and that would cause any symbols used from libc to
9307 # always be unresolved, which means just about no library would
9308 # ever link correctly. If we're not using GNU ld we use -z text
9309 # though, which does catch some bad symbols but isn't as heavy-handed
9310 # as -z defs.
9311 no_undefined_flag='${wl}-z,text'
9312 allow_undefined_flag='${wl}-z,nodefs'
9313 archive_cmds_need_lc=no
9314 hardcode_shlibpath_var=no
9315 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9316 hardcode_libdir_separator=':'
9317 link_all_deplibs=yes
9318 export_dynamic_flag_spec='${wl}-Bexport'
9319 runpath_var='LD_RUN_PATH'
9320
9321 if test "$GCC" = yes; then
9322 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9323 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9324 else
9325 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9326 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9327 fi
9328 ;;
9329
9330 uts4*)
9331 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9332 hardcode_libdir_flag_spec='-L$libdir'
9333 hardcode_shlibpath_var=no
9334 ;;
9335
9336 *)
9337 ld_shlibs=no
9338 ;;
9339 esac
9340
9341 if test x$host_vendor = xsni; then
9342 case $host in
9343 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9344 export_dynamic_flag_spec='${wl}-Blargedynsym'
9345 ;;
9346 esac
9347 fi
9348 fi
9349
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9351 $as_echo "$ld_shlibs" >&6; }
9352 test "$ld_shlibs" = no && can_build_shared=no
9353
9354 with_gnu_ld=$with_gnu_ld
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370 #
9371 # Do we need to explicitly link libc?
9372 #
9373 case "x$archive_cmds_need_lc" in
9374 x|xyes)
9375 # Assume -lc should be added
9376 archive_cmds_need_lc=yes
9377
9378 if test "$enable_shared" = yes && test "$GCC" = yes; then
9379 case $archive_cmds in
9380 *'~'*)
9381 # FIXME: we may have to deal with multi-command sequences.
9382 ;;
9383 '$CC '*)
9384 # Test whether the compiler implicitly links with -lc since on some
9385 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9386 # to ld, don't add -lc before -lgcc.
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9388 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9389 $RM conftest*
9390 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9391
9392 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9393 (eval $ac_compile) 2>&5
9394 ac_status=$?
9395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9396 test $ac_status = 0; } 2>conftest.err; then
9397 soname=conftest
9398 lib=conftest
9399 libobjs=conftest.$ac_objext
9400 deplibs=
9401 wl=$lt_prog_compiler_wl
9402 pic_flag=$lt_prog_compiler_pic
9403 compiler_flags=-v
9404 linker_flags=-v
9405 verstring=
9406 output_objdir=.
9407 libname=conftest
9408 lt_save_allow_undefined_flag=$allow_undefined_flag
9409 allow_undefined_flag=
9410 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9411 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9412 ac_status=$?
9413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9414 test $ac_status = 0; }
9415 then
9416 archive_cmds_need_lc=no
9417 else
9418 archive_cmds_need_lc=yes
9419 fi
9420 allow_undefined_flag=$lt_save_allow_undefined_flag
9421 else
9422 cat conftest.err 1>&5
9423 fi
9424 $RM conftest*
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9426 $as_echo "$archive_cmds_need_lc" >&6; }
9427 ;;
9428 esac
9429 fi
9430 ;;
9431 esac
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9590 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9591
9592 if test "$GCC" = yes; then
9593 case $host_os in
9594 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9595 *) lt_awk_arg="/^libraries:/" ;;
9596 esac
9597 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9598 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9599 # if the path contains ";" then we assume it to be the separator
9600 # otherwise default to the standard path separator (i.e. ":") - it is
9601 # assumed that no part of a normal pathname contains ";" but that should
9602 # okay in the real world where ";" in dirpaths is itself problematic.
9603 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9604 else
9605 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9606 fi
9607 # Ok, now we have the path, separated by spaces, we can step through it
9608 # and add multilib dir if necessary.
9609 lt_tmp_lt_search_path_spec=
9610 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9611 for lt_sys_path in $lt_search_path_spec; do
9612 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9613 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9614 else
9615 test -d "$lt_sys_path" && \
9616 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9617 fi
9618 done
9619 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9620 BEGIN {RS=" "; FS="/|\n";} {
9621 lt_foo="";
9622 lt_count=0;
9623 for (lt_i = NF; lt_i > 0; lt_i--) {
9624 if ($lt_i != "" && $lt_i != ".") {
9625 if ($lt_i == "..") {
9626 lt_count++;
9627 } else {
9628 if (lt_count == 0) {
9629 lt_foo="/" $lt_i lt_foo;
9630 } else {
9631 lt_count--;
9632 }
9633 }
9634 }
9635 }
9636 if (lt_foo != "") { lt_freq[lt_foo]++; }
9637 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9638 }'`
9639 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9640 else
9641 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9642 fi
9643 library_names_spec=
9644 libname_spec='lib$name'
9645 soname_spec=
9646 shrext_cmds=".so"
9647 postinstall_cmds=
9648 postuninstall_cmds=
9649 finish_cmds=
9650 finish_eval=
9651 shlibpath_var=
9652 shlibpath_overrides_runpath=unknown
9653 version_type=none
9654 dynamic_linker="$host_os ld.so"
9655 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9656 need_lib_prefix=unknown
9657 hardcode_into_libs=no
9658
9659 # when you set need_version to no, make sure it does not cause -set_version
9660 # flags to be left without arguments
9661 need_version=unknown
9662
9663 case $host_os in
9664 aix3*)
9665 version_type=linux
9666 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9667 shlibpath_var=LIBPATH
9668
9669 # AIX 3 has no versioning support, so we append a major version to the name.
9670 soname_spec='${libname}${release}${shared_ext}$major'
9671 ;;
9672
9673 aix[4-9]*)
9674 version_type=linux
9675 need_lib_prefix=no
9676 need_version=no
9677 hardcode_into_libs=yes
9678 if test "$host_cpu" = ia64; then
9679 # AIX 5 supports IA64
9680 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9681 shlibpath_var=LD_LIBRARY_PATH
9682 else
9683 # With GCC up to 2.95.x, collect2 would create an import file
9684 # for dependence libraries. The import file would start with
9685 # the line `#! .'. This would cause the generated library to
9686 # depend on `.', always an invalid library. This was fixed in
9687 # development snapshots of GCC prior to 3.0.
9688 case $host_os in
9689 aix4 | aix4.[01] | aix4.[01].*)
9690 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9691 echo ' yes '
9692 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9693 :
9694 else
9695 can_build_shared=no
9696 fi
9697 ;;
9698 esac
9699 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9700 # soname into executable. Probably we can add versioning support to
9701 # collect2, so additional links can be useful in future.
9702 if test "$aix_use_runtimelinking" = yes; then
9703 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9704 # instead of lib<name>.a to let people know that these are not
9705 # typical AIX shared libraries.
9706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9707 else
9708 # We preserve .a as extension for shared libraries through AIX4.2
9709 # and later when we are not doing run time linking.
9710 library_names_spec='${libname}${release}.a $libname.a'
9711 soname_spec='${libname}${release}${shared_ext}$major'
9712 fi
9713 shlibpath_var=LIBPATH
9714 fi
9715 ;;
9716
9717 amigaos*)
9718 case $host_cpu in
9719 powerpc)
9720 # Since July 2007 AmigaOS4 officially supports .so libraries.
9721 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9722 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9723 ;;
9724 m68k)
9725 library_names_spec='$libname.ixlibrary $libname.a'
9726 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9727 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9728 ;;
9729 esac
9730 ;;
9731
9732 beos*)
9733 library_names_spec='${libname}${shared_ext}'
9734 dynamic_linker="$host_os ld.so"
9735 shlibpath_var=LIBRARY_PATH
9736 ;;
9737
9738 bsdi[45]*)
9739 version_type=linux
9740 need_version=no
9741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9742 soname_spec='${libname}${release}${shared_ext}$major'
9743 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9744 shlibpath_var=LD_LIBRARY_PATH
9745 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9746 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9747 # the default ld.so.conf also contains /usr/contrib/lib and
9748 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9749 # libtool to hard-code these into programs
9750 ;;
9751
9752 cygwin* | mingw* | pw32* | cegcc*)
9753 version_type=windows
9754 shrext_cmds=".dll"
9755 need_version=no
9756 need_lib_prefix=no
9757
9758 case $GCC,$host_os in
9759 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9760 library_names_spec='$libname.dll.a'
9761 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9762 postinstall_cmds='base_file=`basename \${file}`~
9763 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9764 dldir=$destdir/`dirname \$dlpath`~
9765 test -d \$dldir || mkdir -p \$dldir~
9766 $install_prog $dir/$dlname \$dldir/$dlname~
9767 chmod a+x \$dldir/$dlname~
9768 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9769 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9770 fi'
9771 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9772 dlpath=$dir/\$dldll~
9773 $RM \$dlpath'
9774 shlibpath_overrides_runpath=yes
9775
9776 case $host_os in
9777 cygwin*)
9778 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9779 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9780 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9781 ;;
9782 mingw* | cegcc*)
9783 # MinGW DLLs use traditional 'lib' prefix
9784 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9785 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9786 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9787 # It is most probably a Windows format PATH printed by
9788 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9789 # path with ; separators, and with drive letters. We can handle the
9790 # drive letters (cygwin fileutils understands them), so leave them,
9791 # especially as we might pass files found there to a mingw objdump,
9792 # which wouldn't understand a cygwinified path. Ahh.
9793 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9794 else
9795 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9796 fi
9797 ;;
9798 pw32*)
9799 # pw32 DLLs use 'pw' prefix rather than 'lib'
9800 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9801 ;;
9802 esac
9803 ;;
9804
9805 *)
9806 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9807 ;;
9808 esac
9809 dynamic_linker='Win32 ld.exe'
9810 # FIXME: first we should search . and the directory the executable is in
9811 shlibpath_var=PATH
9812 ;;
9813
9814 darwin* | rhapsody*)
9815 dynamic_linker="$host_os dyld"
9816 version_type=darwin
9817 need_lib_prefix=no
9818 need_version=no
9819 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9820 soname_spec='${libname}${release}${major}$shared_ext'
9821 shlibpath_overrides_runpath=yes
9822 shlibpath_var=DYLD_LIBRARY_PATH
9823 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9824
9825 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9826 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9827 ;;
9828
9829 dgux*)
9830 version_type=linux
9831 need_lib_prefix=no
9832 need_version=no
9833 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9834 soname_spec='${libname}${release}${shared_ext}$major'
9835 shlibpath_var=LD_LIBRARY_PATH
9836 ;;
9837
9838 freebsd1*)
9839 dynamic_linker=no
9840 ;;
9841
9842 freebsd* | dragonfly*)
9843 # DragonFly does not have aout. When/if they implement a new
9844 # versioning mechanism, adjust this.
9845 if test -x /usr/bin/objformat; then
9846 objformat=`/usr/bin/objformat`
9847 else
9848 case $host_os in
9849 freebsd[123]*) objformat=aout ;;
9850 *) objformat=elf ;;
9851 esac
9852 fi
9853 version_type=freebsd-$objformat
9854 case $version_type in
9855 freebsd-elf*)
9856 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9857 need_version=no
9858 need_lib_prefix=no
9859 ;;
9860 freebsd-*)
9861 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9862 need_version=yes
9863 ;;
9864 esac
9865 shlibpath_var=LD_LIBRARY_PATH
9866 case $host_os in
9867 freebsd2*)
9868 shlibpath_overrides_runpath=yes
9869 ;;
9870 freebsd3.[01]* | freebsdelf3.[01]*)
9871 shlibpath_overrides_runpath=yes
9872 hardcode_into_libs=yes
9873 ;;
9874 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9875 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9876 shlibpath_overrides_runpath=no
9877 hardcode_into_libs=yes
9878 ;;
9879 *) # from 4.6 on, and DragonFly
9880 shlibpath_overrides_runpath=yes
9881 hardcode_into_libs=yes
9882 ;;
9883 esac
9884 ;;
9885
9886 gnu*)
9887 version_type=linux
9888 need_lib_prefix=no
9889 need_version=no
9890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9891 soname_spec='${libname}${release}${shared_ext}$major'
9892 shlibpath_var=LD_LIBRARY_PATH
9893 hardcode_into_libs=yes
9894 ;;
9895
9896 hpux9* | hpux10* | hpux11*)
9897 # Give a soname corresponding to the major version so that dld.sl refuses to
9898 # link against other versions.
9899 version_type=sunos
9900 need_lib_prefix=no
9901 need_version=no
9902 case $host_cpu in
9903 ia64*)
9904 shrext_cmds='.so'
9905 hardcode_into_libs=yes
9906 dynamic_linker="$host_os dld.so"
9907 shlibpath_var=LD_LIBRARY_PATH
9908 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9910 soname_spec='${libname}${release}${shared_ext}$major'
9911 if test "X$HPUX_IA64_MODE" = X32; then
9912 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9913 else
9914 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9915 fi
9916 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9917 ;;
9918 hppa*64*)
9919 shrext_cmds='.sl'
9920 hardcode_into_libs=yes
9921 dynamic_linker="$host_os dld.sl"
9922 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9923 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9924 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9925 soname_spec='${libname}${release}${shared_ext}$major'
9926 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9927 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9928 ;;
9929 *)
9930 shrext_cmds='.sl'
9931 dynamic_linker="$host_os dld.sl"
9932 shlibpath_var=SHLIB_PATH
9933 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9934 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9935 soname_spec='${libname}${release}${shared_ext}$major'
9936 ;;
9937 esac
9938 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9939 postinstall_cmds='chmod 555 $lib'
9940 ;;
9941
9942 interix[3-9]*)
9943 version_type=linux
9944 need_lib_prefix=no
9945 need_version=no
9946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9947 soname_spec='${libname}${release}${shared_ext}$major'
9948 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9949 shlibpath_var=LD_LIBRARY_PATH
9950 shlibpath_overrides_runpath=no
9951 hardcode_into_libs=yes
9952 ;;
9953
9954 irix5* | irix6* | nonstopux*)
9955 case $host_os in
9956 nonstopux*) version_type=nonstopux ;;
9957 *)
9958 if test "$lt_cv_prog_gnu_ld" = yes; then
9959 version_type=linux
9960 else
9961 version_type=irix
9962 fi ;;
9963 esac
9964 need_lib_prefix=no
9965 need_version=no
9966 soname_spec='${libname}${release}${shared_ext}$major'
9967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9968 case $host_os in
9969 irix5* | nonstopux*)
9970 libsuff= shlibsuff=
9971 ;;
9972 *)
9973 case $LD in # libtool.m4 will add one of these switches to LD
9974 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9975 libsuff= shlibsuff= libmagic=32-bit;;
9976 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9977 libsuff=32 shlibsuff=N32 libmagic=N32;;
9978 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9979 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9980 *) libsuff= shlibsuff= libmagic=never-match;;
9981 esac
9982 ;;
9983 esac
9984 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9985 shlibpath_overrides_runpath=no
9986 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9987 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9988 hardcode_into_libs=yes
9989 ;;
9990
9991 # No shared lib support for Linux oldld, aout, or coff.
9992 linux*oldld* | linux*aout* | linux*coff*)
9993 dynamic_linker=no
9994 ;;
9995
9996 # This must be Linux ELF.
9997 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9998 version_type=linux
9999 need_lib_prefix=no
10000 need_version=no
10001 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10002 soname_spec='${libname}${release}${shared_ext}$major'
10003 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10004 shlibpath_var=LD_LIBRARY_PATH
10005 shlibpath_overrides_runpath=no
10006 # Some binutils ld are patched to set DT_RUNPATH
10007 save_LDFLAGS=$LDFLAGS
10008 save_libdir=$libdir
10009 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10010 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10012 /* end confdefs.h. */
10013
10014 int
10015 main ()
10016 {
10017
10018 ;
10019 return 0;
10020 }
10021 _ACEOF
10022 if ac_fn_c_try_link "$LINENO"; then :
10023 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10024 shlibpath_overrides_runpath=yes
10025 fi
10026 fi
10027 rm -f core conftest.err conftest.$ac_objext \
10028 conftest$ac_exeext conftest.$ac_ext
10029 LDFLAGS=$save_LDFLAGS
10030 libdir=$save_libdir
10031
10032 # This implies no fast_install, which is unacceptable.
10033 # Some rework will be needed to allow for fast_install
10034 # before this can be enabled.
10035 hardcode_into_libs=yes
10036
10037 # Append ld.so.conf contents to the search path
10038 if test -f /etc/ld.so.conf; then
10039 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10040 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10041 fi
10042
10043 # We used to test for /lib/ld.so.1 and disable shared libraries on
10044 # powerpc, because MkLinux only supported shared libraries with the
10045 # GNU dynamic linker. Since this was broken with cross compilers,
10046 # most powerpc-linux boxes support dynamic linking these days and
10047 # people can always --disable-shared, the test was removed, and we
10048 # assume the GNU/Linux dynamic linker is in use.
10049 dynamic_linker='GNU/Linux ld.so'
10050 ;;
10051
10052 netbsdelf*-gnu)
10053 version_type=linux
10054 need_lib_prefix=no
10055 need_version=no
10056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10057 soname_spec='${libname}${release}${shared_ext}$major'
10058 shlibpath_var=LD_LIBRARY_PATH
10059 shlibpath_overrides_runpath=no
10060 hardcode_into_libs=yes
10061 dynamic_linker='NetBSD ld.elf_so'
10062 ;;
10063
10064 netbsd*)
10065 version_type=sunos
10066 need_lib_prefix=no
10067 need_version=no
10068 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10069 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10070 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10071 dynamic_linker='NetBSD (a.out) ld.so'
10072 else
10073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10074 soname_spec='${libname}${release}${shared_ext}$major'
10075 dynamic_linker='NetBSD ld.elf_so'
10076 fi
10077 shlibpath_var=LD_LIBRARY_PATH
10078 shlibpath_overrides_runpath=yes
10079 hardcode_into_libs=yes
10080 ;;
10081
10082 newsos6)
10083 version_type=linux
10084 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10085 shlibpath_var=LD_LIBRARY_PATH
10086 shlibpath_overrides_runpath=yes
10087 ;;
10088
10089 *nto* | *qnx*)
10090 version_type=qnx
10091 need_lib_prefix=no
10092 need_version=no
10093 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10094 soname_spec='${libname}${release}${shared_ext}$major'
10095 shlibpath_var=LD_LIBRARY_PATH
10096 shlibpath_overrides_runpath=no
10097 hardcode_into_libs=yes
10098 dynamic_linker='ldqnx.so'
10099 ;;
10100
10101 openbsd*)
10102 version_type=sunos
10103 sys_lib_dlsearch_path_spec="/usr/lib"
10104 need_lib_prefix=no
10105 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10106 case $host_os in
10107 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10108 *) need_version=no ;;
10109 esac
10110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10111 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10112 shlibpath_var=LD_LIBRARY_PATH
10113 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10114 case $host_os in
10115 openbsd2.[89] | openbsd2.[89].*)
10116 shlibpath_overrides_runpath=no
10117 ;;
10118 *)
10119 shlibpath_overrides_runpath=yes
10120 ;;
10121 esac
10122 else
10123 shlibpath_overrides_runpath=yes
10124 fi
10125 ;;
10126
10127 os2*)
10128 libname_spec='$name'
10129 shrext_cmds=".dll"
10130 need_lib_prefix=no
10131 library_names_spec='$libname${shared_ext} $libname.a'
10132 dynamic_linker='OS/2 ld.exe'
10133 shlibpath_var=LIBPATH
10134 ;;
10135
10136 osf3* | osf4* | osf5*)
10137 version_type=osf
10138 need_lib_prefix=no
10139 need_version=no
10140 soname_spec='${libname}${release}${shared_ext}$major'
10141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10142 shlibpath_var=LD_LIBRARY_PATH
10143 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10144 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10145 ;;
10146
10147 rdos*)
10148 dynamic_linker=no
10149 ;;
10150
10151 solaris*)
10152 version_type=linux
10153 need_lib_prefix=no
10154 need_version=no
10155 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10156 soname_spec='${libname}${release}${shared_ext}$major'
10157 shlibpath_var=LD_LIBRARY_PATH
10158 shlibpath_overrides_runpath=yes
10159 hardcode_into_libs=yes
10160 # ldd complains unless libraries are executable
10161 postinstall_cmds='chmod +x $lib'
10162 ;;
10163
10164 sunos4*)
10165 version_type=sunos
10166 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10167 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10168 shlibpath_var=LD_LIBRARY_PATH
10169 shlibpath_overrides_runpath=yes
10170 if test "$with_gnu_ld" = yes; then
10171 need_lib_prefix=no
10172 fi
10173 need_version=yes
10174 ;;
10175
10176 sysv4 | sysv4.3*)
10177 version_type=linux
10178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10179 soname_spec='${libname}${release}${shared_ext}$major'
10180 shlibpath_var=LD_LIBRARY_PATH
10181 case $host_vendor in
10182 sni)
10183 shlibpath_overrides_runpath=no
10184 need_lib_prefix=no
10185 runpath_var=LD_RUN_PATH
10186 ;;
10187 siemens)
10188 need_lib_prefix=no
10189 ;;
10190 motorola)
10191 need_lib_prefix=no
10192 need_version=no
10193 shlibpath_overrides_runpath=no
10194 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10195 ;;
10196 esac
10197 ;;
10198
10199 sysv4*MP*)
10200 if test -d /usr/nec ;then
10201 version_type=linux
10202 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10203 soname_spec='$libname${shared_ext}.$major'
10204 shlibpath_var=LD_LIBRARY_PATH
10205 fi
10206 ;;
10207
10208 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10209 version_type=freebsd-elf
10210 need_lib_prefix=no
10211 need_version=no
10212 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10213 soname_spec='${libname}${release}${shared_ext}$major'
10214 shlibpath_var=LD_LIBRARY_PATH
10215 shlibpath_overrides_runpath=yes
10216 hardcode_into_libs=yes
10217 if test "$with_gnu_ld" = yes; then
10218 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10219 else
10220 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10221 case $host_os in
10222 sco3.2v5*)
10223 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10224 ;;
10225 esac
10226 fi
10227 sys_lib_dlsearch_path_spec='/usr/lib'
10228 ;;
10229
10230 tpf*)
10231 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10232 version_type=linux
10233 need_lib_prefix=no
10234 need_version=no
10235 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10236 shlibpath_var=LD_LIBRARY_PATH
10237 shlibpath_overrides_runpath=no
10238 hardcode_into_libs=yes
10239 ;;
10240
10241 uts4*)
10242 version_type=linux
10243 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10244 soname_spec='${libname}${release}${shared_ext}$major'
10245 shlibpath_var=LD_LIBRARY_PATH
10246 ;;
10247
10248 *)
10249 dynamic_linker=no
10250 ;;
10251 esac
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10253 $as_echo "$dynamic_linker" >&6; }
10254 test "$dynamic_linker" = no && can_build_shared=no
10255
10256 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10257 if test "$GCC" = yes; then
10258 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10259 fi
10260
10261 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10262 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10263 fi
10264 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10265 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10266 fi
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10355 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10356 hardcode_action=
10357 if test -n "$hardcode_libdir_flag_spec" ||
10358 test -n "$runpath_var" ||
10359 test "X$hardcode_automatic" = "Xyes" ; then
10360
10361 # We can hardcode non-existent directories.
10362 if test "$hardcode_direct" != no &&
10363 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10364 # have to relink, otherwise we might link with an installed library
10365 # when we should be linking with a yet-to-be-installed one
10366 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10367 test "$hardcode_minus_L" != no; then
10368 # Linking always hardcodes the temporary library directory.
10369 hardcode_action=relink
10370 else
10371 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10372 hardcode_action=immediate
10373 fi
10374 else
10375 # We cannot hardcode anything, or else we can only hardcode existing
10376 # directories.
10377 hardcode_action=unsupported
10378 fi
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10380 $as_echo "$hardcode_action" >&6; }
10381
10382 if test "$hardcode_action" = relink ||
10383 test "$inherit_rpath" = yes; then
10384 # Fast installation is not supported
10385 enable_fast_install=no
10386 elif test "$shlibpath_overrides_runpath" = yes ||
10387 test "$enable_shared" = no; then
10388 # Fast installation is not necessary
10389 enable_fast_install=needless
10390 fi
10391
10392
10393
10394
10395
10396
10397 if test "x$enable_dlopen" != xyes; then
10398 enable_dlopen=unknown
10399 enable_dlopen_self=unknown
10400 enable_dlopen_self_static=unknown
10401 else
10402 lt_cv_dlopen=no
10403 lt_cv_dlopen_libs=
10404
10405 case $host_os in
10406 beos*)
10407 lt_cv_dlopen="load_add_on"
10408 lt_cv_dlopen_libs=
10409 lt_cv_dlopen_self=yes
10410 ;;
10411
10412 mingw* | pw32* | cegcc*)
10413 lt_cv_dlopen="LoadLibrary"
10414 lt_cv_dlopen_libs=
10415 ;;
10416
10417 cygwin*)
10418 lt_cv_dlopen="dlopen"
10419 lt_cv_dlopen_libs=
10420 ;;
10421
10422 darwin*)
10423 # if libdl is installed we need to link against it
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10425 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10426 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10427 $as_echo_n "(cached) " >&6
10428 else
10429 ac_check_lib_save_LIBS=$LIBS
10430 LIBS="-ldl $LIBS"
10431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10432 /* end confdefs.h. */
10433
10434 /* Override any GCC internal prototype to avoid an error.
10435 Use char because int might match the return type of a GCC
10436 builtin and then its argument prototype would still apply. */
10437 #ifdef __cplusplus
10438 extern "C"
10439 #endif
10440 char dlopen ();
10441 int
10442 main ()
10443 {
10444 return dlopen ();
10445 ;
10446 return 0;
10447 }
10448 _ACEOF
10449 if ac_fn_c_try_link "$LINENO"; then :
10450 ac_cv_lib_dl_dlopen=yes
10451 else
10452 ac_cv_lib_dl_dlopen=no
10453 fi
10454 rm -f core conftest.err conftest.$ac_objext \
10455 conftest$ac_exeext conftest.$ac_ext
10456 LIBS=$ac_check_lib_save_LIBS
10457 fi
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10459 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10460 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10461 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10462 else
10463
10464 lt_cv_dlopen="dyld"
10465 lt_cv_dlopen_libs=
10466 lt_cv_dlopen_self=yes
10467
10468 fi
10469
10470 ;;
10471
10472 *)
10473 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10474 if test "x$ac_cv_func_shl_load" = x""yes; then :
10475 lt_cv_dlopen="shl_load"
10476 else
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10478 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10479 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10480 $as_echo_n "(cached) " >&6
10481 else
10482 ac_check_lib_save_LIBS=$LIBS
10483 LIBS="-ldld $LIBS"
10484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10485 /* end confdefs.h. */
10486
10487 /* Override any GCC internal prototype to avoid an error.
10488 Use char because int might match the return type of a GCC
10489 builtin and then its argument prototype would still apply. */
10490 #ifdef __cplusplus
10491 extern "C"
10492 #endif
10493 char shl_load ();
10494 int
10495 main ()
10496 {
10497 return shl_load ();
10498 ;
10499 return 0;
10500 }
10501 _ACEOF
10502 if ac_fn_c_try_link "$LINENO"; then :
10503 ac_cv_lib_dld_shl_load=yes
10504 else
10505 ac_cv_lib_dld_shl_load=no
10506 fi
10507 rm -f core conftest.err conftest.$ac_objext \
10508 conftest$ac_exeext conftest.$ac_ext
10509 LIBS=$ac_check_lib_save_LIBS
10510 fi
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10512 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10513 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10514 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10515 else
10516 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10517 if test "x$ac_cv_func_dlopen" = x""yes; then :
10518 lt_cv_dlopen="dlopen"
10519 else
10520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10521 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10522 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10523 $as_echo_n "(cached) " >&6
10524 else
10525 ac_check_lib_save_LIBS=$LIBS
10526 LIBS="-ldl $LIBS"
10527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10528 /* end confdefs.h. */
10529
10530 /* Override any GCC internal prototype to avoid an error.
10531 Use char because int might match the return type of a GCC
10532 builtin and then its argument prototype would still apply. */
10533 #ifdef __cplusplus
10534 extern "C"
10535 #endif
10536 char dlopen ();
10537 int
10538 main ()
10539 {
10540 return dlopen ();
10541 ;
10542 return 0;
10543 }
10544 _ACEOF
10545 if ac_fn_c_try_link "$LINENO"; then :
10546 ac_cv_lib_dl_dlopen=yes
10547 else
10548 ac_cv_lib_dl_dlopen=no
10549 fi
10550 rm -f core conftest.err conftest.$ac_objext \
10551 conftest$ac_exeext conftest.$ac_ext
10552 LIBS=$ac_check_lib_save_LIBS
10553 fi
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10555 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10556 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10557 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10558 else
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10560 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10561 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10562 $as_echo_n "(cached) " >&6
10563 else
10564 ac_check_lib_save_LIBS=$LIBS
10565 LIBS="-lsvld $LIBS"
10566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10567 /* end confdefs.h. */
10568
10569 /* Override any GCC internal prototype to avoid an error.
10570 Use char because int might match the return type of a GCC
10571 builtin and then its argument prototype would still apply. */
10572 #ifdef __cplusplus
10573 extern "C"
10574 #endif
10575 char dlopen ();
10576 int
10577 main ()
10578 {
10579 return dlopen ();
10580 ;
10581 return 0;
10582 }
10583 _ACEOF
10584 if ac_fn_c_try_link "$LINENO"; then :
10585 ac_cv_lib_svld_dlopen=yes
10586 else
10587 ac_cv_lib_svld_dlopen=no
10588 fi
10589 rm -f core conftest.err conftest.$ac_objext \
10590 conftest$ac_exeext conftest.$ac_ext
10591 LIBS=$ac_check_lib_save_LIBS
10592 fi
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10594 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10595 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10596 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10597 else
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10599 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10600 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10601 $as_echo_n "(cached) " >&6
10602 else
10603 ac_check_lib_save_LIBS=$LIBS
10604 LIBS="-ldld $LIBS"
10605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10606 /* end confdefs.h. */
10607
10608 /* Override any GCC internal prototype to avoid an error.
10609 Use char because int might match the return type of a GCC
10610 builtin and then its argument prototype would still apply. */
10611 #ifdef __cplusplus
10612 extern "C"
10613 #endif
10614 char dld_link ();
10615 int
10616 main ()
10617 {
10618 return dld_link ();
10619 ;
10620 return 0;
10621 }
10622 _ACEOF
10623 if ac_fn_c_try_link "$LINENO"; then :
10624 ac_cv_lib_dld_dld_link=yes
10625 else
10626 ac_cv_lib_dld_dld_link=no
10627 fi
10628 rm -f core conftest.err conftest.$ac_objext \
10629 conftest$ac_exeext conftest.$ac_ext
10630 LIBS=$ac_check_lib_save_LIBS
10631 fi
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10633 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10634 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10635 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10636 fi
10637
10638
10639 fi
10640
10641
10642 fi
10643
10644
10645 fi
10646
10647
10648 fi
10649
10650
10651 fi
10652
10653 ;;
10654 esac
10655
10656 if test "x$lt_cv_dlopen" != xno; then
10657 enable_dlopen=yes
10658 else
10659 enable_dlopen=no
10660 fi
10661
10662 case $lt_cv_dlopen in
10663 dlopen)
10664 save_CPPFLAGS="$CPPFLAGS"
10665 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10666
10667 save_LDFLAGS="$LDFLAGS"
10668 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10669
10670 save_LIBS="$LIBS"
10671 LIBS="$lt_cv_dlopen_libs $LIBS"
10672
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10674 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10675 if test "${lt_cv_dlopen_self+set}" = set; then :
10676 $as_echo_n "(cached) " >&6
10677 else
10678 if test "$cross_compiling" = yes; then :
10679 lt_cv_dlopen_self=cross
10680 else
10681 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10682 lt_status=$lt_dlunknown
10683 cat > conftest.$ac_ext <<_LT_EOF
10684 #line 10684 "configure"
10685 #include "confdefs.h"
10686
10687 #if HAVE_DLFCN_H
10688 #include <dlfcn.h>
10689 #endif
10690
10691 #include <stdio.h>
10692
10693 #ifdef RTLD_GLOBAL
10694 # define LT_DLGLOBAL RTLD_GLOBAL
10695 #else
10696 # ifdef DL_GLOBAL
10697 # define LT_DLGLOBAL DL_GLOBAL
10698 # else
10699 # define LT_DLGLOBAL 0
10700 # endif
10701 #endif
10702
10703 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10704 find out it does not work in some platform. */
10705 #ifndef LT_DLLAZY_OR_NOW
10706 # ifdef RTLD_LAZY
10707 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10708 # else
10709 # ifdef DL_LAZY
10710 # define LT_DLLAZY_OR_NOW DL_LAZY
10711 # else
10712 # ifdef RTLD_NOW
10713 # define LT_DLLAZY_OR_NOW RTLD_NOW
10714 # else
10715 # ifdef DL_NOW
10716 # define LT_DLLAZY_OR_NOW DL_NOW
10717 # else
10718 # define LT_DLLAZY_OR_NOW 0
10719 # endif
10720 # endif
10721 # endif
10722 # endif
10723 #endif
10724
10725 void fnord() { int i=42;}
10726 int main ()
10727 {
10728 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10729 int status = $lt_dlunknown;
10730
10731 if (self)
10732 {
10733 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10734 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10735 /* dlclose (self); */
10736 }
10737 else
10738 puts (dlerror ());
10739
10740 return status;
10741 }
10742 _LT_EOF
10743 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10744 (eval $ac_link) 2>&5
10745 ac_status=$?
10746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10747 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10748 (./conftest; exit; ) >&5 2>/dev/null
10749 lt_status=$?
10750 case x$lt_status in
10751 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10752 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10753 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10754 esac
10755 else :
10756 # compilation failed
10757 lt_cv_dlopen_self=no
10758 fi
10759 fi
10760 rm -fr conftest*
10761
10762
10763 fi
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10765 $as_echo "$lt_cv_dlopen_self" >&6; }
10766
10767 if test "x$lt_cv_dlopen_self" = xyes; then
10768 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10770 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10771 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10772 $as_echo_n "(cached) " >&6
10773 else
10774 if test "$cross_compiling" = yes; then :
10775 lt_cv_dlopen_self_static=cross
10776 else
10777 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10778 lt_status=$lt_dlunknown
10779 cat > conftest.$ac_ext <<_LT_EOF
10780 #line 10780 "configure"
10781 #include "confdefs.h"
10782
10783 #if HAVE_DLFCN_H
10784 #include <dlfcn.h>
10785 #endif
10786
10787 #include <stdio.h>
10788
10789 #ifdef RTLD_GLOBAL
10790 # define LT_DLGLOBAL RTLD_GLOBAL
10791 #else
10792 # ifdef DL_GLOBAL
10793 # define LT_DLGLOBAL DL_GLOBAL
10794 # else
10795 # define LT_DLGLOBAL 0
10796 # endif
10797 #endif
10798
10799 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10800 find out it does not work in some platform. */
10801 #ifndef LT_DLLAZY_OR_NOW
10802 # ifdef RTLD_LAZY
10803 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10804 # else
10805 # ifdef DL_LAZY
10806 # define LT_DLLAZY_OR_NOW DL_LAZY
10807 # else
10808 # ifdef RTLD_NOW
10809 # define LT_DLLAZY_OR_NOW RTLD_NOW
10810 # else
10811 # ifdef DL_NOW
10812 # define LT_DLLAZY_OR_NOW DL_NOW
10813 # else
10814 # define LT_DLLAZY_OR_NOW 0
10815 # endif
10816 # endif
10817 # endif
10818 # endif
10819 #endif
10820
10821 void fnord() { int i=42;}
10822 int main ()
10823 {
10824 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10825 int status = $lt_dlunknown;
10826
10827 if (self)
10828 {
10829 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10830 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10831 /* dlclose (self); */
10832 }
10833 else
10834 puts (dlerror ());
10835
10836 return status;
10837 }
10838 _LT_EOF
10839 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10840 (eval $ac_link) 2>&5
10841 ac_status=$?
10842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10843 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10844 (./conftest; exit; ) >&5 2>/dev/null
10845 lt_status=$?
10846 case x$lt_status in
10847 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10848 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10849 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10850 esac
10851 else :
10852 # compilation failed
10853 lt_cv_dlopen_self_static=no
10854 fi
10855 fi
10856 rm -fr conftest*
10857
10858
10859 fi
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10861 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10862 fi
10863
10864 CPPFLAGS="$save_CPPFLAGS"
10865 LDFLAGS="$save_LDFLAGS"
10866 LIBS="$save_LIBS"
10867 ;;
10868 esac
10869
10870 case $lt_cv_dlopen_self in
10871 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10872 *) enable_dlopen_self=unknown ;;
10873 esac
10874
10875 case $lt_cv_dlopen_self_static in
10876 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10877 *) enable_dlopen_self_static=unknown ;;
10878 esac
10879 fi
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897 striplib=
10898 old_striplib=
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10900 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10901 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10902 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10903 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10905 $as_echo "yes" >&6; }
10906 else
10907 # FIXME - insert some real tests, host_os isn't really good enough
10908 case $host_os in
10909 darwin*)
10910 if test -n "$STRIP" ; then
10911 striplib="$STRIP -x"
10912 old_striplib="$STRIP -S"
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10914 $as_echo "yes" >&6; }
10915 else
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10917 $as_echo "no" >&6; }
10918 fi
10919 ;;
10920 *)
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10922 $as_echo "no" >&6; }
10923 ;;
10924 esac
10925 fi
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938 # Report which library types will actually be built
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10940 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10942 $as_echo "$can_build_shared" >&6; }
10943
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10945 $as_echo_n "checking whether to build shared libraries... " >&6; }
10946 test "$can_build_shared" = "no" && enable_shared=no
10947
10948 # On AIX, shared libraries and static libraries use the same namespace, and
10949 # are all built from PIC.
10950 case $host_os in
10951 aix3*)
10952 test "$enable_shared" = yes && enable_static=no
10953 if test -n "$RANLIB"; then
10954 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10955 postinstall_cmds='$RANLIB $lib'
10956 fi
10957 ;;
10958
10959 aix[4-9]*)
10960 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10961 test "$enable_shared" = yes && enable_static=no
10962 fi
10963 ;;
10964 esac
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10966 $as_echo "$enable_shared" >&6; }
10967
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10969 $as_echo_n "checking whether to build static libraries... " >&6; }
10970 # Make sure either enable_shared or enable_static is yes.
10971 test "$enable_shared" = yes || enable_static=yes
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10973 $as_echo "$enable_static" >&6; }
10974
10975
10976
10977
10978 fi
10979 ac_ext=c
10980 ac_cpp='$CPP $CPPFLAGS'
10981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10984
10985 CC="$lt_save_CC"
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999 ac_config_commands="$ac_config_commands libtool"
11000
11001
11002
11003
11004 # Only expand once:
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034 # Check whether --with-libcurl was given.
11035 if test "${with_libcurl+set}" = set; then :
11036 withval=$with_libcurl; _libcurl_with=$withval
11037 else
11038 _libcurl_with=yes
11039 fi
11040
11041
11042 if test "$_libcurl_with" != "no" ; then
11043
11044 for ac_prog in gawk mawk nawk awk
11045 do
11046 # Extract the first word of "$ac_prog", so it can be a program name with args.
11047 set dummy $ac_prog; ac_word=$2
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11049 $as_echo_n "checking for $ac_word... " >&6; }
11050 if test "${ac_cv_prog_AWK+set}" = set; then :
11051 $as_echo_n "(cached) " >&6
11052 else
11053 if test -n "$AWK"; then
11054 ac_cv_prog_AWK="$AWK" # Let the user override the test.
11055 else
11056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11057 for as_dir in $PATH
11058 do
11059 IFS=$as_save_IFS
11060 test -z "$as_dir" && as_dir=.
11061 for ac_exec_ext in '' $ac_executable_extensions; do
11062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11063 ac_cv_prog_AWK="$ac_prog"
11064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11065 break 2
11066 fi
11067 done
11068 done
11069 IFS=$as_save_IFS
11070
11071 fi
11072 fi
11073 AWK=$ac_cv_prog_AWK
11074 if test -n "$AWK"; then
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
11076 $as_echo "$AWK" >&6; }
11077 else
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11079 $as_echo "no" >&6; }
11080 fi
11081
11082
11083 test -n "$AWK" && break
11084 done
11085
11086
11087 _libcurl_version_parse="eval $AWK '{split(\$NF,A,\".\"); X=256*256*A[1]+256*A[2]+A[3]; print X;}'"
11088
11089 _libcurl_try_link=yes
11090
11091 if test -d "$_libcurl_with" ; then
11092 LIBCURL_CPPFLAGS="-I$withval/include"
11093 _libcurl_ldflags="-L$withval/lib"
11094 # Extract the first word of "curl-config", so it can be a program name with args.
11095 set dummy curl-config; ac_word=$2
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11097 $as_echo_n "checking for $ac_word... " >&6; }
11098 if test "${ac_cv_path__libcurl_config+set}" = set; then :
11099 $as_echo_n "(cached) " >&6
11100 else
11101 case $_libcurl_config in
11102 [\\/]* | ?:[\\/]*)
11103 ac_cv_path__libcurl_config="$_libcurl_config" # Let the user override the test with a path.
11104 ;;
11105 *)
11106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11107 for as_dir in "$withval/bin"
11108 do
11109 IFS=$as_save_IFS
11110 test -z "$as_dir" && as_dir=.
11111 for ac_exec_ext in '' $ac_executable_extensions; do
11112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11113 ac_cv_path__libcurl_config="$as_dir/$ac_word$ac_exec_ext"
11114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11115 break 2
11116 fi
11117 done
11118 done
11119 IFS=$as_save_IFS
11120
11121 test -z "$ac_cv_path__libcurl_config" && ac_cv_path__libcurl_config=""$withval/bin""
11122 ;;
11123 esac
11124 fi
11125 _libcurl_config=$ac_cv_path__libcurl_config
11126 if test -n "$_libcurl_config"; then
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_libcurl_config" >&5
11128 $as_echo "$_libcurl_config" >&6; }
11129 else
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11131 $as_echo "no" >&6; }
11132 fi
11133
11134
11135 else
11136 # Extract the first word of "curl-config", so it can be a program name with args.
11137 set dummy curl-config; ac_word=$2
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11139 $as_echo_n "checking for $ac_word... " >&6; }
11140 if test "${ac_cv_path__libcurl_config+set}" = set; then :
11141 $as_echo_n "(cached) " >&6
11142 else
11143 case $_libcurl_config in
11144 [\\/]* | ?:[\\/]*)
11145 ac_cv_path__libcurl_config="$_libcurl_config" # Let the user override the test with a path.
11146 ;;
11147 *)
11148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11149 for as_dir in $PATH
11150 do
11151 IFS=$as_save_IFS
11152 test -z "$as_dir" && as_dir=.
11153 for ac_exec_ext in '' $ac_executable_extensions; do
11154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11155 ac_cv_path__libcurl_config="$as_dir/$ac_word$ac_exec_ext"
11156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11157 break 2
11158 fi
11159 done
11160 done
11161 IFS=$as_save_IFS
11162
11163 ;;
11164 esac
11165 fi
11166 _libcurl_config=$ac_cv_path__libcurl_config
11167 if test -n "$_libcurl_config"; then
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_libcurl_config" >&5
11169 $as_echo "$_libcurl_config" >&6; }
11170 else
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11172 $as_echo "no" >&6; }
11173 fi
11174
11175
11176 fi
11177
11178 if test x$_libcurl_config != "x" ; then
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the version of libcurl" >&5
11180 $as_echo_n "checking for the version of libcurl... " >&6; }
11181 if test "${libcurl_cv_lib_curl_version+set}" = set; then :
11182 $as_echo_n "(cached) " >&6
11183 else
11184 libcurl_cv_lib_curl_version=`$_libcurl_config --version | $AWK '{print $2}'`
11185 fi
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libcurl_cv_lib_curl_version" >&5
11187 $as_echo "$libcurl_cv_lib_curl_version" >&6; }
11188
11189 _libcurl_version=`echo $libcurl_cv_lib_curl_version | $_libcurl_version_parse`
11190 _libcurl_wanted=`echo 0 | $_libcurl_version_parse`
11191
11192 if test $_libcurl_wanted -gt 0 ; then
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl >= version " >&5
11194 $as_echo_n "checking for libcurl >= version ... " >&6; }
11195 if test "${libcurl_cv_lib_version_ok+set}" = set; then :
11196 $as_echo_n "(cached) " >&6
11197 else
11198
11199 if test $_libcurl_version -ge $_libcurl_wanted ; then
11200 libcurl_cv_lib_version_ok=yes
11201 else
11202 libcurl_cv_lib_version_ok=no
11203 fi
11204
11205 fi
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libcurl_cv_lib_version_ok" >&5
11207 $as_echo "$libcurl_cv_lib_version_ok" >&6; }
11208 fi
11209
11210 if test $_libcurl_wanted -eq 0 || test x$libcurl_cv_lib_version_ok = xyes ; then
11211 if test x"$LIBCURL_CPPFLAGS" = "x" ; then
11212 LIBCURL_CPPFLAGS=`$_libcurl_config --cflags`
11213 fi
11214 if test x"$LIBCURL" = "x" ; then
11215 LIBCURL=`$_libcurl_config --libs`
11216
11217 # This is so silly, but Apple actually has a bug in their
11218 # curl-config script. Fixed in Tiger, but there are still
11219 # lots of Panther installs around.
11220 case "${host}" in
11221 powerpc-apple-darwin7*)
11222 LIBCURL=`echo $LIBCURL | sed -e 's|-arch i386||g'`
11223 ;;
11224 esac
11225 fi
11226
11227 # All curl-config scripts support --feature
11228 _libcurl_features=`$_libcurl_config --feature`
11229
11230 # Is it modern enough to have --protocols? (7.12.4)
11231 if test $_libcurl_version -ge 461828 ; then
11232 _libcurl_protocols=`$_libcurl_config --protocols`
11233 fi
11234 else
11235 _libcurl_try_link=no
11236 fi
11237
11238 unset _libcurl_wanted
11239 fi
11240
11241 if test $_libcurl_try_link = yes ; then
11242
11243 # we didn't find curl-config, so let's see if the user-supplied
11244 # link line (or failing that, "-lcurl") is enough.
11245 LIBCURL=${LIBCURL-"$_libcurl_ldflags -lcurl"}
11246
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcurl is usable" >&5
11248 $as_echo_n "checking whether libcurl is usable... " >&6; }
11249 if test "${libcurl_cv_lib_curl_usable+set}" = set; then :
11250 $as_echo_n "(cached) " >&6
11251 else
11252
11253 _libcurl_save_cppflags=$CPPFLAGS
11254 CPPFLAGS="$LIBCURL_CPPFLAGS $CPPFLAGS"
11255 _libcurl_save_libs=$LIBS
11256 LIBS="$LIBCURL $LIBS"
11257
11258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11259 /* end confdefs.h. */
11260 #include <curl/curl.h>
11261 int
11262 main ()
11263 {
11264
11265 /* Try and use a few common options to force a failure if we are
11266 missing symbols or can't link. */
11267 int x;
11268 curl_easy_setopt(NULL,CURLOPT_URL,NULL);
11269 x=CURL_ERROR_SIZE;
11270 x=CURLOPT_WRITEFUNCTION;
11271 x=CURLOPT_FILE;
11272 x=CURLOPT_ERRORBUFFER;
11273 x=CURLOPT_STDERR;
11274 x=CURLOPT_VERBOSE;
11275
11276 ;
11277 return 0;
11278 }
11279 _ACEOF
11280 if ac_fn_c_try_link "$LINENO"; then :
11281 libcurl_cv_lib_curl_usable=yes
11282 else
11283 libcurl_cv_lib_curl_usable=no
11284 fi
11285 rm -f core conftest.err conftest.$ac_objext \
11286 conftest$ac_exeext conftest.$ac_ext
11287
11288 CPPFLAGS=$_libcurl_save_cppflags
11289 LIBS=$_libcurl_save_libs
11290 unset _libcurl_save_cppflags
11291 unset _libcurl_save_libs
11292
11293 fi
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libcurl_cv_lib_curl_usable" >&5
11295 $as_echo "$libcurl_cv_lib_curl_usable" >&6; }
11296
11297 if test $libcurl_cv_lib_curl_usable = yes ; then
11298
11299 # Does curl_free() exist in this version of libcurl?
11300 # If not, fake it with free()
11301
11302 _libcurl_save_cppflags=$CPPFLAGS
11303 CPPFLAGS="$CPPFLAGS $LIBCURL_CPPFLAGS"
11304 _libcurl_save_libs=$LIBS
11305 LIBS="$LIBS $LIBCURL"
11306
11307 ac_fn_c_check_func "$LINENO" "curl_free" "ac_cv_func_curl_free"
11308 if test "x$ac_cv_func_curl_free" = x""yes; then :
11309
11310 else
11311
11312 $as_echo "#define curl_free free" >>confdefs.h
11313
11314 fi
11315
11316
11317 CPPFLAGS=$_libcurl_save_cppflags
11318 LIBS=$_libcurl_save_libs
11319 unset _libcurl_save_cppflags
11320 unset _libcurl_save_libs
11321
11322
11323 $as_echo "#define HAVE_LIBCURL 1" >>confdefs.h
11324
11325
11326
11327
11328 for _libcurl_feature in $_libcurl_features ; do
11329 cat >>confdefs.h <<_ACEOF
11330 #define `$as_echo "libcurl_feature_$_libcurl_feature" | $as_tr_cpp` 1
11331 _ACEOF
11332
11333 eval `$as_echo "libcurl_feature_$_libcurl_feature" | $as_tr_sh`=yes
11334 done
11335
11336 if test "x$_libcurl_protocols" = "x" ; then
11337
11338 # We don't have --protocols, so just assume that all
11339 # protocols are available
11340 _libcurl_protocols="HTTP FTP FILE TELNET LDAP DICT TFTP"
11341
11342 if test x$libcurl_feature_SSL = xyes ; then
11343 _libcurl_protocols="$_libcurl_protocols HTTPS"
11344
11345 # FTPS wasn't standards-compliant until version
11346 # 7.11.0 (0x070b00 == 461568)
11347 if test $_libcurl_version -ge 461568; then
11348 _libcurl_protocols="$_libcurl_protocols FTPS"
11349 fi
11350 fi
11351
11352 # RTSP, IMAP, POP3 and SMTP were added in
11353 # 7.20.0 (0x071400 == 463872)
11354 if test $_libcurl_version -ge 463872; then
11355 _libcurl_protocols="$_libcurl_protocols RTSP IMAP POP3 SMTP"
11356 fi
11357 fi
11358
11359 for _libcurl_protocol in $_libcurl_protocols ; do
11360 cat >>confdefs.h <<_ACEOF
11361 #define `$as_echo "libcurl_protocol_$_libcurl_protocol" | $as_tr_cpp` 1
11362 _ACEOF
11363
11364 eval `$as_echo "libcurl_protocol_$_libcurl_protocol" | $as_tr_sh`=yes
11365 done
11366 else
11367 unset LIBCURL
11368 unset LIBCURL_CPPFLAGS
11369 fi
11370 fi
11371
11372 unset _libcurl_try_link
11373 unset _libcurl_version_parse
11374 unset _libcurl_config
11375 unset _libcurl_feature
11376 unset _libcurl_features
11377 unset _libcurl_protocol
11378 unset _libcurl_protocols
11379 unset _libcurl_version
11380 unset _libcurl_ldflags
11381 fi
11382
11383 if test x$_libcurl_with = xno || test x$libcurl_cv_lib_curl_usable != xyes ; then
11384 # This is the IF-NO path
11385 echo "You must install libcurl development files."; exit 1
11386 else
11387 # This is the IF-YES path
11388 echo >/dev/null
11389 fi
11390
11391 unset _libcurl_with
11392
11393
11394 if test $prefix = "NONE"; then
11395 prefix=/usr/local
11396 fi
11397
11398 if test -z $LIB; then
11399 LIB=$prefix/lib/urweb
11400 fi
11401
11402 if test -z $INCLUDE; then
11403 INCLUDE=$prefix/include/urweb
11404 fi
11405
11406
11407
11408
11409 ac_config_files="$ac_config_files Makefile src/c/Makefile src/ur/config.urp"
11410
11411
11412 cat >confcache <<\_ACEOF
11413 # This file is a shell script that caches the results of configure
11414 # tests run on this system so they can be shared between configure
11415 # scripts and configure runs, see configure's option --config-cache.
11416 # It is not useful on other systems. If it contains results you don't
11417 # want to keep, you may remove or edit it.
11418 #
11419 # config.status only pays attention to the cache file if you give it
11420 # the --recheck option to rerun configure.
11421 #
11422 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11423 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11424 # following values.
11425
11426 _ACEOF
11427
11428 # The following way of writing the cache mishandles newlines in values,
11429 # but we know of no workaround that is simple, portable, and efficient.
11430 # So, we kill variables containing newlines.
11431 # Ultrix sh set writes to stderr and can't be redirected directly,
11432 # and sets the high bit in the cache file unless we assign to the vars.
11433 (
11434 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11435 eval ac_val=\$$ac_var
11436 case $ac_val in #(
11437 *${as_nl}*)
11438 case $ac_var in #(
11439 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11440 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11441 esac
11442 case $ac_var in #(
11443 _ | IFS | as_nl) ;; #(
11444 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11445 *) { eval $ac_var=; unset $ac_var;} ;;
11446 esac ;;
11447 esac
11448 done
11449
11450 (set) 2>&1 |
11451 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11452 *${as_nl}ac_space=\ *)
11453 # `set' does not quote correctly, so add quotes: double-quote
11454 # substitution turns \\\\ into \\, and sed turns \\ into \.
11455 sed -n \
11456 "s/'/'\\\\''/g;
11457 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11458 ;; #(
11459 *)
11460 # `set' quotes correctly as required by POSIX, so do not add quotes.
11461 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11462 ;;
11463 esac |
11464 sort
11465 ) |
11466 sed '
11467 /^ac_cv_env_/b end
11468 t clear
11469 :clear
11470 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11471 t end
11472 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11473 :end' >>confcache
11474 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11475 if test -w "$cache_file"; then
11476 test "x$cache_file" != "x/dev/null" &&
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11478 $as_echo "$as_me: updating cache $cache_file" >&6;}
11479 cat confcache >$cache_file
11480 else
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11482 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11483 fi
11484 fi
11485 rm -f confcache
11486
11487 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11488 # Let make expand exec_prefix.
11489 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11490
11491 # Transform confdefs.h into DEFS.
11492 # Protect against shell expansion while executing Makefile rules.
11493 # Protect against Makefile macro expansion.
11494 #
11495 # If the first sed substitution is executed (which looks for macros that
11496 # take arguments), then branch to the quote section. Otherwise,
11497 # look for a macro that doesn't take arguments.
11498 ac_script='
11499 :mline
11500 /\\$/{
11501 N
11502 s,\\\n,,
11503 b mline
11504 }
11505 t clear
11506 :clear
11507 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
11508 t quote
11509 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
11510 t quote
11511 b any
11512 :quote
11513 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
11514 s/\[/\\&/g
11515 s/\]/\\&/g
11516 s/\$/$$/g
11517 H
11518 :any
11519 ${
11520 g
11521 s/^\n//
11522 s/\n/ /g
11523 p
11524 }
11525 '
11526 DEFS=`sed -n "$ac_script" confdefs.h`
11527
11528
11529 ac_libobjs=
11530 ac_ltlibobjs=
11531 U=
11532 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11533 # 1. Remove the extension, and $U if already installed.
11534 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11535 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11536 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11537 # will be set to the directory where LIBOBJS objects are built.
11538 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11539 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11540 done
11541 LIBOBJS=$ac_libobjs
11542
11543 LTLIBOBJS=$ac_ltlibobjs
11544
11545
11546 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11547 as_fn_error $? "conditional \"AMDEP\" was never defined.
11548 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11549 fi
11550 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11551 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
11552 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11553 fi
11554 if test -n "$EXEEXT"; then
11555 am__EXEEXT_TRUE=
11556 am__EXEEXT_FALSE='#'
11557 else
11558 am__EXEEXT_TRUE='#'
11559 am__EXEEXT_FALSE=
11560 fi
11561
11562
11563 : ${CONFIG_STATUS=./config.status}
11564 ac_write_fail=0
11565 ac_clean_files_save=$ac_clean_files
11566 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11568 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11569 as_write_fail=0
11570 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11571 #! $SHELL
11572 # Generated by $as_me.
11573 # Run this file to recreate the current configuration.
11574 # Compiler output produced by configure, useful for debugging
11575 # configure, is in config.log if it exists.
11576
11577 debug=false
11578 ac_cs_recheck=false
11579 ac_cs_silent=false
11580
11581 SHELL=\${CONFIG_SHELL-$SHELL}
11582 export SHELL
11583 _ASEOF
11584 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
11585 ## -------------------- ##
11586 ## M4sh Initialization. ##
11587 ## -------------------- ##
11588
11589 # Be more Bourne compatible
11590 DUALCASE=1; export DUALCASE # for MKS sh
11591 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11592 emulate sh
11593 NULLCMD=:
11594 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11595 # is contrary to our usage. Disable this feature.
11596 alias -g '${1+"$@"}'='"$@"'
11597 setopt NO_GLOB_SUBST
11598 else
11599 case `(set -o) 2>/dev/null` in #(
11600 *posix*) :
11601 set -o posix ;; #(
11602 *) :
11603 ;;
11604 esac
11605 fi
11606
11607
11608 as_nl='
11609 '
11610 export as_nl
11611 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11612 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11613 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11614 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11615 # Prefer a ksh shell builtin over an external printf program on Solaris,
11616 # but without wasting forks for bash or zsh.
11617 if test -z "$BASH_VERSION$ZSH_VERSION" \
11618 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11619 as_echo='print -r --'
11620 as_echo_n='print -rn --'
11621 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11622 as_echo='printf %s\n'
11623 as_echo_n='printf %s'
11624 else
11625 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11626 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11627 as_echo_n='/usr/ucb/echo -n'
11628 else
11629 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11630 as_echo_n_body='eval
11631 arg=$1;
11632 case $arg in #(
11633 *"$as_nl"*)
11634 expr "X$arg" : "X\\(.*\\)$as_nl";
11635 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11636 esac;
11637 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11638 '
11639 export as_echo_n_body
11640 as_echo_n='sh -c $as_echo_n_body as_echo'
11641 fi
11642 export as_echo_body
11643 as_echo='sh -c $as_echo_body as_echo'
11644 fi
11645
11646 # The user is always right.
11647 if test "${PATH_SEPARATOR+set}" != set; then
11648 PATH_SEPARATOR=:
11649 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11650 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11651 PATH_SEPARATOR=';'
11652 }
11653 fi
11654
11655
11656 # IFS
11657 # We need space, tab and new line, in precisely that order. Quoting is
11658 # there to prevent editors from complaining about space-tab.
11659 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11660 # splitting by setting IFS to empty value.)
11661 IFS=" "" $as_nl"
11662
11663 # Find who we are. Look in the path if we contain no directory separator.
11664 case $0 in #((
11665 *[\\/]* ) as_myself=$0 ;;
11666 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11667 for as_dir in $PATH
11668 do
11669 IFS=$as_save_IFS
11670 test -z "$as_dir" && as_dir=.
11671 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11672 done
11673 IFS=$as_save_IFS
11674
11675 ;;
11676 esac
11677 # We did not find ourselves, most probably we were run as `sh COMMAND'
11678 # in which case we are not to be found in the path.
11679 if test "x$as_myself" = x; then
11680 as_myself=$0
11681 fi
11682 if test ! -f "$as_myself"; then
11683 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11684 exit 1
11685 fi
11686
11687 # Unset variables that we do not need and which cause bugs (e.g. in
11688 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11689 # suppresses any "Segmentation fault" message there. '((' could
11690 # trigger a bug in pdksh 5.2.14.
11691 for as_var in BASH_ENV ENV MAIL MAILPATH
11692 do eval test x\${$as_var+set} = xset \
11693 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11694 done
11695 PS1='$ '
11696 PS2='> '
11697 PS4='+ '
11698
11699 # NLS nuisances.
11700 LC_ALL=C
11701 export LC_ALL
11702 LANGUAGE=C
11703 export LANGUAGE
11704
11705 # CDPATH.
11706 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11707
11708
11709 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11710 # ----------------------------------------
11711 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11712 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11713 # script with STATUS, using 1 if that was 0.
11714 as_fn_error ()
11715 {
11716 as_status=$1; test $as_status -eq 0 && as_status=1
11717 if test "$4"; then
11718 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11719 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11720 fi
11721 $as_echo "$as_me: error: $2" >&2
11722 as_fn_exit $as_status
11723 } # as_fn_error
11724
11725
11726 # as_fn_set_status STATUS
11727 # -----------------------
11728 # Set $? to STATUS, without forking.
11729 as_fn_set_status ()
11730 {
11731 return $1
11732 } # as_fn_set_status
11733
11734 # as_fn_exit STATUS
11735 # -----------------
11736 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11737 as_fn_exit ()
11738 {
11739 set +e
11740 as_fn_set_status $1
11741 exit $1
11742 } # as_fn_exit
11743
11744 # as_fn_unset VAR
11745 # ---------------
11746 # Portably unset VAR.
11747 as_fn_unset ()
11748 {
11749 { eval $1=; unset $1;}
11750 }
11751 as_unset=as_fn_unset
11752 # as_fn_append VAR VALUE
11753 # ----------------------
11754 # Append the text in VALUE to the end of the definition contained in VAR. Take
11755 # advantage of any shell optimizations that allow amortized linear growth over
11756 # repeated appends, instead of the typical quadratic growth present in naive
11757 # implementations.
11758 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11759 eval 'as_fn_append ()
11760 {
11761 eval $1+=\$2
11762 }'
11763 else
11764 as_fn_append ()
11765 {
11766 eval $1=\$$1\$2
11767 }
11768 fi # as_fn_append
11769
11770 # as_fn_arith ARG...
11771 # ------------------
11772 # Perform arithmetic evaluation on the ARGs, and store the result in the
11773 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11774 # must be portable across $(()) and expr.
11775 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
11776 eval 'as_fn_arith ()
11777 {
11778 as_val=$(( $* ))
11779 }'
11780 else
11781 as_fn_arith ()
11782 {
11783 as_val=`expr "$@" || test $? -eq 1`
11784 }
11785 fi # as_fn_arith
11786
11787
11788 if expr a : '\(a\)' >/dev/null 2>&1 &&
11789 test "X`expr 00001 : '.*\(...\)'`" = X001; then
11790 as_expr=expr
11791 else
11792 as_expr=false
11793 fi
11794
11795 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11796 as_basename=basename
11797 else
11798 as_basename=false
11799 fi
11800
11801 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11802 as_dirname=dirname
11803 else
11804 as_dirname=false
11805 fi
11806
11807 as_me=`$as_basename -- "$0" ||
11808 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11809 X"$0" : 'X\(//\)$' \| \
11810 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11811 $as_echo X/"$0" |
11812 sed '/^.*\/\([^/][^/]*\)\/*$/{
11813 s//\1/
11814 q
11815 }
11816 /^X\/\(\/\/\)$/{
11817 s//\1/
11818 q
11819 }
11820 /^X\/\(\/\).*/{
11821 s//\1/
11822 q
11823 }
11824 s/.*/./; q'`
11825
11826 # Avoid depending upon Character Ranges.
11827 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11828 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11829 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11830 as_cr_digits='0123456789'
11831 as_cr_alnum=$as_cr_Letters$as_cr_digits
11832
11833 ECHO_C= ECHO_N= ECHO_T=
11834 case `echo -n x` in #(((((
11835 -n*)
11836 case `echo 'xy\c'` in
11837 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
11838 xy) ECHO_C='\c';;
11839 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
11840 ECHO_T=' ';;
11841 esac;;
11842 *)
11843 ECHO_N='-n';;
11844 esac
11845
11846 rm -f conf$$ conf$$.exe conf$$.file
11847 if test -d conf$$.dir; then
11848 rm -f conf$$.dir/conf$$.file
11849 else
11850 rm -f conf$$.dir
11851 mkdir conf$$.dir 2>/dev/null
11852 fi
11853 if (echo >conf$$.file) 2>/dev/null; then
11854 if ln -s conf$$.file conf$$ 2>/dev/null; then
11855 as_ln_s='ln -s'
11856 # ... but there are two gotchas:
11857 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11858 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11859 # In both cases, we have to default to `cp -p'.
11860 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11861 as_ln_s='cp -p'
11862 elif ln conf$$.file conf$$ 2>/dev/null; then
11863 as_ln_s=ln
11864 else
11865 as_ln_s='cp -p'
11866 fi
11867 else
11868 as_ln_s='cp -p'
11869 fi
11870 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11871 rmdir conf$$.dir 2>/dev/null
11872
11873
11874 # as_fn_mkdir_p
11875 # -------------
11876 # Create "$as_dir" as a directory, including parents if necessary.
11877 as_fn_mkdir_p ()
11878 {
11879
11880 case $as_dir in #(
11881 -*) as_dir=./$as_dir;;
11882 esac
11883 test -d "$as_dir" || eval $as_mkdir_p || {
11884 as_dirs=
11885 while :; do
11886 case $as_dir in #(
11887 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11888 *) as_qdir=$as_dir;;
11889 esac
11890 as_dirs="'$as_qdir' $as_dirs"
11891 as_dir=`$as_dirname -- "$as_dir" ||
11892 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11893 X"$as_dir" : 'X\(//\)[^/]' \| \
11894 X"$as_dir" : 'X\(//\)$' \| \
11895 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11896 $as_echo X"$as_dir" |
11897 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11898 s//\1/
11899 q
11900 }
11901 /^X\(\/\/\)[^/].*/{
11902 s//\1/
11903 q
11904 }
11905 /^X\(\/\/\)$/{
11906 s//\1/
11907 q
11908 }
11909 /^X\(\/\).*/{
11910 s//\1/
11911 q
11912 }
11913 s/.*/./; q'`
11914 test -d "$as_dir" && break
11915 done
11916 test -z "$as_dirs" || eval "mkdir $as_dirs"
11917 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
11918
11919
11920 } # as_fn_mkdir_p
11921 if mkdir -p . 2>/dev/null; then
11922 as_mkdir_p='mkdir -p "$as_dir"'
11923 else
11924 test -d ./-p && rmdir ./-p
11925 as_mkdir_p=false
11926 fi
11927
11928 if test -x / >/dev/null 2>&1; then
11929 as_test_x='test -x'
11930 else
11931 if ls -dL / >/dev/null 2>&1; then
11932 as_ls_L_option=L
11933 else
11934 as_ls_L_option=
11935 fi
11936 as_test_x='
11937 eval sh -c '\''
11938 if test -d "$1"; then
11939 test -d "$1/.";
11940 else
11941 case $1 in #(
11942 -*)set "./$1";;
11943 esac;
11944 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11945 ???[sx]*):;;*)false;;esac;fi
11946 '\'' sh
11947 '
11948 fi
11949 as_executable_p=$as_test_x
11950
11951 # Sed expression to map a string onto a valid CPP name.
11952 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11953
11954 # Sed expression to map a string onto a valid variable name.
11955 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11956
11957
11958 exec 6>&1
11959 ## ----------------------------------- ##
11960 ## Main body of $CONFIG_STATUS script. ##
11961 ## ----------------------------------- ##
11962 _ASEOF
11963 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
11964
11965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11966 # Save the log message, to keep $0 and so on meaningful, and to
11967 # report actual input values of CONFIG_FILES etc. instead of their
11968 # values after options handling.
11969 ac_log="
11970 This file was extended by urweb_feed $as_me 1.0, which was
11971 generated by GNU Autoconf 2.67. Invocation command line was
11972
11973 CONFIG_FILES = $CONFIG_FILES
11974 CONFIG_HEADERS = $CONFIG_HEADERS
11975 CONFIG_LINKS = $CONFIG_LINKS
11976 CONFIG_COMMANDS = $CONFIG_COMMANDS
11977 $ $0 $@
11978
11979 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11980 "
11981
11982 _ACEOF
11983
11984 case $ac_config_files in *"
11985 "*) set x $ac_config_files; shift; ac_config_files=$*;;
11986 esac
11987
11988
11989
11990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11991 # Files that config.status was made for.
11992 config_files="$ac_config_files"
11993 config_commands="$ac_config_commands"
11994
11995 _ACEOF
11996
11997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11998 ac_cs_usage="\
11999 \`$as_me' instantiates files and other configuration actions
12000 from templates according to the current configuration. Unless the files
12001 and actions are specified as TAGs, all are instantiated by default.
12002
12003 Usage: $0 [OPTION]... [TAG]...
12004
12005 -h, --help print this help, then exit
12006 -V, --version print version number and configuration settings, then exit
12007 --config print configuration, then exit
12008 -q, --quiet, --silent
12009 do not print progress messages
12010 -d, --debug don't remove temporary files
12011 --recheck update $as_me by reconfiguring in the same conditions
12012 --file=FILE[:TEMPLATE]
12013 instantiate the configuration file FILE
12014
12015 Configuration files:
12016 $config_files
12017
12018 Configuration commands:
12019 $config_commands
12020
12021 Report bugs to the package provider."
12022
12023 _ACEOF
12024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12025 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12026 ac_cs_version="\\
12027 urweb_feed config.status 1.0
12028 configured by $0, generated by GNU Autoconf 2.67,
12029 with options \\"\$ac_cs_config\\"
12030
12031 Copyright (C) 2010 Free Software Foundation, Inc.
12032 This config.status script is free software; the Free Software Foundation
12033 gives unlimited permission to copy, distribute and modify it."
12034
12035 ac_pwd='$ac_pwd'
12036 srcdir='$srcdir'
12037 INSTALL='$INSTALL'
12038 MKDIR_P='$MKDIR_P'
12039 AWK='$AWK'
12040 test -n "\$AWK" || AWK=awk
12041 _ACEOF
12042
12043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12044 # The default lists apply if the user does not specify any file.
12045 ac_need_defaults=:
12046 while test $# != 0
12047 do
12048 case $1 in
12049 --*=?*)
12050 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12051 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12052 ac_shift=:
12053 ;;
12054 --*=)
12055 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12056 ac_optarg=
12057 ac_shift=:
12058 ;;
12059 *)
12060 ac_option=$1
12061 ac_optarg=$2
12062 ac_shift=shift
12063 ;;
12064 esac
12065
12066 case $ac_option in
12067 # Handling of the options.
12068 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12069 ac_cs_recheck=: ;;
12070 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12071 $as_echo "$ac_cs_version"; exit ;;
12072 --config | --confi | --conf | --con | --co | --c )
12073 $as_echo "$ac_cs_config"; exit ;;
12074 --debug | --debu | --deb | --de | --d | -d )
12075 debug=: ;;
12076 --file | --fil | --fi | --f )
12077 $ac_shift
12078 case $ac_optarg in
12079 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12080 '') as_fn_error $? "missing file argument" ;;
12081 esac
12082 as_fn_append CONFIG_FILES " '$ac_optarg'"
12083 ac_need_defaults=false;;
12084 --he | --h | --help | --hel | -h )
12085 $as_echo "$ac_cs_usage"; exit ;;
12086 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12087 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12088 ac_cs_silent=: ;;
12089
12090 # This is an error.
12091 -*) as_fn_error $? "unrecognized option: \`$1'
12092 Try \`$0 --help' for more information." ;;
12093
12094 *) as_fn_append ac_config_targets " $1"
12095 ac_need_defaults=false ;;
12096
12097 esac
12098 shift
12099 done
12100
12101 ac_configure_extra_args=
12102
12103 if $ac_cs_silent; then
12104 exec 6>/dev/null
12105 ac_configure_extra_args="$ac_configure_extra_args --silent"
12106 fi
12107
12108 _ACEOF
12109 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12110 if \$ac_cs_recheck; then
12111 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12112 shift
12113 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12114 CONFIG_SHELL='$SHELL'
12115 export CONFIG_SHELL
12116 exec "\$@"
12117 fi
12118
12119 _ACEOF
12120 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12121 exec 5>>config.log
12122 {
12123 echo
12124 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12125 ## Running $as_me. ##
12126 _ASBOX
12127 $as_echo "$ac_log"
12128 } >&5
12129
12130 _ACEOF
12131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12132 #
12133 # INIT-COMMANDS
12134 #
12135 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12136
12137
12138 # The HP-UX ksh and POSIX shell print the target directory to stdout
12139 # if CDPATH is set.
12140 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12141
12142 sed_quote_subst='$sed_quote_subst'
12143 double_quote_subst='$double_quote_subst'
12144 delay_variable_subst='$delay_variable_subst'
12145 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12146 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12147 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12148 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12149 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12150 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12151 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12152 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12153 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12154 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12155 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12156 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12157 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12158 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12159 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12160 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12161 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12162 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12163 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12164 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12165 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12166 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12167 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12168 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12169 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12170 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12171 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12172 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12173 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12174 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12175 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12176 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12177 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12178 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12179 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12180 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12181 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12182 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12183 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12184 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12185 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12186 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12187 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12188 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12189 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
12190 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12191 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12192 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12193 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12194 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12195 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12196 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12197 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12198 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12199 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12200 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12201 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12202 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12203 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12204 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12205 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12206 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12207 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12208 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12209 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12210 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12211 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12212 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12213 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12214 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12215 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12216 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12217 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12218 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12219 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12220 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12221 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12222 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12223 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12224 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12225 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12226 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12227 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12228 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12229 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12230 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12231 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12232 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12233 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12234 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12235 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12236 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12237 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12238 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12239 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12240 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12241 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12242 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12243 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12244 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12245 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12246 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12247 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12248 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12249 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12250 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12251 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12252 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12253 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12254 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12255 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12256 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12257 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12258 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12259 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12260 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12261 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12262 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
12263
12264 LTCC='$LTCC'
12265 LTCFLAGS='$LTCFLAGS'
12266 compiler='$compiler_DEFAULT'
12267
12268 # Quote evaled strings.
12269 for var in SED \
12270 GREP \
12271 EGREP \
12272 FGREP \
12273 LD \
12274 NM \
12275 LN_S \
12276 lt_SP2NL \
12277 lt_NL2SP \
12278 reload_flag \
12279 OBJDUMP \
12280 deplibs_check_method \
12281 file_magic_cmd \
12282 AR \
12283 AR_FLAGS \
12284 STRIP \
12285 RANLIB \
12286 CC \
12287 CFLAGS \
12288 compiler \
12289 lt_cv_sys_global_symbol_pipe \
12290 lt_cv_sys_global_symbol_to_cdecl \
12291 lt_cv_sys_global_symbol_to_c_name_address \
12292 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12293 SHELL \
12294 ECHO \
12295 lt_prog_compiler_no_builtin_flag \
12296 lt_prog_compiler_wl \
12297 lt_prog_compiler_pic \
12298 lt_prog_compiler_static \
12299 lt_cv_prog_compiler_c_o \
12300 need_locks \
12301 DSYMUTIL \
12302 NMEDIT \
12303 LIPO \
12304 OTOOL \
12305 OTOOL64 \
12306 shrext_cmds \
12307 export_dynamic_flag_spec \
12308 whole_archive_flag_spec \
12309 compiler_needs_object \
12310 with_gnu_ld \
12311 allow_undefined_flag \
12312 no_undefined_flag \
12313 hardcode_libdir_flag_spec \
12314 hardcode_libdir_flag_spec_ld \
12315 hardcode_libdir_separator \
12316 fix_srcfile_path \
12317 exclude_expsyms \
12318 include_expsyms \
12319 file_list_spec \
12320 variables_saved_for_relink \
12321 libname_spec \
12322 library_names_spec \
12323 soname_spec \
12324 finish_eval \
12325 old_striplib \
12326 striplib; do
12327 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12328 *[\\\\\\\`\\"\\\$]*)
12329 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12330 ;;
12331 *)
12332 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12333 ;;
12334 esac
12335 done
12336
12337 # Double-quote double-evaled strings.
12338 for var in reload_cmds \
12339 old_postinstall_cmds \
12340 old_postuninstall_cmds \
12341 old_archive_cmds \
12342 extract_expsyms_cmds \
12343 old_archive_from_new_cmds \
12344 old_archive_from_expsyms_cmds \
12345 archive_cmds \
12346 archive_expsym_cmds \
12347 module_cmds \
12348 module_expsym_cmds \
12349 export_symbols_cmds \
12350 prelink_cmds \
12351 postinstall_cmds \
12352 postuninstall_cmds \
12353 finish_cmds \
12354 sys_lib_search_path_spec \
12355 sys_lib_dlsearch_path_spec; do
12356 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12357 *[\\\\\\\`\\"\\\$]*)
12358 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12359 ;;
12360 *)
12361 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12362 ;;
12363 esac
12364 done
12365
12366 # Fix-up fallback echo if it was mangled by the above quoting rules.
12367 case \$lt_ECHO in
12368 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12369 ;;
12370 esac
12371
12372 ac_aux_dir='$ac_aux_dir'
12373 xsi_shell='$xsi_shell'
12374 lt_shell_append='$lt_shell_append'
12375
12376 # See if we are running on zsh, and set the options which allow our
12377 # commands through without removal of \ escapes INIT.
12378 if test -n "\${ZSH_VERSION+set}" ; then
12379 setopt NO_GLOB_SUBST
12380 fi
12381
12382
12383 PACKAGE='$PACKAGE'
12384 VERSION='$VERSION'
12385 TIMESTAMP='$TIMESTAMP'
12386 RM='$RM'
12387 ofile='$ofile'
12388
12389
12390
12391
12392 _ACEOF
12393
12394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12395
12396 # Handling of arguments.
12397 for ac_config_target in $ac_config_targets
12398 do
12399 case $ac_config_target in
12400 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12401 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12402 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12403 "src/c/Makefile") CONFIG_FILES="$CONFIG_FILES src/c/Makefile" ;;
12404 "src/ur/config.urp") CONFIG_FILES="$CONFIG_FILES src/ur/config.urp" ;;
12405
12406 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
12407 esac
12408 done
12409
12410
12411 # If the user did not use the arguments to specify the items to instantiate,
12412 # then the envvar interface is used. Set only those that are not.
12413 # We use the long form for the default assignment because of an extremely
12414 # bizarre bug on SunOS 4.1.3.
12415 if $ac_need_defaults; then
12416 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12417 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12418 fi
12419
12420 # Have a temporary directory for convenience. Make it in the build tree
12421 # simply because there is no reason against having it here, and in addition,
12422 # creating and moving files from /tmp can sometimes cause problems.
12423 # Hook for its removal unless debugging.
12424 # Note that there is a small window in which the directory will not be cleaned:
12425 # after its creation but before its name has been assigned to `$tmp'.
12426 $debug ||
12427 {
12428 tmp=
12429 trap 'exit_status=$?
12430 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12431 ' 0
12432 trap 'as_fn_exit 1' 1 2 13 15
12433 }
12434 # Create a (secure) tmp directory for tmp files.
12435
12436 {
12437 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12438 test -n "$tmp" && test -d "$tmp"
12439 } ||
12440 {
12441 tmp=./conf$$-$RANDOM
12442 (umask 077 && mkdir "$tmp")
12443 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
12444
12445 # Set up the scripts for CONFIG_FILES section.
12446 # No need to generate them if there are no CONFIG_FILES.
12447 # This happens for instance with `./config.status config.h'.
12448 if test -n "$CONFIG_FILES"; then
12449
12450
12451 ac_cr=`echo X | tr X '\015'`
12452 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12453 # But we know of no other shell where ac_cr would be empty at this
12454 # point, so we can use a bashism as a fallback.
12455 if test "x$ac_cr" = x; then
12456 eval ac_cr=\$\'\\r\'
12457 fi
12458 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12459 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12460 ac_cs_awk_cr='\\r'
12461 else
12462 ac_cs_awk_cr=$ac_cr
12463 fi
12464
12465 echo 'BEGIN {' >"$tmp/subs1.awk" &&
12466 _ACEOF
12467
12468
12469 {
12470 echo "cat >conf$$subs.awk <<_ACEOF" &&
12471 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12472 echo "_ACEOF"
12473 } >conf$$subs.sh ||
12474 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12475 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12476 ac_delim='%!_!# '
12477 for ac_last_try in false false false false false :; do
12478 . ./conf$$subs.sh ||
12479 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12480
12481 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12482 if test $ac_delim_n = $ac_delim_num; then
12483 break
12484 elif $ac_last_try; then
12485 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12486 else
12487 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12488 fi
12489 done
12490 rm -f conf$$subs.sh
12491
12492 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12493 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
12494 _ACEOF
12495 sed -n '
12496 h
12497 s/^/S["/; s/!.*/"]=/
12498 p
12499 g
12500 s/^[^!]*!//
12501 :repl
12502 t repl
12503 s/'"$ac_delim"'$//
12504 t delim
12505 :nl
12506 h
12507 s/\(.\{148\}\)..*/\1/
12508 t more1
12509 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12510 p
12511 n
12512 b repl
12513 :more1
12514 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12515 p
12516 g
12517 s/.\{148\}//
12518 t nl
12519 :delim
12520 h
12521 s/\(.\{148\}\)..*/\1/
12522 t more2
12523 s/["\\]/\\&/g; s/^/"/; s/$/"/
12524 p
12525 b
12526 :more2
12527 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12528 p
12529 g
12530 s/.\{148\}//
12531 t delim
12532 ' <conf$$subs.awk | sed '
12533 /^[^""]/{
12534 N
12535 s/\n//
12536 }
12537 ' >>$CONFIG_STATUS || ac_write_fail=1
12538 rm -f conf$$subs.awk
12539 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12540 _ACAWK
12541 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
12542 for (key in S) S_is_set[key] = 1
12543 FS = ""
12544
12545 }
12546 {
12547 line = $ 0
12548 nfields = split(line, field, "@")
12549 substed = 0
12550 len = length(field[1])
12551 for (i = 2; i < nfields; i++) {
12552 key = field[i]
12553 keylen = length(key)
12554 if (S_is_set[key]) {
12555 value = S[key]
12556 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12557 len += length(value) + length(field[++i])
12558 substed = 1
12559 } else
12560 len += 1 + keylen
12561 }
12562
12563 print line
12564 }
12565
12566 _ACAWK
12567 _ACEOF
12568 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12569 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12570 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12571 else
12572 cat
12573 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
12574 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
12575 _ACEOF
12576
12577 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12578 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
12579 # trailing colons and then remove the whole line if VPATH becomes empty
12580 # (actually we leave an empty line to preserve line numbers).
12581 if test "x$srcdir" = x.; then
12582 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12583 h
12584 s///
12585 s/^/:/
12586 s/[ ]*$/:/
12587 s/:\$(srcdir):/:/g
12588 s/:\${srcdir}:/:/g
12589 s/:@srcdir@:/:/g
12590 s/^:*//
12591 s/:*$//
12592 x
12593 s/\(=[ ]*\).*/\1/
12594 G
12595 s/\n//
12596 s/^[^=]*=[ ]*$//
12597 }'
12598 fi
12599
12600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12601 fi # test -n "$CONFIG_FILES"
12602
12603
12604 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
12605 shift
12606 for ac_tag
12607 do
12608 case $ac_tag in
12609 :[FHLC]) ac_mode=$ac_tag; continue;;
12610 esac
12611 case $ac_mode$ac_tag in
12612 :[FHL]*:*);;
12613 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
12614 :[FH]-) ac_tag=-:-;;
12615 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12616 esac
12617 ac_save_IFS=$IFS
12618 IFS=:
12619 set x $ac_tag
12620 IFS=$ac_save_IFS
12621 shift
12622 ac_file=$1
12623 shift
12624
12625 case $ac_mode in
12626 :L) ac_source=$1;;
12627 :[FH])
12628 ac_file_inputs=
12629 for ac_f
12630 do
12631 case $ac_f in
12632 -) ac_f="$tmp/stdin";;
12633 *) # Look for the file first in the build tree, then in the source tree
12634 # (if the path is not absolute). The absolute path cannot be DOS-style,
12635 # because $ac_f cannot contain `:'.
12636 test -f "$ac_f" ||
12637 case $ac_f in
12638 [\\/$]*) false;;
12639 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12640 esac ||
12641 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
12642 esac
12643 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12644 as_fn_append ac_file_inputs " '$ac_f'"
12645 done
12646
12647 # Let's still pretend it is `configure' which instantiates (i.e., don't
12648 # use $as_me), people would be surprised to read:
12649 # /* config.h. Generated by config.status. */
12650 configure_input='Generated from '`
12651 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12652 `' by configure.'
12653 if test x"$ac_file" != x-; then
12654 configure_input="$ac_file. $configure_input"
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12656 $as_echo "$as_me: creating $ac_file" >&6;}
12657 fi
12658 # Neutralize special characters interpreted by sed in replacement strings.
12659 case $configure_input in #(
12660 *\&* | *\|* | *\\* )
12661 ac_sed_conf_input=`$as_echo "$configure_input" |
12662 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12663 *) ac_sed_conf_input=$configure_input;;
12664 esac
12665
12666 case $ac_tag in
12667 *:-:* | *:-) cat >"$tmp/stdin" \
12668 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
12669 esac
12670 ;;
12671 esac
12672
12673 ac_dir=`$as_dirname -- "$ac_file" ||
12674 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12675 X"$ac_file" : 'X\(//\)[^/]' \| \
12676 X"$ac_file" : 'X\(//\)$' \| \
12677 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12678 $as_echo X"$ac_file" |
12679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12680 s//\1/
12681 q
12682 }
12683 /^X\(\/\/\)[^/].*/{
12684 s//\1/
12685 q
12686 }
12687 /^X\(\/\/\)$/{
12688 s//\1/
12689 q
12690 }
12691 /^X\(\/\).*/{
12692 s//\1/
12693 q
12694 }
12695 s/.*/./; q'`
12696 as_dir="$ac_dir"; as_fn_mkdir_p
12697 ac_builddir=.
12698
12699 case "$ac_dir" in
12700 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12701 *)
12702 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12703 # A ".." for each directory in $ac_dir_suffix.
12704 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12705 case $ac_top_builddir_sub in
12706 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12707 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12708 esac ;;
12709 esac
12710 ac_abs_top_builddir=$ac_pwd
12711 ac_abs_builddir=$ac_pwd$ac_dir_suffix
12712 # for backward compatibility:
12713 ac_top_builddir=$ac_top_build_prefix
12714
12715 case $srcdir in
12716 .) # We are building in place.
12717 ac_srcdir=.
12718 ac_top_srcdir=$ac_top_builddir_sub
12719 ac_abs_top_srcdir=$ac_pwd ;;
12720 [\\/]* | ?:[\\/]* ) # Absolute name.
12721 ac_srcdir=$srcdir$ac_dir_suffix;
12722 ac_top_srcdir=$srcdir
12723 ac_abs_top_srcdir=$srcdir ;;
12724 *) # Relative name.
12725 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12726 ac_top_srcdir=$ac_top_build_prefix$srcdir
12727 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12728 esac
12729 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12730
12731
12732 case $ac_mode in
12733 :F)
12734 #
12735 # CONFIG_FILE
12736 #
12737
12738 case $INSTALL in
12739 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12740 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12741 esac
12742 ac_MKDIR_P=$MKDIR_P
12743 case $MKDIR_P in
12744 [\\/$]* | ?:[\\/]* ) ;;
12745 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12746 esac
12747 _ACEOF
12748
12749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12750 # If the template does not know about datarootdir, expand it.
12751 # FIXME: This hack should be removed a few years after 2.60.
12752 ac_datarootdir_hack=; ac_datarootdir_seen=
12753 ac_sed_dataroot='
12754 /datarootdir/ {
12755 p
12756 q
12757 }
12758 /@datadir@/p
12759 /@docdir@/p
12760 /@infodir@/p
12761 /@localedir@/p
12762 /@mandir@/p'
12763 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12764 *datarootdir*) ac_datarootdir_seen=yes;;
12765 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12767 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12768 _ACEOF
12769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12770 ac_datarootdir_hack='
12771 s&@datadir@&$datadir&g
12772 s&@docdir@&$docdir&g
12773 s&@infodir@&$infodir&g
12774 s&@localedir@&$localedir&g
12775 s&@mandir@&$mandir&g
12776 s&\\\${datarootdir}&$datarootdir&g' ;;
12777 esac
12778 _ACEOF
12779
12780 # Neutralize VPATH when `$srcdir' = `.'.
12781 # Shell code in configure.ac might set extrasub.
12782 # FIXME: do we really want to maintain this feature?
12783 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12784 ac_sed_extra="$ac_vpsub
12785 $extrasub
12786 _ACEOF
12787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12788 :t
12789 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12790 s|@configure_input@|$ac_sed_conf_input|;t t
12791 s&@top_builddir@&$ac_top_builddir_sub&;t t
12792 s&@top_build_prefix@&$ac_top_build_prefix&;t t
12793 s&@srcdir@&$ac_srcdir&;t t
12794 s&@abs_srcdir@&$ac_abs_srcdir&;t t
12795 s&@top_srcdir@&$ac_top_srcdir&;t t
12796 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12797 s&@builddir@&$ac_builddir&;t t
12798 s&@abs_builddir@&$ac_abs_builddir&;t t
12799 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12800 s&@INSTALL@&$ac_INSTALL&;t t
12801 s&@MKDIR_P@&$ac_MKDIR_P&;t t
12802 $ac_datarootdir_hack
12803 "
12804 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
12805 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12806
12807 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12808 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
12809 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12811 which seems to be undefined. Please make sure it is defined" >&5
12812 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12813 which seems to be undefined. Please make sure it is defined" >&2;}
12814
12815 rm -f "$tmp/stdin"
12816 case $ac_file in
12817 -) cat "$tmp/out" && rm -f "$tmp/out";;
12818 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12819 esac \
12820 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12821 ;;
12822
12823
12824 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12825 $as_echo "$as_me: executing $ac_file commands" >&6;}
12826 ;;
12827 esac
12828
12829
12830 case $ac_file$ac_mode in
12831 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
12832 # Autoconf 2.62 quotes --file arguments for eval, but not when files
12833 # are listed without --file. Let's play safe and only enable the eval
12834 # if we detect the quoting.
12835 case $CONFIG_FILES in
12836 *\'*) eval set x "$CONFIG_FILES" ;;
12837 *) set x $CONFIG_FILES ;;
12838 esac
12839 shift
12840 for mf
12841 do
12842 # Strip MF so we end up with the name of the file.
12843 mf=`echo "$mf" | sed -e 's/:.*$//'`
12844 # Check whether this is an Automake generated Makefile or not.
12845 # We used to match only the files named `Makefile.in', but
12846 # some people rename them; so instead we look at the file content.
12847 # Grep'ing the first line is not enough: some people post-process
12848 # each Makefile.in and add a new line on top of each file to say so.
12849 # Grep'ing the whole file is not good either: AIX grep has a line
12850 # limit of 2048, but all sed's we know have understand at least 4000.
12851 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
12852 dirpart=`$as_dirname -- "$mf" ||
12853 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12854 X"$mf" : 'X\(//\)[^/]' \| \
12855 X"$mf" : 'X\(//\)$' \| \
12856 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12857 $as_echo X"$mf" |
12858 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12859 s//\1/
12860 q
12861 }
12862 /^X\(\/\/\)[^/].*/{
12863 s//\1/
12864 q
12865 }
12866 /^X\(\/\/\)$/{
12867 s//\1/
12868 q
12869 }
12870 /^X\(\/\).*/{
12871 s//\1/
12872 q
12873 }
12874 s/.*/./; q'`
12875 else
12876 continue
12877 fi
12878 # Extract the definition of DEPDIR, am__include, and am__quote
12879 # from the Makefile without running `make'.
12880 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12881 test -z "$DEPDIR" && continue
12882 am__include=`sed -n 's/^am__include = //p' < "$mf"`
12883 test -z "am__include" && continue
12884 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12885 # When using ansi2knr, U may be empty or an underscore; expand it
12886 U=`sed -n 's/^U = //p' < "$mf"`
12887 # Find all dependency output files, they are included files with
12888 # $(DEPDIR) in their names. We invoke sed twice because it is the
12889 # simplest approach to changing $(DEPDIR) to its actual value in the
12890 # expansion.
12891 for file in `sed -n "
12892 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12893 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12894 # Make sure the directory exists.
12895 test -f "$dirpart/$file" && continue
12896 fdir=`$as_dirname -- "$file" ||
12897 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12898 X"$file" : 'X\(//\)[^/]' \| \
12899 X"$file" : 'X\(//\)$' \| \
12900 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12901 $as_echo X"$file" |
12902 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12903 s//\1/
12904 q
12905 }
12906 /^X\(\/\/\)[^/].*/{
12907 s//\1/
12908 q
12909 }
12910 /^X\(\/\/\)$/{
12911 s//\1/
12912 q
12913 }
12914 /^X\(\/\).*/{
12915 s//\1/
12916 q
12917 }
12918 s/.*/./; q'`
12919 as_dir=$dirpart/$fdir; as_fn_mkdir_p
12920 # echo "creating $dirpart/$file"
12921 echo '# dummy' > "$dirpart/$file"
12922 done
12923 done
12924 }
12925 ;;
12926 "libtool":C)
12927
12928 # See if we are running on zsh, and set the options which allow our
12929 # commands through without removal of \ escapes.
12930 if test -n "${ZSH_VERSION+set}" ; then
12931 setopt NO_GLOB_SUBST
12932 fi
12933
12934 cfgfile="${ofile}T"
12935 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12936 $RM "$cfgfile"
12937
12938 cat <<_LT_EOF >> "$cfgfile"
12939 #! $SHELL
12940
12941 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12942 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12943 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12944 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12945 #
12946 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12947 # 2006, 2007, 2008 Free Software Foundation, Inc.
12948 # Written by Gordon Matzigkeit, 1996
12949 #
12950 # This file is part of GNU Libtool.
12951 #
12952 # GNU Libtool is free software; you can redistribute it and/or
12953 # modify it under the terms of the GNU General Public License as
12954 # published by the Free Software Foundation; either version 2 of
12955 # the License, or (at your option) any later version.
12956 #
12957 # As a special exception to the GNU General Public License,
12958 # if you distribute this file as part of a program or library that
12959 # is built using GNU Libtool, you may include this file under the
12960 # same distribution terms that you use for the rest of that program.
12961 #
12962 # GNU Libtool is distributed in the hope that it will be useful,
12963 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12964 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12965 # GNU General Public License for more details.
12966 #
12967 # You should have received a copy of the GNU General Public License
12968 # along with GNU Libtool; see the file COPYING. If not, a copy
12969 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12970 # obtained by writing to the Free Software Foundation, Inc.,
12971 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12972
12973
12974 # The names of the tagged configurations supported by this script.
12975 available_tags=""
12976
12977 # ### BEGIN LIBTOOL CONFIG
12978
12979 # Which release of libtool.m4 was used?
12980 macro_version=$macro_version
12981 macro_revision=$macro_revision
12982
12983 # Whether or not to build shared libraries.
12984 build_libtool_libs=$enable_shared
12985
12986 # Whether or not to build static libraries.
12987 build_old_libs=$enable_static
12988
12989 # What type of objects to build.
12990 pic_mode=$pic_mode
12991
12992 # Whether or not to optimize for fast installation.
12993 fast_install=$enable_fast_install
12994
12995 # The host system.
12996 host_alias=$host_alias
12997 host=$host
12998 host_os=$host_os
12999
13000 # The build system.
13001 build_alias=$build_alias
13002 build=$build
13003 build_os=$build_os
13004
13005 # A sed program that does not truncate output.
13006 SED=$lt_SED
13007
13008 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13009 Xsed="\$SED -e 1s/^X//"
13010
13011 # A grep program that handles long lines.
13012 GREP=$lt_GREP
13013
13014 # An ERE matcher.
13015 EGREP=$lt_EGREP
13016
13017 # A literal string matcher.
13018 FGREP=$lt_FGREP
13019
13020 # A BSD- or MS-compatible name lister.
13021 NM=$lt_NM
13022
13023 # Whether we need soft or hard links.
13024 LN_S=$lt_LN_S
13025
13026 # What is the maximum length of a command?
13027 max_cmd_len=$max_cmd_len
13028
13029 # Object file suffix (normally "o").
13030 objext=$ac_objext
13031
13032 # Executable file suffix (normally "").
13033 exeext=$exeext
13034
13035 # whether the shell understands "unset".
13036 lt_unset=$lt_unset
13037
13038 # turn spaces into newlines.
13039 SP2NL=$lt_lt_SP2NL
13040
13041 # turn newlines into spaces.
13042 NL2SP=$lt_lt_NL2SP
13043
13044 # How to create reloadable object files.
13045 reload_flag=$lt_reload_flag
13046 reload_cmds=$lt_reload_cmds
13047
13048 # An object symbol dumper.
13049 OBJDUMP=$lt_OBJDUMP
13050
13051 # Method to check whether dependent libraries are shared objects.
13052 deplibs_check_method=$lt_deplibs_check_method
13053
13054 # Command to use when deplibs_check_method == "file_magic".
13055 file_magic_cmd=$lt_file_magic_cmd
13056
13057 # The archiver.
13058 AR=$lt_AR
13059 AR_FLAGS=$lt_AR_FLAGS
13060
13061 # A symbol stripping program.
13062 STRIP=$lt_STRIP
13063
13064 # Commands used to install an old-style archive.
13065 RANLIB=$lt_RANLIB
13066 old_postinstall_cmds=$lt_old_postinstall_cmds
13067 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13068
13069 # A C compiler.
13070 LTCC=$lt_CC
13071
13072 # LTCC compiler flags.
13073 LTCFLAGS=$lt_CFLAGS
13074
13075 # Take the output of nm and produce a listing of raw symbols and C names.
13076 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13077
13078 # Transform the output of nm in a proper C declaration.
13079 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13080
13081 # Transform the output of nm in a C name address pair.
13082 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13083
13084 # Transform the output of nm in a C name address pair when lib prefix is needed.
13085 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13086
13087 # The name of the directory that contains temporary libtool files.
13088 objdir=$objdir
13089
13090 # Shell to use when invoking shell scripts.
13091 SHELL=$lt_SHELL
13092
13093 # An echo program that does not interpret backslashes.
13094 ECHO=$lt_ECHO
13095
13096 # Used to examine libraries when file_magic_cmd begins with "file".
13097 MAGIC_CMD=$MAGIC_CMD
13098
13099 # Must we lock files when doing compilation?
13100 need_locks=$lt_need_locks
13101
13102 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13103 DSYMUTIL=$lt_DSYMUTIL
13104
13105 # Tool to change global to local symbols on Mac OS X.
13106 NMEDIT=$lt_NMEDIT
13107
13108 # Tool to manipulate fat objects and archives on Mac OS X.
13109 LIPO=$lt_LIPO
13110
13111 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13112 OTOOL=$lt_OTOOL
13113
13114 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13115 OTOOL64=$lt_OTOOL64
13116
13117 # Old archive suffix (normally "a").
13118 libext=$libext
13119
13120 # Shared library suffix (normally ".so").
13121 shrext_cmds=$lt_shrext_cmds
13122
13123 # The commands to extract the exported symbol list from a shared archive.
13124 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13125
13126 # Variables whose values should be saved in libtool wrapper scripts and
13127 # restored at link time.
13128 variables_saved_for_relink=$lt_variables_saved_for_relink
13129
13130 # Do we need the "lib" prefix for modules?
13131 need_lib_prefix=$need_lib_prefix
13132
13133 # Do we need a version for libraries?
13134 need_version=$need_version
13135
13136 # Library versioning type.
13137 version_type=$version_type
13138
13139 # Shared library runtime path variable.
13140 runpath_var=$runpath_var
13141
13142 # Shared library path variable.
13143 shlibpath_var=$shlibpath_var
13144
13145 # Is shlibpath searched before the hard-coded library search path?
13146 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13147
13148 # Format of library name prefix.
13149 libname_spec=$lt_libname_spec
13150
13151 # List of archive names. First name is the real one, the rest are links.
13152 # The last name is the one that the linker finds with -lNAME
13153 library_names_spec=$lt_library_names_spec
13154
13155 # The coded name of the library, if different from the real name.
13156 soname_spec=$lt_soname_spec
13157
13158 # Command to use after installation of a shared archive.
13159 postinstall_cmds=$lt_postinstall_cmds
13160
13161 # Command to use after uninstallation of a shared archive.
13162 postuninstall_cmds=$lt_postuninstall_cmds
13163
13164 # Commands used to finish a libtool library installation in a directory.
13165 finish_cmds=$lt_finish_cmds
13166
13167 # As "finish_cmds", except a single script fragment to be evaled but
13168 # not shown.
13169 finish_eval=$lt_finish_eval
13170
13171 # Whether we should hardcode library paths into libraries.
13172 hardcode_into_libs=$hardcode_into_libs
13173
13174 # Compile-time system search path for libraries.
13175 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13176
13177 # Run-time system search path for libraries.
13178 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13179
13180 # Whether dlopen is supported.
13181 dlopen_support=$enable_dlopen
13182
13183 # Whether dlopen of programs is supported.
13184 dlopen_self=$enable_dlopen_self
13185
13186 # Whether dlopen of statically linked programs is supported.
13187 dlopen_self_static=$enable_dlopen_self_static
13188
13189 # Commands to strip libraries.
13190 old_striplib=$lt_old_striplib
13191 striplib=$lt_striplib
13192
13193
13194 # The linker used to build libraries.
13195 LD=$lt_LD
13196
13197 # Commands used to build an old-style archive.
13198 old_archive_cmds=$lt_old_archive_cmds
13199
13200 # A language specific compiler.
13201 CC=$lt_compiler
13202
13203 # Is the compiler the GNU compiler?
13204 with_gcc=$GCC
13205
13206 # Compiler flag to turn off builtin functions.
13207 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13208
13209 # How to pass a linker flag through the compiler.
13210 wl=$lt_lt_prog_compiler_wl
13211
13212 # Additional compiler flags for building library objects.
13213 pic_flag=$lt_lt_prog_compiler_pic
13214
13215 # Compiler flag to prevent dynamic linking.
13216 link_static_flag=$lt_lt_prog_compiler_static
13217
13218 # Does compiler simultaneously support -c and -o options?
13219 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13220
13221 # Whether or not to add -lc for building shared libraries.
13222 build_libtool_need_lc=$archive_cmds_need_lc
13223
13224 # Whether or not to disallow shared libs when runtime libs are static.
13225 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13226
13227 # Compiler flag to allow reflexive dlopens.
13228 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13229
13230 # Compiler flag to generate shared objects directly from archives.
13231 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13232
13233 # Whether the compiler copes with passing no objects directly.
13234 compiler_needs_object=$lt_compiler_needs_object
13235
13236 # Create an old-style archive from a shared archive.
13237 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13238
13239 # Create a temporary old-style archive to link instead of a shared archive.
13240 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13241
13242 # Commands used to build a shared archive.
13243 archive_cmds=$lt_archive_cmds
13244 archive_expsym_cmds=$lt_archive_expsym_cmds
13245
13246 # Commands used to build a loadable module if different from building
13247 # a shared archive.
13248 module_cmds=$lt_module_cmds
13249 module_expsym_cmds=$lt_module_expsym_cmds
13250
13251 # Whether we are building with GNU ld or not.
13252 with_gnu_ld=$lt_with_gnu_ld
13253
13254 # Flag that allows shared libraries with undefined symbols to be built.
13255 allow_undefined_flag=$lt_allow_undefined_flag
13256
13257 # Flag that enforces no undefined symbols.
13258 no_undefined_flag=$lt_no_undefined_flag
13259
13260 # Flag to hardcode \$libdir into a binary during linking.
13261 # This must work even if \$libdir does not exist
13262 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13263
13264 # If ld is used when linking, flag to hardcode \$libdir into a binary
13265 # during linking. This must work even if \$libdir does not exist.
13266 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13267
13268 # Whether we need a single "-rpath" flag with a separated argument.
13269 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13270
13271 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13272 # DIR into the resulting binary.
13273 hardcode_direct=$hardcode_direct
13274
13275 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13276 # DIR into the resulting binary and the resulting library dependency is
13277 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13278 # library is relocated.
13279 hardcode_direct_absolute=$hardcode_direct_absolute
13280
13281 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13282 # into the resulting binary.
13283 hardcode_minus_L=$hardcode_minus_L
13284
13285 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13286 # into the resulting binary.
13287 hardcode_shlibpath_var=$hardcode_shlibpath_var
13288
13289 # Set to "yes" if building a shared library automatically hardcodes DIR
13290 # into the library and all subsequent libraries and executables linked
13291 # against it.
13292 hardcode_automatic=$hardcode_automatic
13293
13294 # Set to yes if linker adds runtime paths of dependent libraries
13295 # to runtime path list.
13296 inherit_rpath=$inherit_rpath
13297
13298 # Whether libtool must link a program against all its dependency libraries.
13299 link_all_deplibs=$link_all_deplibs
13300
13301 # Fix the shell variable \$srcfile for the compiler.
13302 fix_srcfile_path=$lt_fix_srcfile_path
13303
13304 # Set to "yes" if exported symbols are required.
13305 always_export_symbols=$always_export_symbols
13306
13307 # The commands to list exported symbols.
13308 export_symbols_cmds=$lt_export_symbols_cmds
13309
13310 # Symbols that should not be listed in the preloaded symbols.
13311 exclude_expsyms=$lt_exclude_expsyms
13312
13313 # Symbols that must always be exported.
13314 include_expsyms=$lt_include_expsyms
13315
13316 # Commands necessary for linking programs (against libraries) with templates.
13317 prelink_cmds=$lt_prelink_cmds
13318
13319 # Specify filename containing input files.
13320 file_list_spec=$lt_file_list_spec
13321
13322 # How to hardcode a shared library path into an executable.
13323 hardcode_action=$hardcode_action
13324
13325 # ### END LIBTOOL CONFIG
13326
13327 _LT_EOF
13328
13329 case $host_os in
13330 aix3*)
13331 cat <<\_LT_EOF >> "$cfgfile"
13332 # AIX sometimes has problems with the GCC collect2 program. For some
13333 # reason, if we set the COLLECT_NAMES environment variable, the problems
13334 # vanish in a puff of smoke.
13335 if test "X${COLLECT_NAMES+set}" != Xset; then
13336 COLLECT_NAMES=
13337 export COLLECT_NAMES
13338 fi
13339 _LT_EOF
13340 ;;
13341 esac
13342
13343
13344 ltmain="$ac_aux_dir/ltmain.sh"
13345
13346
13347 # We use sed instead of cat because bash on DJGPP gets confused if
13348 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13349 # text mode, it properly converts lines to CR/LF. This bash problem
13350 # is reportedly fixed, but why not run on old versions too?
13351 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13352 || (rm -f "$cfgfile"; exit 1)
13353
13354 case $xsi_shell in
13355 yes)
13356 cat << \_LT_EOF >> "$cfgfile"
13357
13358 # func_dirname file append nondir_replacement
13359 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13360 # otherwise set result to NONDIR_REPLACEMENT.
13361 func_dirname ()
13362 {
13363 case ${1} in
13364 */*) func_dirname_result="${1%/*}${2}" ;;
13365 * ) func_dirname_result="${3}" ;;
13366 esac
13367 }
13368
13369 # func_basename file
13370 func_basename ()
13371 {
13372 func_basename_result="${1##*/}"
13373 }
13374
13375 # func_dirname_and_basename file append nondir_replacement
13376 # perform func_basename and func_dirname in a single function
13377 # call:
13378 # dirname: Compute the dirname of FILE. If nonempty,
13379 # add APPEND to the result, otherwise set result
13380 # to NONDIR_REPLACEMENT.
13381 # value returned in "$func_dirname_result"
13382 # basename: Compute filename of FILE.
13383 # value retuned in "$func_basename_result"
13384 # Implementation must be kept synchronized with func_dirname
13385 # and func_basename. For efficiency, we do not delegate to
13386 # those functions but instead duplicate the functionality here.
13387 func_dirname_and_basename ()
13388 {
13389 case ${1} in
13390 */*) func_dirname_result="${1%/*}${2}" ;;
13391 * ) func_dirname_result="${3}" ;;
13392 esac
13393 func_basename_result="${1##*/}"
13394 }
13395
13396 # func_stripname prefix suffix name
13397 # strip PREFIX and SUFFIX off of NAME.
13398 # PREFIX and SUFFIX must not contain globbing or regex special
13399 # characters, hashes, percent signs, but SUFFIX may contain a leading
13400 # dot (in which case that matches only a dot).
13401 func_stripname ()
13402 {
13403 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13404 # positional parameters, so assign one to ordinary parameter first.
13405 func_stripname_result=${3}
13406 func_stripname_result=${func_stripname_result#"${1}"}
13407 func_stripname_result=${func_stripname_result%"${2}"}
13408 }
13409
13410 # func_opt_split
13411 func_opt_split ()
13412 {
13413 func_opt_split_opt=${1%%=*}
13414 func_opt_split_arg=${1#*=}
13415 }
13416
13417 # func_lo2o object
13418 func_lo2o ()
13419 {
13420 case ${1} in
13421 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
13422 *) func_lo2o_result=${1} ;;
13423 esac
13424 }
13425
13426 # func_xform libobj-or-source
13427 func_xform ()
13428 {
13429 func_xform_result=${1%.*}.lo
13430 }
13431
13432 # func_arith arithmetic-term...
13433 func_arith ()
13434 {
13435 func_arith_result=$(( $* ))
13436 }
13437
13438 # func_len string
13439 # STRING may not start with a hyphen.
13440 func_len ()
13441 {
13442 func_len_result=${#1}
13443 }
13444
13445 _LT_EOF
13446 ;;
13447 *) # Bourne compatible functions.
13448 cat << \_LT_EOF >> "$cfgfile"
13449
13450 # func_dirname file append nondir_replacement
13451 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13452 # otherwise set result to NONDIR_REPLACEMENT.
13453 func_dirname ()
13454 {
13455 # Extract subdirectory from the argument.
13456 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13457 if test "X$func_dirname_result" = "X${1}"; then
13458 func_dirname_result="${3}"
13459 else
13460 func_dirname_result="$func_dirname_result${2}"
13461 fi
13462 }
13463
13464 # func_basename file
13465 func_basename ()
13466 {
13467 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
13468 }
13469
13470
13471 # func_stripname prefix suffix name
13472 # strip PREFIX and SUFFIX off of NAME.
13473 # PREFIX and SUFFIX must not contain globbing or regex special
13474 # characters, hashes, percent signs, but SUFFIX may contain a leading
13475 # dot (in which case that matches only a dot).
13476 # func_strip_suffix prefix name
13477 func_stripname ()
13478 {
13479 case ${2} in
13480 .*) func_stripname_result=`$ECHO "X${3}" \
13481 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13482 *) func_stripname_result=`$ECHO "X${3}" \
13483 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13484 esac
13485 }
13486
13487 # sed scripts:
13488 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
13489 my_sed_long_arg='1s/^-[^=]*=//'
13490
13491 # func_opt_split
13492 func_opt_split ()
13493 {
13494 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13495 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13496 }
13497
13498 # func_lo2o object
13499 func_lo2o ()
13500 {
13501 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13502 }
13503
13504 # func_xform libobj-or-source
13505 func_xform ()
13506 {
13507 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
13508 }
13509
13510 # func_arith arithmetic-term...
13511 func_arith ()
13512 {
13513 func_arith_result=`expr "$@"`
13514 }
13515
13516 # func_len string
13517 # STRING may not start with a hyphen.
13518 func_len ()
13519 {
13520 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13521 }
13522
13523 _LT_EOF
13524 esac
13525
13526 case $lt_shell_append in
13527 yes)
13528 cat << \_LT_EOF >> "$cfgfile"
13529
13530 # func_append var value
13531 # Append VALUE to the end of shell variable VAR.
13532 func_append ()
13533 {
13534 eval "$1+=\$2"
13535 }
13536 _LT_EOF
13537 ;;
13538 *)
13539 cat << \_LT_EOF >> "$cfgfile"
13540
13541 # func_append var value
13542 # Append VALUE to the end of shell variable VAR.
13543 func_append ()
13544 {
13545 eval "$1=\$$1\$2"
13546 }
13547
13548 _LT_EOF
13549 ;;
13550 esac
13551
13552
13553 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13554 || (rm -f "$cfgfile"; exit 1)
13555
13556 mv -f "$cfgfile" "$ofile" ||
13557 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13558 chmod +x "$ofile"
13559
13560 ;;
13561
13562 esac
13563 done # for ac_tag
13564
13565
13566 as_fn_exit 0
13567 _ACEOF
13568 ac_clean_files=$ac_clean_files_save
13569
13570 test $ac_write_fail = 0 ||
13571 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13572
13573
13574 # configure is writing to config.log, and then calls config.status.
13575 # config.status does its own redirection, appending to config.log.
13576 # Unfortunately, on DOS this fails, as config.log is still kept open
13577 # by configure, so config.status won't be able to write to it; its
13578 # output is simply discarded. So we exec the FD to /dev/null,
13579 # effectively closing config.log, so it can be properly (re)opened and
13580 # appended to by config.status. When coming back to configure, we
13581 # need to make the FD available again.
13582 if test "$no_create" != yes; then
13583 ac_cs_success=:
13584 ac_config_status_args=
13585 test "$silent" = yes &&
13586 ac_config_status_args="$ac_config_status_args --quiet"
13587 exec 5>/dev/null
13588 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13589 exec 5>>config.log
13590 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13591 # would make configure fail if this is the last instruction.
13592 $ac_cs_success || as_fn_exit 1
13593 fi
13594 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13596 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13597 fi
13598
13599
13600 cat <<EOF
13601
13602 Ur/Web XML feed library configuration:
13603 lib directory: LIB $LIB
13604 include directory: INCLUDE $INCLUDE
13605 EOF