Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libquvi-scripts 0.9.20131130.
4 #
5 # Report bugs to <http://quvi.sf.net/bugs/>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software 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 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
175 ;;
176 esac
177 fi
178 "
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193 exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
211 as_have_required=yes
212 else
213 as_have_required=no
214 fi
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222 IFS=$as_save_IFS
223 test -z "$as_dir" && as_dir=.
224 as_found=:
225 case $as_dir in #(
226 /*)
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234 break 2
235 fi
236 fi
237 done;;
238 esac
239 as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248 if test "x$CONFIG_SHELL" != x; then :
249 export CONFIG_SHELL
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258 *v*x* | *x*v* ) as_opts=-vx ;;
259 *v* ) as_opts=-v ;;
260 *x* ) as_opts=-x ;;
261 * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276 else
277 $as_echo "$0: Please tell [email protected] and
278 $0: http://quvi.sf.net/bugs/ about your system, including
279 $0: any error possibly output before this message. Then
280 $0: install a modern shell, or manually run the script
281 $0: under such a shell if you do have one."
282 fi
283 exit 1
284 fi
285 fi
286 fi
287 SHELL=${CONFIG_SHELL-/bin/sh}
288 export SHELL
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
292
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
296 # as_fn_unset VAR
297 # ---------------
298 # Portably unset VAR.
299 as_fn_unset ()
300 {
301 { eval $1=; unset $1;}
302 }
303 as_unset=as_fn_unset
304
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
308 as_fn_set_status ()
309 {
310 return $1
311 } # as_fn_set_status
312
313 # as_fn_exit STATUS
314 # -----------------
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 as_fn_exit ()
317 {
318 set +e
319 as_fn_set_status $1
320 exit $1
321 } # as_fn_exit
322
323 # as_fn_mkdir_p
324 # -------------
325 # Create "$as_dir" as a directory, including parents if necessary.
326 as_fn_mkdir_p ()
327 {
328
329 case $as_dir in #(
330 -*) as_dir=./$as_dir;;
331 esac
332 test -d "$as_dir" || eval $as_mkdir_p || {
333 as_dirs=
334 while :; do
335 case $as_dir in #(
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337 *) as_qdir=$as_dir;;
338 esac
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347 s//\1/
348 q
349 }
350 /^X\(\/\/\)[^/].*/{
351 s//\1/
352 q
353 }
354 /^X\(\/\/\)$/{
355 s//\1/
356 q
357 }
358 /^X\(\/\).*/{
359 s//\1/
360 q
361 }
362 s/.*/./; q'`
363 test -d "$as_dir" && break
364 done
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369 } # as_fn_mkdir_p
370
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
375 {
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
383 # implementations.
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
386 {
387 eval $1+=\$2
388 }'
389 else
390 as_fn_append ()
391 {
392 eval $1=\$$1\$2
393 }
394 fi # as_fn_append
395
396 # as_fn_arith ARG...
397 # ------------------
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402 eval 'as_fn_arith ()
403 {
404 as_val=$(( $* ))
405 }'
406 else
407 as_fn_arith ()
408 {
409 as_val=`expr "$@" || test $? -eq 1`
410 }
411 fi # as_fn_arith
412
413
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
419 as_fn_error ()
420 {
421 as_status=$1; test $as_status -eq 0 && as_status=1
422 if test "$4"; then
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425 fi
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
428 } # as_fn_error
429
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
432 as_expr=expr
433 else
434 as_expr=false
435 fi
436
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438 as_basename=basename
439 else
440 as_basename=false
441 fi
442
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444 as_dirname=dirname
445 else
446 as_dirname=false
447 fi
448
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 $as_echo X/"$0" |
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
455 s//\1/
456 q
457 }
458 /^X\/\(\/\/\)$/{
459 s//\1/
460 q
461 }
462 /^X\/\(\/\).*/{
463 s//\1/
464 q
465 }
466 s/.*/./; q'`
467
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 sed -n '
482 p
483 /[$]LINENO/=
484 ' <$as_myself |
485 sed '
486 s/[$]LINENO.*/&-/
487 t lineno
488 b
489 :lineno
490 N
491 :loop
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 t loop
494 s/-\n.*//
495 ' >$as_me.lineno &&
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
506 . "./$as_me.lineno"
507 # Exit status is that of the last command.
508 exit
509 }
510
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
513 -n*)
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
516 xy) ECHO_C='\c';;
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
518 ECHO_T=' ';;
519 esac;;
520 *)
521 ECHO_N='-n';;
522 esac
523
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
527 else
528 rm -f conf$$.dir
529 mkdir conf$$.dir 2>/dev/null
530 fi
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s='ln -s'
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539 as_ln_s='cp -pR'
540 elif ln conf$$.file conf$$ 2>/dev/null; then
541 as_ln_s=ln
542 else
543 as_ln_s='cp -pR'
544 fi
545 else
546 as_ln_s='cp -pR'
547 fi
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
550
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
553 else
554 test -d ./-p && rmdir ./-p
555 as_mkdir_p=false
556 fi
557
558 as_test_x='test -x'
559 as_executable_p=as_fn_executable_p
560
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567 SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570 test -n "$DJDIR" || exec 7<&0 </dev/null
571 exec 6>&1
572
573 # Name of the host.
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578 #
579 # Initializations.
580 #
581 ac_default_prefix=/usr/local
582 ac_clean_files=
583 ac_config_libobj_dir=.
584 LIBOBJS=
585 cross_compiling=no
586 subdirs=
587 MFLAGS=
588 MAKEFLAGS=
589
590 # Identity of this package.
591 PACKAGE_NAME='libquvi-scripts'
592 PACKAGE_TARNAME='libquvi-scripts'
593 PACKAGE_VERSION='0.9.20131130'
594 PACKAGE_STRING='libquvi-scripts 0.9.20131130'
595 PACKAGE_BUGREPORT='http://quvi.sf.net/bugs/'
596 PACKAGE_URL='http://quvi.sf.net/'
597
598 ac_unique_file="tests/lib/env.c"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
601 #include <stdio.h>
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
604 #endif
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
607 #endif
608 #ifdef STDC_HEADERS
609 # include <stdlib.h>
610 # include <stddef.h>
611 #else
612 # ifdef HAVE_STDLIB_H
613 # include <stdlib.h>
614 # endif
615 #endif
616 #ifdef HAVE_STRING_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 # include <memory.h>
619 # endif
620 # include <string.h>
621 #endif
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
624 #endif
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
627 #endif
628 #ifdef HAVE_STDINT_H
629 # include <stdint.h>
630 #endif
631 #ifdef HAVE_UNISTD_H
632 # include <unistd.h>
633 #endif"
634
635 ac_subst_vars='am__EXEEXT_FALSE
636 am__EXEEXT_TRUE
637 LTLIBOBJS
638 LIBOBJS
639 VN_C
640 VERSION_MM
641 WITH_MANUAL_FALSE
642 WITH_MANUAL_TRUE
643 WITH_GEOBLOCKED_FALSE
644 WITH_GEOBLOCKED_TRUE
645 WITH_FIXME_FALSE
646 WITH_FIXME_TRUE
647 WITH_NSFW_FALSE
648 WITH_NSFW_TRUE
649 WITH_TESTS_FALSE
650 WITH_TESTS_TRUE
651 libcurl_LIBS
652 libcurl_CFLAGS
653 glib_LIBS
654 glib_CFLAGS
655 libquvi_LIBS
656 libquvi_CFLAGS
657 PKG_CONFIG_LIBDIR
658 PKG_CONFIG_PATH
659 PKG_CONFIG
660 HAVE_A2X_FALSE
661 HAVE_A2X_TRUE
662 A2X
663 CPP
664 OTOOL64
665 OTOOL
666 LIPO
667 NMEDIT
668 DSYMUTIL
669 MANIFEST_TOOL
670 RANLIB
671 DLLTOOL
672 OBJDUMP
673 LN_S
674 NM
675 ac_ct_DUMPBIN
676 DUMPBIN
677 LD
678 FGREP
679 EGREP
680 GREP
681 SED
682 host_os
683 host_vendor
684 host_cpu
685 host
686 build_os
687 build_vendor
688 build_cpu
689 build
690 LIBTOOL
691 am__fastdepCC_FALSE
692 am__fastdepCC_TRUE
693 CCDEPMODE
694 am__nodep
695 AMDEPBACKSLASH
696 AMDEP_FALSE
697 AMDEP_TRUE
698 am__quote
699 am__include
700 DEPDIR
701 OBJEXT
702 EXEEXT
703 ac_ct_CC
704 CPPFLAGS
705 LDFLAGS
706 CFLAGS
707 CC
708 ac_ct_AR
709 AR
710 AM_BACKSLASH
711 AM_DEFAULT_VERBOSITY
712 AM_DEFAULT_V
713 AM_V
714 am__untar
715 am__tar
716 AMTAR
717 am__leading_dot
718 SET_MAKE
719 AWK
720 mkdir_p
721 MKDIR_P
722 INSTALL_STRIP_PROGRAM
723 STRIP
724 install_sh
725 MAKEINFO
726 AUTOHEADER
727 AUTOMAKE
728 AUTOCONF
729 ACLOCAL
730 VERSION
731 PACKAGE
732 CYGPATH_W
733 am__isrc
734 INSTALL_DATA
735 INSTALL_SCRIPT
736 INSTALL_PROGRAM
737 BUILD_OPTS
738 target_alias
739 host_alias
740 build_alias
741 LIBS
742 ECHO_T
743 ECHO_N
744 ECHO_C
745 DEFS
746 mandir
747 localedir
748 libdir
749 psdir
750 pdfdir
751 dvidir
752 htmldir
753 infodir
754 docdir
755 oldincludedir
756 includedir
757 localstatedir
758 sharedstatedir
759 sysconfdir
760 datadir
761 datarootdir
762 libexecdir
763 sbindir
764 bindir
765 program_transform_name
766 prefix
767 exec_prefix
768 PACKAGE_URL
769 PACKAGE_BUGREPORT
770 PACKAGE_STRING
771 PACKAGE_VERSION
772 PACKAGE_TARNAME
773 PACKAGE_NAME
774 PATH_SEPARATOR
775 SHELL'
776 ac_subst_files=''
777 ac_user_opts='
778 enable_option_checking
779 enable_silent_rules
780 enable_dependency_tracking
781 enable_static
782 enable_shared
783 with_pic
784 enable_fast_install
785 with_gnu_ld
786 with_sysroot
787 enable_libtool_lock
788 with_tests
789 with_nsfw
790 with_fixme
791 with_geoblocked
792 with_manual
793 '
794 ac_precious_vars='build_alias
795 host_alias
796 target_alias
797 CC
798 CFLAGS
799 LDFLAGS
800 LIBS
801 CPPFLAGS
802 CPP
803 PKG_CONFIG
804 PKG_CONFIG_PATH
805 PKG_CONFIG_LIBDIR
806 libquvi_CFLAGS
807 libquvi_LIBS
808 glib_CFLAGS
809 glib_LIBS
810 libcurl_CFLAGS
811 libcurl_LIBS'
812
813
814 # Initialize some variables set by options.
815 ac_init_help=
816 ac_init_version=false
817 ac_unrecognized_opts=
818 ac_unrecognized_sep=
819 # The variables have the same names as the options, with
820 # dashes changed to underlines.
821 cache_file=/dev/null
822 exec_prefix=NONE
823 no_create=
824 no_recursion=
825 prefix=NONE
826 program_prefix=NONE
827 program_suffix=NONE
828 program_transform_name=s,x,x,
829 silent=
830 site=
831 srcdir=
832 verbose=
833 x_includes=NONE
834 x_libraries=NONE
835
836 # Installation directory options.
837 # These are left unexpanded so users can "make install exec_prefix=/foo"
838 # and all the variables that are supposed to be based on exec_prefix
839 # by default will actually change.
840 # Use braces instead of parens because sh, perl, etc. also accept them.
841 # (The list follows the same order as the GNU Coding Standards.)
842 bindir='${exec_prefix}/bin'
843 sbindir='${exec_prefix}/sbin'
844 libexecdir='${exec_prefix}/libexec'
845 datarootdir='${prefix}/share'
846 datadir='${datarootdir}'
847 sysconfdir='${prefix}/etc'
848 sharedstatedir='${prefix}/com'
849 localstatedir='${prefix}/var'
850 includedir='${prefix}/include'
851 oldincludedir='/usr/include'
852 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
853 infodir='${datarootdir}/info'
854 htmldir='${docdir}'
855 dvidir='${docdir}'
856 pdfdir='${docdir}'
857 psdir='${docdir}'
858 libdir='${exec_prefix}/lib'
859 localedir='${datarootdir}/locale'
860 mandir='${datarootdir}/man'
861
862 ac_prev=
863 ac_dashdash=
864 for ac_option
865 do
866 # If the previous option needs an argument, assign it.
867 if test -n "$ac_prev"; then
868 eval $ac_prev=\$ac_option
869 ac_prev=
870 continue
871 fi
872
873 case $ac_option in
874 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
875 *=) ac_optarg= ;;
876 *) ac_optarg=yes ;;
877 esac
878
879 # Accept the important Cygnus configure options, so we can diagnose typos.
880
881 case $ac_dashdash$ac_option in
882 --)
883 ac_dashdash=yes ;;
884
885 -bindir | --bindir | --bindi | --bind | --bin | --bi)
886 ac_prev=bindir ;;
887 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
888 bindir=$ac_optarg ;;
889
890 -build | --build | --buil | --bui | --bu)
891 ac_prev=build_alias ;;
892 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
893 build_alias=$ac_optarg ;;
894
895 -cache-file | --cache-file | --cache-fil | --cache-fi \
896 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
897 ac_prev=cache_file ;;
898 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
899 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
900 cache_file=$ac_optarg ;;
901
902 --config-cache | -C)
903 cache_file=config.cache ;;
904
905 -datadir | --datadir | --datadi | --datad)
906 ac_prev=datadir ;;
907 -datadir=* | --datadir=* | --datadi=* | --datad=*)
908 datadir=$ac_optarg ;;
909
910 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
911 | --dataroo | --dataro | --datar)
912 ac_prev=datarootdir ;;
913 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
914 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
915 datarootdir=$ac_optarg ;;
916
917 -disable-* | --disable-*)
918 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
919 # Reject names that are not valid shell variable names.
920 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
921 as_fn_error $? "invalid feature name: $ac_useropt"
922 ac_useropt_orig=$ac_useropt
923 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
924 case $ac_user_opts in
925 *"
926 "enable_$ac_useropt"
927 "*) ;;
928 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
929 ac_unrecognized_sep=', ';;
930 esac
931 eval enable_$ac_useropt=no ;;
932
933 -docdir | --docdir | --docdi | --doc | --do)
934 ac_prev=docdir ;;
935 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
936 docdir=$ac_optarg ;;
937
938 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
939 ac_prev=dvidir ;;
940 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
941 dvidir=$ac_optarg ;;
942
943 -enable-* | --enable-*)
944 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
945 # Reject names that are not valid shell variable names.
946 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
947 as_fn_error $? "invalid feature name: $ac_useropt"
948 ac_useropt_orig=$ac_useropt
949 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
950 case $ac_user_opts in
951 *"
952 "enable_$ac_useropt"
953 "*) ;;
954 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
955 ac_unrecognized_sep=', ';;
956 esac
957 eval enable_$ac_useropt=\$ac_optarg ;;
958
959 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
960 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
961 | --exec | --exe | --ex)
962 ac_prev=exec_prefix ;;
963 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
964 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
965 | --exec=* | --exe=* | --ex=*)
966 exec_prefix=$ac_optarg ;;
967
968 -gas | --gas | --ga | --g)
969 # Obsolete; use --with-gas.
970 with_gas=yes ;;
971
972 -help | --help | --hel | --he | -h)
973 ac_init_help=long ;;
974 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
975 ac_init_help=recursive ;;
976 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
977 ac_init_help=short ;;
978
979 -host | --host | --hos | --ho)
980 ac_prev=host_alias ;;
981 -host=* | --host=* | --hos=* | --ho=*)
982 host_alias=$ac_optarg ;;
983
984 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
985 ac_prev=htmldir ;;
986 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
987 | --ht=*)
988 htmldir=$ac_optarg ;;
989
990 -includedir | --includedir | --includedi | --included | --include \
991 | --includ | --inclu | --incl | --inc)
992 ac_prev=includedir ;;
993 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
994 | --includ=* | --inclu=* | --incl=* | --inc=*)
995 includedir=$ac_optarg ;;
996
997 -infodir | --infodir | --infodi | --infod | --info | --inf)
998 ac_prev=infodir ;;
999 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1000 infodir=$ac_optarg ;;
1001
1002 -libdir | --libdir | --libdi | --libd)
1003 ac_prev=libdir ;;
1004 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1005 libdir=$ac_optarg ;;
1006
1007 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1008 | --libexe | --libex | --libe)
1009 ac_prev=libexecdir ;;
1010 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1011 | --libexe=* | --libex=* | --libe=*)
1012 libexecdir=$ac_optarg ;;
1013
1014 -localedir | --localedir | --localedi | --localed | --locale)
1015 ac_prev=localedir ;;
1016 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1017 localedir=$ac_optarg ;;
1018
1019 -localstatedir | --localstatedir | --localstatedi | --localstated \
1020 | --localstate | --localstat | --localsta | --localst | --locals)
1021 ac_prev=localstatedir ;;
1022 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1023 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1024 localstatedir=$ac_optarg ;;
1025
1026 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1027 ac_prev=mandir ;;
1028 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1029 mandir=$ac_optarg ;;
1030
1031 -nfp | --nfp | --nf)
1032 # Obsolete; use --without-fp.
1033 with_fp=no ;;
1034
1035 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1036 | --no-cr | --no-c | -n)
1037 no_create=yes ;;
1038
1039 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1040 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1041 no_recursion=yes ;;
1042
1043 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1044 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1045 | --oldin | --oldi | --old | --ol | --o)
1046 ac_prev=oldincludedir ;;
1047 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1048 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1049 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1050 oldincludedir=$ac_optarg ;;
1051
1052 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1053 ac_prev=prefix ;;
1054 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1055 prefix=$ac_optarg ;;
1056
1057 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1058 | --program-pre | --program-pr | --program-p)
1059 ac_prev=program_prefix ;;
1060 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1061 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1062 program_prefix=$ac_optarg ;;
1063
1064 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1065 | --program-suf | --program-su | --program-s)
1066 ac_prev=program_suffix ;;
1067 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1068 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1069 program_suffix=$ac_optarg ;;
1070
1071 -program-transform-name | --program-transform-name \
1072 | --program-transform-nam | --program-transform-na \
1073 | --program-transform-n | --program-transform- \
1074 | --program-transform | --program-transfor \
1075 | --program-transfo | --program-transf \
1076 | --program-trans | --program-tran \
1077 | --progr-tra | --program-tr | --program-t)
1078 ac_prev=program_transform_name ;;
1079 -program-transform-name=* | --program-transform-name=* \
1080 | --program-transform-nam=* | --program-transform-na=* \
1081 | --program-transform-n=* | --program-transform-=* \
1082 | --program-transform=* | --program-transfor=* \
1083 | --program-transfo=* | --program-transf=* \
1084 | --program-trans=* | --program-tran=* \
1085 | --progr-tra=* | --program-tr=* | --program-t=*)
1086 program_transform_name=$ac_optarg ;;
1087
1088 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1089 ac_prev=pdfdir ;;
1090 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1091 pdfdir=$ac_optarg ;;
1092
1093 -psdir | --psdir | --psdi | --psd | --ps)
1094 ac_prev=psdir ;;
1095 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1096 psdir=$ac_optarg ;;
1097
1098 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1099 | -silent | --silent | --silen | --sile | --sil)
1100 silent=yes ;;
1101
1102 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1103 ac_prev=sbindir ;;
1104 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1105 | --sbi=* | --sb=*)
1106 sbindir=$ac_optarg ;;
1107
1108 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1109 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1110 | --sharedst | --shareds | --shared | --share | --shar \
1111 | --sha | --sh)
1112 ac_prev=sharedstatedir ;;
1113 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1114 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1115 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1116 | --sha=* | --sh=*)
1117 sharedstatedir=$ac_optarg ;;
1118
1119 -site | --site | --sit)
1120 ac_prev=site ;;
1121 -site=* | --site=* | --sit=*)
1122 site=$ac_optarg ;;
1123
1124 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1125 ac_prev=srcdir ;;
1126 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1127 srcdir=$ac_optarg ;;
1128
1129 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1130 | --syscon | --sysco | --sysc | --sys | --sy)
1131 ac_prev=sysconfdir ;;
1132 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1133 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1134 sysconfdir=$ac_optarg ;;
1135
1136 -target | --target | --targe | --targ | --tar | --ta | --t)
1137 ac_prev=target_alias ;;
1138 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1139 target_alias=$ac_optarg ;;
1140
1141 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1142 verbose=yes ;;
1143
1144 -version | --version | --versio | --versi | --vers | -V)
1145 ac_init_version=: ;;
1146
1147 -with-* | --with-*)
1148 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1149 # Reject names that are not valid shell variable names.
1150 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1151 as_fn_error $? "invalid package name: $ac_useropt"
1152 ac_useropt_orig=$ac_useropt
1153 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1154 case $ac_user_opts in
1155 *"
1156 "with_$ac_useropt"
1157 "*) ;;
1158 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1159 ac_unrecognized_sep=', ';;
1160 esac
1161 eval with_$ac_useropt=\$ac_optarg ;;
1162
1163 -without-* | --without-*)
1164 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1165 # Reject names that are not valid shell variable names.
1166 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1167 as_fn_error $? "invalid package name: $ac_useropt"
1168 ac_useropt_orig=$ac_useropt
1169 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1170 case $ac_user_opts in
1171 *"
1172 "with_$ac_useropt"
1173 "*) ;;
1174 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1175 ac_unrecognized_sep=', ';;
1176 esac
1177 eval with_$ac_useropt=no ;;
1178
1179 --x)
1180 # Obsolete; use --with-x.
1181 with_x=yes ;;
1182
1183 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1184 | --x-incl | --x-inc | --x-in | --x-i)
1185 ac_prev=x_includes ;;
1186 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1187 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1188 x_includes=$ac_optarg ;;
1189
1190 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1191 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1192 ac_prev=x_libraries ;;
1193 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1194 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1195 x_libraries=$ac_optarg ;;
1196
1197 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1198 Try \`$0 --help' for more information"
1199 ;;
1200
1201 *=*)
1202 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1203 # Reject names that are not valid shell variable names.
1204 case $ac_envvar in #(
1205 '' | [0-9]* | *[!_$as_cr_alnum]* )
1206 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1207 esac
1208 eval $ac_envvar=\$ac_optarg
1209 export $ac_envvar ;;
1210
1211 *)
1212 # FIXME: should be removed in autoconf 3.0.
1213 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1214 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1215 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1216 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1217 ;;
1218
1219 esac
1220 done
1221
1222 if test -n "$ac_prev"; then
1223 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1224 as_fn_error $? "missing argument to $ac_option"
1225 fi
1226
1227 if test -n "$ac_unrecognized_opts"; then
1228 case $enable_option_checking in
1229 no) ;;
1230 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1231 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1232 esac
1233 fi
1234
1235 # Check all directory arguments for consistency.
1236 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1237 datadir sysconfdir sharedstatedir localstatedir includedir \
1238 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1239 libdir localedir mandir
1240 do
1241 eval ac_val=\$$ac_var
1242 # Remove trailing slashes.
1243 case $ac_val in
1244 */ )
1245 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1246 eval $ac_var=\$ac_val;;
1247 esac
1248 # Be sure to have absolute directory names.
1249 case $ac_val in
1250 [\\/$]* | ?:[\\/]* ) continue;;
1251 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1252 esac
1253 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1254 done
1255
1256 # There might be people who depend on the old broken behavior: `$host'
1257 # used to hold the argument of --host etc.
1258 # FIXME: To remove some day.
1259 build=$build_alias
1260 host=$host_alias
1261 target=$target_alias
1262
1263 # FIXME: To remove some day.
1264 if test "x$host_alias" != x; then
1265 if test "x$build_alias" = x; then
1266 cross_compiling=maybe
1267 elif test "x$build_alias" != "x$host_alias"; then
1268 cross_compiling=yes
1269 fi
1270 fi
1271
1272 ac_tool_prefix=
1273 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1274
1275 test "$silent" = yes && exec 6>/dev/null
1276
1277
1278 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1279 ac_ls_di=`ls -di .` &&
1280 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1281 as_fn_error $? "working directory cannot be determined"
1282 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1283 as_fn_error $? "pwd does not report name of working directory"
1284
1285
1286 # Find the source files, if location was not specified.
1287 if test -z "$srcdir"; then
1288 ac_srcdir_defaulted=yes
1289 # Try the directory containing this script, then the parent directory.
1290 ac_confdir=`$as_dirname -- "$as_myself" ||
1291 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1292 X"$as_myself" : 'X\(//\)[^/]' \| \
1293 X"$as_myself" : 'X\(//\)$' \| \
1294 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1295 $as_echo X"$as_myself" |
1296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1297 s//\1/
1298 q
1299 }
1300 /^X\(\/\/\)[^/].*/{
1301 s//\1/
1302 q
1303 }
1304 /^X\(\/\/\)$/{
1305 s//\1/
1306 q
1307 }
1308 /^X\(\/\).*/{
1309 s//\1/
1310 q
1311 }
1312 s/.*/./; q'`
1313 srcdir=$ac_confdir
1314 if test ! -r "$srcdir/$ac_unique_file"; then
1315 srcdir=..
1316 fi
1317 else
1318 ac_srcdir_defaulted=no
1319 fi
1320 if test ! -r "$srcdir/$ac_unique_file"; then
1321 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1322 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1323 fi
1324 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1325 ac_abs_confdir=`(
1326 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1327 pwd)`
1328 # When building in place, set srcdir=.
1329 if test "$ac_abs_confdir" = "$ac_pwd"; then
1330 srcdir=.
1331 fi
1332 # Remove unnecessary trailing slashes from srcdir.
1333 # Double slashes in file names in object file debugging info
1334 # mess up M-x gdb in Emacs.
1335 case $srcdir in
1336 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1337 esac
1338 for ac_var in $ac_precious_vars; do
1339 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1340 eval ac_env_${ac_var}_value=\$${ac_var}
1341 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1342 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1343 done
1344
1345 #
1346 # Report the --help message.
1347 #
1348 if test "$ac_init_help" = "long"; then
1349 # Omit some internal or obsolete options to make the list less imposing.
1350 # This message is too long to be a string in the A/UX 3.1 sh.
1351 cat <<_ACEOF
1352 \`configure' configures libquvi-scripts 0.9.20131130 to adapt to many kinds of systems.
1353
1354 Usage: $0 [OPTION]... [VAR=VALUE]...
1355
1356 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1357 VAR=VALUE. See below for descriptions of some of the useful variables.
1358
1359 Defaults for the options are specified in brackets.
1360
1361 Configuration:
1362 -h, --help display this help and exit
1363 --help=short display options specific to this package
1364 --help=recursive display the short help of all the included packages
1365 -V, --version display version information and exit
1366 -q, --quiet, --silent do not print \`checking ...' messages
1367 --cache-file=FILE cache test results in FILE [disabled]
1368 -C, --config-cache alias for \`--cache-file=config.cache'
1369 -n, --no-create do not create output files
1370 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1371
1372 Installation directories:
1373 --prefix=PREFIX install architecture-independent files in PREFIX
1374 [$ac_default_prefix]
1375 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1376 [PREFIX]
1377
1378 By default, \`make install' will install all the files in
1379 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1380 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1381 for instance \`--prefix=\$HOME'.
1382
1383 For better control, use the options below.
1384
1385 Fine tuning of the installation directories:
1386 --bindir=DIR user executables [EPREFIX/bin]
1387 --sbindir=DIR system admin executables [EPREFIX/sbin]
1388 --libexecdir=DIR program executables [EPREFIX/libexec]
1389 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1390 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1391 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1392 --libdir=DIR object code libraries [EPREFIX/lib]
1393 --includedir=DIR C header files [PREFIX/include]
1394 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1395 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1396 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1397 --infodir=DIR info documentation [DATAROOTDIR/info]
1398 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1399 --mandir=DIR man documentation [DATAROOTDIR/man]
1400 --docdir=DIR documentation root [DATAROOTDIR/doc/libquvi-scripts]
1401 --htmldir=DIR html documentation [DOCDIR]
1402 --dvidir=DIR dvi documentation [DOCDIR]
1403 --pdfdir=DIR pdf documentation [DOCDIR]
1404 --psdir=DIR ps documentation [DOCDIR]
1405 _ACEOF
1406
1407 cat <<\_ACEOF
1408
1409 Program names:
1410 --program-prefix=PREFIX prepend PREFIX to installed program names
1411 --program-suffix=SUFFIX append SUFFIX to installed program names
1412 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1413
1414 System types:
1415 --build=BUILD configure for building on BUILD [guessed]
1416 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1417 _ACEOF
1418 fi
1419
1420 if test -n "$ac_init_help"; then
1421 case $ac_init_help in
1422 short | recursive ) echo "Configuration of libquvi-scripts 0.9.20131130:";;
1423 esac
1424 cat <<\_ACEOF
1425
1426 Optional Features:
1427 --disable-option-checking ignore unrecognized --enable/--with options
1428 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1429 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1430 --enable-silent-rules less verbose build output (undo: `make V=1')
1431 --disable-silent-rules verbose build output (undo: `make V=0')
1432 --disable-dependency-tracking speeds up one-time build
1433 --enable-dependency-tracking do not reject slow dependency extractors
1434 --enable-static[=PKGS] build static libraries [default=no]
1435 --enable-shared[=PKGS] build shared libraries [default=yes]
1436 --enable-fast-install[=PKGS]
1437 optimize for fast installation [default=yes]
1438 --disable-libtool-lock avoid locking (might break parallel builds)
1439
1440 Optional Packages:
1441 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1442 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1443 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1444 both]
1445 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1446 --with-sysroot=DIR Search for dependent libraries within DIR
1447 (or the compiler's sysroot if not specified).
1448 --with-tests Enable tests for scripts [default=no]
1449 --with-nsfw Install scripts marked as "NSFW" [default=no]
1450 --with-fixme Install scripts marked as "FIXME" [default=no]
1451 --with-geoblocked Install scripts marked as "geoblocked" [default=yes]
1452 --with-manual Install manual page(s) [default=yes]
1453
1454 Some influential environment variables:
1455 CC C compiler command
1456 CFLAGS C compiler flags
1457 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1458 nonstandard directory <lib dir>
1459 LIBS libraries to pass to the linker, e.g. -l<library>
1460 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1461 you have headers in a nonstandard directory <include dir>
1462 CPP C preprocessor
1463 PKG_CONFIG path to pkg-config utility
1464 PKG_CONFIG_PATH
1465 directories to add to pkg-config's search path
1466 PKG_CONFIG_LIBDIR
1467 path overriding pkg-config's built-in search path
1468 libquvi_CFLAGS
1469 C compiler flags for libquvi, overriding pkg-config
1470 libquvi_LIBS
1471 linker flags for libquvi, overriding pkg-config
1472 glib_CFLAGS C compiler flags for glib, overriding pkg-config
1473 glib_LIBS linker flags for glib, overriding pkg-config
1474 libcurl_CFLAGS
1475 C compiler flags for libcurl, overriding pkg-config
1476 libcurl_LIBS
1477 linker flags for libcurl, overriding pkg-config
1478
1479 Use these variables to override the choices made by `configure' or to help
1480 it to find libraries and programs with nonstandard names/locations.
1481
1482 Report bugs to <http://quvi.sf.net/bugs/>.
1483 libquvi-scripts home page: <http://quvi.sf.net/>.
1484 _ACEOF
1485 ac_status=$?
1486 fi
1487
1488 if test "$ac_init_help" = "recursive"; then
1489 # If there are subdirs, report their specific --help.
1490 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1491 test -d "$ac_dir" ||
1492 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1493 continue
1494 ac_builddir=.
1495
1496 case "$ac_dir" in
1497 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1498 *)
1499 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1500 # A ".." for each directory in $ac_dir_suffix.
1501 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1502 case $ac_top_builddir_sub in
1503 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1504 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1505 esac ;;
1506 esac
1507 ac_abs_top_builddir=$ac_pwd
1508 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1509 # for backward compatibility:
1510 ac_top_builddir=$ac_top_build_prefix
1511
1512 case $srcdir in
1513 .) # We are building in place.
1514 ac_srcdir=.
1515 ac_top_srcdir=$ac_top_builddir_sub
1516 ac_abs_top_srcdir=$ac_pwd ;;
1517 [\\/]* | ?:[\\/]* ) # Absolute name.
1518 ac_srcdir=$srcdir$ac_dir_suffix;
1519 ac_top_srcdir=$srcdir
1520 ac_abs_top_srcdir=$srcdir ;;
1521 *) # Relative name.
1522 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1523 ac_top_srcdir=$ac_top_build_prefix$srcdir
1524 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1525 esac
1526 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1527
1528 cd "$ac_dir" || { ac_status=$?; continue; }
1529 # Check for guested configure.
1530 if test -f "$ac_srcdir/configure.gnu"; then
1531 echo &&
1532 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1533 elif test -f "$ac_srcdir/configure"; then
1534 echo &&
1535 $SHELL "$ac_srcdir/configure" --help=recursive
1536 else
1537 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1538 fi || ac_status=$?
1539 cd "$ac_pwd" || { ac_status=$?; break; }
1540 done
1541 fi
1542
1543 test -n "$ac_init_help" && exit $ac_status
1544 if $ac_init_version; then
1545 cat <<\_ACEOF
1546 libquvi-scripts configure 0.9.20131130
1547 generated by GNU Autoconf 2.69
1548
1549 Copyright (C) 2012 Free Software Foundation, Inc.
1550 This configure script is free software; the Free Software Foundation
1551 gives unlimited permission to copy, distribute and modify it.
1552 _ACEOF
1553 exit
1554 fi
1555
1556 ## ------------------------ ##
1557 ## Autoconf initialization. ##
1558 ## ------------------------ ##
1559
1560 # ac_fn_c_try_compile LINENO
1561 # --------------------------
1562 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1563 ac_fn_c_try_compile ()
1564 {
1565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1566 rm -f conftest.$ac_objext
1567 if { { ac_try="$ac_compile"
1568 case "(($ac_try" in
1569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1570 *) ac_try_echo=$ac_try;;
1571 esac
1572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1573 $as_echo "$ac_try_echo"; } >&5
1574 (eval "$ac_compile") 2>conftest.err
1575 ac_status=$?
1576 if test -s conftest.err; then
1577 grep -v '^ *+' conftest.err >conftest.er1
1578 cat conftest.er1 >&5
1579 mv -f conftest.er1 conftest.err
1580 fi
1581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1582 test $ac_status = 0; } && {
1583 test -z "$ac_c_werror_flag" ||
1584 test ! -s conftest.err
1585 } && test -s conftest.$ac_objext; then :
1586 ac_retval=0
1587 else
1588 $as_echo "$as_me: failed program was:" >&5
1589 sed 's/^/| /' conftest.$ac_ext >&5
1590
1591 ac_retval=1
1592 fi
1593 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1594 as_fn_set_status $ac_retval
1595
1596 } # ac_fn_c_try_compile
1597
1598 # ac_fn_c_try_link LINENO
1599 # -----------------------
1600 # Try to link conftest.$ac_ext, and return whether this succeeded.
1601 ac_fn_c_try_link ()
1602 {
1603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1604 rm -f conftest.$ac_objext conftest$ac_exeext
1605 if { { ac_try="$ac_link"
1606 case "(($ac_try" in
1607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1608 *) ac_try_echo=$ac_try;;
1609 esac
1610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1611 $as_echo "$ac_try_echo"; } >&5
1612 (eval "$ac_link") 2>conftest.err
1613 ac_status=$?
1614 if test -s conftest.err; then
1615 grep -v '^ *+' conftest.err >conftest.er1
1616 cat conftest.er1 >&5
1617 mv -f conftest.er1 conftest.err
1618 fi
1619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1620 test $ac_status = 0; } && {
1621 test -z "$ac_c_werror_flag" ||
1622 test ! -s conftest.err
1623 } && test -s conftest$ac_exeext && {
1624 test "$cross_compiling" = yes ||
1625 test -x conftest$ac_exeext
1626 }; then :
1627 ac_retval=0
1628 else
1629 $as_echo "$as_me: failed program was:" >&5
1630 sed 's/^/| /' conftest.$ac_ext >&5
1631
1632 ac_retval=1
1633 fi
1634 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1635 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1636 # interfere with the next link command; also delete a directory that is
1637 # left behind by Apple's compiler. We do this before executing the actions.
1638 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1639 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1640 as_fn_set_status $ac_retval
1641
1642 } # ac_fn_c_try_link
1643
1644 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1645 # -------------------------------------------------------
1646 # Tests whether HEADER exists and can be compiled using the include files in
1647 # INCLUDES, setting the cache variable VAR accordingly.
1648 ac_fn_c_check_header_compile ()
1649 {
1650 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1652 $as_echo_n "checking for $2... " >&6; }
1653 if eval \${$3+:} false; then :
1654 $as_echo_n "(cached) " >&6
1655 else
1656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1657 /* end confdefs.h. */
1658 $4
1659 #include <$2>
1660 _ACEOF
1661 if ac_fn_c_try_compile "$LINENO"; then :
1662 eval "$3=yes"
1663 else
1664 eval "$3=no"
1665 fi
1666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1667 fi
1668 eval ac_res=\$$3
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1670 $as_echo "$ac_res" >&6; }
1671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1672
1673 } # ac_fn_c_check_header_compile
1674
1675 # ac_fn_c_try_cpp LINENO
1676 # ----------------------
1677 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1678 ac_fn_c_try_cpp ()
1679 {
1680 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681 if { { ac_try="$ac_cpp conftest.$ac_ext"
1682 case "(($ac_try" in
1683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1684 *) ac_try_echo=$ac_try;;
1685 esac
1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687 $as_echo "$ac_try_echo"; } >&5
1688 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1689 ac_status=$?
1690 if test -s conftest.err; then
1691 grep -v '^ *+' conftest.err >conftest.er1
1692 cat conftest.er1 >&5
1693 mv -f conftest.er1 conftest.err
1694 fi
1695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696 test $ac_status = 0; } > conftest.i && {
1697 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1698 test ! -s conftest.err
1699 }; then :
1700 ac_retval=0
1701 else
1702 $as_echo "$as_me: failed program was:" >&5
1703 sed 's/^/| /' conftest.$ac_ext >&5
1704
1705 ac_retval=1
1706 fi
1707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1708 as_fn_set_status $ac_retval
1709
1710 } # ac_fn_c_try_cpp
1711
1712 # ac_fn_c_try_run LINENO
1713 # ----------------------
1714 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1715 # that executables *can* be run.
1716 ac_fn_c_try_run ()
1717 {
1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 if { { ac_try="$ac_link"
1720 case "(($ac_try" in
1721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722 *) ac_try_echo=$ac_try;;
1723 esac
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_link") 2>&5
1727 ac_status=$?
1728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1729 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1730 { { case "(($ac_try" in
1731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1732 *) ac_try_echo=$ac_try;;
1733 esac
1734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1735 $as_echo "$ac_try_echo"; } >&5
1736 (eval "$ac_try") 2>&5
1737 ac_status=$?
1738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739 test $ac_status = 0; }; }; then :
1740 ac_retval=0
1741 else
1742 $as_echo "$as_me: program exited with status $ac_status" >&5
1743 $as_echo "$as_me: failed program was:" >&5
1744 sed 's/^/| /' conftest.$ac_ext >&5
1745
1746 ac_retval=$ac_status
1747 fi
1748 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1750 as_fn_set_status $ac_retval
1751
1752 } # ac_fn_c_try_run
1753
1754 # ac_fn_c_check_func LINENO FUNC VAR
1755 # ----------------------------------
1756 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1757 ac_fn_c_check_func ()
1758 {
1759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1761 $as_echo_n "checking for $2... " >&6; }
1762 if eval \${$3+:} false; then :
1763 $as_echo_n "(cached) " >&6
1764 else
1765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1766 /* end confdefs.h. */
1767 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1769 #define $2 innocuous_$2
1770
1771 /* System header to define __stub macros and hopefully few prototypes,
1772 which can conflict with char $2 (); below.
1773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1774 <limits.h> exists even on freestanding compilers. */
1775
1776 #ifdef __STDC__
1777 # include <limits.h>
1778 #else
1779 # include <assert.h>
1780 #endif
1781
1782 #undef $2
1783
1784 /* Override any GCC internal prototype to avoid an error.
1785 Use char because int might match the return type of a GCC
1786 builtin and then its argument prototype would still apply. */
1787 #ifdef __cplusplus
1788 extern "C"
1789 #endif
1790 char $2 ();
1791 /* The GNU C library defines this for functions which it implements
1792 to always fail with ENOSYS. Some functions are actually named
1793 something starting with __ and the normal name is an alias. */
1794 #if defined __stub_$2 || defined __stub___$2
1795 choke me
1796 #endif
1797
1798 int
1799 main ()
1800 {
1801 return $2 ();
1802 ;
1803 return 0;
1804 }
1805 _ACEOF
1806 if ac_fn_c_try_link "$LINENO"; then :
1807 eval "$3=yes"
1808 else
1809 eval "$3=no"
1810 fi
1811 rm -f core conftest.err conftest.$ac_objext \
1812 conftest$ac_exeext conftest.$ac_ext
1813 fi
1814 eval ac_res=\$$3
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1816 $as_echo "$ac_res" >&6; }
1817 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1818
1819 } # ac_fn_c_check_func
1820
1821 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1822 # -------------------------------------------------------
1823 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1824 # the include files in INCLUDES and setting the cache variable VAR
1825 # accordingly.
1826 ac_fn_c_check_header_mongrel ()
1827 {
1828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1829 if eval \${$3+:} false; then :
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1831 $as_echo_n "checking for $2... " >&6; }
1832 if eval \${$3+:} false; then :
1833 $as_echo_n "(cached) " >&6
1834 fi
1835 eval ac_res=\$$3
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1837 $as_echo "$ac_res" >&6; }
1838 else
1839 # Is the header compilable?
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1841 $as_echo_n "checking $2 usability... " >&6; }
1842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1843 /* end confdefs.h. */
1844 $4
1845 #include <$2>
1846 _ACEOF
1847 if ac_fn_c_try_compile "$LINENO"; then :
1848 ac_header_compiler=yes
1849 else
1850 ac_header_compiler=no
1851 fi
1852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1854 $as_echo "$ac_header_compiler" >&6; }
1855
1856 # Is the header present?
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1858 $as_echo_n "checking $2 presence... " >&6; }
1859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1860 /* end confdefs.h. */
1861 #include <$2>
1862 _ACEOF
1863 if ac_fn_c_try_cpp "$LINENO"; then :
1864 ac_header_preproc=yes
1865 else
1866 ac_header_preproc=no
1867 fi
1868 rm -f conftest.err conftest.i conftest.$ac_ext
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1870 $as_echo "$ac_header_preproc" >&6; }
1871
1872 # So? What about this header?
1873 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1874 yes:no: )
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1876 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1878 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1879 ;;
1880 no:yes:* )
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1882 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1884 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1886 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1888 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1890 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1891 ( $as_echo "## --------------------------------------- ##
1892 ## Report this to http://quvi.sf.net/bugs/ ##
1893 ## --------------------------------------- ##"
1894 ) | sed "s/^/$as_me: WARNING: /" >&2
1895 ;;
1896 esac
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1898 $as_echo_n "checking for $2... " >&6; }
1899 if eval \${$3+:} false; then :
1900 $as_echo_n "(cached) " >&6
1901 else
1902 eval "$3=\$ac_header_compiler"
1903 fi
1904 eval ac_res=\$$3
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1906 $as_echo "$ac_res" >&6; }
1907 fi
1908 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1909
1910 } # ac_fn_c_check_header_mongrel
1911 cat >config.log <<_ACEOF
1912 This file contains any messages produced by compilers while
1913 running configure, to aid debugging if configure makes a mistake.
1914
1915 It was created by libquvi-scripts $as_me 0.9.20131130, which was
1916 generated by GNU Autoconf 2.69. Invocation command line was
1917
1918 $ $0 $@
1919
1920 _ACEOF
1921 exec 5>>config.log
1922 {
1923 cat <<_ASUNAME
1924 ## --------- ##
1925 ## Platform. ##
1926 ## --------- ##
1927
1928 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1929 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1930 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1931 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1932 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1933
1934 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1935 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1936
1937 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1938 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1939 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1940 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1941 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1942 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1943 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1944
1945 _ASUNAME
1946
1947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1948 for as_dir in $PATH
1949 do
1950 IFS=$as_save_IFS
1951 test -z "$as_dir" && as_dir=.
1952 $as_echo "PATH: $as_dir"
1953 done
1954 IFS=$as_save_IFS
1955
1956 } >&5
1957
1958 cat >&5 <<_ACEOF
1959
1960
1961 ## ----------- ##
1962 ## Core tests. ##
1963 ## ----------- ##
1964
1965 _ACEOF
1966
1967
1968 # Keep a trace of the command line.
1969 # Strip out --no-create and --no-recursion so they do not pile up.
1970 # Strip out --silent because we don't want to record it for future runs.
1971 # Also quote any args containing shell meta-characters.
1972 # Make two passes to allow for proper duplicate-argument suppression.
1973 ac_configure_args=
1974 ac_configure_args0=
1975 ac_configure_args1=
1976 ac_must_keep_next=false
1977 for ac_pass in 1 2
1978 do
1979 for ac_arg
1980 do
1981 case $ac_arg in
1982 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1983 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1984 | -silent | --silent | --silen | --sile | --sil)
1985 continue ;;
1986 *\'*)
1987 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1988 esac
1989 case $ac_pass in
1990 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1991 2)
1992 as_fn_append ac_configure_args1 " '$ac_arg'"
1993 if test $ac_must_keep_next = true; then
1994 ac_must_keep_next=false # Got value, back to normal.
1995 else
1996 case $ac_arg in
1997 *=* | --config-cache | -C | -disable-* | --disable-* \
1998 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1999 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2000 | -with-* | --with-* | -without-* | --without-* | --x)
2001 case "$ac_configure_args0 " in
2002 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2003 esac
2004 ;;
2005 -* ) ac_must_keep_next=true ;;
2006 esac
2007 fi
2008 as_fn_append ac_configure_args " '$ac_arg'"
2009 ;;
2010 esac
2011 done
2012 done
2013 { ac_configure_args0=; unset ac_configure_args0;}
2014 { ac_configure_args1=; unset ac_configure_args1;}
2015
2016 # When interrupted or exit'd, cleanup temporary files, and complete
2017 # config.log. We remove comments because anyway the quotes in there
2018 # would cause problems or look ugly.
2019 # WARNING: Use '\'' to represent an apostrophe within the trap.
2020 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2021 trap 'exit_status=$?
2022 # Save into config.log some information that might help in debugging.
2023 {
2024 echo
2025
2026 $as_echo "## ---------------- ##
2027 ## Cache variables. ##
2028 ## ---------------- ##"
2029 echo
2030 # The following way of writing the cache mishandles newlines in values,
2031 (
2032 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2033 eval ac_val=\$$ac_var
2034 case $ac_val in #(
2035 *${as_nl}*)
2036 case $ac_var in #(
2037 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2038 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2039 esac
2040 case $ac_var in #(
2041 _ | IFS | as_nl) ;; #(
2042 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2043 *) { eval $ac_var=; unset $ac_var;} ;;
2044 esac ;;
2045 esac
2046 done
2047 (set) 2>&1 |
2048 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2049 *${as_nl}ac_space=\ *)
2050 sed -n \
2051 "s/'\''/'\''\\\\'\'''\''/g;
2052 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2053 ;; #(
2054 *)
2055 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2056 ;;
2057 esac |
2058 sort
2059 )
2060 echo
2061
2062 $as_echo "## ----------------- ##
2063 ## Output variables. ##
2064 ## ----------------- ##"
2065 echo
2066 for ac_var in $ac_subst_vars
2067 do
2068 eval ac_val=\$$ac_var
2069 case $ac_val in
2070 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2071 esac
2072 $as_echo "$ac_var='\''$ac_val'\''"
2073 done | sort
2074 echo
2075
2076 if test -n "$ac_subst_files"; then
2077 $as_echo "## ------------------- ##
2078 ## File substitutions. ##
2079 ## ------------------- ##"
2080 echo
2081 for ac_var in $ac_subst_files
2082 do
2083 eval ac_val=\$$ac_var
2084 case $ac_val in
2085 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2086 esac
2087 $as_echo "$ac_var='\''$ac_val'\''"
2088 done | sort
2089 echo
2090 fi
2091
2092 if test -s confdefs.h; then
2093 $as_echo "## ----------- ##
2094 ## confdefs.h. ##
2095 ## ----------- ##"
2096 echo
2097 cat confdefs.h
2098 echo
2099 fi
2100 test "$ac_signal" != 0 &&
2101 $as_echo "$as_me: caught signal $ac_signal"
2102 $as_echo "$as_me: exit $exit_status"
2103 } >&5
2104 rm -f core *.core core.conftest.* &&
2105 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2106 exit $exit_status
2107 ' 0
2108 for ac_signal in 1 2 13 15; do
2109 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2110 done
2111 ac_signal=0
2112
2113 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2114 rm -f -r conftest* confdefs.h
2115
2116 $as_echo "/* confdefs.h */" > confdefs.h
2117
2118 # Predefined preprocessor variables.
2119
2120 cat >>confdefs.h <<_ACEOF
2121 #define PACKAGE_NAME "$PACKAGE_NAME"
2122 _ACEOF
2123
2124 cat >>confdefs.h <<_ACEOF
2125 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2126 _ACEOF
2127
2128 cat >>confdefs.h <<_ACEOF
2129 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2130 _ACEOF
2131
2132 cat >>confdefs.h <<_ACEOF
2133 #define PACKAGE_STRING "$PACKAGE_STRING"
2134 _ACEOF
2135
2136 cat >>confdefs.h <<_ACEOF
2137 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2138 _ACEOF
2139
2140 cat >>confdefs.h <<_ACEOF
2141 #define PACKAGE_URL "$PACKAGE_URL"
2142 _ACEOF
2143
2144
2145 # Let the site file select an alternate cache file if it wants to.
2146 # Prefer an explicitly selected file to automatically selected ones.
2147 ac_site_file1=NONE
2148 ac_site_file2=NONE
2149 if test -n "$CONFIG_SITE"; then
2150 # We do not want a PATH search for config.site.
2151 case $CONFIG_SITE in #((
2152 -*) ac_site_file1=./$CONFIG_SITE;;
2153 */*) ac_site_file1=$CONFIG_SITE;;
2154 *) ac_site_file1=./$CONFIG_SITE;;
2155 esac
2156 elif test "x$prefix" != xNONE; then
2157 ac_site_file1=$prefix/share/config.site
2158 ac_site_file2=$prefix/etc/config.site
2159 else
2160 ac_site_file1=$ac_default_prefix/share/config.site
2161 ac_site_file2=$ac_default_prefix/etc/config.site
2162 fi
2163 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2164 do
2165 test "x$ac_site_file" = xNONE && continue
2166 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2168 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2169 sed 's/^/| /' "$ac_site_file" >&5
2170 . "$ac_site_file" \
2171 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2173 as_fn_error $? "failed to load site script $ac_site_file
2174 See \`config.log' for more details" "$LINENO" 5; }
2175 fi
2176 done
2177
2178 if test -r "$cache_file"; then
2179 # Some versions of bash will fail to source /dev/null (special files
2180 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2181 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2183 $as_echo "$as_me: loading cache $cache_file" >&6;}
2184 case $cache_file in
2185 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2186 *) . "./$cache_file";;
2187 esac
2188 fi
2189 else
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2191 $as_echo "$as_me: creating cache $cache_file" >&6;}
2192 >$cache_file
2193 fi
2194
2195 # Check that the precious variables saved in the cache have kept the same
2196 # value.
2197 ac_cache_corrupted=false
2198 for ac_var in $ac_precious_vars; do
2199 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2200 eval ac_new_set=\$ac_env_${ac_var}_set
2201 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2202 eval ac_new_val=\$ac_env_${ac_var}_value
2203 case $ac_old_set,$ac_new_set in
2204 set,)
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2206 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2207 ac_cache_corrupted=: ;;
2208 ,set)
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2210 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2211 ac_cache_corrupted=: ;;
2212 ,);;
2213 *)
2214 if test "x$ac_old_val" != "x$ac_new_val"; then
2215 # differences in whitespace do not lead to failure.
2216 ac_old_val_w=`echo x $ac_old_val`
2217 ac_new_val_w=`echo x $ac_new_val`
2218 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2220 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2221 ac_cache_corrupted=:
2222 else
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2224 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2225 eval $ac_var=\$ac_old_val
2226 fi
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2228 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2230 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2231 fi;;
2232 esac
2233 # Pass precious variables to config.status.
2234 if test "$ac_new_set" = set; then
2235 case $ac_new_val in
2236 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2237 *) ac_arg=$ac_var=$ac_new_val ;;
2238 esac
2239 case " $ac_configure_args " in
2240 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2241 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2242 esac
2243 fi
2244 done
2245 if $ac_cache_corrupted; then
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2249 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2250 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2251 fi
2252 ## -------------------- ##
2253 ## Main body of script. ##
2254 ## -------------------- ##
2255
2256 ac_ext=c
2257 ac_cpp='$CPP $CPPFLAGS'
2258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2261
2262
2263
2264 BUILD_OPTS="$@"
2265
2266
2267
2268 ac_config_headers="$ac_config_headers config.h"
2269
2270 ac_aux_dir=
2271 for ac_dir in config.aux "$srcdir"/config.aux; do
2272 if test -f "$ac_dir/install-sh"; then
2273 ac_aux_dir=$ac_dir
2274 ac_install_sh="$ac_aux_dir/install-sh -c"
2275 break
2276 elif test -f "$ac_dir/install.sh"; then
2277 ac_aux_dir=$ac_dir
2278 ac_install_sh="$ac_aux_dir/install.sh -c"
2279 break
2280 elif test -f "$ac_dir/shtool"; then
2281 ac_aux_dir=$ac_dir
2282 ac_install_sh="$ac_aux_dir/shtool install -c"
2283 break
2284 fi
2285 done
2286 if test -z "$ac_aux_dir"; then
2287 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config.aux \"$srcdir\"/config.aux" "$LINENO" 5
2288 fi
2289
2290 # These three variables are undocumented and unsupported,
2291 # and are intended to be withdrawn in a future Autoconf release.
2292 # They can cause serious problems if a builder's source tree is in a directory
2293 # whose full name contains unusual characters.
2294 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2295 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2296 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2297
2298
2299
2300
2301 am__api_version='1.11'
2302
2303 # Find a good install program. We prefer a C program (faster),
2304 # so one script is as good as another. But avoid the broken or
2305 # incompatible versions:
2306 # SysV /etc/install, /usr/sbin/install
2307 # SunOS /usr/etc/install
2308 # IRIX /sbin/install
2309 # AIX /bin/install
2310 # AmigaOS /C/install, which installs bootblocks on floppy discs
2311 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2312 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2313 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2314 # OS/2's system install, which has a completely different semantic
2315 # ./install, which can be erroneously created by make from ./install.sh.
2316 # Reject install programs that cannot install multiple files.
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2318 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2319 if test -z "$INSTALL"; then
2320 if ${ac_cv_path_install+:} false; then :
2321 $as_echo_n "(cached) " >&6
2322 else
2323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2324 for as_dir in $PATH
2325 do
2326 IFS=$as_save_IFS
2327 test -z "$as_dir" && as_dir=.
2328 # Account for people who put trailing slashes in PATH elements.
2329 case $as_dir/ in #((
2330 ./ | .// | /[cC]/* | \
2331 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2332 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2333 /usr/ucb/* ) ;;
2334 *)
2335 # OSF1 and SCO ODT 3.0 have their own names for install.
2336 # Don't use installbsd from OSF since it installs stuff as root
2337 # by default.
2338 for ac_prog in ginstall scoinst install; do
2339 for ac_exec_ext in '' $ac_executable_extensions; do
2340 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2341 if test $ac_prog = install &&
2342 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2343 # AIX install. It has an incompatible calling convention.
2344 :
2345 elif test $ac_prog = install &&
2346 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2347 # program-specific install script used by HP pwplus--don't use.
2348 :
2349 else
2350 rm -rf conftest.one conftest.two conftest.dir
2351 echo one > conftest.one
2352 echo two > conftest.two
2353 mkdir conftest.dir
2354 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2355 test -s conftest.one && test -s conftest.two &&
2356 test -s conftest.dir/conftest.one &&
2357 test -s conftest.dir/conftest.two
2358 then
2359 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2360 break 3
2361 fi
2362 fi
2363 fi
2364 done
2365 done
2366 ;;
2367 esac
2368
2369 done
2370 IFS=$as_save_IFS
2371
2372 rm -rf conftest.one conftest.two conftest.dir
2373
2374 fi
2375 if test "${ac_cv_path_install+set}" = set; then
2376 INSTALL=$ac_cv_path_install
2377 else
2378 # As a last resort, use the slow shell script. Don't cache a
2379 # value for INSTALL within a source directory, because that will
2380 # break other packages using the cache if that directory is
2381 # removed, or if the value is a relative name.
2382 INSTALL=$ac_install_sh
2383 fi
2384 fi
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2386 $as_echo "$INSTALL" >&6; }
2387
2388 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2389 # It thinks the first close brace ends the variable substitution.
2390 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2391
2392 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2393
2394 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2395
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2397 $as_echo_n "checking whether build environment is sane... " >&6; }
2398 # Just in case
2399 sleep 1
2400 echo timestamp > conftest.file
2401 # Reject unsafe characters in $srcdir or the absolute working directory
2402 # name. Accept space and tab only in the latter.
2403 am_lf='
2404 '
2405 case `pwd` in
2406 *[\\\"\#\$\&\'\`$am_lf]*)
2407 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2408 esac
2409 case $srcdir in
2410 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2411 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2412 esac
2413
2414 # Do `set' in a subshell so we don't clobber the current shell's
2415 # arguments. Must try -L first in case configure is actually a
2416 # symlink; some systems play weird games with the mod time of symlinks
2417 # (eg FreeBSD returns the mod time of the symlink's containing
2418 # directory).
2419 if (
2420 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2421 if test "$*" = "X"; then
2422 # -L didn't work.
2423 set X `ls -t "$srcdir/configure" conftest.file`
2424 fi
2425 rm -f conftest.file
2426 if test "$*" != "X $srcdir/configure conftest.file" \
2427 && test "$*" != "X conftest.file $srcdir/configure"; then
2428
2429 # If neither matched, then we have a broken ls. This can happen
2430 # if, for instance, CONFIG_SHELL is bash and it inherits a
2431 # broken ls alias from the environment. This has actually
2432 # happened. Such a system could not be considered "sane".
2433 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2434 alias in your environment" "$LINENO" 5
2435 fi
2436
2437 test "$2" = conftest.file
2438 )
2439 then
2440 # Ok.
2441 :
2442 else
2443 as_fn_error $? "newly created file is older than distributed files!
2444 Check your system clock" "$LINENO" 5
2445 fi
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2447 $as_echo "yes" >&6; }
2448 test "$program_prefix" != NONE &&
2449 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2450 # Use a double $ so make ignores it.
2451 test "$program_suffix" != NONE &&
2452 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2453 # Double any \ or $.
2454 # By default was `s,x,x', remove it if useless.
2455 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2456 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2457
2458 # expand $ac_aux_dir to an absolute path
2459 am_aux_dir=`cd $ac_aux_dir && pwd`
2460
2461 if test x"${MISSING+set}" != xset; then
2462 case $am_aux_dir in
2463 *\ * | *\ *)
2464 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2465 *)
2466 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2467 esac
2468 fi
2469 # Use eval to expand $SHELL
2470 if eval "$MISSING --run true"; then
2471 am_missing_run="$MISSING --run "
2472 else
2473 am_missing_run=
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2475 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2476 fi
2477
2478 if test x"${install_sh}" != xset; then
2479 case $am_aux_dir in
2480 *\ * | *\ *)
2481 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2482 *)
2483 install_sh="\${SHELL} $am_aux_dir/install-sh"
2484 esac
2485 fi
2486
2487 # Installed binaries are usually stripped using `strip' when the user
2488 # run `make install-strip'. However `strip' might not be the right
2489 # tool to use in cross-compilation environments, therefore Automake
2490 # will honor the `STRIP' environment variable to overrule this program.
2491 if test "$cross_compiling" != no; then
2492 if test -n "$ac_tool_prefix"; then
2493 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2494 set dummy ${ac_tool_prefix}strip; ac_word=$2
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2496 $as_echo_n "checking for $ac_word... " >&6; }
2497 if ${ac_cv_prog_STRIP+:} false; then :
2498 $as_echo_n "(cached) " >&6
2499 else
2500 if test -n "$STRIP"; then
2501 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2502 else
2503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2504 for as_dir in $PATH
2505 do
2506 IFS=$as_save_IFS
2507 test -z "$as_dir" && as_dir=.
2508 for ac_exec_ext in '' $ac_executable_extensions; do
2509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2510 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2512 break 2
2513 fi
2514 done
2515 done
2516 IFS=$as_save_IFS
2517
2518 fi
2519 fi
2520 STRIP=$ac_cv_prog_STRIP
2521 if test -n "$STRIP"; then
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2523 $as_echo "$STRIP" >&6; }
2524 else
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2526 $as_echo "no" >&6; }
2527 fi
2528
2529
2530 fi
2531 if test -z "$ac_cv_prog_STRIP"; then
2532 ac_ct_STRIP=$STRIP
2533 # Extract the first word of "strip", so it can be a program name with args.
2534 set dummy strip; ac_word=$2
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2536 $as_echo_n "checking for $ac_word... " >&6; }
2537 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2538 $as_echo_n "(cached) " >&6
2539 else
2540 if test -n "$ac_ct_STRIP"; then
2541 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2542 else
2543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2544 for as_dir in $PATH
2545 do
2546 IFS=$as_save_IFS
2547 test -z "$as_dir" && as_dir=.
2548 for ac_exec_ext in '' $ac_executable_extensions; do
2549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2550 ac_cv_prog_ac_ct_STRIP="strip"
2551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2552 break 2
2553 fi
2554 done
2555 done
2556 IFS=$as_save_IFS
2557
2558 fi
2559 fi
2560 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2561 if test -n "$ac_ct_STRIP"; then
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2563 $as_echo "$ac_ct_STRIP" >&6; }
2564 else
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2566 $as_echo "no" >&6; }
2567 fi
2568
2569 if test "x$ac_ct_STRIP" = x; then
2570 STRIP=":"
2571 else
2572 case $cross_compiling:$ac_tool_warned in
2573 yes:)
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2576 ac_tool_warned=yes ;;
2577 esac
2578 STRIP=$ac_ct_STRIP
2579 fi
2580 else
2581 STRIP="$ac_cv_prog_STRIP"
2582 fi
2583
2584 fi
2585 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2586
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2588 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2589 if test -z "$MKDIR_P"; then
2590 if ${ac_cv_path_mkdir+:} false; then :
2591 $as_echo_n "(cached) " >&6
2592 else
2593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2594 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2595 do
2596 IFS=$as_save_IFS
2597 test -z "$as_dir" && as_dir=.
2598 for ac_prog in mkdir gmkdir; do
2599 for ac_exec_ext in '' $ac_executable_extensions; do
2600 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2601 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2602 'mkdir (GNU coreutils) '* | \
2603 'mkdir (coreutils) '* | \
2604 'mkdir (fileutils) '4.1*)
2605 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2606 break 3;;
2607 esac
2608 done
2609 done
2610 done
2611 IFS=$as_save_IFS
2612
2613 fi
2614
2615 test -d ./--version && rmdir ./--version
2616 if test "${ac_cv_path_mkdir+set}" = set; then
2617 MKDIR_P="$ac_cv_path_mkdir -p"
2618 else
2619 # As a last resort, use the slow shell script. Don't cache a
2620 # value for MKDIR_P within a source directory, because that will
2621 # break other packages using the cache if that directory is
2622 # removed, or if the value is a relative name.
2623 MKDIR_P="$ac_install_sh -d"
2624 fi
2625 fi
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2627 $as_echo "$MKDIR_P" >&6; }
2628
2629 mkdir_p="$MKDIR_P"
2630 case $mkdir_p in
2631 [\\/$]* | ?:[\\/]*) ;;
2632 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2633 esac
2634
2635 for ac_prog in gawk mawk nawk awk
2636 do
2637 # Extract the first word of "$ac_prog", so it can be a program name with args.
2638 set dummy $ac_prog; ac_word=$2
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2640 $as_echo_n "checking for $ac_word... " >&6; }
2641 if ${ac_cv_prog_AWK+:} false; then :
2642 $as_echo_n "(cached) " >&6
2643 else
2644 if test -n "$AWK"; then
2645 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2646 else
2647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2648 for as_dir in $PATH
2649 do
2650 IFS=$as_save_IFS
2651 test -z "$as_dir" && as_dir=.
2652 for ac_exec_ext in '' $ac_executable_extensions; do
2653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2654 ac_cv_prog_AWK="$ac_prog"
2655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2656 break 2
2657 fi
2658 done
2659 done
2660 IFS=$as_save_IFS
2661
2662 fi
2663 fi
2664 AWK=$ac_cv_prog_AWK
2665 if test -n "$AWK"; then
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2667 $as_echo "$AWK" >&6; }
2668 else
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2670 $as_echo "no" >&6; }
2671 fi
2672
2673
2674 test -n "$AWK" && break
2675 done
2676
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2678 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2679 set x ${MAKE-make}
2680 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2681 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2682 $as_echo_n "(cached) " >&6
2683 else
2684 cat >conftest.make <<\_ACEOF
2685 SHELL = /bin/sh
2686 all:
2687 @echo '@@@%%%=$(MAKE)=@@@%%%'
2688 _ACEOF
2689 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2690 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2691 *@@@%%%=?*=@@@%%%*)
2692 eval ac_cv_prog_make_${ac_make}_set=yes;;
2693 *)
2694 eval ac_cv_prog_make_${ac_make}_set=no;;
2695 esac
2696 rm -f conftest.make
2697 fi
2698 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2700 $as_echo "yes" >&6; }
2701 SET_MAKE=
2702 else
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2704 $as_echo "no" >&6; }
2705 SET_MAKE="MAKE=${MAKE-make}"
2706 fi
2707
2708 rm -rf .tst 2>/dev/null
2709 mkdir .tst 2>/dev/null
2710 if test -d .tst; then
2711 am__leading_dot=.
2712 else
2713 am__leading_dot=_
2714 fi
2715 rmdir .tst 2>/dev/null
2716
2717 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2718 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2719 # is not polluted with repeated "-I."
2720 am__isrc=' -I$(srcdir)'
2721 # test to see if srcdir already configured
2722 if test -f $srcdir/config.status; then
2723 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2724 fi
2725 fi
2726
2727 # test whether we have cygpath
2728 if test -z "$CYGPATH_W"; then
2729 if (cygpath --version) >/dev/null 2>/dev/null; then
2730 CYGPATH_W='cygpath -w'
2731 else
2732 CYGPATH_W=echo
2733 fi
2734 fi
2735
2736
2737 # Define the identity of the package.
2738 PACKAGE='libquvi-scripts'
2739 VERSION='0.9.20131130'
2740
2741
2742 cat >>confdefs.h <<_ACEOF
2743 #define PACKAGE "$PACKAGE"
2744 _ACEOF
2745
2746
2747 cat >>confdefs.h <<_ACEOF
2748 #define VERSION "$VERSION"
2749 _ACEOF
2750
2751 # Some tools Automake needs.
2752
2753 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2754
2755
2756 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2757
2758
2759 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2760
2761
2762 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2763
2764
2765 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2766
2767 # We need awk for the "check" target. The system "awk" is bad on
2768 # some platforms.
2769 # Always define AMTAR for backward compatibility. Yes, it's still used
2770 # in the wild :-( We should find a proper way to deprecate it ...
2771 AMTAR='$${TAR-tar}'
2772
2773
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2775 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
2776 # Loop over all known methods to create a tar archive until one works.
2777 _am_tools='gnutar plaintar pax cpio none'
2778 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2779 # Do not fold the above two line into one, because Tru64 sh and
2780 # Solaris sh will not grok spaces in the rhs of `-'.
2781 for _am_tool in $_am_tools
2782 do
2783 case $_am_tool in
2784 gnutar)
2785 for _am_tar in tar gnutar gtar;
2786 do
2787 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2788 ($_am_tar --version) >&5 2>&5
2789 ac_status=$?
2790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2791 (exit $ac_status); } && break
2792 done
2793 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2794 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2795 am__untar="$_am_tar -xf -"
2796 ;;
2797 plaintar)
2798 # Must skip GNU tar: if it does not support --format= it doesn't create
2799 # ustar tarball either.
2800 (tar --version) >/dev/null 2>&1 && continue
2801 am__tar='tar chf - "$$tardir"'
2802 am__tar_='tar chf - "$tardir"'
2803 am__untar='tar xf -'
2804 ;;
2805 pax)
2806 am__tar='pax -L -x ustar -w "$$tardir"'
2807 am__tar_='pax -L -x ustar -w "$tardir"'
2808 am__untar='pax -r'
2809 ;;
2810 cpio)
2811 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2812 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2813 am__untar='cpio -i -H ustar -d'
2814 ;;
2815 none)
2816 am__tar=false
2817 am__tar_=false
2818 am__untar=false
2819 ;;
2820 esac
2821
2822 # If the value was cached, stop now. We just wanted to have am__tar
2823 # and am__untar set.
2824 test -n "${am_cv_prog_tar_ustar}" && break
2825
2826 # tar/untar a dummy directory, and stop if the command works
2827 rm -rf conftest.dir
2828 mkdir conftest.dir
2829 echo GrepMe > conftest.dir/file
2830 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2831 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2832 ac_status=$?
2833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834 (exit $ac_status); }
2835 rm -rf conftest.dir
2836 if test -s conftest.tar; then
2837 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2838 ($am__untar <conftest.tar) >&5 2>&5
2839 ac_status=$?
2840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2841 (exit $ac_status); }
2842 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2843 fi
2844 done
2845 rm -rf conftest.dir
2846
2847 if ${am_cv_prog_tar_ustar+:} false; then :
2848 $as_echo_n "(cached) " >&6
2849 else
2850 am_cv_prog_tar_ustar=$_am_tool
2851 fi
2852
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2854 $as_echo "$am_cv_prog_tar_ustar" >&6; }
2855
2856
2857
2858
2859
2860 # Check whether --enable-silent-rules was given.
2861 if test "${enable_silent_rules+set}" = set; then :
2862 enableval=$enable_silent_rules;
2863 fi
2864
2865 case $enable_silent_rules in
2866 yes) AM_DEFAULT_VERBOSITY=0;;
2867 no) AM_DEFAULT_VERBOSITY=1;;
2868 *) AM_DEFAULT_VERBOSITY=0;;
2869 esac
2870 am_make=${MAKE-make}
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2872 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2873 if ${am_cv_make_support_nested_variables+:} false; then :
2874 $as_echo_n "(cached) " >&6
2875 else
2876 if $as_echo 'TRUE=$(BAR$(V))
2877 BAR0=false
2878 BAR1=true
2879 V=1
2880 am__doit:
2881 @$(TRUE)
2882 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2883 am_cv_make_support_nested_variables=yes
2884 else
2885 am_cv_make_support_nested_variables=no
2886 fi
2887 fi
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2889 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2890 if test $am_cv_make_support_nested_variables = yes; then
2891 AM_V='$(V)'
2892 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2893 else
2894 AM_V=$AM_DEFAULT_VERBOSITY
2895 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2896 fi
2897 AM_BACKSLASH='\'
2898
2899
2900 # GNU Automake 1.12 requires this macro. Earlier versions do not
2901 # recognize this macro. Work around this.
2902 DEPDIR="${am__leading_dot}deps"
2903
2904 ac_config_commands="$ac_config_commands depfiles"
2905
2906
2907 am_make=${MAKE-make}
2908 cat > confinc << 'END'
2909 am__doit:
2910 @echo this is the am__doit target
2911 .PHONY: am__doit
2912 END
2913 # If we don't find an include directive, just comment out the code.
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2915 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2916 am__include="#"
2917 am__quote=
2918 _am_result=none
2919 # First try GNU make style include.
2920 echo "include confinc" > confmf
2921 # Ignore all kinds of additional output from `make'.
2922 case `$am_make -s -f confmf 2> /dev/null` in #(
2923 *the\ am__doit\ target*)
2924 am__include=include
2925 am__quote=
2926 _am_result=GNU
2927 ;;
2928 esac
2929 # Now try BSD make style include.
2930 if test "$am__include" = "#"; then
2931 echo '.include "confinc"' > confmf
2932 case `$am_make -s -f confmf 2> /dev/null` in #(
2933 *the\ am__doit\ target*)
2934 am__include=.include
2935 am__quote="\""
2936 _am_result=BSD
2937 ;;
2938 esac
2939 fi
2940
2941
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2943 $as_echo "$_am_result" >&6; }
2944 rm -f confinc confmf
2945
2946 # Check whether --enable-dependency-tracking was given.
2947 if test "${enable_dependency_tracking+set}" = set; then :
2948 enableval=$enable_dependency_tracking;
2949 fi
2950
2951 if test "x$enable_dependency_tracking" != xno; then
2952 am_depcomp="$ac_aux_dir/depcomp"
2953 AMDEPBACKSLASH='\'
2954 am__nodep='_no'
2955 fi
2956 if test "x$enable_dependency_tracking" != xno; then
2957 AMDEP_TRUE=
2958 AMDEP_FALSE='#'
2959 else
2960 AMDEP_TRUE='#'
2961 AMDEP_FALSE=
2962 fi
2963
2964
2965 ac_ext=c
2966 ac_cpp='$CPP $CPPFLAGS'
2967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2970 if test -n "$ac_tool_prefix"; then
2971 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2972 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2974 $as_echo_n "checking for $ac_word... " >&6; }
2975 if ${ac_cv_prog_CC+:} false; then :
2976 $as_echo_n "(cached) " >&6
2977 else
2978 if test -n "$CC"; then
2979 ac_cv_prog_CC="$CC" # Let the user override the test.
2980 else
2981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2982 for as_dir in $PATH
2983 do
2984 IFS=$as_save_IFS
2985 test -z "$as_dir" && as_dir=.
2986 for ac_exec_ext in '' $ac_executable_extensions; do
2987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2988 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2990 break 2
2991 fi
2992 done
2993 done
2994 IFS=$as_save_IFS
2995
2996 fi
2997 fi
2998 CC=$ac_cv_prog_CC
2999 if test -n "$CC"; then
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3001 $as_echo "$CC" >&6; }
3002 else
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3004 $as_echo "no" >&6; }
3005 fi
3006
3007
3008 fi
3009 if test -z "$ac_cv_prog_CC"; then
3010 ac_ct_CC=$CC
3011 # Extract the first word of "gcc", so it can be a program name with args.
3012 set dummy gcc; ac_word=$2
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3014 $as_echo_n "checking for $ac_word... " >&6; }
3015 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3016 $as_echo_n "(cached) " >&6
3017 else
3018 if test -n "$ac_ct_CC"; then
3019 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3020 else
3021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3022 for as_dir in $PATH
3023 do
3024 IFS=$as_save_IFS
3025 test -z "$as_dir" && as_dir=.
3026 for ac_exec_ext in '' $ac_executable_extensions; do
3027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3028 ac_cv_prog_ac_ct_CC="gcc"
3029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3030 break 2
3031 fi
3032 done
3033 done
3034 IFS=$as_save_IFS
3035
3036 fi
3037 fi
3038 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3039 if test -n "$ac_ct_CC"; then
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3041 $as_echo "$ac_ct_CC" >&6; }
3042 else
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3044 $as_echo "no" >&6; }
3045 fi
3046
3047 if test "x$ac_ct_CC" = x; then
3048 CC=""
3049 else
3050 case $cross_compiling:$ac_tool_warned in
3051 yes:)
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3054 ac_tool_warned=yes ;;
3055 esac
3056 CC=$ac_ct_CC
3057 fi
3058 else
3059 CC="$ac_cv_prog_CC"
3060 fi
3061
3062 if test -z "$CC"; then
3063 if test -n "$ac_tool_prefix"; then
3064 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3065 set dummy ${ac_tool_prefix}cc; ac_word=$2
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3067 $as_echo_n "checking for $ac_word... " >&6; }
3068 if ${ac_cv_prog_CC+:} false; then :
3069 $as_echo_n "(cached) " >&6
3070 else
3071 if test -n "$CC"; then
3072 ac_cv_prog_CC="$CC" # Let the user override the test.
3073 else
3074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3075 for as_dir in $PATH
3076 do
3077 IFS=$as_save_IFS
3078 test -z "$as_dir" && as_dir=.
3079 for ac_exec_ext in '' $ac_executable_extensions; do
3080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3081 ac_cv_prog_CC="${ac_tool_prefix}cc"
3082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3083 break 2
3084 fi
3085 done
3086 done
3087 IFS=$as_save_IFS
3088
3089 fi
3090 fi
3091 CC=$ac_cv_prog_CC
3092 if test -n "$CC"; then
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3094 $as_echo "$CC" >&6; }
3095 else
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3097 $as_echo "no" >&6; }
3098 fi
3099
3100
3101 fi
3102 fi
3103 if test -z "$CC"; then
3104 # Extract the first word of "cc", so it can be a program name with args.
3105 set dummy cc; ac_word=$2
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3107 $as_echo_n "checking for $ac_word... " >&6; }
3108 if ${ac_cv_prog_CC+:} false; then :
3109 $as_echo_n "(cached) " >&6
3110 else
3111 if test -n "$CC"; then
3112 ac_cv_prog_CC="$CC" # Let the user override the test.
3113 else
3114 ac_prog_rejected=no
3115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3116 for as_dir in $PATH
3117 do
3118 IFS=$as_save_IFS
3119 test -z "$as_dir" && as_dir=.
3120 for ac_exec_ext in '' $ac_executable_extensions; do
3121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3122 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3123 ac_prog_rejected=yes
3124 continue
3125 fi
3126 ac_cv_prog_CC="cc"
3127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3128 break 2
3129 fi
3130 done
3131 done
3132 IFS=$as_save_IFS
3133
3134 if test $ac_prog_rejected = yes; then
3135 # We found a bogon in the path, so make sure we never use it.
3136 set dummy $ac_cv_prog_CC
3137 shift
3138 if test $# != 0; then
3139 # We chose a different compiler from the bogus one.
3140 # However, it has the same basename, so the bogon will be chosen
3141 # first if we set CC to just the basename; use the full file name.
3142 shift
3143 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3144 fi
3145 fi
3146 fi
3147 fi
3148 CC=$ac_cv_prog_CC
3149 if test -n "$CC"; then
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3151 $as_echo "$CC" >&6; }
3152 else
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3154 $as_echo "no" >&6; }
3155 fi
3156
3157
3158 fi
3159 if test -z "$CC"; then
3160 if test -n "$ac_tool_prefix"; then
3161 for ac_prog in cl.exe
3162 do
3163 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3164 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3166 $as_echo_n "checking for $ac_word... " >&6; }
3167 if ${ac_cv_prog_CC+:} false; then :
3168 $as_echo_n "(cached) " >&6
3169 else
3170 if test -n "$CC"; then
3171 ac_cv_prog_CC="$CC" # Let the user override the test.
3172 else
3173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3174 for as_dir in $PATH
3175 do
3176 IFS=$as_save_IFS
3177 test -z "$as_dir" && as_dir=.
3178 for ac_exec_ext in '' $ac_executable_extensions; do
3179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3180 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3182 break 2
3183 fi
3184 done
3185 done
3186 IFS=$as_save_IFS
3187
3188 fi
3189 fi
3190 CC=$ac_cv_prog_CC
3191 if test -n "$CC"; then
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3193 $as_echo "$CC" >&6; }
3194 else
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3196 $as_echo "no" >&6; }
3197 fi
3198
3199
3200 test -n "$CC" && break
3201 done
3202 fi
3203 if test -z "$CC"; then
3204 ac_ct_CC=$CC
3205 for ac_prog in cl.exe
3206 do
3207 # Extract the first word of "$ac_prog", so it can be a program name with args.
3208 set dummy $ac_prog; ac_word=$2
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3210 $as_echo_n "checking for $ac_word... " >&6; }
3211 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3212 $as_echo_n "(cached) " >&6
3213 else
3214 if test -n "$ac_ct_CC"; then
3215 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3216 else
3217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3218 for as_dir in $PATH
3219 do
3220 IFS=$as_save_IFS
3221 test -z "$as_dir" && as_dir=.
3222 for ac_exec_ext in '' $ac_executable_extensions; do
3223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3224 ac_cv_prog_ac_ct_CC="$ac_prog"
3225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3226 break 2
3227 fi
3228 done
3229 done
3230 IFS=$as_save_IFS
3231
3232 fi
3233 fi
3234 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3235 if test -n "$ac_ct_CC"; then
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3237 $as_echo "$ac_ct_CC" >&6; }
3238 else
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3240 $as_echo "no" >&6; }
3241 fi
3242
3243
3244 test -n "$ac_ct_CC" && break
3245 done
3246
3247 if test "x$ac_ct_CC" = x; then
3248 CC=""
3249 else
3250 case $cross_compiling:$ac_tool_warned in
3251 yes:)
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3254 ac_tool_warned=yes ;;
3255 esac
3256 CC=$ac_ct_CC
3257 fi
3258 fi
3259
3260 fi
3261
3262
3263 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3264 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3265 as_fn_error $? "no acceptable C compiler found in \$PATH
3266 See \`config.log' for more details" "$LINENO" 5; }
3267
3268 # Provide some information about the compiler.
3269 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3270 set X $ac_compile
3271 ac_compiler=$2
3272 for ac_option in --version -v -V -qversion; do
3273 { { ac_try="$ac_compiler $ac_option >&5"
3274 case "(($ac_try" in
3275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3276 *) ac_try_echo=$ac_try;;
3277 esac
3278 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3279 $as_echo "$ac_try_echo"; } >&5
3280 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3281 ac_status=$?
3282 if test -s conftest.err; then
3283 sed '10a\
3284 ... rest of stderr output deleted ...
3285 10q' conftest.err >conftest.er1
3286 cat conftest.er1 >&5
3287 fi
3288 rm -f conftest.er1 conftest.err
3289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3290 test $ac_status = 0; }
3291 done
3292
3293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3294 /* end confdefs.h. */
3295
3296 int
3297 main ()
3298 {
3299
3300 ;
3301 return 0;
3302 }
3303 _ACEOF
3304 ac_clean_files_save=$ac_clean_files
3305 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3306 # Try to create an executable without -o first, disregard a.out.
3307 # It will help us diagnose broken compilers, and finding out an intuition
3308 # of exeext.
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3310 $as_echo_n "checking whether the C compiler works... " >&6; }
3311 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3312
3313 # The possible output files:
3314 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3315
3316 ac_rmfiles=
3317 for ac_file in $ac_files
3318 do
3319 case $ac_file in
3320 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3321 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3322 esac
3323 done
3324 rm -f $ac_rmfiles
3325
3326 if { { ac_try="$ac_link_default"
3327 case "(($ac_try" in
3328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3329 *) ac_try_echo=$ac_try;;
3330 esac
3331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3332 $as_echo "$ac_try_echo"; } >&5
3333 (eval "$ac_link_default") 2>&5
3334 ac_status=$?
3335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3336 test $ac_status = 0; }; then :
3337 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3338 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3339 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3340 # so that the user can short-circuit this test for compilers unknown to
3341 # Autoconf.
3342 for ac_file in $ac_files ''
3343 do
3344 test -f "$ac_file" || continue
3345 case $ac_file in
3346 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3347 ;;
3348 [ab].out )
3349 # We found the default executable, but exeext='' is most
3350 # certainly right.
3351 break;;
3352 *.* )
3353 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3354 then :; else
3355 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3356 fi
3357 # We set ac_cv_exeext here because the later test for it is not
3358 # safe: cross compilers may not add the suffix if given an `-o'
3359 # argument, so we may need to know it at that point already.
3360 # Even if this section looks crufty: it has the advantage of
3361 # actually working.
3362 break;;
3363 * )
3364 break;;
3365 esac
3366 done
3367 test "$ac_cv_exeext" = no && ac_cv_exeext=
3368
3369 else
3370 ac_file=''
3371 fi
3372 if test -z "$ac_file"; then :
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3374 $as_echo "no" >&6; }
3375 $as_echo "$as_me: failed program was:" >&5
3376 sed 's/^/| /' conftest.$ac_ext >&5
3377
3378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3380 as_fn_error 77 "C compiler cannot create executables
3381 See \`config.log' for more details" "$LINENO" 5; }
3382 else
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3384 $as_echo "yes" >&6; }
3385 fi
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3387 $as_echo_n "checking for C compiler default output file name... " >&6; }
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3389 $as_echo "$ac_file" >&6; }
3390 ac_exeext=$ac_cv_exeext
3391
3392 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3393 ac_clean_files=$ac_clean_files_save
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3395 $as_echo_n "checking for suffix of executables... " >&6; }
3396 if { { ac_try="$ac_link"
3397 case "(($ac_try" in
3398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3399 *) ac_try_echo=$ac_try;;
3400 esac
3401 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3402 $as_echo "$ac_try_echo"; } >&5
3403 (eval "$ac_link") 2>&5
3404 ac_status=$?
3405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3406 test $ac_status = 0; }; then :
3407 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3408 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3409 # work properly (i.e., refer to `conftest.exe'), while it won't with
3410 # `rm'.
3411 for ac_file in conftest.exe conftest conftest.*; do
3412 test -f "$ac_file" || continue
3413 case $ac_file in
3414 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3415 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3416 break;;
3417 * ) break;;
3418 esac
3419 done
3420 else
3421 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3422 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3423 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3424 See \`config.log' for more details" "$LINENO" 5; }
3425 fi
3426 rm -f conftest conftest$ac_cv_exeext
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3428 $as_echo "$ac_cv_exeext" >&6; }
3429
3430 rm -f conftest.$ac_ext
3431 EXEEXT=$ac_cv_exeext
3432 ac_exeext=$EXEEXT
3433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3434 /* end confdefs.h. */
3435 #include <stdio.h>
3436 int
3437 main ()
3438 {
3439 FILE *f = fopen ("conftest.out", "w");
3440 return ferror (f) || fclose (f) != 0;
3441
3442 ;
3443 return 0;
3444 }
3445 _ACEOF
3446 ac_clean_files="$ac_clean_files conftest.out"
3447 # Check that the compiler produces executables we can run. If not, either
3448 # the compiler is broken, or we cross compile.
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3450 $as_echo_n "checking whether we are cross compiling... " >&6; }
3451 if test "$cross_compiling" != yes; then
3452 { { ac_try="$ac_link"
3453 case "(($ac_try" in
3454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3455 *) ac_try_echo=$ac_try;;
3456 esac
3457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3458 $as_echo "$ac_try_echo"; } >&5
3459 (eval "$ac_link") 2>&5
3460 ac_status=$?
3461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3462 test $ac_status = 0; }
3463 if { ac_try='./conftest$ac_cv_exeext'
3464 { { case "(($ac_try" in
3465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3466 *) ac_try_echo=$ac_try;;
3467 esac
3468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3469 $as_echo "$ac_try_echo"; } >&5
3470 (eval "$ac_try") 2>&5
3471 ac_status=$?
3472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3473 test $ac_status = 0; }; }; then
3474 cross_compiling=no
3475 else
3476 if test "$cross_compiling" = maybe; then
3477 cross_compiling=yes
3478 else
3479 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3481 as_fn_error $? "cannot run C compiled programs.
3482 If you meant to cross compile, use \`--host'.
3483 See \`config.log' for more details" "$LINENO" 5; }
3484 fi
3485 fi
3486 fi
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3488 $as_echo "$cross_compiling" >&6; }
3489
3490 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3491 ac_clean_files=$ac_clean_files_save
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3493 $as_echo_n "checking for suffix of object files... " >&6; }
3494 if ${ac_cv_objext+:} false; then :
3495 $as_echo_n "(cached) " >&6
3496 else
3497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498 /* end confdefs.h. */
3499
3500 int
3501 main ()
3502 {
3503
3504 ;
3505 return 0;
3506 }
3507 _ACEOF
3508 rm -f conftest.o conftest.obj
3509 if { { ac_try="$ac_compile"
3510 case "(($ac_try" in
3511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3512 *) ac_try_echo=$ac_try;;
3513 esac
3514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3515 $as_echo "$ac_try_echo"; } >&5
3516 (eval "$ac_compile") 2>&5
3517 ac_status=$?
3518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3519 test $ac_status = 0; }; then :
3520 for ac_file in conftest.o conftest.obj conftest.*; do
3521 test -f "$ac_file" || continue;
3522 case $ac_file in
3523 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3524 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3525 break;;
3526 esac
3527 done
3528 else
3529 $as_echo "$as_me: failed program was:" >&5
3530 sed 's/^/| /' conftest.$ac_ext >&5
3531
3532 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3534 as_fn_error $? "cannot compute suffix of object files: cannot compile
3535 See \`config.log' for more details" "$LINENO" 5; }
3536 fi
3537 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3538 fi
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3540 $as_echo "$ac_cv_objext" >&6; }
3541 OBJEXT=$ac_cv_objext
3542 ac_objext=$OBJEXT
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3544 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3545 if ${ac_cv_c_compiler_gnu+:} false; then :
3546 $as_echo_n "(cached) " >&6
3547 else
3548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3549 /* end confdefs.h. */
3550
3551 int
3552 main ()
3553 {
3554 #ifndef __GNUC__
3555 choke me
3556 #endif
3557
3558 ;
3559 return 0;
3560 }
3561 _ACEOF
3562 if ac_fn_c_try_compile "$LINENO"; then :
3563 ac_compiler_gnu=yes
3564 else
3565 ac_compiler_gnu=no
3566 fi
3567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3568 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3569
3570 fi
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3572 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3573 if test $ac_compiler_gnu = yes; then
3574 GCC=yes
3575 else
3576 GCC=
3577 fi
3578 ac_test_CFLAGS=${CFLAGS+set}
3579 ac_save_CFLAGS=$CFLAGS
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3581 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3582 if ${ac_cv_prog_cc_g+:} false; then :
3583 $as_echo_n "(cached) " >&6
3584 else
3585 ac_save_c_werror_flag=$ac_c_werror_flag
3586 ac_c_werror_flag=yes
3587 ac_cv_prog_cc_g=no
3588 CFLAGS="-g"
3589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3590 /* end confdefs.h. */
3591
3592 int
3593 main ()
3594 {
3595
3596 ;
3597 return 0;
3598 }
3599 _ACEOF
3600 if ac_fn_c_try_compile "$LINENO"; then :
3601 ac_cv_prog_cc_g=yes
3602 else
3603 CFLAGS=""
3604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3605 /* end confdefs.h. */
3606
3607 int
3608 main ()
3609 {
3610
3611 ;
3612 return 0;
3613 }
3614 _ACEOF
3615 if ac_fn_c_try_compile "$LINENO"; then :
3616
3617 else
3618 ac_c_werror_flag=$ac_save_c_werror_flag
3619 CFLAGS="-g"
3620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3621 /* end confdefs.h. */
3622
3623 int
3624 main ()
3625 {
3626
3627 ;
3628 return 0;
3629 }
3630 _ACEOF
3631 if ac_fn_c_try_compile "$LINENO"; then :
3632 ac_cv_prog_cc_g=yes
3633 fi
3634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3635 fi
3636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3637 fi
3638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3639 ac_c_werror_flag=$ac_save_c_werror_flag
3640 fi
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3642 $as_echo "$ac_cv_prog_cc_g" >&6; }
3643 if test "$ac_test_CFLAGS" = set; then
3644 CFLAGS=$ac_save_CFLAGS
3645 elif test $ac_cv_prog_cc_g = yes; then
3646 if test "$GCC" = yes; then
3647 CFLAGS="-g -O2"
3648 else
3649 CFLAGS="-g"
3650 fi
3651 else
3652 if test "$GCC" = yes; then
3653 CFLAGS="-O2"
3654 else
3655 CFLAGS=
3656 fi
3657 fi
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3659 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3660 if ${ac_cv_prog_cc_c89+:} false; then :
3661 $as_echo_n "(cached) " >&6
3662 else
3663 ac_cv_prog_cc_c89=no
3664 ac_save_CC=$CC
3665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3666 /* end confdefs.h. */
3667 #include <stdarg.h>
3668 #include <stdio.h>
3669 struct stat;
3670 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3671 struct buf { int x; };
3672 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3673 static char *e (p, i)
3674 char **p;
3675 int i;
3676 {
3677 return p[i];
3678 }
3679 static char *f (char * (*g) (char **, int), char **p, ...)
3680 {
3681 char *s;
3682 va_list v;
3683 va_start (v,p);
3684 s = g (p, va_arg (v,int));
3685 va_end (v);
3686 return s;
3687 }
3688
3689 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3690 function prototypes and stuff, but not '\xHH' hex character constants.
3691 These don't provoke an error unfortunately, instead are silently treated
3692 as 'x'. The following induces an error, until -std is added to get
3693 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3694 array size at least. It's necessary to write '\x00'==0 to get something
3695 that's true only with -std. */
3696 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3697
3698 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3699 inside strings and character constants. */
3700 #define FOO(x) 'x'
3701 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3702
3703 int test (int i, double x);
3704 struct s1 {int (*f) (int a);};
3705 struct s2 {int (*f) (double a);};
3706 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3707 int argc;
3708 char **argv;
3709 int
3710 main ()
3711 {
3712 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3713 ;
3714 return 0;
3715 }
3716 _ACEOF
3717 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3718 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3719 do
3720 CC="$ac_save_CC $ac_arg"
3721 if ac_fn_c_try_compile "$LINENO"; then :
3722 ac_cv_prog_cc_c89=$ac_arg
3723 fi
3724 rm -f core conftest.err conftest.$ac_objext
3725 test "x$ac_cv_prog_cc_c89" != "xno" && break
3726 done
3727 rm -f conftest.$ac_ext
3728 CC=$ac_save_CC
3729
3730 fi
3731 # AC_CACHE_VAL
3732 case "x$ac_cv_prog_cc_c89" in
3733 x)
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3735 $as_echo "none needed" >&6; } ;;
3736 xno)
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3738 $as_echo "unsupported" >&6; } ;;
3739 *)
3740 CC="$CC $ac_cv_prog_cc_c89"
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3742 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3743 esac
3744 if test "x$ac_cv_prog_cc_c89" != xno; then :
3745
3746 fi
3747
3748 ac_ext=c
3749 ac_cpp='$CPP $CPPFLAGS'
3750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3753
3754 depcc="$CC" am_compiler_list=
3755
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3757 $as_echo_n "checking dependency style of $depcc... " >&6; }
3758 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3759 $as_echo_n "(cached) " >&6
3760 else
3761 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3762 # We make a subdir and do the tests there. Otherwise we can end up
3763 # making bogus files that we don't know about and never remove. For
3764 # instance it was reported that on HP-UX the gcc test will end up
3765 # making a dummy file named `D' -- because `-MD' means `put the output
3766 # in D'.
3767 rm -rf conftest.dir
3768 mkdir conftest.dir
3769 # Copy depcomp to subdir because otherwise we won't find it if we're
3770 # using a relative directory.
3771 cp "$am_depcomp" conftest.dir
3772 cd conftest.dir
3773 # We will build objects and dependencies in a subdirectory because
3774 # it helps to detect inapplicable dependency modes. For instance
3775 # both Tru64's cc and ICC support -MD to output dependencies as a
3776 # side effect of compilation, but ICC will put the dependencies in
3777 # the current directory while Tru64 will put them in the object
3778 # directory.
3779 mkdir sub
3780
3781 am_cv_CC_dependencies_compiler_type=none
3782 if test "$am_compiler_list" = ""; then
3783 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3784 fi
3785 am__universal=false
3786 case " $depcc " in #(
3787 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3788 esac
3789
3790 for depmode in $am_compiler_list; do
3791 # Setup a source with many dependencies, because some compilers
3792 # like to wrap large dependency lists on column 80 (with \), and
3793 # we should not choose a depcomp mode which is confused by this.
3794 #
3795 # We need to recreate these files for each test, as the compiler may
3796 # overwrite some of them when testing with obscure command lines.
3797 # This happens at least with the AIX C compiler.
3798 : > sub/conftest.c
3799 for i in 1 2 3 4 5 6; do
3800 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3801 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3802 # Solaris 8's {/usr,}/bin/sh.
3803 touch sub/conftst$i.h
3804 done
3805 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3806
3807 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3808 # mode. It turns out that the SunPro C++ compiler does not properly
3809 # handle `-M -o', and we need to detect this. Also, some Intel
3810 # versions had trouble with output in subdirs
3811 am__obj=sub/conftest.${OBJEXT-o}
3812 am__minus_obj="-o $am__obj"
3813 case $depmode in
3814 gcc)
3815 # This depmode causes a compiler race in universal mode.
3816 test "$am__universal" = false || continue
3817 ;;
3818 nosideeffect)
3819 # after this tag, mechanisms are not by side-effect, so they'll
3820 # only be used when explicitly requested
3821 if test "x$enable_dependency_tracking" = xyes; then
3822 continue
3823 else
3824 break
3825 fi
3826 ;;
3827 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3828 # This compiler won't grok `-c -o', but also, the minuso test has
3829 # not run yet. These depmodes are late enough in the game, and
3830 # so weak that their functioning should not be impacted.
3831 am__obj=conftest.${OBJEXT-o}
3832 am__minus_obj=
3833 ;;
3834 none) break ;;
3835 esac
3836 if depmode=$depmode \
3837 source=sub/conftest.c object=$am__obj \
3838 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3839 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3840 >/dev/null 2>conftest.err &&
3841 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3842 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3843 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3844 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3845 # icc doesn't choke on unknown options, it will just issue warnings
3846 # or remarks (even with -Werror). So we grep stderr for any message
3847 # that says an option was ignored or not supported.
3848 # When given -MP, icc 7.0 and 7.1 complain thusly:
3849 # icc: Command line warning: ignoring option '-M'; no argument required
3850 # The diagnosis changed in icc 8.0:
3851 # icc: Command line remark: option '-MP' not supported
3852 if (grep 'ignoring option' conftest.err ||
3853 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3854 am_cv_CC_dependencies_compiler_type=$depmode
3855 break
3856 fi
3857 fi
3858 done
3859
3860 cd ..
3861 rm -rf conftest.dir
3862 else
3863 am_cv_CC_dependencies_compiler_type=none
3864 fi
3865
3866 fi
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3868 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3869 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3870
3871 if
3872 test "x$enable_dependency_tracking" != xno \
3873 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3874 am__fastdepCC_TRUE=
3875 am__fastdepCC_FALSE='#'
3876 else
3877 am__fastdepCC_TRUE='#'
3878 am__fastdepCC_FALSE=
3879 fi
3880
3881
3882
3883 if test -n "$ac_tool_prefix"; then
3884 for ac_prog in ar lib "link -lib"
3885 do
3886 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3887 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3889 $as_echo_n "checking for $ac_word... " >&6; }
3890 if ${ac_cv_prog_AR+:} false; then :
3891 $as_echo_n "(cached) " >&6
3892 else
3893 if test -n "$AR"; then
3894 ac_cv_prog_AR="$AR" # Let the user override the test.
3895 else
3896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3897 for as_dir in $PATH
3898 do
3899 IFS=$as_save_IFS
3900 test -z "$as_dir" && as_dir=.
3901 for ac_exec_ext in '' $ac_executable_extensions; do
3902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3903 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
3904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3905 break 2
3906 fi
3907 done
3908 done
3909 IFS=$as_save_IFS
3910
3911 fi
3912 fi
3913 AR=$ac_cv_prog_AR
3914 if test -n "$AR"; then
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3916 $as_echo "$AR" >&6; }
3917 else
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3919 $as_echo "no" >&6; }
3920 fi
3921
3922
3923 test -n "$AR" && break
3924 done
3925 fi
3926 if test -z "$AR"; then
3927 ac_ct_AR=$AR
3928 for ac_prog in ar lib "link -lib"
3929 do
3930 # Extract the first word of "$ac_prog", so it can be a program name with args.
3931 set dummy $ac_prog; ac_word=$2
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3933 $as_echo_n "checking for $ac_word... " >&6; }
3934 if ${ac_cv_prog_ac_ct_AR+:} false; then :
3935 $as_echo_n "(cached) " >&6
3936 else
3937 if test -n "$ac_ct_AR"; then
3938 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3939 else
3940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3941 for as_dir in $PATH
3942 do
3943 IFS=$as_save_IFS
3944 test -z "$as_dir" && as_dir=.
3945 for ac_exec_ext in '' $ac_executable_extensions; do
3946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3947 ac_cv_prog_ac_ct_AR="$ac_prog"
3948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3949 break 2
3950 fi
3951 done
3952 done
3953 IFS=$as_save_IFS
3954
3955 fi
3956 fi
3957 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3958 if test -n "$ac_ct_AR"; then
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3960 $as_echo "$ac_ct_AR" >&6; }
3961 else
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3963 $as_echo "no" >&6; }
3964 fi
3965
3966
3967 test -n "$ac_ct_AR" && break
3968 done
3969
3970 if test "x$ac_ct_AR" = x; then
3971 AR="false"
3972 else
3973 case $cross_compiling:$ac_tool_warned in
3974 yes:)
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3977 ac_tool_warned=yes ;;
3978 esac
3979 AR=$ac_ct_AR
3980 fi
3981 fi
3982
3983 : ${AR=ar}
3984
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
3986 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
3987 if ${am_cv_ar_interface+:} false; then :
3988 $as_echo_n "(cached) " >&6
3989 else
3990 am_cv_ar_interface=ar
3991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3992 /* end confdefs.h. */
3993 int some_variable = 0;
3994 _ACEOF
3995 if ac_fn_c_try_compile "$LINENO"; then :
3996 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
3997 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
3998 (eval $am_ar_try) 2>&5
3999 ac_status=$?
4000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4001 test $ac_status = 0; }
4002 if test "$ac_status" -eq 0; then
4003 am_cv_ar_interface=ar
4004 else
4005 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4006 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4007 (eval $am_ar_try) 2>&5
4008 ac_status=$?
4009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4010 test $ac_status = 0; }
4011 if test "$ac_status" -eq 0; then
4012 am_cv_ar_interface=lib
4013 else
4014 am_cv_ar_interface=unknown
4015 fi
4016 fi
4017 rm -f conftest.lib libconftest.a
4018
4019 fi
4020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4021
4022 fi
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4024 $as_echo "$am_cv_ar_interface" >&6; }
4025
4026 case $am_cv_ar_interface in
4027 ar)
4028 ;;
4029 lib)
4030 # Microsoft lib, so override with the ar-lib wrapper script.
4031 # FIXME: It is wrong to rewrite AR.
4032 # But if we don't then we get into trouble of one sort or another.
4033 # A longer-term fix would be to have automake use am__AR in this case,
4034 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4035 # similar.
4036 AR="$am_aux_dir/ar-lib $AR"
4037 ;;
4038 unknown)
4039 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4040 ;;
4041 esac
4042
4043
4044 case `pwd` in
4045 *\ * | *\ *)
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4047 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4048 esac
4049
4050
4051
4052 macro_version='2.4.2'
4053 macro_revision='1.3337'
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067 ltmain="$ac_aux_dir/ltmain.sh"
4068
4069 # Make sure we can run config.sub.
4070 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4071 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4072
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4074 $as_echo_n "checking build system type... " >&6; }
4075 if ${ac_cv_build+:} false; then :
4076 $as_echo_n "(cached) " >&6
4077 else
4078 ac_build_alias=$build_alias
4079 test "x$ac_build_alias" = x &&
4080 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4081 test "x$ac_build_alias" = x &&
4082 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4083 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4084 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4085
4086 fi
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4088 $as_echo "$ac_cv_build" >&6; }
4089 case $ac_cv_build in
4090 *-*-*) ;;
4091 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4092 esac
4093 build=$ac_cv_build
4094 ac_save_IFS=$IFS; IFS='-'
4095 set x $ac_cv_build
4096 shift
4097 build_cpu=$1
4098 build_vendor=$2
4099 shift; shift
4100 # Remember, the first character of IFS is used to create $*,
4101 # except with old shells:
4102 build_os=$*
4103 IFS=$ac_save_IFS
4104 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4105
4106
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4108 $as_echo_n "checking host system type... " >&6; }
4109 if ${ac_cv_host+:} false; then :
4110 $as_echo_n "(cached) " >&6
4111 else
4112 if test "x$host_alias" = x; then
4113 ac_cv_host=$ac_cv_build
4114 else
4115 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4116 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4117 fi
4118
4119 fi
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4121 $as_echo "$ac_cv_host" >&6; }
4122 case $ac_cv_host in
4123 *-*-*) ;;
4124 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4125 esac
4126 host=$ac_cv_host
4127 ac_save_IFS=$IFS; IFS='-'
4128 set x $ac_cv_host
4129 shift
4130 host_cpu=$1
4131 host_vendor=$2
4132 shift; shift
4133 # Remember, the first character of IFS is used to create $*,
4134 # except with old shells:
4135 host_os=$*
4136 IFS=$ac_save_IFS
4137 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4138
4139
4140 # Backslashify metacharacters that are still active within
4141 # double-quoted strings.
4142 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4143
4144 # Same as above, but do not quote variable references.
4145 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4146
4147 # Sed substitution to delay expansion of an escaped shell variable in a
4148 # double_quote_subst'ed string.
4149 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4150
4151 # Sed substitution to delay expansion of an escaped single quote.
4152 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4153
4154 # Sed substitution to avoid accidental globbing in evaled expressions
4155 no_glob_subst='s/\*/\\\*/g'
4156
4157 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4158 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4159 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4160
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4162 $as_echo_n "checking how to print strings... " >&6; }
4163 # Test print first, because it will be a builtin if present.
4164 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4165 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4166 ECHO='print -r --'
4167 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4168 ECHO='printf %s\n'
4169 else
4170 # Use this function as a fallback that always works.
4171 func_fallback_echo ()
4172 {
4173 eval 'cat <<_LTECHO_EOF
4174 $1
4175 _LTECHO_EOF'
4176 }
4177 ECHO='func_fallback_echo'
4178 fi
4179
4180 # func_echo_all arg...
4181 # Invoke $ECHO with all args, space-separated.
4182 func_echo_all ()
4183 {
4184 $ECHO ""
4185 }
4186
4187 case "$ECHO" in
4188 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4189 $as_echo "printf" >&6; } ;;
4190 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4191 $as_echo "print -r" >&6; } ;;
4192 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4193 $as_echo "cat" >&6; } ;;
4194 esac
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4210 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4211 if ${ac_cv_path_SED+:} false; then :
4212 $as_echo_n "(cached) " >&6
4213 else
4214 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4215 for ac_i in 1 2 3 4 5 6 7; do
4216 ac_script="$ac_script$as_nl$ac_script"
4217 done
4218 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4219 { ac_script=; unset ac_script;}
4220 if test -z "$SED"; then
4221 ac_path_SED_found=false
4222 # Loop through the user's path and test for each of PROGNAME-LIST
4223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4224 for as_dir in $PATH
4225 do
4226 IFS=$as_save_IFS
4227 test -z "$as_dir" && as_dir=.
4228 for ac_prog in sed gsed; do
4229 for ac_exec_ext in '' $ac_executable_extensions; do
4230 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4231 as_fn_executable_p "$ac_path_SED" || continue
4232 # Check for GNU ac_path_SED and select it if it is found.
4233 # Check for GNU $ac_path_SED
4234 case `"$ac_path_SED" --version 2>&1` in
4235 *GNU*)
4236 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4237 *)
4238 ac_count=0
4239 $as_echo_n 0123456789 >"conftest.in"
4240 while :
4241 do
4242 cat "conftest.in" "conftest.in" >"conftest.tmp"
4243 mv "conftest.tmp" "conftest.in"
4244 cp "conftest.in" "conftest.nl"
4245 $as_echo '' >> "conftest.nl"
4246 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4247 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4248 as_fn_arith $ac_count + 1 && ac_count=$as_val
4249 if test $ac_count -gt ${ac_path_SED_max-0}; then
4250 # Best one so far, save it but keep looking for a better one
4251 ac_cv_path_SED="$ac_path_SED"
4252 ac_path_SED_max=$ac_count
4253 fi
4254 # 10*(2^10) chars as input seems more than enough
4255 test $ac_count -gt 10 && break
4256 done
4257 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4258 esac
4259
4260 $ac_path_SED_found && break 3
4261 done
4262 done
4263 done
4264 IFS=$as_save_IFS
4265 if test -z "$ac_cv_path_SED"; then
4266 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4267 fi
4268 else
4269 ac_cv_path_SED=$SED
4270 fi
4271
4272 fi
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4274 $as_echo "$ac_cv_path_SED" >&6; }
4275 SED="$ac_cv_path_SED"
4276 rm -f conftest.sed
4277
4278 test -z "$SED" && SED=sed
4279 Xsed="$SED -e 1s/^X//"
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4292 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4293 if ${ac_cv_path_GREP+:} false; then :
4294 $as_echo_n "(cached) " >&6
4295 else
4296 if test -z "$GREP"; then
4297 ac_path_GREP_found=false
4298 # Loop through the user's path and test for each of PROGNAME-LIST
4299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4300 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4301 do
4302 IFS=$as_save_IFS
4303 test -z "$as_dir" && as_dir=.
4304 for ac_prog in grep ggrep; do
4305 for ac_exec_ext in '' $ac_executable_extensions; do
4306 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4307 as_fn_executable_p "$ac_path_GREP" || continue
4308 # Check for GNU ac_path_GREP and select it if it is found.
4309 # Check for GNU $ac_path_GREP
4310 case `"$ac_path_GREP" --version 2>&1` in
4311 *GNU*)
4312 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4313 *)
4314 ac_count=0
4315 $as_echo_n 0123456789 >"conftest.in"
4316 while :
4317 do
4318 cat "conftest.in" "conftest.in" >"conftest.tmp"
4319 mv "conftest.tmp" "conftest.in"
4320 cp "conftest.in" "conftest.nl"
4321 $as_echo 'GREP' >> "conftest.nl"
4322 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4323 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4324 as_fn_arith $ac_count + 1 && ac_count=$as_val
4325 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4326 # Best one so far, save it but keep looking for a better one
4327 ac_cv_path_GREP="$ac_path_GREP"
4328 ac_path_GREP_max=$ac_count
4329 fi
4330 # 10*(2^10) chars as input seems more than enough
4331 test $ac_count -gt 10 && break
4332 done
4333 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4334 esac
4335
4336 $ac_path_GREP_found && break 3
4337 done
4338 done
4339 done
4340 IFS=$as_save_IFS
4341 if test -z "$ac_cv_path_GREP"; then
4342 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4343 fi
4344 else
4345 ac_cv_path_GREP=$GREP
4346 fi
4347
4348 fi
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4350 $as_echo "$ac_cv_path_GREP" >&6; }
4351 GREP="$ac_cv_path_GREP"
4352
4353
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4355 $as_echo_n "checking for egrep... " >&6; }
4356 if ${ac_cv_path_EGREP+:} false; then :
4357 $as_echo_n "(cached) " >&6
4358 else
4359 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4360 then ac_cv_path_EGREP="$GREP -E"
4361 else
4362 if test -z "$EGREP"; then
4363 ac_path_EGREP_found=false
4364 # Loop through the user's path and test for each of PROGNAME-LIST
4365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4366 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4367 do
4368 IFS=$as_save_IFS
4369 test -z "$as_dir" && as_dir=.
4370 for ac_prog in egrep; do
4371 for ac_exec_ext in '' $ac_executable_extensions; do
4372 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4373 as_fn_executable_p "$ac_path_EGREP" || continue
4374 # Check for GNU ac_path_EGREP and select it if it is found.
4375 # Check for GNU $ac_path_EGREP
4376 case `"$ac_path_EGREP" --version 2>&1` in
4377 *GNU*)
4378 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4379 *)
4380 ac_count=0
4381 $as_echo_n 0123456789 >"conftest.in"
4382 while :
4383 do
4384 cat "conftest.in" "conftest.in" >"conftest.tmp"
4385 mv "conftest.tmp" "conftest.in"
4386 cp "conftest.in" "conftest.nl"
4387 $as_echo 'EGREP' >> "conftest.nl"
4388 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4389 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4390 as_fn_arith $ac_count + 1 && ac_count=$as_val
4391 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4392 # Best one so far, save it but keep looking for a better one
4393 ac_cv_path_EGREP="$ac_path_EGREP"
4394 ac_path_EGREP_max=$ac_count
4395 fi
4396 # 10*(2^10) chars as input seems more than enough
4397 test $ac_count -gt 10 && break
4398 done
4399 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4400 esac
4401
4402 $ac_path_EGREP_found && break 3
4403 done
4404 done
4405 done
4406 IFS=$as_save_IFS
4407 if test -z "$ac_cv_path_EGREP"; then
4408 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4409 fi
4410 else
4411 ac_cv_path_EGREP=$EGREP
4412 fi
4413
4414 fi
4415 fi
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4417 $as_echo "$ac_cv_path_EGREP" >&6; }
4418 EGREP="$ac_cv_path_EGREP"
4419
4420
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4422 $as_echo_n "checking for fgrep... " >&6; }
4423 if ${ac_cv_path_FGREP+:} false; then :
4424 $as_echo_n "(cached) " >&6
4425 else
4426 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4427 then ac_cv_path_FGREP="$GREP -F"
4428 else
4429 if test -z "$FGREP"; then
4430 ac_path_FGREP_found=false
4431 # Loop through the user's path and test for each of PROGNAME-LIST
4432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4433 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4434 do
4435 IFS=$as_save_IFS
4436 test -z "$as_dir" && as_dir=.
4437 for ac_prog in fgrep; do
4438 for ac_exec_ext in '' $ac_executable_extensions; do
4439 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4440 as_fn_executable_p "$ac_path_FGREP" || continue
4441 # Check for GNU ac_path_FGREP and select it if it is found.
4442 # Check for GNU $ac_path_FGREP
4443 case `"$ac_path_FGREP" --version 2>&1` in
4444 *GNU*)
4445 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4446 *)
4447 ac_count=0
4448 $as_echo_n 0123456789 >"conftest.in"
4449 while :
4450 do
4451 cat "conftest.in" "conftest.in" >"conftest.tmp"
4452 mv "conftest.tmp" "conftest.in"
4453 cp "conftest.in" "conftest.nl"
4454 $as_echo 'FGREP' >> "conftest.nl"
4455 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4456 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4457 as_fn_arith $ac_count + 1 && ac_count=$as_val
4458 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4459 # Best one so far, save it but keep looking for a better one
4460 ac_cv_path_FGREP="$ac_path_FGREP"
4461 ac_path_FGREP_max=$ac_count
4462 fi
4463 # 10*(2^10) chars as input seems more than enough
4464 test $ac_count -gt 10 && break
4465 done
4466 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4467 esac
4468
4469 $ac_path_FGREP_found && break 3
4470 done
4471 done
4472 done
4473 IFS=$as_save_IFS
4474 if test -z "$ac_cv_path_FGREP"; then
4475 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4476 fi
4477 else
4478 ac_cv_path_FGREP=$FGREP
4479 fi
4480
4481 fi
4482 fi
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4484 $as_echo "$ac_cv_path_FGREP" >&6; }
4485 FGREP="$ac_cv_path_FGREP"
4486
4487
4488 test -z "$GREP" && GREP=grep
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508 # Check whether --with-gnu-ld was given.
4509 if test "${with_gnu_ld+set}" = set; then :
4510 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4511 else
4512 with_gnu_ld=no
4513 fi
4514
4515 ac_prog=ld
4516 if test "$GCC" = yes; then
4517 # Check if gcc -print-prog-name=ld gives a path.
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4519 $as_echo_n "checking for ld used by $CC... " >&6; }
4520 case $host in
4521 *-*-mingw*)
4522 # gcc leaves a trailing carriage return which upsets mingw
4523 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4524 *)
4525 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4526 esac
4527 case $ac_prog in
4528 # Accept absolute paths.
4529 [\\/]* | ?:[\\/]*)
4530 re_direlt='/[^/][^/]*/\.\./'
4531 # Canonicalize the pathname of ld
4532 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4533 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4534 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4535 done
4536 test -z "$LD" && LD="$ac_prog"
4537 ;;
4538 "")
4539 # If it fails, then pretend we aren't using GCC.
4540 ac_prog=ld
4541 ;;
4542 *)
4543 # If it is relative, then search for the first ld in PATH.
4544 with_gnu_ld=unknown
4545 ;;
4546 esac
4547 elif test "$with_gnu_ld" = yes; then
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4549 $as_echo_n "checking for GNU ld... " >&6; }
4550 else
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4552 $as_echo_n "checking for non-GNU ld... " >&6; }
4553 fi
4554 if ${lt_cv_path_LD+:} false; then :
4555 $as_echo_n "(cached) " >&6
4556 else
4557 if test -z "$LD"; then
4558 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4559 for ac_dir in $PATH; do
4560 IFS="$lt_save_ifs"
4561 test -z "$ac_dir" && ac_dir=.
4562 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4563 lt_cv_path_LD="$ac_dir/$ac_prog"
4564 # Check to see if the program is GNU ld. I'd rather use --version,
4565 # but apparently some variants of GNU ld only accept -v.
4566 # Break only if it was the GNU/non-GNU ld that we prefer.
4567 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4568 *GNU* | *'with BFD'*)
4569 test "$with_gnu_ld" != no && break
4570 ;;
4571 *)
4572 test "$with_gnu_ld" != yes && break
4573 ;;
4574 esac
4575 fi
4576 done
4577 IFS="$lt_save_ifs"
4578 else
4579 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4580 fi
4581 fi
4582
4583 LD="$lt_cv_path_LD"
4584 if test -n "$LD"; then
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4586 $as_echo "$LD" >&6; }
4587 else
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4589 $as_echo "no" >&6; }
4590 fi
4591 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4593 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4594 if ${lt_cv_prog_gnu_ld+:} false; then :
4595 $as_echo_n "(cached) " >&6
4596 else
4597 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4598 case `$LD -v 2>&1 </dev/null` in
4599 *GNU* | *'with BFD'*)
4600 lt_cv_prog_gnu_ld=yes
4601 ;;
4602 *)
4603 lt_cv_prog_gnu_ld=no
4604 ;;
4605 esac
4606 fi
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4608 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4609 with_gnu_ld=$lt_cv_prog_gnu_ld
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4620 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4621 if ${lt_cv_path_NM+:} false; then :
4622 $as_echo_n "(cached) " >&6
4623 else
4624 if test -n "$NM"; then
4625 # Let the user override the test.
4626 lt_cv_path_NM="$NM"
4627 else
4628 lt_nm_to_check="${ac_tool_prefix}nm"
4629 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4630 lt_nm_to_check="$lt_nm_to_check nm"
4631 fi
4632 for lt_tmp_nm in $lt_nm_to_check; do
4633 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4634 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4635 IFS="$lt_save_ifs"
4636 test -z "$ac_dir" && ac_dir=.
4637 tmp_nm="$ac_dir/$lt_tmp_nm"
4638 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4639 # Check to see if the nm accepts a BSD-compat flag.
4640 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4641 # nm: unknown option "B" ignored
4642 # Tru64's nm complains that /dev/null is an invalid object file
4643 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4644 */dev/null* | *'Invalid file or object type'*)
4645 lt_cv_path_NM="$tmp_nm -B"
4646 break
4647 ;;
4648 *)
4649 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4650 */dev/null*)
4651 lt_cv_path_NM="$tmp_nm -p"
4652 break
4653 ;;
4654 *)
4655 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4656 continue # so that we can try to find one that supports BSD flags
4657 ;;
4658 esac
4659 ;;
4660 esac
4661 fi
4662 done
4663 IFS="$lt_save_ifs"
4664 done
4665 : ${lt_cv_path_NM=no}
4666 fi
4667 fi
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4669 $as_echo "$lt_cv_path_NM" >&6; }
4670 if test "$lt_cv_path_NM" != "no"; then
4671 NM="$lt_cv_path_NM"
4672 else
4673 # Didn't find any BSD compatible name lister, look for dumpbin.
4674 if test -n "$DUMPBIN"; then :
4675 # Let the user override the test.
4676 else
4677 if test -n "$ac_tool_prefix"; then
4678 for ac_prog in dumpbin "link -dump"
4679 do
4680 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4681 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4683 $as_echo_n "checking for $ac_word... " >&6; }
4684 if ${ac_cv_prog_DUMPBIN+:} false; then :
4685 $as_echo_n "(cached) " >&6
4686 else
4687 if test -n "$DUMPBIN"; then
4688 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4689 else
4690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4691 for as_dir in $PATH
4692 do
4693 IFS=$as_save_IFS
4694 test -z "$as_dir" && as_dir=.
4695 for ac_exec_ext in '' $ac_executable_extensions; do
4696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4697 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4699 break 2
4700 fi
4701 done
4702 done
4703 IFS=$as_save_IFS
4704
4705 fi
4706 fi
4707 DUMPBIN=$ac_cv_prog_DUMPBIN
4708 if test -n "$DUMPBIN"; then
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4710 $as_echo "$DUMPBIN" >&6; }
4711 else
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4713 $as_echo "no" >&6; }
4714 fi
4715
4716
4717 test -n "$DUMPBIN" && break
4718 done
4719 fi
4720 if test -z "$DUMPBIN"; then
4721 ac_ct_DUMPBIN=$DUMPBIN
4722 for ac_prog in dumpbin "link -dump"
4723 do
4724 # Extract the first word of "$ac_prog", so it can be a program name with args.
4725 set dummy $ac_prog; ac_word=$2
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4727 $as_echo_n "checking for $ac_word... " >&6; }
4728 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4729 $as_echo_n "(cached) " >&6
4730 else
4731 if test -n "$ac_ct_DUMPBIN"; then
4732 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4733 else
4734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4735 for as_dir in $PATH
4736 do
4737 IFS=$as_save_IFS
4738 test -z "$as_dir" && as_dir=.
4739 for ac_exec_ext in '' $ac_executable_extensions; do
4740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4741 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4743 break 2
4744 fi
4745 done
4746 done
4747 IFS=$as_save_IFS
4748
4749 fi
4750 fi
4751 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4752 if test -n "$ac_ct_DUMPBIN"; then
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4754 $as_echo "$ac_ct_DUMPBIN" >&6; }
4755 else
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4757 $as_echo "no" >&6; }
4758 fi
4759
4760
4761 test -n "$ac_ct_DUMPBIN" && break
4762 done
4763
4764 if test "x$ac_ct_DUMPBIN" = x; then
4765 DUMPBIN=":"
4766 else
4767 case $cross_compiling:$ac_tool_warned in
4768 yes:)
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4770 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4771 ac_tool_warned=yes ;;
4772 esac
4773 DUMPBIN=$ac_ct_DUMPBIN
4774 fi
4775 fi
4776
4777 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4778 *COFF*)
4779 DUMPBIN="$DUMPBIN -symbols"
4780 ;;
4781 *)
4782 DUMPBIN=:
4783 ;;
4784 esac
4785 fi
4786
4787 if test "$DUMPBIN" != ":"; then
4788 NM="$DUMPBIN"
4789 fi
4790 fi
4791 test -z "$NM" && NM=nm
4792
4793
4794
4795
4796
4797
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4799 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4800 if ${lt_cv_nm_interface+:} false; then :
4801 $as_echo_n "(cached) " >&6
4802 else
4803 lt_cv_nm_interface="BSD nm"
4804 echo "int some_variable = 0;" > conftest.$ac_ext
4805 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4806 (eval "$ac_compile" 2>conftest.err)
4807 cat conftest.err >&5
4808 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4809 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4810 cat conftest.err >&5
4811 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4812 cat conftest.out >&5
4813 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4814 lt_cv_nm_interface="MS dumpbin"
4815 fi
4816 rm -f conftest*
4817 fi
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4819 $as_echo "$lt_cv_nm_interface" >&6; }
4820
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4822 $as_echo_n "checking whether ln -s works... " >&6; }
4823 LN_S=$as_ln_s
4824 if test "$LN_S" = "ln -s"; then
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4826 $as_echo "yes" >&6; }
4827 else
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4829 $as_echo "no, using $LN_S" >&6; }
4830 fi
4831
4832 # find the maximum length of command line arguments
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4834 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4835 if ${lt_cv_sys_max_cmd_len+:} false; then :
4836 $as_echo_n "(cached) " >&6
4837 else
4838 i=0
4839 teststring="ABCD"
4840
4841 case $build_os in
4842 msdosdjgpp*)
4843 # On DJGPP, this test can blow up pretty badly due to problems in libc
4844 # (any single argument exceeding 2000 bytes causes a buffer overrun
4845 # during glob expansion). Even if it were fixed, the result of this
4846 # check would be larger than it should be.
4847 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4848 ;;
4849
4850 gnu*)
4851 # Under GNU Hurd, this test is not required because there is
4852 # no limit to the length of command line arguments.
4853 # Libtool will interpret -1 as no limit whatsoever
4854 lt_cv_sys_max_cmd_len=-1;
4855 ;;
4856
4857 cygwin* | mingw* | cegcc*)
4858 # On Win9x/ME, this test blows up -- it succeeds, but takes
4859 # about 5 minutes as the teststring grows exponentially.
4860 # Worse, since 9x/ME are not pre-emptively multitasking,
4861 # you end up with a "frozen" computer, even though with patience
4862 # the test eventually succeeds (with a max line length of 256k).
4863 # Instead, let's just punt: use the minimum linelength reported by
4864 # all of the supported platforms: 8192 (on NT/2K/XP).
4865 lt_cv_sys_max_cmd_len=8192;
4866 ;;
4867
4868 mint*)
4869 # On MiNT this can take a long time and run out of memory.
4870 lt_cv_sys_max_cmd_len=8192;
4871 ;;
4872
4873 amigaos*)
4874 # On AmigaOS with pdksh, this test takes hours, literally.
4875 # So we just punt and use a minimum line length of 8192.
4876 lt_cv_sys_max_cmd_len=8192;
4877 ;;
4878
4879 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4880 # This has been around since 386BSD, at least. Likely further.
4881 if test -x /sbin/sysctl; then
4882 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4883 elif test -x /usr/sbin/sysctl; then
4884 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4885 else
4886 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4887 fi
4888 # And add a safety zone
4889 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4890 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4891 ;;
4892
4893 interix*)
4894 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4895 lt_cv_sys_max_cmd_len=196608
4896 ;;
4897
4898 os2*)
4899 # The test takes a long time on OS/2.
4900 lt_cv_sys_max_cmd_len=8192
4901 ;;
4902
4903 osf*)
4904 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4905 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4906 # nice to cause kernel panics so lets avoid the loop below.
4907 # First set a reasonable default.
4908 lt_cv_sys_max_cmd_len=16384
4909 #
4910 if test -x /sbin/sysconfig; then
4911 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4912 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4913 esac
4914 fi
4915 ;;
4916 sco3.2v5*)
4917 lt_cv_sys_max_cmd_len=102400
4918 ;;
4919 sysv5* | sco5v6* | sysv4.2uw2*)
4920 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4921 if test -n "$kargmax"; then
4922 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4923 else
4924 lt_cv_sys_max_cmd_len=32768
4925 fi
4926 ;;
4927 *)
4928 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4929 if test -n "$lt_cv_sys_max_cmd_len"; then
4930 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4931 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4932 else
4933 # Make teststring a little bigger before we do anything with it.
4934 # a 1K string should be a reasonable start.
4935 for i in 1 2 3 4 5 6 7 8 ; do
4936 teststring=$teststring$teststring
4937 done
4938 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4939 # If test is not a shell built-in, we'll probably end up computing a
4940 # maximum length that is only half of the actual maximum length, but
4941 # we can't tell.
4942 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4943 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4944 test $i != 17 # 1/2 MB should be enough
4945 do
4946 i=`expr $i + 1`
4947 teststring=$teststring$teststring
4948 done
4949 # Only check the string length outside the loop.
4950 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4951 teststring=
4952 # Add a significant safety factor because C++ compilers can tack on
4953 # massive amounts of additional arguments before passing them to the
4954 # linker. It appears as though 1/2 is a usable value.
4955 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4956 fi
4957 ;;
4958 esac
4959
4960 fi
4961
4962 if test -n $lt_cv_sys_max_cmd_len ; then
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4964 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4965 else
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4967 $as_echo "none" >&6; }
4968 fi
4969 max_cmd_len=$lt_cv_sys_max_cmd_len
4970
4971
4972
4973
4974
4975
4976 : ${CP="cp -f"}
4977 : ${MV="mv -f"}
4978 : ${RM="rm -f"}
4979
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4981 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4982 # Try some XSI features
4983 xsi_shell=no
4984 ( _lt_dummy="a/b/c"
4985 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4986 = c,a/b,b/c, \
4987 && eval 'test $(( 1 + 1 )) -eq 2 \
4988 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4989 && xsi_shell=yes
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4991 $as_echo "$xsi_shell" >&6; }
4992
4993
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4995 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4996 lt_shell_append=no
4997 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4998 >/dev/null 2>&1 \
4999 && lt_shell_append=yes
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5001 $as_echo "$lt_shell_append" >&6; }
5002
5003
5004 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5005 lt_unset=unset
5006 else
5007 lt_unset=false
5008 fi
5009
5010
5011
5012
5013
5014 # test EBCDIC or ASCII
5015 case `echo X|tr X '\101'` in
5016 A) # ASCII based system
5017 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5018 lt_SP2NL='tr \040 \012'
5019 lt_NL2SP='tr \015\012 \040\040'
5020 ;;
5021 *) # EBCDIC based system
5022 lt_SP2NL='tr \100 \n'
5023 lt_NL2SP='tr \r\n \100\100'
5024 ;;
5025 esac
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5036 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5037 if ${lt_cv_to_host_file_cmd+:} false; then :
5038 $as_echo_n "(cached) " >&6
5039 else
5040 case $host in
5041 *-*-mingw* )
5042 case $build in
5043 *-*-mingw* ) # actually msys
5044 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5045 ;;
5046 *-*-cygwin* )
5047 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5048 ;;
5049 * ) # otherwise, assume *nix
5050 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5051 ;;
5052 esac
5053 ;;
5054 *-*-cygwin* )
5055 case $build in
5056 *-*-mingw* ) # actually msys
5057 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5058 ;;
5059 *-*-cygwin* )
5060 lt_cv_to_host_file_cmd=func_convert_file_noop
5061 ;;
5062 * ) # otherwise, assume *nix
5063 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5064 ;;
5065 esac
5066 ;;
5067 * ) # unhandled hosts (and "normal" native builds)
5068 lt_cv_to_host_file_cmd=func_convert_file_noop
5069 ;;
5070 esac
5071
5072 fi
5073
5074 to_host_file_cmd=$lt_cv_to_host_file_cmd
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5076 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5077
5078
5079
5080
5081
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5083 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5084 if ${lt_cv_to_tool_file_cmd+:} false; then :
5085 $as_echo_n "(cached) " >&6
5086 else
5087 #assume ordinary cross tools, or native build.
5088 lt_cv_to_tool_file_cmd=func_convert_file_noop
5089 case $host in
5090 *-*-mingw* )
5091 case $build in
5092 *-*-mingw* ) # actually msys
5093 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5094 ;;
5095 esac
5096 ;;
5097 esac
5098
5099 fi
5100
5101 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5103 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5104
5105
5106
5107
5108
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5110 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5111 if ${lt_cv_ld_reload_flag+:} false; then :
5112 $as_echo_n "(cached) " >&6
5113 else
5114 lt_cv_ld_reload_flag='-r'
5115 fi
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5117 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5118 reload_flag=$lt_cv_ld_reload_flag
5119 case $reload_flag in
5120 "" | " "*) ;;
5121 *) reload_flag=" $reload_flag" ;;
5122 esac
5123 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5124 case $host_os in
5125 cygwin* | mingw* | pw32* | cegcc*)
5126 if test "$GCC" != yes; then
5127 reload_cmds=false
5128 fi
5129 ;;
5130 darwin*)
5131 if test "$GCC" = yes; then
5132 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5133 else
5134 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5135 fi
5136 ;;
5137 esac
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147 if test -n "$ac_tool_prefix"; then
5148 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5149 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5151 $as_echo_n "checking for $ac_word... " >&6; }
5152 if ${ac_cv_prog_OBJDUMP+:} false; then :
5153 $as_echo_n "(cached) " >&6
5154 else
5155 if test -n "$OBJDUMP"; then
5156 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5157 else
5158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5159 for as_dir in $PATH
5160 do
5161 IFS=$as_save_IFS
5162 test -z "$as_dir" && as_dir=.
5163 for ac_exec_ext in '' $ac_executable_extensions; do
5164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5165 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5167 break 2
5168 fi
5169 done
5170 done
5171 IFS=$as_save_IFS
5172
5173 fi
5174 fi
5175 OBJDUMP=$ac_cv_prog_OBJDUMP
5176 if test -n "$OBJDUMP"; then
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5178 $as_echo "$OBJDUMP" >&6; }
5179 else
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5181 $as_echo "no" >&6; }
5182 fi
5183
5184
5185 fi
5186 if test -z "$ac_cv_prog_OBJDUMP"; then
5187 ac_ct_OBJDUMP=$OBJDUMP
5188 # Extract the first word of "objdump", so it can be a program name with args.
5189 set dummy objdump; ac_word=$2
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5191 $as_echo_n "checking for $ac_word... " >&6; }
5192 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5193 $as_echo_n "(cached) " >&6
5194 else
5195 if test -n "$ac_ct_OBJDUMP"; then
5196 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5197 else
5198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5199 for as_dir in $PATH
5200 do
5201 IFS=$as_save_IFS
5202 test -z "$as_dir" && as_dir=.
5203 for ac_exec_ext in '' $ac_executable_extensions; do
5204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5205 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5207 break 2
5208 fi
5209 done
5210 done
5211 IFS=$as_save_IFS
5212
5213 fi
5214 fi
5215 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5216 if test -n "$ac_ct_OBJDUMP"; then
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5218 $as_echo "$ac_ct_OBJDUMP" >&6; }
5219 else
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5221 $as_echo "no" >&6; }
5222 fi
5223
5224 if test "x$ac_ct_OBJDUMP" = x; then
5225 OBJDUMP="false"
5226 else
5227 case $cross_compiling:$ac_tool_warned in
5228 yes:)
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5231 ac_tool_warned=yes ;;
5232 esac
5233 OBJDUMP=$ac_ct_OBJDUMP
5234 fi
5235 else
5236 OBJDUMP="$ac_cv_prog_OBJDUMP"
5237 fi
5238
5239 test -z "$OBJDUMP" && OBJDUMP=objdump
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5250 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5251 if ${lt_cv_deplibs_check_method+:} false; then :
5252 $as_echo_n "(cached) " >&6
5253 else
5254 lt_cv_file_magic_cmd='$MAGIC_CMD'
5255 lt_cv_file_magic_test_file=
5256 lt_cv_deplibs_check_method='unknown'
5257 # Need to set the preceding variable on all platforms that support
5258 # interlibrary dependencies.
5259 # 'none' -- dependencies not supported.
5260 # `unknown' -- same as none, but documents that we really don't know.
5261 # 'pass_all' -- all dependencies passed with no checks.
5262 # 'test_compile' -- check by making test program.
5263 # 'file_magic [[regex]]' -- check by looking for files in library path
5264 # which responds to the $file_magic_cmd with a given extended regex.
5265 # If you have `file' or equivalent on your system and you're not sure
5266 # whether `pass_all' will *always* work, you probably want this one.
5267
5268 case $host_os in
5269 aix[4-9]*)
5270 lt_cv_deplibs_check_method=pass_all
5271 ;;
5272
5273 beos*)
5274 lt_cv_deplibs_check_method=pass_all
5275 ;;
5276
5277 bsdi[45]*)
5278 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5279 lt_cv_file_magic_cmd='/usr/bin/file -L'
5280 lt_cv_file_magic_test_file=/shlib/libc.so
5281 ;;
5282
5283 cygwin*)
5284 # func_win32_libid is a shell function defined in ltmain.sh
5285 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5286 lt_cv_file_magic_cmd='func_win32_libid'
5287 ;;
5288
5289 mingw* | pw32*)
5290 # Base MSYS/MinGW do not provide the 'file' command needed by
5291 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5292 # unless we find 'file', for example because we are cross-compiling.
5293 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5294 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5295 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5296 lt_cv_file_magic_cmd='func_win32_libid'
5297 else
5298 # Keep this pattern in sync with the one in func_win32_libid.
5299 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5300 lt_cv_file_magic_cmd='$OBJDUMP -f'
5301 fi
5302 ;;
5303
5304 cegcc*)
5305 # use the weaker test based on 'objdump'. See mingw*.
5306 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5307 lt_cv_file_magic_cmd='$OBJDUMP -f'
5308 ;;
5309
5310 darwin* | rhapsody*)
5311 lt_cv_deplibs_check_method=pass_all
5312 ;;
5313
5314 freebsd* | dragonfly*)
5315 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5316 case $host_cpu in
5317 i*86 )
5318 # Not sure whether the presence of OpenBSD here was a mistake.
5319 # Let's accept both of them until this is cleared up.
5320 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5321 lt_cv_file_magic_cmd=/usr/bin/file
5322 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5323 ;;
5324 esac
5325 else
5326 lt_cv_deplibs_check_method=pass_all
5327 fi
5328 ;;
5329
5330 haiku*)
5331 lt_cv_deplibs_check_method=pass_all
5332 ;;
5333
5334 hpux10.20* | hpux11*)
5335 lt_cv_file_magic_cmd=/usr/bin/file
5336 case $host_cpu in
5337 ia64*)
5338 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5339 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5340 ;;
5341 hppa*64*)
5342 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5343 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5344 ;;
5345 *)
5346 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5347 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5348 ;;
5349 esac
5350 ;;
5351
5352 interix[3-9]*)
5353 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5354 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5355 ;;
5356
5357 irix5* | irix6* | nonstopux*)
5358 case $LD in
5359 *-32|*"-32 ") libmagic=32-bit;;
5360 *-n32|*"-n32 ") libmagic=N32;;
5361 *-64|*"-64 ") libmagic=64-bit;;
5362 *) libmagic=never-match;;
5363 esac
5364 lt_cv_deplibs_check_method=pass_all
5365 ;;
5366
5367 # This must be glibc/ELF.
5368 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5369 lt_cv_deplibs_check_method=pass_all
5370 ;;
5371
5372 netbsd* | netbsdelf*-gnu)
5373 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5374 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5375 else
5376 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5377 fi
5378 ;;
5379
5380 newos6*)
5381 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5382 lt_cv_file_magic_cmd=/usr/bin/file
5383 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5384 ;;
5385
5386 *nto* | *qnx*)
5387 lt_cv_deplibs_check_method=pass_all
5388 ;;
5389
5390 openbsd*)
5391 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5392 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5393 else
5394 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5395 fi
5396 ;;
5397
5398 osf3* | osf4* | osf5*)
5399 lt_cv_deplibs_check_method=pass_all
5400 ;;
5401
5402 rdos*)
5403 lt_cv_deplibs_check_method=pass_all
5404 ;;
5405
5406 solaris*)
5407 lt_cv_deplibs_check_method=pass_all
5408 ;;
5409
5410 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5411 lt_cv_deplibs_check_method=pass_all
5412 ;;
5413
5414 sysv4 | sysv4.3*)
5415 case $host_vendor in
5416 motorola)
5417 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]'
5418 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5419 ;;
5420 ncr)
5421 lt_cv_deplibs_check_method=pass_all
5422 ;;
5423 sequent)
5424 lt_cv_file_magic_cmd='/bin/file'
5425 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5426 ;;
5427 sni)
5428 lt_cv_file_magic_cmd='/bin/file'
5429 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5430 lt_cv_file_magic_test_file=/lib/libc.so
5431 ;;
5432 siemens)
5433 lt_cv_deplibs_check_method=pass_all
5434 ;;
5435 pc)
5436 lt_cv_deplibs_check_method=pass_all
5437 ;;
5438 esac
5439 ;;
5440
5441 tpf*)
5442 lt_cv_deplibs_check_method=pass_all
5443 ;;
5444 esac
5445
5446 fi
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5448 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5449
5450 file_magic_glob=
5451 want_nocaseglob=no
5452 if test "$build" = "$host"; then
5453 case $host_os in
5454 mingw* | pw32*)
5455 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5456 want_nocaseglob=yes
5457 else
5458 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5459 fi
5460 ;;
5461 esac
5462 fi
5463
5464 file_magic_cmd=$lt_cv_file_magic_cmd
5465 deplibs_check_method=$lt_cv_deplibs_check_method
5466 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489 if test -n "$ac_tool_prefix"; then
5490 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5491 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5493 $as_echo_n "checking for $ac_word... " >&6; }
5494 if ${ac_cv_prog_DLLTOOL+:} false; then :
5495 $as_echo_n "(cached) " >&6
5496 else
5497 if test -n "$DLLTOOL"; then
5498 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5499 else
5500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5501 for as_dir in $PATH
5502 do
5503 IFS=$as_save_IFS
5504 test -z "$as_dir" && as_dir=.
5505 for ac_exec_ext in '' $ac_executable_extensions; do
5506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5507 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5509 break 2
5510 fi
5511 done
5512 done
5513 IFS=$as_save_IFS
5514
5515 fi
5516 fi
5517 DLLTOOL=$ac_cv_prog_DLLTOOL
5518 if test -n "$DLLTOOL"; then
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5520 $as_echo "$DLLTOOL" >&6; }
5521 else
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5523 $as_echo "no" >&6; }
5524 fi
5525
5526
5527 fi
5528 if test -z "$ac_cv_prog_DLLTOOL"; then
5529 ac_ct_DLLTOOL=$DLLTOOL
5530 # Extract the first word of "dlltool", so it can be a program name with args.
5531 set dummy dlltool; ac_word=$2
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5533 $as_echo_n "checking for $ac_word... " >&6; }
5534 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5535 $as_echo_n "(cached) " >&6
5536 else
5537 if test -n "$ac_ct_DLLTOOL"; then
5538 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5539 else
5540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5541 for as_dir in $PATH
5542 do
5543 IFS=$as_save_IFS
5544 test -z "$as_dir" && as_dir=.
5545 for ac_exec_ext in '' $ac_executable_extensions; do
5546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5547 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5549 break 2
5550 fi
5551 done
5552 done
5553 IFS=$as_save_IFS
5554
5555 fi
5556 fi
5557 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5558 if test -n "$ac_ct_DLLTOOL"; then
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5560 $as_echo "$ac_ct_DLLTOOL" >&6; }
5561 else
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5563 $as_echo "no" >&6; }
5564 fi
5565
5566 if test "x$ac_ct_DLLTOOL" = x; then
5567 DLLTOOL="false"
5568 else
5569 case $cross_compiling:$ac_tool_warned in
5570 yes:)
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5572 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5573 ac_tool_warned=yes ;;
5574 esac
5575 DLLTOOL=$ac_ct_DLLTOOL
5576 fi
5577 else
5578 DLLTOOL="$ac_cv_prog_DLLTOOL"
5579 fi
5580
5581 test -z "$DLLTOOL" && DLLTOOL=dlltool
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5593 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5594 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5595 $as_echo_n "(cached) " >&6
5596 else
5597 lt_cv_sharedlib_from_linklib_cmd='unknown'
5598
5599 case $host_os in
5600 cygwin* | mingw* | pw32* | cegcc*)
5601 # two different shell functions defined in ltmain.sh
5602 # decide which to use based on capabilities of $DLLTOOL
5603 case `$DLLTOOL --help 2>&1` in
5604 *--identify-strict*)
5605 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5606 ;;
5607 *)
5608 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5609 ;;
5610 esac
5611 ;;
5612 *)
5613 # fallback: assume linklib IS sharedlib
5614 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5615 ;;
5616 esac
5617
5618 fi
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5620 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5621 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5622 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5623
5624
5625
5626
5627
5628
5629
5630 if test -n "$ac_tool_prefix"; then
5631 for ac_prog in ar
5632 do
5633 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5634 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5636 $as_echo_n "checking for $ac_word... " >&6; }
5637 if ${ac_cv_prog_AR+:} false; then :
5638 $as_echo_n "(cached) " >&6
5639 else
5640 if test -n "$AR"; then
5641 ac_cv_prog_AR="$AR" # Let the user override the test.
5642 else
5643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5644 for as_dir in $PATH
5645 do
5646 IFS=$as_save_IFS
5647 test -z "$as_dir" && as_dir=.
5648 for ac_exec_ext in '' $ac_executable_extensions; do
5649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5650 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5652 break 2
5653 fi
5654 done
5655 done
5656 IFS=$as_save_IFS
5657
5658 fi
5659 fi
5660 AR=$ac_cv_prog_AR
5661 if test -n "$AR"; then
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5663 $as_echo "$AR" >&6; }
5664 else
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5666 $as_echo "no" >&6; }
5667 fi
5668
5669
5670 test -n "$AR" && break
5671 done
5672 fi
5673 if test -z "$AR"; then
5674 ac_ct_AR=$AR
5675 for ac_prog in ar
5676 do
5677 # Extract the first word of "$ac_prog", so it can be a program name with args.
5678 set dummy $ac_prog; ac_word=$2
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5680 $as_echo_n "checking for $ac_word... " >&6; }
5681 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5682 $as_echo_n "(cached) " >&6
5683 else
5684 if test -n "$ac_ct_AR"; then
5685 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5686 else
5687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5688 for as_dir in $PATH
5689 do
5690 IFS=$as_save_IFS
5691 test -z "$as_dir" && as_dir=.
5692 for ac_exec_ext in '' $ac_executable_extensions; do
5693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5694 ac_cv_prog_ac_ct_AR="$ac_prog"
5695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5696 break 2
5697 fi
5698 done
5699 done
5700 IFS=$as_save_IFS
5701
5702 fi
5703 fi
5704 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5705 if test -n "$ac_ct_AR"; then
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5707 $as_echo "$ac_ct_AR" >&6; }
5708 else
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5710 $as_echo "no" >&6; }
5711 fi
5712
5713
5714 test -n "$ac_ct_AR" && break
5715 done
5716
5717 if test "x$ac_ct_AR" = x; then
5718 AR="false"
5719 else
5720 case $cross_compiling:$ac_tool_warned in
5721 yes:)
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5724 ac_tool_warned=yes ;;
5725 esac
5726 AR=$ac_ct_AR
5727 fi
5728 fi
5729
5730 : ${AR=ar}
5731 : ${AR_FLAGS=cru}
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5744 $as_echo_n "checking for archiver @FILE support... " >&6; }
5745 if ${lt_cv_ar_at_file+:} false; then :
5746 $as_echo_n "(cached) " >&6
5747 else
5748 lt_cv_ar_at_file=no
5749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5750 /* end confdefs.h. */
5751
5752 int
5753 main ()
5754 {
5755
5756 ;
5757 return 0;
5758 }
5759 _ACEOF
5760 if ac_fn_c_try_compile "$LINENO"; then :
5761 echo conftest.$ac_objext > conftest.lst
5762 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5763 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5764 (eval $lt_ar_try) 2>&5
5765 ac_status=$?
5766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5767 test $ac_status = 0; }
5768 if test "$ac_status" -eq 0; then
5769 # Ensure the archiver fails upon bogus file names.
5770 rm -f conftest.$ac_objext libconftest.a
5771 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5772 (eval $lt_ar_try) 2>&5
5773 ac_status=$?
5774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5775 test $ac_status = 0; }
5776 if test "$ac_status" -ne 0; then
5777 lt_cv_ar_at_file=@
5778 fi
5779 fi
5780 rm -f conftest.* libconftest.a
5781
5782 fi
5783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5784
5785 fi
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5787 $as_echo "$lt_cv_ar_at_file" >&6; }
5788
5789 if test "x$lt_cv_ar_at_file" = xno; then
5790 archiver_list_spec=
5791 else
5792 archiver_list_spec=$lt_cv_ar_at_file
5793 fi
5794
5795
5796
5797
5798
5799
5800
5801 if test -n "$ac_tool_prefix"; then
5802 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5803 set dummy ${ac_tool_prefix}strip; ac_word=$2
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5805 $as_echo_n "checking for $ac_word... " >&6; }
5806 if ${ac_cv_prog_STRIP+:} false; then :
5807 $as_echo_n "(cached) " >&6
5808 else
5809 if test -n "$STRIP"; then
5810 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5811 else
5812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5813 for as_dir in $PATH
5814 do
5815 IFS=$as_save_IFS
5816 test -z "$as_dir" && as_dir=.
5817 for ac_exec_ext in '' $ac_executable_extensions; do
5818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5819 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5821 break 2
5822 fi
5823 done
5824 done
5825 IFS=$as_save_IFS
5826
5827 fi
5828 fi
5829 STRIP=$ac_cv_prog_STRIP
5830 if test -n "$STRIP"; then
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5832 $as_echo "$STRIP" >&6; }
5833 else
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5835 $as_echo "no" >&6; }
5836 fi
5837
5838
5839 fi
5840 if test -z "$ac_cv_prog_STRIP"; then
5841 ac_ct_STRIP=$STRIP
5842 # Extract the first word of "strip", so it can be a program name with args.
5843 set dummy strip; ac_word=$2
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5845 $as_echo_n "checking for $ac_word... " >&6; }
5846 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5847 $as_echo_n "(cached) " >&6
5848 else
5849 if test -n "$ac_ct_STRIP"; then
5850 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5851 else
5852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5853 for as_dir in $PATH
5854 do
5855 IFS=$as_save_IFS
5856 test -z "$as_dir" && as_dir=.
5857 for ac_exec_ext in '' $ac_executable_extensions; do
5858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5859 ac_cv_prog_ac_ct_STRIP="strip"
5860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5861 break 2
5862 fi
5863 done
5864 done
5865 IFS=$as_save_IFS
5866
5867 fi
5868 fi
5869 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5870 if test -n "$ac_ct_STRIP"; then
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5872 $as_echo "$ac_ct_STRIP" >&6; }
5873 else
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5875 $as_echo "no" >&6; }
5876 fi
5877
5878 if test "x$ac_ct_STRIP" = x; then
5879 STRIP=":"
5880 else
5881 case $cross_compiling:$ac_tool_warned in
5882 yes:)
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5885 ac_tool_warned=yes ;;
5886 esac
5887 STRIP=$ac_ct_STRIP
5888 fi
5889 else
5890 STRIP="$ac_cv_prog_STRIP"
5891 fi
5892
5893 test -z "$STRIP" && STRIP=:
5894
5895
5896
5897
5898
5899
5900 if test -n "$ac_tool_prefix"; then
5901 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5902 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5904 $as_echo_n "checking for $ac_word... " >&6; }
5905 if ${ac_cv_prog_RANLIB+:} false; then :
5906 $as_echo_n "(cached) " >&6
5907 else
5908 if test -n "$RANLIB"; then
5909 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5910 else
5911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5912 for as_dir in $PATH
5913 do
5914 IFS=$as_save_IFS
5915 test -z "$as_dir" && as_dir=.
5916 for ac_exec_ext in '' $ac_executable_extensions; do
5917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5918 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5920 break 2
5921 fi
5922 done
5923 done
5924 IFS=$as_save_IFS
5925
5926 fi
5927 fi
5928 RANLIB=$ac_cv_prog_RANLIB
5929 if test -n "$RANLIB"; then
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5931 $as_echo "$RANLIB" >&6; }
5932 else
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5934 $as_echo "no" >&6; }
5935 fi
5936
5937
5938 fi
5939 if test -z "$ac_cv_prog_RANLIB"; then
5940 ac_ct_RANLIB=$RANLIB
5941 # Extract the first word of "ranlib", so it can be a program name with args.
5942 set dummy ranlib; ac_word=$2
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5944 $as_echo_n "checking for $ac_word... " >&6; }
5945 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5946 $as_echo_n "(cached) " >&6
5947 else
5948 if test -n "$ac_ct_RANLIB"; then
5949 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5950 else
5951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5952 for as_dir in $PATH
5953 do
5954 IFS=$as_save_IFS
5955 test -z "$as_dir" && as_dir=.
5956 for ac_exec_ext in '' $ac_executable_extensions; do
5957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5958 ac_cv_prog_ac_ct_RANLIB="ranlib"
5959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5960 break 2
5961 fi
5962 done
5963 done
5964 IFS=$as_save_IFS
5965
5966 fi
5967 fi
5968 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5969 if test -n "$ac_ct_RANLIB"; then
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5971 $as_echo "$ac_ct_RANLIB" >&6; }
5972 else
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5974 $as_echo "no" >&6; }
5975 fi
5976
5977 if test "x$ac_ct_RANLIB" = x; then
5978 RANLIB=":"
5979 else
5980 case $cross_compiling:$ac_tool_warned in
5981 yes:)
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5984 ac_tool_warned=yes ;;
5985 esac
5986 RANLIB=$ac_ct_RANLIB
5987 fi
5988 else
5989 RANLIB="$ac_cv_prog_RANLIB"
5990 fi
5991
5992 test -z "$RANLIB" && RANLIB=:
5993
5994
5995
5996
5997
5998
5999 # Determine commands to create old-style static archives.
6000 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6001 old_postinstall_cmds='chmod 644 $oldlib'
6002 old_postuninstall_cmds=
6003
6004 if test -n "$RANLIB"; then
6005 case $host_os in
6006 openbsd*)
6007 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6008 ;;
6009 *)
6010 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6011 ;;
6012 esac
6013 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6014 fi
6015
6016 case $host_os in
6017 darwin*)
6018 lock_old_archive_extraction=yes ;;
6019 *)
6020 lock_old_archive_extraction=no ;;
6021 esac
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061 # If no C compiler was specified, use CC.
6062 LTCC=${LTCC-"$CC"}
6063
6064 # If no C compiler flags were specified, use CFLAGS.
6065 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6066
6067 # Allow CC to be a program name with arguments.
6068 compiler=$CC
6069
6070
6071 # Check for command to grab the raw symbol name followed by C symbol from nm.
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6073 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6074 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6075 $as_echo_n "(cached) " >&6
6076 else
6077
6078 # These are sane defaults that work on at least a few old systems.
6079 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6080
6081 # Character class describing NM global symbol codes.
6082 symcode='[BCDEGRST]'
6083
6084 # Regexp to match symbols that can be accessed directly from C.
6085 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6086
6087 # Define system-specific variables.
6088 case $host_os in
6089 aix*)
6090 symcode='[BCDT]'
6091 ;;
6092 cygwin* | mingw* | pw32* | cegcc*)
6093 symcode='[ABCDGISTW]'
6094 ;;
6095 hpux*)
6096 if test "$host_cpu" = ia64; then
6097 symcode='[ABCDEGRST]'
6098 fi
6099 ;;
6100 irix* | nonstopux*)
6101 symcode='[BCDEGRST]'
6102 ;;
6103 osf*)
6104 symcode='[BCDEGQRST]'
6105 ;;
6106 solaris*)
6107 symcode='[BDRT]'
6108 ;;
6109 sco3.2v5*)
6110 symcode='[DT]'
6111 ;;
6112 sysv4.2uw2*)
6113 symcode='[DT]'
6114 ;;
6115 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6116 symcode='[ABDT]'
6117 ;;
6118 sysv4)
6119 symcode='[DFNSTU]'
6120 ;;
6121 esac
6122
6123 # If we're using GNU nm, then use its standard symbol codes.
6124 case `$NM -V 2>&1` in
6125 *GNU* | *'with BFD'*)
6126 symcode='[ABCDGIRSTW]' ;;
6127 esac
6128
6129 # Transform an extracted symbol line into a proper C declaration.
6130 # Some systems (esp. on ia64) link data and code symbols differently,
6131 # so use this general approach.
6132 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6133
6134 # Transform an extracted symbol line into symbol name and symbol address
6135 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6136 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'"
6137
6138 # Handle CRLF in mingw tool chain
6139 opt_cr=
6140 case $build_os in
6141 mingw*)
6142 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6143 ;;
6144 esac
6145
6146 # Try without a prefix underscore, then with it.
6147 for ac_symprfx in "" "_"; do
6148
6149 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6150 symxfrm="\\1 $ac_symprfx\\2 \\2"
6151
6152 # Write the raw and C identifiers.
6153 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6154 # Fake it for dumpbin and say T for any non-static function
6155 # and D for any global variable.
6156 # Also find C++ and __fastcall symbols from MSVC++,
6157 # which start with @ or ?.
6158 lt_cv_sys_global_symbol_pipe="$AWK '"\
6159 " {last_section=section; section=\$ 3};"\
6160 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6161 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6162 " \$ 0!~/External *\|/{next};"\
6163 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6164 " {if(hide[section]) next};"\
6165 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6166 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6167 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6168 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6169 " ' prfx=^$ac_symprfx"
6170 else
6171 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6172 fi
6173 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6174
6175 # Check to see that the pipe works correctly.
6176 pipe_works=no
6177
6178 rm -f conftest*
6179 cat > conftest.$ac_ext <<_LT_EOF
6180 #ifdef __cplusplus
6181 extern "C" {
6182 #endif
6183 char nm_test_var;
6184 void nm_test_func(void);
6185 void nm_test_func(void){}
6186 #ifdef __cplusplus
6187 }
6188 #endif
6189 int main(){nm_test_var='a';nm_test_func();return(0);}
6190 _LT_EOF
6191
6192 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6193 (eval $ac_compile) 2>&5
6194 ac_status=$?
6195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6196 test $ac_status = 0; }; then
6197 # Now try to grab the symbols.
6198 nlist=conftest.nm
6199 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6200 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6201 ac_status=$?
6202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6203 test $ac_status = 0; } && test -s "$nlist"; then
6204 # Try sorting and uniquifying the output.
6205 if sort "$nlist" | uniq > "$nlist"T; then
6206 mv -f "$nlist"T "$nlist"
6207 else
6208 rm -f "$nlist"T
6209 fi
6210
6211 # Make sure that we snagged all the symbols we need.
6212 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6213 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6214 cat <<_LT_EOF > conftest.$ac_ext
6215 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6216 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6217 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6218 relocations are performed -- see ld's documentation on pseudo-relocs. */
6219 # define LT_DLSYM_CONST
6220 #elif defined(__osf__)
6221 /* This system does not cope well with relocations in const data. */
6222 # define LT_DLSYM_CONST
6223 #else
6224 # define LT_DLSYM_CONST const
6225 #endif
6226
6227 #ifdef __cplusplus
6228 extern "C" {
6229 #endif
6230
6231 _LT_EOF
6232 # Now generate the symbol file.
6233 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6234
6235 cat <<_LT_EOF >> conftest.$ac_ext
6236
6237 /* The mapping between symbol names and symbols. */
6238 LT_DLSYM_CONST struct {
6239 const char *name;
6240 void *address;
6241 }
6242 lt__PROGRAM__LTX_preloaded_symbols[] =
6243 {
6244 { "@PROGRAM@", (void *) 0 },
6245 _LT_EOF
6246 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6247 cat <<\_LT_EOF >> conftest.$ac_ext
6248 {0, (void *) 0}
6249 };
6250
6251 /* This works around a problem in FreeBSD linker */
6252 #ifdef FREEBSD_WORKAROUND
6253 static const void *lt_preloaded_setup() {
6254 return lt__PROGRAM__LTX_preloaded_symbols;
6255 }
6256 #endif
6257
6258 #ifdef __cplusplus
6259 }
6260 #endif
6261 _LT_EOF
6262 # Now try linking the two files.
6263 mv conftest.$ac_objext conftstm.$ac_objext
6264 lt_globsym_save_LIBS=$LIBS
6265 lt_globsym_save_CFLAGS=$CFLAGS
6266 LIBS="conftstm.$ac_objext"
6267 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6268 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6269 (eval $ac_link) 2>&5
6270 ac_status=$?
6271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6272 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6273 pipe_works=yes
6274 fi
6275 LIBS=$lt_globsym_save_LIBS
6276 CFLAGS=$lt_globsym_save_CFLAGS
6277 else
6278 echo "cannot find nm_test_func in $nlist" >&5
6279 fi
6280 else
6281 echo "cannot find nm_test_var in $nlist" >&5
6282 fi
6283 else
6284 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6285 fi
6286 else
6287 echo "$progname: failed program was:" >&5
6288 cat conftest.$ac_ext >&5
6289 fi
6290 rm -rf conftest* conftst*
6291
6292 # Do not use the global_symbol_pipe unless it works.
6293 if test "$pipe_works" = yes; then
6294 break
6295 else
6296 lt_cv_sys_global_symbol_pipe=
6297 fi
6298 done
6299
6300 fi
6301
6302 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6303 lt_cv_sys_global_symbol_to_cdecl=
6304 fi
6305 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6307 $as_echo "failed" >&6; }
6308 else
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6310 $as_echo "ok" >&6; }
6311 fi
6312
6313 # Response file support.
6314 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6315 nm_file_list_spec='@'
6316 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6317 nm_file_list_spec='@'
6318 fi
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6347 $as_echo_n "checking for sysroot... " >&6; }
6348
6349 # Check whether --with-sysroot was given.
6350 if test "${with_sysroot+set}" = set; then :
6351 withval=$with_sysroot;
6352 else
6353 with_sysroot=no
6354 fi
6355
6356
6357 lt_sysroot=
6358 case ${with_sysroot} in #(
6359 yes)
6360 if test "$GCC" = yes; then
6361 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6362 fi
6363 ;; #(
6364 /*)
6365 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6366 ;; #(
6367 no|'')
6368 ;; #(
6369 *)
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6371 $as_echo "${with_sysroot}" >&6; }
6372 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6373 ;;
6374 esac
6375
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6377 $as_echo "${lt_sysroot:-no}" >&6; }
6378
6379
6380
6381
6382
6383 # Check whether --enable-libtool-lock was given.
6384 if test "${enable_libtool_lock+set}" = set; then :
6385 enableval=$enable_libtool_lock;
6386 fi
6387
6388 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6389
6390 # Some flags need to be propagated to the compiler or linker for good
6391 # libtool support.
6392 case $host in
6393 ia64-*-hpux*)
6394 # Find out which ABI we are using.
6395 echo 'int i;' > conftest.$ac_ext
6396 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6397 (eval $ac_compile) 2>&5
6398 ac_status=$?
6399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6400 test $ac_status = 0; }; then
6401 case `/usr/bin/file conftest.$ac_objext` in
6402 *ELF-32*)
6403 HPUX_IA64_MODE="32"
6404 ;;
6405 *ELF-64*)
6406 HPUX_IA64_MODE="64"
6407 ;;
6408 esac
6409 fi
6410 rm -rf conftest*
6411 ;;
6412 *-*-irix6*)
6413 # Find out which ABI we are using.
6414 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6415 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6416 (eval $ac_compile) 2>&5
6417 ac_status=$?
6418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6419 test $ac_status = 0; }; then
6420 if test "$lt_cv_prog_gnu_ld" = yes; then
6421 case `/usr/bin/file conftest.$ac_objext` in
6422 *32-bit*)
6423 LD="${LD-ld} -melf32bsmip"
6424 ;;
6425 *N32*)
6426 LD="${LD-ld} -melf32bmipn32"
6427 ;;
6428 *64-bit*)
6429 LD="${LD-ld} -melf64bmip"
6430 ;;
6431 esac
6432 else
6433 case `/usr/bin/file conftest.$ac_objext` in
6434 *32-bit*)
6435 LD="${LD-ld} -32"
6436 ;;
6437 *N32*)
6438 LD="${LD-ld} -n32"
6439 ;;
6440 *64-bit*)
6441 LD="${LD-ld} -64"
6442 ;;
6443 esac
6444 fi
6445 fi
6446 rm -rf conftest*
6447 ;;
6448
6449 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6450 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6451 # Find out which ABI we are using.
6452 echo 'int i;' > conftest.$ac_ext
6453 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6454 (eval $ac_compile) 2>&5
6455 ac_status=$?
6456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6457 test $ac_status = 0; }; then
6458 case `/usr/bin/file conftest.o` in
6459 *32-bit*)
6460 case $host in
6461 x86_64-*kfreebsd*-gnu)
6462 LD="${LD-ld} -m elf_i386_fbsd"
6463 ;;
6464 x86_64-*linux*)
6465 LD="${LD-ld} -m elf_i386"
6466 ;;
6467 ppc64-*linux*|powerpc64-*linux*)
6468 LD="${LD-ld} -m elf32ppclinux"
6469 ;;
6470 s390x-*linux*)
6471 LD="${LD-ld} -m elf_s390"
6472 ;;
6473 sparc64-*linux*)
6474 LD="${LD-ld} -m elf32_sparc"
6475 ;;
6476 esac
6477 ;;
6478 *64-bit*)
6479 case $host in
6480 x86_64-*kfreebsd*-gnu)
6481 LD="${LD-ld} -m elf_x86_64_fbsd"
6482 ;;
6483 x86_64-*linux*)
6484 LD="${LD-ld} -m elf_x86_64"
6485 ;;
6486 ppc*-*linux*|powerpc*-*linux*)
6487 LD="${LD-ld} -m elf64ppc"
6488 ;;
6489 s390*-*linux*|s390*-*tpf*)
6490 LD="${LD-ld} -m elf64_s390"
6491 ;;
6492 sparc*-*linux*)
6493 LD="${LD-ld} -m elf64_sparc"
6494 ;;
6495 esac
6496 ;;
6497 esac
6498 fi
6499 rm -rf conftest*
6500 ;;
6501
6502 *-*-sco3.2v5*)
6503 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6504 SAVE_CFLAGS="$CFLAGS"
6505 CFLAGS="$CFLAGS -belf"
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6507 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6508 if ${lt_cv_cc_needs_belf+:} false; then :
6509 $as_echo_n "(cached) " >&6
6510 else
6511 ac_ext=c
6512 ac_cpp='$CPP $CPPFLAGS'
6513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6516
6517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6518 /* end confdefs.h. */
6519
6520 int
6521 main ()
6522 {
6523
6524 ;
6525 return 0;
6526 }
6527 _ACEOF
6528 if ac_fn_c_try_link "$LINENO"; then :
6529 lt_cv_cc_needs_belf=yes
6530 else
6531 lt_cv_cc_needs_belf=no
6532 fi
6533 rm -f core conftest.err conftest.$ac_objext \
6534 conftest$ac_exeext conftest.$ac_ext
6535 ac_ext=c
6536 ac_cpp='$CPP $CPPFLAGS'
6537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6540
6541 fi
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6543 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6544 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6545 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6546 CFLAGS="$SAVE_CFLAGS"
6547 fi
6548 ;;
6549 *-*solaris*)
6550 # Find out which ABI we are using.
6551 echo 'int i;' > conftest.$ac_ext
6552 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6553 (eval $ac_compile) 2>&5
6554 ac_status=$?
6555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6556 test $ac_status = 0; }; then
6557 case `/usr/bin/file conftest.o` in
6558 *64-bit*)
6559 case $lt_cv_prog_gnu_ld in
6560 yes*)
6561 case $host in
6562 i?86-*-solaris*)
6563 LD="${LD-ld} -m elf_x86_64"
6564 ;;
6565 sparc*-*-solaris*)
6566 LD="${LD-ld} -m elf64_sparc"
6567 ;;
6568 esac
6569 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6570 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6571 LD="${LD-ld}_sol2"
6572 fi
6573 ;;
6574 *)
6575 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6576 LD="${LD-ld} -64"
6577 fi
6578 ;;
6579 esac
6580 ;;
6581 esac
6582 fi
6583 rm -rf conftest*
6584 ;;
6585 esac
6586
6587 need_locks="$enable_libtool_lock"
6588
6589 if test -n "$ac_tool_prefix"; then
6590 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6591 set dummy ${ac_tool_prefix}mt; ac_word=$2
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6593 $as_echo_n "checking for $ac_word... " >&6; }
6594 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6595 $as_echo_n "(cached) " >&6
6596 else
6597 if test -n "$MANIFEST_TOOL"; then
6598 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6599 else
6600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6601 for as_dir in $PATH
6602 do
6603 IFS=$as_save_IFS
6604 test -z "$as_dir" && as_dir=.
6605 for ac_exec_ext in '' $ac_executable_extensions; do
6606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6607 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6609 break 2
6610 fi
6611 done
6612 done
6613 IFS=$as_save_IFS
6614
6615 fi
6616 fi
6617 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6618 if test -n "$MANIFEST_TOOL"; then
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6620 $as_echo "$MANIFEST_TOOL" >&6; }
6621 else
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6623 $as_echo "no" >&6; }
6624 fi
6625
6626
6627 fi
6628 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6629 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6630 # Extract the first word of "mt", so it can be a program name with args.
6631 set dummy mt; ac_word=$2
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6633 $as_echo_n "checking for $ac_word... " >&6; }
6634 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6635 $as_echo_n "(cached) " >&6
6636 else
6637 if test -n "$ac_ct_MANIFEST_TOOL"; then
6638 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6639 else
6640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6641 for as_dir in $PATH
6642 do
6643 IFS=$as_save_IFS
6644 test -z "$as_dir" && as_dir=.
6645 for ac_exec_ext in '' $ac_executable_extensions; do
6646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6647 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6649 break 2
6650 fi
6651 done
6652 done
6653 IFS=$as_save_IFS
6654
6655 fi
6656 fi
6657 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6658 if test -n "$ac_ct_MANIFEST_TOOL"; then
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6660 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6661 else
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6663 $as_echo "no" >&6; }
6664 fi
6665
6666 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6667 MANIFEST_TOOL=":"
6668 else
6669 case $cross_compiling:$ac_tool_warned in
6670 yes:)
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6672 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6673 ac_tool_warned=yes ;;
6674 esac
6675 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6676 fi
6677 else
6678 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6679 fi
6680
6681 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6683 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6684 if ${lt_cv_path_mainfest_tool+:} false; then :
6685 $as_echo_n "(cached) " >&6
6686 else
6687 lt_cv_path_mainfest_tool=no
6688 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6689 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6690 cat conftest.err >&5
6691 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6692 lt_cv_path_mainfest_tool=yes
6693 fi
6694 rm -f conftest*
6695 fi
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6697 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6698 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6699 MANIFEST_TOOL=:
6700 fi
6701
6702
6703
6704
6705
6706
6707 case $host_os in
6708 rhapsody* | darwin*)
6709 if test -n "$ac_tool_prefix"; then
6710 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6711 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6713 $as_echo_n "checking for $ac_word... " >&6; }
6714 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6715 $as_echo_n "(cached) " >&6
6716 else
6717 if test -n "$DSYMUTIL"; then
6718 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6719 else
6720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6721 for as_dir in $PATH
6722 do
6723 IFS=$as_save_IFS
6724 test -z "$as_dir" && as_dir=.
6725 for ac_exec_ext in '' $ac_executable_extensions; do
6726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6727 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6729 break 2
6730 fi
6731 done
6732 done
6733 IFS=$as_save_IFS
6734
6735 fi
6736 fi
6737 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6738 if test -n "$DSYMUTIL"; then
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6740 $as_echo "$DSYMUTIL" >&6; }
6741 else
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6743 $as_echo "no" >&6; }
6744 fi
6745
6746
6747 fi
6748 if test -z "$ac_cv_prog_DSYMUTIL"; then
6749 ac_ct_DSYMUTIL=$DSYMUTIL
6750 # Extract the first word of "dsymutil", so it can be a program name with args.
6751 set dummy dsymutil; ac_word=$2
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6753 $as_echo_n "checking for $ac_word... " >&6; }
6754 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6755 $as_echo_n "(cached) " >&6
6756 else
6757 if test -n "$ac_ct_DSYMUTIL"; then
6758 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6759 else
6760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6761 for as_dir in $PATH
6762 do
6763 IFS=$as_save_IFS
6764 test -z "$as_dir" && as_dir=.
6765 for ac_exec_ext in '' $ac_executable_extensions; do
6766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6767 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6769 break 2
6770 fi
6771 done
6772 done
6773 IFS=$as_save_IFS
6774
6775 fi
6776 fi
6777 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6778 if test -n "$ac_ct_DSYMUTIL"; then
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6780 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6781 else
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6783 $as_echo "no" >&6; }
6784 fi
6785
6786 if test "x$ac_ct_DSYMUTIL" = x; then
6787 DSYMUTIL=":"
6788 else
6789 case $cross_compiling:$ac_tool_warned in
6790 yes:)
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6793 ac_tool_warned=yes ;;
6794 esac
6795 DSYMUTIL=$ac_ct_DSYMUTIL
6796 fi
6797 else
6798 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6799 fi
6800
6801 if test -n "$ac_tool_prefix"; then
6802 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6803 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6805 $as_echo_n "checking for $ac_word... " >&6; }
6806 if ${ac_cv_prog_NMEDIT+:} false; then :
6807 $as_echo_n "(cached) " >&6
6808 else
6809 if test -n "$NMEDIT"; then
6810 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6811 else
6812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6813 for as_dir in $PATH
6814 do
6815 IFS=$as_save_IFS
6816 test -z "$as_dir" && as_dir=.
6817 for ac_exec_ext in '' $ac_executable_extensions; do
6818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6819 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6821 break 2
6822 fi
6823 done
6824 done
6825 IFS=$as_save_IFS
6826
6827 fi
6828 fi
6829 NMEDIT=$ac_cv_prog_NMEDIT
6830 if test -n "$NMEDIT"; then
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6832 $as_echo "$NMEDIT" >&6; }
6833 else
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6835 $as_echo "no" >&6; }
6836 fi
6837
6838
6839 fi
6840 if test -z "$ac_cv_prog_NMEDIT"; then
6841 ac_ct_NMEDIT=$NMEDIT
6842 # Extract the first word of "nmedit", so it can be a program name with args.
6843 set dummy nmedit; ac_word=$2
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6845 $as_echo_n "checking for $ac_word... " >&6; }
6846 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6847 $as_echo_n "(cached) " >&6
6848 else
6849 if test -n "$ac_ct_NMEDIT"; then
6850 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6851 else
6852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6853 for as_dir in $PATH
6854 do
6855 IFS=$as_save_IFS
6856 test -z "$as_dir" && as_dir=.
6857 for ac_exec_ext in '' $ac_executable_extensions; do
6858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6859 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6861 break 2
6862 fi
6863 done
6864 done
6865 IFS=$as_save_IFS
6866
6867 fi
6868 fi
6869 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6870 if test -n "$ac_ct_NMEDIT"; then
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6872 $as_echo "$ac_ct_NMEDIT" >&6; }
6873 else
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6875 $as_echo "no" >&6; }
6876 fi
6877
6878 if test "x$ac_ct_NMEDIT" = x; then
6879 NMEDIT=":"
6880 else
6881 case $cross_compiling:$ac_tool_warned in
6882 yes:)
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6885 ac_tool_warned=yes ;;
6886 esac
6887 NMEDIT=$ac_ct_NMEDIT
6888 fi
6889 else
6890 NMEDIT="$ac_cv_prog_NMEDIT"
6891 fi
6892
6893 if test -n "$ac_tool_prefix"; then
6894 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6895 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6897 $as_echo_n "checking for $ac_word... " >&6; }
6898 if ${ac_cv_prog_LIPO+:} false; then :
6899 $as_echo_n "(cached) " >&6
6900 else
6901 if test -n "$LIPO"; then
6902 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6903 else
6904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6905 for as_dir in $PATH
6906 do
6907 IFS=$as_save_IFS
6908 test -z "$as_dir" && as_dir=.
6909 for ac_exec_ext in '' $ac_executable_extensions; do
6910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6911 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6913 break 2
6914 fi
6915 done
6916 done
6917 IFS=$as_save_IFS
6918
6919 fi
6920 fi
6921 LIPO=$ac_cv_prog_LIPO
6922 if test -n "$LIPO"; then
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6924 $as_echo "$LIPO" >&6; }
6925 else
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6927 $as_echo "no" >&6; }
6928 fi
6929
6930
6931 fi
6932 if test -z "$ac_cv_prog_LIPO"; then
6933 ac_ct_LIPO=$LIPO
6934 # Extract the first word of "lipo", so it can be a program name with args.
6935 set dummy lipo; ac_word=$2
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6937 $as_echo_n "checking for $ac_word... " >&6; }
6938 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6939 $as_echo_n "(cached) " >&6
6940 else
6941 if test -n "$ac_ct_LIPO"; then
6942 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6943 else
6944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6945 for as_dir in $PATH
6946 do
6947 IFS=$as_save_IFS
6948 test -z "$as_dir" && as_dir=.
6949 for ac_exec_ext in '' $ac_executable_extensions; do
6950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6951 ac_cv_prog_ac_ct_LIPO="lipo"
6952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6953 break 2
6954 fi
6955 done
6956 done
6957 IFS=$as_save_IFS
6958
6959 fi
6960 fi
6961 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6962 if test -n "$ac_ct_LIPO"; then
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6964 $as_echo "$ac_ct_LIPO" >&6; }
6965 else
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6967 $as_echo "no" >&6; }
6968 fi
6969
6970 if test "x$ac_ct_LIPO" = x; then
6971 LIPO=":"
6972 else
6973 case $cross_compiling:$ac_tool_warned in
6974 yes:)
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6977 ac_tool_warned=yes ;;
6978 esac
6979 LIPO=$ac_ct_LIPO
6980 fi
6981 else
6982 LIPO="$ac_cv_prog_LIPO"
6983 fi
6984
6985 if test -n "$ac_tool_prefix"; then
6986 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6987 set dummy ${ac_tool_prefix}otool; ac_word=$2
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6989 $as_echo_n "checking for $ac_word... " >&6; }
6990 if ${ac_cv_prog_OTOOL+:} false; then :
6991 $as_echo_n "(cached) " >&6
6992 else
6993 if test -n "$OTOOL"; then
6994 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6995 else
6996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6997 for as_dir in $PATH
6998 do
6999 IFS=$as_save_IFS
7000 test -z "$as_dir" && as_dir=.
7001 for ac_exec_ext in '' $ac_executable_extensions; do
7002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7003 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7005 break 2
7006 fi
7007 done
7008 done
7009 IFS=$as_save_IFS
7010
7011 fi
7012 fi
7013 OTOOL=$ac_cv_prog_OTOOL
7014 if test -n "$OTOOL"; then
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7016 $as_echo "$OTOOL" >&6; }
7017 else
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7019 $as_echo "no" >&6; }
7020 fi
7021
7022
7023 fi
7024 if test -z "$ac_cv_prog_OTOOL"; then
7025 ac_ct_OTOOL=$OTOOL
7026 # Extract the first word of "otool", so it can be a program name with args.
7027 set dummy otool; ac_word=$2
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7029 $as_echo_n "checking for $ac_word... " >&6; }
7030 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7031 $as_echo_n "(cached) " >&6
7032 else
7033 if test -n "$ac_ct_OTOOL"; then
7034 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7035 else
7036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7037 for as_dir in $PATH
7038 do
7039 IFS=$as_save_IFS
7040 test -z "$as_dir" && as_dir=.
7041 for ac_exec_ext in '' $ac_executable_extensions; do
7042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7043 ac_cv_prog_ac_ct_OTOOL="otool"
7044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7045 break 2
7046 fi
7047 done
7048 done
7049 IFS=$as_save_IFS
7050
7051 fi
7052 fi
7053 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7054 if test -n "$ac_ct_OTOOL"; then
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7056 $as_echo "$ac_ct_OTOOL" >&6; }
7057 else
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7059 $as_echo "no" >&6; }
7060 fi
7061
7062 if test "x$ac_ct_OTOOL" = x; then
7063 OTOOL=":"
7064 else
7065 case $cross_compiling:$ac_tool_warned in
7066 yes:)
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7069 ac_tool_warned=yes ;;
7070 esac
7071 OTOOL=$ac_ct_OTOOL
7072 fi
7073 else
7074 OTOOL="$ac_cv_prog_OTOOL"
7075 fi
7076
7077 if test -n "$ac_tool_prefix"; then
7078 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7079 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7081 $as_echo_n "checking for $ac_word... " >&6; }
7082 if ${ac_cv_prog_OTOOL64+:} false; then :
7083 $as_echo_n "(cached) " >&6
7084 else
7085 if test -n "$OTOOL64"; then
7086 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7087 else
7088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7089 for as_dir in $PATH
7090 do
7091 IFS=$as_save_IFS
7092 test -z "$as_dir" && as_dir=.
7093 for ac_exec_ext in '' $ac_executable_extensions; do
7094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7095 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7097 break 2
7098 fi
7099 done
7100 done
7101 IFS=$as_save_IFS
7102
7103 fi
7104 fi
7105 OTOOL64=$ac_cv_prog_OTOOL64
7106 if test -n "$OTOOL64"; then
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7108 $as_echo "$OTOOL64" >&6; }
7109 else
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7111 $as_echo "no" >&6; }
7112 fi
7113
7114
7115 fi
7116 if test -z "$ac_cv_prog_OTOOL64"; then
7117 ac_ct_OTOOL64=$OTOOL64
7118 # Extract the first word of "otool64", so it can be a program name with args.
7119 set dummy otool64; ac_word=$2
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7121 $as_echo_n "checking for $ac_word... " >&6; }
7122 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7123 $as_echo_n "(cached) " >&6
7124 else
7125 if test -n "$ac_ct_OTOOL64"; then
7126 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7127 else
7128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7129 for as_dir in $PATH
7130 do
7131 IFS=$as_save_IFS
7132 test -z "$as_dir" && as_dir=.
7133 for ac_exec_ext in '' $ac_executable_extensions; do
7134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7135 ac_cv_prog_ac_ct_OTOOL64="otool64"
7136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7137 break 2
7138 fi
7139 done
7140 done
7141 IFS=$as_save_IFS
7142
7143 fi
7144 fi
7145 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7146 if test -n "$ac_ct_OTOOL64"; then
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7148 $as_echo "$ac_ct_OTOOL64" >&6; }
7149 else
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7151 $as_echo "no" >&6; }
7152 fi
7153
7154 if test "x$ac_ct_OTOOL64" = x; then
7155 OTOOL64=":"
7156 else
7157 case $cross_compiling:$ac_tool_warned in
7158 yes:)
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7161 ac_tool_warned=yes ;;
7162 esac
7163 OTOOL64=$ac_ct_OTOOL64
7164 fi
7165 else
7166 OTOOL64="$ac_cv_prog_OTOOL64"
7167 fi
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7196 $as_echo_n "checking for -single_module linker flag... " >&6; }
7197 if ${lt_cv_apple_cc_single_mod+:} false; then :
7198 $as_echo_n "(cached) " >&6
7199 else
7200 lt_cv_apple_cc_single_mod=no
7201 if test -z "${LT_MULTI_MODULE}"; then
7202 # By default we will add the -single_module flag. You can override
7203 # by either setting the environment variable LT_MULTI_MODULE
7204 # non-empty at configure time, or by adding -multi_module to the
7205 # link flags.
7206 rm -rf libconftest.dylib*
7207 echo "int foo(void){return 1;}" > conftest.c
7208 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7209 -dynamiclib -Wl,-single_module conftest.c" >&5
7210 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7211 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7212 _lt_result=$?
7213 # If there is a non-empty error log, and "single_module"
7214 # appears in it, assume the flag caused a linker warning
7215 if test -s conftest.err && $GREP single_module conftest.err; then
7216 cat conftest.err >&5
7217 # Otherwise, if the output was created with a 0 exit code from
7218 # the compiler, it worked.
7219 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7220 lt_cv_apple_cc_single_mod=yes
7221 else
7222 cat conftest.err >&5
7223 fi
7224 rm -rf libconftest.dylib*
7225 rm -f conftest.*
7226 fi
7227 fi
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7229 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7230
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7232 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7233 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7234 $as_echo_n "(cached) " >&6
7235 else
7236 lt_cv_ld_exported_symbols_list=no
7237 save_LDFLAGS=$LDFLAGS
7238 echo "_main" > conftest.sym
7239 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7241 /* end confdefs.h. */
7242
7243 int
7244 main ()
7245 {
7246
7247 ;
7248 return 0;
7249 }
7250 _ACEOF
7251 if ac_fn_c_try_link "$LINENO"; then :
7252 lt_cv_ld_exported_symbols_list=yes
7253 else
7254 lt_cv_ld_exported_symbols_list=no
7255 fi
7256 rm -f core conftest.err conftest.$ac_objext \
7257 conftest$ac_exeext conftest.$ac_ext
7258 LDFLAGS="$save_LDFLAGS"
7259
7260 fi
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7262 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7263
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7265 $as_echo_n "checking for -force_load linker flag... " >&6; }
7266 if ${lt_cv_ld_force_load+:} false; then :
7267 $as_echo_n "(cached) " >&6
7268 else
7269 lt_cv_ld_force_load=no
7270 cat > conftest.c << _LT_EOF
7271 int forced_loaded() { return 2;}
7272 _LT_EOF
7273 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7274 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7275 echo "$AR cru libconftest.a conftest.o" >&5
7276 $AR cru libconftest.a conftest.o 2>&5
7277 echo "$RANLIB libconftest.a" >&5
7278 $RANLIB libconftest.a 2>&5
7279 cat > conftest.c << _LT_EOF
7280 int main() { return 0;}
7281 _LT_EOF
7282 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7283 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7284 _lt_result=$?
7285 if test -s conftest.err && $GREP force_load conftest.err; then
7286 cat conftest.err >&5
7287 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7288 lt_cv_ld_force_load=yes
7289 else
7290 cat conftest.err >&5
7291 fi
7292 rm -f conftest.err libconftest.a conftest conftest.c
7293 rm -rf conftest.dSYM
7294
7295 fi
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7297 $as_echo "$lt_cv_ld_force_load" >&6; }
7298 case $host_os in
7299 rhapsody* | darwin1.[012])
7300 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7301 darwin1.*)
7302 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7303 darwin*) # darwin 5.x on
7304 # if running on 10.5 or later, the deployment target defaults
7305 # to the OS version, if on x86, and 10.4, the deployment
7306 # target defaults to 10.4. Don't you love it?
7307 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7308 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7309 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7310 10.[012]*)
7311 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7312 10.*)
7313 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7314 esac
7315 ;;
7316 esac
7317 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7318 _lt_dar_single_mod='$single_module'
7319 fi
7320 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7321 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7322 else
7323 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7324 fi
7325 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7326 _lt_dsymutil='~$DSYMUTIL $lib || :'
7327 else
7328 _lt_dsymutil=
7329 fi
7330 ;;
7331 esac
7332
7333 ac_ext=c
7334 ac_cpp='$CPP $CPPFLAGS'
7335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7339 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7340 # On Suns, sometimes $CPP names a directory.
7341 if test -n "$CPP" && test -d "$CPP"; then
7342 CPP=
7343 fi
7344 if test -z "$CPP"; then
7345 if ${ac_cv_prog_CPP+:} false; then :
7346 $as_echo_n "(cached) " >&6
7347 else
7348 # Double quotes because CPP needs to be expanded
7349 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7350 do
7351 ac_preproc_ok=false
7352 for ac_c_preproc_warn_flag in '' yes
7353 do
7354 # Use a header file that comes with gcc, so configuring glibc
7355 # with a fresh cross-compiler works.
7356 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7357 # <limits.h> exists even on freestanding compilers.
7358 # On the NeXT, cc -E runs the code through the compiler's parser,
7359 # not just through cpp. "Syntax error" is here to catch this case.
7360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7361 /* end confdefs.h. */
7362 #ifdef __STDC__
7363 # include <limits.h>
7364 #else
7365 # include <assert.h>
7366 #endif
7367 Syntax error
7368 _ACEOF
7369 if ac_fn_c_try_cpp "$LINENO"; then :
7370
7371 else
7372 # Broken: fails on valid input.
7373 continue
7374 fi
7375 rm -f conftest.err conftest.i conftest.$ac_ext
7376
7377 # OK, works on sane cases. Now check whether nonexistent headers
7378 # can be detected and how.
7379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7380 /* end confdefs.h. */
7381 #include <ac_nonexistent.h>
7382 _ACEOF
7383 if ac_fn_c_try_cpp "$LINENO"; then :
7384 # Broken: success on invalid input.
7385 continue
7386 else
7387 # Passes both tests.
7388 ac_preproc_ok=:
7389 break
7390 fi
7391 rm -f conftest.err conftest.i conftest.$ac_ext
7392
7393 done
7394 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7395 rm -f conftest.i conftest.err conftest.$ac_ext
7396 if $ac_preproc_ok; then :
7397 break
7398 fi
7399
7400 done
7401 ac_cv_prog_CPP=$CPP
7402
7403 fi
7404 CPP=$ac_cv_prog_CPP
7405 else
7406 ac_cv_prog_CPP=$CPP
7407 fi
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7409 $as_echo "$CPP" >&6; }
7410 ac_preproc_ok=false
7411 for ac_c_preproc_warn_flag in '' yes
7412 do
7413 # Use a header file that comes with gcc, so configuring glibc
7414 # with a fresh cross-compiler works.
7415 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7416 # <limits.h> exists even on freestanding compilers.
7417 # On the NeXT, cc -E runs the code through the compiler's parser,
7418 # not just through cpp. "Syntax error" is here to catch this case.
7419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7420 /* end confdefs.h. */
7421 #ifdef __STDC__
7422 # include <limits.h>
7423 #else
7424 # include <assert.h>
7425 #endif
7426 Syntax error
7427 _ACEOF
7428 if ac_fn_c_try_cpp "$LINENO"; then :
7429
7430 else
7431 # Broken: fails on valid input.
7432 continue
7433 fi
7434 rm -f conftest.err conftest.i conftest.$ac_ext
7435
7436 # OK, works on sane cases. Now check whether nonexistent headers
7437 # can be detected and how.
7438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7439 /* end confdefs.h. */
7440 #include <ac_nonexistent.h>
7441 _ACEOF
7442 if ac_fn_c_try_cpp "$LINENO"; then :
7443 # Broken: success on invalid input.
7444 continue
7445 else
7446 # Passes both tests.
7447 ac_preproc_ok=:
7448 break
7449 fi
7450 rm -f conftest.err conftest.i conftest.$ac_ext
7451
7452 done
7453 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7454 rm -f conftest.i conftest.err conftest.$ac_ext
7455 if $ac_preproc_ok; then :
7456
7457 else
7458 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7459 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7460 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7461 See \`config.log' for more details" "$LINENO" 5; }
7462 fi
7463
7464 ac_ext=c
7465 ac_cpp='$CPP $CPPFLAGS'
7466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7469
7470
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7472 $as_echo_n "checking for ANSI C header files... " >&6; }
7473 if ${ac_cv_header_stdc+:} false; then :
7474 $as_echo_n "(cached) " >&6
7475 else
7476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7477 /* end confdefs.h. */
7478 #include <stdlib.h>
7479 #include <stdarg.h>
7480 #include <string.h>
7481 #include <float.h>
7482
7483 int
7484 main ()
7485 {
7486
7487 ;
7488 return 0;
7489 }
7490 _ACEOF
7491 if ac_fn_c_try_compile "$LINENO"; then :
7492 ac_cv_header_stdc=yes
7493 else
7494 ac_cv_header_stdc=no
7495 fi
7496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7497
7498 if test $ac_cv_header_stdc = yes; then
7499 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7501 /* end confdefs.h. */
7502 #include <string.h>
7503
7504 _ACEOF
7505 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7506 $EGREP "memchr" >/dev/null 2>&1; then :
7507
7508 else
7509 ac_cv_header_stdc=no
7510 fi
7511 rm -f conftest*
7512
7513 fi
7514
7515 if test $ac_cv_header_stdc = yes; then
7516 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7518 /* end confdefs.h. */
7519 #include <stdlib.h>
7520
7521 _ACEOF
7522 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7523 $EGREP "free" >/dev/null 2>&1; then :
7524
7525 else
7526 ac_cv_header_stdc=no
7527 fi
7528 rm -f conftest*
7529
7530 fi
7531
7532 if test $ac_cv_header_stdc = yes; then
7533 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7534 if test "$cross_compiling" = yes; then :
7535 :
7536 else
7537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7538 /* end confdefs.h. */
7539 #include <ctype.h>
7540 #include <stdlib.h>
7541 #if ((' ' & 0x0FF) == 0x020)
7542 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7543 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7544 #else
7545 # define ISLOWER(c) \
7546 (('a' <= (c) && (c) <= 'i') \
7547 || ('j' <= (c) && (c) <= 'r') \
7548 || ('s' <= (c) && (c) <= 'z'))
7549 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7550 #endif
7551
7552 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7553 int
7554 main ()
7555 {
7556 int i;
7557 for (i = 0; i < 256; i++)
7558 if (XOR (islower (i), ISLOWER (i))
7559 || toupper (i) != TOUPPER (i))
7560 return 2;
7561 return 0;
7562 }
7563 _ACEOF
7564 if ac_fn_c_try_run "$LINENO"; then :
7565
7566 else
7567 ac_cv_header_stdc=no
7568 fi
7569 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7570 conftest.$ac_objext conftest.beam conftest.$ac_ext
7571 fi
7572
7573 fi
7574 fi
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7576 $as_echo "$ac_cv_header_stdc" >&6; }
7577 if test $ac_cv_header_stdc = yes; then
7578
7579 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7580
7581 fi
7582
7583 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7584 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7585 inttypes.h stdint.h unistd.h
7586 do :
7587 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7588 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7589 "
7590 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7591 cat >>confdefs.h <<_ACEOF
7592 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7593 _ACEOF
7594
7595 fi
7596
7597 done
7598
7599
7600 for ac_header in dlfcn.h
7601 do :
7602 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7603 "
7604 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7605 cat >>confdefs.h <<_ACEOF
7606 #define HAVE_DLFCN_H 1
7607 _ACEOF
7608
7609 fi
7610
7611 done
7612
7613
7614
7615
7616
7617 # Set options
7618 # Check whether --enable-static was given.
7619 if test "${enable_static+set}" = set; then :
7620 enableval=$enable_static; p=${PACKAGE-default}
7621 case $enableval in
7622 yes) enable_static=yes ;;
7623 no) enable_static=no ;;
7624 *)
7625 enable_static=no
7626 # Look at the argument we got. We use all the common list separators.
7627 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7628 for pkg in $enableval; do
7629 IFS="$lt_save_ifs"
7630 if test "X$pkg" = "X$p"; then
7631 enable_static=yes
7632 fi
7633 done
7634 IFS="$lt_save_ifs"
7635 ;;
7636 esac
7637 else
7638 enable_static=no
7639 fi
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650 enable_dlopen=no
7651
7652
7653 enable_win32_dll=no
7654
7655
7656 # Check whether --enable-shared was given.
7657 if test "${enable_shared+set}" = set; then :
7658 enableval=$enable_shared; p=${PACKAGE-default}
7659 case $enableval in
7660 yes) enable_shared=yes ;;
7661 no) enable_shared=no ;;
7662 *)
7663 enable_shared=no
7664 # Look at the argument we got. We use all the common list separators.
7665 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7666 for pkg in $enableval; do
7667 IFS="$lt_save_ifs"
7668 if test "X$pkg" = "X$p"; then
7669 enable_shared=yes
7670 fi
7671 done
7672 IFS="$lt_save_ifs"
7673 ;;
7674 esac
7675 else
7676 enable_shared=yes
7677 fi
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689 # Check whether --with-pic was given.
7690 if test "${with_pic+set}" = set; then :
7691 withval=$with_pic; lt_p=${PACKAGE-default}
7692 case $withval in
7693 yes|no) pic_mode=$withval ;;
7694 *)
7695 pic_mode=default
7696 # Look at the argument we got. We use all the common list separators.
7697 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7698 for lt_pkg in $withval; do
7699 IFS="$lt_save_ifs"
7700 if test "X$lt_pkg" = "X$lt_p"; then
7701 pic_mode=yes
7702 fi
7703 done
7704 IFS="$lt_save_ifs"
7705 ;;
7706 esac
7707 else
7708 pic_mode=default
7709 fi
7710
7711
7712 test -z "$pic_mode" && pic_mode=default
7713
7714
7715
7716
7717
7718
7719
7720 # Check whether --enable-fast-install was given.
7721 if test "${enable_fast_install+set}" = set; then :
7722 enableval=$enable_fast_install; p=${PACKAGE-default}
7723 case $enableval in
7724 yes) enable_fast_install=yes ;;
7725 no) enable_fast_install=no ;;
7726 *)
7727 enable_fast_install=no
7728 # Look at the argument we got. We use all the common list separators.
7729 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7730 for pkg in $enableval; do
7731 IFS="$lt_save_ifs"
7732 if test "X$pkg" = "X$p"; then
7733 enable_fast_install=yes
7734 fi
7735 done
7736 IFS="$lt_save_ifs"
7737 ;;
7738 esac
7739 else
7740 enable_fast_install=yes
7741 fi
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753 # This can be used to rebuild libtool when needed
7754 LIBTOOL_DEPS="$ltmain"
7755
7756 # Always use our own libtool.
7757 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788 test -z "$LN_S" && LN_S="ln -s"
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803 if test -n "${ZSH_VERSION+set}" ; then
7804 setopt NO_GLOB_SUBST
7805 fi
7806
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7808 $as_echo_n "checking for objdir... " >&6; }
7809 if ${lt_cv_objdir+:} false; then :
7810 $as_echo_n "(cached) " >&6
7811 else
7812 rm -f .libs 2>/dev/null
7813 mkdir .libs 2>/dev/null
7814 if test -d .libs; then
7815 lt_cv_objdir=.libs
7816 else
7817 # MS-DOS does not allow filenames that begin with a dot.
7818 lt_cv_objdir=_libs
7819 fi
7820 rmdir .libs 2>/dev/null
7821 fi
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7823 $as_echo "$lt_cv_objdir" >&6; }
7824 objdir=$lt_cv_objdir
7825
7826
7827
7828
7829
7830 cat >>confdefs.h <<_ACEOF
7831 #define LT_OBJDIR "$lt_cv_objdir/"
7832 _ACEOF
7833
7834
7835
7836
7837 case $host_os in
7838 aix3*)
7839 # AIX sometimes has problems with the GCC collect2 program. For some
7840 # reason, if we set the COLLECT_NAMES environment variable, the problems
7841 # vanish in a puff of smoke.
7842 if test "X${COLLECT_NAMES+set}" != Xset; then
7843 COLLECT_NAMES=
7844 export COLLECT_NAMES
7845 fi
7846 ;;
7847 esac
7848
7849 # Global variables:
7850 ofile=libtool
7851 can_build_shared=yes
7852
7853 # All known linkers require a `.a' archive for static linking (except MSVC,
7854 # which needs '.lib').
7855 libext=a
7856
7857 with_gnu_ld="$lt_cv_prog_gnu_ld"
7858
7859 old_CC="$CC"
7860 old_CFLAGS="$CFLAGS"
7861
7862 # Set sane defaults for various variables
7863 test -z "$CC" && CC=cc
7864 test -z "$LTCC" && LTCC=$CC
7865 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7866 test -z "$LD" && LD=ld
7867 test -z "$ac_objext" && ac_objext=o
7868
7869 for cc_temp in $compiler""; do
7870 case $cc_temp in
7871 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7872 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7873 \-*) ;;
7874 *) break;;
7875 esac
7876 done
7877 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7878
7879
7880 # Only perform the check for file, if the check method requires it
7881 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7882 case $deplibs_check_method in
7883 file_magic*)
7884 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7886 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7887 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7888 $as_echo_n "(cached) " >&6
7889 else
7890 case $MAGIC_CMD in
7891 [\\/*] | ?:[\\/]*)
7892 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7893 ;;
7894 *)
7895 lt_save_MAGIC_CMD="$MAGIC_CMD"
7896 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7897 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7898 for ac_dir in $ac_dummy; do
7899 IFS="$lt_save_ifs"
7900 test -z "$ac_dir" && ac_dir=.
7901 if test -f $ac_dir/${ac_tool_prefix}file; then
7902 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7903 if test -n "$file_magic_test_file"; then
7904 case $deplibs_check_method in
7905 "file_magic "*)
7906 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7907 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7908 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7909 $EGREP "$file_magic_regex" > /dev/null; then
7910 :
7911 else
7912 cat <<_LT_EOF 1>&2
7913
7914 *** Warning: the command libtool uses to detect shared libraries,
7915 *** $file_magic_cmd, produces output that libtool cannot recognize.
7916 *** The result is that libtool may fail to recognize shared libraries
7917 *** as such. This will affect the creation of libtool libraries that
7918 *** depend on shared libraries, but programs linked with such libtool
7919 *** libraries will work regardless of this problem. Nevertheless, you
7920 *** may want to report the problem to your system manager and/or to
7921 *** [email protected]
7922
7923 _LT_EOF
7924 fi ;;
7925 esac
7926 fi
7927 break
7928 fi
7929 done
7930 IFS="$lt_save_ifs"
7931 MAGIC_CMD="$lt_save_MAGIC_CMD"
7932 ;;
7933 esac
7934 fi
7935
7936 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7937 if test -n "$MAGIC_CMD"; then
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7939 $as_echo "$MAGIC_CMD" >&6; }
7940 else
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7942 $as_echo "no" >&6; }
7943 fi
7944
7945
7946
7947
7948
7949 if test -z "$lt_cv_path_MAGIC_CMD"; then
7950 if test -n "$ac_tool_prefix"; then
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7952 $as_echo_n "checking for file... " >&6; }
7953 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7954 $as_echo_n "(cached) " >&6
7955 else
7956 case $MAGIC_CMD in
7957 [\\/*] | ?:[\\/]*)
7958 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7959 ;;
7960 *)
7961 lt_save_MAGIC_CMD="$MAGIC_CMD"
7962 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7963 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7964 for ac_dir in $ac_dummy; do
7965 IFS="$lt_save_ifs"
7966 test -z "$ac_dir" && ac_dir=.
7967 if test -f $ac_dir/file; then
7968 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7969 if test -n "$file_magic_test_file"; then
7970 case $deplibs_check_method in
7971 "file_magic "*)
7972 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7973 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7974 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7975 $EGREP "$file_magic_regex" > /dev/null; then
7976 :
7977 else
7978 cat <<_LT_EOF 1>&2
7979
7980 *** Warning: the command libtool uses to detect shared libraries,
7981 *** $file_magic_cmd, produces output that libtool cannot recognize.
7982 *** The result is that libtool may fail to recognize shared libraries
7983 *** as such. This will affect the creation of libtool libraries that
7984 *** depend on shared libraries, but programs linked with such libtool
7985 *** libraries will work regardless of this problem. Nevertheless, you
7986 *** may want to report the problem to your system manager and/or to
7987 *** [email protected]
7988
7989 _LT_EOF
7990 fi ;;
7991 esac
7992 fi
7993 break
7994 fi
7995 done
7996 IFS="$lt_save_ifs"
7997 MAGIC_CMD="$lt_save_MAGIC_CMD"
7998 ;;
7999 esac
8000 fi
8001
8002 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8003 if test -n "$MAGIC_CMD"; then
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8005 $as_echo "$MAGIC_CMD" >&6; }
8006 else
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8008 $as_echo "no" >&6; }
8009 fi
8010
8011
8012 else
8013 MAGIC_CMD=:
8014 fi
8015 fi
8016
8017 fi
8018 ;;
8019 esac
8020
8021 # Use C for the default configuration in the libtool script
8022
8023 lt_save_CC="$CC"
8024 ac_ext=c
8025 ac_cpp='$CPP $CPPFLAGS'
8026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8029
8030
8031 # Source file extension for C test sources.
8032 ac_ext=c
8033
8034 # Object file extension for compiled C test sources.
8035 objext=o
8036 objext=$objext
8037
8038 # Code to be used in simple compile tests
8039 lt_simple_compile_test_code="int some_variable = 0;"
8040
8041 # Code to be used in simple link tests
8042 lt_simple_link_test_code='int main(){return(0);}'
8043
8044
8045
8046
8047
8048
8049
8050 # If no C compiler was specified, use CC.
8051 LTCC=${LTCC-"$CC"}
8052
8053 # If no C compiler flags were specified, use CFLAGS.
8054 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8055
8056 # Allow CC to be a program name with arguments.
8057 compiler=$CC
8058
8059 # Save the default compiler, since it gets overwritten when the other
8060 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8061 compiler_DEFAULT=$CC
8062
8063 # save warnings/boilerplate of simple test code
8064 ac_outfile=conftest.$ac_objext
8065 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8066 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8067 _lt_compiler_boilerplate=`cat conftest.err`
8068 $RM conftest*
8069
8070 ac_outfile=conftest.$ac_objext
8071 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8072 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8073 _lt_linker_boilerplate=`cat conftest.err`
8074 $RM -r conftest*
8075
8076
8077 ## CAVEAT EMPTOR:
8078 ## There is no encapsulation within the following macros, do not change
8079 ## the running order or otherwise move them around unless you know exactly
8080 ## what you are doing...
8081 if test -n "$compiler"; then
8082
8083 lt_prog_compiler_no_builtin_flag=
8084
8085 if test "$GCC" = yes; then
8086 case $cc_basename in
8087 nvcc*)
8088 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8089 *)
8090 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8091 esac
8092
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8094 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8095 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8096 $as_echo_n "(cached) " >&6
8097 else
8098 lt_cv_prog_compiler_rtti_exceptions=no
8099 ac_outfile=conftest.$ac_objext
8100 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8101 lt_compiler_flag="-fno-rtti -fno-exceptions"
8102 # Insert the option either (1) after the last *FLAGS variable, or
8103 # (2) before a word containing "conftest.", or (3) at the end.
8104 # Note that $ac_compile itself does not contain backslashes and begins
8105 # with a dollar sign (not a hyphen), so the echo should work correctly.
8106 # The option is referenced via a variable to avoid confusing sed.
8107 lt_compile=`echo "$ac_compile" | $SED \
8108 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8109 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8110 -e 's:$: $lt_compiler_flag:'`
8111 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8112 (eval "$lt_compile" 2>conftest.err)
8113 ac_status=$?
8114 cat conftest.err >&5
8115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8116 if (exit $ac_status) && test -s "$ac_outfile"; then
8117 # The compiler can only warn and ignore the option if not recognized
8118 # So say no if there are warnings other than the usual output.
8119 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8120 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8121 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8122 lt_cv_prog_compiler_rtti_exceptions=yes
8123 fi
8124 fi
8125 $RM conftest*
8126
8127 fi
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8129 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8130
8131 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8132 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8133 else
8134 :
8135 fi
8136
8137 fi
8138
8139
8140
8141
8142
8143
8144 lt_prog_compiler_wl=
8145 lt_prog_compiler_pic=
8146 lt_prog_compiler_static=
8147
8148
8149 if test "$GCC" = yes; then
8150 lt_prog_compiler_wl='-Wl,'
8151 lt_prog_compiler_static='-static'
8152
8153 case $host_os in
8154 aix*)
8155 # All AIX code is PIC.
8156 if test "$host_cpu" = ia64; then
8157 # AIX 5 now supports IA64 processor
8158 lt_prog_compiler_static='-Bstatic'
8159 fi
8160 ;;
8161
8162 amigaos*)
8163 case $host_cpu in
8164 powerpc)
8165 # see comment about AmigaOS4 .so support
8166 lt_prog_compiler_pic='-fPIC'
8167 ;;
8168 m68k)
8169 # FIXME: we need at least 68020 code to build shared libraries, but
8170 # adding the `-m68020' flag to GCC prevents building anything better,
8171 # like `-m68040'.
8172 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8173 ;;
8174 esac
8175 ;;
8176
8177 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8178 # PIC is the default for these OSes.
8179 ;;
8180
8181 mingw* | cygwin* | pw32* | os2* | cegcc*)
8182 # This hack is so that the source file can tell whether it is being
8183 # built for inclusion in a dll (and should export symbols for example).
8184 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8185 # (--disable-auto-import) libraries
8186 lt_prog_compiler_pic='-DDLL_EXPORT'
8187 ;;
8188
8189 darwin* | rhapsody*)
8190 # PIC is the default on this platform
8191 # Common symbols not allowed in MH_DYLIB files
8192 lt_prog_compiler_pic='-fno-common'
8193 ;;
8194
8195 haiku*)
8196 # PIC is the default for Haiku.
8197 # The "-static" flag exists, but is broken.
8198 lt_prog_compiler_static=
8199 ;;
8200
8201 hpux*)
8202 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8203 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8204 # sets the default TLS model and affects inlining.
8205 case $host_cpu in
8206 hppa*64*)
8207 # +Z the default
8208 ;;
8209 *)
8210 lt_prog_compiler_pic='-fPIC'
8211 ;;
8212 esac
8213 ;;
8214
8215 interix[3-9]*)
8216 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8217 # Instead, we relocate shared libraries at runtime.
8218 ;;
8219
8220 msdosdjgpp*)
8221 # Just because we use GCC doesn't mean we suddenly get shared libraries
8222 # on systems that don't support them.
8223 lt_prog_compiler_can_build_shared=no
8224 enable_shared=no
8225 ;;
8226
8227 *nto* | *qnx*)
8228 # QNX uses GNU C++, but need to define -shared option too, otherwise
8229 # it will coredump.
8230 lt_prog_compiler_pic='-fPIC -shared'
8231 ;;
8232
8233 sysv4*MP*)
8234 if test -d /usr/nec; then
8235 lt_prog_compiler_pic=-Kconform_pic
8236 fi
8237 ;;
8238
8239 *)
8240 lt_prog_compiler_pic='-fPIC'
8241 ;;
8242 esac
8243
8244 case $cc_basename in
8245 nvcc*) # Cuda Compiler Driver 2.2
8246 lt_prog_compiler_wl='-Xlinker '
8247 if test -n "$lt_prog_compiler_pic"; then
8248 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8249 fi
8250 ;;
8251 esac
8252 else
8253 # PORTME Check for flag to pass linker flags through the system compiler.
8254 case $host_os in
8255 aix*)
8256 lt_prog_compiler_wl='-Wl,'
8257 if test "$host_cpu" = ia64; then
8258 # AIX 5 now supports IA64 processor
8259 lt_prog_compiler_static='-Bstatic'
8260 else
8261 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8262 fi
8263 ;;
8264
8265 mingw* | cygwin* | pw32* | os2* | cegcc*)
8266 # This hack is so that the source file can tell whether it is being
8267 # built for inclusion in a dll (and should export symbols for example).
8268 lt_prog_compiler_pic='-DDLL_EXPORT'
8269 ;;
8270
8271 hpux9* | hpux10* | hpux11*)
8272 lt_prog_compiler_wl='-Wl,'
8273 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8274 # not for PA HP-UX.
8275 case $host_cpu in
8276 hppa*64*|ia64*)
8277 # +Z the default
8278 ;;
8279 *)
8280 lt_prog_compiler_pic='+Z'
8281 ;;
8282 esac
8283 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8284 lt_prog_compiler_static='${wl}-a ${wl}archive'
8285 ;;
8286
8287 irix5* | irix6* | nonstopux*)
8288 lt_prog_compiler_wl='-Wl,'
8289 # PIC (with -KPIC) is the default.
8290 lt_prog_compiler_static='-non_shared'
8291 ;;
8292
8293 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8294 case $cc_basename in
8295 # old Intel for x86_64 which still supported -KPIC.
8296 ecc*)
8297 lt_prog_compiler_wl='-Wl,'
8298 lt_prog_compiler_pic='-KPIC'
8299 lt_prog_compiler_static='-static'
8300 ;;
8301 # icc used to be incompatible with GCC.
8302 # ICC 10 doesn't accept -KPIC any more.
8303 icc* | ifort*)
8304 lt_prog_compiler_wl='-Wl,'
8305 lt_prog_compiler_pic='-fPIC'
8306 lt_prog_compiler_static='-static'
8307 ;;
8308 # Lahey Fortran 8.1.
8309 lf95*)
8310 lt_prog_compiler_wl='-Wl,'
8311 lt_prog_compiler_pic='--shared'
8312 lt_prog_compiler_static='--static'
8313 ;;
8314 nagfor*)
8315 # NAG Fortran compiler
8316 lt_prog_compiler_wl='-Wl,-Wl,,'
8317 lt_prog_compiler_pic='-PIC'
8318 lt_prog_compiler_static='-Bstatic'
8319 ;;
8320 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8321 # Portland Group compilers (*not* the Pentium gcc compiler,
8322 # which looks to be a dead project)
8323 lt_prog_compiler_wl='-Wl,'
8324 lt_prog_compiler_pic='-fpic'
8325 lt_prog_compiler_static='-Bstatic'
8326 ;;
8327 ccc*)
8328 lt_prog_compiler_wl='-Wl,'
8329 # All Alpha code is PIC.
8330 lt_prog_compiler_static='-non_shared'
8331 ;;
8332 xl* | bgxl* | bgf* | mpixl*)
8333 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8334 lt_prog_compiler_wl='-Wl,'
8335 lt_prog_compiler_pic='-qpic'
8336 lt_prog_compiler_static='-qstaticlink'
8337 ;;
8338 *)
8339 case `$CC -V 2>&1 | sed 5q` in
8340 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8341 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8342 lt_prog_compiler_pic='-KPIC'
8343 lt_prog_compiler_static='-Bstatic'
8344 lt_prog_compiler_wl=''
8345 ;;
8346 *Sun\ F* | *Sun*Fortran*)
8347 lt_prog_compiler_pic='-KPIC'
8348 lt_prog_compiler_static='-Bstatic'
8349 lt_prog_compiler_wl='-Qoption ld '
8350 ;;
8351 *Sun\ C*)
8352 # Sun C 5.9
8353 lt_prog_compiler_pic='-KPIC'
8354 lt_prog_compiler_static='-Bstatic'
8355 lt_prog_compiler_wl='-Wl,'
8356 ;;
8357 *Intel*\ [CF]*Compiler*)
8358 lt_prog_compiler_wl='-Wl,'
8359 lt_prog_compiler_pic='-fPIC'
8360 lt_prog_compiler_static='-static'
8361 ;;
8362 *Portland\ Group*)
8363 lt_prog_compiler_wl='-Wl,'
8364 lt_prog_compiler_pic='-fpic'
8365 lt_prog_compiler_static='-Bstatic'
8366 ;;
8367 esac
8368 ;;
8369 esac
8370 ;;
8371
8372 newsos6)
8373 lt_prog_compiler_pic='-KPIC'
8374 lt_prog_compiler_static='-Bstatic'
8375 ;;
8376
8377 *nto* | *qnx*)
8378 # QNX uses GNU C++, but need to define -shared option too, otherwise
8379 # it will coredump.
8380 lt_prog_compiler_pic='-fPIC -shared'
8381 ;;
8382
8383 osf3* | osf4* | osf5*)
8384 lt_prog_compiler_wl='-Wl,'
8385 # All OSF/1 code is PIC.
8386 lt_prog_compiler_static='-non_shared'
8387 ;;
8388
8389 rdos*)
8390 lt_prog_compiler_static='-non_shared'
8391 ;;
8392
8393 solaris*)
8394 lt_prog_compiler_pic='-KPIC'
8395 lt_prog_compiler_static='-Bstatic'
8396 case $cc_basename in
8397 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8398 lt_prog_compiler_wl='-Qoption ld ';;
8399 *)
8400 lt_prog_compiler_wl='-Wl,';;
8401 esac
8402 ;;
8403
8404 sunos4*)
8405 lt_prog_compiler_wl='-Qoption ld '
8406 lt_prog_compiler_pic='-PIC'
8407 lt_prog_compiler_static='-Bstatic'
8408 ;;
8409
8410 sysv4 | sysv4.2uw2* | sysv4.3*)
8411 lt_prog_compiler_wl='-Wl,'
8412 lt_prog_compiler_pic='-KPIC'
8413 lt_prog_compiler_static='-Bstatic'
8414 ;;
8415
8416 sysv4*MP*)
8417 if test -d /usr/nec ;then
8418 lt_prog_compiler_pic='-Kconform_pic'
8419 lt_prog_compiler_static='-Bstatic'
8420 fi
8421 ;;
8422
8423 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8424 lt_prog_compiler_wl='-Wl,'
8425 lt_prog_compiler_pic='-KPIC'
8426 lt_prog_compiler_static='-Bstatic'
8427 ;;
8428
8429 unicos*)
8430 lt_prog_compiler_wl='-Wl,'
8431 lt_prog_compiler_can_build_shared=no
8432 ;;
8433
8434 uts4*)
8435 lt_prog_compiler_pic='-pic'
8436 lt_prog_compiler_static='-Bstatic'
8437 ;;
8438
8439 *)
8440 lt_prog_compiler_can_build_shared=no
8441 ;;
8442 esac
8443 fi
8444
8445 case $host_os in
8446 # For platforms which do not support PIC, -DPIC is meaningless:
8447 *djgpp*)
8448 lt_prog_compiler_pic=
8449 ;;
8450 *)
8451 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8452 ;;
8453 esac
8454
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8456 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8457 if ${lt_cv_prog_compiler_pic+:} false; then :
8458 $as_echo_n "(cached) " >&6
8459 else
8460 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8461 fi
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8463 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8464 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8465
8466 #
8467 # Check to make sure the PIC flag actually works.
8468 #
8469 if test -n "$lt_prog_compiler_pic"; then
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8471 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8472 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8473 $as_echo_n "(cached) " >&6
8474 else
8475 lt_cv_prog_compiler_pic_works=no
8476 ac_outfile=conftest.$ac_objext
8477 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8478 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8479 # Insert the option either (1) after the last *FLAGS variable, or
8480 # (2) before a word containing "conftest.", or (3) at the end.
8481 # Note that $ac_compile itself does not contain backslashes and begins
8482 # with a dollar sign (not a hyphen), so the echo should work correctly.
8483 # The option is referenced via a variable to avoid confusing sed.
8484 lt_compile=`echo "$ac_compile" | $SED \
8485 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8486 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8487 -e 's:$: $lt_compiler_flag:'`
8488 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8489 (eval "$lt_compile" 2>conftest.err)
8490 ac_status=$?
8491 cat conftest.err >&5
8492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8493 if (exit $ac_status) && test -s "$ac_outfile"; then
8494 # The compiler can only warn and ignore the option if not recognized
8495 # So say no if there are warnings other than the usual output.
8496 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8497 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8498 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8499 lt_cv_prog_compiler_pic_works=yes
8500 fi
8501 fi
8502 $RM conftest*
8503
8504 fi
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8506 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8507
8508 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8509 case $lt_prog_compiler_pic in
8510 "" | " "*) ;;
8511 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8512 esac
8513 else
8514 lt_prog_compiler_pic=
8515 lt_prog_compiler_can_build_shared=no
8516 fi
8517
8518 fi
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530 #
8531 # Check to make sure the static flag actually works.
8532 #
8533 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8535 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8536 if ${lt_cv_prog_compiler_static_works+:} false; then :
8537 $as_echo_n "(cached) " >&6
8538 else
8539 lt_cv_prog_compiler_static_works=no
8540 save_LDFLAGS="$LDFLAGS"
8541 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8542 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8543 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8544 # The linker can only warn and ignore the option if not recognized
8545 # So say no if there are warnings
8546 if test -s conftest.err; then
8547 # Append any errors to the config.log.
8548 cat conftest.err 1>&5
8549 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8550 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8551 if diff conftest.exp conftest.er2 >/dev/null; then
8552 lt_cv_prog_compiler_static_works=yes
8553 fi
8554 else
8555 lt_cv_prog_compiler_static_works=yes
8556 fi
8557 fi
8558 $RM -r conftest*
8559 LDFLAGS="$save_LDFLAGS"
8560
8561 fi
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8563 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8564
8565 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8566 :
8567 else
8568 lt_prog_compiler_static=
8569 fi
8570
8571
8572
8573
8574
8575
8576
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8578 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8579 if ${lt_cv_prog_compiler_c_o+:} false; then :
8580 $as_echo_n "(cached) " >&6
8581 else
8582 lt_cv_prog_compiler_c_o=no
8583 $RM -r conftest 2>/dev/null
8584 mkdir conftest
8585 cd conftest
8586 mkdir out
8587 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8588
8589 lt_compiler_flag="-o out/conftest2.$ac_objext"
8590 # Insert the option either (1) after the last *FLAGS variable, or
8591 # (2) before a word containing "conftest.", or (3) at the end.
8592 # Note that $ac_compile itself does not contain backslashes and begins
8593 # with a dollar sign (not a hyphen), so the echo should work correctly.
8594 lt_compile=`echo "$ac_compile" | $SED \
8595 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8596 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8597 -e 's:$: $lt_compiler_flag:'`
8598 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8599 (eval "$lt_compile" 2>out/conftest.err)
8600 ac_status=$?
8601 cat out/conftest.err >&5
8602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8603 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8604 then
8605 # The compiler can only warn and ignore the option if not recognized
8606 # So say no if there are warnings
8607 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8608 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8609 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8610 lt_cv_prog_compiler_c_o=yes
8611 fi
8612 fi
8613 chmod u+w . 2>&5
8614 $RM conftest*
8615 # SGI C++ compiler will create directory out/ii_files/ for
8616 # template instantiation
8617 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8618 $RM out/* && rmdir out
8619 cd ..
8620 $RM -r conftest
8621 $RM conftest*
8622
8623 fi
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8625 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8626
8627
8628
8629
8630
8631
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8633 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8634 if ${lt_cv_prog_compiler_c_o+:} false; then :
8635 $as_echo_n "(cached) " >&6
8636 else
8637 lt_cv_prog_compiler_c_o=no
8638 $RM -r conftest 2>/dev/null
8639 mkdir conftest
8640 cd conftest
8641 mkdir out
8642 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8643
8644 lt_compiler_flag="-o out/conftest2.$ac_objext"
8645 # Insert the option either (1) after the last *FLAGS variable, or
8646 # (2) before a word containing "conftest.", or (3) at the end.
8647 # Note that $ac_compile itself does not contain backslashes and begins
8648 # with a dollar sign (not a hyphen), so the echo should work correctly.
8649 lt_compile=`echo "$ac_compile" | $SED \
8650 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8651 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8652 -e 's:$: $lt_compiler_flag:'`
8653 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8654 (eval "$lt_compile" 2>out/conftest.err)
8655 ac_status=$?
8656 cat out/conftest.err >&5
8657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8658 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8659 then
8660 # The compiler can only warn and ignore the option if not recognized
8661 # So say no if there are warnings
8662 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8663 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8664 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8665 lt_cv_prog_compiler_c_o=yes
8666 fi
8667 fi
8668 chmod u+w . 2>&5
8669 $RM conftest*
8670 # SGI C++ compiler will create directory out/ii_files/ for
8671 # template instantiation
8672 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8673 $RM out/* && rmdir out
8674 cd ..
8675 $RM -r conftest
8676 $RM conftest*
8677
8678 fi
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8680 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8681
8682
8683
8684
8685 hard_links="nottested"
8686 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8687 # do not overwrite the value of need_locks provided by the user
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8689 $as_echo_n "checking if we can lock with hard links... " >&6; }
8690 hard_links=yes
8691 $RM conftest*
8692 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8693 touch conftest.a
8694 ln conftest.a conftest.b 2>&5 || hard_links=no
8695 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8697 $as_echo "$hard_links" >&6; }
8698 if test "$hard_links" = no; then
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8700 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8701 need_locks=warn
8702 fi
8703 else
8704 need_locks=no
8705 fi
8706
8707
8708
8709
8710
8711
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8713 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8714
8715 runpath_var=
8716 allow_undefined_flag=
8717 always_export_symbols=no
8718 archive_cmds=
8719 archive_expsym_cmds=
8720 compiler_needs_object=no
8721 enable_shared_with_static_runtimes=no
8722 export_dynamic_flag_spec=
8723 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8724 hardcode_automatic=no
8725 hardcode_direct=no
8726 hardcode_direct_absolute=no
8727 hardcode_libdir_flag_spec=
8728 hardcode_libdir_separator=
8729 hardcode_minus_L=no
8730 hardcode_shlibpath_var=unsupported
8731 inherit_rpath=no
8732 link_all_deplibs=unknown
8733 module_cmds=
8734 module_expsym_cmds=
8735 old_archive_from_new_cmds=
8736 old_archive_from_expsyms_cmds=
8737 thread_safe_flag_spec=
8738 whole_archive_flag_spec=
8739 # include_expsyms should be a list of space-separated symbols to be *always*
8740 # included in the symbol list
8741 include_expsyms=
8742 # exclude_expsyms can be an extended regexp of symbols to exclude
8743 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8744 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8745 # as well as any symbol that contains `d'.
8746 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8747 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8748 # platforms (ab)use it in PIC code, but their linkers get confused if
8749 # the symbol is explicitly referenced. Since portable code cannot
8750 # rely on this symbol name, it's probably fine to never include it in
8751 # preloaded symbol tables.
8752 # Exclude shared library initialization/finalization symbols.
8753 extract_expsyms_cmds=
8754
8755 case $host_os in
8756 cygwin* | mingw* | pw32* | cegcc*)
8757 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8758 # When not using gcc, we currently assume that we are using
8759 # Microsoft Visual C++.
8760 if test "$GCC" != yes; then
8761 with_gnu_ld=no
8762 fi
8763 ;;
8764 interix*)
8765 # we just hope/assume this is gcc and not c89 (= MSVC++)
8766 with_gnu_ld=yes
8767 ;;
8768 openbsd*)
8769 with_gnu_ld=no
8770 ;;
8771 linux* | k*bsd*-gnu | gnu*)
8772 link_all_deplibs=no
8773 ;;
8774 esac
8775
8776 ld_shlibs=yes
8777
8778 # On some targets, GNU ld is compatible enough with the native linker
8779 # that we're better off using the native interface for both.
8780 lt_use_gnu_ld_interface=no
8781 if test "$with_gnu_ld" = yes; then
8782 case $host_os in
8783 aix*)
8784 # The AIX port of GNU ld has always aspired to compatibility
8785 # with the native linker. However, as the warning in the GNU ld
8786 # block says, versions before 2.19.5* couldn't really create working
8787 # shared libraries, regardless of the interface used.
8788 case `$LD -v 2>&1` in
8789 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8790 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8791 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8792 *)
8793 lt_use_gnu_ld_interface=yes
8794 ;;
8795 esac
8796 ;;
8797 *)
8798 lt_use_gnu_ld_interface=yes
8799 ;;
8800 esac
8801 fi
8802
8803 if test "$lt_use_gnu_ld_interface" = yes; then
8804 # If archive_cmds runs LD, not CC, wlarc should be empty
8805 wlarc='${wl}'
8806
8807 # Set some defaults for GNU ld with shared library support. These
8808 # are reset later if shared libraries are not supported. Putting them
8809 # here allows them to be overridden if necessary.
8810 runpath_var=LD_RUN_PATH
8811 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8812 export_dynamic_flag_spec='${wl}--export-dynamic'
8813 # ancient GNU ld didn't support --whole-archive et. al.
8814 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8815 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8816 else
8817 whole_archive_flag_spec=
8818 fi
8819 supports_anon_versioning=no
8820 case `$LD -v 2>&1` in
8821 *GNU\ gold*) supports_anon_versioning=yes ;;
8822 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8823 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8824 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8825 *\ 2.11.*) ;; # other 2.11 versions
8826 *) supports_anon_versioning=yes ;;
8827 esac
8828
8829 # See if GNU ld supports shared libraries.
8830 case $host_os in
8831 aix[3-9]*)
8832 # On AIX/PPC, the GNU linker is very broken
8833 if test "$host_cpu" != ia64; then
8834 ld_shlibs=no
8835 cat <<_LT_EOF 1>&2
8836
8837 *** Warning: the GNU linker, at least up to release 2.19, is reported
8838 *** to be unable to reliably create shared libraries on AIX.
8839 *** Therefore, libtool is disabling shared libraries support. If you
8840 *** really care for shared libraries, you may want to install binutils
8841 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8842 *** You will then need to restart the configuration process.
8843
8844 _LT_EOF
8845 fi
8846 ;;
8847
8848 amigaos*)
8849 case $host_cpu in
8850 powerpc)
8851 # see comment about AmigaOS4 .so support
8852 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8853 archive_expsym_cmds=''
8854 ;;
8855 m68k)
8856 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)'
8857 hardcode_libdir_flag_spec='-L$libdir'
8858 hardcode_minus_L=yes
8859 ;;
8860 esac
8861 ;;
8862
8863 beos*)
8864 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8865 allow_undefined_flag=unsupported
8866 # Joseph Beckenbach <[email protected]> says some releases of gcc
8867 # support --undefined. This deserves some investigation. FIXME
8868 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8869 else
8870 ld_shlibs=no
8871 fi
8872 ;;
8873
8874 cygwin* | mingw* | pw32* | cegcc*)
8875 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8876 # as there is no search path for DLLs.
8877 hardcode_libdir_flag_spec='-L$libdir'
8878 export_dynamic_flag_spec='${wl}--export-all-symbols'
8879 allow_undefined_flag=unsupported
8880 always_export_symbols=no
8881 enable_shared_with_static_runtimes=yes
8882 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
8883 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8884
8885 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8886 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8887 # If the export-symbols file already is a .def file (1st line
8888 # is EXPORTS), use it as is; otherwise, prepend...
8889 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8890 cp $export_symbols $output_objdir/$soname.def;
8891 else
8892 echo EXPORTS > $output_objdir/$soname.def;
8893 cat $export_symbols >> $output_objdir/$soname.def;
8894 fi~
8895 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8896 else
8897 ld_shlibs=no
8898 fi
8899 ;;
8900
8901 haiku*)
8902 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8903 link_all_deplibs=yes
8904 ;;
8905
8906 interix[3-9]*)
8907 hardcode_direct=no
8908 hardcode_shlibpath_var=no
8909 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8910 export_dynamic_flag_spec='${wl}-E'
8911 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8912 # Instead, shared libraries are loaded at an image base (0x10000000 by
8913 # default) and relocated if they conflict, which is a slow very memory
8914 # consuming and fragmenting process. To avoid this, we pick a random,
8915 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8916 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8917 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8918 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'
8919 ;;
8920
8921 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8922 tmp_diet=no
8923 if test "$host_os" = linux-dietlibc; then
8924 case $cc_basename in
8925 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8926 esac
8927 fi
8928 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8929 && test "$tmp_diet" = no
8930 then
8931 tmp_addflag=' $pic_flag'
8932 tmp_sharedflag='-shared'
8933 case $cc_basename,$host_cpu in
8934 pgcc*) # Portland Group C compiler
8935 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8936 tmp_addflag=' $pic_flag'
8937 ;;
8938 pgf77* | pgf90* | pgf95* | pgfortran*)
8939 # Portland Group f77 and f90 compilers
8940 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8941 tmp_addflag=' $pic_flag -Mnomain' ;;
8942 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8943 tmp_addflag=' -i_dynamic' ;;
8944 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8945 tmp_addflag=' -i_dynamic -nofor_main' ;;
8946 ifc* | ifort*) # Intel Fortran compiler
8947 tmp_addflag=' -nofor_main' ;;
8948 lf95*) # Lahey Fortran 8.1
8949 whole_archive_flag_spec=
8950 tmp_sharedflag='--shared' ;;
8951 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8952 tmp_sharedflag='-qmkshrobj'
8953 tmp_addflag= ;;
8954 nvcc*) # Cuda Compiler Driver 2.2
8955 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8956 compiler_needs_object=yes
8957 ;;
8958 esac
8959 case `$CC -V 2>&1 | sed 5q` in
8960 *Sun\ C*) # Sun C 5.9
8961 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8962 compiler_needs_object=yes
8963 tmp_sharedflag='-G' ;;
8964 *Sun\ F*) # Sun Fortran 8.3
8965 tmp_sharedflag='-G' ;;
8966 esac
8967 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8968
8969 if test "x$supports_anon_versioning" = xyes; then
8970 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8971 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8972 echo "local: *; };" >> $output_objdir/$libname.ver~
8973 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8974 fi
8975
8976 case $cc_basename in
8977 xlf* | bgf* | bgxlf* | mpixlf*)
8978 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8979 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8980 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8981 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8982 if test "x$supports_anon_versioning" = xyes; then
8983 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8984 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8985 echo "local: *; };" >> $output_objdir/$libname.ver~
8986 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8987 fi
8988 ;;
8989 esac
8990 else
8991 ld_shlibs=no
8992 fi
8993 ;;
8994
8995 netbsd* | netbsdelf*-gnu)
8996 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8997 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8998 wlarc=
8999 else
9000 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9001 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9002 fi
9003 ;;
9004
9005 solaris*)
9006 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9007 ld_shlibs=no
9008 cat <<_LT_EOF 1>&2
9009
9010 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9011 *** create shared libraries on Solaris systems. Therefore, libtool
9012 *** is disabling shared libraries support. We urge you to upgrade GNU
9013 *** binutils to release 2.9.1 or newer. Another option is to modify
9014 *** your PATH or compiler configuration so that the native linker is
9015 *** used, and then restart.
9016
9017 _LT_EOF
9018 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9019 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9020 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9021 else
9022 ld_shlibs=no
9023 fi
9024 ;;
9025
9026 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9027 case `$LD -v 2>&1` in
9028 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9029 ld_shlibs=no
9030 cat <<_LT_EOF 1>&2
9031
9032 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9033 *** reliably create shared libraries on SCO systems. Therefore, libtool
9034 *** is disabling shared libraries support. We urge you to upgrade GNU
9035 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9036 *** your PATH or compiler configuration so that the native linker is
9037 *** used, and then restart.
9038
9039 _LT_EOF
9040 ;;
9041 *)
9042 # For security reasons, it is highly recommended that you always
9043 # use absolute paths for naming shared libraries, and exclude the
9044 # DT_RUNPATH tag from executables and libraries. But doing so
9045 # requires that you compile everything twice, which is a pain.
9046 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9047 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9048 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9049 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9050 else
9051 ld_shlibs=no
9052 fi
9053 ;;
9054 esac
9055 ;;
9056
9057 sunos4*)
9058 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9059 wlarc=
9060 hardcode_direct=yes
9061 hardcode_shlibpath_var=no
9062 ;;
9063
9064 *)
9065 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9066 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9067 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9068 else
9069 ld_shlibs=no
9070 fi
9071 ;;
9072 esac
9073
9074 if test "$ld_shlibs" = no; then
9075 runpath_var=
9076 hardcode_libdir_flag_spec=
9077 export_dynamic_flag_spec=
9078 whole_archive_flag_spec=
9079 fi
9080 else
9081 # PORTME fill in a description of your system's linker (not GNU ld)
9082 case $host_os in
9083 aix3*)
9084 allow_undefined_flag=unsupported
9085 always_export_symbols=yes
9086 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'
9087 # Note: this linker hardcodes the directories in LIBPATH if there
9088 # are no directories specified by -L.
9089 hardcode_minus_L=yes
9090 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9091 # Neither direct hardcoding nor static linking is supported with a
9092 # broken collect2.
9093 hardcode_direct=unsupported
9094 fi
9095 ;;
9096
9097 aix[4-9]*)
9098 if test "$host_cpu" = ia64; then
9099 # On IA64, the linker does run time linking by default, so we don't
9100 # have to do anything special.
9101 aix_use_runtimelinking=no
9102 exp_sym_flag='-Bexport'
9103 no_entry_flag=""
9104 else
9105 # If we're using GNU nm, then we don't want the "-C" option.
9106 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9107 # Also, AIX nm treats weak defined symbols like other global
9108 # defined symbols, whereas GNU nm marks them as "W".
9109 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9110 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9111 else
9112 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'
9113 fi
9114 aix_use_runtimelinking=no
9115
9116 # Test if we are trying to use run time linking or normal
9117 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9118 # need to do runtime linking.
9119 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9120 for ld_flag in $LDFLAGS; do
9121 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9122 aix_use_runtimelinking=yes
9123 break
9124 fi
9125 done
9126 ;;
9127 esac
9128
9129 exp_sym_flag='-bexport'
9130 no_entry_flag='-bnoentry'
9131 fi
9132
9133 # When large executables or shared objects are built, AIX ld can
9134 # have problems creating the table of contents. If linking a library
9135 # or program results in "error TOC overflow" add -mminimal-toc to
9136 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9137 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9138
9139 archive_cmds=''
9140 hardcode_direct=yes
9141 hardcode_direct_absolute=yes
9142 hardcode_libdir_separator=':'
9143 link_all_deplibs=yes
9144 file_list_spec='${wl}-f,'
9145
9146 if test "$GCC" = yes; then
9147 case $host_os in aix4.[012]|aix4.[012].*)
9148 # We only want to do this on AIX 4.2 and lower, the check
9149 # below for broken collect2 doesn't work under 4.3+
9150 collect2name=`${CC} -print-prog-name=collect2`
9151 if test -f "$collect2name" &&
9152 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9153 then
9154 # We have reworked collect2
9155 :
9156 else
9157 # We have old collect2
9158 hardcode_direct=unsupported
9159 # It fails to find uninstalled libraries when the uninstalled
9160 # path is not listed in the libpath. Setting hardcode_minus_L
9161 # to unsupported forces relinking
9162 hardcode_minus_L=yes
9163 hardcode_libdir_flag_spec='-L$libdir'
9164 hardcode_libdir_separator=
9165 fi
9166 ;;
9167 esac
9168 shared_flag='-shared'
9169 if test "$aix_use_runtimelinking" = yes; then
9170 shared_flag="$shared_flag "'${wl}-G'
9171 fi
9172 link_all_deplibs=no
9173 else
9174 # not using gcc
9175 if test "$host_cpu" = ia64; then
9176 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9177 # chokes on -Wl,-G. The following line is correct:
9178 shared_flag='-G'
9179 else
9180 if test "$aix_use_runtimelinking" = yes; then
9181 shared_flag='${wl}-G'
9182 else
9183 shared_flag='${wl}-bM:SRE'
9184 fi
9185 fi
9186 fi
9187
9188 export_dynamic_flag_spec='${wl}-bexpall'
9189 # It seems that -bexpall does not export symbols beginning with
9190 # underscore (_), so it is better to generate a list of symbols to export.
9191 always_export_symbols=yes
9192 if test "$aix_use_runtimelinking" = yes; then
9193 # Warning - without using the other runtime loading flags (-brtl),
9194 # -berok will link without error, but may produce a broken library.
9195 allow_undefined_flag='-berok'
9196 # Determine the default libpath from the value encoded in an
9197 # empty executable.
9198 if test "${lt_cv_aix_libpath+set}" = set; then
9199 aix_libpath=$lt_cv_aix_libpath
9200 else
9201 if ${lt_cv_aix_libpath_+:} false; then :
9202 $as_echo_n "(cached) " >&6
9203 else
9204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9205 /* end confdefs.h. */
9206
9207 int
9208 main ()
9209 {
9210
9211 ;
9212 return 0;
9213 }
9214 _ACEOF
9215 if ac_fn_c_try_link "$LINENO"; then :
9216
9217 lt_aix_libpath_sed='
9218 /Import File Strings/,/^$/ {
9219 /^0/ {
9220 s/^0 *\([^ ]*\) *$/\1/
9221 p
9222 }
9223 }'
9224 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9225 # Check for a 64-bit object if we didn't find anything.
9226 if test -z "$lt_cv_aix_libpath_"; then
9227 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9228 fi
9229 fi
9230 rm -f core conftest.err conftest.$ac_objext \
9231 conftest$ac_exeext conftest.$ac_ext
9232 if test -z "$lt_cv_aix_libpath_"; then
9233 lt_cv_aix_libpath_="/usr/lib:/lib"
9234 fi
9235
9236 fi
9237
9238 aix_libpath=$lt_cv_aix_libpath_
9239 fi
9240
9241 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9242 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9243 else
9244 if test "$host_cpu" = ia64; then
9245 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9246 allow_undefined_flag="-z nodefs"
9247 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"
9248 else
9249 # Determine the default libpath from the value encoded in an
9250 # empty executable.
9251 if test "${lt_cv_aix_libpath+set}" = set; then
9252 aix_libpath=$lt_cv_aix_libpath
9253 else
9254 if ${lt_cv_aix_libpath_+:} false; then :
9255 $as_echo_n "(cached) " >&6
9256 else
9257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9258 /* end confdefs.h. */
9259
9260 int
9261 main ()
9262 {
9263
9264 ;
9265 return 0;
9266 }
9267 _ACEOF
9268 if ac_fn_c_try_link "$LINENO"; then :
9269
9270 lt_aix_libpath_sed='
9271 /Import File Strings/,/^$/ {
9272 /^0/ {
9273 s/^0 *\([^ ]*\) *$/\1/
9274 p
9275 }
9276 }'
9277 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9278 # Check for a 64-bit object if we didn't find anything.
9279 if test -z "$lt_cv_aix_libpath_"; then
9280 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9281 fi
9282 fi
9283 rm -f core conftest.err conftest.$ac_objext \
9284 conftest$ac_exeext conftest.$ac_ext
9285 if test -z "$lt_cv_aix_libpath_"; then
9286 lt_cv_aix_libpath_="/usr/lib:/lib"
9287 fi
9288
9289 fi
9290
9291 aix_libpath=$lt_cv_aix_libpath_
9292 fi
9293
9294 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9295 # Warning - without using the other run time loading flags,
9296 # -berok will link without error, but may produce a broken library.
9297 no_undefined_flag=' ${wl}-bernotok'
9298 allow_undefined_flag=' ${wl}-berok'
9299 if test "$with_gnu_ld" = yes; then
9300 # We only use this code for GNU lds that support --whole-archive.
9301 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9302 else
9303 # Exported symbols can be pulled into shared objects from archives
9304 whole_archive_flag_spec='$convenience'
9305 fi
9306 archive_cmds_need_lc=yes
9307 # This is similar to how AIX traditionally builds its shared libraries.
9308 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'
9309 fi
9310 fi
9311 ;;
9312
9313 amigaos*)
9314 case $host_cpu in
9315 powerpc)
9316 # see comment about AmigaOS4 .so support
9317 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9318 archive_expsym_cmds=''
9319 ;;
9320 m68k)
9321 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)'
9322 hardcode_libdir_flag_spec='-L$libdir'
9323 hardcode_minus_L=yes
9324 ;;
9325 esac
9326 ;;
9327
9328 bsdi[45]*)
9329 export_dynamic_flag_spec=-rdynamic
9330 ;;
9331
9332 cygwin* | mingw* | pw32* | cegcc*)
9333 # When not using gcc, we currently assume that we are using
9334 # Microsoft Visual C++.
9335 # hardcode_libdir_flag_spec is actually meaningless, as there is
9336 # no search path for DLLs.
9337 case $cc_basename in
9338 cl*)
9339 # Native MSVC
9340 hardcode_libdir_flag_spec=' '
9341 allow_undefined_flag=unsupported
9342 always_export_symbols=yes
9343 file_list_spec='@'
9344 # Tell ltmain to make .lib files, not .a files.
9345 libext=lib
9346 # Tell ltmain to make .dll files, not .so files.
9347 shrext_cmds=".dll"
9348 # FIXME: Setting linknames here is a bad hack.
9349 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9350 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9351 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9352 else
9353 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9354 fi~
9355 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9356 linknames='
9357 # The linker will not automatically build a static lib if we build a DLL.
9358 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9359 enable_shared_with_static_runtimes=yes
9360 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9361 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9362 # Don't use ranlib
9363 old_postinstall_cmds='chmod 644 $oldlib'
9364 postlink_cmds='lt_outputfile="@OUTPUT@"~
9365 lt_tool_outputfile="@TOOL_OUTPUT@"~
9366 case $lt_outputfile in
9367 *.exe|*.EXE) ;;
9368 *)
9369 lt_outputfile="$lt_outputfile.exe"
9370 lt_tool_outputfile="$lt_tool_outputfile.exe"
9371 ;;
9372 esac~
9373 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9374 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9375 $RM "$lt_outputfile.manifest";
9376 fi'
9377 ;;
9378 *)
9379 # Assume MSVC wrapper
9380 hardcode_libdir_flag_spec=' '
9381 allow_undefined_flag=unsupported
9382 # Tell ltmain to make .lib files, not .a files.
9383 libext=lib
9384 # Tell ltmain to make .dll files, not .so files.
9385 shrext_cmds=".dll"
9386 # FIXME: Setting linknames here is a bad hack.
9387 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9388 # The linker will automatically build a .lib file if we build a DLL.
9389 old_archive_from_new_cmds='true'
9390 # FIXME: Should let the user specify the lib program.
9391 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9392 enable_shared_with_static_runtimes=yes
9393 ;;
9394 esac
9395 ;;
9396
9397 darwin* | rhapsody*)
9398
9399
9400 archive_cmds_need_lc=no
9401 hardcode_direct=no
9402 hardcode_automatic=yes
9403 hardcode_shlibpath_var=unsupported
9404 if test "$lt_cv_ld_force_load" = "yes"; then
9405 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9406
9407 else
9408 whole_archive_flag_spec=''
9409 fi
9410 link_all_deplibs=yes
9411 allow_undefined_flag="$_lt_dar_allow_undefined"
9412 case $cc_basename in
9413 ifort*) _lt_dar_can_shared=yes ;;
9414 *) _lt_dar_can_shared=$GCC ;;
9415 esac
9416 if test "$_lt_dar_can_shared" = "yes"; then
9417 output_verbose_link_cmd=func_echo_all
9418 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9419 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9420 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}"
9421 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}"
9422
9423 else
9424 ld_shlibs=no
9425 fi
9426
9427 ;;
9428
9429 dgux*)
9430 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9431 hardcode_libdir_flag_spec='-L$libdir'
9432 hardcode_shlibpath_var=no
9433 ;;
9434
9435 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9436 # support. Future versions do this automatically, but an explicit c++rt0.o
9437 # does not break anything, and helps significantly (at the cost of a little
9438 # extra space).
9439 freebsd2.2*)
9440 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9441 hardcode_libdir_flag_spec='-R$libdir'
9442 hardcode_direct=yes
9443 hardcode_shlibpath_var=no
9444 ;;
9445
9446 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9447 freebsd2.*)
9448 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9449 hardcode_direct=yes
9450 hardcode_minus_L=yes
9451 hardcode_shlibpath_var=no
9452 ;;
9453
9454 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9455 freebsd* | dragonfly*)
9456 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9457 hardcode_libdir_flag_spec='-R$libdir'
9458 hardcode_direct=yes
9459 hardcode_shlibpath_var=no
9460 ;;
9461
9462 hpux9*)
9463 if test "$GCC" = yes; then
9464 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9465 else
9466 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'
9467 fi
9468 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9469 hardcode_libdir_separator=:
9470 hardcode_direct=yes
9471
9472 # hardcode_minus_L: Not really in the search PATH,
9473 # but as the default location of the library.
9474 hardcode_minus_L=yes
9475 export_dynamic_flag_spec='${wl}-E'
9476 ;;
9477
9478 hpux10*)
9479 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9480 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9481 else
9482 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9483 fi
9484 if test "$with_gnu_ld" = no; then
9485 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9486 hardcode_libdir_separator=:
9487 hardcode_direct=yes
9488 hardcode_direct_absolute=yes
9489 export_dynamic_flag_spec='${wl}-E'
9490 # hardcode_minus_L: Not really in the search PATH,
9491 # but as the default location of the library.
9492 hardcode_minus_L=yes
9493 fi
9494 ;;
9495
9496 hpux11*)
9497 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9498 case $host_cpu in
9499 hppa*64*)
9500 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9501 ;;
9502 ia64*)
9503 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9504 ;;
9505 *)
9506 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9507 ;;
9508 esac
9509 else
9510 case $host_cpu in
9511 hppa*64*)
9512 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9513 ;;
9514 ia64*)
9515 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9516 ;;
9517 *)
9518
9519 # Older versions of the 11.00 compiler do not understand -b yet
9520 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9522 $as_echo_n "checking if $CC understands -b... " >&6; }
9523 if ${lt_cv_prog_compiler__b+:} false; then :
9524 $as_echo_n "(cached) " >&6
9525 else
9526 lt_cv_prog_compiler__b=no
9527 save_LDFLAGS="$LDFLAGS"
9528 LDFLAGS="$LDFLAGS -b"
9529 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9530 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9531 # The linker can only warn and ignore the option if not recognized
9532 # So say no if there are warnings
9533 if test -s conftest.err; then
9534 # Append any errors to the config.log.
9535 cat conftest.err 1>&5
9536 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9537 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9538 if diff conftest.exp conftest.er2 >/dev/null; then
9539 lt_cv_prog_compiler__b=yes
9540 fi
9541 else
9542 lt_cv_prog_compiler__b=yes
9543 fi
9544 fi
9545 $RM -r conftest*
9546 LDFLAGS="$save_LDFLAGS"
9547
9548 fi
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9550 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9551
9552 if test x"$lt_cv_prog_compiler__b" = xyes; then
9553 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9554 else
9555 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9556 fi
9557
9558 ;;
9559 esac
9560 fi
9561 if test "$with_gnu_ld" = no; then
9562 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9563 hardcode_libdir_separator=:
9564
9565 case $host_cpu in
9566 hppa*64*|ia64*)
9567 hardcode_direct=no
9568 hardcode_shlibpath_var=no
9569 ;;
9570 *)
9571 hardcode_direct=yes
9572 hardcode_direct_absolute=yes
9573 export_dynamic_flag_spec='${wl}-E'
9574
9575 # hardcode_minus_L: Not really in the search PATH,
9576 # but as the default location of the library.
9577 hardcode_minus_L=yes
9578 ;;
9579 esac
9580 fi
9581 ;;
9582
9583 irix5* | irix6* | nonstopux*)
9584 if test "$GCC" = yes; then
9585 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9586 # Try to use the -exported_symbol ld option, if it does not
9587 # work, assume that -exports_file does not work either and
9588 # implicitly export all symbols.
9589 # This should be the same for all languages, so no per-tag cache variable.
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9591 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9592 if ${lt_cv_irix_exported_symbol+:} false; then :
9593 $as_echo_n "(cached) " >&6
9594 else
9595 save_LDFLAGS="$LDFLAGS"
9596 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9598 /* end confdefs.h. */
9599 int foo (void) { return 0; }
9600 _ACEOF
9601 if ac_fn_c_try_link "$LINENO"; then :
9602 lt_cv_irix_exported_symbol=yes
9603 else
9604 lt_cv_irix_exported_symbol=no
9605 fi
9606 rm -f core conftest.err conftest.$ac_objext \
9607 conftest$ac_exeext conftest.$ac_ext
9608 LDFLAGS="$save_LDFLAGS"
9609 fi
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9611 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9612 if test "$lt_cv_irix_exported_symbol" = yes; then
9613 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9614 fi
9615 else
9616 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9617 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9618 fi
9619 archive_cmds_need_lc='no'
9620 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9621 hardcode_libdir_separator=:
9622 inherit_rpath=yes
9623 link_all_deplibs=yes
9624 ;;
9625
9626 netbsd* | netbsdelf*-gnu)
9627 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9628 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9629 else
9630 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9631 fi
9632 hardcode_libdir_flag_spec='-R$libdir'
9633 hardcode_direct=yes
9634 hardcode_shlibpath_var=no
9635 ;;
9636
9637 newsos6)
9638 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9639 hardcode_direct=yes
9640 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9641 hardcode_libdir_separator=:
9642 hardcode_shlibpath_var=no
9643 ;;
9644
9645 *nto* | *qnx*)
9646 ;;
9647
9648 openbsd*)
9649 if test -f /usr/libexec/ld.so; then
9650 hardcode_direct=yes
9651 hardcode_shlibpath_var=no
9652 hardcode_direct_absolute=yes
9653 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9654 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9655 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9656 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9657 export_dynamic_flag_spec='${wl}-E'
9658 else
9659 case $host_os in
9660 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9661 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9662 hardcode_libdir_flag_spec='-R$libdir'
9663 ;;
9664 *)
9665 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9666 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9667 ;;
9668 esac
9669 fi
9670 else
9671 ld_shlibs=no
9672 fi
9673 ;;
9674
9675 os2*)
9676 hardcode_libdir_flag_spec='-L$libdir'
9677 hardcode_minus_L=yes
9678 allow_undefined_flag=unsupported
9679 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'
9680 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9681 ;;
9682
9683 osf3*)
9684 if test "$GCC" = yes; then
9685 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9686 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9687 else
9688 allow_undefined_flag=' -expect_unresolved \*'
9689 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9690 fi
9691 archive_cmds_need_lc='no'
9692 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9693 hardcode_libdir_separator=:
9694 ;;
9695
9696 osf4* | osf5*) # as osf3* with the addition of -msym flag
9697 if test "$GCC" = yes; then
9698 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9699 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9700 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9701 else
9702 allow_undefined_flag=' -expect_unresolved \*'
9703 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9704 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~
9705 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9706
9707 # Both c and cxx compiler support -rpath directly
9708 hardcode_libdir_flag_spec='-rpath $libdir'
9709 fi
9710 archive_cmds_need_lc='no'
9711 hardcode_libdir_separator=:
9712 ;;
9713
9714 solaris*)
9715 no_undefined_flag=' -z defs'
9716 if test "$GCC" = yes; then
9717 wlarc='${wl}'
9718 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9719 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9720 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9721 else
9722 case `$CC -V 2>&1` in
9723 *"Compilers 5.0"*)
9724 wlarc=''
9725 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9726 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9727 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9728 ;;
9729 *)
9730 wlarc='${wl}'
9731 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9732 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9733 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9734 ;;
9735 esac
9736 fi
9737 hardcode_libdir_flag_spec='-R$libdir'
9738 hardcode_shlibpath_var=no
9739 case $host_os in
9740 solaris2.[0-5] | solaris2.[0-5].*) ;;
9741 *)
9742 # The compiler driver will combine and reorder linker options,
9743 # but understands `-z linker_flag'. GCC discards it without `$wl',
9744 # but is careful enough not to reorder.
9745 # Supported since Solaris 2.6 (maybe 2.5.1?)
9746 if test "$GCC" = yes; then
9747 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9748 else
9749 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9750 fi
9751 ;;
9752 esac
9753 link_all_deplibs=yes
9754 ;;
9755
9756 sunos4*)
9757 if test "x$host_vendor" = xsequent; then
9758 # Use $CC to link under sequent, because it throws in some extra .o
9759 # files that make .init and .fini sections work.
9760 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9761 else
9762 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9763 fi
9764 hardcode_libdir_flag_spec='-L$libdir'
9765 hardcode_direct=yes
9766 hardcode_minus_L=yes
9767 hardcode_shlibpath_var=no
9768 ;;
9769
9770 sysv4)
9771 case $host_vendor in
9772 sni)
9773 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9774 hardcode_direct=yes # is this really true???
9775 ;;
9776 siemens)
9777 ## LD is ld it makes a PLAMLIB
9778 ## CC just makes a GrossModule.
9779 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9780 reload_cmds='$CC -r -o $output$reload_objs'
9781 hardcode_direct=no
9782 ;;
9783 motorola)
9784 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9785 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9786 ;;
9787 esac
9788 runpath_var='LD_RUN_PATH'
9789 hardcode_shlibpath_var=no
9790 ;;
9791
9792 sysv4.3*)
9793 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9794 hardcode_shlibpath_var=no
9795 export_dynamic_flag_spec='-Bexport'
9796 ;;
9797
9798 sysv4*MP*)
9799 if test -d /usr/nec; then
9800 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9801 hardcode_shlibpath_var=no
9802 runpath_var=LD_RUN_PATH
9803 hardcode_runpath_var=yes
9804 ld_shlibs=yes
9805 fi
9806 ;;
9807
9808 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9809 no_undefined_flag='${wl}-z,text'
9810 archive_cmds_need_lc=no
9811 hardcode_shlibpath_var=no
9812 runpath_var='LD_RUN_PATH'
9813
9814 if test "$GCC" = yes; then
9815 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9816 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9817 else
9818 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9819 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9820 fi
9821 ;;
9822
9823 sysv5* | sco3.2v5* | sco5v6*)
9824 # Note: We can NOT use -z defs as we might desire, because we do not
9825 # link with -lc, and that would cause any symbols used from libc to
9826 # always be unresolved, which means just about no library would
9827 # ever link correctly. If we're not using GNU ld we use -z text
9828 # though, which does catch some bad symbols but isn't as heavy-handed
9829 # as -z defs.
9830 no_undefined_flag='${wl}-z,text'
9831 allow_undefined_flag='${wl}-z,nodefs'
9832 archive_cmds_need_lc=no
9833 hardcode_shlibpath_var=no
9834 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9835 hardcode_libdir_separator=':'
9836 link_all_deplibs=yes
9837 export_dynamic_flag_spec='${wl}-Bexport'
9838 runpath_var='LD_RUN_PATH'
9839
9840 if test "$GCC" = yes; then
9841 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9842 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9843 else
9844 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9845 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9846 fi
9847 ;;
9848
9849 uts4*)
9850 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9851 hardcode_libdir_flag_spec='-L$libdir'
9852 hardcode_shlibpath_var=no
9853 ;;
9854
9855 *)
9856 ld_shlibs=no
9857 ;;
9858 esac
9859
9860 if test x$host_vendor = xsni; then
9861 case $host in
9862 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9863 export_dynamic_flag_spec='${wl}-Blargedynsym'
9864 ;;
9865 esac
9866 fi
9867 fi
9868
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9870 $as_echo "$ld_shlibs" >&6; }
9871 test "$ld_shlibs" = no && can_build_shared=no
9872
9873 with_gnu_ld=$with_gnu_ld
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889 #
9890 # Do we need to explicitly link libc?
9891 #
9892 case "x$archive_cmds_need_lc" in
9893 x|xyes)
9894 # Assume -lc should be added
9895 archive_cmds_need_lc=yes
9896
9897 if test "$enable_shared" = yes && test "$GCC" = yes; then
9898 case $archive_cmds in
9899 *'~'*)
9900 # FIXME: we may have to deal with multi-command sequences.
9901 ;;
9902 '$CC '*)
9903 # Test whether the compiler implicitly links with -lc since on some
9904 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9905 # to ld, don't add -lc before -lgcc.
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9907 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9908 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9909 $as_echo_n "(cached) " >&6
9910 else
9911 $RM conftest*
9912 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9913
9914 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9915 (eval $ac_compile) 2>&5
9916 ac_status=$?
9917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9918 test $ac_status = 0; } 2>conftest.err; then
9919 soname=conftest
9920 lib=conftest
9921 libobjs=conftest.$ac_objext
9922 deplibs=
9923 wl=$lt_prog_compiler_wl
9924 pic_flag=$lt_prog_compiler_pic
9925 compiler_flags=-v
9926 linker_flags=-v
9927 verstring=
9928 output_objdir=.
9929 libname=conftest
9930 lt_save_allow_undefined_flag=$allow_undefined_flag
9931 allow_undefined_flag=
9932 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9933 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9934 ac_status=$?
9935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9936 test $ac_status = 0; }
9937 then
9938 lt_cv_archive_cmds_need_lc=no
9939 else
9940 lt_cv_archive_cmds_need_lc=yes
9941 fi
9942 allow_undefined_flag=$lt_save_allow_undefined_flag
9943 else
9944 cat conftest.err 1>&5
9945 fi
9946 $RM conftest*
9947
9948 fi
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9950 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9951 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9952 ;;
9953 esac
9954 fi
9955 ;;
9956 esac
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10110 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10111
10112 if test "$GCC" = yes; then
10113 case $host_os in
10114 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10115 *) lt_awk_arg="/^libraries:/" ;;
10116 esac
10117 case $host_os in
10118 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10119 *) lt_sed_strip_eq="s,=/,/,g" ;;
10120 esac
10121 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10122 case $lt_search_path_spec in
10123 *\;*)
10124 # if the path contains ";" then we assume it to be the separator
10125 # otherwise default to the standard path separator (i.e. ":") - it is
10126 # assumed that no part of a normal pathname contains ";" but that should
10127 # okay in the real world where ";" in dirpaths is itself problematic.
10128 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10129 ;;
10130 *)
10131 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10132 ;;
10133 esac
10134 # Ok, now we have the path, separated by spaces, we can step through it
10135 # and add multilib dir if necessary.
10136 lt_tmp_lt_search_path_spec=
10137 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10138 for lt_sys_path in $lt_search_path_spec; do
10139 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10140 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10141 else
10142 test -d "$lt_sys_path" && \
10143 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10144 fi
10145 done
10146 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10147 BEGIN {RS=" "; FS="/|\n";} {
10148 lt_foo="";
10149 lt_count=0;
10150 for (lt_i = NF; lt_i > 0; lt_i--) {
10151 if ($lt_i != "" && $lt_i != ".") {
10152 if ($lt_i == "..") {
10153 lt_count++;
10154 } else {
10155 if (lt_count == 0) {
10156 lt_foo="/" $lt_i lt_foo;
10157 } else {
10158 lt_count--;
10159 }
10160 }
10161 }
10162 }
10163 if (lt_foo != "") { lt_freq[lt_foo]++; }
10164 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10165 }'`
10166 # AWK program above erroneously prepends '/' to C:/dos/paths
10167 # for these hosts.
10168 case $host_os in
10169 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10170 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10171 esac
10172 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10173 else
10174 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10175 fi
10176 library_names_spec=
10177 libname_spec='lib$name'
10178 soname_spec=
10179 shrext_cmds=".so"
10180 postinstall_cmds=
10181 postuninstall_cmds=
10182 finish_cmds=
10183 finish_eval=
10184 shlibpath_var=
10185 shlibpath_overrides_runpath=unknown
10186 version_type=none
10187 dynamic_linker="$host_os ld.so"
10188 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10189 need_lib_prefix=unknown
10190 hardcode_into_libs=no
10191
10192 # when you set need_version to no, make sure it does not cause -set_version
10193 # flags to be left without arguments
10194 need_version=unknown
10195
10196 case $host_os in
10197 aix3*)
10198 version_type=linux # correct to gnu/linux during the next big refactor
10199 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10200 shlibpath_var=LIBPATH
10201
10202 # AIX 3 has no versioning support, so we append a major version to the name.
10203 soname_spec='${libname}${release}${shared_ext}$major'
10204 ;;
10205
10206 aix[4-9]*)
10207 version_type=linux # correct to gnu/linux during the next big refactor
10208 need_lib_prefix=no
10209 need_version=no
10210 hardcode_into_libs=yes
10211 if test "$host_cpu" = ia64; then
10212 # AIX 5 supports IA64
10213 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10214 shlibpath_var=LD_LIBRARY_PATH
10215 else
10216 # With GCC up to 2.95.x, collect2 would create an import file
10217 # for dependence libraries. The import file would start with
10218 # the line `#! .'. This would cause the generated library to
10219 # depend on `.', always an invalid library. This was fixed in
10220 # development snapshots of GCC prior to 3.0.
10221 case $host_os in
10222 aix4 | aix4.[01] | aix4.[01].*)
10223 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10224 echo ' yes '
10225 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10226 :
10227 else
10228 can_build_shared=no
10229 fi
10230 ;;
10231 esac
10232 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10233 # soname into executable. Probably we can add versioning support to
10234 # collect2, so additional links can be useful in future.
10235 if test "$aix_use_runtimelinking" = yes; then
10236 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10237 # instead of lib<name>.a to let people know that these are not
10238 # typical AIX shared libraries.
10239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10240 else
10241 # We preserve .a as extension for shared libraries through AIX4.2
10242 # and later when we are not doing run time linking.
10243 library_names_spec='${libname}${release}.a $libname.a'
10244 soname_spec='${libname}${release}${shared_ext}$major'
10245 fi
10246 shlibpath_var=LIBPATH
10247 fi
10248 ;;
10249
10250 amigaos*)
10251 case $host_cpu in
10252 powerpc)
10253 # Since July 2007 AmigaOS4 officially supports .so libraries.
10254 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10255 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10256 ;;
10257 m68k)
10258 library_names_spec='$libname.ixlibrary $libname.a'
10259 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10260 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
10261 ;;
10262 esac
10263 ;;
10264
10265 beos*)
10266 library_names_spec='${libname}${shared_ext}'
10267 dynamic_linker="$host_os ld.so"
10268 shlibpath_var=LIBRARY_PATH
10269 ;;
10270
10271 bsdi[45]*)
10272 version_type=linux # correct to gnu/linux during the next big refactor
10273 need_version=no
10274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10275 soname_spec='${libname}${release}${shared_ext}$major'
10276 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10277 shlibpath_var=LD_LIBRARY_PATH
10278 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10279 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10280 # the default ld.so.conf also contains /usr/contrib/lib and
10281 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10282 # libtool to hard-code these into programs
10283 ;;
10284
10285 cygwin* | mingw* | pw32* | cegcc*)
10286 version_type=windows
10287 shrext_cmds=".dll"
10288 need_version=no
10289 need_lib_prefix=no
10290
10291 case $GCC,$cc_basename in
10292 yes,*)
10293 # gcc
10294 library_names_spec='$libname.dll.a'
10295 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10296 postinstall_cmds='base_file=`basename \${file}`~
10297 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10298 dldir=$destdir/`dirname \$dlpath`~
10299 test -d \$dldir || mkdir -p \$dldir~
10300 $install_prog $dir/$dlname \$dldir/$dlname~
10301 chmod a+x \$dldir/$dlname~
10302 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10303 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10304 fi'
10305 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10306 dlpath=$dir/\$dldll~
10307 $RM \$dlpath'
10308 shlibpath_overrides_runpath=yes
10309
10310 case $host_os in
10311 cygwin*)
10312 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10313 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10314
10315 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10316 ;;
10317 mingw* | cegcc*)
10318 # MinGW DLLs use traditional 'lib' prefix
10319 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10320 ;;
10321 pw32*)
10322 # pw32 DLLs use 'pw' prefix rather than 'lib'
10323 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10324 ;;
10325 esac
10326 dynamic_linker='Win32 ld.exe'
10327 ;;
10328
10329 *,cl*)
10330 # Native MSVC
10331 libname_spec='$name'
10332 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10333 library_names_spec='${libname}.dll.lib'
10334
10335 case $build_os in
10336 mingw*)
10337 sys_lib_search_path_spec=
10338 lt_save_ifs=$IFS
10339 IFS=';'
10340 for lt_path in $LIB
10341 do
10342 IFS=$lt_save_ifs
10343 # Let DOS variable expansion print the short 8.3 style file name.
10344 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10345 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10346 done
10347 IFS=$lt_save_ifs
10348 # Convert to MSYS style.
10349 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10350 ;;
10351 cygwin*)
10352 # Convert to unix form, then to dos form, then back to unix form
10353 # but this time dos style (no spaces!) so that the unix form looks
10354 # like /cygdrive/c/PROGRA~1:/cygdr...
10355 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10356 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10357 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10358 ;;
10359 *)
10360 sys_lib_search_path_spec="$LIB"
10361 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10362 # It is most probably a Windows format PATH.
10363 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10364 else
10365 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10366 fi
10367 # FIXME: find the short name or the path components, as spaces are
10368 # common. (e.g. "Program Files" -> "PROGRA~1")
10369 ;;
10370 esac
10371
10372 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10373 postinstall_cmds='base_file=`basename \${file}`~
10374 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10375 dldir=$destdir/`dirname \$dlpath`~
10376 test -d \$dldir || mkdir -p \$dldir~
10377 $install_prog $dir/$dlname \$dldir/$dlname'
10378 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10379 dlpath=$dir/\$dldll~
10380 $RM \$dlpath'
10381 shlibpath_overrides_runpath=yes
10382 dynamic_linker='Win32 link.exe'
10383 ;;
10384
10385 *)
10386 # Assume MSVC wrapper
10387 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10388 dynamic_linker='Win32 ld.exe'
10389 ;;
10390 esac
10391 # FIXME: first we should search . and the directory the executable is in
10392 shlibpath_var=PATH
10393 ;;
10394
10395 darwin* | rhapsody*)
10396 dynamic_linker="$host_os dyld"
10397 version_type=darwin
10398 need_lib_prefix=no
10399 need_version=no
10400 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10401 soname_spec='${libname}${release}${major}$shared_ext'
10402 shlibpath_overrides_runpath=yes
10403 shlibpath_var=DYLD_LIBRARY_PATH
10404 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10405
10406 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10407 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10408 ;;
10409
10410 dgux*)
10411 version_type=linux # correct to gnu/linux during the next big refactor
10412 need_lib_prefix=no
10413 need_version=no
10414 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10415 soname_spec='${libname}${release}${shared_ext}$major'
10416 shlibpath_var=LD_LIBRARY_PATH
10417 ;;
10418
10419 freebsd* | dragonfly*)
10420 # DragonFly does not have aout. When/if they implement a new
10421 # versioning mechanism, adjust this.
10422 if test -x /usr/bin/objformat; then
10423 objformat=`/usr/bin/objformat`
10424 else
10425 case $host_os in
10426 freebsd[23].*) objformat=aout ;;
10427 *) objformat=elf ;;
10428 esac
10429 fi
10430 version_type=freebsd-$objformat
10431 case $version_type in
10432 freebsd-elf*)
10433 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10434 need_version=no
10435 need_lib_prefix=no
10436 ;;
10437 freebsd-*)
10438 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10439 need_version=yes
10440 ;;
10441 esac
10442 shlibpath_var=LD_LIBRARY_PATH
10443 case $host_os in
10444 freebsd2.*)
10445 shlibpath_overrides_runpath=yes
10446 ;;
10447 freebsd3.[01]* | freebsdelf3.[01]*)
10448 shlibpath_overrides_runpath=yes
10449 hardcode_into_libs=yes
10450 ;;
10451 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10452 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10453 shlibpath_overrides_runpath=no
10454 hardcode_into_libs=yes
10455 ;;
10456 *) # from 4.6 on, and DragonFly
10457 shlibpath_overrides_runpath=yes
10458 hardcode_into_libs=yes
10459 ;;
10460 esac
10461 ;;
10462
10463 haiku*)
10464 version_type=linux # correct to gnu/linux during the next big refactor
10465 need_lib_prefix=no
10466 need_version=no
10467 dynamic_linker="$host_os runtime_loader"
10468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10469 soname_spec='${libname}${release}${shared_ext}$major'
10470 shlibpath_var=LIBRARY_PATH
10471 shlibpath_overrides_runpath=yes
10472 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10473 hardcode_into_libs=yes
10474 ;;
10475
10476 hpux9* | hpux10* | hpux11*)
10477 # Give a soname corresponding to the major version so that dld.sl refuses to
10478 # link against other versions.
10479 version_type=sunos
10480 need_lib_prefix=no
10481 need_version=no
10482 case $host_cpu in
10483 ia64*)
10484 shrext_cmds='.so'
10485 hardcode_into_libs=yes
10486 dynamic_linker="$host_os dld.so"
10487 shlibpath_var=LD_LIBRARY_PATH
10488 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10489 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10490 soname_spec='${libname}${release}${shared_ext}$major'
10491 if test "X$HPUX_IA64_MODE" = X32; then
10492 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10493 else
10494 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10495 fi
10496 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10497 ;;
10498 hppa*64*)
10499 shrext_cmds='.sl'
10500 hardcode_into_libs=yes
10501 dynamic_linker="$host_os dld.sl"
10502 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10503 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10505 soname_spec='${libname}${release}${shared_ext}$major'
10506 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10507 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10508 ;;
10509 *)
10510 shrext_cmds='.sl'
10511 dynamic_linker="$host_os dld.sl"
10512 shlibpath_var=SHLIB_PATH
10513 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10514 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10515 soname_spec='${libname}${release}${shared_ext}$major'
10516 ;;
10517 esac
10518 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10519 postinstall_cmds='chmod 555 $lib'
10520 # or fails outright, so override atomically:
10521 install_override_mode=555
10522 ;;
10523
10524 interix[3-9]*)
10525 version_type=linux # correct to gnu/linux during the next big refactor
10526 need_lib_prefix=no
10527 need_version=no
10528 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10529 soname_spec='${libname}${release}${shared_ext}$major'
10530 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10531 shlibpath_var=LD_LIBRARY_PATH
10532 shlibpath_overrides_runpath=no
10533 hardcode_into_libs=yes
10534 ;;
10535
10536 irix5* | irix6* | nonstopux*)
10537 case $host_os in
10538 nonstopux*) version_type=nonstopux ;;
10539 *)
10540 if test "$lt_cv_prog_gnu_ld" = yes; then
10541 version_type=linux # correct to gnu/linux during the next big refactor
10542 else
10543 version_type=irix
10544 fi ;;
10545 esac
10546 need_lib_prefix=no
10547 need_version=no
10548 soname_spec='${libname}${release}${shared_ext}$major'
10549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10550 case $host_os in
10551 irix5* | nonstopux*)
10552 libsuff= shlibsuff=
10553 ;;
10554 *)
10555 case $LD in # libtool.m4 will add one of these switches to LD
10556 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10557 libsuff= shlibsuff= libmagic=32-bit;;
10558 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10559 libsuff=32 shlibsuff=N32 libmagic=N32;;
10560 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10561 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10562 *) libsuff= shlibsuff= libmagic=never-match;;
10563 esac
10564 ;;
10565 esac
10566 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10567 shlibpath_overrides_runpath=no
10568 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10569 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10570 hardcode_into_libs=yes
10571 ;;
10572
10573 # No shared lib support for Linux oldld, aout, or coff.
10574 linux*oldld* | linux*aout* | linux*coff*)
10575 dynamic_linker=no
10576 ;;
10577
10578 # This must be glibc/ELF.
10579 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10580 version_type=linux # correct to gnu/linux during the next big refactor
10581 need_lib_prefix=no
10582 need_version=no
10583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10584 soname_spec='${libname}${release}${shared_ext}$major'
10585 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10586 shlibpath_var=LD_LIBRARY_PATH
10587 shlibpath_overrides_runpath=no
10588
10589 # Some binutils ld are patched to set DT_RUNPATH
10590 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10591 $as_echo_n "(cached) " >&6
10592 else
10593 lt_cv_shlibpath_overrides_runpath=no
10594 save_LDFLAGS=$LDFLAGS
10595 save_libdir=$libdir
10596 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10597 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10599 /* end confdefs.h. */
10600
10601 int
10602 main ()
10603 {
10604
10605 ;
10606 return 0;
10607 }
10608 _ACEOF
10609 if ac_fn_c_try_link "$LINENO"; then :
10610 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10611 lt_cv_shlibpath_overrides_runpath=yes
10612 fi
10613 fi
10614 rm -f core conftest.err conftest.$ac_objext \
10615 conftest$ac_exeext conftest.$ac_ext
10616 LDFLAGS=$save_LDFLAGS
10617 libdir=$save_libdir
10618
10619 fi
10620
10621 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10622
10623 # This implies no fast_install, which is unacceptable.
10624 # Some rework will be needed to allow for fast_install
10625 # before this can be enabled.
10626 hardcode_into_libs=yes
10627
10628 # Append ld.so.conf contents to the search path
10629 if test -f /etc/ld.so.conf; then
10630 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;s/"//g;/^$/d' | tr '\n' ' '`
10631 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10632 fi
10633
10634 # We used to test for /lib/ld.so.1 and disable shared libraries on
10635 # powerpc, because MkLinux only supported shared libraries with the
10636 # GNU dynamic linker. Since this was broken with cross compilers,
10637 # most powerpc-linux boxes support dynamic linking these days and
10638 # people can always --disable-shared, the test was removed, and we
10639 # assume the GNU/Linux dynamic linker is in use.
10640 dynamic_linker='GNU/Linux ld.so'
10641 ;;
10642
10643 netbsdelf*-gnu)
10644 version_type=linux
10645 need_lib_prefix=no
10646 need_version=no
10647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10648 soname_spec='${libname}${release}${shared_ext}$major'
10649 shlibpath_var=LD_LIBRARY_PATH
10650 shlibpath_overrides_runpath=no
10651 hardcode_into_libs=yes
10652 dynamic_linker='NetBSD ld.elf_so'
10653 ;;
10654
10655 netbsd*)
10656 version_type=sunos
10657 need_lib_prefix=no
10658 need_version=no
10659 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10661 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10662 dynamic_linker='NetBSD (a.out) ld.so'
10663 else
10664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10665 soname_spec='${libname}${release}${shared_ext}$major'
10666 dynamic_linker='NetBSD ld.elf_so'
10667 fi
10668 shlibpath_var=LD_LIBRARY_PATH
10669 shlibpath_overrides_runpath=yes
10670 hardcode_into_libs=yes
10671 ;;
10672
10673 newsos6)
10674 version_type=linux # correct to gnu/linux during the next big refactor
10675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10676 shlibpath_var=LD_LIBRARY_PATH
10677 shlibpath_overrides_runpath=yes
10678 ;;
10679
10680 *nto* | *qnx*)
10681 version_type=qnx
10682 need_lib_prefix=no
10683 need_version=no
10684 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10685 soname_spec='${libname}${release}${shared_ext}$major'
10686 shlibpath_var=LD_LIBRARY_PATH
10687 shlibpath_overrides_runpath=no
10688 hardcode_into_libs=yes
10689 dynamic_linker='ldqnx.so'
10690 ;;
10691
10692 openbsd*)
10693 version_type=sunos
10694 sys_lib_dlsearch_path_spec="/usr/lib"
10695 need_lib_prefix=no
10696 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10697 case $host_os in
10698 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10699 *) need_version=no ;;
10700 esac
10701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10702 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10703 shlibpath_var=LD_LIBRARY_PATH
10704 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10705 case $host_os in
10706 openbsd2.[89] | openbsd2.[89].*)
10707 shlibpath_overrides_runpath=no
10708 ;;
10709 *)
10710 shlibpath_overrides_runpath=yes
10711 ;;
10712 esac
10713 else
10714 shlibpath_overrides_runpath=yes
10715 fi
10716 ;;
10717
10718 os2*)
10719 libname_spec='$name'
10720 shrext_cmds=".dll"
10721 need_lib_prefix=no
10722 library_names_spec='$libname${shared_ext} $libname.a'
10723 dynamic_linker='OS/2 ld.exe'
10724 shlibpath_var=LIBPATH
10725 ;;
10726
10727 osf3* | osf4* | osf5*)
10728 version_type=osf
10729 need_lib_prefix=no
10730 need_version=no
10731 soname_spec='${libname}${release}${shared_ext}$major'
10732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10733 shlibpath_var=LD_LIBRARY_PATH
10734 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10735 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10736 ;;
10737
10738 rdos*)
10739 dynamic_linker=no
10740 ;;
10741
10742 solaris*)
10743 version_type=linux # correct to gnu/linux during the next big refactor
10744 need_lib_prefix=no
10745 need_version=no
10746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10747 soname_spec='${libname}${release}${shared_ext}$major'
10748 shlibpath_var=LD_LIBRARY_PATH
10749 shlibpath_overrides_runpath=yes
10750 hardcode_into_libs=yes
10751 # ldd complains unless libraries are executable
10752 postinstall_cmds='chmod +x $lib'
10753 ;;
10754
10755 sunos4*)
10756 version_type=sunos
10757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10758 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10759 shlibpath_var=LD_LIBRARY_PATH
10760 shlibpath_overrides_runpath=yes
10761 if test "$with_gnu_ld" = yes; then
10762 need_lib_prefix=no
10763 fi
10764 need_version=yes
10765 ;;
10766
10767 sysv4 | sysv4.3*)
10768 version_type=linux # correct to gnu/linux during the next big refactor
10769 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10770 soname_spec='${libname}${release}${shared_ext}$major'
10771 shlibpath_var=LD_LIBRARY_PATH
10772 case $host_vendor in
10773 sni)
10774 shlibpath_overrides_runpath=no
10775 need_lib_prefix=no
10776 runpath_var=LD_RUN_PATH
10777 ;;
10778 siemens)
10779 need_lib_prefix=no
10780 ;;
10781 motorola)
10782 need_lib_prefix=no
10783 need_version=no
10784 shlibpath_overrides_runpath=no
10785 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10786 ;;
10787 esac
10788 ;;
10789
10790 sysv4*MP*)
10791 if test -d /usr/nec ;then
10792 version_type=linux # correct to gnu/linux during the next big refactor
10793 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10794 soname_spec='$libname${shared_ext}.$major'
10795 shlibpath_var=LD_LIBRARY_PATH
10796 fi
10797 ;;
10798
10799 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10800 version_type=freebsd-elf
10801 need_lib_prefix=no
10802 need_version=no
10803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10804 soname_spec='${libname}${release}${shared_ext}$major'
10805 shlibpath_var=LD_LIBRARY_PATH
10806 shlibpath_overrides_runpath=yes
10807 hardcode_into_libs=yes
10808 if test "$with_gnu_ld" = yes; then
10809 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10810 else
10811 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10812 case $host_os in
10813 sco3.2v5*)
10814 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10815 ;;
10816 esac
10817 fi
10818 sys_lib_dlsearch_path_spec='/usr/lib'
10819 ;;
10820
10821 tpf*)
10822 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10823 version_type=linux # correct to gnu/linux during the next big refactor
10824 need_lib_prefix=no
10825 need_version=no
10826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10827 shlibpath_var=LD_LIBRARY_PATH
10828 shlibpath_overrides_runpath=no
10829 hardcode_into_libs=yes
10830 ;;
10831
10832 uts4*)
10833 version_type=linux # correct to gnu/linux during the next big refactor
10834 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10835 soname_spec='${libname}${release}${shared_ext}$major'
10836 shlibpath_var=LD_LIBRARY_PATH
10837 ;;
10838
10839 *)
10840 dynamic_linker=no
10841 ;;
10842 esac
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10844 $as_echo "$dynamic_linker" >&6; }
10845 test "$dynamic_linker" = no && can_build_shared=no
10846
10847 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10848 if test "$GCC" = yes; then
10849 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10850 fi
10851
10852 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10853 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10854 fi
10855 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10856 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10857 fi
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10951 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10952 hardcode_action=
10953 if test -n "$hardcode_libdir_flag_spec" ||
10954 test -n "$runpath_var" ||
10955 test "X$hardcode_automatic" = "Xyes" ; then
10956
10957 # We can hardcode non-existent directories.
10958 if test "$hardcode_direct" != no &&
10959 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10960 # have to relink, otherwise we might link with an installed library
10961 # when we should be linking with a yet-to-be-installed one
10962 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10963 test "$hardcode_minus_L" != no; then
10964 # Linking always hardcodes the temporary library directory.
10965 hardcode_action=relink
10966 else
10967 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10968 hardcode_action=immediate
10969 fi
10970 else
10971 # We cannot hardcode anything, or else we can only hardcode existing
10972 # directories.
10973 hardcode_action=unsupported
10974 fi
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10976 $as_echo "$hardcode_action" >&6; }
10977
10978 if test "$hardcode_action" = relink ||
10979 test "$inherit_rpath" = yes; then
10980 # Fast installation is not supported
10981 enable_fast_install=no
10982 elif test "$shlibpath_overrides_runpath" = yes ||
10983 test "$enable_shared" = no; then
10984 # Fast installation is not necessary
10985 enable_fast_install=needless
10986 fi
10987
10988
10989
10990
10991
10992
10993 if test "x$enable_dlopen" != xyes; then
10994 enable_dlopen=unknown
10995 enable_dlopen_self=unknown
10996 enable_dlopen_self_static=unknown
10997 else
10998 lt_cv_dlopen=no
10999 lt_cv_dlopen_libs=
11000
11001 case $host_os in
11002 beos*)
11003 lt_cv_dlopen="load_add_on"
11004 lt_cv_dlopen_libs=
11005 lt_cv_dlopen_self=yes
11006 ;;
11007
11008 mingw* | pw32* | cegcc*)
11009 lt_cv_dlopen="LoadLibrary"
11010 lt_cv_dlopen_libs=
11011 ;;
11012
11013 cygwin*)
11014 lt_cv_dlopen="dlopen"
11015 lt_cv_dlopen_libs=
11016 ;;
11017
11018 darwin*)
11019 # if libdl is installed we need to link against it
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11021 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11022 if ${ac_cv_lib_dl_dlopen+:} false; then :
11023 $as_echo_n "(cached) " >&6
11024 else
11025 ac_check_lib_save_LIBS=$LIBS
11026 LIBS="-ldl $LIBS"
11027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11028 /* end confdefs.h. */
11029
11030 /* Override any GCC internal prototype to avoid an error.
11031 Use char because int might match the return type of a GCC
11032 builtin and then its argument prototype would still apply. */
11033 #ifdef __cplusplus
11034 extern "C"
11035 #endif
11036 char dlopen ();
11037 int
11038 main ()
11039 {
11040 return dlopen ();
11041 ;
11042 return 0;
11043 }
11044 _ACEOF
11045 if ac_fn_c_try_link "$LINENO"; then :
11046 ac_cv_lib_dl_dlopen=yes
11047 else
11048 ac_cv_lib_dl_dlopen=no
11049 fi
11050 rm -f core conftest.err conftest.$ac_objext \
11051 conftest$ac_exeext conftest.$ac_ext
11052 LIBS=$ac_check_lib_save_LIBS
11053 fi
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11055 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11056 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11057 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11058 else
11059
11060 lt_cv_dlopen="dyld"
11061 lt_cv_dlopen_libs=
11062 lt_cv_dlopen_self=yes
11063
11064 fi
11065
11066 ;;
11067
11068 *)
11069 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11070 if test "x$ac_cv_func_shl_load" = xyes; then :
11071 lt_cv_dlopen="shl_load"
11072 else
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11074 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11075 if ${ac_cv_lib_dld_shl_load+:} false; then :
11076 $as_echo_n "(cached) " >&6
11077 else
11078 ac_check_lib_save_LIBS=$LIBS
11079 LIBS="-ldld $LIBS"
11080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11081 /* end confdefs.h. */
11082
11083 /* Override any GCC internal prototype to avoid an error.
11084 Use char because int might match the return type of a GCC
11085 builtin and then its argument prototype would still apply. */
11086 #ifdef __cplusplus
11087 extern "C"
11088 #endif
11089 char shl_load ();
11090 int
11091 main ()
11092 {
11093 return shl_load ();
11094 ;
11095 return 0;
11096 }
11097 _ACEOF
11098 if ac_fn_c_try_link "$LINENO"; then :
11099 ac_cv_lib_dld_shl_load=yes
11100 else
11101 ac_cv_lib_dld_shl_load=no
11102 fi
11103 rm -f core conftest.err conftest.$ac_objext \
11104 conftest$ac_exeext conftest.$ac_ext
11105 LIBS=$ac_check_lib_save_LIBS
11106 fi
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11108 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11109 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11110 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11111 else
11112 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11113 if test "x$ac_cv_func_dlopen" = xyes; then :
11114 lt_cv_dlopen="dlopen"
11115 else
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11117 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11118 if ${ac_cv_lib_dl_dlopen+:} false; then :
11119 $as_echo_n "(cached) " >&6
11120 else
11121 ac_check_lib_save_LIBS=$LIBS
11122 LIBS="-ldl $LIBS"
11123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11124 /* end confdefs.h. */
11125
11126 /* Override any GCC internal prototype to avoid an error.
11127 Use char because int might match the return type of a GCC
11128 builtin and then its argument prototype would still apply. */
11129 #ifdef __cplusplus
11130 extern "C"
11131 #endif
11132 char dlopen ();
11133 int
11134 main ()
11135 {
11136 return dlopen ();
11137 ;
11138 return 0;
11139 }
11140 _ACEOF
11141 if ac_fn_c_try_link "$LINENO"; then :
11142 ac_cv_lib_dl_dlopen=yes
11143 else
11144 ac_cv_lib_dl_dlopen=no
11145 fi
11146 rm -f core conftest.err conftest.$ac_objext \
11147 conftest$ac_exeext conftest.$ac_ext
11148 LIBS=$ac_check_lib_save_LIBS
11149 fi
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11151 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11152 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11153 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11154 else
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11156 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11157 if ${ac_cv_lib_svld_dlopen+:} false; then :
11158 $as_echo_n "(cached) " >&6
11159 else
11160 ac_check_lib_save_LIBS=$LIBS
11161 LIBS="-lsvld $LIBS"
11162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11163 /* end confdefs.h. */
11164
11165 /* Override any GCC internal prototype to avoid an error.
11166 Use char because int might match the return type of a GCC
11167 builtin and then its argument prototype would still apply. */
11168 #ifdef __cplusplus
11169 extern "C"
11170 #endif
11171 char dlopen ();
11172 int
11173 main ()
11174 {
11175 return dlopen ();
11176 ;
11177 return 0;
11178 }
11179 _ACEOF
11180 if ac_fn_c_try_link "$LINENO"; then :
11181 ac_cv_lib_svld_dlopen=yes
11182 else
11183 ac_cv_lib_svld_dlopen=no
11184 fi
11185 rm -f core conftest.err conftest.$ac_objext \
11186 conftest$ac_exeext conftest.$ac_ext
11187 LIBS=$ac_check_lib_save_LIBS
11188 fi
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11190 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11191 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11192 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11193 else
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11195 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11196 if ${ac_cv_lib_dld_dld_link+:} false; then :
11197 $as_echo_n "(cached) " >&6
11198 else
11199 ac_check_lib_save_LIBS=$LIBS
11200 LIBS="-ldld $LIBS"
11201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11202 /* end confdefs.h. */
11203
11204 /* Override any GCC internal prototype to avoid an error.
11205 Use char because int might match the return type of a GCC
11206 builtin and then its argument prototype would still apply. */
11207 #ifdef __cplusplus
11208 extern "C"
11209 #endif
11210 char dld_link ();
11211 int
11212 main ()
11213 {
11214 return dld_link ();
11215 ;
11216 return 0;
11217 }
11218 _ACEOF
11219 if ac_fn_c_try_link "$LINENO"; then :
11220 ac_cv_lib_dld_dld_link=yes
11221 else
11222 ac_cv_lib_dld_dld_link=no
11223 fi
11224 rm -f core conftest.err conftest.$ac_objext \
11225 conftest$ac_exeext conftest.$ac_ext
11226 LIBS=$ac_check_lib_save_LIBS
11227 fi
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11229 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11230 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11231 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11232 fi
11233
11234
11235 fi
11236
11237
11238 fi
11239
11240
11241 fi
11242
11243
11244 fi
11245
11246
11247 fi
11248
11249 ;;
11250 esac
11251
11252 if test "x$lt_cv_dlopen" != xno; then
11253 enable_dlopen=yes
11254 else
11255 enable_dlopen=no
11256 fi
11257
11258 case $lt_cv_dlopen in
11259 dlopen)
11260 save_CPPFLAGS="$CPPFLAGS"
11261 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11262
11263 save_LDFLAGS="$LDFLAGS"
11264 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11265
11266 save_LIBS="$LIBS"
11267 LIBS="$lt_cv_dlopen_libs $LIBS"
11268
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11270 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11271 if ${lt_cv_dlopen_self+:} false; then :
11272 $as_echo_n "(cached) " >&6
11273 else
11274 if test "$cross_compiling" = yes; then :
11275 lt_cv_dlopen_self=cross
11276 else
11277 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11278 lt_status=$lt_dlunknown
11279 cat > conftest.$ac_ext <<_LT_EOF
11280 #line $LINENO "configure"
11281 #include "confdefs.h"
11282
11283 #if HAVE_DLFCN_H
11284 #include <dlfcn.h>
11285 #endif
11286
11287 #include <stdio.h>
11288
11289 #ifdef RTLD_GLOBAL
11290 # define LT_DLGLOBAL RTLD_GLOBAL
11291 #else
11292 # ifdef DL_GLOBAL
11293 # define LT_DLGLOBAL DL_GLOBAL
11294 # else
11295 # define LT_DLGLOBAL 0
11296 # endif
11297 #endif
11298
11299 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11300 find out it does not work in some platform. */
11301 #ifndef LT_DLLAZY_OR_NOW
11302 # ifdef RTLD_LAZY
11303 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11304 # else
11305 # ifdef DL_LAZY
11306 # define LT_DLLAZY_OR_NOW DL_LAZY
11307 # else
11308 # ifdef RTLD_NOW
11309 # define LT_DLLAZY_OR_NOW RTLD_NOW
11310 # else
11311 # ifdef DL_NOW
11312 # define LT_DLLAZY_OR_NOW DL_NOW
11313 # else
11314 # define LT_DLLAZY_OR_NOW 0
11315 # endif
11316 # endif
11317 # endif
11318 # endif
11319 #endif
11320
11321 /* When -fvisbility=hidden is used, assume the code has been annotated
11322 correspondingly for the symbols needed. */
11323 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11324 int fnord () __attribute__((visibility("default")));
11325 #endif
11326
11327 int fnord () { return 42; }
11328 int main ()
11329 {
11330 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11331 int status = $lt_dlunknown;
11332
11333 if (self)
11334 {
11335 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11336 else
11337 {
11338 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11339 else puts (dlerror ());
11340 }
11341 /* dlclose (self); */
11342 }
11343 else
11344 puts (dlerror ());
11345
11346 return status;
11347 }
11348 _LT_EOF
11349 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11350 (eval $ac_link) 2>&5
11351 ac_status=$?
11352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11353 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11354 (./conftest; exit; ) >&5 2>/dev/null
11355 lt_status=$?
11356 case x$lt_status in
11357 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11358 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11359 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11360 esac
11361 else :
11362 # compilation failed
11363 lt_cv_dlopen_self=no
11364 fi
11365 fi
11366 rm -fr conftest*
11367
11368
11369 fi
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11371 $as_echo "$lt_cv_dlopen_self" >&6; }
11372
11373 if test "x$lt_cv_dlopen_self" = xyes; then
11374 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11376 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11377 if ${lt_cv_dlopen_self_static+:} false; then :
11378 $as_echo_n "(cached) " >&6
11379 else
11380 if test "$cross_compiling" = yes; then :
11381 lt_cv_dlopen_self_static=cross
11382 else
11383 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11384 lt_status=$lt_dlunknown
11385 cat > conftest.$ac_ext <<_LT_EOF
11386 #line $LINENO "configure"
11387 #include "confdefs.h"
11388
11389 #if HAVE_DLFCN_H
11390 #include <dlfcn.h>
11391 #endif
11392
11393 #include <stdio.h>
11394
11395 #ifdef RTLD_GLOBAL
11396 # define LT_DLGLOBAL RTLD_GLOBAL
11397 #else
11398 # ifdef DL_GLOBAL
11399 # define LT_DLGLOBAL DL_GLOBAL
11400 # else
11401 # define LT_DLGLOBAL 0
11402 # endif
11403 #endif
11404
11405 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11406 find out it does not work in some platform. */
11407 #ifndef LT_DLLAZY_OR_NOW
11408 # ifdef RTLD_LAZY
11409 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11410 # else
11411 # ifdef DL_LAZY
11412 # define LT_DLLAZY_OR_NOW DL_LAZY
11413 # else
11414 # ifdef RTLD_NOW
11415 # define LT_DLLAZY_OR_NOW RTLD_NOW
11416 # else
11417 # ifdef DL_NOW
11418 # define LT_DLLAZY_OR_NOW DL_NOW
11419 # else
11420 # define LT_DLLAZY_OR_NOW 0
11421 # endif
11422 # endif
11423 # endif
11424 # endif
11425 #endif
11426
11427 /* When -fvisbility=hidden is used, assume the code has been annotated
11428 correspondingly for the symbols needed. */
11429 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11430 int fnord () __attribute__((visibility("default")));
11431 #endif
11432
11433 int fnord () { return 42; }
11434 int main ()
11435 {
11436 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11437 int status = $lt_dlunknown;
11438
11439 if (self)
11440 {
11441 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11442 else
11443 {
11444 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11445 else puts (dlerror ());
11446 }
11447 /* dlclose (self); */
11448 }
11449 else
11450 puts (dlerror ());
11451
11452 return status;
11453 }
11454 _LT_EOF
11455 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11456 (eval $ac_link) 2>&5
11457 ac_status=$?
11458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11459 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11460 (./conftest; exit; ) >&5 2>/dev/null
11461 lt_status=$?
11462 case x$lt_status in
11463 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11464 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11465 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11466 esac
11467 else :
11468 # compilation failed
11469 lt_cv_dlopen_self_static=no
11470 fi
11471 fi
11472 rm -fr conftest*
11473
11474
11475 fi
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11477 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11478 fi
11479
11480 CPPFLAGS="$save_CPPFLAGS"
11481 LDFLAGS="$save_LDFLAGS"
11482 LIBS="$save_LIBS"
11483 ;;
11484 esac
11485
11486 case $lt_cv_dlopen_self in
11487 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11488 *) enable_dlopen_self=unknown ;;
11489 esac
11490
11491 case $lt_cv_dlopen_self_static in
11492 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11493 *) enable_dlopen_self_static=unknown ;;
11494 esac
11495 fi
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513 striplib=
11514 old_striplib=
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11516 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11517 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11518 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11519 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11521 $as_echo "yes" >&6; }
11522 else
11523 # FIXME - insert some real tests, host_os isn't really good enough
11524 case $host_os in
11525 darwin*)
11526 if test -n "$STRIP" ; then
11527 striplib="$STRIP -x"
11528 old_striplib="$STRIP -S"
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11530 $as_echo "yes" >&6; }
11531 else
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11533 $as_echo "no" >&6; }
11534 fi
11535 ;;
11536 *)
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11538 $as_echo "no" >&6; }
11539 ;;
11540 esac
11541 fi
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554 # Report which library types will actually be built
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11556 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11558 $as_echo "$can_build_shared" >&6; }
11559
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11561 $as_echo_n "checking whether to build shared libraries... " >&6; }
11562 test "$can_build_shared" = "no" && enable_shared=no
11563
11564 # On AIX, shared libraries and static libraries use the same namespace, and
11565 # are all built from PIC.
11566 case $host_os in
11567 aix3*)
11568 test "$enable_shared" = yes && enable_static=no
11569 if test -n "$RANLIB"; then
11570 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11571 postinstall_cmds='$RANLIB $lib'
11572 fi
11573 ;;
11574
11575 aix[4-9]*)
11576 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11577 test "$enable_shared" = yes && enable_static=no
11578 fi
11579 ;;
11580 esac
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11582 $as_echo "$enable_shared" >&6; }
11583
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11585 $as_echo_n "checking whether to build static libraries... " >&6; }
11586 # Make sure either enable_shared or enable_static is yes.
11587 test "$enable_shared" = yes || enable_static=yes
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11589 $as_echo "$enable_static" >&6; }
11590
11591
11592
11593
11594 fi
11595 ac_ext=c
11596 ac_cpp='$CPP $CPPFLAGS'
11597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11600
11601 CC="$lt_save_CC"
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617 ac_config_commands="$ac_config_commands libtool"
11618
11619
11620
11621
11622 # Only expand once:
11623
11624
11625
11626
11627 # Checks for programs.
11628 ac_ext=c
11629 ac_cpp='$CPP $CPPFLAGS'
11630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11633 if test -n "$ac_tool_prefix"; then
11634 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11635 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11637 $as_echo_n "checking for $ac_word... " >&6; }
11638 if ${ac_cv_prog_CC+:} false; then :
11639 $as_echo_n "(cached) " >&6
11640 else
11641 if test -n "$CC"; then
11642 ac_cv_prog_CC="$CC" # Let the user override the test.
11643 else
11644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11645 for as_dir in $PATH
11646 do
11647 IFS=$as_save_IFS
11648 test -z "$as_dir" && as_dir=.
11649 for ac_exec_ext in '' $ac_executable_extensions; do
11650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11651 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11653 break 2
11654 fi
11655 done
11656 done
11657 IFS=$as_save_IFS
11658
11659 fi
11660 fi
11661 CC=$ac_cv_prog_CC
11662 if test -n "$CC"; then
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11664 $as_echo "$CC" >&6; }
11665 else
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11667 $as_echo "no" >&6; }
11668 fi
11669
11670
11671 fi
11672 if test -z "$ac_cv_prog_CC"; then
11673 ac_ct_CC=$CC
11674 # Extract the first word of "gcc", so it can be a program name with args.
11675 set dummy gcc; ac_word=$2
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11677 $as_echo_n "checking for $ac_word... " >&6; }
11678 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11679 $as_echo_n "(cached) " >&6
11680 else
11681 if test -n "$ac_ct_CC"; then
11682 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11683 else
11684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11685 for as_dir in $PATH
11686 do
11687 IFS=$as_save_IFS
11688 test -z "$as_dir" && as_dir=.
11689 for ac_exec_ext in '' $ac_executable_extensions; do
11690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11691 ac_cv_prog_ac_ct_CC="gcc"
11692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11693 break 2
11694 fi
11695 done
11696 done
11697 IFS=$as_save_IFS
11698
11699 fi
11700 fi
11701 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11702 if test -n "$ac_ct_CC"; then
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11704 $as_echo "$ac_ct_CC" >&6; }
11705 else
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11707 $as_echo "no" >&6; }
11708 fi
11709
11710 if test "x$ac_ct_CC" = x; then
11711 CC=""
11712 else
11713 case $cross_compiling:$ac_tool_warned in
11714 yes:)
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11717 ac_tool_warned=yes ;;
11718 esac
11719 CC=$ac_ct_CC
11720 fi
11721 else
11722 CC="$ac_cv_prog_CC"
11723 fi
11724
11725 if test -z "$CC"; then
11726 if test -n "$ac_tool_prefix"; then
11727 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11728 set dummy ${ac_tool_prefix}cc; ac_word=$2
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11730 $as_echo_n "checking for $ac_word... " >&6; }
11731 if ${ac_cv_prog_CC+:} false; then :
11732 $as_echo_n "(cached) " >&6
11733 else
11734 if test -n "$CC"; then
11735 ac_cv_prog_CC="$CC" # Let the user override the test.
11736 else
11737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11738 for as_dir in $PATH
11739 do
11740 IFS=$as_save_IFS
11741 test -z "$as_dir" && as_dir=.
11742 for ac_exec_ext in '' $ac_executable_extensions; do
11743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11744 ac_cv_prog_CC="${ac_tool_prefix}cc"
11745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11746 break 2
11747 fi
11748 done
11749 done
11750 IFS=$as_save_IFS
11751
11752 fi
11753 fi
11754 CC=$ac_cv_prog_CC
11755 if test -n "$CC"; then
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11757 $as_echo "$CC" >&6; }
11758 else
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11760 $as_echo "no" >&6; }
11761 fi
11762
11763
11764 fi
11765 fi
11766 if test -z "$CC"; then
11767 # Extract the first word of "cc", so it can be a program name with args.
11768 set dummy cc; ac_word=$2
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11770 $as_echo_n "checking for $ac_word... " >&6; }
11771 if ${ac_cv_prog_CC+:} false; then :
11772 $as_echo_n "(cached) " >&6
11773 else
11774 if test -n "$CC"; then
11775 ac_cv_prog_CC="$CC" # Let the user override the test.
11776 else
11777 ac_prog_rejected=no
11778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11779 for as_dir in $PATH
11780 do
11781 IFS=$as_save_IFS
11782 test -z "$as_dir" && as_dir=.
11783 for ac_exec_ext in '' $ac_executable_extensions; do
11784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11785 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11786 ac_prog_rejected=yes
11787 continue
11788 fi
11789 ac_cv_prog_CC="cc"
11790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11791 break 2
11792 fi
11793 done
11794 done
11795 IFS=$as_save_IFS
11796
11797 if test $ac_prog_rejected = yes; then
11798 # We found a bogon in the path, so make sure we never use it.
11799 set dummy $ac_cv_prog_CC
11800 shift
11801 if test $# != 0; then
11802 # We chose a different compiler from the bogus one.
11803 # However, it has the same basename, so the bogon will be chosen
11804 # first if we set CC to just the basename; use the full file name.
11805 shift
11806 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11807 fi
11808 fi
11809 fi
11810 fi
11811 CC=$ac_cv_prog_CC
11812 if test -n "$CC"; then
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11814 $as_echo "$CC" >&6; }
11815 else
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11817 $as_echo "no" >&6; }
11818 fi
11819
11820
11821 fi
11822 if test -z "$CC"; then
11823 if test -n "$ac_tool_prefix"; then
11824 for ac_prog in cl.exe
11825 do
11826 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11827 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11829 $as_echo_n "checking for $ac_word... " >&6; }
11830 if ${ac_cv_prog_CC+:} false; then :
11831 $as_echo_n "(cached) " >&6
11832 else
11833 if test -n "$CC"; then
11834 ac_cv_prog_CC="$CC" # Let the user override the test.
11835 else
11836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11837 for as_dir in $PATH
11838 do
11839 IFS=$as_save_IFS
11840 test -z "$as_dir" && as_dir=.
11841 for ac_exec_ext in '' $ac_executable_extensions; do
11842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11843 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11845 break 2
11846 fi
11847 done
11848 done
11849 IFS=$as_save_IFS
11850
11851 fi
11852 fi
11853 CC=$ac_cv_prog_CC
11854 if test -n "$CC"; then
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11856 $as_echo "$CC" >&6; }
11857 else
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11859 $as_echo "no" >&6; }
11860 fi
11861
11862
11863 test -n "$CC" && break
11864 done
11865 fi
11866 if test -z "$CC"; then
11867 ac_ct_CC=$CC
11868 for ac_prog in cl.exe
11869 do
11870 # Extract the first word of "$ac_prog", so it can be a program name with args.
11871 set dummy $ac_prog; ac_word=$2
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11873 $as_echo_n "checking for $ac_word... " >&6; }
11874 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11875 $as_echo_n "(cached) " >&6
11876 else
11877 if test -n "$ac_ct_CC"; then
11878 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11879 else
11880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11881 for as_dir in $PATH
11882 do
11883 IFS=$as_save_IFS
11884 test -z "$as_dir" && as_dir=.
11885 for ac_exec_ext in '' $ac_executable_extensions; do
11886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11887 ac_cv_prog_ac_ct_CC="$ac_prog"
11888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11889 break 2
11890 fi
11891 done
11892 done
11893 IFS=$as_save_IFS
11894
11895 fi
11896 fi
11897 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11898 if test -n "$ac_ct_CC"; then
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11900 $as_echo "$ac_ct_CC" >&6; }
11901 else
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11903 $as_echo "no" >&6; }
11904 fi
11905
11906
11907 test -n "$ac_ct_CC" && break
11908 done
11909
11910 if test "x$ac_ct_CC" = x; then
11911 CC=""
11912 else
11913 case $cross_compiling:$ac_tool_warned in
11914 yes:)
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11917 ac_tool_warned=yes ;;
11918 esac
11919 CC=$ac_ct_CC
11920 fi
11921 fi
11922
11923 fi
11924
11925
11926 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11927 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11928 as_fn_error $? "no acceptable C compiler found in \$PATH
11929 See \`config.log' for more details" "$LINENO" 5; }
11930
11931 # Provide some information about the compiler.
11932 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11933 set X $ac_compile
11934 ac_compiler=$2
11935 for ac_option in --version -v -V -qversion; do
11936 { { ac_try="$ac_compiler $ac_option >&5"
11937 case "(($ac_try" in
11938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11939 *) ac_try_echo=$ac_try;;
11940 esac
11941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11942 $as_echo "$ac_try_echo"; } >&5
11943 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11944 ac_status=$?
11945 if test -s conftest.err; then
11946 sed '10a\
11947 ... rest of stderr output deleted ...
11948 10q' conftest.err >conftest.er1
11949 cat conftest.er1 >&5
11950 fi
11951 rm -f conftest.er1 conftest.err
11952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11953 test $ac_status = 0; }
11954 done
11955
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11957 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11958 if ${ac_cv_c_compiler_gnu+:} false; then :
11959 $as_echo_n "(cached) " >&6
11960 else
11961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11962 /* end confdefs.h. */
11963
11964 int
11965 main ()
11966 {
11967 #ifndef __GNUC__
11968 choke me
11969 #endif
11970
11971 ;
11972 return 0;
11973 }
11974 _ACEOF
11975 if ac_fn_c_try_compile "$LINENO"; then :
11976 ac_compiler_gnu=yes
11977 else
11978 ac_compiler_gnu=no
11979 fi
11980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11981 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11982
11983 fi
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11985 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11986 if test $ac_compiler_gnu = yes; then
11987 GCC=yes
11988 else
11989 GCC=
11990 fi
11991 ac_test_CFLAGS=${CFLAGS+set}
11992 ac_save_CFLAGS=$CFLAGS
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11994 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11995 if ${ac_cv_prog_cc_g+:} false; then :
11996 $as_echo_n "(cached) " >&6
11997 else
11998 ac_save_c_werror_flag=$ac_c_werror_flag
11999 ac_c_werror_flag=yes
12000 ac_cv_prog_cc_g=no
12001 CFLAGS="-g"
12002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12003 /* end confdefs.h. */
12004
12005 int
12006 main ()
12007 {
12008
12009 ;
12010 return 0;
12011 }
12012 _ACEOF
12013 if ac_fn_c_try_compile "$LINENO"; then :
12014 ac_cv_prog_cc_g=yes
12015 else
12016 CFLAGS=""
12017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12018 /* end confdefs.h. */
12019
12020 int
12021 main ()
12022 {
12023
12024 ;
12025 return 0;
12026 }
12027 _ACEOF
12028 if ac_fn_c_try_compile "$LINENO"; then :
12029
12030 else
12031 ac_c_werror_flag=$ac_save_c_werror_flag
12032 CFLAGS="-g"
12033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12034 /* end confdefs.h. */
12035
12036 int
12037 main ()
12038 {
12039
12040 ;
12041 return 0;
12042 }
12043 _ACEOF
12044 if ac_fn_c_try_compile "$LINENO"; then :
12045 ac_cv_prog_cc_g=yes
12046 fi
12047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12048 fi
12049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12050 fi
12051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12052 ac_c_werror_flag=$ac_save_c_werror_flag
12053 fi
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12055 $as_echo "$ac_cv_prog_cc_g" >&6; }
12056 if test "$ac_test_CFLAGS" = set; then
12057 CFLAGS=$ac_save_CFLAGS
12058 elif test $ac_cv_prog_cc_g = yes; then
12059 if test "$GCC" = yes; then
12060 CFLAGS="-g -O2"
12061 else
12062 CFLAGS="-g"
12063 fi
12064 else
12065 if test "$GCC" = yes; then
12066 CFLAGS="-O2"
12067 else
12068 CFLAGS=
12069 fi
12070 fi
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12072 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12073 if ${ac_cv_prog_cc_c89+:} false; then :
12074 $as_echo_n "(cached) " >&6
12075 else
12076 ac_cv_prog_cc_c89=no
12077 ac_save_CC=$CC
12078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12079 /* end confdefs.h. */
12080 #include <stdarg.h>
12081 #include <stdio.h>
12082 struct stat;
12083 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12084 struct buf { int x; };
12085 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12086 static char *e (p, i)
12087 char **p;
12088 int i;
12089 {
12090 return p[i];
12091 }
12092 static char *f (char * (*g) (char **, int), char **p, ...)
12093 {
12094 char *s;
12095 va_list v;
12096 va_start (v,p);
12097 s = g (p, va_arg (v,int));
12098 va_end (v);
12099 return s;
12100 }
12101
12102 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12103 function prototypes and stuff, but not '\xHH' hex character constants.
12104 These don't provoke an error unfortunately, instead are silently treated
12105 as 'x'. The following induces an error, until -std is added to get
12106 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12107 array size at least. It's necessary to write '\x00'==0 to get something
12108 that's true only with -std. */
12109 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12110
12111 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12112 inside strings and character constants. */
12113 #define FOO(x) 'x'
12114 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12115
12116 int test (int i, double x);
12117 struct s1 {int (*f) (int a);};
12118 struct s2 {int (*f) (double a);};
12119 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12120 int argc;
12121 char **argv;
12122 int
12123 main ()
12124 {
12125 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12126 ;
12127 return 0;
12128 }
12129 _ACEOF
12130 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12131 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12132 do
12133 CC="$ac_save_CC $ac_arg"
12134 if ac_fn_c_try_compile "$LINENO"; then :
12135 ac_cv_prog_cc_c89=$ac_arg
12136 fi
12137 rm -f core conftest.err conftest.$ac_objext
12138 test "x$ac_cv_prog_cc_c89" != "xno" && break
12139 done
12140 rm -f conftest.$ac_ext
12141 CC=$ac_save_CC
12142
12143 fi
12144 # AC_CACHE_VAL
12145 case "x$ac_cv_prog_cc_c89" in
12146 x)
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12148 $as_echo "none needed" >&6; } ;;
12149 xno)
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12151 $as_echo "unsupported" >&6; } ;;
12152 *)
12153 CC="$CC $ac_cv_prog_cc_c89"
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12155 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12156 esac
12157 if test "x$ac_cv_prog_cc_c89" != xno; then :
12158
12159 fi
12160
12161 ac_ext=c
12162 ac_cpp='$CPP $CPPFLAGS'
12163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12166
12167 depcc="$CC" am_compiler_list=
12168
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12170 $as_echo_n "checking dependency style of $depcc... " >&6; }
12171 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12172 $as_echo_n "(cached) " >&6
12173 else
12174 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12175 # We make a subdir and do the tests there. Otherwise we can end up
12176 # making bogus files that we don't know about and never remove. For
12177 # instance it was reported that on HP-UX the gcc test will end up
12178 # making a dummy file named `D' -- because `-MD' means `put the output
12179 # in D'.
12180 rm -rf conftest.dir
12181 mkdir conftest.dir
12182 # Copy depcomp to subdir because otherwise we won't find it if we're
12183 # using a relative directory.
12184 cp "$am_depcomp" conftest.dir
12185 cd conftest.dir
12186 # We will build objects and dependencies in a subdirectory because
12187 # it helps to detect inapplicable dependency modes. For instance
12188 # both Tru64's cc and ICC support -MD to output dependencies as a
12189 # side effect of compilation, but ICC will put the dependencies in
12190 # the current directory while Tru64 will put them in the object
12191 # directory.
12192 mkdir sub
12193
12194 am_cv_CC_dependencies_compiler_type=none
12195 if test "$am_compiler_list" = ""; then
12196 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12197 fi
12198 am__universal=false
12199 case " $depcc " in #(
12200 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12201 esac
12202
12203 for depmode in $am_compiler_list; do
12204 # Setup a source with many dependencies, because some compilers
12205 # like to wrap large dependency lists on column 80 (with \), and
12206 # we should not choose a depcomp mode which is confused by this.
12207 #
12208 # We need to recreate these files for each test, as the compiler may
12209 # overwrite some of them when testing with obscure command lines.
12210 # This happens at least with the AIX C compiler.
12211 : > sub/conftest.c
12212 for i in 1 2 3 4 5 6; do
12213 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12214 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12215 # Solaris 8's {/usr,}/bin/sh.
12216 touch sub/conftst$i.h
12217 done
12218 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12219
12220 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12221 # mode. It turns out that the SunPro C++ compiler does not properly
12222 # handle `-M -o', and we need to detect this. Also, some Intel
12223 # versions had trouble with output in subdirs
12224 am__obj=sub/conftest.${OBJEXT-o}
12225 am__minus_obj="-o $am__obj"
12226 case $depmode in
12227 gcc)
12228 # This depmode causes a compiler race in universal mode.
12229 test "$am__universal" = false || continue
12230 ;;
12231 nosideeffect)
12232 # after this tag, mechanisms are not by side-effect, so they'll
12233 # only be used when explicitly requested
12234 if test "x$enable_dependency_tracking" = xyes; then
12235 continue
12236 else
12237 break
12238 fi
12239 ;;
12240 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12241 # This compiler won't grok `-c -o', but also, the minuso test has
12242 # not run yet. These depmodes are late enough in the game, and
12243 # so weak that their functioning should not be impacted.
12244 am__obj=conftest.${OBJEXT-o}
12245 am__minus_obj=
12246 ;;
12247 none) break ;;
12248 esac
12249 if depmode=$depmode \
12250 source=sub/conftest.c object=$am__obj \
12251 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12252 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12253 >/dev/null 2>conftest.err &&
12254 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12255 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12256 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12257 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12258 # icc doesn't choke on unknown options, it will just issue warnings
12259 # or remarks (even with -Werror). So we grep stderr for any message
12260 # that says an option was ignored or not supported.
12261 # When given -MP, icc 7.0 and 7.1 complain thusly:
12262 # icc: Command line warning: ignoring option '-M'; no argument required
12263 # The diagnosis changed in icc 8.0:
12264 # icc: Command line remark: option '-MP' not supported
12265 if (grep 'ignoring option' conftest.err ||
12266 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12267 am_cv_CC_dependencies_compiler_type=$depmode
12268 break
12269 fi
12270 fi
12271 done
12272
12273 cd ..
12274 rm -rf conftest.dir
12275 else
12276 am_cv_CC_dependencies_compiler_type=none
12277 fi
12278
12279 fi
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12281 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12282 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12283
12284 if
12285 test "x$enable_dependency_tracking" != xno \
12286 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12287 am__fastdepCC_TRUE=
12288 am__fastdepCC_FALSE='#'
12289 else
12290 am__fastdepCC_TRUE='#'
12291 am__fastdepCC_FALSE=
12292 fi
12293
12294
12295 if test "x$CC" != xcc; then
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12297 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12298 else
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12300 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12301 fi
12302 set dummy $CC; ac_cc=`$as_echo "$2" |
12303 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12304 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12305 $as_echo_n "(cached) " >&6
12306 else
12307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12308 /* end confdefs.h. */
12309
12310 int
12311 main ()
12312 {
12313
12314 ;
12315 return 0;
12316 }
12317 _ACEOF
12318 # Make sure it works both with $CC and with simple cc.
12319 # We do the test twice because some compilers refuse to overwrite an
12320 # existing .o file with -o, though they will create one.
12321 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12322 rm -f conftest2.*
12323 if { { case "(($ac_try" in
12324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12325 *) ac_try_echo=$ac_try;;
12326 esac
12327 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12328 $as_echo "$ac_try_echo"; } >&5
12329 (eval "$ac_try") 2>&5
12330 ac_status=$?
12331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12332 test $ac_status = 0; } &&
12333 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12335 *) ac_try_echo=$ac_try;;
12336 esac
12337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12338 $as_echo "$ac_try_echo"; } >&5
12339 (eval "$ac_try") 2>&5
12340 ac_status=$?
12341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12342 test $ac_status = 0; };
12343 then
12344 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12345 if test "x$CC" != xcc; then
12346 # Test first that cc exists at all.
12347 if { ac_try='cc -c conftest.$ac_ext >&5'
12348 { { case "(($ac_try" in
12349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12350 *) ac_try_echo=$ac_try;;
12351 esac
12352 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12353 $as_echo "$ac_try_echo"; } >&5
12354 (eval "$ac_try") 2>&5
12355 ac_status=$?
12356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12357 test $ac_status = 0; }; }; then
12358 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12359 rm -f conftest2.*
12360 if { { case "(($ac_try" in
12361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12362 *) ac_try_echo=$ac_try;;
12363 esac
12364 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12365 $as_echo "$ac_try_echo"; } >&5
12366 (eval "$ac_try") 2>&5
12367 ac_status=$?
12368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12369 test $ac_status = 0; } &&
12370 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12372 *) ac_try_echo=$ac_try;;
12373 esac
12374 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12375 $as_echo "$ac_try_echo"; } >&5
12376 (eval "$ac_try") 2>&5
12377 ac_status=$?
12378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12379 test $ac_status = 0; };
12380 then
12381 # cc works too.
12382 :
12383 else
12384 # cc exists but doesn't like -o.
12385 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12386 fi
12387 fi
12388 fi
12389 else
12390 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12391 fi
12392 rm -f core conftest*
12393
12394 fi
12395 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12397 $as_echo "yes" >&6; }
12398 else
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12400 $as_echo "no" >&6; }
12401
12402 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12403
12404 fi
12405
12406 # FIXME: we rely on the cache variable name because
12407 # there is no other way.
12408 set dummy $CC
12409 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12410 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12411 if test "$am_t" != yes; then
12412 # Losing compiler, so override with the script.
12413 # FIXME: It is wrong to rewrite CC.
12414 # But if we don't then we get into trouble of one sort or another.
12415 # A longer-term fix would be to have automake use am__CC in this case,
12416 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12417 CC="$am_aux_dir/compile $CC"
12418 fi
12419
12420
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
12422 $as_echo_n "checking whether ln -s works... " >&6; }
12423 LN_S=$as_ln_s
12424 if test "$LN_S" = "ln -s"; then
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12426 $as_echo "yes" >&6; }
12427 else
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
12429 $as_echo "no, using $LN_S" >&6; }
12430 fi
12431
12432
12433 # Extract the first word of "a2x", so it can be a program name with args.
12434 set dummy a2x; ac_word=$2
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12436 $as_echo_n "checking for $ac_word... " >&6; }
12437 if ${ac_cv_path_A2X+:} false; then :
12438 $as_echo_n "(cached) " >&6
12439 else
12440 case $A2X in
12441 [\\/]* | ?:[\\/]*)
12442 ac_cv_path_A2X="$A2X" # Let the user override the test with a path.
12443 ;;
12444 *)
12445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12446 for as_dir in $PATH
12447 do
12448 IFS=$as_save_IFS
12449 test -z "$as_dir" && as_dir=.
12450 for ac_exec_ext in '' $ac_executable_extensions; do
12451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12452 ac_cv_path_A2X="$as_dir/$ac_word$ac_exec_ext"
12453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12454 break 2
12455 fi
12456 done
12457 done
12458 IFS=$as_save_IFS
12459
12460 test -z "$ac_cv_path_A2X" && ac_cv_path_A2X="no"
12461 ;;
12462 esac
12463 fi
12464 A2X=$ac_cv_path_A2X
12465 if test -n "$A2X"; then
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $A2X" >&5
12467 $as_echo "$A2X" >&6; }
12468 else
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12470 $as_echo "no" >&6; }
12471 fi
12472
12473
12474 if test x"$A2X" != "xno"; then
12475 HAVE_A2X_TRUE=
12476 HAVE_A2X_FALSE='#'
12477 else
12478 HAVE_A2X_TRUE='#'
12479 HAVE_A2X_FALSE=
12480 fi
12481
12482
12483
12484 if test x"$A2X" = "xno" && test -d "$srcdir/.git"; then :
12485 as_fn_error $? "a2x is required to create man pages when building from git" "$LINENO" 5]
12486 fi
12487
12488 # Check for headers.
12489 for ac_header in string.h
12490 do :
12491 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
12492 if test "x$ac_cv_header_string_h" = xyes; then :
12493 cat >>confdefs.h <<_ACEOF
12494 #define HAVE_STRING_H 1
12495 _ACEOF
12496
12497 fi
12498
12499 done
12500
12501
12502 # Check for functions.
12503 for ac_func in memset
12504 do :
12505 ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
12506 if test "x$ac_cv_func_memset" = xyes; then :
12507 cat >>confdefs.h <<_ACEOF
12508 #define HAVE_MEMSET 1
12509 _ACEOF
12510
12511 fi
12512 done
12513
12514
12515 # --with-tests
12516 pkg_libquvi=libquvi-0.9
12517
12518
12519
12520
12521
12522
12523
12524 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12525 if test -n "$ac_tool_prefix"; then
12526 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12527 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12529 $as_echo_n "checking for $ac_word... " >&6; }
12530 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12531 $as_echo_n "(cached) " >&6
12532 else
12533 case $PKG_CONFIG in
12534 [\\/]* | ?:[\\/]*)
12535 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12536 ;;
12537 *)
12538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12539 for as_dir in $PATH
12540 do
12541 IFS=$as_save_IFS
12542 test -z "$as_dir" && as_dir=.
12543 for ac_exec_ext in '' $ac_executable_extensions; do
12544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12545 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12547 break 2
12548 fi
12549 done
12550 done
12551 IFS=$as_save_IFS
12552
12553 ;;
12554 esac
12555 fi
12556 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12557 if test -n "$PKG_CONFIG"; then
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12559 $as_echo "$PKG_CONFIG" >&6; }
12560 else
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12562 $as_echo "no" >&6; }
12563 fi
12564
12565
12566 fi
12567 if test -z "$ac_cv_path_PKG_CONFIG"; then
12568 ac_pt_PKG_CONFIG=$PKG_CONFIG
12569 # Extract the first word of "pkg-config", so it can be a program name with args.
12570 set dummy pkg-config; ac_word=$2
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12572 $as_echo_n "checking for $ac_word... " >&6; }
12573 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12574 $as_echo_n "(cached) " >&6
12575 else
12576 case $ac_pt_PKG_CONFIG in
12577 [\\/]* | ?:[\\/]*)
12578 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12579 ;;
12580 *)
12581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12582 for as_dir in $PATH
12583 do
12584 IFS=$as_save_IFS
12585 test -z "$as_dir" && as_dir=.
12586 for ac_exec_ext in '' $ac_executable_extensions; do
12587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12588 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12590 break 2
12591 fi
12592 done
12593 done
12594 IFS=$as_save_IFS
12595
12596 ;;
12597 esac
12598 fi
12599 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12600 if test -n "$ac_pt_PKG_CONFIG"; then
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12602 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12603 else
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12605 $as_echo "no" >&6; }
12606 fi
12607
12608 if test "x$ac_pt_PKG_CONFIG" = x; then
12609 PKG_CONFIG=""
12610 else
12611 case $cross_compiling:$ac_tool_warned in
12612 yes:)
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12615 ac_tool_warned=yes ;;
12616 esac
12617 PKG_CONFIG=$ac_pt_PKG_CONFIG
12618 fi
12619 else
12620 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12621 fi
12622
12623 fi
12624 if test -n "$PKG_CONFIG"; then
12625 _pkg_min_version=0.9.0
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12627 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12628 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12630 $as_echo "yes" >&6; }
12631 else
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12633 $as_echo "no" >&6; }
12634 PKG_CONFIG=""
12635 fi
12636 fi
12637
12638 # Check whether --with-tests was given.
12639 if test "${with_tests+set}" = set; then :
12640 withval=$with_tests;
12641 pkg_failed=no
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libquvi" >&5
12643 $as_echo_n "checking for libquvi... " >&6; }
12644
12645 if test -n "$libquvi_CFLAGS"; then
12646 pkg_cv_libquvi_CFLAGS="$libquvi_CFLAGS"
12647 elif test -n "$PKG_CONFIG"; then
12648 if test -n "$PKG_CONFIG" && \
12649 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"\$pkg_libquvi\" >= 0.9\""; } >&5
12650 ($PKG_CONFIG --exists --print-errors ""$pkg_libquvi" >= 0.9") 2>&5
12651 ac_status=$?
12652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12653 test $ac_status = 0; }; then
12654 pkg_cv_libquvi_CFLAGS=`$PKG_CONFIG --cflags ""$pkg_libquvi" >= 0.9" 2>/dev/null`
12655 test "x$?" != "x0" && pkg_failed=yes
12656 else
12657 pkg_failed=yes
12658 fi
12659 else
12660 pkg_failed=untried
12661 fi
12662 if test -n "$libquvi_LIBS"; then
12663 pkg_cv_libquvi_LIBS="$libquvi_LIBS"
12664 elif test -n "$PKG_CONFIG"; then
12665 if test -n "$PKG_CONFIG" && \
12666 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"\$pkg_libquvi\" >= 0.9\""; } >&5
12667 ($PKG_CONFIG --exists --print-errors ""$pkg_libquvi" >= 0.9") 2>&5
12668 ac_status=$?
12669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12670 test $ac_status = 0; }; then
12671 pkg_cv_libquvi_LIBS=`$PKG_CONFIG --libs ""$pkg_libquvi" >= 0.9" 2>/dev/null`
12672 test "x$?" != "x0" && pkg_failed=yes
12673 else
12674 pkg_failed=yes
12675 fi
12676 else
12677 pkg_failed=untried
12678 fi
12679
12680
12681
12682 if test $pkg_failed = yes; then
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12684 $as_echo "no" >&6; }
12685
12686 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12687 _pkg_short_errors_supported=yes
12688 else
12689 _pkg_short_errors_supported=no
12690 fi
12691 if test $_pkg_short_errors_supported = yes; then
12692 libquvi_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs ""$pkg_libquvi" >= 0.9" 2>&1`
12693 else
12694 libquvi_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs ""$pkg_libquvi" >= 0.9" 2>&1`
12695 fi
12696 # Put the nasty error message in config.log where it belongs
12697 echo "$libquvi_PKG_ERRORS" >&5
12698
12699 as_fn_error $? "Package requirements (\"$pkg_libquvi\" >= 0.9) were not met:
12700
12701 $libquvi_PKG_ERRORS
12702
12703 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12704 installed software in a non-standard prefix.
12705
12706 Alternatively, you may set the environment variables libquvi_CFLAGS
12707 and libquvi_LIBS to avoid the need to call pkg-config.
12708 See the pkg-config man page for more details." "$LINENO" 5
12709 elif test $pkg_failed = untried; then
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12711 $as_echo "no" >&6; }
12712 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12714 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12715 is in your PATH or set the PKG_CONFIG environment variable to the full
12716 path to pkg-config.
12717
12718 Alternatively, you may set the environment variables libquvi_CFLAGS
12719 and libquvi_LIBS to avoid the need to call pkg-config.
12720 See the pkg-config man page for more details.
12721
12722 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12723 See \`config.log' for more details" "$LINENO" 5; }
12724 else
12725 libquvi_CFLAGS=$pkg_cv_libquvi_CFLAGS
12726 libquvi_LIBS=$pkg_cv_libquvi_LIBS
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12728 $as_echo "yes" >&6; }
12729 libquvi_modver=`$PKG_CONFIG --modversion $pkg_libquvi 2>/dev/null`
12730
12731 pkg_failed=no
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib" >&5
12733 $as_echo_n "checking for glib... " >&6; }
12734
12735 if test -n "$glib_CFLAGS"; then
12736 pkg_cv_glib_CFLAGS="$glib_CFLAGS"
12737 elif test -n "$PKG_CONFIG"; then
12738 if test -n "$PKG_CONFIG" && \
12739 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.24\""; } >&5
12740 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.24") 2>&5
12741 ac_status=$?
12742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12743 test $ac_status = 0; }; then
12744 pkg_cv_glib_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.24" 2>/dev/null`
12745 test "x$?" != "x0" && pkg_failed=yes
12746 else
12747 pkg_failed=yes
12748 fi
12749 else
12750 pkg_failed=untried
12751 fi
12752 if test -n "$glib_LIBS"; then
12753 pkg_cv_glib_LIBS="$glib_LIBS"
12754 elif test -n "$PKG_CONFIG"; then
12755 if test -n "$PKG_CONFIG" && \
12756 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.24\""; } >&5
12757 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.24") 2>&5
12758 ac_status=$?
12759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12760 test $ac_status = 0; }; then
12761 pkg_cv_glib_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.24" 2>/dev/null`
12762 test "x$?" != "x0" && pkg_failed=yes
12763 else
12764 pkg_failed=yes
12765 fi
12766 else
12767 pkg_failed=untried
12768 fi
12769
12770
12771
12772 if test $pkg_failed = yes; then
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12774 $as_echo "no" >&6; }
12775
12776 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12777 _pkg_short_errors_supported=yes
12778 else
12779 _pkg_short_errors_supported=no
12780 fi
12781 if test $_pkg_short_errors_supported = yes; then
12782 glib_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.24" 2>&1`
12783 else
12784 glib_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.24" 2>&1`
12785 fi
12786 # Put the nasty error message in config.log where it belongs
12787 echo "$glib_PKG_ERRORS" >&5
12788
12789 as_fn_error $? "Package requirements (glib-2.0 >= 2.24) were not met:
12790
12791 $glib_PKG_ERRORS
12792
12793 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12794 installed software in a non-standard prefix.
12795
12796 Alternatively, you may set the environment variables glib_CFLAGS
12797 and glib_LIBS to avoid the need to call pkg-config.
12798 See the pkg-config man page for more details." "$LINENO" 5
12799 elif test $pkg_failed = untried; then
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12801 $as_echo "no" >&6; }
12802 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12804 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12805 is in your PATH or set the PKG_CONFIG environment variable to the full
12806 path to pkg-config.
12807
12808 Alternatively, you may set the environment variables glib_CFLAGS
12809 and glib_LIBS to avoid the need to call pkg-config.
12810 See the pkg-config man page for more details.
12811
12812 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12813 See \`config.log' for more details" "$LINENO" 5; }
12814 else
12815 glib_CFLAGS=$pkg_cv_glib_CFLAGS
12816 glib_LIBS=$pkg_cv_glib_LIBS
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12818 $as_echo "yes" >&6; }
12819
12820 pkg_failed=no
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5
12822 $as_echo_n "checking for libcurl... " >&6; }
12823
12824 if test -n "$libcurl_CFLAGS"; then
12825 pkg_cv_libcurl_CFLAGS="$libcurl_CFLAGS"
12826 elif test -n "$PKG_CONFIG"; then
12827 if test -n "$PKG_CONFIG" && \
12828 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.21\""; } >&5
12829 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.21") 2>&5
12830 ac_status=$?
12831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12832 test $ac_status = 0; }; then
12833 pkg_cv_libcurl_CFLAGS=`$PKG_CONFIG --cflags "libcurl >= 7.21" 2>/dev/null`
12834 test "x$?" != "x0" && pkg_failed=yes
12835 else
12836 pkg_failed=yes
12837 fi
12838 else
12839 pkg_failed=untried
12840 fi
12841 if test -n "$libcurl_LIBS"; then
12842 pkg_cv_libcurl_LIBS="$libcurl_LIBS"
12843 elif test -n "$PKG_CONFIG"; then
12844 if test -n "$PKG_CONFIG" && \
12845 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.21\""; } >&5
12846 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.21") 2>&5
12847 ac_status=$?
12848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12849 test $ac_status = 0; }; then
12850 pkg_cv_libcurl_LIBS=`$PKG_CONFIG --libs "libcurl >= 7.21" 2>/dev/null`
12851 test "x$?" != "x0" && pkg_failed=yes
12852 else
12853 pkg_failed=yes
12854 fi
12855 else
12856 pkg_failed=untried
12857 fi
12858
12859
12860
12861 if test $pkg_failed = yes; then
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12863 $as_echo "no" >&6; }
12864
12865 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12866 _pkg_short_errors_supported=yes
12867 else
12868 _pkg_short_errors_supported=no
12869 fi
12870 if test $_pkg_short_errors_supported = yes; then
12871 libcurl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl >= 7.21" 2>&1`
12872 else
12873 libcurl_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl >= 7.21" 2>&1`
12874 fi
12875 # Put the nasty error message in config.log where it belongs
12876 echo "$libcurl_PKG_ERRORS" >&5
12877
12878 as_fn_error $? "Package requirements (libcurl >= 7.21) were not met:
12879
12880 $libcurl_PKG_ERRORS
12881
12882 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12883 installed software in a non-standard prefix.
12884
12885 Alternatively, you may set the environment variables libcurl_CFLAGS
12886 and libcurl_LIBS to avoid the need to call pkg-config.
12887 See the pkg-config man page for more details." "$LINENO" 5
12888 elif test $pkg_failed = untried; then
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12890 $as_echo "no" >&6; }
12891 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12892 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12893 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12894 is in your PATH or set the PKG_CONFIG environment variable to the full
12895 path to pkg-config.
12896
12897 Alternatively, you may set the environment variables libcurl_CFLAGS
12898 and libcurl_LIBS to avoid the need to call pkg-config.
12899 See the pkg-config man page for more details.
12900
12901 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12902 See \`config.log' for more details" "$LINENO" 5; }
12903 else
12904 libcurl_CFLAGS=$pkg_cv_libcurl_CFLAGS
12905 libcurl_LIBS=$pkg_cv_libcurl_LIBS
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12907 $as_echo "yes" >&6; }
12908 with_tests=yes
12909 fi
12910 fi
12911
12912 fi
12913
12914 else
12915 with_tests=no
12916 fi
12917
12918 if test x"$with_tests" = "xyes"; then
12919 WITH_TESTS_TRUE=
12920 WITH_TESTS_FALSE='#'
12921 else
12922 WITH_TESTS_TRUE='#'
12923 WITH_TESTS_FALSE=
12924 fi
12925
12926
12927 # --with-nsfw
12928
12929 # Check whether --with-nsfw was given.
12930 if test "${with_nsfw+set}" = set; then :
12931 withval=$with_nsfw;
12932 else
12933 with_nsfw=no
12934 fi
12935
12936 if test x"$with_nsfw" != "xno"; then
12937 WITH_NSFW_TRUE=
12938 WITH_NSFW_FALSE='#'
12939 else
12940 WITH_NSFW_TRUE='#'
12941 WITH_NSFW_FALSE=
12942 fi
12943
12944
12945 # --with-fixme
12946
12947 # Check whether --with-fixme was given.
12948 if test "${with_fixme+set}" = set; then :
12949 withval=$with_fixme;
12950 else
12951 with_fixme=no
12952 fi
12953
12954 if test x"$with_fixme" != "xno"; then
12955 WITH_FIXME_TRUE=
12956 WITH_FIXME_FALSE='#'
12957 else
12958 WITH_FIXME_TRUE='#'
12959 WITH_FIXME_FALSE=
12960 fi
12961
12962
12963 # --with-geoblocked
12964
12965 # Check whether --with-geoblocked was given.
12966 if test "${with_geoblocked+set}" = set; then :
12967 withval=$with_geoblocked;
12968 else
12969 with_geoblocked=yes
12970 fi
12971
12972 if test x"$with_geoblocked" = "xyes"; then
12973 WITH_GEOBLOCKED_TRUE=
12974 WITH_GEOBLOCKED_FALSE='#'
12975 else
12976 WITH_GEOBLOCKED_TRUE='#'
12977 WITH_GEOBLOCKED_FALSE=
12978 fi
12979
12980
12981 # --with-manual
12982
12983 # Check whether --with-manual was given.
12984 if test "${with_manual+set}" = set; then :
12985 withval=$with_manual;
12986 else
12987 with_manual=yes
12988 fi
12989
12990 if test x"$with_manual" != "xno"; then
12991 WITH_MANUAL_TRUE=
12992 WITH_MANUAL_FALSE='#'
12993 else
12994 WITH_MANUAL_TRUE='#'
12995 WITH_MANUAL_FALSE=
12996 fi
12997
12998
12999 # Version: Major/minor -pair, used to symlink
13000 # from
13001 # $prefix/share/libquvi-scripts/$version/
13002 # to
13003 # $prefix/share/libquvi-scripts/$major.$minor/
13004 VERSION_MM=`$srcdir/gen-ver.sh -c -m`
13005
13006
13007 VN_C=`$srcdir/gen-ver.sh -c` # Use this value in the .pc file
13008
13009
13010 ac_config_files="$ac_config_files Makefile doc/Makefile doc/man7/Makefile share/Makefile tests/Makefile tests/lib/Makefile libquvi-scripts-0.9.pc"
13011
13012 cat >confcache <<\_ACEOF
13013 # This file is a shell script that caches the results of configure
13014 # tests run on this system so they can be shared between configure
13015 # scripts and configure runs, see configure's option --config-cache.
13016 # It is not useful on other systems. If it contains results you don't
13017 # want to keep, you may remove or edit it.
13018 #
13019 # config.status only pays attention to the cache file if you give it
13020 # the --recheck option to rerun configure.
13021 #
13022 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13023 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13024 # following values.
13025
13026 _ACEOF
13027
13028 # The following way of writing the cache mishandles newlines in values,
13029 # but we know of no workaround that is simple, portable, and efficient.
13030 # So, we kill variables containing newlines.
13031 # Ultrix sh set writes to stderr and can't be redirected directly,
13032 # and sets the high bit in the cache file unless we assign to the vars.
13033 (
13034 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13035 eval ac_val=\$$ac_var
13036 case $ac_val in #(
13037 *${as_nl}*)
13038 case $ac_var in #(
13039 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13040 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13041 esac
13042 case $ac_var in #(
13043 _ | IFS | as_nl) ;; #(
13044 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13045 *) { eval $ac_var=; unset $ac_var;} ;;
13046 esac ;;
13047 esac
13048 done
13049
13050 (set) 2>&1 |
13051 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13052 *${as_nl}ac_space=\ *)
13053 # `set' does not quote correctly, so add quotes: double-quote
13054 # substitution turns \\\\ into \\, and sed turns \\ into \.
13055 sed -n \
13056 "s/'/'\\\\''/g;
13057 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13058 ;; #(
13059 *)
13060 # `set' quotes correctly as required by POSIX, so do not add quotes.
13061 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13062 ;;
13063 esac |
13064 sort
13065 ) |
13066 sed '
13067 /^ac_cv_env_/b end
13068 t clear
13069 :clear
13070 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13071 t end
13072 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13073 :end' >>confcache
13074 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13075 if test -w "$cache_file"; then
13076 if test "x$cache_file" != "x/dev/null"; then
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13078 $as_echo "$as_me: updating cache $cache_file" >&6;}
13079 if test ! -f "$cache_file" || test -h "$cache_file"; then
13080 cat confcache >"$cache_file"
13081 else
13082 case $cache_file in #(
13083 */* | ?:*)
13084 mv -f confcache "$cache_file"$$ &&
13085 mv -f "$cache_file"$$ "$cache_file" ;; #(
13086 *)
13087 mv -f confcache "$cache_file" ;;
13088 esac
13089 fi
13090 fi
13091 else
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13093 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13094 fi
13095 fi
13096 rm -f confcache
13097
13098 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13099 # Let make expand exec_prefix.
13100 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13101
13102 DEFS=-DHAVE_CONFIG_H
13103
13104 ac_libobjs=
13105 ac_ltlibobjs=
13106 U=
13107 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13108 # 1. Remove the extension, and $U if already installed.
13109 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13110 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13111 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13112 # will be set to the directory where LIBOBJS objects are built.
13113 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13114 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13115 done
13116 LIBOBJS=$ac_libobjs
13117
13118 LTLIBOBJS=$ac_ltlibobjs
13119
13120
13121 if test -n "$EXEEXT"; then
13122 am__EXEEXT_TRUE=
13123 am__EXEEXT_FALSE='#'
13124 else
13125 am__EXEEXT_TRUE='#'
13126 am__EXEEXT_FALSE=
13127 fi
13128
13129 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13130 as_fn_error $? "conditional \"AMDEP\" was never defined.
13131 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13132 fi
13133 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13134 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13135 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13136 fi
13137 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13138 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13139 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13140 fi
13141 if test -z "${HAVE_A2X_TRUE}" && test -z "${HAVE_A2X_FALSE}"; then
13142 as_fn_error $? "conditional \"HAVE_A2X\" was never defined.
13143 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13144 fi
13145 if test -z "${WITH_TESTS_TRUE}" && test -z "${WITH_TESTS_FALSE}"; then
13146 as_fn_error $? "conditional \"WITH_TESTS\" was never defined.
13147 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13148 fi
13149 if test -z "${WITH_NSFW_TRUE}" && test -z "${WITH_NSFW_FALSE}"; then
13150 as_fn_error $? "conditional \"WITH_NSFW\" was never defined.
13151 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13152 fi
13153 if test -z "${WITH_FIXME_TRUE}" && test -z "${WITH_FIXME_FALSE}"; then
13154 as_fn_error $? "conditional \"WITH_FIXME\" was never defined.
13155 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13156 fi
13157 if test -z "${WITH_GEOBLOCKED_TRUE}" && test -z "${WITH_GEOBLOCKED_FALSE}"; then
13158 as_fn_error $? "conditional \"WITH_GEOBLOCKED\" was never defined.
13159 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13160 fi
13161 if test -z "${WITH_MANUAL_TRUE}" && test -z "${WITH_MANUAL_FALSE}"; then
13162 as_fn_error $? "conditional \"WITH_MANUAL\" was never defined.
13163 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13164 fi
13165
13166 : "${CONFIG_STATUS=./config.status}"
13167 ac_write_fail=0
13168 ac_clean_files_save=$ac_clean_files
13169 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13171 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13172 as_write_fail=0
13173 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13174 #! $SHELL
13175 # Generated by $as_me.
13176 # Run this file to recreate the current configuration.
13177 # Compiler output produced by configure, useful for debugging
13178 # configure, is in config.log if it exists.
13179
13180 debug=false
13181 ac_cs_recheck=false
13182 ac_cs_silent=false
13183
13184 SHELL=\${CONFIG_SHELL-$SHELL}
13185 export SHELL
13186 _ASEOF
13187 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13188 ## -------------------- ##
13189 ## M4sh Initialization. ##
13190 ## -------------------- ##
13191
13192 # Be more Bourne compatible
13193 DUALCASE=1; export DUALCASE # for MKS sh
13194 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13195 emulate sh
13196 NULLCMD=:
13197 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13198 # is contrary to our usage. Disable this feature.
13199 alias -g '${1+"$@"}'='"$@"'
13200 setopt NO_GLOB_SUBST
13201 else
13202 case `(set -o) 2>/dev/null` in #(
13203 *posix*) :
13204 set -o posix ;; #(
13205 *) :
13206 ;;
13207 esac
13208 fi
13209
13210
13211 as_nl='
13212 '
13213 export as_nl
13214 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13215 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13216 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13217 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13218 # Prefer a ksh shell builtin over an external printf program on Solaris,
13219 # but without wasting forks for bash or zsh.
13220 if test -z "$BASH_VERSION$ZSH_VERSION" \
13221 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13222 as_echo='print -r --'
13223 as_echo_n='print -rn --'
13224 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13225 as_echo='printf %s\n'
13226 as_echo_n='printf %s'
13227 else
13228 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13229 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13230 as_echo_n='/usr/ucb/echo -n'
13231 else
13232 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13233 as_echo_n_body='eval
13234 arg=$1;
13235 case $arg in #(
13236 *"$as_nl"*)
13237 expr "X$arg" : "X\\(.*\\)$as_nl";
13238 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13239 esac;
13240 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13241 '
13242 export as_echo_n_body
13243 as_echo_n='sh -c $as_echo_n_body as_echo'
13244 fi
13245 export as_echo_body
13246 as_echo='sh -c $as_echo_body as_echo'
13247 fi
13248
13249 # The user is always right.
13250 if test "${PATH_SEPARATOR+set}" != set; then
13251 PATH_SEPARATOR=:
13252 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13253 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13254 PATH_SEPARATOR=';'
13255 }
13256 fi
13257
13258
13259 # IFS
13260 # We need space, tab and new line, in precisely that order. Quoting is
13261 # there to prevent editors from complaining about space-tab.
13262 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13263 # splitting by setting IFS to empty value.)
13264 IFS=" "" $as_nl"
13265
13266 # Find who we are. Look in the path if we contain no directory separator.
13267 as_myself=
13268 case $0 in #((
13269 *[\\/]* ) as_myself=$0 ;;
13270 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13271 for as_dir in $PATH
13272 do
13273 IFS=$as_save_IFS
13274 test -z "$as_dir" && as_dir=.
13275 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13276 done
13277 IFS=$as_save_IFS
13278
13279 ;;
13280 esac
13281 # We did not find ourselves, most probably we were run as `sh COMMAND'
13282 # in which case we are not to be found in the path.
13283 if test "x$as_myself" = x; then
13284 as_myself=$0
13285 fi
13286 if test ! -f "$as_myself"; then
13287 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13288 exit 1
13289 fi
13290
13291 # Unset variables that we do not need and which cause bugs (e.g. in
13292 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13293 # suppresses any "Segmentation fault" message there. '((' could
13294 # trigger a bug in pdksh 5.2.14.
13295 for as_var in BASH_ENV ENV MAIL MAILPATH
13296 do eval test x\${$as_var+set} = xset \
13297 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13298 done
13299 PS1='$ '
13300 PS2='> '
13301 PS4='+ '
13302
13303 # NLS nuisances.
13304 LC_ALL=C
13305 export LC_ALL
13306 LANGUAGE=C
13307 export LANGUAGE
13308
13309 # CDPATH.
13310 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13311
13312
13313 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13314 # ----------------------------------------
13315 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13316 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13317 # script with STATUS, using 1 if that was 0.
13318 as_fn_error ()
13319 {
13320 as_status=$1; test $as_status -eq 0 && as_status=1
13321 if test "$4"; then
13322 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13323 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13324 fi
13325 $as_echo "$as_me: error: $2" >&2
13326 as_fn_exit $as_status
13327 } # as_fn_error
13328
13329
13330 # as_fn_set_status STATUS
13331 # -----------------------
13332 # Set $? to STATUS, without forking.
13333 as_fn_set_status ()
13334 {
13335 return $1
13336 } # as_fn_set_status
13337
13338 # as_fn_exit STATUS
13339 # -----------------
13340 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13341 as_fn_exit ()
13342 {
13343 set +e
13344 as_fn_set_status $1
13345 exit $1
13346 } # as_fn_exit
13347
13348 # as_fn_unset VAR
13349 # ---------------
13350 # Portably unset VAR.
13351 as_fn_unset ()
13352 {
13353 { eval $1=; unset $1;}
13354 }
13355 as_unset=as_fn_unset
13356 # as_fn_append VAR VALUE
13357 # ----------------------
13358 # Append the text in VALUE to the end of the definition contained in VAR. Take
13359 # advantage of any shell optimizations that allow amortized linear growth over
13360 # repeated appends, instead of the typical quadratic growth present in naive
13361 # implementations.
13362 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13363 eval 'as_fn_append ()
13364 {
13365 eval $1+=\$2
13366 }'
13367 else
13368 as_fn_append ()
13369 {
13370 eval $1=\$$1\$2
13371 }
13372 fi # as_fn_append
13373
13374 # as_fn_arith ARG...
13375 # ------------------
13376 # Perform arithmetic evaluation on the ARGs, and store the result in the
13377 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13378 # must be portable across $(()) and expr.
13379 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13380 eval 'as_fn_arith ()
13381 {
13382 as_val=$(( $* ))
13383 }'
13384 else
13385 as_fn_arith ()
13386 {
13387 as_val=`expr "$@" || test $? -eq 1`
13388 }
13389 fi # as_fn_arith
13390
13391
13392 if expr a : '\(a\)' >/dev/null 2>&1 &&
13393 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13394 as_expr=expr
13395 else
13396 as_expr=false
13397 fi
13398
13399 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13400 as_basename=basename
13401 else
13402 as_basename=false
13403 fi
13404
13405 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13406 as_dirname=dirname
13407 else
13408 as_dirname=false
13409 fi
13410
13411 as_me=`$as_basename -- "$0" ||
13412 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13413 X"$0" : 'X\(//\)$' \| \
13414 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13415 $as_echo X/"$0" |
13416 sed '/^.*\/\([^/][^/]*\)\/*$/{
13417 s//\1/
13418 q
13419 }
13420 /^X\/\(\/\/\)$/{
13421 s//\1/
13422 q
13423 }
13424 /^X\/\(\/\).*/{
13425 s//\1/
13426 q
13427 }
13428 s/.*/./; q'`
13429
13430 # Avoid depending upon Character Ranges.
13431 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13432 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13433 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13434 as_cr_digits='0123456789'
13435 as_cr_alnum=$as_cr_Letters$as_cr_digits
13436
13437 ECHO_C= ECHO_N= ECHO_T=
13438 case `echo -n x` in #(((((
13439 -n*)
13440 case `echo 'xy\c'` in
13441 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13442 xy) ECHO_C='\c';;
13443 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13444 ECHO_T=' ';;
13445 esac;;
13446 *)
13447 ECHO_N='-n';;
13448 esac
13449
13450 rm -f conf$$ conf$$.exe conf$$.file
13451 if test -d conf$$.dir; then
13452 rm -f conf$$.dir/conf$$.file
13453 else
13454 rm -f conf$$.dir
13455 mkdir conf$$.dir 2>/dev/null
13456 fi
13457 if (echo >conf$$.file) 2>/dev/null; then
13458 if ln -s conf$$.file conf$$ 2>/dev/null; then
13459 as_ln_s='ln -s'
13460 # ... but there are two gotchas:
13461 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13462 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13463 # In both cases, we have to default to `cp -pR'.
13464 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13465 as_ln_s='cp -pR'
13466 elif ln conf$$.file conf$$ 2>/dev/null; then
13467 as_ln_s=ln
13468 else
13469 as_ln_s='cp -pR'
13470 fi
13471 else
13472 as_ln_s='cp -pR'
13473 fi
13474 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13475 rmdir conf$$.dir 2>/dev/null
13476
13477
13478 # as_fn_mkdir_p
13479 # -------------
13480 # Create "$as_dir" as a directory, including parents if necessary.
13481 as_fn_mkdir_p ()
13482 {
13483
13484 case $as_dir in #(
13485 -*) as_dir=./$as_dir;;
13486 esac
13487 test -d "$as_dir" || eval $as_mkdir_p || {
13488 as_dirs=
13489 while :; do
13490 case $as_dir in #(
13491 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13492 *) as_qdir=$as_dir;;
13493 esac
13494 as_dirs="'$as_qdir' $as_dirs"
13495 as_dir=`$as_dirname -- "$as_dir" ||
13496 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13497 X"$as_dir" : 'X\(//\)[^/]' \| \
13498 X"$as_dir" : 'X\(//\)$' \| \
13499 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13500 $as_echo X"$as_dir" |
13501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13502 s//\1/
13503 q
13504 }
13505 /^X\(\/\/\)[^/].*/{
13506 s//\1/
13507 q
13508 }
13509 /^X\(\/\/\)$/{
13510 s//\1/
13511 q
13512 }
13513 /^X\(\/\).*/{
13514 s//\1/
13515 q
13516 }
13517 s/.*/./; q'`
13518 test -d "$as_dir" && break
13519 done
13520 test -z "$as_dirs" || eval "mkdir $as_dirs"
13521 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13522
13523
13524 } # as_fn_mkdir_p
13525 if mkdir -p . 2>/dev/null; then
13526 as_mkdir_p='mkdir -p "$as_dir"'
13527 else
13528 test -d ./-p && rmdir ./-p
13529 as_mkdir_p=false
13530 fi
13531
13532
13533 # as_fn_executable_p FILE
13534 # -----------------------
13535 # Test if FILE is an executable regular file.
13536 as_fn_executable_p ()
13537 {
13538 test -f "$1" && test -x "$1"
13539 } # as_fn_executable_p
13540 as_test_x='test -x'
13541 as_executable_p=as_fn_executable_p
13542
13543 # Sed expression to map a string onto a valid CPP name.
13544 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13545
13546 # Sed expression to map a string onto a valid variable name.
13547 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13548
13549
13550 exec 6>&1
13551 ## ----------------------------------- ##
13552 ## Main body of $CONFIG_STATUS script. ##
13553 ## ----------------------------------- ##
13554 _ASEOF
13555 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13556
13557 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13558 # Save the log message, to keep $0 and so on meaningful, and to
13559 # report actual input values of CONFIG_FILES etc. instead of their
13560 # values after options handling.
13561 ac_log="
13562 This file was extended by libquvi-scripts $as_me 0.9.20131130, which was
13563 generated by GNU Autoconf 2.69. Invocation command line was
13564
13565 CONFIG_FILES = $CONFIG_FILES
13566 CONFIG_HEADERS = $CONFIG_HEADERS
13567 CONFIG_LINKS = $CONFIG_LINKS
13568 CONFIG_COMMANDS = $CONFIG_COMMANDS
13569 $ $0 $@
13570
13571 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13572 "
13573
13574 _ACEOF
13575
13576 case $ac_config_files in *"
13577 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13578 esac
13579
13580 case $ac_config_headers in *"
13581 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13582 esac
13583
13584
13585 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13586 # Files that config.status was made for.
13587 config_files="$ac_config_files"
13588 config_headers="$ac_config_headers"
13589 config_commands="$ac_config_commands"
13590
13591 _ACEOF
13592
13593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13594 ac_cs_usage="\
13595 \`$as_me' instantiates files and other configuration actions
13596 from templates according to the current configuration. Unless the files
13597 and actions are specified as TAGs, all are instantiated by default.
13598
13599 Usage: $0 [OPTION]... [TAG]...
13600
13601 -h, --help print this help, then exit
13602 -V, --version print version number and configuration settings, then exit
13603 --config print configuration, then exit
13604 -q, --quiet, --silent
13605 do not print progress messages
13606 -d, --debug don't remove temporary files
13607 --recheck update $as_me by reconfiguring in the same conditions
13608 --file=FILE[:TEMPLATE]
13609 instantiate the configuration file FILE
13610 --header=FILE[:TEMPLATE]
13611 instantiate the configuration header FILE
13612
13613 Configuration files:
13614 $config_files
13615
13616 Configuration headers:
13617 $config_headers
13618
13619 Configuration commands:
13620 $config_commands
13621
13622 Report bugs to <http://quvi.sf.net/bugs/>.
13623 libquvi-scripts home page: <http://quvi.sf.net/>."
13624
13625 _ACEOF
13626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13627 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13628 ac_cs_version="\\
13629 libquvi-scripts config.status 0.9.20131130
13630 configured by $0, generated by GNU Autoconf 2.69,
13631 with options \\"\$ac_cs_config\\"
13632
13633 Copyright (C) 2012 Free Software Foundation, Inc.
13634 This config.status script is free software; the Free Software Foundation
13635 gives unlimited permission to copy, distribute and modify it."
13636
13637 ac_pwd='$ac_pwd'
13638 srcdir='$srcdir'
13639 INSTALL='$INSTALL'
13640 MKDIR_P='$MKDIR_P'
13641 AWK='$AWK'
13642 test -n "\$AWK" || AWK=awk
13643 _ACEOF
13644
13645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13646 # The default lists apply if the user does not specify any file.
13647 ac_need_defaults=:
13648 while test $# != 0
13649 do
13650 case $1 in
13651 --*=?*)
13652 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13653 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13654 ac_shift=:
13655 ;;
13656 --*=)
13657 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13658 ac_optarg=
13659 ac_shift=:
13660 ;;
13661 *)
13662 ac_option=$1
13663 ac_optarg=$2
13664 ac_shift=shift
13665 ;;
13666 esac
13667
13668 case $ac_option in
13669 # Handling of the options.
13670 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13671 ac_cs_recheck=: ;;
13672 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13673 $as_echo "$ac_cs_version"; exit ;;
13674 --config | --confi | --conf | --con | --co | --c )
13675 $as_echo "$ac_cs_config"; exit ;;
13676 --debug | --debu | --deb | --de | --d | -d )
13677 debug=: ;;
13678 --file | --fil | --fi | --f )
13679 $ac_shift
13680 case $ac_optarg in
13681 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13682 '') as_fn_error $? "missing file argument" ;;
13683 esac
13684 as_fn_append CONFIG_FILES " '$ac_optarg'"
13685 ac_need_defaults=false;;
13686 --header | --heade | --head | --hea )
13687 $ac_shift
13688 case $ac_optarg in
13689 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13690 esac
13691 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13692 ac_need_defaults=false;;
13693 --he | --h)
13694 # Conflict between --help and --header
13695 as_fn_error $? "ambiguous option: \`$1'
13696 Try \`$0 --help' for more information.";;
13697 --help | --hel | -h )
13698 $as_echo "$ac_cs_usage"; exit ;;
13699 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13700 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13701 ac_cs_silent=: ;;
13702
13703 # This is an error.
13704 -*) as_fn_error $? "unrecognized option: \`$1'
13705 Try \`$0 --help' for more information." ;;
13706
13707 *) as_fn_append ac_config_targets " $1"
13708 ac_need_defaults=false ;;
13709
13710 esac
13711 shift
13712 done
13713
13714 ac_configure_extra_args=
13715
13716 if $ac_cs_silent; then
13717 exec 6>/dev/null
13718 ac_configure_extra_args="$ac_configure_extra_args --silent"
13719 fi
13720
13721 _ACEOF
13722 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13723 if \$ac_cs_recheck; then
13724 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13725 shift
13726 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13727 CONFIG_SHELL='$SHELL'
13728 export CONFIG_SHELL
13729 exec "\$@"
13730 fi
13731
13732 _ACEOF
13733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13734 exec 5>>config.log
13735 {
13736 echo
13737 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13738 ## Running $as_me. ##
13739 _ASBOX
13740 $as_echo "$ac_log"
13741 } >&5
13742
13743 _ACEOF
13744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13745 #
13746 # INIT-COMMANDS
13747 #
13748 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13749
13750
13751 # The HP-UX ksh and POSIX shell print the target directory to stdout
13752 # if CDPATH is set.
13753 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13754
13755 sed_quote_subst='$sed_quote_subst'
13756 double_quote_subst='$double_quote_subst'
13757 delay_variable_subst='$delay_variable_subst'
13758 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13759 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13760 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13761 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13762 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13763 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13764 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13765 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13766 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13767 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13768 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13769 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13770 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13771 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13772 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13773 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13774 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13775 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13776 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13777 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13778 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13779 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13780 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13781 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13782 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13783 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13784 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13785 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13786 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13787 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13788 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13789 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13790 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13791 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13792 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13793 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13794 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13795 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13796 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13797 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13798 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13799 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13800 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13801 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13802 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13803 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13804 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13805 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13806 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13807 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13808 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13809 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13810 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13811 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13812 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13813 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13814 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
13815 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13816 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13817 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13818 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13819 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13820 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13821 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13822 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13823 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13824 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13825 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13826 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13827 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13828 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13829 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13830 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13831 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13832 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13833 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13834 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13835 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13836 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13837 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13838 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13839 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13840 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13841 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13842 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13843 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13844 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13845 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13846 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13847 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13848 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13849 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13850 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13851 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13852 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13853 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13854 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13855 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13856 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13857 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13858 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13859 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13860 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13861 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13862 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13863 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13864 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13865 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13866 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13867 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13868 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13869 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13870 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13871 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13872 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13873 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13874 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13875 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13876 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13877 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13878 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13879 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13880 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13881 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13882 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13883 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13884 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13885 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13886 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13887 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13888
13889 LTCC='$LTCC'
13890 LTCFLAGS='$LTCFLAGS'
13891 compiler='$compiler_DEFAULT'
13892
13893 # A function that is used when there is no print builtin or printf.
13894 func_fallback_echo ()
13895 {
13896 eval 'cat <<_LTECHO_EOF
13897 \$1
13898 _LTECHO_EOF'
13899 }
13900
13901 # Quote evaled strings.
13902 for var in SHELL \
13903 ECHO \
13904 PATH_SEPARATOR \
13905 SED \
13906 GREP \
13907 EGREP \
13908 FGREP \
13909 LD \
13910 NM \
13911 LN_S \
13912 lt_SP2NL \
13913 lt_NL2SP \
13914 reload_flag \
13915 OBJDUMP \
13916 deplibs_check_method \
13917 file_magic_cmd \
13918 file_magic_glob \
13919 want_nocaseglob \
13920 DLLTOOL \
13921 sharedlib_from_linklib_cmd \
13922 AR \
13923 AR_FLAGS \
13924 archiver_list_spec \
13925 STRIP \
13926 RANLIB \
13927 CC \
13928 CFLAGS \
13929 compiler \
13930 lt_cv_sys_global_symbol_pipe \
13931 lt_cv_sys_global_symbol_to_cdecl \
13932 lt_cv_sys_global_symbol_to_c_name_address \
13933 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13934 nm_file_list_spec \
13935 lt_prog_compiler_no_builtin_flag \
13936 lt_prog_compiler_pic \
13937 lt_prog_compiler_wl \
13938 lt_prog_compiler_static \
13939 lt_cv_prog_compiler_c_o \
13940 need_locks \
13941 MANIFEST_TOOL \
13942 DSYMUTIL \
13943 NMEDIT \
13944 LIPO \
13945 OTOOL \
13946 OTOOL64 \
13947 shrext_cmds \
13948 export_dynamic_flag_spec \
13949 whole_archive_flag_spec \
13950 compiler_needs_object \
13951 with_gnu_ld \
13952 allow_undefined_flag \
13953 no_undefined_flag \
13954 hardcode_libdir_flag_spec \
13955 hardcode_libdir_separator \
13956 exclude_expsyms \
13957 include_expsyms \
13958 file_list_spec \
13959 variables_saved_for_relink \
13960 libname_spec \
13961 library_names_spec \
13962 soname_spec \
13963 install_override_mode \
13964 finish_eval \
13965 old_striplib \
13966 striplib; do
13967 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13968 *[\\\\\\\`\\"\\\$]*)
13969 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13970 ;;
13971 *)
13972 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13973 ;;
13974 esac
13975 done
13976
13977 # Double-quote double-evaled strings.
13978 for var in reload_cmds \
13979 old_postinstall_cmds \
13980 old_postuninstall_cmds \
13981 old_archive_cmds \
13982 extract_expsyms_cmds \
13983 old_archive_from_new_cmds \
13984 old_archive_from_expsyms_cmds \
13985 archive_cmds \
13986 archive_expsym_cmds \
13987 module_cmds \
13988 module_expsym_cmds \
13989 export_symbols_cmds \
13990 prelink_cmds \
13991 postlink_cmds \
13992 postinstall_cmds \
13993 postuninstall_cmds \
13994 finish_cmds \
13995 sys_lib_search_path_spec \
13996 sys_lib_dlsearch_path_spec; do
13997 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13998 *[\\\\\\\`\\"\\\$]*)
13999 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14000 ;;
14001 *)
14002 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14003 ;;
14004 esac
14005 done
14006
14007 ac_aux_dir='$ac_aux_dir'
14008 xsi_shell='$xsi_shell'
14009 lt_shell_append='$lt_shell_append'
14010
14011 # See if we are running on zsh, and set the options which allow our
14012 # commands through without removal of \ escapes INIT.
14013 if test -n "\${ZSH_VERSION+set}" ; then
14014 setopt NO_GLOB_SUBST
14015 fi
14016
14017
14018 PACKAGE='$PACKAGE'
14019 VERSION='$VERSION'
14020 TIMESTAMP='$TIMESTAMP'
14021 RM='$RM'
14022 ofile='$ofile'
14023
14024
14025
14026
14027 _ACEOF
14028
14029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14030
14031 # Handling of arguments.
14032 for ac_config_target in $ac_config_targets
14033 do
14034 case $ac_config_target in
14035 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14036 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14037 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14038 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14039 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14040 "doc/man7/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man7/Makefile" ;;
14041 "share/Makefile") CONFIG_FILES="$CONFIG_FILES share/Makefile" ;;
14042 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
14043 "tests/lib/Makefile") CONFIG_FILES="$CONFIG_FILES tests/lib/Makefile" ;;
14044 "libquvi-scripts-0.9.pc") CONFIG_FILES="$CONFIG_FILES libquvi-scripts-0.9.pc" ;;
14045
14046 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14047 esac
14048 done
14049
14050
14051 # If the user did not use the arguments to specify the items to instantiate,
14052 # then the envvar interface is used. Set only those that are not.
14053 # We use the long form for the default assignment because of an extremely
14054 # bizarre bug on SunOS 4.1.3.
14055 if $ac_need_defaults; then
14056 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14057 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14058 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14059 fi
14060
14061 # Have a temporary directory for convenience. Make it in the build tree
14062 # simply because there is no reason against having it here, and in addition,
14063 # creating and moving files from /tmp can sometimes cause problems.
14064 # Hook for its removal unless debugging.
14065 # Note that there is a small window in which the directory will not be cleaned:
14066 # after its creation but before its name has been assigned to `$tmp'.
14067 $debug ||
14068 {
14069 tmp= ac_tmp=
14070 trap 'exit_status=$?
14071 : "${ac_tmp:=$tmp}"
14072 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14073 ' 0
14074 trap 'as_fn_exit 1' 1 2 13 15
14075 }
14076 # Create a (secure) tmp directory for tmp files.
14077
14078 {
14079 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14080 test -d "$tmp"
14081 } ||
14082 {
14083 tmp=./conf$$-$RANDOM
14084 (umask 077 && mkdir "$tmp")
14085 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14086 ac_tmp=$tmp
14087
14088 # Set up the scripts for CONFIG_FILES section.
14089 # No need to generate them if there are no CONFIG_FILES.
14090 # This happens for instance with `./config.status config.h'.
14091 if test -n "$CONFIG_FILES"; then
14092
14093
14094 ac_cr=`echo X | tr X '\015'`
14095 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14096 # But we know of no other shell where ac_cr would be empty at this
14097 # point, so we can use a bashism as a fallback.
14098 if test "x$ac_cr" = x; then
14099 eval ac_cr=\$\'\\r\'
14100 fi
14101 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14102 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14103 ac_cs_awk_cr='\\r'
14104 else
14105 ac_cs_awk_cr=$ac_cr
14106 fi
14107
14108 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14109 _ACEOF
14110
14111
14112 {
14113 echo "cat >conf$$subs.awk <<_ACEOF" &&
14114 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14115 echo "_ACEOF"
14116 } >conf$$subs.sh ||
14117 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14118 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14119 ac_delim='%!_!# '
14120 for ac_last_try in false false false false false :; do
14121 . ./conf$$subs.sh ||
14122 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14123
14124 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14125 if test $ac_delim_n = $ac_delim_num; then
14126 break
14127 elif $ac_last_try; then
14128 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14129 else
14130 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14131 fi
14132 done
14133 rm -f conf$$subs.sh
14134
14135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14136 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14137 _ACEOF
14138 sed -n '
14139 h
14140 s/^/S["/; s/!.*/"]=/
14141 p
14142 g
14143 s/^[^!]*!//
14144 :repl
14145 t repl
14146 s/'"$ac_delim"'$//
14147 t delim
14148 :nl
14149 h
14150 s/\(.\{148\}\)..*/\1/
14151 t more1
14152 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14153 p
14154 n
14155 b repl
14156 :more1
14157 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14158 p
14159 g
14160 s/.\{148\}//
14161 t nl
14162 :delim
14163 h
14164 s/\(.\{148\}\)..*/\1/
14165 t more2
14166 s/["\\]/\\&/g; s/^/"/; s/$/"/
14167 p
14168 b
14169 :more2
14170 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14171 p
14172 g
14173 s/.\{148\}//
14174 t delim
14175 ' <conf$$subs.awk | sed '
14176 /^[^""]/{
14177 N
14178 s/\n//
14179 }
14180 ' >>$CONFIG_STATUS || ac_write_fail=1
14181 rm -f conf$$subs.awk
14182 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14183 _ACAWK
14184 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14185 for (key in S) S_is_set[key] = 1
14186 FS = ""
14187
14188 }
14189 {
14190 line = $ 0
14191 nfields = split(line, field, "@")
14192 substed = 0
14193 len = length(field[1])
14194 for (i = 2; i < nfields; i++) {
14195 key = field[i]
14196 keylen = length(key)
14197 if (S_is_set[key]) {
14198 value = S[key]
14199 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14200 len += length(value) + length(field[++i])
14201 substed = 1
14202 } else
14203 len += 1 + keylen
14204 }
14205
14206 print line
14207 }
14208
14209 _ACAWK
14210 _ACEOF
14211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14212 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14213 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14214 else
14215 cat
14216 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14217 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14218 _ACEOF
14219
14220 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14221 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14222 # trailing colons and then remove the whole line if VPATH becomes empty
14223 # (actually we leave an empty line to preserve line numbers).
14224 if test "x$srcdir" = x.; then
14225 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14226 h
14227 s///
14228 s/^/:/
14229 s/[ ]*$/:/
14230 s/:\$(srcdir):/:/g
14231 s/:\${srcdir}:/:/g
14232 s/:@srcdir@:/:/g
14233 s/^:*//
14234 s/:*$//
14235 x
14236 s/\(=[ ]*\).*/\1/
14237 G
14238 s/\n//
14239 s/^[^=]*=[ ]*$//
14240 }'
14241 fi
14242
14243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14244 fi # test -n "$CONFIG_FILES"
14245
14246 # Set up the scripts for CONFIG_HEADERS section.
14247 # No need to generate them if there are no CONFIG_HEADERS.
14248 # This happens for instance with `./config.status Makefile'.
14249 if test -n "$CONFIG_HEADERS"; then
14250 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14251 BEGIN {
14252 _ACEOF
14253
14254 # Transform confdefs.h into an awk script `defines.awk', embedded as
14255 # here-document in config.status, that substitutes the proper values into
14256 # config.h.in to produce config.h.
14257
14258 # Create a delimiter string that does not exist in confdefs.h, to ease
14259 # handling of long lines.
14260 ac_delim='%!_!# '
14261 for ac_last_try in false false :; do
14262 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14263 if test -z "$ac_tt"; then
14264 break
14265 elif $ac_last_try; then
14266 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14267 else
14268 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14269 fi
14270 done
14271
14272 # For the awk script, D is an array of macro values keyed by name,
14273 # likewise P contains macro parameters if any. Preserve backslash
14274 # newline sequences.
14275
14276 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14277 sed -n '
14278 s/.\{148\}/&'"$ac_delim"'/g
14279 t rset
14280 :rset
14281 s/^[ ]*#[ ]*define[ ][ ]*/ /
14282 t def
14283 d
14284 :def
14285 s/\\$//
14286 t bsnl
14287 s/["\\]/\\&/g
14288 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14289 D["\1"]=" \3"/p
14290 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14291 d
14292 :bsnl
14293 s/["\\]/\\&/g
14294 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14295 D["\1"]=" \3\\\\\\n"\\/p
14296 t cont
14297 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14298 t cont
14299 d
14300 :cont
14301 n
14302 s/.\{148\}/&'"$ac_delim"'/g
14303 t clear
14304 :clear
14305 s/\\$//
14306 t bsnlc
14307 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14308 d
14309 :bsnlc
14310 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14311 b cont
14312 ' <confdefs.h | sed '
14313 s/'"$ac_delim"'/"\\\
14314 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14315
14316 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14317 for (key in D) D_is_set[key] = 1
14318 FS = ""
14319 }
14320 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14321 line = \$ 0
14322 split(line, arg, " ")
14323 if (arg[1] == "#") {
14324 defundef = arg[2]
14325 mac1 = arg[3]
14326 } else {
14327 defundef = substr(arg[1], 2)
14328 mac1 = arg[2]
14329 }
14330 split(mac1, mac2, "(") #)
14331 macro = mac2[1]
14332 prefix = substr(line, 1, index(line, defundef) - 1)
14333 if (D_is_set[macro]) {
14334 # Preserve the white space surrounding the "#".
14335 print prefix "define", macro P[macro] D[macro]
14336 next
14337 } else {
14338 # Replace #undef with comments. This is necessary, for example,
14339 # in the case of _POSIX_SOURCE, which is predefined and required
14340 # on some systems where configure will not decide to define it.
14341 if (defundef == "undef") {
14342 print "/*", prefix defundef, macro, "*/"
14343 next
14344 }
14345 }
14346 }
14347 { print }
14348 _ACAWK
14349 _ACEOF
14350 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14351 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14352 fi # test -n "$CONFIG_HEADERS"
14353
14354
14355 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14356 shift
14357 for ac_tag
14358 do
14359 case $ac_tag in
14360 :[FHLC]) ac_mode=$ac_tag; continue;;
14361 esac
14362 case $ac_mode$ac_tag in
14363 :[FHL]*:*);;
14364 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14365 :[FH]-) ac_tag=-:-;;
14366 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14367 esac
14368 ac_save_IFS=$IFS
14369 IFS=:
14370 set x $ac_tag
14371 IFS=$ac_save_IFS
14372 shift
14373 ac_file=$1
14374 shift
14375
14376 case $ac_mode in
14377 :L) ac_source=$1;;
14378 :[FH])
14379 ac_file_inputs=
14380 for ac_f
14381 do
14382 case $ac_f in
14383 -) ac_f="$ac_tmp/stdin";;
14384 *) # Look for the file first in the build tree, then in the source tree
14385 # (if the path is not absolute). The absolute path cannot be DOS-style,
14386 # because $ac_f cannot contain `:'.
14387 test -f "$ac_f" ||
14388 case $ac_f in
14389 [\\/$]*) false;;
14390 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14391 esac ||
14392 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14393 esac
14394 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14395 as_fn_append ac_file_inputs " '$ac_f'"
14396 done
14397
14398 # Let's still pretend it is `configure' which instantiates (i.e., don't
14399 # use $as_me), people would be surprised to read:
14400 # /* config.h. Generated by config.status. */
14401 configure_input='Generated from '`
14402 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14403 `' by configure.'
14404 if test x"$ac_file" != x-; then
14405 configure_input="$ac_file. $configure_input"
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14407 $as_echo "$as_me: creating $ac_file" >&6;}
14408 fi
14409 # Neutralize special characters interpreted by sed in replacement strings.
14410 case $configure_input in #(
14411 *\&* | *\|* | *\\* )
14412 ac_sed_conf_input=`$as_echo "$configure_input" |
14413 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14414 *) ac_sed_conf_input=$configure_input;;
14415 esac
14416
14417 case $ac_tag in
14418 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14419 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14420 esac
14421 ;;
14422 esac
14423
14424 ac_dir=`$as_dirname -- "$ac_file" ||
14425 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14426 X"$ac_file" : 'X\(//\)[^/]' \| \
14427 X"$ac_file" : 'X\(//\)$' \| \
14428 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14429 $as_echo X"$ac_file" |
14430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14431 s//\1/
14432 q
14433 }
14434 /^X\(\/\/\)[^/].*/{
14435 s//\1/
14436 q
14437 }
14438 /^X\(\/\/\)$/{
14439 s//\1/
14440 q
14441 }
14442 /^X\(\/\).*/{
14443 s//\1/
14444 q
14445 }
14446 s/.*/./; q'`
14447 as_dir="$ac_dir"; as_fn_mkdir_p
14448 ac_builddir=.
14449
14450 case "$ac_dir" in
14451 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14452 *)
14453 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14454 # A ".." for each directory in $ac_dir_suffix.
14455 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14456 case $ac_top_builddir_sub in
14457 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14458 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14459 esac ;;
14460 esac
14461 ac_abs_top_builddir=$ac_pwd
14462 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14463 # for backward compatibility:
14464 ac_top_builddir=$ac_top_build_prefix
14465
14466 case $srcdir in
14467 .) # We are building in place.
14468 ac_srcdir=.
14469 ac_top_srcdir=$ac_top_builddir_sub
14470 ac_abs_top_srcdir=$ac_pwd ;;
14471 [\\/]* | ?:[\\/]* ) # Absolute name.
14472 ac_srcdir=$srcdir$ac_dir_suffix;
14473 ac_top_srcdir=$srcdir
14474 ac_abs_top_srcdir=$srcdir ;;
14475 *) # Relative name.
14476 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14477 ac_top_srcdir=$ac_top_build_prefix$srcdir
14478 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14479 esac
14480 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14481
14482
14483 case $ac_mode in
14484 :F)
14485 #
14486 # CONFIG_FILE
14487 #
14488
14489 case $INSTALL in
14490 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14491 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14492 esac
14493 ac_MKDIR_P=$MKDIR_P
14494 case $MKDIR_P in
14495 [\\/$]* | ?:[\\/]* ) ;;
14496 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14497 esac
14498 _ACEOF
14499
14500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14501 # If the template does not know about datarootdir, expand it.
14502 # FIXME: This hack should be removed a few years after 2.60.
14503 ac_datarootdir_hack=; ac_datarootdir_seen=
14504 ac_sed_dataroot='
14505 /datarootdir/ {
14506 p
14507 q
14508 }
14509 /@datadir@/p
14510 /@docdir@/p
14511 /@infodir@/p
14512 /@localedir@/p
14513 /@mandir@/p'
14514 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14515 *datarootdir*) ac_datarootdir_seen=yes;;
14516 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14518 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14519 _ACEOF
14520 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14521 ac_datarootdir_hack='
14522 s&@datadir@&$datadir&g
14523 s&@docdir@&$docdir&g
14524 s&@infodir@&$infodir&g
14525 s&@localedir@&$localedir&g
14526 s&@mandir@&$mandir&g
14527 s&\\\${datarootdir}&$datarootdir&g' ;;
14528 esac
14529 _ACEOF
14530
14531 # Neutralize VPATH when `$srcdir' = `.'.
14532 # Shell code in configure.ac might set extrasub.
14533 # FIXME: do we really want to maintain this feature?
14534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14535 ac_sed_extra="$ac_vpsub
14536 $extrasub
14537 _ACEOF
14538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14539 :t
14540 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14541 s|@configure_input@|$ac_sed_conf_input|;t t
14542 s&@top_builddir@&$ac_top_builddir_sub&;t t
14543 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14544 s&@srcdir@&$ac_srcdir&;t t
14545 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14546 s&@top_srcdir@&$ac_top_srcdir&;t t
14547 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14548 s&@builddir@&$ac_builddir&;t t
14549 s&@abs_builddir@&$ac_abs_builddir&;t t
14550 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14551 s&@INSTALL@&$ac_INSTALL&;t t
14552 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14553 $ac_datarootdir_hack
14554 "
14555 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14556 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14557
14558 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14559 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14560 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14561 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14563 which seems to be undefined. Please make sure it is defined" >&5
14564 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14565 which seems to be undefined. Please make sure it is defined" >&2;}
14566
14567 rm -f "$ac_tmp/stdin"
14568 case $ac_file in
14569 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14570 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14571 esac \
14572 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14573 ;;
14574 :H)
14575 #
14576 # CONFIG_HEADER
14577 #
14578 if test x"$ac_file" != x-; then
14579 {
14580 $as_echo "/* $configure_input */" \
14581 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14582 } >"$ac_tmp/config.h" \
14583 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14584 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14586 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14587 else
14588 rm -f "$ac_file"
14589 mv "$ac_tmp/config.h" "$ac_file" \
14590 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14591 fi
14592 else
14593 $as_echo "/* $configure_input */" \
14594 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14595 || as_fn_error $? "could not create -" "$LINENO" 5
14596 fi
14597 # Compute "$ac_file"'s index in $config_headers.
14598 _am_arg="$ac_file"
14599 _am_stamp_count=1
14600 for _am_header in $config_headers :; do
14601 case $_am_header in
14602 $_am_arg | $_am_arg:* )
14603 break ;;
14604 * )
14605 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14606 esac
14607 done
14608 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14609 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14610 X"$_am_arg" : 'X\(//\)[^/]' \| \
14611 X"$_am_arg" : 'X\(//\)$' \| \
14612 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14613 $as_echo X"$_am_arg" |
14614 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14615 s//\1/
14616 q
14617 }
14618 /^X\(\/\/\)[^/].*/{
14619 s//\1/
14620 q
14621 }
14622 /^X\(\/\/\)$/{
14623 s//\1/
14624 q
14625 }
14626 /^X\(\/\).*/{
14627 s//\1/
14628 q
14629 }
14630 s/.*/./; q'`/stamp-h$_am_stamp_count
14631 ;;
14632
14633 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14634 $as_echo "$as_me: executing $ac_file commands" >&6;}
14635 ;;
14636 esac
14637
14638
14639 case $ac_file$ac_mode in
14640 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14641 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14642 # are listed without --file. Let's play safe and only enable the eval
14643 # if we detect the quoting.
14644 case $CONFIG_FILES in
14645 *\'*) eval set x "$CONFIG_FILES" ;;
14646 *) set x $CONFIG_FILES ;;
14647 esac
14648 shift
14649 for mf
14650 do
14651 # Strip MF so we end up with the name of the file.
14652 mf=`echo "$mf" | sed -e 's/:.*$//'`
14653 # Check whether this is an Automake generated Makefile or not.
14654 # We used to match only the files named `Makefile.in', but
14655 # some people rename them; so instead we look at the file content.
14656 # Grep'ing the first line is not enough: some people post-process
14657 # each Makefile.in and add a new line on top of each file to say so.
14658 # Grep'ing the whole file is not good either: AIX grep has a line
14659 # limit of 2048, but all sed's we know have understand at least 4000.
14660 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14661 dirpart=`$as_dirname -- "$mf" ||
14662 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14663 X"$mf" : 'X\(//\)[^/]' \| \
14664 X"$mf" : 'X\(//\)$' \| \
14665 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14666 $as_echo X"$mf" |
14667 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14668 s//\1/
14669 q
14670 }
14671 /^X\(\/\/\)[^/].*/{
14672 s//\1/
14673 q
14674 }
14675 /^X\(\/\/\)$/{
14676 s//\1/
14677 q
14678 }
14679 /^X\(\/\).*/{
14680 s//\1/
14681 q
14682 }
14683 s/.*/./; q'`
14684 else
14685 continue
14686 fi
14687 # Extract the definition of DEPDIR, am__include, and am__quote
14688 # from the Makefile without running `make'.
14689 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14690 test -z "$DEPDIR" && continue
14691 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14692 test -z "am__include" && continue
14693 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14694 # When using ansi2knr, U may be empty or an underscore; expand it
14695 U=`sed -n 's/^U = //p' < "$mf"`
14696 # Find all dependency output files, they are included files with
14697 # $(DEPDIR) in their names. We invoke sed twice because it is the
14698 # simplest approach to changing $(DEPDIR) to its actual value in the
14699 # expansion.
14700 for file in `sed -n "
14701 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14702 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14703 # Make sure the directory exists.
14704 test -f "$dirpart/$file" && continue
14705 fdir=`$as_dirname -- "$file" ||
14706 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14707 X"$file" : 'X\(//\)[^/]' \| \
14708 X"$file" : 'X\(//\)$' \| \
14709 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14710 $as_echo X"$file" |
14711 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14712 s//\1/
14713 q
14714 }
14715 /^X\(\/\/\)[^/].*/{
14716 s//\1/
14717 q
14718 }
14719 /^X\(\/\/\)$/{
14720 s//\1/
14721 q
14722 }
14723 /^X\(\/\).*/{
14724 s//\1/
14725 q
14726 }
14727 s/.*/./; q'`
14728 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14729 # echo "creating $dirpart/$file"
14730 echo '# dummy' > "$dirpart/$file"
14731 done
14732 done
14733 }
14734 ;;
14735 "libtool":C)
14736
14737 # See if we are running on zsh, and set the options which allow our
14738 # commands through without removal of \ escapes.
14739 if test -n "${ZSH_VERSION+set}" ; then
14740 setopt NO_GLOB_SUBST
14741 fi
14742
14743 cfgfile="${ofile}T"
14744 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14745 $RM "$cfgfile"
14746
14747 cat <<_LT_EOF >> "$cfgfile"
14748 #! $SHELL
14749
14750 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14751 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14752 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14753 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14754 #
14755 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14756 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14757 # Foundation, Inc.
14758 # Written by Gordon Matzigkeit, 1996
14759 #
14760 # This file is part of GNU Libtool.
14761 #
14762 # GNU Libtool is free software; you can redistribute it and/or
14763 # modify it under the terms of the GNU General Public License as
14764 # published by the Free Software Foundation; either version 2 of
14765 # the License, or (at your option) any later version.
14766 #
14767 # As a special exception to the GNU General Public License,
14768 # if you distribute this file as part of a program or library that
14769 # is built using GNU Libtool, you may include this file under the
14770 # same distribution terms that you use for the rest of that program.
14771 #
14772 # GNU Libtool is distributed in the hope that it will be useful,
14773 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14774 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14775 # GNU General Public License for more details.
14776 #
14777 # You should have received a copy of the GNU General Public License
14778 # along with GNU Libtool; see the file COPYING. If not, a copy
14779 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14780 # obtained by writing to the Free Software Foundation, Inc.,
14781 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14782
14783
14784 # The names of the tagged configurations supported by this script.
14785 available_tags=""
14786
14787 # ### BEGIN LIBTOOL CONFIG
14788
14789 # Which release of libtool.m4 was used?
14790 macro_version=$macro_version
14791 macro_revision=$macro_revision
14792
14793 # Whether or not to build static libraries.
14794 build_old_libs=$enable_static
14795
14796 # Whether or not to build shared libraries.
14797 build_libtool_libs=$enable_shared
14798
14799 # What type of objects to build.
14800 pic_mode=$pic_mode
14801
14802 # Whether or not to optimize for fast installation.
14803 fast_install=$enable_fast_install
14804
14805 # Shell to use when invoking shell scripts.
14806 SHELL=$lt_SHELL
14807
14808 # An echo program that protects backslashes.
14809 ECHO=$lt_ECHO
14810
14811 # The PATH separator for the build system.
14812 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14813
14814 # The host system.
14815 host_alias=$host_alias
14816 host=$host
14817 host_os=$host_os
14818
14819 # The build system.
14820 build_alias=$build_alias
14821 build=$build
14822 build_os=$build_os
14823
14824 # A sed program that does not truncate output.
14825 SED=$lt_SED
14826
14827 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14828 Xsed="\$SED -e 1s/^X//"
14829
14830 # A grep program that handles long lines.
14831 GREP=$lt_GREP
14832
14833 # An ERE matcher.
14834 EGREP=$lt_EGREP
14835
14836 # A literal string matcher.
14837 FGREP=$lt_FGREP
14838
14839 # A BSD- or MS-compatible name lister.
14840 NM=$lt_NM
14841
14842 # Whether we need soft or hard links.
14843 LN_S=$lt_LN_S
14844
14845 # What is the maximum length of a command?
14846 max_cmd_len=$max_cmd_len
14847
14848 # Object file suffix (normally "o").
14849 objext=$ac_objext
14850
14851 # Executable file suffix (normally "").
14852 exeext=$exeext
14853
14854 # whether the shell understands "unset".
14855 lt_unset=$lt_unset
14856
14857 # turn spaces into newlines.
14858 SP2NL=$lt_lt_SP2NL
14859
14860 # turn newlines into spaces.
14861 NL2SP=$lt_lt_NL2SP
14862
14863 # convert \$build file names to \$host format.
14864 to_host_file_cmd=$lt_cv_to_host_file_cmd
14865
14866 # convert \$build files to toolchain format.
14867 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14868
14869 # An object symbol dumper.
14870 OBJDUMP=$lt_OBJDUMP
14871
14872 # Method to check whether dependent libraries are shared objects.
14873 deplibs_check_method=$lt_deplibs_check_method
14874
14875 # Command to use when deplibs_check_method = "file_magic".
14876 file_magic_cmd=$lt_file_magic_cmd
14877
14878 # How to find potential files when deplibs_check_method = "file_magic".
14879 file_magic_glob=$lt_file_magic_glob
14880
14881 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14882 want_nocaseglob=$lt_want_nocaseglob
14883
14884 # DLL creation program.
14885 DLLTOOL=$lt_DLLTOOL
14886
14887 # Command to associate shared and link libraries.
14888 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14889
14890 # The archiver.
14891 AR=$lt_AR
14892
14893 # Flags to create an archive.
14894 AR_FLAGS=$lt_AR_FLAGS
14895
14896 # How to feed a file listing to the archiver.
14897 archiver_list_spec=$lt_archiver_list_spec
14898
14899 # A symbol stripping program.
14900 STRIP=$lt_STRIP
14901
14902 # Commands used to install an old-style archive.
14903 RANLIB=$lt_RANLIB
14904 old_postinstall_cmds=$lt_old_postinstall_cmds
14905 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14906
14907 # Whether to use a lock for old archive extraction.
14908 lock_old_archive_extraction=$lock_old_archive_extraction
14909
14910 # A C compiler.
14911 LTCC=$lt_CC
14912
14913 # LTCC compiler flags.
14914 LTCFLAGS=$lt_CFLAGS
14915
14916 # Take the output of nm and produce a listing of raw symbols and C names.
14917 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14918
14919 # Transform the output of nm in a proper C declaration.
14920 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14921
14922 # Transform the output of nm in a C name address pair.
14923 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14924
14925 # Transform the output of nm in a C name address pair when lib prefix is needed.
14926 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14927
14928 # Specify filename containing input files for \$NM.
14929 nm_file_list_spec=$lt_nm_file_list_spec
14930
14931 # The root where to search for dependent libraries,and in which our libraries should be installed.
14932 lt_sysroot=$lt_sysroot
14933
14934 # The name of the directory that contains temporary libtool files.
14935 objdir=$objdir
14936
14937 # Used to examine libraries when file_magic_cmd begins with "file".
14938 MAGIC_CMD=$MAGIC_CMD
14939
14940 # Must we lock files when doing compilation?
14941 need_locks=$lt_need_locks
14942
14943 # Manifest tool.
14944 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14945
14946 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14947 DSYMUTIL=$lt_DSYMUTIL
14948
14949 # Tool to change global to local symbols on Mac OS X.
14950 NMEDIT=$lt_NMEDIT
14951
14952 # Tool to manipulate fat objects and archives on Mac OS X.
14953 LIPO=$lt_LIPO
14954
14955 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14956 OTOOL=$lt_OTOOL
14957
14958 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14959 OTOOL64=$lt_OTOOL64
14960
14961 # Old archive suffix (normally "a").
14962 libext=$libext
14963
14964 # Shared library suffix (normally ".so").
14965 shrext_cmds=$lt_shrext_cmds
14966
14967 # The commands to extract the exported symbol list from a shared archive.
14968 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14969
14970 # Variables whose values should be saved in libtool wrapper scripts and
14971 # restored at link time.
14972 variables_saved_for_relink=$lt_variables_saved_for_relink
14973
14974 # Do we need the "lib" prefix for modules?
14975 need_lib_prefix=$need_lib_prefix
14976
14977 # Do we need a version for libraries?
14978 need_version=$need_version
14979
14980 # Library versioning type.
14981 version_type=$version_type
14982
14983 # Shared library runtime path variable.
14984 runpath_var=$runpath_var
14985
14986 # Shared library path variable.
14987 shlibpath_var=$shlibpath_var
14988
14989 # Is shlibpath searched before the hard-coded library search path?
14990 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14991
14992 # Format of library name prefix.
14993 libname_spec=$lt_libname_spec
14994
14995 # List of archive names. First name is the real one, the rest are links.
14996 # The last name is the one that the linker finds with -lNAME
14997 library_names_spec=$lt_library_names_spec
14998
14999 # The coded name of the library, if different from the real name.
15000 soname_spec=$lt_soname_spec
15001
15002 # Permission mode override for installation of shared libraries.
15003 install_override_mode=$lt_install_override_mode
15004
15005 # Command to use after installation of a shared archive.
15006 postinstall_cmds=$lt_postinstall_cmds
15007
15008 # Command to use after uninstallation of a shared archive.
15009 postuninstall_cmds=$lt_postuninstall_cmds
15010
15011 # Commands used to finish a libtool library installation in a directory.
15012 finish_cmds=$lt_finish_cmds
15013
15014 # As "finish_cmds", except a single script fragment to be evaled but
15015 # not shown.
15016 finish_eval=$lt_finish_eval
15017
15018 # Whether we should hardcode library paths into libraries.
15019 hardcode_into_libs=$hardcode_into_libs
15020
15021 # Compile-time system search path for libraries.
15022 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15023
15024 # Run-time system search path for libraries.
15025 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15026
15027 # Whether dlopen is supported.
15028 dlopen_support=$enable_dlopen
15029
15030 # Whether dlopen of programs is supported.
15031 dlopen_self=$enable_dlopen_self
15032
15033 # Whether dlopen of statically linked programs is supported.
15034 dlopen_self_static=$enable_dlopen_self_static
15035
15036 # Commands to strip libraries.
15037 old_striplib=$lt_old_striplib
15038 striplib=$lt_striplib
15039
15040
15041 # The linker used to build libraries.
15042 LD=$lt_LD
15043
15044 # How to create reloadable object files.
15045 reload_flag=$lt_reload_flag
15046 reload_cmds=$lt_reload_cmds
15047
15048 # Commands used to build an old-style archive.
15049 old_archive_cmds=$lt_old_archive_cmds
15050
15051 # A language specific compiler.
15052 CC=$lt_compiler
15053
15054 # Is the compiler the GNU compiler?
15055 with_gcc=$GCC
15056
15057 # Compiler flag to turn off builtin functions.
15058 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15059
15060 # Additional compiler flags for building library objects.
15061 pic_flag=$lt_lt_prog_compiler_pic
15062
15063 # How to pass a linker flag through the compiler.
15064 wl=$lt_lt_prog_compiler_wl
15065
15066 # Compiler flag to prevent dynamic linking.
15067 link_static_flag=$lt_lt_prog_compiler_static
15068
15069 # Does compiler simultaneously support -c and -o options?
15070 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15071
15072 # Whether or not to add -lc for building shared libraries.
15073 build_libtool_need_lc=$archive_cmds_need_lc
15074
15075 # Whether or not to disallow shared libs when runtime libs are static.
15076 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15077
15078 # Compiler flag to allow reflexive dlopens.
15079 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15080
15081 # Compiler flag to generate shared objects directly from archives.
15082 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15083
15084 # Whether the compiler copes with passing no objects directly.
15085 compiler_needs_object=$lt_compiler_needs_object
15086
15087 # Create an old-style archive from a shared archive.
15088 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15089
15090 # Create a temporary old-style archive to link instead of a shared archive.
15091 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15092
15093 # Commands used to build a shared archive.
15094 archive_cmds=$lt_archive_cmds
15095 archive_expsym_cmds=$lt_archive_expsym_cmds
15096
15097 # Commands used to build a loadable module if different from building
15098 # a shared archive.
15099 module_cmds=$lt_module_cmds
15100 module_expsym_cmds=$lt_module_expsym_cmds
15101
15102 # Whether we are building with GNU ld or not.
15103 with_gnu_ld=$lt_with_gnu_ld
15104
15105 # Flag that allows shared libraries with undefined symbols to be built.
15106 allow_undefined_flag=$lt_allow_undefined_flag
15107
15108 # Flag that enforces no undefined symbols.
15109 no_undefined_flag=$lt_no_undefined_flag
15110
15111 # Flag to hardcode \$libdir into a binary during linking.
15112 # This must work even if \$libdir does not exist
15113 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15114
15115 # Whether we need a single "-rpath" flag with a separated argument.
15116 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15117
15118 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15119 # DIR into the resulting binary.
15120 hardcode_direct=$hardcode_direct
15121
15122 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15123 # DIR into the resulting binary and the resulting library dependency is
15124 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15125 # library is relocated.
15126 hardcode_direct_absolute=$hardcode_direct_absolute
15127
15128 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15129 # into the resulting binary.
15130 hardcode_minus_L=$hardcode_minus_L
15131
15132 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15133 # into the resulting binary.
15134 hardcode_shlibpath_var=$hardcode_shlibpath_var
15135
15136 # Set to "yes" if building a shared library automatically hardcodes DIR
15137 # into the library and all subsequent libraries and executables linked
15138 # against it.
15139 hardcode_automatic=$hardcode_automatic
15140
15141 # Set to yes if linker adds runtime paths of dependent libraries
15142 # to runtime path list.
15143 inherit_rpath=$inherit_rpath
15144
15145 # Whether libtool must link a program against all its dependency libraries.
15146 link_all_deplibs=$link_all_deplibs
15147
15148 # Set to "yes" if exported symbols are required.
15149 always_export_symbols=$always_export_symbols
15150
15151 # The commands to list exported symbols.
15152 export_symbols_cmds=$lt_export_symbols_cmds
15153
15154 # Symbols that should not be listed in the preloaded symbols.
15155 exclude_expsyms=$lt_exclude_expsyms
15156
15157 # Symbols that must always be exported.
15158 include_expsyms=$lt_include_expsyms
15159
15160 # Commands necessary for linking programs (against libraries) with templates.
15161 prelink_cmds=$lt_prelink_cmds
15162
15163 # Commands necessary for finishing linking programs.
15164 postlink_cmds=$lt_postlink_cmds
15165
15166 # Specify filename containing input files.
15167 file_list_spec=$lt_file_list_spec
15168
15169 # How to hardcode a shared library path into an executable.
15170 hardcode_action=$hardcode_action
15171
15172 # ### END LIBTOOL CONFIG
15173
15174 _LT_EOF
15175
15176 case $host_os in
15177 aix3*)
15178 cat <<\_LT_EOF >> "$cfgfile"
15179 # AIX sometimes has problems with the GCC collect2 program. For some
15180 # reason, if we set the COLLECT_NAMES environment variable, the problems
15181 # vanish in a puff of smoke.
15182 if test "X${COLLECT_NAMES+set}" != Xset; then
15183 COLLECT_NAMES=
15184 export COLLECT_NAMES
15185 fi
15186 _LT_EOF
15187 ;;
15188 esac
15189
15190
15191 ltmain="$ac_aux_dir/ltmain.sh"
15192
15193
15194 # We use sed instead of cat because bash on DJGPP gets confused if
15195 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15196 # text mode, it properly converts lines to CR/LF. This bash problem
15197 # is reportedly fixed, but why not run on old versions too?
15198 sed '$q' "$ltmain" >> "$cfgfile" \
15199 || (rm -f "$cfgfile"; exit 1)
15200
15201 if test x"$xsi_shell" = xyes; then
15202 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15203 func_dirname ()\
15204 {\
15205 \ case ${1} in\
15206 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15207 \ * ) func_dirname_result="${3}" ;;\
15208 \ esac\
15209 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15210 && mv -f "$cfgfile.tmp" "$cfgfile" \
15211 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15212 test 0 -eq $? || _lt_function_replace_fail=:
15213
15214
15215 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15216 func_basename ()\
15217 {\
15218 \ func_basename_result="${1##*/}"\
15219 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15220 && mv -f "$cfgfile.tmp" "$cfgfile" \
15221 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15222 test 0 -eq $? || _lt_function_replace_fail=:
15223
15224
15225 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15226 func_dirname_and_basename ()\
15227 {\
15228 \ case ${1} in\
15229 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15230 \ * ) func_dirname_result="${3}" ;;\
15231 \ esac\
15232 \ func_basename_result="${1##*/}"\
15233 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15234 && mv -f "$cfgfile.tmp" "$cfgfile" \
15235 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15236 test 0 -eq $? || _lt_function_replace_fail=:
15237
15238
15239 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15240 func_stripname ()\
15241 {\
15242 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15243 \ # positional parameters, so assign one to ordinary parameter first.\
15244 \ func_stripname_result=${3}\
15245 \ func_stripname_result=${func_stripname_result#"${1}"}\
15246 \ func_stripname_result=${func_stripname_result%"${2}"}\
15247 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15248 && mv -f "$cfgfile.tmp" "$cfgfile" \
15249 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15250 test 0 -eq $? || _lt_function_replace_fail=:
15251
15252
15253 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15254 func_split_long_opt ()\
15255 {\
15256 \ func_split_long_opt_name=${1%%=*}\
15257 \ func_split_long_opt_arg=${1#*=}\
15258 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15259 && mv -f "$cfgfile.tmp" "$cfgfile" \
15260 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15261 test 0 -eq $? || _lt_function_replace_fail=:
15262
15263
15264 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15265 func_split_short_opt ()\
15266 {\
15267 \ func_split_short_opt_arg=${1#??}\
15268 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15269 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15270 && mv -f "$cfgfile.tmp" "$cfgfile" \
15271 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15272 test 0 -eq $? || _lt_function_replace_fail=:
15273
15274
15275 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15276 func_lo2o ()\
15277 {\
15278 \ case ${1} in\
15279 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15280 \ *) func_lo2o_result=${1} ;;\
15281 \ esac\
15282 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15283 && mv -f "$cfgfile.tmp" "$cfgfile" \
15284 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15285 test 0 -eq $? || _lt_function_replace_fail=:
15286
15287
15288 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15289 func_xform ()\
15290 {\
15291 func_xform_result=${1%.*}.lo\
15292 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15293 && mv -f "$cfgfile.tmp" "$cfgfile" \
15294 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15295 test 0 -eq $? || _lt_function_replace_fail=:
15296
15297
15298 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15299 func_arith ()\
15300 {\
15301 func_arith_result=$(( $* ))\
15302 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15303 && mv -f "$cfgfile.tmp" "$cfgfile" \
15304 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15305 test 0 -eq $? || _lt_function_replace_fail=:
15306
15307
15308 sed -e '/^func_len ()$/,/^} # func_len /c\
15309 func_len ()\
15310 {\
15311 func_len_result=${#1}\
15312 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15313 && mv -f "$cfgfile.tmp" "$cfgfile" \
15314 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15315 test 0 -eq $? || _lt_function_replace_fail=:
15316
15317 fi
15318
15319 if test x"$lt_shell_append" = xyes; then
15320 sed -e '/^func_append ()$/,/^} # func_append /c\
15321 func_append ()\
15322 {\
15323 eval "${1}+=\\${2}"\
15324 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15325 && mv -f "$cfgfile.tmp" "$cfgfile" \
15326 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15327 test 0 -eq $? || _lt_function_replace_fail=:
15328
15329
15330 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15331 func_append_quoted ()\
15332 {\
15333 \ func_quote_for_eval "${2}"\
15334 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15335 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15336 && mv -f "$cfgfile.tmp" "$cfgfile" \
15337 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15338 test 0 -eq $? || _lt_function_replace_fail=:
15339
15340
15341 # Save a `func_append' function call where possible by direct use of '+='
15342 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15343 && mv -f "$cfgfile.tmp" "$cfgfile" \
15344 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15345 test 0 -eq $? || _lt_function_replace_fail=:
15346 else
15347 # Save a `func_append' function call even when '+=' is not available
15348 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15349 && mv -f "$cfgfile.tmp" "$cfgfile" \
15350 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15351 test 0 -eq $? || _lt_function_replace_fail=:
15352 fi
15353
15354 if test x"$_lt_function_replace_fail" = x":"; then
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15356 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15357 fi
15358
15359
15360 mv -f "$cfgfile" "$ofile" ||
15361 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15362 chmod +x "$ofile"
15363
15364 ;;
15365
15366 esac
15367 done # for ac_tag
15368
15369
15370 as_fn_exit 0
15371 _ACEOF
15372 ac_clean_files=$ac_clean_files_save
15373
15374 test $ac_write_fail = 0 ||
15375 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15376
15377
15378 # configure is writing to config.log, and then calls config.status.
15379 # config.status does its own redirection, appending to config.log.
15380 # Unfortunately, on DOS this fails, as config.log is still kept open
15381 # by configure, so config.status won't be able to write to it; its
15382 # output is simply discarded. So we exec the FD to /dev/null,
15383 # effectively closing config.log, so it can be properly (re)opened and
15384 # appended to by config.status. When coming back to configure, we
15385 # need to make the FD available again.
15386 if test "$no_create" != yes; then
15387 ac_cs_success=:
15388 ac_config_status_args=
15389 test "$silent" = yes &&
15390 ac_config_status_args="$ac_config_status_args --quiet"
15391 exec 5>/dev/null
15392 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15393 exec 5>>config.log
15394 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15395 # would make configure fail if this is the last instruction.
15396 $ac_cs_success || as_fn_exit 1
15397 fi
15398 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15400 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15401 fi
15402
15403
15404 { $as_echo "$as_me:${as_lineno-$LINENO}:
15405 version ${VERSION}
15406 prefix ${prefix}
15407 compiler ${CC}
15408 cflags ${CFLAGS}
15409 Testsuite options
15410 with
15411 - tests ${with_tests}
15412 - libquvi .pc modversion ${libquvi_modver}
15413 Install options
15414 with
15415 - geoblocked ${with_geoblocked}
15416 - fixme ${with_fixme}
15417 - nsfw ${with_nsfw}" >&5
15418 $as_echo "$as_me:
15419 version ${VERSION}
15420 prefix ${prefix}
15421 compiler ${CC}
15422 cflags ${CFLAGS}
15423 Testsuite options
15424 with
15425 - tests ${with_tests}
15426 - libquvi .pc modversion ${libquvi_modver}
15427 Install options
15428 with
15429 - geoblocked ${with_geoblocked}
15430 - fixme ${with_fixme}
15431 - nsfw ${with_nsfw}" >&6;}
15432
15433 # vim: set ts=2 sw=2 tw=72 expandtab: